2005-05-13 Josh Conner <jconner@apple.com>
[official-gcc.git] / libstdc++-v3 / configure
blob053980648f8b7f8bb9b40461732e07db1a888bdb
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
38 # NLS nuisances.
39 for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
49 done
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
96 rm -f conf$$.sh
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
154 esac
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
238 IFS=" $as_nl"
240 # CDPATH.
241 $as_unset CDPATH
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
249 exec 6>&1
252 # Initializations.
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME='package-unused'
269 PACKAGE_TARNAME='libstdc++'
270 PACKAGE_VERSION='version-unused'
271 PACKAGE_STRING='package-unused version-unused'
272 PACKAGE_BUGREPORT=''
274 ac_unique_file="src/ios.cc"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
277 #include <stdio.h>
278 #if HAVE_SYS_TYPES_H
279 # include <sys/types.h>
280 #endif
281 #if HAVE_SYS_STAT_H
282 # include <sys/stat.h>
283 #endif
284 #if STDC_HEADERS
285 # include <stdlib.h>
286 # include <stddef.h>
287 #else
288 # if HAVE_STDLIB_H
289 # include <stdlib.h>
290 # endif
291 #endif
292 #if HAVE_STRING_H
293 # if !STDC_HEADERS && HAVE_MEMORY_H
294 # include <memory.h>
295 # endif
296 # include <string.h>
297 #endif
298 #if HAVE_STRINGS_H
299 # include <strings.h>
300 #endif
301 #if HAVE_INTTYPES_H
302 # include <inttypes.h>
303 #else
304 # if HAVE_STDINT_H
305 # include <stdint.h>
306 # endif
307 #endif
308 #if HAVE_UNISTD_H
309 # include <unistd.h>
310 #endif"
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOL CXXCPP CPPFLAGS enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC CPP EGREP check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE EXTRA_CXX_FLAGS glibcxx_thread_h WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV SYMVER_MAP port_specific_symbol_files GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE baseline_dir GLIBCXX_TEST_ABI_TRUE GLIBCXX_TEST_ABI_FALSE ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
313 ac_subst_files=''
315 # Initialize some variables set by options.
316 ac_init_help=
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
320 cache_file=/dev/null
321 exec_prefix=NONE
322 no_create=
323 no_recursion=
324 prefix=NONE
325 program_prefix=NONE
326 program_suffix=NONE
327 program_transform_name=s,x,x,
328 silent=
329 site=
330 srcdir=
331 verbose=
332 x_includes=NONE
333 x_libraries=NONE
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
353 ac_prev=
354 for ac_option
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
359 ac_prev=
360 continue
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
367 case $ac_option in
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 ac_prev=bindir ;;
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372 bindir=$ac_optarg ;;
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
386 --config-cache | -C)
387 cache_file=config.cache ;;
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 ac_prev=datadir ;;
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 | --da=*)
393 datadir=$ac_optarg ;;
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411 case $ac_option in
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413 *) ac_optarg=yes ;;
414 esac
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
428 with_gas=yes ;;
430 -help | --help | --hel | --he | -h)
431 ac_init_help=long ;;
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 ac_prev=infodir ;;
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
455 ac_prev=libdir ;;
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
457 libdir=$ac_optarg ;;
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 ac_prev=mandir ;;
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478 mandir=$ac_optarg ;;
480 -nfp | --nfp | --nf)
481 # Obsolete; use --without-fp.
482 with_fp=no ;;
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
486 no_create=yes ;;
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490 no_recursion=yes ;;
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 ac_prev=prefix ;;
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504 prefix=$ac_optarg ;;
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
539 silent=yes ;;
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 ac_prev=sbindir ;;
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 | --sbi=* | --sb=*)
545 sbindir=$ac_optarg ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
550 | --sha | --sh)
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 | --sha=* | --sh=*)
556 sharedstatedir=$ac_optarg ;;
558 -site | --site | --sit)
559 ac_prev=site ;;
560 -site=* | --site=* | --sit=*)
561 site=$ac_optarg ;;
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 ac_prev=srcdir ;;
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566 srcdir=$ac_optarg ;;
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
581 verbose=yes ;;
583 -version | --version | --versio | --versi | --vers | -V)
584 ac_init_version=: ;;
586 -with-* | --with-*)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
593 case $ac_option in
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595 *) ac_optarg=yes ;;
596 esac
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
608 --x)
609 # Obsolete; use --with-x.
610 with_x=yes ;;
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
631 *=*)
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
639 export $ac_envvar ;;
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
649 esac
650 done
652 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
661 eval ac_val=$`echo $ac_var`
662 case $ac_val in
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
666 esac
667 done
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val=$`echo $ac_var`
674 case $ac_val in
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
678 esac
679 done
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
684 build=$build_alias
685 host=$host_alias
686 target=$target_alias
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
695 cross_compiling=yes
699 ac_tool_prefix=
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
715 echo X"$0" |
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
720 s/.*/./; q'`
721 srcdir=$ac_confdir
722 if test ! -r $srcdir/$ac_unique_file; then
723 srcdir=..
725 else
726 ac_srcdir_defaulted=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
732 else
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CXXCPP_set=${CXXCPP+set}
754 ac_env_CXXCPP_value=$CXXCPP
755 ac_cv_env_CXXCPP_set=${CXXCPP+set}
756 ac_cv_env_CXXCPP_value=$CXXCPP
757 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
758 ac_env_CPPFLAGS_value=$CPPFLAGS
759 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
760 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
761 ac_env_CPP_set=${CPP+set}
762 ac_env_CPP_value=$CPP
763 ac_cv_env_CPP_set=${CPP+set}
764 ac_cv_env_CPP_value=$CPP
767 # Report the --help message.
769 if test "$ac_init_help" = "long"; then
770 # Omit some internal or obsolete options to make the list less imposing.
771 # This message is too long to be a string in the A/UX 3.1 sh.
772 cat <<_ACEOF
773 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
775 Usage: $0 [OPTION]... [VAR=VALUE]...
777 To assign environment variables (e.g., CC, CFLAGS...), specify them as
778 VAR=VALUE. See below for descriptions of some of the useful variables.
780 Defaults for the options are specified in brackets.
782 Configuration:
783 -h, --help display this help and exit
784 --help=short display options specific to this package
785 --help=recursive display the short help of all the included packages
786 -V, --version display version information and exit
787 -q, --quiet, --silent do not print \`checking...' messages
788 --cache-file=FILE cache test results in FILE [disabled]
789 -C, --config-cache alias for \`--cache-file=config.cache'
790 -n, --no-create do not create output files
791 --srcdir=DIR find the sources in DIR [configure dir or \`..']
793 _ACEOF
795 cat <<_ACEOF
796 Installation directories:
797 --prefix=PREFIX install architecture-independent files in PREFIX
798 [$ac_default_prefix]
799 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
800 [PREFIX]
802 By default, \`make install' will install all the files in
803 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
804 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
805 for instance \`--prefix=\$HOME'.
807 For better control, use the options below.
809 Fine tuning of the installation directories:
810 --bindir=DIR user executables [EPREFIX/bin]
811 --sbindir=DIR system admin executables [EPREFIX/sbin]
812 --libexecdir=DIR program executables [EPREFIX/libexec]
813 --datadir=DIR read-only architecture-independent data [PREFIX/share]
814 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
815 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
816 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
817 --libdir=DIR object code libraries [EPREFIX/lib]
818 --includedir=DIR C header files [PREFIX/include]
819 --oldincludedir=DIR C header files for non-gcc [/usr/include]
820 --infodir=DIR info documentation [PREFIX/info]
821 --mandir=DIR man documentation [PREFIX/man]
822 _ACEOF
824 cat <<\_ACEOF
826 Program names:
827 --program-prefix=PREFIX prepend PREFIX to installed program names
828 --program-suffix=SUFFIX append SUFFIX to installed program names
829 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
831 System types:
832 --build=BUILD configure for building on BUILD [guessed]
833 --host=HOST cross-compile to build programs to run on HOST [BUILD]
834 --target=TARGET configure for building compilers for TARGET [HOST]
835 _ACEOF
838 if test -n "$ac_init_help"; then
839 case $ac_init_help in
840 short | recursive ) echo "Configuration of package-unused version-unused:";;
841 esac
842 cat <<\_ACEOF
844 Optional Features:
845 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
846 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
847 --enable-multilib build many library versions (default)
848 --enable-maintainer-mode enable make rules and dependencies not useful
849 (and sometimes confusing) to the casual installer
850 --enable-shared=PKGS build shared libraries default=yes
851 --enable-static=PKGS build static libraries default=yes
852 --enable-fast-install=PKGS optimize for fast installation default=yes
853 --disable-libtool-lock avoid locking (might break parallel builds)
854 --disable-hosted-libstdcxx
855 only build freestanding C++ runtime support
856 --enable-sjlj-exceptions
857 force use of builtin_setjmp for exceptions
858 [default=auto]
859 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
860 [default=$is_hosted]
861 --enable-cstdio=PACKAGE use target-specific I/O package
862 [default=stdio]
863 --enable-clocale[=MODEL]
864 use MODEL for target locale package
865 [default=auto]
866 --enable-nls use Native Language Support (default)
867 --enable-libstdcxx-allocator=KIND
868 use KIND for target std::allocator base
869 [default=auto]
870 --enable-cheaders=KIND construct "C" headers for g++
871 [default=$c_model]
872 --enable-c99 turns on ISO/IEC 9899:1999 support
873 [default=yes]
874 --enable-long-long enable template specializations for 'long long'
875 [default=yes]
876 --enable-wchar_t enable template specializations for 'wchar_t'
877 [default=yes]
878 --enable-concept-checks use Boost-derived template checks [default=no]
879 --enable-libstdcxx-debug-flags=FLAGS
880 pass compiler FLAGS when building debug library
881 [default="-g3 -O0"]
882 --enable-libstdcxx-debug
883 build extra debug library [default=no]
884 --enable-cxx-flags=FLAGS
885 pass compiler FLAGS when building library
886 [default=]
887 --enable-fully-dynamic-string
888 do not put empty strings in per-process static
889 memory [default=no]
890 --enable-symvers=STYLE enables symbol versioning of the shared library
891 [default=yes]
892 --enable-version-specific-runtime-libs
893 Specify that runtime libraries should be installed
894 in a compiler-specific directory
896 Optional Packages:
897 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
898 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
899 --with-target-subdir=SUBDIR
900 configuring in a subdirectory
901 --with-cross-host=HOST configuring with a cross compiler
902 --with-newlib assume newlib as a system C library
903 --with-gnu-ld assume the C compiler uses GNU ld default=no
904 --with-pic try to use only PIC/non-PIC objects default=use both
905 --with-gxx-include-dir=DIR
906 installation directory for include files
908 Some influential environment variables:
909 CC C compiler command
910 CFLAGS C compiler flags
911 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
912 nonstandard directory <lib dir>
913 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
914 headers in a nonstandard directory <include dir>
915 CXX C++ compiler command
916 CXXFLAGS C++ compiler flags
917 CXXCPP C++ preprocessor
918 CPP C preprocessor
920 Use these variables to override the choices made by `configure' or to help
921 it to find libraries and programs with nonstandard names/locations.
923 _ACEOF
926 if test "$ac_init_help" = "recursive"; then
927 # If there are subdirs, report their specific --help.
928 ac_popdir=`pwd`
929 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
930 test -d $ac_dir || continue
931 ac_builddir=.
933 if test "$ac_dir" != .; then
934 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
935 # A "../" for each directory in $ac_dir_suffix.
936 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
937 else
938 ac_dir_suffix= ac_top_builddir=
941 case $srcdir in
942 .) # No --srcdir option. We are building in place.
943 ac_srcdir=.
944 if test -z "$ac_top_builddir"; then
945 ac_top_srcdir=.
946 else
947 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
948 fi ;;
949 [\\/]* | ?:[\\/]* ) # Absolute path.
950 ac_srcdir=$srcdir$ac_dir_suffix;
951 ac_top_srcdir=$srcdir ;;
952 *) # Relative path.
953 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
954 ac_top_srcdir=$ac_top_builddir$srcdir ;;
955 esac
957 # Do not use `cd foo && pwd` to compute absolute paths, because
958 # the directories may not exist.
959 case `pwd` in
960 .) ac_abs_builddir="$ac_dir";;
962 case "$ac_dir" in
963 .) ac_abs_builddir=`pwd`;;
964 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
965 *) ac_abs_builddir=`pwd`/"$ac_dir";;
966 esac;;
967 esac
968 case $ac_abs_builddir in
969 .) ac_abs_top_builddir=${ac_top_builddir}.;;
971 case ${ac_top_builddir}. in
972 .) ac_abs_top_builddir=$ac_abs_builddir;;
973 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
974 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
975 esac;;
976 esac
977 case $ac_abs_builddir in
978 .) ac_abs_srcdir=$ac_srcdir;;
980 case $ac_srcdir in
981 .) ac_abs_srcdir=$ac_abs_builddir;;
982 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
983 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
984 esac;;
985 esac
986 case $ac_abs_builddir in
987 .) ac_abs_top_srcdir=$ac_top_srcdir;;
989 case $ac_top_srcdir in
990 .) ac_abs_top_srcdir=$ac_abs_builddir;;
991 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
992 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
993 esac;;
994 esac
996 cd $ac_dir
997 # Check for guested configure; otherwise get Cygnus style configure.
998 if test -f $ac_srcdir/configure.gnu; then
999 echo
1000 $SHELL $ac_srcdir/configure.gnu --help=recursive
1001 elif test -f $ac_srcdir/configure; then
1002 echo
1003 $SHELL $ac_srcdir/configure --help=recursive
1004 elif test -f $ac_srcdir/configure.ac ||
1005 test -f $ac_srcdir/configure.in; then
1006 echo
1007 $ac_configure --help
1008 else
1009 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1011 cd $ac_popdir
1012 done
1015 test -n "$ac_init_help" && exit 0
1016 if $ac_init_version; then
1017 cat <<\_ACEOF
1018 package-unused configure version-unused
1019 generated by GNU Autoconf 2.59
1021 Copyright (C) 2003 Free Software Foundation, Inc.
1022 This configure script is free software; the Free Software Foundation
1023 gives unlimited permission to copy, distribute and modify it.
1024 _ACEOF
1025 exit 0
1027 exec 5>config.log
1028 cat >&5 <<_ACEOF
1029 This file contains any messages produced by compilers while
1030 running configure, to aid debugging if configure makes a mistake.
1032 It was created by package-unused $as_me version-unused, which was
1033 generated by GNU Autoconf 2.59. Invocation command line was
1035 $ $0 $@
1037 _ACEOF
1039 cat <<_ASUNAME
1040 ## --------- ##
1041 ## Platform. ##
1042 ## --------- ##
1044 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1045 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1046 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1047 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1048 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1050 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1051 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1053 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1054 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1055 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1056 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1057 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1058 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1059 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1061 _ASUNAME
1063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1064 for as_dir in $PATH
1066 IFS=$as_save_IFS
1067 test -z "$as_dir" && as_dir=.
1068 echo "PATH: $as_dir"
1069 done
1071 } >&5
1073 cat >&5 <<_ACEOF
1076 ## ----------- ##
1077 ## Core tests. ##
1078 ## ----------- ##
1080 _ACEOF
1083 # Keep a trace of the command line.
1084 # Strip out --no-create and --no-recursion so they do not pile up.
1085 # Strip out --silent because we don't want to record it for future runs.
1086 # Also quote any args containing shell meta-characters.
1087 # Make two passes to allow for proper duplicate-argument suppression.
1088 ac_configure_args=
1089 ac_configure_args0=
1090 ac_configure_args1=
1091 ac_sep=
1092 ac_must_keep_next=false
1093 for ac_pass in 1 2
1095 for ac_arg
1097 case $ac_arg in
1098 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1099 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1100 | -silent | --silent | --silen | --sile | --sil)
1101 continue ;;
1102 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1103 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1104 esac
1105 case $ac_pass in
1106 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1108 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1109 if test $ac_must_keep_next = true; then
1110 ac_must_keep_next=false # Got value, back to normal.
1111 else
1112 case $ac_arg in
1113 *=* | --config-cache | -C | -disable-* | --disable-* \
1114 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1115 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1116 | -with-* | --with-* | -without-* | --without-* | --x)
1117 case "$ac_configure_args0 " in
1118 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1119 esac
1121 -* ) ac_must_keep_next=true ;;
1122 esac
1124 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1125 # Get rid of the leading space.
1126 ac_sep=" "
1128 esac
1129 done
1130 done
1131 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1132 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1134 # When interrupted or exit'd, cleanup temporary files, and complete
1135 # config.log. We remove comments because anyway the quotes in there
1136 # would cause problems or look ugly.
1137 # WARNING: Be sure not to use single quotes in there, as some shells,
1138 # such as our DU 5.0 friend, will then `close' the trap.
1139 trap 'exit_status=$?
1140 # Save into config.log some information that might help in debugging.
1142 echo
1144 cat <<\_ASBOX
1145 ## ---------------- ##
1146 ## Cache variables. ##
1147 ## ---------------- ##
1148 _ASBOX
1149 echo
1150 # The following way of writing the cache mishandles newlines in values,
1152 (set) 2>&1 |
1153 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1154 *ac_space=\ *)
1155 sed -n \
1156 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1157 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1160 sed -n \
1161 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1163 esac;
1165 echo
1167 cat <<\_ASBOX
1168 ## ----------------- ##
1169 ## Output variables. ##
1170 ## ----------------- ##
1171 _ASBOX
1172 echo
1173 for ac_var in $ac_subst_vars
1175 eval ac_val=$`echo $ac_var`
1176 echo "$ac_var='"'"'$ac_val'"'"'"
1177 done | sort
1178 echo
1180 if test -n "$ac_subst_files"; then
1181 cat <<\_ASBOX
1182 ## ------------- ##
1183 ## Output files. ##
1184 ## ------------- ##
1185 _ASBOX
1186 echo
1187 for ac_var in $ac_subst_files
1189 eval ac_val=$`echo $ac_var`
1190 echo "$ac_var='"'"'$ac_val'"'"'"
1191 done | sort
1192 echo
1195 if test -s confdefs.h; then
1196 cat <<\_ASBOX
1197 ## ----------- ##
1198 ## confdefs.h. ##
1199 ## ----------- ##
1200 _ASBOX
1201 echo
1202 sed "/^$/d" confdefs.h | sort
1203 echo
1205 test "$ac_signal" != 0 &&
1206 echo "$as_me: caught signal $ac_signal"
1207 echo "$as_me: exit $exit_status"
1208 } >&5
1209 rm -f core *.core &&
1210 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1211 exit $exit_status
1213 for ac_signal in 1 2 13 15; do
1214 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1215 done
1216 ac_signal=0
1218 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1219 rm -rf conftest* confdefs.h
1220 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1221 echo >confdefs.h
1223 # Predefined preprocessor variables.
1225 cat >>confdefs.h <<_ACEOF
1226 #define PACKAGE_NAME "$PACKAGE_NAME"
1227 _ACEOF
1230 cat >>confdefs.h <<_ACEOF
1231 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1232 _ACEOF
1235 cat >>confdefs.h <<_ACEOF
1236 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1237 _ACEOF
1240 cat >>confdefs.h <<_ACEOF
1241 #define PACKAGE_STRING "$PACKAGE_STRING"
1242 _ACEOF
1245 cat >>confdefs.h <<_ACEOF
1246 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1247 _ACEOF
1250 # Let the site file select an alternate cache file if it wants to.
1251 # Prefer explicitly selected file to automatically selected ones.
1252 if test -z "$CONFIG_SITE"; then
1253 if test "x$prefix" != xNONE; then
1254 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1255 else
1256 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1259 for ac_site_file in $CONFIG_SITE; do
1260 if test -r "$ac_site_file"; then
1261 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1262 echo "$as_me: loading site script $ac_site_file" >&6;}
1263 sed 's/^/| /' "$ac_site_file" >&5
1264 . "$ac_site_file"
1266 done
1268 if test -r "$cache_file"; then
1269 # Some versions of bash will fail to source /dev/null (special
1270 # files actually), so we avoid doing that.
1271 if test -f "$cache_file"; then
1272 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1273 echo "$as_me: loading cache $cache_file" >&6;}
1274 case $cache_file in
1275 [\\/]* | ?:[\\/]* ) . $cache_file;;
1276 *) . ./$cache_file;;
1277 esac
1279 else
1280 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1281 echo "$as_me: creating cache $cache_file" >&6;}
1282 >$cache_file
1285 # Check that the precious variables saved in the cache have kept the same
1286 # value.
1287 ac_cache_corrupted=false
1288 for ac_var in `(set) 2>&1 |
1289 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1290 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1291 eval ac_new_set=\$ac_env_${ac_var}_set
1292 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1293 eval ac_new_val="\$ac_env_${ac_var}_value"
1294 case $ac_old_set,$ac_new_set in
1295 set,)
1296 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1297 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1298 ac_cache_corrupted=: ;;
1299 ,set)
1300 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1301 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1302 ac_cache_corrupted=: ;;
1303 ,);;
1305 if test "x$ac_old_val" != "x$ac_new_val"; then
1306 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1307 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1308 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1309 echo "$as_me: former value: $ac_old_val" >&2;}
1310 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1311 echo "$as_me: current value: $ac_new_val" >&2;}
1312 ac_cache_corrupted=:
1313 fi;;
1314 esac
1315 # Pass precious variables to config.status.
1316 if test "$ac_new_set" = set; then
1317 case $ac_new_val in
1318 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1319 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1320 *) ac_arg=$ac_var=$ac_new_val ;;
1321 esac
1322 case " $ac_configure_args " in
1323 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1324 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1325 esac
1327 done
1328 if $ac_cache_corrupted; then
1329 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1330 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1331 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1332 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1333 { (exit 1); exit 1; }; }
1336 ac_ext=c
1337 ac_cpp='$CPP $CPPFLAGS'
1338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1369 ac_config_headers="$ac_config_headers config.h"
1372 # This works around the fact that libtool configuration may change LD
1373 # for this particular configuration, but some shells, instead of
1374 # keeping the changes in LD private, export them just because LD is
1375 # exported. Only used at the end of this file.
1376 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1378 # For libtool versioning info, format is CURRENT:REVISION:AGE
1379 libtool_VERSION=6:4:0
1382 # Find the rest of the source tree framework.
1383 # Default to --enable-multilib
1384 # Check whether --enable-multilib or --disable-multilib was given.
1385 if test "${enable_multilib+set}" = set; then
1386 enableval="$enable_multilib"
1387 case "$enableval" in
1388 yes) multilib=yes ;;
1389 no) multilib=no ;;
1390 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1391 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1392 { (exit 1); exit 1; }; } ;;
1393 esac
1394 else
1395 multilib=yes
1398 # We may get other options which we leave undocumented:
1399 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1400 # See config-ml.in if you want the gory details.
1402 if test "$srcdir" = "."; then
1403 if test "$with_target_subdir" != "."; then
1404 multi_basedir="$srcdir/$with_multisrctop../.."
1405 else
1406 multi_basedir="$srcdir/$with_multisrctop.."
1408 else
1409 multi_basedir="$srcdir/.."
1413 ac_config_commands="$ac_config_commands default-1"
1416 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1418 # You will slowly go insane if you do not grok the following fact: when
1419 # building v3 as part of the compiler, the top-level /target/ becomes the
1420 # library's /host/. configure then causes --target to default to --host,
1421 # exactly like any other package using autoconf. Therefore, 'target' and
1422 # 'host' will always be the same. This makes sense both for native and
1423 # cross compilers, just think about it for a little while. :-)
1425 # Also, if v3 is being configured as part of a cross compiler, the top-level
1426 # configure script will pass the "real" host as $with_cross_host.
1428 # Do not delete or change the following two lines. For why, see
1429 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1430 ac_aux_dir=
1431 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1432 if test -f $ac_dir/install-sh; then
1433 ac_aux_dir=$ac_dir
1434 ac_install_sh="$ac_aux_dir/install-sh -c"
1435 break
1436 elif test -f $ac_dir/install.sh; then
1437 ac_aux_dir=$ac_dir
1438 ac_install_sh="$ac_aux_dir/install.sh -c"
1439 break
1440 elif test -f $ac_dir/shtool; then
1441 ac_aux_dir=$ac_dir
1442 ac_install_sh="$ac_aux_dir/shtool install -c"
1443 break
1445 done
1446 if test -z "$ac_aux_dir"; then
1447 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1448 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1449 { (exit 1); exit 1; }; }
1451 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1452 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1453 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1455 # Make sure we can run config.sub.
1456 $ac_config_sub sun4 >/dev/null 2>&1 ||
1457 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1458 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1459 { (exit 1); exit 1; }; }
1461 echo "$as_me:$LINENO: checking build system type" >&5
1462 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1463 if test "${ac_cv_build+set}" = set; then
1464 echo $ECHO_N "(cached) $ECHO_C" >&6
1465 else
1466 ac_cv_build_alias=$build_alias
1467 test -z "$ac_cv_build_alias" &&
1468 ac_cv_build_alias=`$ac_config_guess`
1469 test -z "$ac_cv_build_alias" &&
1470 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1471 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1472 { (exit 1); exit 1; }; }
1473 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1474 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1475 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1476 { (exit 1); exit 1; }; }
1479 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1480 echo "${ECHO_T}$ac_cv_build" >&6
1481 build=$ac_cv_build
1482 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1483 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1484 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1487 echo "$as_me:$LINENO: checking host system type" >&5
1488 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1489 if test "${ac_cv_host+set}" = set; then
1490 echo $ECHO_N "(cached) $ECHO_C" >&6
1491 else
1492 ac_cv_host_alias=$host_alias
1493 test -z "$ac_cv_host_alias" &&
1494 ac_cv_host_alias=$ac_cv_build_alias
1495 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1496 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1497 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1498 { (exit 1); exit 1; }; }
1501 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1502 echo "${ECHO_T}$ac_cv_host" >&6
1503 host=$ac_cv_host
1504 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1505 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1506 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1509 echo "$as_me:$LINENO: checking target system type" >&5
1510 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1511 if test "${ac_cv_target+set}" = set; then
1512 echo $ECHO_N "(cached) $ECHO_C" >&6
1513 else
1514 ac_cv_target_alias=$target_alias
1515 test "x$ac_cv_target_alias" = "x" &&
1516 ac_cv_target_alias=$ac_cv_host_alias
1517 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1518 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1519 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1520 { (exit 1); exit 1; }; }
1523 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1524 echo "${ECHO_T}$ac_cv_target" >&6
1525 target=$ac_cv_target
1526 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1527 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1528 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1531 # The aliases save the names the user supplied, while $host etc.
1532 # will get canonicalized.
1533 test -n "$target_alias" &&
1534 test "$program_prefix$program_suffix$program_transform_name" = \
1535 NONENONEs,x,x, &&
1536 program_prefix=${target_alias}-
1537 target_alias=${target_alias-$host_alias}
1539 # Handy for debugging:
1540 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1542 if test "$build" != "$host"; then
1543 # We are being configured with some form of cross compiler.
1544 GLIBCXX_IS_NATIVE=false
1546 else
1547 GLIBCXX_IS_NATIVE=true
1550 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1551 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1552 # 1.x: minimum required version
1553 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1554 # of other PACKAGE_* variables will, however, and there's nothing
1555 # we can do about that; they come from AC_INIT).
1556 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1557 # file in the top srcdir, etc, etc), so stop complaining.
1558 # no-dependencies: turns off auto dependency generation (just for now)
1559 # -Wall: turns on all automake warnings...
1560 # -Wno-portability: ...except this one, since GNU make is now required.
1561 am__api_version="1.9"
1562 # Find a good install program. We prefer a C program (faster),
1563 # so one script is as good as another. But avoid the broken or
1564 # incompatible versions:
1565 # SysV /etc/install, /usr/sbin/install
1566 # SunOS /usr/etc/install
1567 # IRIX /sbin/install
1568 # AIX /bin/install
1569 # AmigaOS /C/install, which installs bootblocks on floppy discs
1570 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1571 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1572 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1573 # OS/2's system install, which has a completely different semantic
1574 # ./install, which can be erroneously created by make from ./install.sh.
1575 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1576 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1577 if test -z "$INSTALL"; then
1578 if test "${ac_cv_path_install+set}" = set; then
1579 echo $ECHO_N "(cached) $ECHO_C" >&6
1580 else
1581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1582 for as_dir in $PATH
1584 IFS=$as_save_IFS
1585 test -z "$as_dir" && as_dir=.
1586 # Account for people who put trailing slashes in PATH elements.
1587 case $as_dir/ in
1588 ./ | .// | /cC/* | \
1589 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1590 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1591 /usr/ucb/* ) ;;
1593 # OSF1 and SCO ODT 3.0 have their own names for install.
1594 # Don't use installbsd from OSF since it installs stuff as root
1595 # by default.
1596 for ac_prog in ginstall scoinst install; do
1597 for ac_exec_ext in '' $ac_executable_extensions; do
1598 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1599 if test $ac_prog = install &&
1600 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1601 # AIX install. It has an incompatible calling convention.
1603 elif test $ac_prog = install &&
1604 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1605 # program-specific install script used by HP pwplus--don't use.
1607 else
1608 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1609 break 3
1612 done
1613 done
1615 esac
1616 done
1620 if test "${ac_cv_path_install+set}" = set; then
1621 INSTALL=$ac_cv_path_install
1622 else
1623 # As a last resort, use the slow shell script. We don't cache a
1624 # path for INSTALL within a source directory, because that will
1625 # break other packages using the cache if that directory is
1626 # removed, or if the path is relative.
1627 INSTALL=$ac_install_sh
1630 echo "$as_me:$LINENO: result: $INSTALL" >&5
1631 echo "${ECHO_T}$INSTALL" >&6
1633 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1634 # It thinks the first close brace ends the variable substitution.
1635 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1637 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1639 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1641 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1642 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1643 # Just in case
1644 sleep 1
1645 echo timestamp > conftest.file
1646 # Do `set' in a subshell so we don't clobber the current shell's
1647 # arguments. Must try -L first in case configure is actually a
1648 # symlink; some systems play weird games with the mod time of symlinks
1649 # (eg FreeBSD returns the mod time of the symlink's containing
1650 # directory).
1651 if (
1652 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1653 if test "$*" = "X"; then
1654 # -L didn't work.
1655 set X `ls -t $srcdir/configure conftest.file`
1657 rm -f conftest.file
1658 if test "$*" != "X $srcdir/configure conftest.file" \
1659 && test "$*" != "X conftest.file $srcdir/configure"; then
1661 # If neither matched, then we have a broken ls. This can happen
1662 # if, for instance, CONFIG_SHELL is bash and it inherits a
1663 # broken ls alias from the environment. This has actually
1664 # happened. Such a system could not be considered "sane".
1665 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1666 alias in your environment" >&5
1667 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1668 alias in your environment" >&2;}
1669 { (exit 1); exit 1; }; }
1672 test "$2" = conftest.file
1674 then
1675 # Ok.
1677 else
1678 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1679 Check your system clock" >&5
1680 echo "$as_me: error: newly created file is older than distributed files!
1681 Check your system clock" >&2;}
1682 { (exit 1); exit 1; }; }
1684 echo "$as_me:$LINENO: result: yes" >&5
1685 echo "${ECHO_T}yes" >&6
1686 test "$program_prefix" != NONE &&
1687 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1688 # Use a double $ so make ignores it.
1689 test "$program_suffix" != NONE &&
1690 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1691 # Double any \ or $. echo might interpret backslashes.
1692 # By default was `s,x,x', remove it if useless.
1693 cat <<\_ACEOF >conftest.sed
1694 s/[\\$]/&&/g;s/;s,x,x,$//
1695 _ACEOF
1696 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1697 rm conftest.sed
1699 # expand $ac_aux_dir to an absolute path
1700 am_aux_dir=`cd $ac_aux_dir && pwd`
1702 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1703 # Use eval to expand $SHELL
1704 if eval "$MISSING --run true"; then
1705 am_missing_run="$MISSING --run "
1706 else
1707 am_missing_run=
1708 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1709 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1712 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1713 # We used to keeping the `.' as first argument, in order to
1714 # allow $(mkdir_p) to be used without argument. As in
1715 # $(mkdir_p) $(somedir)
1716 # where $(somedir) is conditionally defined. However this is wrong
1717 # for two reasons:
1718 # 1. if the package is installed by a user who cannot write `.'
1719 # make install will fail,
1720 # 2. the above comment should most certainly read
1721 # $(mkdir_p) $(DESTDIR)$(somedir)
1722 # so it does not work when $(somedir) is undefined and
1723 # $(DESTDIR) is not.
1724 # To support the latter case, we have to write
1725 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1726 # so the `.' trick is pointless.
1727 mkdir_p='mkdir -p --'
1728 else
1729 # On NextStep and OpenStep, the `mkdir' command does not
1730 # recognize any option. It will interpret all options as
1731 # directories to create, and then abort because `.' already
1732 # exists.
1733 for d in ./-p ./--version;
1735 test -d $d && rmdir $d
1736 done
1737 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1738 if test -f "$ac_aux_dir/mkinstalldirs"; then
1739 mkdir_p='$(mkinstalldirs)'
1740 else
1741 mkdir_p='$(install_sh) -d'
1745 for ac_prog in gawk mawk nawk awk
1747 # Extract the first word of "$ac_prog", so it can be a program name with args.
1748 set dummy $ac_prog; ac_word=$2
1749 echo "$as_me:$LINENO: checking for $ac_word" >&5
1750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1751 if test "${ac_cv_prog_AWK+set}" = set; then
1752 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 else
1754 if test -n "$AWK"; then
1755 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1756 else
1757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1758 for as_dir in $PATH
1760 IFS=$as_save_IFS
1761 test -z "$as_dir" && as_dir=.
1762 for ac_exec_ext in '' $ac_executable_extensions; do
1763 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1764 ac_cv_prog_AWK="$ac_prog"
1765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1766 break 2
1768 done
1769 done
1773 AWK=$ac_cv_prog_AWK
1774 if test -n "$AWK"; then
1775 echo "$as_me:$LINENO: result: $AWK" >&5
1776 echo "${ECHO_T}$AWK" >&6
1777 else
1778 echo "$as_me:$LINENO: result: no" >&5
1779 echo "${ECHO_T}no" >&6
1782 test -n "$AWK" && break
1783 done
1785 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1786 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1787 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1788 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1789 echo $ECHO_N "(cached) $ECHO_C" >&6
1790 else
1791 cat >conftest.make <<\_ACEOF
1792 all:
1793 @echo 'ac_maketemp="$(MAKE)"'
1794 _ACEOF
1795 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1796 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1797 if test -n "$ac_maketemp"; then
1798 eval ac_cv_prog_make_${ac_make}_set=yes
1799 else
1800 eval ac_cv_prog_make_${ac_make}_set=no
1802 rm -f conftest.make
1804 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1805 echo "$as_me:$LINENO: result: yes" >&5
1806 echo "${ECHO_T}yes" >&6
1807 SET_MAKE=
1808 else
1809 echo "$as_me:$LINENO: result: no" >&5
1810 echo "${ECHO_T}no" >&6
1811 SET_MAKE="MAKE=${MAKE-make}"
1814 rm -rf .tst 2>/dev/null
1815 mkdir .tst 2>/dev/null
1816 if test -d .tst; then
1817 am__leading_dot=.
1818 else
1819 am__leading_dot=_
1821 rmdir .tst 2>/dev/null
1823 # test to see if srcdir already configured
1824 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1825 test -f $srcdir/config.status; then
1826 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1827 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1828 { (exit 1); exit 1; }; }
1831 # test whether we have cygpath
1832 if test -z "$CYGPATH_W"; then
1833 if (cygpath --version) >/dev/null 2>/dev/null; then
1834 CYGPATH_W='cygpath -w'
1835 else
1836 CYGPATH_W=echo
1841 # Define the identity of the package.
1842 PACKAGE='libstdc++'
1843 VERSION='version-unused'
1846 # Some tools Automake needs.
1848 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1851 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1854 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1857 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1860 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1862 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1864 # Installed binaries are usually stripped using `strip' when the user
1865 # run `make install-strip'. However `strip' might not be the right
1866 # tool to use in cross-compilation environments, therefore Automake
1867 # will honor the `STRIP' environment variable to overrule this program.
1868 if test "$cross_compiling" != no; then
1869 if test -n "$ac_tool_prefix"; then
1870 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1871 set dummy ${ac_tool_prefix}strip; ac_word=$2
1872 echo "$as_me:$LINENO: checking for $ac_word" >&5
1873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1874 if test "${ac_cv_prog_STRIP+set}" = set; then
1875 echo $ECHO_N "(cached) $ECHO_C" >&6
1876 else
1877 if test -n "$STRIP"; then
1878 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1879 else
1880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1881 for as_dir in $PATH
1883 IFS=$as_save_IFS
1884 test -z "$as_dir" && as_dir=.
1885 for ac_exec_ext in '' $ac_executable_extensions; do
1886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1887 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1889 break 2
1891 done
1892 done
1896 STRIP=$ac_cv_prog_STRIP
1897 if test -n "$STRIP"; then
1898 echo "$as_me:$LINENO: result: $STRIP" >&5
1899 echo "${ECHO_T}$STRIP" >&6
1900 else
1901 echo "$as_me:$LINENO: result: no" >&5
1902 echo "${ECHO_T}no" >&6
1906 if test -z "$ac_cv_prog_STRIP"; then
1907 ac_ct_STRIP=$STRIP
1908 # Extract the first word of "strip", so it can be a program name with args.
1909 set dummy strip; ac_word=$2
1910 echo "$as_me:$LINENO: checking for $ac_word" >&5
1911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1912 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1913 echo $ECHO_N "(cached) $ECHO_C" >&6
1914 else
1915 if test -n "$ac_ct_STRIP"; then
1916 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1917 else
1918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1919 for as_dir in $PATH
1921 IFS=$as_save_IFS
1922 test -z "$as_dir" && as_dir=.
1923 for ac_exec_ext in '' $ac_executable_extensions; do
1924 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1925 ac_cv_prog_ac_ct_STRIP="strip"
1926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1927 break 2
1929 done
1930 done
1932 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1935 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1936 if test -n "$ac_ct_STRIP"; then
1937 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1938 echo "${ECHO_T}$ac_ct_STRIP" >&6
1939 else
1940 echo "$as_me:$LINENO: result: no" >&5
1941 echo "${ECHO_T}no" >&6
1944 STRIP=$ac_ct_STRIP
1945 else
1946 STRIP="$ac_cv_prog_STRIP"
1950 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1952 # We need awk for the "check" target. The system "awk" is bad on
1953 # some platforms.
1954 # Always define AMTAR for backward compatibility.
1956 AMTAR=${AMTAR-"${am_missing_run}tar"}
1958 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
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
5084 CXXFLAGS="$old_CXXFLAGS"
5085 rm -f conftest*
5088 # This is a tad weird, for hysterical raisins. We have to map enable/disable
5089 # to two different models.
5090 case $enable_sjlj_exceptions in
5091 yes)
5093 cat >>confdefs.h <<\_ACEOF
5094 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5095 _ACEOF
5097 ac_exception_model_name=sjlj
5100 ac_exception_model_name="call frame"
5103 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5104 echo "$as_me: error: unable to detect exception model" >&2;}
5105 { (exit 1); exit 1; }; }
5107 esac
5108 ac_ext=c
5109 ac_cpp='$CPP $CPPFLAGS'
5110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5114 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5115 echo "${ECHO_T}$ac_exception_model_name" >&6
5118 echo "$as_me:$LINENO: checking for enabled PCH" >&5
5119 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5120 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5121 if test "${enable_libstdcxx_pch+set}" = set; then
5122 enableval="$enable_libstdcxx_pch"
5124 case "$enableval" in
5125 yes|no) ;;
5126 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5127 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5128 { (exit 1); exit 1; }; } ;;
5129 esac
5131 else
5132 enable_libstdcxx_pch=$is_hosted
5135 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5136 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5138 if test $enable_libstdcxx_pch = yes; then
5139 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5140 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5141 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5142 echo $ECHO_N "(cached) $ECHO_C" >&6
5143 else
5144 ac_save_CXXFLAGS="$CXXFLAGS"
5145 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5148 ac_ext=cc
5149 ac_cpp='$CXXCPP $CPPFLAGS'
5150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5154 echo '#include <math.h>' > conftest.h
5155 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5156 -o conftest.h.gch 1>&5 2>&1 &&
5157 echo '#error "pch failed"' > conftest.h &&
5158 echo '#include "conftest.h"' > conftest.cc &&
5159 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5160 then
5161 glibcxx_cv_prog_CXX_pch=yes
5162 else
5163 glibcxx_cv_prog_CXX_pch=no
5165 rm -f conftest*
5166 CXXFLAGS=$ac_save_CXXFLAGS
5167 ac_ext=c
5168 ac_cpp='$CPP $CPPFLAGS'
5169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5175 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5176 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5177 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5181 if test $enable_libstdcxx_pch = yes; then
5182 glibcxx_PCHFLAGS="-include bits/stdc++.h"
5183 else
5184 glibcxx_PCHFLAGS=""
5189 # Enable all the variable C++ runtime options.
5191 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5192 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5193 # Check whether --enable-cstdio or --disable-cstdio was given.
5194 if test "${enable_cstdio+set}" = set; then
5195 enableval="$enable_cstdio"
5197 case "$enableval" in
5198 stdio) ;;
5199 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5200 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5201 { (exit 1); exit 1; }; } ;;
5202 esac
5204 else
5205 enable_cstdio=stdio
5209 # Now that libio has been removed, you can have any color you want as long
5210 # as it's black. This is one big no-op until other packages are added, but
5211 # showing the framework never hurts.
5212 case ${enable_cstdio} in
5213 stdio)
5214 CSTDIO_H=config/io/c_io_stdio.h
5215 BASIC_FILE_H=config/io/basic_file_stdio.h
5216 BASIC_FILE_CC=config/io/basic_file_stdio.cc
5217 echo "$as_me:$LINENO: result: stdio" >&5
5218 echo "${ECHO_T}stdio" >&6
5220 esac
5226 ac_ext=c
5227 ac_cpp='$CPP $CPPFLAGS'
5228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5231 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5232 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5233 # On Suns, sometimes $CPP names a directory.
5234 if test -n "$CPP" && test -d "$CPP"; then
5235 CPP=
5237 if test -z "$CPP"; then
5238 if test "${ac_cv_prog_CPP+set}" = set; then
5239 echo $ECHO_N "(cached) $ECHO_C" >&6
5240 else
5241 # Double quotes because CPP needs to be expanded
5242 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5244 ac_preproc_ok=false
5245 for ac_c_preproc_warn_flag in '' yes
5247 # Use a header file that comes with gcc, so configuring glibc
5248 # with a fresh cross-compiler works.
5249 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5250 # <limits.h> exists even on freestanding compilers.
5251 # On the NeXT, cc -E runs the code through the compiler's parser,
5252 # not just through cpp. "Syntax error" is here to catch this case.
5253 cat >conftest.$ac_ext <<_ACEOF
5254 /* confdefs.h. */
5255 _ACEOF
5256 cat confdefs.h >>conftest.$ac_ext
5257 cat >>conftest.$ac_ext <<_ACEOF
5258 /* end confdefs.h. */
5259 #ifdef __STDC__
5260 # include <limits.h>
5261 #else
5262 # include <assert.h>
5263 #endif
5264 Syntax error
5265 _ACEOF
5266 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5267 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5268 ac_status=$?
5269 grep -v '^ *+' conftest.er1 >conftest.err
5270 rm -f conftest.er1
5271 cat conftest.err >&5
5272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5273 (exit $ac_status); } >/dev/null; then
5274 if test -s conftest.err; then
5275 ac_cpp_err=$ac_c_preproc_warn_flag
5276 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5277 else
5278 ac_cpp_err=
5280 else
5281 ac_cpp_err=yes
5283 if test -z "$ac_cpp_err"; then
5285 else
5286 echo "$as_me: failed program was:" >&5
5287 sed 's/^/| /' conftest.$ac_ext >&5
5289 # Broken: fails on valid input.
5290 continue
5292 rm -f conftest.err conftest.$ac_ext
5294 # OK, works on sane cases. Now check whether non-existent headers
5295 # can be detected and how.
5296 cat >conftest.$ac_ext <<_ACEOF
5297 /* confdefs.h. */
5298 _ACEOF
5299 cat confdefs.h >>conftest.$ac_ext
5300 cat >>conftest.$ac_ext <<_ACEOF
5301 /* end confdefs.h. */
5302 #include <ac_nonexistent.h>
5303 _ACEOF
5304 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5305 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5306 ac_status=$?
5307 grep -v '^ *+' conftest.er1 >conftest.err
5308 rm -f conftest.er1
5309 cat conftest.err >&5
5310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5311 (exit $ac_status); } >/dev/null; then
5312 if test -s conftest.err; then
5313 ac_cpp_err=$ac_c_preproc_warn_flag
5314 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5315 else
5316 ac_cpp_err=
5318 else
5319 ac_cpp_err=yes
5321 if test -z "$ac_cpp_err"; then
5322 # Broken: success on invalid input.
5323 continue
5324 else
5325 echo "$as_me: failed program was:" >&5
5326 sed 's/^/| /' conftest.$ac_ext >&5
5328 # Passes both tests.
5329 ac_preproc_ok=:
5330 break
5332 rm -f conftest.err conftest.$ac_ext
5334 done
5335 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5336 rm -f conftest.err conftest.$ac_ext
5337 if $ac_preproc_ok; then
5338 break
5341 done
5342 ac_cv_prog_CPP=$CPP
5345 CPP=$ac_cv_prog_CPP
5346 else
5347 ac_cv_prog_CPP=$CPP
5349 echo "$as_me:$LINENO: result: $CPP" >&5
5350 echo "${ECHO_T}$CPP" >&6
5351 ac_preproc_ok=false
5352 for ac_c_preproc_warn_flag in '' yes
5354 # Use a header file that comes with gcc, so configuring glibc
5355 # with a fresh cross-compiler works.
5356 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5357 # <limits.h> exists even on freestanding compilers.
5358 # On the NeXT, cc -E runs the code through the compiler's parser,
5359 # not just through cpp. "Syntax error" is here to catch this case.
5360 cat >conftest.$ac_ext <<_ACEOF
5361 /* confdefs.h. */
5362 _ACEOF
5363 cat confdefs.h >>conftest.$ac_ext
5364 cat >>conftest.$ac_ext <<_ACEOF
5365 /* end confdefs.h. */
5366 #ifdef __STDC__
5367 # include <limits.h>
5368 #else
5369 # include <assert.h>
5370 #endif
5371 Syntax error
5372 _ACEOF
5373 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5374 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5375 ac_status=$?
5376 grep -v '^ *+' conftest.er1 >conftest.err
5377 rm -f conftest.er1
5378 cat conftest.err >&5
5379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5380 (exit $ac_status); } >/dev/null; then
5381 if test -s conftest.err; then
5382 ac_cpp_err=$ac_c_preproc_warn_flag
5383 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5384 else
5385 ac_cpp_err=
5387 else
5388 ac_cpp_err=yes
5390 if test -z "$ac_cpp_err"; then
5392 else
5393 echo "$as_me: failed program was:" >&5
5394 sed 's/^/| /' conftest.$ac_ext >&5
5396 # Broken: fails on valid input.
5397 continue
5399 rm -f conftest.err conftest.$ac_ext
5401 # OK, works on sane cases. Now check whether non-existent headers
5402 # can be detected and how.
5403 cat >conftest.$ac_ext <<_ACEOF
5404 /* confdefs.h. */
5405 _ACEOF
5406 cat confdefs.h >>conftest.$ac_ext
5407 cat >>conftest.$ac_ext <<_ACEOF
5408 /* end confdefs.h. */
5409 #include <ac_nonexistent.h>
5410 _ACEOF
5411 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5412 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5413 ac_status=$?
5414 grep -v '^ *+' conftest.er1 >conftest.err
5415 rm -f conftest.er1
5416 cat conftest.err >&5
5417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5418 (exit $ac_status); } >/dev/null; then
5419 if test -s conftest.err; then
5420 ac_cpp_err=$ac_c_preproc_warn_flag
5421 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5422 else
5423 ac_cpp_err=
5425 else
5426 ac_cpp_err=yes
5428 if test -z "$ac_cpp_err"; then
5429 # Broken: success on invalid input.
5430 continue
5431 else
5432 echo "$as_me: failed program was:" >&5
5433 sed 's/^/| /' conftest.$ac_ext >&5
5435 # Passes both tests.
5436 ac_preproc_ok=:
5437 break
5439 rm -f conftest.err conftest.$ac_ext
5441 done
5442 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5443 rm -f conftest.err conftest.$ac_ext
5444 if $ac_preproc_ok; then
5446 else
5447 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5448 See \`config.log' for more details." >&5
5449 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5450 See \`config.log' for more details." >&2;}
5451 { (exit 1); exit 1; }; }
5454 ac_ext=c
5455 ac_cpp='$CPP $CPPFLAGS'
5456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5461 echo "$as_me:$LINENO: checking for egrep" >&5
5462 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5463 if test "${ac_cv_prog_egrep+set}" = set; then
5464 echo $ECHO_N "(cached) $ECHO_C" >&6
5465 else
5466 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5467 then ac_cv_prog_egrep='grep -E'
5468 else ac_cv_prog_egrep='egrep'
5471 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5472 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5473 EGREP=$ac_cv_prog_egrep
5476 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5477 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5478 if test "${ac_cv_header_stdc+set}" = set; then
5479 echo $ECHO_N "(cached) $ECHO_C" >&6
5480 else
5481 cat >conftest.$ac_ext <<_ACEOF
5482 /* confdefs.h. */
5483 _ACEOF
5484 cat confdefs.h >>conftest.$ac_ext
5485 cat >>conftest.$ac_ext <<_ACEOF
5486 /* end confdefs.h. */
5487 #include <stdlib.h>
5488 #include <stdarg.h>
5489 #include <string.h>
5490 #include <float.h>
5493 main ()
5497 return 0;
5499 _ACEOF
5500 rm -f conftest.$ac_objext
5501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5502 (eval $ac_compile) 2>conftest.er1
5503 ac_status=$?
5504 grep -v '^ *+' conftest.er1 >conftest.err
5505 rm -f conftest.er1
5506 cat conftest.err >&5
5507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5508 (exit $ac_status); } &&
5509 { ac_try='test -z "$ac_c_werror_flag"
5510 || test ! -s conftest.err'
5511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5512 (eval $ac_try) 2>&5
5513 ac_status=$?
5514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5515 (exit $ac_status); }; } &&
5516 { ac_try='test -s conftest.$ac_objext'
5517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5518 (eval $ac_try) 2>&5
5519 ac_status=$?
5520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5521 (exit $ac_status); }; }; then
5522 ac_cv_header_stdc=yes
5523 else
5524 echo "$as_me: failed program was:" >&5
5525 sed 's/^/| /' conftest.$ac_ext >&5
5527 ac_cv_header_stdc=no
5529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5531 if test $ac_cv_header_stdc = yes; then
5532 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5533 cat >conftest.$ac_ext <<_ACEOF
5534 /* confdefs.h. */
5535 _ACEOF
5536 cat confdefs.h >>conftest.$ac_ext
5537 cat >>conftest.$ac_ext <<_ACEOF
5538 /* end confdefs.h. */
5539 #include <string.h>
5541 _ACEOF
5542 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5543 $EGREP "memchr" >/dev/null 2>&1; then
5545 else
5546 ac_cv_header_stdc=no
5548 rm -f conftest*
5552 if test $ac_cv_header_stdc = yes; then
5553 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5554 cat >conftest.$ac_ext <<_ACEOF
5555 /* confdefs.h. */
5556 _ACEOF
5557 cat confdefs.h >>conftest.$ac_ext
5558 cat >>conftest.$ac_ext <<_ACEOF
5559 /* end confdefs.h. */
5560 #include <stdlib.h>
5562 _ACEOF
5563 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5564 $EGREP "free" >/dev/null 2>&1; then
5566 else
5567 ac_cv_header_stdc=no
5569 rm -f conftest*
5573 if test $ac_cv_header_stdc = yes; then
5574 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5575 if test "$cross_compiling" = yes; then
5577 else
5578 cat >conftest.$ac_ext <<_ACEOF
5579 /* confdefs.h. */
5580 _ACEOF
5581 cat confdefs.h >>conftest.$ac_ext
5582 cat >>conftest.$ac_ext <<_ACEOF
5583 /* end confdefs.h. */
5584 #include <ctype.h>
5585 #if ((' ' & 0x0FF) == 0x020)
5586 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5587 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5588 #else
5589 # define ISLOWER(c) \
5590 (('a' <= (c) && (c) <= 'i') \
5591 || ('j' <= (c) && (c) <= 'r') \
5592 || ('s' <= (c) && (c) <= 'z'))
5593 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5594 #endif
5596 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5598 main ()
5600 int i;
5601 for (i = 0; i < 256; i++)
5602 if (XOR (islower (i), ISLOWER (i))
5603 || toupper (i) != TOUPPER (i))
5604 exit(2);
5605 exit (0);
5607 _ACEOF
5608 rm -f conftest$ac_exeext
5609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5610 (eval $ac_link) 2>&5
5611 ac_status=$?
5612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5613 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5615 (eval $ac_try) 2>&5
5616 ac_status=$?
5617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5618 (exit $ac_status); }; }; then
5620 else
5621 echo "$as_me: program exited with status $ac_status" >&5
5622 echo "$as_me: failed program was:" >&5
5623 sed 's/^/| /' conftest.$ac_ext >&5
5625 ( exit $ac_status )
5626 ac_cv_header_stdc=no
5628 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5632 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5633 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5634 if test $ac_cv_header_stdc = yes; then
5636 cat >>confdefs.h <<\_ACEOF
5637 #define STDC_HEADERS 1
5638 _ACEOF
5642 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5652 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5653 inttypes.h stdint.h unistd.h
5655 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5656 echo "$as_me:$LINENO: checking for $ac_header" >&5
5657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5659 echo $ECHO_N "(cached) $ECHO_C" >&6
5660 else
5661 cat >conftest.$ac_ext <<_ACEOF
5662 /* confdefs.h. */
5663 _ACEOF
5664 cat confdefs.h >>conftest.$ac_ext
5665 cat >>conftest.$ac_ext <<_ACEOF
5666 /* end confdefs.h. */
5667 $ac_includes_default
5669 #include <$ac_header>
5670 _ACEOF
5671 rm -f conftest.$ac_objext
5672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5673 (eval $ac_compile) 2>conftest.er1
5674 ac_status=$?
5675 grep -v '^ *+' conftest.er1 >conftest.err
5676 rm -f conftest.er1
5677 cat conftest.err >&5
5678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5679 (exit $ac_status); } &&
5680 { ac_try='test -z "$ac_c_werror_flag"
5681 || test ! -s conftest.err'
5682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5683 (eval $ac_try) 2>&5
5684 ac_status=$?
5685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5686 (exit $ac_status); }; } &&
5687 { ac_try='test -s conftest.$ac_objext'
5688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5689 (eval $ac_try) 2>&5
5690 ac_status=$?
5691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5692 (exit $ac_status); }; }; then
5693 eval "$as_ac_Header=yes"
5694 else
5695 echo "$as_me: failed program was:" >&5
5696 sed 's/^/| /' conftest.$ac_ext >&5
5698 eval "$as_ac_Header=no"
5700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5703 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5705 cat >>confdefs.h <<_ACEOF
5706 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5707 _ACEOF
5711 done
5715 echo "$as_me:$LINENO: checking for C locale to use" >&5
5716 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5717 # Check whether --enable-clocale or --disable-clocale was given.
5718 if test "${enable_clocale+set}" = set; then
5719 enableval="$enable_clocale"
5721 case "$enableval" in
5722 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5723 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5724 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5725 { (exit 1); exit 1; }; } ;;
5726 esac
5728 else
5729 enable_clocale=auto
5733 # If they didn't use this option switch, or if they specified --enable
5734 # with no specific model, we'll have to look for one. If they
5735 # specified --disable (???), do likewise.
5736 if test $enable_clocale = no || test $enable_clocale = yes; then
5737 enable_clocale=auto
5740 # Either a known package, or "auto"
5741 enable_clocale_flag=$enable_clocale
5743 # Probe for locale support if no specific model is specified.
5744 # Default to "generic".
5745 if test $enable_clocale_flag = auto; then
5746 case ${target_os} in
5747 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5748 cat >conftest.$ac_ext <<_ACEOF
5749 /* confdefs.h. */
5750 _ACEOF
5751 cat confdefs.h >>conftest.$ac_ext
5752 cat >>conftest.$ac_ext <<_ACEOF
5753 /* end confdefs.h. */
5755 #include <features.h>
5756 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5757 _GLIBCXX_ok
5758 #endif
5760 _ACEOF
5761 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5762 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5763 enable_clocale_flag=gnu
5764 else
5765 enable_clocale_flag=generic
5767 rm -f conftest*
5770 # Test for bugs early in glibc-2.2.x series
5771 if test $enable_clocale_flag = gnu; then
5772 if test "$cross_compiling" = yes; then
5773 enable_clocale_flag=generic
5774 else
5775 cat >conftest.$ac_ext <<_ACEOF
5776 /* confdefs.h. */
5777 _ACEOF
5778 cat confdefs.h >>conftest.$ac_ext
5779 cat >>conftest.$ac_ext <<_ACEOF
5780 /* end confdefs.h. */
5782 #define _GNU_SOURCE 1
5783 #include <locale.h>
5784 #include <string.h>
5785 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5786 extern __typeof(newlocale) __newlocale;
5787 extern __typeof(duplocale) __duplocale;
5788 extern __typeof(strcoll_l) __strcoll_l;
5789 #endif
5790 int main()
5792 const char __one[] = "Äuglein Augmen";
5793 const char __two[] = "Äuglein";
5794 int i;
5795 int j;
5796 __locale_t loc;
5797 __locale_t loc_dup;
5798 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5799 loc_dup = __duplocale(loc);
5800 i = __strcoll_l(__one, __two, loc);
5801 j = __strcoll_l(__one, __two, loc_dup);
5802 return 0;
5805 _ACEOF
5806 rm -f conftest$ac_exeext
5807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5808 (eval $ac_link) 2>&5
5809 ac_status=$?
5810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5811 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5813 (eval $ac_try) 2>&5
5814 ac_status=$?
5815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5816 (exit $ac_status); }; }; then
5817 enable_clocale_flag=gnu
5818 else
5819 echo "$as_me: program exited with status $ac_status" >&5
5820 echo "$as_me: failed program was:" >&5
5821 sed 's/^/| /' conftest.$ac_ext >&5
5823 ( exit $ac_status )
5824 enable_clocale_flag=generic
5826 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5830 # ... at some point put __strxfrm_l tests in as well.
5832 darwin* | freebsd*)
5833 enable_clocale_flag=darwin
5836 enable_clocale_flag=generic
5838 esac
5841 # Deal with gettext issues. Default to not using it (=no) until we detect
5842 # support for it later. Let the user turn it off via --e/d, but let that
5843 # default to on for easier handling.
5844 USE_NLS=no
5845 # Check whether --enable-nls or --disable-nls was given.
5846 if test "${enable_nls+set}" = set; then
5847 enableval="$enable_nls"
5849 else
5850 enable_nls=yes
5853 # Set configure bits for specified locale package
5854 case ${enable_clocale_flag} in
5855 generic)
5856 echo "$as_me:$LINENO: result: generic" >&5
5857 echo "${ECHO_T}generic" >&6
5859 CLOCALE_H=config/locale/generic/c_locale.h
5860 CLOCALE_CC=config/locale/generic/c_locale.cc
5861 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5862 CCOLLATE_CC=config/locale/generic/collate_members.cc
5863 CCTYPE_CC=config/locale/generic/ctype_members.cc
5864 CMESSAGES_H=config/locale/generic/messages_members.h
5865 CMESSAGES_CC=config/locale/generic/messages_members.cc
5866 CMONEY_CC=config/locale/generic/monetary_members.cc
5867 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5868 CTIME_H=config/locale/generic/time_members.h
5869 CTIME_CC=config/locale/generic/time_members.cc
5870 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5872 darwin)
5873 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
5874 echo "${ECHO_T}darwin or freebsd" >&6
5876 CLOCALE_H=config/locale/generic/c_locale.h
5877 CLOCALE_CC=config/locale/generic/c_locale.cc
5878 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5879 CCOLLATE_CC=config/locale/generic/collate_members.cc
5880 CCTYPE_CC=config/locale/darwin/ctype_members.cc
5881 CMESSAGES_H=config/locale/generic/messages_members.h
5882 CMESSAGES_CC=config/locale/generic/messages_members.cc
5883 CMONEY_CC=config/locale/generic/monetary_members.cc
5884 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5885 CTIME_H=config/locale/generic/time_members.h
5886 CTIME_CC=config/locale/generic/time_members.cc
5887 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5890 gnu)
5891 echo "$as_me:$LINENO: result: gnu" >&5
5892 echo "${ECHO_T}gnu" >&6
5894 # Declare intention to use gettext, and add support for specific
5895 # languages.
5896 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5897 ALL_LINGUAS="de fr"
5899 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5900 # Extract the first word of "msgfmt", so it can be a program name with args.
5901 set dummy msgfmt; ac_word=$2
5902 echo "$as_me:$LINENO: checking for $ac_word" >&5
5903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5904 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5905 echo $ECHO_N "(cached) $ECHO_C" >&6
5906 else
5907 if test -n "$check_msgfmt"; then
5908 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5909 else
5910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5911 for as_dir in $PATH
5913 IFS=$as_save_IFS
5914 test -z "$as_dir" && as_dir=.
5915 for ac_exec_ext in '' $ac_executable_extensions; do
5916 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5917 ac_cv_prog_check_msgfmt="yes"
5918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5919 break 2
5921 done
5922 done
5924 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5927 check_msgfmt=$ac_cv_prog_check_msgfmt
5928 if test -n "$check_msgfmt"; then
5929 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5930 echo "${ECHO_T}$check_msgfmt" >&6
5931 else
5932 echo "$as_me:$LINENO: result: no" >&5
5933 echo "${ECHO_T}no" >&6
5936 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5937 USE_NLS=yes
5939 # Export the build objects.
5940 for ling in $ALL_LINGUAS; do \
5941 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5942 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5943 done
5947 CLOCALE_H=config/locale/gnu/c_locale.h
5948 CLOCALE_CC=config/locale/gnu/c_locale.cc
5949 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5950 CCOLLATE_CC=config/locale/gnu/collate_members.cc
5951 CCTYPE_CC=config/locale/gnu/ctype_members.cc
5952 CMESSAGES_H=config/locale/gnu/messages_members.h
5953 CMESSAGES_CC=config/locale/gnu/messages_members.cc
5954 CMONEY_CC=config/locale/gnu/monetary_members.cc
5955 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5956 CTIME_H=config/locale/gnu/time_members.h
5957 CTIME_CC=config/locale/gnu/time_members.cc
5958 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5960 ieee_1003.1-2001)
5961 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5962 echo "${ECHO_T}IEEE 1003.1" >&6
5964 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5965 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5966 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5967 CCOLLATE_CC=config/locale/generic/collate_members.cc
5968 CCTYPE_CC=config/locale/generic/ctype_members.cc
5969 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5970 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5971 CMONEY_CC=config/locale/generic/monetary_members.cc
5972 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5973 CTIME_H=config/locale/generic/time_members.h
5974 CTIME_CC=config/locale/generic/time_members.cc
5975 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5977 esac
5979 # This is where the testsuite looks for locale catalogs, using the
5980 # -DLOCALEDIR define during testsuite compilation.
5981 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
5984 # A standalone libintl (e.g., GNU libintl) may be in use.
5985 if test $USE_NLS = yes; then
5987 for ac_header in libintl.h
5989 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5990 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5991 echo "$as_me:$LINENO: checking for $ac_header" >&5
5992 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5993 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5994 echo $ECHO_N "(cached) $ECHO_C" >&6
5996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5997 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5998 else
5999 # Is the header compilable?
6000 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6001 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6002 cat >conftest.$ac_ext <<_ACEOF
6003 /* confdefs.h. */
6004 _ACEOF
6005 cat confdefs.h >>conftest.$ac_ext
6006 cat >>conftest.$ac_ext <<_ACEOF
6007 /* end confdefs.h. */
6008 $ac_includes_default
6009 #include <$ac_header>
6010 _ACEOF
6011 rm -f conftest.$ac_objext
6012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6013 (eval $ac_compile) 2>conftest.er1
6014 ac_status=$?
6015 grep -v '^ *+' conftest.er1 >conftest.err
6016 rm -f conftest.er1
6017 cat conftest.err >&5
6018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6019 (exit $ac_status); } &&
6020 { ac_try='test -z "$ac_c_werror_flag"
6021 || test ! -s conftest.err'
6022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6023 (eval $ac_try) 2>&5
6024 ac_status=$?
6025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6026 (exit $ac_status); }; } &&
6027 { ac_try='test -s conftest.$ac_objext'
6028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6029 (eval $ac_try) 2>&5
6030 ac_status=$?
6031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6032 (exit $ac_status); }; }; then
6033 ac_header_compiler=yes
6034 else
6035 echo "$as_me: failed program was:" >&5
6036 sed 's/^/| /' conftest.$ac_ext >&5
6038 ac_header_compiler=no
6040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6041 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6042 echo "${ECHO_T}$ac_header_compiler" >&6
6044 # Is the header present?
6045 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6046 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6047 cat >conftest.$ac_ext <<_ACEOF
6048 /* confdefs.h. */
6049 _ACEOF
6050 cat confdefs.h >>conftest.$ac_ext
6051 cat >>conftest.$ac_ext <<_ACEOF
6052 /* end confdefs.h. */
6053 #include <$ac_header>
6054 _ACEOF
6055 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6056 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6057 ac_status=$?
6058 grep -v '^ *+' conftest.er1 >conftest.err
6059 rm -f conftest.er1
6060 cat conftest.err >&5
6061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6062 (exit $ac_status); } >/dev/null; then
6063 if test -s conftest.err; then
6064 ac_cpp_err=$ac_c_preproc_warn_flag
6065 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6066 else
6067 ac_cpp_err=
6069 else
6070 ac_cpp_err=yes
6072 if test -z "$ac_cpp_err"; then
6073 ac_header_preproc=yes
6074 else
6075 echo "$as_me: failed program was:" >&5
6076 sed 's/^/| /' conftest.$ac_ext >&5
6078 ac_header_preproc=no
6080 rm -f conftest.err conftest.$ac_ext
6081 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6082 echo "${ECHO_T}$ac_header_preproc" >&6
6084 # So? What about this header?
6085 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6086 yes:no: )
6087 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6088 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6089 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6090 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6091 ac_header_preproc=yes
6093 no:yes:* )
6094 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6095 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6096 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6097 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6098 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6099 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6100 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6101 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6102 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6103 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6104 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6105 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6107 cat <<\_ASBOX
6108 ## ----------------------------------------- ##
6109 ## Report this to the package-unused lists. ##
6110 ## ----------------------------------------- ##
6111 _ASBOX
6113 sed "s/^/$as_me: WARNING: /" >&2
6115 esac
6116 echo "$as_me:$LINENO: checking for $ac_header" >&5
6117 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6118 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6119 echo $ECHO_N "(cached) $ECHO_C" >&6
6120 else
6121 eval "$as_ac_Header=\$ac_header_preproc"
6123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6124 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6127 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6128 cat >>confdefs.h <<_ACEOF
6129 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6130 _ACEOF
6132 else
6133 USE_NLS=no
6136 done
6138 echo "$as_me:$LINENO: checking for library containing gettext" >&5
6139 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6140 if test "${ac_cv_search_gettext+set}" = set; then
6141 echo $ECHO_N "(cached) $ECHO_C" >&6
6142 else
6143 ac_func_search_save_LIBS=$LIBS
6144 ac_cv_search_gettext=no
6145 if test x$gcc_no_link = xyes; then
6146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6148 { (exit 1); exit 1; }; }
6150 cat >conftest.$ac_ext <<_ACEOF
6151 /* confdefs.h. */
6152 _ACEOF
6153 cat confdefs.h >>conftest.$ac_ext
6154 cat >>conftest.$ac_ext <<_ACEOF
6155 /* end confdefs.h. */
6157 /* Override any gcc2 internal prototype to avoid an error. */
6158 #ifdef __cplusplus
6159 extern "C"
6160 #endif
6161 /* We use char because int might match the return type of a gcc2
6162 builtin and then its argument prototype would still apply. */
6163 char gettext ();
6165 main ()
6167 gettext ();
6169 return 0;
6171 _ACEOF
6172 rm -f conftest.$ac_objext conftest$ac_exeext
6173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6174 (eval $ac_link) 2>conftest.er1
6175 ac_status=$?
6176 grep -v '^ *+' conftest.er1 >conftest.err
6177 rm -f conftest.er1
6178 cat conftest.err >&5
6179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6180 (exit $ac_status); } &&
6181 { ac_try='test -z "$ac_c_werror_flag"
6182 || test ! -s conftest.err'
6183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6184 (eval $ac_try) 2>&5
6185 ac_status=$?
6186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6187 (exit $ac_status); }; } &&
6188 { ac_try='test -s conftest$ac_exeext'
6189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6190 (eval $ac_try) 2>&5
6191 ac_status=$?
6192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6193 (exit $ac_status); }; }; then
6194 ac_cv_search_gettext="none required"
6195 else
6196 echo "$as_me: failed program was:" >&5
6197 sed 's/^/| /' conftest.$ac_ext >&5
6200 rm -f conftest.err conftest.$ac_objext \
6201 conftest$ac_exeext conftest.$ac_ext
6202 if test "$ac_cv_search_gettext" = no; then
6203 for ac_lib in intl; do
6204 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6205 if test x$gcc_no_link = xyes; then
6206 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6208 { (exit 1); exit 1; }; }
6210 cat >conftest.$ac_ext <<_ACEOF
6211 /* confdefs.h. */
6212 _ACEOF
6213 cat confdefs.h >>conftest.$ac_ext
6214 cat >>conftest.$ac_ext <<_ACEOF
6215 /* end confdefs.h. */
6217 /* Override any gcc2 internal prototype to avoid an error. */
6218 #ifdef __cplusplus
6219 extern "C"
6220 #endif
6221 /* We use char because int might match the return type of a gcc2
6222 builtin and then its argument prototype would still apply. */
6223 char gettext ();
6225 main ()
6227 gettext ();
6229 return 0;
6231 _ACEOF
6232 rm -f conftest.$ac_objext conftest$ac_exeext
6233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6234 (eval $ac_link) 2>conftest.er1
6235 ac_status=$?
6236 grep -v '^ *+' conftest.er1 >conftest.err
6237 rm -f conftest.er1
6238 cat conftest.err >&5
6239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6240 (exit $ac_status); } &&
6241 { ac_try='test -z "$ac_c_werror_flag"
6242 || test ! -s conftest.err'
6243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6244 (eval $ac_try) 2>&5
6245 ac_status=$?
6246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6247 (exit $ac_status); }; } &&
6248 { ac_try='test -s conftest$ac_exeext'
6249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6250 (eval $ac_try) 2>&5
6251 ac_status=$?
6252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6253 (exit $ac_status); }; }; then
6254 ac_cv_search_gettext="-l$ac_lib"
6255 break
6256 else
6257 echo "$as_me: failed program was:" >&5
6258 sed 's/^/| /' conftest.$ac_ext >&5
6261 rm -f conftest.err conftest.$ac_objext \
6262 conftest$ac_exeext conftest.$ac_ext
6263 done
6265 LIBS=$ac_func_search_save_LIBS
6267 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6268 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6269 if test "$ac_cv_search_gettext" != no; then
6270 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6272 else
6273 USE_NLS=no
6277 if test $USE_NLS = yes; then
6279 cat >>confdefs.h <<\_ACEOF
6280 #define _GLIBCXX_USE_NLS 1
6281 _ACEOF
6300 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
6301 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
6302 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6303 if test "${enable_libstdcxx_allocator+set}" = set; then
6304 enableval="$enable_libstdcxx_allocator"
6306 case "$enableval" in
6307 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6308 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6309 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6310 { (exit 1); exit 1; }; } ;;
6311 esac
6313 else
6314 enable_libstdcxx_allocator=auto
6318 # If they didn't use this option switch, or if they specified --enable
6319 # with no specific model, we'll have to look for one. If they
6320 # specified --disable (???), do likewise.
6321 if test $enable_libstdcxx_allocator = no ||
6322 test $enable_libstdcxx_allocator = yes;
6323 then
6324 enable_libstdcxx_allocator=auto
6327 # Either a known package, or "auto". Auto implies the default choice
6328 # for a particular platform.
6329 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6331 # Probe for host-specific support if no specific model is specified.
6332 # Default to "new".
6333 if test $enable_libstdcxx_allocator_flag = auto; then
6334 case ${target_os} in
6335 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6336 enable_libstdcxx_allocator_flag=mt
6339 enable_libstdcxx_allocator_flag=new
6341 esac
6343 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6344 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6347 # Set configure bits for specified locale package
6348 case ${enable_libstdcxx_allocator_flag} in
6349 bitmap)
6350 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6351 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6353 malloc)
6354 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6355 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6358 ALLOCATOR_H=config/allocator/mt_allocator_base.h
6359 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6361 new)
6362 ALLOCATOR_H=config/allocator/new_allocator_base.h
6363 ALLOCATOR_NAME=__gnu_cxx::new_allocator
6365 pool)
6366 ALLOCATOR_H=config/allocator/pool_allocator_base.h
6367 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6369 esac
6375 # Check whether --enable-cheaders or --disable-cheaders was given.
6376 if test "${enable_cheaders+set}" = set; then
6377 enableval="$enable_cheaders"
6379 case "$enableval" in
6380 c|c_std) ;;
6381 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6382 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6383 { (exit 1); exit 1; }; } ;;
6384 esac
6386 else
6387 enable_cheaders=$c_model
6390 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6391 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6393 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6402 # Check whether --enable-c99 or --disable-c99 was given.
6403 if test "${enable_c99+set}" = set; then
6404 enableval="$enable_c99"
6406 case "$enableval" in
6407 yes|no) ;;
6408 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6409 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6410 { (exit 1); exit 1; }; } ;;
6411 esac
6413 else
6414 enable_c99=yes
6418 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos
6419 # even if C99 support is turned off.
6421 for ac_header in wchar.h
6423 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6424 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6425 echo "$as_me:$LINENO: checking for $ac_header" >&5
6426 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6428 echo $ECHO_N "(cached) $ECHO_C" >&6
6430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6431 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6432 else
6433 # Is the header compilable?
6434 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6435 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6436 cat >conftest.$ac_ext <<_ACEOF
6437 /* confdefs.h. */
6438 _ACEOF
6439 cat confdefs.h >>conftest.$ac_ext
6440 cat >>conftest.$ac_ext <<_ACEOF
6441 /* end confdefs.h. */
6442 $ac_includes_default
6443 #include <$ac_header>
6444 _ACEOF
6445 rm -f conftest.$ac_objext
6446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6447 (eval $ac_compile) 2>conftest.er1
6448 ac_status=$?
6449 grep -v '^ *+' conftest.er1 >conftest.err
6450 rm -f conftest.er1
6451 cat conftest.err >&5
6452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6453 (exit $ac_status); } &&
6454 { ac_try='test -z "$ac_c_werror_flag"
6455 || test ! -s conftest.err'
6456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6457 (eval $ac_try) 2>&5
6458 ac_status=$?
6459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6460 (exit $ac_status); }; } &&
6461 { ac_try='test -s conftest.$ac_objext'
6462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6463 (eval $ac_try) 2>&5
6464 ac_status=$?
6465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6466 (exit $ac_status); }; }; then
6467 ac_header_compiler=yes
6468 else
6469 echo "$as_me: failed program was:" >&5
6470 sed 's/^/| /' conftest.$ac_ext >&5
6472 ac_header_compiler=no
6474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6475 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6476 echo "${ECHO_T}$ac_header_compiler" >&6
6478 # Is the header present?
6479 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6480 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6481 cat >conftest.$ac_ext <<_ACEOF
6482 /* confdefs.h. */
6483 _ACEOF
6484 cat confdefs.h >>conftest.$ac_ext
6485 cat >>conftest.$ac_ext <<_ACEOF
6486 /* end confdefs.h. */
6487 #include <$ac_header>
6488 _ACEOF
6489 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6490 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6491 ac_status=$?
6492 grep -v '^ *+' conftest.er1 >conftest.err
6493 rm -f conftest.er1
6494 cat conftest.err >&5
6495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6496 (exit $ac_status); } >/dev/null; then
6497 if test -s conftest.err; then
6498 ac_cpp_err=$ac_c_preproc_warn_flag
6499 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6500 else
6501 ac_cpp_err=
6503 else
6504 ac_cpp_err=yes
6506 if test -z "$ac_cpp_err"; then
6507 ac_header_preproc=yes
6508 else
6509 echo "$as_me: failed program was:" >&5
6510 sed 's/^/| /' conftest.$ac_ext >&5
6512 ac_header_preproc=no
6514 rm -f conftest.err conftest.$ac_ext
6515 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6516 echo "${ECHO_T}$ac_header_preproc" >&6
6518 # So? What about this header?
6519 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6520 yes:no: )
6521 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6522 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6523 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6524 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6525 ac_header_preproc=yes
6527 no:yes:* )
6528 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6529 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6530 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6531 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6532 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6533 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6534 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6535 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6536 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6537 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6538 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6539 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6541 cat <<\_ASBOX
6542 ## ----------------------------------------- ##
6543 ## Report this to the package-unused lists. ##
6544 ## ----------------------------------------- ##
6545 _ASBOX
6547 sed "s/^/$as_me: WARNING: /" >&2
6549 esac
6550 echo "$as_me:$LINENO: checking for $ac_header" >&5
6551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6552 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6553 echo $ECHO_N "(cached) $ECHO_C" >&6
6554 else
6555 eval "$as_ac_Header=\$ac_header_preproc"
6557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6558 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6561 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6562 cat >>confdefs.h <<_ACEOF
6563 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6564 _ACEOF
6565 ac_has_wchar_h=yes
6566 else
6567 ac_has_wchar_h=no
6570 done
6572 echo "$as_me:$LINENO: checking for mbstate_t" >&5
6573 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
6574 cat >conftest.$ac_ext <<_ACEOF
6575 /* confdefs.h. */
6576 _ACEOF
6577 cat confdefs.h >>conftest.$ac_ext
6578 cat >>conftest.$ac_ext <<_ACEOF
6579 /* end confdefs.h. */
6580 #include <wchar.h>
6582 main ()
6584 mbstate_t teststate;
6586 return 0;
6588 _ACEOF
6589 rm -f conftest.$ac_objext
6590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6591 (eval $ac_compile) 2>conftest.er1
6592 ac_status=$?
6593 grep -v '^ *+' conftest.er1 >conftest.err
6594 rm -f conftest.er1
6595 cat conftest.err >&5
6596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6597 (exit $ac_status); } &&
6598 { ac_try='test -z "$ac_c_werror_flag"
6599 || test ! -s conftest.err'
6600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6601 (eval $ac_try) 2>&5
6602 ac_status=$?
6603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6604 (exit $ac_status); }; } &&
6605 { ac_try='test -s conftest.$ac_objext'
6606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6607 (eval $ac_try) 2>&5
6608 ac_status=$?
6609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6610 (exit $ac_status); }; }; then
6611 have_mbstate_t=yes
6612 else
6613 echo "$as_me: failed program was:" >&5
6614 sed 's/^/| /' conftest.$ac_ext >&5
6616 have_mbstate_t=no
6618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6619 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
6620 echo "${ECHO_T}$have_mbstate_t" >&6
6621 if test x"$have_mbstate_t" = xyes; then
6623 cat >>confdefs.h <<\_ACEOF
6624 #define HAVE_MBSTATE_T 1
6625 _ACEOF
6629 if test x"$enable_c99" = x"yes"; then
6633 ac_ext=cc
6634 ac_cpp='$CXXCPP $CPPFLAGS'
6635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6640 # Check for the existence of <math.h> functions used if C99 is enabled.
6641 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6642 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6643 if test "${ac_c99_math+set}" = set; then
6644 echo $ECHO_N "(cached) $ECHO_C" >&6
6645 else
6647 cat >conftest.$ac_ext <<_ACEOF
6648 /* confdefs.h. */
6649 _ACEOF
6650 cat confdefs.h >>conftest.$ac_ext
6651 cat >>conftest.$ac_ext <<_ACEOF
6652 /* end confdefs.h. */
6653 #include <math.h>
6655 main ()
6657 fpclassify(0.0);
6658 isfinite(0.0);
6659 isinf(0.0);
6660 isnan(0.0);
6661 isnormal(0.0);
6662 signbit(0.0);
6663 isgreater(0.0,0.0);
6664 isgreaterequal(0.0,0.0);
6665 isless(0.0,0.0);
6666 islessequal(0.0,0.0);
6667 islessgreater(0.0,0.0);
6668 islessgreater(0.0,0.0);
6669 isunordered(0.0,0.0);
6672 return 0;
6674 _ACEOF
6675 rm -f conftest.$ac_objext
6676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6677 (eval $ac_compile) 2>conftest.er1
6678 ac_status=$?
6679 grep -v '^ *+' conftest.er1 >conftest.err
6680 rm -f conftest.er1
6681 cat conftest.err >&5
6682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6683 (exit $ac_status); } &&
6684 { ac_try='test -z "$ac_cxx_werror_flag"
6685 || test ! -s conftest.err'
6686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6687 (eval $ac_try) 2>&5
6688 ac_status=$?
6689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6690 (exit $ac_status); }; } &&
6691 { ac_try='test -s conftest.$ac_objext'
6692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6693 (eval $ac_try) 2>&5
6694 ac_status=$?
6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); }; }; then
6697 ac_c99_math=yes
6698 else
6699 echo "$as_me: failed program was:" >&5
6700 sed 's/^/| /' conftest.$ac_ext >&5
6702 ac_c99_math=no
6704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6708 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6709 echo "${ECHO_T}$ac_c99_math" >&6
6710 if test x"$ac_c99_math" = x"yes"; then
6712 cat >>confdefs.h <<\_ACEOF
6713 #define _GLIBCXX_USE_C99_MATH 1
6714 _ACEOF
6718 # Check for the existence of <complex.h> complex functions.
6719 # This is necessary even though libstdc++ uses the builtin versions
6720 # of these functions, because if the builtin cannot be used, a reference
6721 # to the library function is emitted.
6722 # In addition, need to explicitly specify "C" compilation for this
6723 # one, or else the backwards C++ <complex.h> include will be selected.
6724 save_CXXFLAGS="$CXXFLAGS"
6725 CXXFLAGS="$CXXFLAGS -x c"
6727 for ac_header in complex.h
6729 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6731 echo "$as_me:$LINENO: checking for $ac_header" >&5
6732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6734 echo $ECHO_N "(cached) $ECHO_C" >&6
6736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6737 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6738 else
6739 # Is the header compilable?
6740 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6741 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6742 cat >conftest.$ac_ext <<_ACEOF
6743 /* confdefs.h. */
6744 _ACEOF
6745 cat confdefs.h >>conftest.$ac_ext
6746 cat >>conftest.$ac_ext <<_ACEOF
6747 /* end confdefs.h. */
6748 $ac_includes_default
6749 #include <$ac_header>
6750 _ACEOF
6751 rm -f conftest.$ac_objext
6752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6753 (eval $ac_compile) 2>conftest.er1
6754 ac_status=$?
6755 grep -v '^ *+' conftest.er1 >conftest.err
6756 rm -f conftest.er1
6757 cat conftest.err >&5
6758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6759 (exit $ac_status); } &&
6760 { ac_try='test -z "$ac_cxx_werror_flag"
6761 || test ! -s conftest.err'
6762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6763 (eval $ac_try) 2>&5
6764 ac_status=$?
6765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6766 (exit $ac_status); }; } &&
6767 { ac_try='test -s conftest.$ac_objext'
6768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6769 (eval $ac_try) 2>&5
6770 ac_status=$?
6771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6772 (exit $ac_status); }; }; then
6773 ac_header_compiler=yes
6774 else
6775 echo "$as_me: failed program was:" >&5
6776 sed 's/^/| /' conftest.$ac_ext >&5
6778 ac_header_compiler=no
6780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6781 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6782 echo "${ECHO_T}$ac_header_compiler" >&6
6784 # Is the header present?
6785 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6786 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6787 cat >conftest.$ac_ext <<_ACEOF
6788 /* confdefs.h. */
6789 _ACEOF
6790 cat confdefs.h >>conftest.$ac_ext
6791 cat >>conftest.$ac_ext <<_ACEOF
6792 /* end confdefs.h. */
6793 #include <$ac_header>
6794 _ACEOF
6795 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6796 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6797 ac_status=$?
6798 grep -v '^ *+' conftest.er1 >conftest.err
6799 rm -f conftest.er1
6800 cat conftest.err >&5
6801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6802 (exit $ac_status); } >/dev/null; then
6803 if test -s conftest.err; then
6804 ac_cpp_err=$ac_cxx_preproc_warn_flag
6805 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6806 else
6807 ac_cpp_err=
6809 else
6810 ac_cpp_err=yes
6812 if test -z "$ac_cpp_err"; then
6813 ac_header_preproc=yes
6814 else
6815 echo "$as_me: failed program was:" >&5
6816 sed 's/^/| /' conftest.$ac_ext >&5
6818 ac_header_preproc=no
6820 rm -f conftest.err conftest.$ac_ext
6821 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6822 echo "${ECHO_T}$ac_header_preproc" >&6
6824 # So? What about this header?
6825 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6826 yes:no: )
6827 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6828 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6829 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6830 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6831 ac_header_preproc=yes
6833 no:yes:* )
6834 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6835 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6836 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6837 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6838 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6839 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6840 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6841 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6842 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6843 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6844 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6845 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6847 cat <<\_ASBOX
6848 ## ----------------------------------------- ##
6849 ## Report this to the package-unused lists. ##
6850 ## ----------------------------------------- ##
6851 _ASBOX
6853 sed "s/^/$as_me: WARNING: /" >&2
6855 esac
6856 echo "$as_me:$LINENO: checking for $ac_header" >&5
6857 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6858 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6859 echo $ECHO_N "(cached) $ECHO_C" >&6
6860 else
6861 eval "$as_ac_Header=\$ac_header_preproc"
6863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6864 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6867 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6868 cat >>confdefs.h <<_ACEOF
6869 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6870 _ACEOF
6871 ac_has_complex_h=yes
6872 else
6873 ac_has_complex_h=no
6876 done
6878 ac_c99_complex=no;
6879 if test x"$ac_has_complex_h" = x"yes"; then
6880 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
6881 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
6882 cat >conftest.$ac_ext <<_ACEOF
6883 /* confdefs.h. */
6884 _ACEOF
6885 cat confdefs.h >>conftest.$ac_ext
6886 cat >>conftest.$ac_ext <<_ACEOF
6887 /* end confdefs.h. */
6888 #include <complex.h>
6890 main ()
6892 typedef __complex__ float float_type; float_type tmpf;
6893 cabsf(tmpf);
6894 cargf(tmpf);
6895 ccosf(tmpf);
6896 ccoshf(tmpf);
6897 cexpf(tmpf);
6898 csinf(tmpf);
6899 csinhf(tmpf);
6900 csqrtf(tmpf);
6901 ctanf(tmpf);
6902 ctanhf(tmpf);
6903 cpowf(tmpf, tmpf);
6904 typedef __complex__ double double_type; double_type tmpd;
6905 cabs(tmpd);
6906 carg(tmpd);
6907 ccos(tmpd);
6908 ccosh(tmpd);
6909 cexp(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 csinl(tmpld);
6923 csinhl(tmpld);
6924 csqrtl(tmpld);
6925 ctanl(tmpld);
6926 ctanhl(tmpld);
6927 cpowl(tmpld, tmpld);
6930 return 0;
6932 _ACEOF
6933 rm -f conftest.$ac_objext
6934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6935 (eval $ac_compile) 2>conftest.er1
6936 ac_status=$?
6937 grep -v '^ *+' conftest.er1 >conftest.err
6938 rm -f conftest.er1
6939 cat conftest.err >&5
6940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6941 (exit $ac_status); } &&
6942 { ac_try='test -z "$ac_cxx_werror_flag"
6943 || test ! -s conftest.err'
6944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6945 (eval $ac_try) 2>&5
6946 ac_status=$?
6947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6948 (exit $ac_status); }; } &&
6949 { ac_try='test -s conftest.$ac_objext'
6950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6951 (eval $ac_try) 2>&5
6952 ac_status=$?
6953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6954 (exit $ac_status); }; }; then
6955 ac_c99_complex=yes
6956 else
6957 echo "$as_me: failed program was:" >&5
6958 sed 's/^/| /' conftest.$ac_ext >&5
6960 ac_c99_complex=no
6962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6964 CXXFLAGS="$save_CXXFLAGS"
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 llabs(10);
7063 lldiv(10,1);
7064 atoll("10");
7065 _Exit(0);
7066 lldiv_t mydivt;
7068 return 0;
7070 _ACEOF
7071 rm -f conftest.$ac_objext
7072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7073 (eval $ac_compile) 2>conftest.er1
7074 ac_status=$?
7075 grep -v '^ *+' conftest.er1 >conftest.err
7076 rm -f conftest.er1
7077 cat conftest.err >&5
7078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7079 (exit $ac_status); } &&
7080 { ac_try='test -z "$ac_cxx_werror_flag"
7081 || test ! -s conftest.err'
7082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7083 (eval $ac_try) 2>&5
7084 ac_status=$?
7085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7086 (exit $ac_status); }; } &&
7087 { ac_try='test -s conftest.$ac_objext'
7088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7089 (eval $ac_try) 2>&5
7090 ac_status=$?
7091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7092 (exit $ac_status); }; }; then
7093 ac_c99_stdlib=yes
7094 else
7095 echo "$as_me: failed program was:" >&5
7096 sed 's/^/| /' conftest.$ac_ext >&5
7098 ac_c99_stdlib=no
7100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7104 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7105 echo "${ECHO_T}$ac_c99_stdlib" >&6
7107 # Check for the existence in <wchar.h> of wcstoull, WEOF, etc.
7109 for ac_header in wctype.h
7111 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7112 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7113 echo "$as_me:$LINENO: checking for $ac_header" >&5
7114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7115 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7116 echo $ECHO_N "(cached) $ECHO_C" >&6
7118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7119 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7120 else
7121 # Is the header compilable?
7122 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7123 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7124 cat >conftest.$ac_ext <<_ACEOF
7125 /* confdefs.h. */
7126 _ACEOF
7127 cat confdefs.h >>conftest.$ac_ext
7128 cat >>conftest.$ac_ext <<_ACEOF
7129 /* end confdefs.h. */
7130 $ac_includes_default
7131 #include <$ac_header>
7132 _ACEOF
7133 rm -f conftest.$ac_objext
7134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7135 (eval $ac_compile) 2>conftest.er1
7136 ac_status=$?
7137 grep -v '^ *+' conftest.er1 >conftest.err
7138 rm -f conftest.er1
7139 cat conftest.err >&5
7140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7141 (exit $ac_status); } &&
7142 { ac_try='test -z "$ac_cxx_werror_flag"
7143 || test ! -s conftest.err'
7144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7145 (eval $ac_try) 2>&5
7146 ac_status=$?
7147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7148 (exit $ac_status); }; } &&
7149 { ac_try='test -s conftest.$ac_objext'
7150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7151 (eval $ac_try) 2>&5
7152 ac_status=$?
7153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7154 (exit $ac_status); }; }; then
7155 ac_header_compiler=yes
7156 else
7157 echo "$as_me: failed program was:" >&5
7158 sed 's/^/| /' conftest.$ac_ext >&5
7160 ac_header_compiler=no
7162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7163 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7164 echo "${ECHO_T}$ac_header_compiler" >&6
7166 # Is the header present?
7167 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7168 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7169 cat >conftest.$ac_ext <<_ACEOF
7170 /* confdefs.h. */
7171 _ACEOF
7172 cat confdefs.h >>conftest.$ac_ext
7173 cat >>conftest.$ac_ext <<_ACEOF
7174 /* end confdefs.h. */
7175 #include <$ac_header>
7176 _ACEOF
7177 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7178 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7179 ac_status=$?
7180 grep -v '^ *+' conftest.er1 >conftest.err
7181 rm -f conftest.er1
7182 cat conftest.err >&5
7183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7184 (exit $ac_status); } >/dev/null; then
7185 if test -s conftest.err; then
7186 ac_cpp_err=$ac_cxx_preproc_warn_flag
7187 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7188 else
7189 ac_cpp_err=
7191 else
7192 ac_cpp_err=yes
7194 if test -z "$ac_cpp_err"; then
7195 ac_header_preproc=yes
7196 else
7197 echo "$as_me: failed program was:" >&5
7198 sed 's/^/| /' conftest.$ac_ext >&5
7200 ac_header_preproc=no
7202 rm -f conftest.err conftest.$ac_ext
7203 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7204 echo "${ECHO_T}$ac_header_preproc" >&6
7206 # So? What about this header?
7207 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7208 yes:no: )
7209 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7210 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7211 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7212 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7213 ac_header_preproc=yes
7215 no:yes:* )
7216 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7217 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7218 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7219 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7220 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7221 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7222 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7223 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7224 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7225 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7226 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7227 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7229 cat <<\_ASBOX
7230 ## ----------------------------------------- ##
7231 ## Report this to the package-unused lists. ##
7232 ## ----------------------------------------- ##
7233 _ASBOX
7235 sed "s/^/$as_me: WARNING: /" >&2
7237 esac
7238 echo "$as_me:$LINENO: checking for $ac_header" >&5
7239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7241 echo $ECHO_N "(cached) $ECHO_C" >&6
7242 else
7243 eval "$as_ac_Header=\$ac_header_preproc"
7245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7246 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7249 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7250 cat >>confdefs.h <<_ACEOF
7251 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7252 _ACEOF
7253 ac_has_wctype_h=yes
7254 else
7255 ac_has_wctype_h=no
7258 done
7260 ac_c99_wchar=no;
7261 if test x"$ac_has_wchar_h" = xyes &&
7262 test x"$ac_has_wctype_h" = xyes; then
7263 cat >conftest.$ac_ext <<_ACEOF
7264 /* confdefs.h. */
7265 _ACEOF
7266 cat confdefs.h >>conftest.$ac_ext
7267 cat >>conftest.$ac_ext <<_ACEOF
7268 /* end confdefs.h. */
7269 #include <wchar.h>
7270 #include <stddef.h>
7271 wint_t i;
7272 long l = WEOF;
7273 long j = WCHAR_MIN;
7274 long k = WCHAR_MAX;
7275 namespace test
7277 using ::btowc;
7278 using ::fgetwc;
7279 using ::fgetws;
7280 using ::fputwc;
7281 using ::fputws;
7282 using ::fwide;
7283 using ::fwprintf;
7284 using ::fwscanf;
7285 using ::getwc;
7286 using ::getwchar;
7287 using ::mbrlen;
7288 using ::mbrtowc;
7289 using ::mbsinit;
7290 using ::mbsrtowcs;
7291 using ::putwc;
7292 using ::putwchar;
7293 using ::swprintf;
7294 using ::swscanf;
7295 using ::ungetwc;
7296 using ::vfwprintf;
7297 using ::vswprintf;
7298 using ::vwprintf;
7299 using ::wcrtomb;
7300 using ::wcscat;
7301 using ::wcschr;
7302 using ::wcscmp;
7303 using ::wcscoll;
7304 using ::wcscpy;
7305 using ::wcscspn;
7306 using ::wcsftime;
7307 using ::wcslen;
7308 using ::wcsncat;
7309 using ::wcsncmp;
7310 using ::wcsncpy;
7311 using ::wcspbrk;
7312 using ::wcsrchr;
7313 using ::wcsrtombs;
7314 using ::wcsspn;
7315 using ::wcsstr;
7316 using ::wcstod;
7317 using ::wcstok;
7318 using ::wcstol;
7319 using ::wcstold;
7320 using ::wcstoll;
7321 using ::wcstoul;
7322 using ::wcstoull;
7323 using ::wcsxfrm;
7324 using ::wctob;
7325 using ::wmemchr;
7326 using ::wmemcmp;
7327 using ::wmemcpy;
7328 using ::wmemmove;
7329 using ::wmemset;
7330 using ::wprintf;
7331 using ::wscanf;
7335 main ()
7339 return 0;
7341 _ACEOF
7342 rm -f conftest.$ac_objext
7343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7344 (eval $ac_compile) 2>conftest.er1
7345 ac_status=$?
7346 grep -v '^ *+' conftest.er1 >conftest.err
7347 rm -f conftest.er1
7348 cat conftest.err >&5
7349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7350 (exit $ac_status); } &&
7351 { ac_try='test -z "$ac_cxx_werror_flag"
7352 || test ! -s conftest.err'
7353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7354 (eval $ac_try) 2>&5
7355 ac_status=$?
7356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7357 (exit $ac_status); }; } &&
7358 { ac_try='test -s conftest.$ac_objext'
7359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7360 (eval $ac_try) 2>&5
7361 ac_status=$?
7362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7363 (exit $ac_status); }; }; then
7364 ac_c99_wchar=yes
7365 else
7366 echo "$as_me: failed program was:" >&5
7367 sed 's/^/| /' conftest.$ac_ext >&5
7369 ac_c99_wchar=no
7371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7373 # Checks for wide character functions that may not be present.
7374 # Injection of these is wrapped with guard macros.
7375 # NB: only put functions here, instead of immediately above, if
7376 # absolutely necessary.
7377 cat >conftest.$ac_ext <<_ACEOF
7378 /* confdefs.h. */
7379 _ACEOF
7380 cat confdefs.h >>conftest.$ac_ext
7381 cat >>conftest.$ac_ext <<_ACEOF
7382 /* end confdefs.h. */
7383 #include <wchar.h>
7384 namespace test { using ::vfwscanf; }
7386 main ()
7390 return 0;
7392 _ACEOF
7393 rm -f conftest.$ac_objext
7394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7395 (eval $ac_compile) 2>conftest.er1
7396 ac_status=$?
7397 grep -v '^ *+' conftest.er1 >conftest.err
7398 rm -f conftest.er1
7399 cat conftest.err >&5
7400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7401 (exit $ac_status); } &&
7402 { ac_try='test -z "$ac_cxx_werror_flag"
7403 || test ! -s conftest.err'
7404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7405 (eval $ac_try) 2>&5
7406 ac_status=$?
7407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7408 (exit $ac_status); }; } &&
7409 { ac_try='test -s conftest.$ac_objext'
7410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7411 (eval $ac_try) 2>&5
7412 ac_status=$?
7413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7414 (exit $ac_status); }; }; then
7416 cat >>confdefs.h <<\_ACEOF
7417 #define HAVE_VFWSCANF 1
7418 _ACEOF
7420 else
7421 echo "$as_me: failed program was:" >&5
7422 sed 's/^/| /' conftest.$ac_ext >&5
7425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7427 cat >conftest.$ac_ext <<_ACEOF
7428 /* confdefs.h. */
7429 _ACEOF
7430 cat confdefs.h >>conftest.$ac_ext
7431 cat >>conftest.$ac_ext <<_ACEOF
7432 /* end confdefs.h. */
7433 #include <wchar.h>
7434 namespace test { using ::vswscanf; }
7436 main ()
7440 return 0;
7442 _ACEOF
7443 rm -f conftest.$ac_objext
7444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7445 (eval $ac_compile) 2>conftest.er1
7446 ac_status=$?
7447 grep -v '^ *+' conftest.er1 >conftest.err
7448 rm -f conftest.er1
7449 cat conftest.err >&5
7450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7451 (exit $ac_status); } &&
7452 { ac_try='test -z "$ac_cxx_werror_flag"
7453 || test ! -s conftest.err'
7454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7455 (eval $ac_try) 2>&5
7456 ac_status=$?
7457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7458 (exit $ac_status); }; } &&
7459 { ac_try='test -s conftest.$ac_objext'
7460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7461 (eval $ac_try) 2>&5
7462 ac_status=$?
7463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7464 (exit $ac_status); }; }; then
7466 cat >>confdefs.h <<\_ACEOF
7467 #define HAVE_VSWSCANF 1
7468 _ACEOF
7470 else
7471 echo "$as_me: failed program was:" >&5
7472 sed 's/^/| /' conftest.$ac_ext >&5
7475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7477 cat >conftest.$ac_ext <<_ACEOF
7478 /* confdefs.h. */
7479 _ACEOF
7480 cat confdefs.h >>conftest.$ac_ext
7481 cat >>conftest.$ac_ext <<_ACEOF
7482 /* end confdefs.h. */
7483 #include <wchar.h>
7484 namespace test { using ::vwscanf; }
7486 main ()
7490 return 0;
7492 _ACEOF
7493 rm -f conftest.$ac_objext
7494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7495 (eval $ac_compile) 2>conftest.er1
7496 ac_status=$?
7497 grep -v '^ *+' conftest.er1 >conftest.err
7498 rm -f conftest.er1
7499 cat conftest.err >&5
7500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7501 (exit $ac_status); } &&
7502 { ac_try='test -z "$ac_cxx_werror_flag"
7503 || test ! -s conftest.err'
7504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7505 (eval $ac_try) 2>&5
7506 ac_status=$?
7507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7508 (exit $ac_status); }; } &&
7509 { ac_try='test -s conftest.$ac_objext'
7510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7511 (eval $ac_try) 2>&5
7512 ac_status=$?
7513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7514 (exit $ac_status); }; }; then
7516 cat >>confdefs.h <<\_ACEOF
7517 #define HAVE_VWSCANF 1
7518 _ACEOF
7520 else
7521 echo "$as_me: failed program was:" >&5
7522 sed 's/^/| /' conftest.$ac_ext >&5
7525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7527 cat >conftest.$ac_ext <<_ACEOF
7528 /* confdefs.h. */
7529 _ACEOF
7530 cat confdefs.h >>conftest.$ac_ext
7531 cat >>conftest.$ac_ext <<_ACEOF
7532 /* end confdefs.h. */
7533 #include <wchar.h>
7534 namespace test { using ::wcstof; }
7536 main ()
7540 return 0;
7542 _ACEOF
7543 rm -f conftest.$ac_objext
7544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7545 (eval $ac_compile) 2>conftest.er1
7546 ac_status=$?
7547 grep -v '^ *+' conftest.er1 >conftest.err
7548 rm -f conftest.er1
7549 cat conftest.err >&5
7550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7551 (exit $ac_status); } &&
7552 { ac_try='test -z "$ac_cxx_werror_flag"
7553 || test ! -s conftest.err'
7554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7555 (eval $ac_try) 2>&5
7556 ac_status=$?
7557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7558 (exit $ac_status); }; } &&
7559 { ac_try='test -s conftest.$ac_objext'
7560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7561 (eval $ac_try) 2>&5
7562 ac_status=$?
7563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7564 (exit $ac_status); }; }; then
7566 cat >>confdefs.h <<\_ACEOF
7567 #define HAVE_WCSTOF 1
7568 _ACEOF
7570 else
7571 echo "$as_me: failed program was:" >&5
7572 sed 's/^/| /' conftest.$ac_ext >&5
7575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7577 cat >conftest.$ac_ext <<_ACEOF
7578 /* confdefs.h. */
7579 _ACEOF
7580 cat confdefs.h >>conftest.$ac_ext
7581 cat >>conftest.$ac_ext <<_ACEOF
7582 /* end confdefs.h. */
7583 #include <wctype.h>
7585 main ()
7587 wint_t t; int i = iswblank(t);
7589 return 0;
7591 _ACEOF
7592 rm -f conftest.$ac_objext
7593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7594 (eval $ac_compile) 2>conftest.er1
7595 ac_status=$?
7596 grep -v '^ *+' conftest.er1 >conftest.err
7597 rm -f conftest.er1
7598 cat conftest.err >&5
7599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7600 (exit $ac_status); } &&
7601 { ac_try='test -z "$ac_cxx_werror_flag"
7602 || test ! -s conftest.err'
7603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7604 (eval $ac_try) 2>&5
7605 ac_status=$?
7606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7607 (exit $ac_status); }; } &&
7608 { ac_try='test -s conftest.$ac_objext'
7609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7610 (eval $ac_try) 2>&5
7611 ac_status=$?
7612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7613 (exit $ac_status); }; }; then
7615 cat >>confdefs.h <<\_ACEOF
7616 #define HAVE_ISWBLANK 1
7617 _ACEOF
7619 else
7620 echo "$as_me: failed program was:" >&5
7621 sed 's/^/| /' conftest.$ac_ext >&5
7624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7626 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
7627 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
7628 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7629 echo "${ECHO_T}$ac_c99_wchar" >&6
7632 # Option parsed, now set things appropriately.
7633 if test x"$ac_c99_math" = x"no" ||
7634 test x"$ac_c99_complex" = x"no" ||
7635 test x"$ac_c99_stdio" = x"no" ||
7636 test x"$ac_c99_stdlib" = x"no" ||
7637 test x"$ac_c99_wchar" = x"no"; then
7638 enable_c99=no;
7639 else
7641 cat >>confdefs.h <<\_ACEOF
7642 #define _GLIBCXX_USE_C99 1
7643 _ACEOF
7647 ac_ext=c
7648 ac_cpp='$CPP $CPPFLAGS'
7649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7655 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
7656 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
7657 echo "$as_me:$LINENO: result: $enable_c99" >&5
7658 echo "${ECHO_T}$enable_c99" >&6
7661 # Check whether --enable-long-long or --disable-long-long was given.
7662 if test "${enable_long_long+set}" = set; then
7663 enableval="$enable_long_long"
7665 case "$enableval" in
7666 yes|no) ;;
7667 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7668 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7669 { (exit 1); exit 1; }; } ;;
7670 esac
7672 else
7673 enable_long_long=yes
7676 if test $enable_long_long = yes; then
7678 cat >>confdefs.h <<\_ACEOF
7679 #define _GLIBCXX_USE_LONG_LONG 1
7680 _ACEOF
7683 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
7684 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
7685 echo "$as_me:$LINENO: result: $enable_long_long" >&5
7686 echo "${ECHO_T}$enable_long_long" >&6
7689 # Check whether --enable-wchar_t or --disable-wchar_t was given.
7690 if test "${enable_wchar_t+set}" = set; then
7691 enableval="$enable_wchar_t"
7693 case "$enableval" in
7694 yes|no) ;;
7695 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
7696 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
7697 { (exit 1); exit 1; }; } ;;
7698 esac
7700 else
7701 enable_wchar_t=yes
7704 if test x"$ac_c99_wchar" = x"yes" && test x"$enable_wchar_t" = x"yes"; then
7706 cat >>confdefs.h <<\_ACEOF
7707 #define _GLIBCXX_USE_WCHAR_T 1
7708 _ACEOF
7711 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
7712 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
7713 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
7714 echo "${ECHO_T}$enable_wchar_t" >&6
7717 # Check whether --enable-concept-checks or --disable-concept-checks was given.
7718 if test "${enable_concept_checks+set}" = set; then
7719 enableval="$enable_concept_checks"
7721 case "$enableval" in
7722 yes|no) ;;
7723 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7724 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7725 { (exit 1); exit 1; }; } ;;
7726 esac
7728 else
7729 enable_concept_checks=no
7732 if test $enable_concept_checks = yes; then
7734 cat >>confdefs.h <<\_ACEOF
7735 #define _GLIBCXX_CONCEPT_CHECKS 1
7736 _ACEOF
7741 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7742 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7743 enableval="$enable_libstdcxx_debug_flags"
7744 case "x$enable_libstdcxx_debug_flags" in
7745 xno | x) enable_libstdcxx_debug_flags= ;;
7746 x-*) ;;
7747 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7748 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7749 { (exit 1); exit 1; }; } ;;
7750 esac
7751 else
7752 enable_libstdcxx_debug_flags="-g3 -O0"
7756 # Option parsed, now set things appropriately
7757 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7760 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7761 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7764 echo "$as_me:$LINENO: checking for additional debug build" >&5
7765 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7766 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7767 if test "${enable_libstdcxx_debug+set}" = set; then
7768 enableval="$enable_libstdcxx_debug"
7770 case "$enableval" in
7771 yes|no) ;;
7772 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7773 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7774 { (exit 1); exit 1; }; } ;;
7775 esac
7777 else
7778 enable_libstdcxx_debug=no
7781 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7782 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7785 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7786 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7787 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7788 if test "${enable_cxx_flags+set}" = set; then
7789 enableval="$enable_cxx_flags"
7790 case "x$enable_cxx_flags" in
7791 xno | x) enable_cxx_flags= ;;
7792 x-*) ;;
7793 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7794 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7795 { (exit 1); exit 1; }; } ;;
7796 esac
7797 else
7798 enable_cxx_flags=
7802 # Run through flags (either default or command-line) and set anything
7803 # extra (e.g., #defines) that must accompany particular g++ options.
7804 if test -n "$enable_cxx_flags"; then
7805 for f in $enable_cxx_flags; do
7806 case "$f" in
7807 -fhonor-std) ;;
7808 -*) ;;
7809 *) # and we're trying to pass /what/ exactly?
7810 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7811 echo "$as_me: error: compiler flags start with a -" >&2;}
7812 { (exit 1); exit 1; }; } ;;
7813 esac
7814 done
7817 EXTRA_CXX_FLAGS="$enable_cxx_flags"
7818 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7819 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7823 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
7824 if test "${enable_fully_dynamic_string+set}" = set; then
7825 enableval="$enable_fully_dynamic_string"
7827 case "$enableval" in
7828 yes|no) ;;
7829 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
7830 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
7831 { (exit 1); exit 1; }; } ;;
7832 esac
7834 else
7835 enable_fully_dynamic_string=no
7838 if test $enable_fully_dynamic_string = yes; then
7840 cat >>confdefs.h <<\_ACEOF
7841 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
7842 _ACEOF
7847 # No surprises, no surprises...
7849 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7850 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7851 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7852 echo "$as_me:$LINENO: result: $target_thread_file" >&5
7853 echo "${ECHO_T}$target_thread_file" >&6
7855 if test $target_thread_file != single; then
7857 cat >>confdefs.h <<\_ACEOF
7858 #define HAVE_GTHR_DEFAULT 1
7859 _ACEOF
7863 glibcxx_thread_h=gthr-$target_thread_file.h
7865 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
7866 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
7867 enable_thread=yes
7868 else
7869 enable_thread=no
7874 if test $atomicity_dir = cpu/generic ; then
7875 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7876 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7877 if test $target_thread_file = single; then
7878 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7879 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7880 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7881 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7882 else
7883 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7884 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7885 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7886 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7891 if $GLIBCXX_IS_NATIVE; then
7893 # We can do more elaborate tests that assume a working linker.
7894 CANADIAN=no
7896 # Check for available headers.
7912 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7913 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7914 sys/types.h sys/ipc.h sys/sem.h
7916 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7917 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7918 echo "$as_me:$LINENO: checking for $ac_header" >&5
7919 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7921 echo $ECHO_N "(cached) $ECHO_C" >&6
7923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7924 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7925 else
7926 # Is the header compilable?
7927 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7928 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7929 cat >conftest.$ac_ext <<_ACEOF
7930 /* confdefs.h. */
7931 _ACEOF
7932 cat confdefs.h >>conftest.$ac_ext
7933 cat >>conftest.$ac_ext <<_ACEOF
7934 /* end confdefs.h. */
7935 $ac_includes_default
7936 #include <$ac_header>
7937 _ACEOF
7938 rm -f conftest.$ac_objext
7939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7940 (eval $ac_compile) 2>conftest.er1
7941 ac_status=$?
7942 grep -v '^ *+' conftest.er1 >conftest.err
7943 rm -f conftest.er1
7944 cat conftest.err >&5
7945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7946 (exit $ac_status); } &&
7947 { ac_try='test -z "$ac_c_werror_flag"
7948 || test ! -s conftest.err'
7949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7950 (eval $ac_try) 2>&5
7951 ac_status=$?
7952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7953 (exit $ac_status); }; } &&
7954 { ac_try='test -s conftest.$ac_objext'
7955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7956 (eval $ac_try) 2>&5
7957 ac_status=$?
7958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7959 (exit $ac_status); }; }; then
7960 ac_header_compiler=yes
7961 else
7962 echo "$as_me: failed program was:" >&5
7963 sed 's/^/| /' conftest.$ac_ext >&5
7965 ac_header_compiler=no
7967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7968 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7969 echo "${ECHO_T}$ac_header_compiler" >&6
7971 # Is the header present?
7972 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7973 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7974 cat >conftest.$ac_ext <<_ACEOF
7975 /* confdefs.h. */
7976 _ACEOF
7977 cat confdefs.h >>conftest.$ac_ext
7978 cat >>conftest.$ac_ext <<_ACEOF
7979 /* end confdefs.h. */
7980 #include <$ac_header>
7981 _ACEOF
7982 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7983 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7984 ac_status=$?
7985 grep -v '^ *+' conftest.er1 >conftest.err
7986 rm -f conftest.er1
7987 cat conftest.err >&5
7988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7989 (exit $ac_status); } >/dev/null; then
7990 if test -s conftest.err; then
7991 ac_cpp_err=$ac_c_preproc_warn_flag
7992 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7993 else
7994 ac_cpp_err=
7996 else
7997 ac_cpp_err=yes
7999 if test -z "$ac_cpp_err"; then
8000 ac_header_preproc=yes
8001 else
8002 echo "$as_me: failed program was:" >&5
8003 sed 's/^/| /' conftest.$ac_ext >&5
8005 ac_header_preproc=no
8007 rm -f conftest.err conftest.$ac_ext
8008 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8009 echo "${ECHO_T}$ac_header_preproc" >&6
8011 # So? What about this header?
8012 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8013 yes:no: )
8014 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8015 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8016 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8017 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8018 ac_header_preproc=yes
8020 no:yes:* )
8021 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8022 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8023 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8024 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8025 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8026 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8027 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8028 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8029 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8030 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8031 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8032 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8034 cat <<\_ASBOX
8035 ## ----------------------------------------- ##
8036 ## Report this to the package-unused lists. ##
8037 ## ----------------------------------------- ##
8038 _ASBOX
8040 sed "s/^/$as_me: WARNING: /" >&2
8042 esac
8043 echo "$as_me:$LINENO: checking for $ac_header" >&5
8044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8046 echo $ECHO_N "(cached) $ECHO_C" >&6
8047 else
8048 eval "$as_ac_Header=\$ac_header_preproc"
8050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8051 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8054 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8055 cat >>confdefs.h <<_ACEOF
8056 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8057 _ACEOF
8061 done
8065 # All these tests are for C++; save the language and the compiler flags.
8066 # The CXXFLAGS thing is suspicious, but based on similar bits previously
8067 # found in GLIBCXX_CONFIGURE.
8070 ac_ext=cc
8071 ac_cpp='$CXXCPP $CPPFLAGS'
8072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8076 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8077 ac_save_CXXFLAGS="$CXXFLAGS"
8079 # Check for maintainer-mode bits.
8080 if test x"$USE_MAINTAINER_MODE" = xno; then
8081 WERROR=''
8082 else
8083 WERROR='-Werror'
8086 # Check for -ffunction-sections -fdata-sections
8087 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8088 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8089 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8090 cat >conftest.$ac_ext <<_ACEOF
8091 /* confdefs.h. */
8092 _ACEOF
8093 cat confdefs.h >>conftest.$ac_ext
8094 cat >>conftest.$ac_ext <<_ACEOF
8095 /* end confdefs.h. */
8098 main ()
8100 int foo;
8102 return 0;
8104 _ACEOF
8105 rm -f conftest.$ac_objext
8106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8107 (eval $ac_compile) 2>conftest.er1
8108 ac_status=$?
8109 grep -v '^ *+' conftest.er1 >conftest.err
8110 rm -f conftest.er1
8111 cat conftest.err >&5
8112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8113 (exit $ac_status); } &&
8114 { ac_try='test -z "$ac_cxx_werror_flag"
8115 || test ! -s conftest.err'
8116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8117 (eval $ac_try) 2>&5
8118 ac_status=$?
8119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8120 (exit $ac_status); }; } &&
8121 { ac_try='test -s conftest.$ac_objext'
8122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8123 (eval $ac_try) 2>&5
8124 ac_status=$?
8125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8126 (exit $ac_status); }; }; then
8127 ac_fdsections=yes
8128 else
8129 echo "$as_me: failed program was:" >&5
8130 sed 's/^/| /' conftest.$ac_ext >&5
8132 ac_fdsections=no
8134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8135 if test "$ac_test_CXXFLAGS" = set; then
8136 CXXFLAGS="$ac_save_CXXFLAGS"
8137 else
8138 # this is the suspicious part
8139 CXXFLAGS=''
8141 if test x"$ac_fdsections" = x"yes"; then
8142 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8144 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8145 echo "${ECHO_T}$ac_fdsections" >&6
8147 ac_ext=c
8148 ac_cpp='$CPP $CPPFLAGS'
8149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8157 # If we're not using GNU ld, then there's no point in even trying these
8158 # tests. Check for that first. We should have already tested for gld
8159 # by now (in libtool), but require it now just to be safe...
8160 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8161 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8165 # The name set by libtool depends on the version of libtool. Shame on us
8166 # for depending on an impl detail, but c'est la vie. Older versions used
8167 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8168 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8169 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8170 # set (hence we're using an older libtool), then set it.
8171 if test x${with_gnu_ld+set} != xset; then
8172 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8173 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8174 with_gnu_ld=no
8175 else
8176 with_gnu_ld=$ac_cv_prog_gnu_ld
8180 # Start by getting the version number. I think the libtool test already
8181 # does some of this, but throws away the result.
8183 ldver=`$LD --version 2>/dev/null | head -1 | \
8184 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8186 glibcxx_gnu_ld_version=`echo $ldver | \
8187 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8189 # Set --gc-sections.
8190 if test "$with_gnu_ld" = "notbroken"; then
8191 # GNU ld it is! Joy and bunny rabbits!
8193 # All these tests are for C++; save the language and the compiler flags.
8194 # Need to do this so that g++ won't try to link in libstdc++
8195 ac_test_CFLAGS="${CFLAGS+set}"
8196 ac_save_CFLAGS="$CFLAGS"
8197 CFLAGS='-x c++ -Wl,--gc-sections'
8199 # Check for -Wl,--gc-sections
8200 # XXX This test is broken at the moment, as symbols required for linking
8201 # are now in libsupc++ (not built yet). In addition, this test has
8202 # cored on solaris in the past. In addition, --gc-sections doesn't
8203 # really work at the moment (keeps on discarding used sections, first
8204 # .eh_frame and now some of the glibc sections for iconv).
8205 # Bzzzzt. Thanks for playing, maybe next time.
8206 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8207 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8208 if test "$cross_compiling" = yes; then
8209 ac_sectionLDflags=yes
8210 else
8211 cat >conftest.$ac_ext <<_ACEOF
8212 /* confdefs.h. */
8213 _ACEOF
8214 cat confdefs.h >>conftest.$ac_ext
8215 cat >>conftest.$ac_ext <<_ACEOF
8216 /* end confdefs.h. */
8218 int main(void)
8220 try { throw 1; }
8221 catch (...) { };
8222 return 0;
8225 _ACEOF
8226 rm -f conftest$ac_exeext
8227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8228 (eval $ac_link) 2>&5
8229 ac_status=$?
8230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8231 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8233 (eval $ac_try) 2>&5
8234 ac_status=$?
8235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8236 (exit $ac_status); }; }; then
8237 ac_sectionLDflags=yes
8238 else
8239 echo "$as_me: program exited with status $ac_status" >&5
8240 echo "$as_me: failed program was:" >&5
8241 sed 's/^/| /' conftest.$ac_ext >&5
8243 ( exit $ac_status )
8244 ac_sectionLDflags=no
8246 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8248 if test "$ac_test_CFLAGS" = set; then
8249 CFLAGS="$ac_save_CFLAGS"
8250 else
8251 # this is the suspicious part
8252 CFLAGS=''
8254 if test "$ac_sectionLDflags" = "yes"; then
8255 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8257 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
8258 echo "${ECHO_T}$ac_sectionLDflags" >&6
8261 # Set linker optimization flags.
8262 if test x"$with_gnu_ld" = x"yes"; then
8263 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8270 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8271 ac_save_CXXFLAGS="$CXXFLAGS"
8272 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8274 echo "$as_me:$LINENO: checking for sin in -lm" >&5
8275 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8276 if test "${ac_cv_lib_m_sin+set}" = set; then
8277 echo $ECHO_N "(cached) $ECHO_C" >&6
8278 else
8279 ac_check_lib_save_LIBS=$LIBS
8280 LIBS="-lm $LIBS"
8281 if test x$gcc_no_link = xyes; then
8282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8284 { (exit 1); exit 1; }; }
8286 cat >conftest.$ac_ext <<_ACEOF
8287 /* confdefs.h. */
8288 _ACEOF
8289 cat confdefs.h >>conftest.$ac_ext
8290 cat >>conftest.$ac_ext <<_ACEOF
8291 /* end confdefs.h. */
8293 /* Override any gcc2 internal prototype to avoid an error. */
8294 #ifdef __cplusplus
8295 extern "C"
8296 #endif
8297 /* We use char because int might match the return type of a gcc2
8298 builtin and then its argument prototype would still apply. */
8299 char sin ();
8301 main ()
8303 sin ();
8305 return 0;
8307 _ACEOF
8308 rm -f conftest.$ac_objext conftest$ac_exeext
8309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8310 (eval $ac_link) 2>conftest.er1
8311 ac_status=$?
8312 grep -v '^ *+' conftest.er1 >conftest.err
8313 rm -f conftest.er1
8314 cat conftest.err >&5
8315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8316 (exit $ac_status); } &&
8317 { ac_try='test -z "$ac_c_werror_flag"
8318 || test ! -s conftest.err'
8319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8320 (eval $ac_try) 2>&5
8321 ac_status=$?
8322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8323 (exit $ac_status); }; } &&
8324 { ac_try='test -s conftest$ac_exeext'
8325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8326 (eval $ac_try) 2>&5
8327 ac_status=$?
8328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8329 (exit $ac_status); }; }; then
8330 ac_cv_lib_m_sin=yes
8331 else
8332 echo "$as_me: failed program was:" >&5
8333 sed 's/^/| /' conftest.$ac_ext >&5
8335 ac_cv_lib_m_sin=no
8337 rm -f conftest.err conftest.$ac_objext \
8338 conftest$ac_exeext conftest.$ac_ext
8339 LIBS=$ac_check_lib_save_LIBS
8341 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8342 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8343 if test $ac_cv_lib_m_sin = yes; then
8344 libm="-lm"
8347 ac_save_LIBS="$LIBS"
8348 LIBS="$LIBS $libm"
8352 echo "$as_me:$LINENO: checking for isinf declaration" >&5
8353 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8354 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8355 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8356 echo $ECHO_N "(cached) $ECHO_C" >&6
8357 else
8361 ac_ext=cc
8362 ac_cpp='$CXXCPP $CPPFLAGS'
8363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8367 cat >conftest.$ac_ext <<_ACEOF
8368 /* confdefs.h. */
8369 _ACEOF
8370 cat confdefs.h >>conftest.$ac_ext
8371 cat >>conftest.$ac_ext <<_ACEOF
8372 /* end confdefs.h. */
8373 #include <math.h>
8374 #ifdef HAVE_IEEEFP_H
8375 #include <ieeefp.h>
8376 #endif
8379 main ()
8381 isinf(0);
8383 return 0;
8385 _ACEOF
8386 rm -f conftest.$ac_objext
8387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8388 (eval $ac_compile) 2>conftest.er1
8389 ac_status=$?
8390 grep -v '^ *+' conftest.er1 >conftest.err
8391 rm -f conftest.er1
8392 cat conftest.err >&5
8393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8394 (exit $ac_status); } &&
8395 { ac_try='test -z "$ac_cxx_werror_flag"
8396 || test ! -s conftest.err'
8397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8398 (eval $ac_try) 2>&5
8399 ac_status=$?
8400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8401 (exit $ac_status); }; } &&
8402 { ac_try='test -s conftest.$ac_objext'
8403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8404 (eval $ac_try) 2>&5
8405 ac_status=$?
8406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8407 (exit $ac_status); }; }; then
8408 glibcxx_cv_func_isinf_use=yes
8409 else
8410 echo "$as_me: failed program was:" >&5
8411 sed 's/^/| /' conftest.$ac_ext >&5
8413 glibcxx_cv_func_isinf_use=no
8415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8416 ac_ext=c
8417 ac_cpp='$CPP $CPPFLAGS'
8418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8426 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8427 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8429 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8431 for ac_func in isinf
8433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8434 echo "$as_me:$LINENO: checking for $ac_func" >&5
8435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8436 if eval "test \"\${$as_ac_var+set}\" = set"; then
8437 echo $ECHO_N "(cached) $ECHO_C" >&6
8438 else
8439 if test x$gcc_no_link = xyes; then
8440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8442 { (exit 1); exit 1; }; }
8444 cat >conftest.$ac_ext <<_ACEOF
8445 /* confdefs.h. */
8446 _ACEOF
8447 cat confdefs.h >>conftest.$ac_ext
8448 cat >>conftest.$ac_ext <<_ACEOF
8449 /* end confdefs.h. */
8450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8452 #define $ac_func innocuous_$ac_func
8454 /* System header to define __stub macros and hopefully few prototypes,
8455 which can conflict with char $ac_func (); below.
8456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8457 <limits.h> exists even on freestanding compilers. */
8459 #ifdef __STDC__
8460 # include <limits.h>
8461 #else
8462 # include <assert.h>
8463 #endif
8465 #undef $ac_func
8467 /* Override any gcc2 internal prototype to avoid an error. */
8468 #ifdef __cplusplus
8469 extern "C"
8471 #endif
8472 /* We use char because int might match the return type of a gcc2
8473 builtin and then its argument prototype would still apply. */
8474 char $ac_func ();
8475 /* The GNU C library defines this for functions which it implements
8476 to always fail with ENOSYS. Some functions are actually named
8477 something starting with __ and the normal name is an alias. */
8478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8479 choke me
8480 #else
8481 char (*f) () = $ac_func;
8482 #endif
8483 #ifdef __cplusplus
8485 #endif
8488 main ()
8490 return f != $ac_func;
8492 return 0;
8494 _ACEOF
8495 rm -f conftest.$ac_objext conftest$ac_exeext
8496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8497 (eval $ac_link) 2>conftest.er1
8498 ac_status=$?
8499 grep -v '^ *+' conftest.er1 >conftest.err
8500 rm -f conftest.er1
8501 cat conftest.err >&5
8502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8503 (exit $ac_status); } &&
8504 { ac_try='test -z "$ac_c_werror_flag"
8505 || test ! -s conftest.err'
8506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8507 (eval $ac_try) 2>&5
8508 ac_status=$?
8509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8510 (exit $ac_status); }; } &&
8511 { ac_try='test -s conftest$ac_exeext'
8512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8513 (eval $ac_try) 2>&5
8514 ac_status=$?
8515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8516 (exit $ac_status); }; }; then
8517 eval "$as_ac_var=yes"
8518 else
8519 echo "$as_me: failed program was:" >&5
8520 sed 's/^/| /' conftest.$ac_ext >&5
8522 eval "$as_ac_var=no"
8524 rm -f conftest.err conftest.$ac_objext \
8525 conftest$ac_exeext conftest.$ac_ext
8527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8529 if test `eval echo '${'$as_ac_var'}'` = yes; then
8530 cat >>confdefs.h <<_ACEOF
8531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8532 _ACEOF
8535 done
8537 else
8539 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8540 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8541 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8542 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8543 echo $ECHO_N "(cached) $ECHO_C" >&6
8544 else
8548 ac_ext=cc
8549 ac_cpp='$CXXCPP $CPPFLAGS'
8550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8554 cat >conftest.$ac_ext <<_ACEOF
8555 /* confdefs.h. */
8556 _ACEOF
8557 cat confdefs.h >>conftest.$ac_ext
8558 cat >>conftest.$ac_ext <<_ACEOF
8559 /* end confdefs.h. */
8560 #include <math.h>
8561 #ifdef HAVE_IEEEFP_H
8562 #include <ieeefp.h>
8563 #endif
8566 main ()
8568 _isinf(0);
8570 return 0;
8572 _ACEOF
8573 rm -f conftest.$ac_objext
8574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8575 (eval $ac_compile) 2>conftest.er1
8576 ac_status=$?
8577 grep -v '^ *+' conftest.er1 >conftest.err
8578 rm -f conftest.er1
8579 cat conftest.err >&5
8580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8581 (exit $ac_status); } &&
8582 { ac_try='test -z "$ac_cxx_werror_flag"
8583 || test ! -s conftest.err'
8584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8585 (eval $ac_try) 2>&5
8586 ac_status=$?
8587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8588 (exit $ac_status); }; } &&
8589 { ac_try='test -s conftest.$ac_objext'
8590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8591 (eval $ac_try) 2>&5
8592 ac_status=$?
8593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8594 (exit $ac_status); }; }; then
8595 glibcxx_cv_func__isinf_use=yes
8596 else
8597 echo "$as_me: failed program was:" >&5
8598 sed 's/^/| /' conftest.$ac_ext >&5
8600 glibcxx_cv_func__isinf_use=no
8602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8603 ac_ext=c
8604 ac_cpp='$CPP $CPPFLAGS'
8605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8613 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8614 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8616 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8618 for ac_func in _isinf
8620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8621 echo "$as_me:$LINENO: checking for $ac_func" >&5
8622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8623 if eval "test \"\${$as_ac_var+set}\" = set"; then
8624 echo $ECHO_N "(cached) $ECHO_C" >&6
8625 else
8626 if test x$gcc_no_link = xyes; then
8627 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8629 { (exit 1); exit 1; }; }
8631 cat >conftest.$ac_ext <<_ACEOF
8632 /* confdefs.h. */
8633 _ACEOF
8634 cat confdefs.h >>conftest.$ac_ext
8635 cat >>conftest.$ac_ext <<_ACEOF
8636 /* end confdefs.h. */
8637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8639 #define $ac_func innocuous_$ac_func
8641 /* System header to define __stub macros and hopefully few prototypes,
8642 which can conflict with char $ac_func (); below.
8643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8644 <limits.h> exists even on freestanding compilers. */
8646 #ifdef __STDC__
8647 # include <limits.h>
8648 #else
8649 # include <assert.h>
8650 #endif
8652 #undef $ac_func
8654 /* Override any gcc2 internal prototype to avoid an error. */
8655 #ifdef __cplusplus
8656 extern "C"
8658 #endif
8659 /* We use char because int might match the return type of a gcc2
8660 builtin and then its argument prototype would still apply. */
8661 char $ac_func ();
8662 /* The GNU C library defines this for functions which it implements
8663 to always fail with ENOSYS. Some functions are actually named
8664 something starting with __ and the normal name is an alias. */
8665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8666 choke me
8667 #else
8668 char (*f) () = $ac_func;
8669 #endif
8670 #ifdef __cplusplus
8672 #endif
8675 main ()
8677 return f != $ac_func;
8679 return 0;
8681 _ACEOF
8682 rm -f conftest.$ac_objext conftest$ac_exeext
8683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8684 (eval $ac_link) 2>conftest.er1
8685 ac_status=$?
8686 grep -v '^ *+' conftest.er1 >conftest.err
8687 rm -f conftest.er1
8688 cat conftest.err >&5
8689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8690 (exit $ac_status); } &&
8691 { ac_try='test -z "$ac_c_werror_flag"
8692 || test ! -s conftest.err'
8693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8694 (eval $ac_try) 2>&5
8695 ac_status=$?
8696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8697 (exit $ac_status); }; } &&
8698 { ac_try='test -s conftest$ac_exeext'
8699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8700 (eval $ac_try) 2>&5
8701 ac_status=$?
8702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8703 (exit $ac_status); }; }; then
8704 eval "$as_ac_var=yes"
8705 else
8706 echo "$as_me: failed program was:" >&5
8707 sed 's/^/| /' conftest.$ac_ext >&5
8709 eval "$as_ac_var=no"
8711 rm -f conftest.err conftest.$ac_objext \
8712 conftest$ac_exeext conftest.$ac_ext
8714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8716 if test `eval echo '${'$as_ac_var'}'` = yes; then
8717 cat >>confdefs.h <<_ACEOF
8718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8719 _ACEOF
8722 done
8732 echo "$as_me:$LINENO: checking for isnan declaration" >&5
8733 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8734 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8735 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8736 echo $ECHO_N "(cached) $ECHO_C" >&6
8737 else
8741 ac_ext=cc
8742 ac_cpp='$CXXCPP $CPPFLAGS'
8743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8747 cat >conftest.$ac_ext <<_ACEOF
8748 /* confdefs.h. */
8749 _ACEOF
8750 cat confdefs.h >>conftest.$ac_ext
8751 cat >>conftest.$ac_ext <<_ACEOF
8752 /* end confdefs.h. */
8753 #include <math.h>
8754 #ifdef HAVE_IEEEFP_H
8755 #include <ieeefp.h>
8756 #endif
8759 main ()
8761 isnan(0);
8763 return 0;
8765 _ACEOF
8766 rm -f conftest.$ac_objext
8767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8768 (eval $ac_compile) 2>conftest.er1
8769 ac_status=$?
8770 grep -v '^ *+' conftest.er1 >conftest.err
8771 rm -f conftest.er1
8772 cat conftest.err >&5
8773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8774 (exit $ac_status); } &&
8775 { ac_try='test -z "$ac_cxx_werror_flag"
8776 || test ! -s conftest.err'
8777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8778 (eval $ac_try) 2>&5
8779 ac_status=$?
8780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8781 (exit $ac_status); }; } &&
8782 { ac_try='test -s conftest.$ac_objext'
8783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8784 (eval $ac_try) 2>&5
8785 ac_status=$?
8786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8787 (exit $ac_status); }; }; then
8788 glibcxx_cv_func_isnan_use=yes
8789 else
8790 echo "$as_me: failed program was:" >&5
8791 sed 's/^/| /' conftest.$ac_ext >&5
8793 glibcxx_cv_func_isnan_use=no
8795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8796 ac_ext=c
8797 ac_cpp='$CPP $CPPFLAGS'
8798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8806 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8807 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8809 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8811 for ac_func in isnan
8813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8814 echo "$as_me:$LINENO: checking for $ac_func" >&5
8815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8816 if eval "test \"\${$as_ac_var+set}\" = set"; then
8817 echo $ECHO_N "(cached) $ECHO_C" >&6
8818 else
8819 if test x$gcc_no_link = xyes; then
8820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8822 { (exit 1); exit 1; }; }
8824 cat >conftest.$ac_ext <<_ACEOF
8825 /* confdefs.h. */
8826 _ACEOF
8827 cat confdefs.h >>conftest.$ac_ext
8828 cat >>conftest.$ac_ext <<_ACEOF
8829 /* end confdefs.h. */
8830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8832 #define $ac_func innocuous_$ac_func
8834 /* System header to define __stub macros and hopefully few prototypes,
8835 which can conflict with char $ac_func (); below.
8836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8837 <limits.h> exists even on freestanding compilers. */
8839 #ifdef __STDC__
8840 # include <limits.h>
8841 #else
8842 # include <assert.h>
8843 #endif
8845 #undef $ac_func
8847 /* Override any gcc2 internal prototype to avoid an error. */
8848 #ifdef __cplusplus
8849 extern "C"
8851 #endif
8852 /* We use char because int might match the return type of a gcc2
8853 builtin and then its argument prototype would still apply. */
8854 char $ac_func ();
8855 /* The GNU C library defines this for functions which it implements
8856 to always fail with ENOSYS. Some functions are actually named
8857 something starting with __ and the normal name is an alias. */
8858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8859 choke me
8860 #else
8861 char (*f) () = $ac_func;
8862 #endif
8863 #ifdef __cplusplus
8865 #endif
8868 main ()
8870 return f != $ac_func;
8872 return 0;
8874 _ACEOF
8875 rm -f conftest.$ac_objext conftest$ac_exeext
8876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8877 (eval $ac_link) 2>conftest.er1
8878 ac_status=$?
8879 grep -v '^ *+' conftest.er1 >conftest.err
8880 rm -f conftest.er1
8881 cat conftest.err >&5
8882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8883 (exit $ac_status); } &&
8884 { ac_try='test -z "$ac_c_werror_flag"
8885 || test ! -s conftest.err'
8886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8887 (eval $ac_try) 2>&5
8888 ac_status=$?
8889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8890 (exit $ac_status); }; } &&
8891 { ac_try='test -s conftest$ac_exeext'
8892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8893 (eval $ac_try) 2>&5
8894 ac_status=$?
8895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8896 (exit $ac_status); }; }; then
8897 eval "$as_ac_var=yes"
8898 else
8899 echo "$as_me: failed program was:" >&5
8900 sed 's/^/| /' conftest.$ac_ext >&5
8902 eval "$as_ac_var=no"
8904 rm -f conftest.err conftest.$ac_objext \
8905 conftest$ac_exeext conftest.$ac_ext
8907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8909 if test `eval echo '${'$as_ac_var'}'` = yes; then
8910 cat >>confdefs.h <<_ACEOF
8911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8912 _ACEOF
8915 done
8917 else
8919 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8920 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8921 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8922 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8923 echo $ECHO_N "(cached) $ECHO_C" >&6
8924 else
8928 ac_ext=cc
8929 ac_cpp='$CXXCPP $CPPFLAGS'
8930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8934 cat >conftest.$ac_ext <<_ACEOF
8935 /* confdefs.h. */
8936 _ACEOF
8937 cat confdefs.h >>conftest.$ac_ext
8938 cat >>conftest.$ac_ext <<_ACEOF
8939 /* end confdefs.h. */
8940 #include <math.h>
8941 #ifdef HAVE_IEEEFP_H
8942 #include <ieeefp.h>
8943 #endif
8946 main ()
8948 _isnan(0);
8950 return 0;
8952 _ACEOF
8953 rm -f conftest.$ac_objext
8954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8955 (eval $ac_compile) 2>conftest.er1
8956 ac_status=$?
8957 grep -v '^ *+' conftest.er1 >conftest.err
8958 rm -f conftest.er1
8959 cat conftest.err >&5
8960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8961 (exit $ac_status); } &&
8962 { ac_try='test -z "$ac_cxx_werror_flag"
8963 || test ! -s conftest.err'
8964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8965 (eval $ac_try) 2>&5
8966 ac_status=$?
8967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8968 (exit $ac_status); }; } &&
8969 { ac_try='test -s conftest.$ac_objext'
8970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8971 (eval $ac_try) 2>&5
8972 ac_status=$?
8973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8974 (exit $ac_status); }; }; then
8975 glibcxx_cv_func__isnan_use=yes
8976 else
8977 echo "$as_me: failed program was:" >&5
8978 sed 's/^/| /' conftest.$ac_ext >&5
8980 glibcxx_cv_func__isnan_use=no
8982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8983 ac_ext=c
8984 ac_cpp='$CPP $CPPFLAGS'
8985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8993 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
8994 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
8996 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
8998 for ac_func in _isnan
9000 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9001 echo "$as_me:$LINENO: checking for $ac_func" >&5
9002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9003 if eval "test \"\${$as_ac_var+set}\" = set"; then
9004 echo $ECHO_N "(cached) $ECHO_C" >&6
9005 else
9006 if test x$gcc_no_link = xyes; then
9007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9009 { (exit 1); exit 1; }; }
9011 cat >conftest.$ac_ext <<_ACEOF
9012 /* confdefs.h. */
9013 _ACEOF
9014 cat confdefs.h >>conftest.$ac_ext
9015 cat >>conftest.$ac_ext <<_ACEOF
9016 /* end confdefs.h. */
9017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9019 #define $ac_func innocuous_$ac_func
9021 /* System header to define __stub macros and hopefully few prototypes,
9022 which can conflict with char $ac_func (); below.
9023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9024 <limits.h> exists even on freestanding compilers. */
9026 #ifdef __STDC__
9027 # include <limits.h>
9028 #else
9029 # include <assert.h>
9030 #endif
9032 #undef $ac_func
9034 /* Override any gcc2 internal prototype to avoid an error. */
9035 #ifdef __cplusplus
9036 extern "C"
9038 #endif
9039 /* We use char because int might match the return type of a gcc2
9040 builtin and then its argument prototype would still apply. */
9041 char $ac_func ();
9042 /* The GNU C library defines this for functions which it implements
9043 to always fail with ENOSYS. Some functions are actually named
9044 something starting with __ and the normal name is an alias. */
9045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9046 choke me
9047 #else
9048 char (*f) () = $ac_func;
9049 #endif
9050 #ifdef __cplusplus
9052 #endif
9055 main ()
9057 return f != $ac_func;
9059 return 0;
9061 _ACEOF
9062 rm -f conftest.$ac_objext conftest$ac_exeext
9063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9064 (eval $ac_link) 2>conftest.er1
9065 ac_status=$?
9066 grep -v '^ *+' conftest.er1 >conftest.err
9067 rm -f conftest.er1
9068 cat conftest.err >&5
9069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9070 (exit $ac_status); } &&
9071 { ac_try='test -z "$ac_c_werror_flag"
9072 || test ! -s conftest.err'
9073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9074 (eval $ac_try) 2>&5
9075 ac_status=$?
9076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9077 (exit $ac_status); }; } &&
9078 { ac_try='test -s conftest$ac_exeext'
9079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9080 (eval $ac_try) 2>&5
9081 ac_status=$?
9082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9083 (exit $ac_status); }; }; then
9084 eval "$as_ac_var=yes"
9085 else
9086 echo "$as_me: failed program was:" >&5
9087 sed 's/^/| /' conftest.$ac_ext >&5
9089 eval "$as_ac_var=no"
9091 rm -f conftest.err conftest.$ac_objext \
9092 conftest$ac_exeext conftest.$ac_ext
9094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9095 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9096 if test `eval echo '${'$as_ac_var'}'` = yes; then
9097 cat >>confdefs.h <<_ACEOF
9098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9099 _ACEOF
9102 done
9112 echo "$as_me:$LINENO: checking for finite declaration" >&5
9113 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9114 if test x${glibcxx_cv_func_finite_use+set} != xset; then
9115 if test "${glibcxx_cv_func_finite_use+set}" = set; then
9116 echo $ECHO_N "(cached) $ECHO_C" >&6
9117 else
9121 ac_ext=cc
9122 ac_cpp='$CXXCPP $CPPFLAGS'
9123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9127 cat >conftest.$ac_ext <<_ACEOF
9128 /* confdefs.h. */
9129 _ACEOF
9130 cat confdefs.h >>conftest.$ac_ext
9131 cat >>conftest.$ac_ext <<_ACEOF
9132 /* end confdefs.h. */
9133 #include <math.h>
9134 #ifdef HAVE_IEEEFP_H
9135 #include <ieeefp.h>
9136 #endif
9139 main ()
9141 finite(0);
9143 return 0;
9145 _ACEOF
9146 rm -f conftest.$ac_objext
9147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9148 (eval $ac_compile) 2>conftest.er1
9149 ac_status=$?
9150 grep -v '^ *+' conftest.er1 >conftest.err
9151 rm -f conftest.er1
9152 cat conftest.err >&5
9153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9154 (exit $ac_status); } &&
9155 { ac_try='test -z "$ac_cxx_werror_flag"
9156 || test ! -s conftest.err'
9157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9158 (eval $ac_try) 2>&5
9159 ac_status=$?
9160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9161 (exit $ac_status); }; } &&
9162 { ac_try='test -s conftest.$ac_objext'
9163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9164 (eval $ac_try) 2>&5
9165 ac_status=$?
9166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9167 (exit $ac_status); }; }; then
9168 glibcxx_cv_func_finite_use=yes
9169 else
9170 echo "$as_me: failed program was:" >&5
9171 sed 's/^/| /' conftest.$ac_ext >&5
9173 glibcxx_cv_func_finite_use=no
9175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9176 ac_ext=c
9177 ac_cpp='$CPP $CPPFLAGS'
9178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9186 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9187 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9189 if test x$glibcxx_cv_func_finite_use = x"yes"; then
9191 for ac_func in finite
9193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9194 echo "$as_me:$LINENO: checking for $ac_func" >&5
9195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9196 if eval "test \"\${$as_ac_var+set}\" = set"; then
9197 echo $ECHO_N "(cached) $ECHO_C" >&6
9198 else
9199 if test x$gcc_no_link = xyes; then
9200 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9202 { (exit 1); exit 1; }; }
9204 cat >conftest.$ac_ext <<_ACEOF
9205 /* confdefs.h. */
9206 _ACEOF
9207 cat confdefs.h >>conftest.$ac_ext
9208 cat >>conftest.$ac_ext <<_ACEOF
9209 /* end confdefs.h. */
9210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9212 #define $ac_func innocuous_$ac_func
9214 /* System header to define __stub macros and hopefully few prototypes,
9215 which can conflict with char $ac_func (); below.
9216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9217 <limits.h> exists even on freestanding compilers. */
9219 #ifdef __STDC__
9220 # include <limits.h>
9221 #else
9222 # include <assert.h>
9223 #endif
9225 #undef $ac_func
9227 /* Override any gcc2 internal prototype to avoid an error. */
9228 #ifdef __cplusplus
9229 extern "C"
9231 #endif
9232 /* We use char because int might match the return type of a gcc2
9233 builtin and then its argument prototype would still apply. */
9234 char $ac_func ();
9235 /* The GNU C library defines this for functions which it implements
9236 to always fail with ENOSYS. Some functions are actually named
9237 something starting with __ and the normal name is an alias. */
9238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9239 choke me
9240 #else
9241 char (*f) () = $ac_func;
9242 #endif
9243 #ifdef __cplusplus
9245 #endif
9248 main ()
9250 return f != $ac_func;
9252 return 0;
9254 _ACEOF
9255 rm -f conftest.$ac_objext conftest$ac_exeext
9256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9257 (eval $ac_link) 2>conftest.er1
9258 ac_status=$?
9259 grep -v '^ *+' conftest.er1 >conftest.err
9260 rm -f conftest.er1
9261 cat conftest.err >&5
9262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9263 (exit $ac_status); } &&
9264 { ac_try='test -z "$ac_c_werror_flag"
9265 || test ! -s conftest.err'
9266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9267 (eval $ac_try) 2>&5
9268 ac_status=$?
9269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9270 (exit $ac_status); }; } &&
9271 { ac_try='test -s conftest$ac_exeext'
9272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9273 (eval $ac_try) 2>&5
9274 ac_status=$?
9275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9276 (exit $ac_status); }; }; then
9277 eval "$as_ac_var=yes"
9278 else
9279 echo "$as_me: failed program was:" >&5
9280 sed 's/^/| /' conftest.$ac_ext >&5
9282 eval "$as_ac_var=no"
9284 rm -f conftest.err conftest.$ac_objext \
9285 conftest$ac_exeext conftest.$ac_ext
9287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9289 if test `eval echo '${'$as_ac_var'}'` = yes; then
9290 cat >>confdefs.h <<_ACEOF
9291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9292 _ACEOF
9295 done
9297 else
9299 echo "$as_me:$LINENO: checking for _finite declaration" >&5
9300 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9301 if test x${glibcxx_cv_func__finite_use+set} != xset; then
9302 if test "${glibcxx_cv_func__finite_use+set}" = set; then
9303 echo $ECHO_N "(cached) $ECHO_C" >&6
9304 else
9308 ac_ext=cc
9309 ac_cpp='$CXXCPP $CPPFLAGS'
9310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9314 cat >conftest.$ac_ext <<_ACEOF
9315 /* confdefs.h. */
9316 _ACEOF
9317 cat confdefs.h >>conftest.$ac_ext
9318 cat >>conftest.$ac_ext <<_ACEOF
9319 /* end confdefs.h. */
9320 #include <math.h>
9321 #ifdef HAVE_IEEEFP_H
9322 #include <ieeefp.h>
9323 #endif
9326 main ()
9328 _finite(0);
9330 return 0;
9332 _ACEOF
9333 rm -f conftest.$ac_objext
9334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9335 (eval $ac_compile) 2>conftest.er1
9336 ac_status=$?
9337 grep -v '^ *+' conftest.er1 >conftest.err
9338 rm -f conftest.er1
9339 cat conftest.err >&5
9340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9341 (exit $ac_status); } &&
9342 { ac_try='test -z "$ac_cxx_werror_flag"
9343 || test ! -s conftest.err'
9344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9345 (eval $ac_try) 2>&5
9346 ac_status=$?
9347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9348 (exit $ac_status); }; } &&
9349 { ac_try='test -s conftest.$ac_objext'
9350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9351 (eval $ac_try) 2>&5
9352 ac_status=$?
9353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9354 (exit $ac_status); }; }; then
9355 glibcxx_cv_func__finite_use=yes
9356 else
9357 echo "$as_me: failed program was:" >&5
9358 sed 's/^/| /' conftest.$ac_ext >&5
9360 glibcxx_cv_func__finite_use=no
9362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9363 ac_ext=c
9364 ac_cpp='$CPP $CPPFLAGS'
9365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9373 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9374 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9376 if test x$glibcxx_cv_func__finite_use = x"yes"; then
9378 for ac_func in _finite
9380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9381 echo "$as_me:$LINENO: checking for $ac_func" >&5
9382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9383 if eval "test \"\${$as_ac_var+set}\" = set"; then
9384 echo $ECHO_N "(cached) $ECHO_C" >&6
9385 else
9386 if test x$gcc_no_link = xyes; then
9387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9389 { (exit 1); exit 1; }; }
9391 cat >conftest.$ac_ext <<_ACEOF
9392 /* confdefs.h. */
9393 _ACEOF
9394 cat confdefs.h >>conftest.$ac_ext
9395 cat >>conftest.$ac_ext <<_ACEOF
9396 /* end confdefs.h. */
9397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9399 #define $ac_func innocuous_$ac_func
9401 /* System header to define __stub macros and hopefully few prototypes,
9402 which can conflict with char $ac_func (); below.
9403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9404 <limits.h> exists even on freestanding compilers. */
9406 #ifdef __STDC__
9407 # include <limits.h>
9408 #else
9409 # include <assert.h>
9410 #endif
9412 #undef $ac_func
9414 /* Override any gcc2 internal prototype to avoid an error. */
9415 #ifdef __cplusplus
9416 extern "C"
9418 #endif
9419 /* We use char because int might match the return type of a gcc2
9420 builtin and then its argument prototype would still apply. */
9421 char $ac_func ();
9422 /* The GNU C library defines this for functions which it implements
9423 to always fail with ENOSYS. Some functions are actually named
9424 something starting with __ and the normal name is an alias. */
9425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9426 choke me
9427 #else
9428 char (*f) () = $ac_func;
9429 #endif
9430 #ifdef __cplusplus
9432 #endif
9435 main ()
9437 return f != $ac_func;
9439 return 0;
9441 _ACEOF
9442 rm -f conftest.$ac_objext conftest$ac_exeext
9443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9444 (eval $ac_link) 2>conftest.er1
9445 ac_status=$?
9446 grep -v '^ *+' conftest.er1 >conftest.err
9447 rm -f conftest.er1
9448 cat conftest.err >&5
9449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9450 (exit $ac_status); } &&
9451 { ac_try='test -z "$ac_c_werror_flag"
9452 || test ! -s conftest.err'
9453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9454 (eval $ac_try) 2>&5
9455 ac_status=$?
9456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9457 (exit $ac_status); }; } &&
9458 { ac_try='test -s conftest$ac_exeext'
9459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9460 (eval $ac_try) 2>&5
9461 ac_status=$?
9462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9463 (exit $ac_status); }; }; then
9464 eval "$as_ac_var=yes"
9465 else
9466 echo "$as_me: failed program was:" >&5
9467 sed 's/^/| /' conftest.$ac_ext >&5
9469 eval "$as_ac_var=no"
9471 rm -f conftest.err conftest.$ac_objext \
9472 conftest$ac_exeext conftest.$ac_ext
9474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9476 if test `eval echo '${'$as_ac_var'}'` = yes; then
9477 cat >>confdefs.h <<_ACEOF
9478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9479 _ACEOF
9482 done
9492 echo "$as_me:$LINENO: checking for copysign declaration" >&5
9493 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9494 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9495 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9496 echo $ECHO_N "(cached) $ECHO_C" >&6
9497 else
9501 ac_ext=cc
9502 ac_cpp='$CXXCPP $CPPFLAGS'
9503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9507 cat >conftest.$ac_ext <<_ACEOF
9508 /* confdefs.h. */
9509 _ACEOF
9510 cat confdefs.h >>conftest.$ac_ext
9511 cat >>conftest.$ac_ext <<_ACEOF
9512 /* end confdefs.h. */
9513 #include <math.h>
9515 main ()
9517 copysign(0, 0);
9519 return 0;
9521 _ACEOF
9522 rm -f conftest.$ac_objext
9523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9524 (eval $ac_compile) 2>conftest.er1
9525 ac_status=$?
9526 grep -v '^ *+' conftest.er1 >conftest.err
9527 rm -f conftest.er1
9528 cat conftest.err >&5
9529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9530 (exit $ac_status); } &&
9531 { ac_try='test -z "$ac_cxx_werror_flag"
9532 || test ! -s conftest.err'
9533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9534 (eval $ac_try) 2>&5
9535 ac_status=$?
9536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9537 (exit $ac_status); }; } &&
9538 { ac_try='test -s conftest.$ac_objext'
9539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9540 (eval $ac_try) 2>&5
9541 ac_status=$?
9542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9543 (exit $ac_status); }; }; then
9544 glibcxx_cv_func_copysign_use=yes
9545 else
9546 echo "$as_me: failed program was:" >&5
9547 sed 's/^/| /' conftest.$ac_ext >&5
9549 glibcxx_cv_func_copysign_use=no
9551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9552 ac_ext=c
9553 ac_cpp='$CPP $CPPFLAGS'
9554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9562 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9563 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9565 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9567 for ac_func in copysign
9569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9570 echo "$as_me:$LINENO: checking for $ac_func" >&5
9571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9572 if eval "test \"\${$as_ac_var+set}\" = set"; then
9573 echo $ECHO_N "(cached) $ECHO_C" >&6
9574 else
9575 if test x$gcc_no_link = xyes; then
9576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9578 { (exit 1); exit 1; }; }
9580 cat >conftest.$ac_ext <<_ACEOF
9581 /* confdefs.h. */
9582 _ACEOF
9583 cat confdefs.h >>conftest.$ac_ext
9584 cat >>conftest.$ac_ext <<_ACEOF
9585 /* end confdefs.h. */
9586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9588 #define $ac_func innocuous_$ac_func
9590 /* System header to define __stub macros and hopefully few prototypes,
9591 which can conflict with char $ac_func (); below.
9592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9593 <limits.h> exists even on freestanding compilers. */
9595 #ifdef __STDC__
9596 # include <limits.h>
9597 #else
9598 # include <assert.h>
9599 #endif
9601 #undef $ac_func
9603 /* Override any gcc2 internal prototype to avoid an error. */
9604 #ifdef __cplusplus
9605 extern "C"
9607 #endif
9608 /* We use char because int might match the return type of a gcc2
9609 builtin and then its argument prototype would still apply. */
9610 char $ac_func ();
9611 /* The GNU C library defines this for functions which it implements
9612 to always fail with ENOSYS. Some functions are actually named
9613 something starting with __ and the normal name is an alias. */
9614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9615 choke me
9616 #else
9617 char (*f) () = $ac_func;
9618 #endif
9619 #ifdef __cplusplus
9621 #endif
9624 main ()
9626 return f != $ac_func;
9628 return 0;
9630 _ACEOF
9631 rm -f conftest.$ac_objext conftest$ac_exeext
9632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9633 (eval $ac_link) 2>conftest.er1
9634 ac_status=$?
9635 grep -v '^ *+' conftest.er1 >conftest.err
9636 rm -f conftest.er1
9637 cat conftest.err >&5
9638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9639 (exit $ac_status); } &&
9640 { ac_try='test -z "$ac_c_werror_flag"
9641 || test ! -s conftest.err'
9642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9643 (eval $ac_try) 2>&5
9644 ac_status=$?
9645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9646 (exit $ac_status); }; } &&
9647 { ac_try='test -s conftest$ac_exeext'
9648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9649 (eval $ac_try) 2>&5
9650 ac_status=$?
9651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9652 (exit $ac_status); }; }; then
9653 eval "$as_ac_var=yes"
9654 else
9655 echo "$as_me: failed program was:" >&5
9656 sed 's/^/| /' conftest.$ac_ext >&5
9658 eval "$as_ac_var=no"
9660 rm -f conftest.err conftest.$ac_objext \
9661 conftest$ac_exeext conftest.$ac_ext
9663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9665 if test `eval echo '${'$as_ac_var'}'` = yes; then
9666 cat >>confdefs.h <<_ACEOF
9667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9668 _ACEOF
9671 done
9673 else
9675 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9676 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9677 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9678 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9679 echo $ECHO_N "(cached) $ECHO_C" >&6
9680 else
9684 ac_ext=cc
9685 ac_cpp='$CXXCPP $CPPFLAGS'
9686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9690 cat >conftest.$ac_ext <<_ACEOF
9691 /* confdefs.h. */
9692 _ACEOF
9693 cat confdefs.h >>conftest.$ac_ext
9694 cat >>conftest.$ac_ext <<_ACEOF
9695 /* end confdefs.h. */
9696 #include <math.h>
9698 main ()
9700 _copysign(0, 0);
9702 return 0;
9704 _ACEOF
9705 rm -f conftest.$ac_objext
9706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9707 (eval $ac_compile) 2>conftest.er1
9708 ac_status=$?
9709 grep -v '^ *+' conftest.er1 >conftest.err
9710 rm -f conftest.er1
9711 cat conftest.err >&5
9712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9713 (exit $ac_status); } &&
9714 { ac_try='test -z "$ac_cxx_werror_flag"
9715 || test ! -s conftest.err'
9716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9717 (eval $ac_try) 2>&5
9718 ac_status=$?
9719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9720 (exit $ac_status); }; } &&
9721 { ac_try='test -s conftest.$ac_objext'
9722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9723 (eval $ac_try) 2>&5
9724 ac_status=$?
9725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9726 (exit $ac_status); }; }; then
9727 glibcxx_cv_func__copysign_use=yes
9728 else
9729 echo "$as_me: failed program was:" >&5
9730 sed 's/^/| /' conftest.$ac_ext >&5
9732 glibcxx_cv_func__copysign_use=no
9734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9735 ac_ext=c
9736 ac_cpp='$CPP $CPPFLAGS'
9737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9745 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9746 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9748 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9750 for ac_func in _copysign
9752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9753 echo "$as_me:$LINENO: checking for $ac_func" >&5
9754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9755 if eval "test \"\${$as_ac_var+set}\" = set"; then
9756 echo $ECHO_N "(cached) $ECHO_C" >&6
9757 else
9758 if test x$gcc_no_link = xyes; then
9759 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9761 { (exit 1); exit 1; }; }
9763 cat >conftest.$ac_ext <<_ACEOF
9764 /* confdefs.h. */
9765 _ACEOF
9766 cat confdefs.h >>conftest.$ac_ext
9767 cat >>conftest.$ac_ext <<_ACEOF
9768 /* end confdefs.h. */
9769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9771 #define $ac_func innocuous_$ac_func
9773 /* System header to define __stub macros and hopefully few prototypes,
9774 which can conflict with char $ac_func (); below.
9775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9776 <limits.h> exists even on freestanding compilers. */
9778 #ifdef __STDC__
9779 # include <limits.h>
9780 #else
9781 # include <assert.h>
9782 #endif
9784 #undef $ac_func
9786 /* Override any gcc2 internal prototype to avoid an error. */
9787 #ifdef __cplusplus
9788 extern "C"
9790 #endif
9791 /* We use char because int might match the return type of a gcc2
9792 builtin and then its argument prototype would still apply. */
9793 char $ac_func ();
9794 /* The GNU C library defines this for functions which it implements
9795 to always fail with ENOSYS. Some functions are actually named
9796 something starting with __ and the normal name is an alias. */
9797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9798 choke me
9799 #else
9800 char (*f) () = $ac_func;
9801 #endif
9802 #ifdef __cplusplus
9804 #endif
9807 main ()
9809 return f != $ac_func;
9811 return 0;
9813 _ACEOF
9814 rm -f conftest.$ac_objext conftest$ac_exeext
9815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9816 (eval $ac_link) 2>conftest.er1
9817 ac_status=$?
9818 grep -v '^ *+' conftest.er1 >conftest.err
9819 rm -f conftest.er1
9820 cat conftest.err >&5
9821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9822 (exit $ac_status); } &&
9823 { ac_try='test -z "$ac_c_werror_flag"
9824 || test ! -s conftest.err'
9825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9826 (eval $ac_try) 2>&5
9827 ac_status=$?
9828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9829 (exit $ac_status); }; } &&
9830 { ac_try='test -s conftest$ac_exeext'
9831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9832 (eval $ac_try) 2>&5
9833 ac_status=$?
9834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9835 (exit $ac_status); }; }; then
9836 eval "$as_ac_var=yes"
9837 else
9838 echo "$as_me: failed program was:" >&5
9839 sed 's/^/| /' conftest.$ac_ext >&5
9841 eval "$as_ac_var=no"
9843 rm -f conftest.err conftest.$ac_objext \
9844 conftest$ac_exeext conftest.$ac_ext
9846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9848 if test `eval echo '${'$as_ac_var'}'` = yes; then
9849 cat >>confdefs.h <<_ACEOF
9850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9851 _ACEOF
9854 done
9864 echo "$as_me:$LINENO: checking for sincos declaration" >&5
9865 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9866 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9867 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9868 echo $ECHO_N "(cached) $ECHO_C" >&6
9869 else
9873 ac_ext=cc
9874 ac_cpp='$CXXCPP $CPPFLAGS'
9875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9879 cat >conftest.$ac_ext <<_ACEOF
9880 /* confdefs.h. */
9881 _ACEOF
9882 cat confdefs.h >>conftest.$ac_ext
9883 cat >>conftest.$ac_ext <<_ACEOF
9884 /* end confdefs.h. */
9885 #include <math.h>
9887 main ()
9889 sincos(0, 0, 0);
9891 return 0;
9893 _ACEOF
9894 rm -f conftest.$ac_objext
9895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9896 (eval $ac_compile) 2>conftest.er1
9897 ac_status=$?
9898 grep -v '^ *+' conftest.er1 >conftest.err
9899 rm -f conftest.er1
9900 cat conftest.err >&5
9901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9902 (exit $ac_status); } &&
9903 { ac_try='test -z "$ac_cxx_werror_flag"
9904 || test ! -s conftest.err'
9905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9906 (eval $ac_try) 2>&5
9907 ac_status=$?
9908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9909 (exit $ac_status); }; } &&
9910 { ac_try='test -s conftest.$ac_objext'
9911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9912 (eval $ac_try) 2>&5
9913 ac_status=$?
9914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9915 (exit $ac_status); }; }; then
9916 glibcxx_cv_func_sincos_use=yes
9917 else
9918 echo "$as_me: failed program was:" >&5
9919 sed 's/^/| /' conftest.$ac_ext >&5
9921 glibcxx_cv_func_sincos_use=no
9923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9924 ac_ext=c
9925 ac_cpp='$CPP $CPPFLAGS'
9926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9934 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9935 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9937 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9939 for ac_func in sincos
9941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9942 echo "$as_me:$LINENO: checking for $ac_func" >&5
9943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9944 if eval "test \"\${$as_ac_var+set}\" = set"; then
9945 echo $ECHO_N "(cached) $ECHO_C" >&6
9946 else
9947 if test x$gcc_no_link = xyes; then
9948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9950 { (exit 1); exit 1; }; }
9952 cat >conftest.$ac_ext <<_ACEOF
9953 /* confdefs.h. */
9954 _ACEOF
9955 cat confdefs.h >>conftest.$ac_ext
9956 cat >>conftest.$ac_ext <<_ACEOF
9957 /* end confdefs.h. */
9958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9960 #define $ac_func innocuous_$ac_func
9962 /* System header to define __stub macros and hopefully few prototypes,
9963 which can conflict with char $ac_func (); below.
9964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9965 <limits.h> exists even on freestanding compilers. */
9967 #ifdef __STDC__
9968 # include <limits.h>
9969 #else
9970 # include <assert.h>
9971 #endif
9973 #undef $ac_func
9975 /* Override any gcc2 internal prototype to avoid an error. */
9976 #ifdef __cplusplus
9977 extern "C"
9979 #endif
9980 /* We use char because int might match the return type of a gcc2
9981 builtin and then its argument prototype would still apply. */
9982 char $ac_func ();
9983 /* The GNU C library defines this for functions which it implements
9984 to always fail with ENOSYS. Some functions are actually named
9985 something starting with __ and the normal name is an alias. */
9986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9987 choke me
9988 #else
9989 char (*f) () = $ac_func;
9990 #endif
9991 #ifdef __cplusplus
9993 #endif
9996 main ()
9998 return f != $ac_func;
10000 return 0;
10002 _ACEOF
10003 rm -f conftest.$ac_objext conftest$ac_exeext
10004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10005 (eval $ac_link) 2>conftest.er1
10006 ac_status=$?
10007 grep -v '^ *+' conftest.er1 >conftest.err
10008 rm -f conftest.er1
10009 cat conftest.err >&5
10010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10011 (exit $ac_status); } &&
10012 { ac_try='test -z "$ac_c_werror_flag"
10013 || test ! -s conftest.err'
10014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10015 (eval $ac_try) 2>&5
10016 ac_status=$?
10017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10018 (exit $ac_status); }; } &&
10019 { ac_try='test -s conftest$ac_exeext'
10020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10021 (eval $ac_try) 2>&5
10022 ac_status=$?
10023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10024 (exit $ac_status); }; }; then
10025 eval "$as_ac_var=yes"
10026 else
10027 echo "$as_me: failed program was:" >&5
10028 sed 's/^/| /' conftest.$ac_ext >&5
10030 eval "$as_ac_var=no"
10032 rm -f conftest.err conftest.$ac_objext \
10033 conftest$ac_exeext conftest.$ac_ext
10035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10037 if test `eval echo '${'$as_ac_var'}'` = yes; then
10038 cat >>confdefs.h <<_ACEOF
10039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10040 _ACEOF
10043 done
10045 else
10047 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10048 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10049 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10050 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10051 echo $ECHO_N "(cached) $ECHO_C" >&6
10052 else
10056 ac_ext=cc
10057 ac_cpp='$CXXCPP $CPPFLAGS'
10058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10062 cat >conftest.$ac_ext <<_ACEOF
10063 /* confdefs.h. */
10064 _ACEOF
10065 cat confdefs.h >>conftest.$ac_ext
10066 cat >>conftest.$ac_ext <<_ACEOF
10067 /* end confdefs.h. */
10068 #include <math.h>
10070 main ()
10072 _sincos(0, 0, 0);
10074 return 0;
10076 _ACEOF
10077 rm -f conftest.$ac_objext
10078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10079 (eval $ac_compile) 2>conftest.er1
10080 ac_status=$?
10081 grep -v '^ *+' conftest.er1 >conftest.err
10082 rm -f conftest.er1
10083 cat conftest.err >&5
10084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10085 (exit $ac_status); } &&
10086 { ac_try='test -z "$ac_cxx_werror_flag"
10087 || test ! -s conftest.err'
10088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10089 (eval $ac_try) 2>&5
10090 ac_status=$?
10091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10092 (exit $ac_status); }; } &&
10093 { ac_try='test -s conftest.$ac_objext'
10094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10095 (eval $ac_try) 2>&5
10096 ac_status=$?
10097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10098 (exit $ac_status); }; }; then
10099 glibcxx_cv_func__sincos_use=yes
10100 else
10101 echo "$as_me: failed program was:" >&5
10102 sed 's/^/| /' conftest.$ac_ext >&5
10104 glibcxx_cv_func__sincos_use=no
10106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10107 ac_ext=c
10108 ac_cpp='$CPP $CPPFLAGS'
10109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10117 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10118 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10120 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10122 for ac_func in _sincos
10124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10125 echo "$as_me:$LINENO: checking for $ac_func" >&5
10126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10127 if eval "test \"\${$as_ac_var+set}\" = set"; then
10128 echo $ECHO_N "(cached) $ECHO_C" >&6
10129 else
10130 if test x$gcc_no_link = xyes; then
10131 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10133 { (exit 1); exit 1; }; }
10135 cat >conftest.$ac_ext <<_ACEOF
10136 /* confdefs.h. */
10137 _ACEOF
10138 cat confdefs.h >>conftest.$ac_ext
10139 cat >>conftest.$ac_ext <<_ACEOF
10140 /* end confdefs.h. */
10141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10143 #define $ac_func innocuous_$ac_func
10145 /* System header to define __stub macros and hopefully few prototypes,
10146 which can conflict with char $ac_func (); below.
10147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10148 <limits.h> exists even on freestanding compilers. */
10150 #ifdef __STDC__
10151 # include <limits.h>
10152 #else
10153 # include <assert.h>
10154 #endif
10156 #undef $ac_func
10158 /* Override any gcc2 internal prototype to avoid an error. */
10159 #ifdef __cplusplus
10160 extern "C"
10162 #endif
10163 /* We use char because int might match the return type of a gcc2
10164 builtin and then its argument prototype would still apply. */
10165 char $ac_func ();
10166 /* The GNU C library defines this for functions which it implements
10167 to always fail with ENOSYS. Some functions are actually named
10168 something starting with __ and the normal name is an alias. */
10169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10170 choke me
10171 #else
10172 char (*f) () = $ac_func;
10173 #endif
10174 #ifdef __cplusplus
10176 #endif
10179 main ()
10181 return f != $ac_func;
10183 return 0;
10185 _ACEOF
10186 rm -f conftest.$ac_objext conftest$ac_exeext
10187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10188 (eval $ac_link) 2>conftest.er1
10189 ac_status=$?
10190 grep -v '^ *+' conftest.er1 >conftest.err
10191 rm -f conftest.er1
10192 cat conftest.err >&5
10193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10194 (exit $ac_status); } &&
10195 { ac_try='test -z "$ac_c_werror_flag"
10196 || test ! -s conftest.err'
10197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10198 (eval $ac_try) 2>&5
10199 ac_status=$?
10200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10201 (exit $ac_status); }; } &&
10202 { ac_try='test -s conftest$ac_exeext'
10203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10204 (eval $ac_try) 2>&5
10205 ac_status=$?
10206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10207 (exit $ac_status); }; }; then
10208 eval "$as_ac_var=yes"
10209 else
10210 echo "$as_me: failed program was:" >&5
10211 sed 's/^/| /' conftest.$ac_ext >&5
10213 eval "$as_ac_var=no"
10215 rm -f conftest.err conftest.$ac_objext \
10216 conftest$ac_exeext conftest.$ac_ext
10218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10220 if test `eval echo '${'$as_ac_var'}'` = yes; then
10221 cat >>confdefs.h <<_ACEOF
10222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10223 _ACEOF
10226 done
10236 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10237 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10238 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10239 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10240 echo $ECHO_N "(cached) $ECHO_C" >&6
10241 else
10245 ac_ext=cc
10246 ac_cpp='$CXXCPP $CPPFLAGS'
10247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10251 cat >conftest.$ac_ext <<_ACEOF
10252 /* confdefs.h. */
10253 _ACEOF
10254 cat confdefs.h >>conftest.$ac_ext
10255 cat >>conftest.$ac_ext <<_ACEOF
10256 /* end confdefs.h. */
10257 #include <math.h>
10258 #ifdef HAVE_IEEEFP_H
10259 #include <ieeefp.h>
10260 #endif
10263 main ()
10265 fpclass(0);
10267 return 0;
10269 _ACEOF
10270 rm -f conftest.$ac_objext
10271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10272 (eval $ac_compile) 2>conftest.er1
10273 ac_status=$?
10274 grep -v '^ *+' conftest.er1 >conftest.err
10275 rm -f conftest.er1
10276 cat conftest.err >&5
10277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10278 (exit $ac_status); } &&
10279 { ac_try='test -z "$ac_cxx_werror_flag"
10280 || test ! -s conftest.err'
10281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10282 (eval $ac_try) 2>&5
10283 ac_status=$?
10284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10285 (exit $ac_status); }; } &&
10286 { ac_try='test -s conftest.$ac_objext'
10287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10288 (eval $ac_try) 2>&5
10289 ac_status=$?
10290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10291 (exit $ac_status); }; }; then
10292 glibcxx_cv_func_fpclass_use=yes
10293 else
10294 echo "$as_me: failed program was:" >&5
10295 sed 's/^/| /' conftest.$ac_ext >&5
10297 glibcxx_cv_func_fpclass_use=no
10299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10300 ac_ext=c
10301 ac_cpp='$CPP $CPPFLAGS'
10302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10310 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10311 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10313 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10315 for ac_func in fpclass
10317 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10318 echo "$as_me:$LINENO: checking for $ac_func" >&5
10319 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10320 if eval "test \"\${$as_ac_var+set}\" = set"; then
10321 echo $ECHO_N "(cached) $ECHO_C" >&6
10322 else
10323 if test x$gcc_no_link = xyes; then
10324 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10326 { (exit 1); exit 1; }; }
10328 cat >conftest.$ac_ext <<_ACEOF
10329 /* confdefs.h. */
10330 _ACEOF
10331 cat confdefs.h >>conftest.$ac_ext
10332 cat >>conftest.$ac_ext <<_ACEOF
10333 /* end confdefs.h. */
10334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10336 #define $ac_func innocuous_$ac_func
10338 /* System header to define __stub macros and hopefully few prototypes,
10339 which can conflict with char $ac_func (); below.
10340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10341 <limits.h> exists even on freestanding compilers. */
10343 #ifdef __STDC__
10344 # include <limits.h>
10345 #else
10346 # include <assert.h>
10347 #endif
10349 #undef $ac_func
10351 /* Override any gcc2 internal prototype to avoid an error. */
10352 #ifdef __cplusplus
10353 extern "C"
10355 #endif
10356 /* We use char because int might match the return type of a gcc2
10357 builtin and then its argument prototype would still apply. */
10358 char $ac_func ();
10359 /* The GNU C library defines this for functions which it implements
10360 to always fail with ENOSYS. Some functions are actually named
10361 something starting with __ and the normal name is an alias. */
10362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10363 choke me
10364 #else
10365 char (*f) () = $ac_func;
10366 #endif
10367 #ifdef __cplusplus
10369 #endif
10372 main ()
10374 return f != $ac_func;
10376 return 0;
10378 _ACEOF
10379 rm -f conftest.$ac_objext conftest$ac_exeext
10380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10381 (eval $ac_link) 2>conftest.er1
10382 ac_status=$?
10383 grep -v '^ *+' conftest.er1 >conftest.err
10384 rm -f conftest.er1
10385 cat conftest.err >&5
10386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10387 (exit $ac_status); } &&
10388 { ac_try='test -z "$ac_c_werror_flag"
10389 || test ! -s conftest.err'
10390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10391 (eval $ac_try) 2>&5
10392 ac_status=$?
10393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10394 (exit $ac_status); }; } &&
10395 { ac_try='test -s conftest$ac_exeext'
10396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10397 (eval $ac_try) 2>&5
10398 ac_status=$?
10399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10400 (exit $ac_status); }; }; then
10401 eval "$as_ac_var=yes"
10402 else
10403 echo "$as_me: failed program was:" >&5
10404 sed 's/^/| /' conftest.$ac_ext >&5
10406 eval "$as_ac_var=no"
10408 rm -f conftest.err conftest.$ac_objext \
10409 conftest$ac_exeext conftest.$ac_ext
10411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10413 if test `eval echo '${'$as_ac_var'}'` = yes; then
10414 cat >>confdefs.h <<_ACEOF
10415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10416 _ACEOF
10419 done
10421 else
10423 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10424 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10425 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10426 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10427 echo $ECHO_N "(cached) $ECHO_C" >&6
10428 else
10432 ac_ext=cc
10433 ac_cpp='$CXXCPP $CPPFLAGS'
10434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10438 cat >conftest.$ac_ext <<_ACEOF
10439 /* confdefs.h. */
10440 _ACEOF
10441 cat confdefs.h >>conftest.$ac_ext
10442 cat >>conftest.$ac_ext <<_ACEOF
10443 /* end confdefs.h. */
10444 #include <math.h>
10445 #ifdef HAVE_IEEEFP_H
10446 #include <ieeefp.h>
10447 #endif
10450 main ()
10452 _fpclass(0);
10454 return 0;
10456 _ACEOF
10457 rm -f conftest.$ac_objext
10458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10459 (eval $ac_compile) 2>conftest.er1
10460 ac_status=$?
10461 grep -v '^ *+' conftest.er1 >conftest.err
10462 rm -f conftest.er1
10463 cat conftest.err >&5
10464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10465 (exit $ac_status); } &&
10466 { ac_try='test -z "$ac_cxx_werror_flag"
10467 || test ! -s conftest.err'
10468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10469 (eval $ac_try) 2>&5
10470 ac_status=$?
10471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10472 (exit $ac_status); }; } &&
10473 { ac_try='test -s conftest.$ac_objext'
10474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10475 (eval $ac_try) 2>&5
10476 ac_status=$?
10477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10478 (exit $ac_status); }; }; then
10479 glibcxx_cv_func__fpclass_use=yes
10480 else
10481 echo "$as_me: failed program was:" >&5
10482 sed 's/^/| /' conftest.$ac_ext >&5
10484 glibcxx_cv_func__fpclass_use=no
10486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10487 ac_ext=c
10488 ac_cpp='$CPP $CPPFLAGS'
10489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10497 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10498 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10500 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10502 for ac_func in _fpclass
10504 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10505 echo "$as_me:$LINENO: checking for $ac_func" >&5
10506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10507 if eval "test \"\${$as_ac_var+set}\" = set"; then
10508 echo $ECHO_N "(cached) $ECHO_C" >&6
10509 else
10510 if test x$gcc_no_link = xyes; then
10511 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10512 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10513 { (exit 1); exit 1; }; }
10515 cat >conftest.$ac_ext <<_ACEOF
10516 /* confdefs.h. */
10517 _ACEOF
10518 cat confdefs.h >>conftest.$ac_ext
10519 cat >>conftest.$ac_ext <<_ACEOF
10520 /* end confdefs.h. */
10521 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10523 #define $ac_func innocuous_$ac_func
10525 /* System header to define __stub macros and hopefully few prototypes,
10526 which can conflict with char $ac_func (); below.
10527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10528 <limits.h> exists even on freestanding compilers. */
10530 #ifdef __STDC__
10531 # include <limits.h>
10532 #else
10533 # include <assert.h>
10534 #endif
10536 #undef $ac_func
10538 /* Override any gcc2 internal prototype to avoid an error. */
10539 #ifdef __cplusplus
10540 extern "C"
10542 #endif
10543 /* We use char because int might match the return type of a gcc2
10544 builtin and then its argument prototype would still apply. */
10545 char $ac_func ();
10546 /* The GNU C library defines this for functions which it implements
10547 to always fail with ENOSYS. Some functions are actually named
10548 something starting with __ and the normal name is an alias. */
10549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10550 choke me
10551 #else
10552 char (*f) () = $ac_func;
10553 #endif
10554 #ifdef __cplusplus
10556 #endif
10559 main ()
10561 return f != $ac_func;
10563 return 0;
10565 _ACEOF
10566 rm -f conftest.$ac_objext conftest$ac_exeext
10567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10568 (eval $ac_link) 2>conftest.er1
10569 ac_status=$?
10570 grep -v '^ *+' conftest.er1 >conftest.err
10571 rm -f conftest.er1
10572 cat conftest.err >&5
10573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10574 (exit $ac_status); } &&
10575 { ac_try='test -z "$ac_c_werror_flag"
10576 || test ! -s conftest.err'
10577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10578 (eval $ac_try) 2>&5
10579 ac_status=$?
10580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10581 (exit $ac_status); }; } &&
10582 { ac_try='test -s conftest$ac_exeext'
10583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10584 (eval $ac_try) 2>&5
10585 ac_status=$?
10586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10587 (exit $ac_status); }; }; then
10588 eval "$as_ac_var=yes"
10589 else
10590 echo "$as_me: failed program was:" >&5
10591 sed 's/^/| /' conftest.$ac_ext >&5
10593 eval "$as_ac_var=no"
10595 rm -f conftest.err conftest.$ac_objext \
10596 conftest$ac_exeext conftest.$ac_ext
10598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10599 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10600 if test `eval echo '${'$as_ac_var'}'` = yes; then
10601 cat >>confdefs.h <<_ACEOF
10602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10603 _ACEOF
10606 done
10616 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10617 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10618 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10619 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10620 echo $ECHO_N "(cached) $ECHO_C" >&6
10621 else
10625 ac_ext=cc
10626 ac_cpp='$CXXCPP $CPPFLAGS'
10627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10631 cat >conftest.$ac_ext <<_ACEOF
10632 /* confdefs.h. */
10633 _ACEOF
10634 cat confdefs.h >>conftest.$ac_ext
10635 cat >>conftest.$ac_ext <<_ACEOF
10636 /* end confdefs.h. */
10637 #include <math.h>
10638 #ifdef HAVE_IEEEFP_H
10639 #include <ieeefp.h>
10640 #endif
10643 main ()
10645 qfpclass(0);
10647 return 0;
10649 _ACEOF
10650 rm -f conftest.$ac_objext
10651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10652 (eval $ac_compile) 2>conftest.er1
10653 ac_status=$?
10654 grep -v '^ *+' conftest.er1 >conftest.err
10655 rm -f conftest.er1
10656 cat conftest.err >&5
10657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10658 (exit $ac_status); } &&
10659 { ac_try='test -z "$ac_cxx_werror_flag"
10660 || test ! -s conftest.err'
10661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10662 (eval $ac_try) 2>&5
10663 ac_status=$?
10664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10665 (exit $ac_status); }; } &&
10666 { ac_try='test -s conftest.$ac_objext'
10667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10668 (eval $ac_try) 2>&5
10669 ac_status=$?
10670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10671 (exit $ac_status); }; }; then
10672 glibcxx_cv_func_qfpclass_use=yes
10673 else
10674 echo "$as_me: failed program was:" >&5
10675 sed 's/^/| /' conftest.$ac_ext >&5
10677 glibcxx_cv_func_qfpclass_use=no
10679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10680 ac_ext=c
10681 ac_cpp='$CPP $CPPFLAGS'
10682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10690 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10691 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10693 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10695 for ac_func in qfpclass
10697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10698 echo "$as_me:$LINENO: checking for $ac_func" >&5
10699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10700 if eval "test \"\${$as_ac_var+set}\" = set"; then
10701 echo $ECHO_N "(cached) $ECHO_C" >&6
10702 else
10703 if test x$gcc_no_link = xyes; then
10704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10706 { (exit 1); exit 1; }; }
10708 cat >conftest.$ac_ext <<_ACEOF
10709 /* confdefs.h. */
10710 _ACEOF
10711 cat confdefs.h >>conftest.$ac_ext
10712 cat >>conftest.$ac_ext <<_ACEOF
10713 /* end confdefs.h. */
10714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10716 #define $ac_func innocuous_$ac_func
10718 /* System header to define __stub macros and hopefully few prototypes,
10719 which can conflict with char $ac_func (); below.
10720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10721 <limits.h> exists even on freestanding compilers. */
10723 #ifdef __STDC__
10724 # include <limits.h>
10725 #else
10726 # include <assert.h>
10727 #endif
10729 #undef $ac_func
10731 /* Override any gcc2 internal prototype to avoid an error. */
10732 #ifdef __cplusplus
10733 extern "C"
10735 #endif
10736 /* We use char because int might match the return type of a gcc2
10737 builtin and then its argument prototype would still apply. */
10738 char $ac_func ();
10739 /* The GNU C library defines this for functions which it implements
10740 to always fail with ENOSYS. Some functions are actually named
10741 something starting with __ and the normal name is an alias. */
10742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10743 choke me
10744 #else
10745 char (*f) () = $ac_func;
10746 #endif
10747 #ifdef __cplusplus
10749 #endif
10752 main ()
10754 return f != $ac_func;
10756 return 0;
10758 _ACEOF
10759 rm -f conftest.$ac_objext conftest$ac_exeext
10760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10761 (eval $ac_link) 2>conftest.er1
10762 ac_status=$?
10763 grep -v '^ *+' conftest.er1 >conftest.err
10764 rm -f conftest.er1
10765 cat conftest.err >&5
10766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10767 (exit $ac_status); } &&
10768 { ac_try='test -z "$ac_c_werror_flag"
10769 || test ! -s conftest.err'
10770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10771 (eval $ac_try) 2>&5
10772 ac_status=$?
10773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10774 (exit $ac_status); }; } &&
10775 { ac_try='test -s conftest$ac_exeext'
10776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10777 (eval $ac_try) 2>&5
10778 ac_status=$?
10779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10780 (exit $ac_status); }; }; then
10781 eval "$as_ac_var=yes"
10782 else
10783 echo "$as_me: failed program was:" >&5
10784 sed 's/^/| /' conftest.$ac_ext >&5
10786 eval "$as_ac_var=no"
10788 rm -f conftest.err conftest.$ac_objext \
10789 conftest$ac_exeext conftest.$ac_ext
10791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10793 if test `eval echo '${'$as_ac_var'}'` = yes; then
10794 cat >>confdefs.h <<_ACEOF
10795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10796 _ACEOF
10799 done
10801 else
10803 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
10804 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
10805 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
10806 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
10807 echo $ECHO_N "(cached) $ECHO_C" >&6
10808 else
10812 ac_ext=cc
10813 ac_cpp='$CXXCPP $CPPFLAGS'
10814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10818 cat >conftest.$ac_ext <<_ACEOF
10819 /* confdefs.h. */
10820 _ACEOF
10821 cat confdefs.h >>conftest.$ac_ext
10822 cat >>conftest.$ac_ext <<_ACEOF
10823 /* end confdefs.h. */
10824 #include <math.h>
10825 #ifdef HAVE_IEEEFP_H
10826 #include <ieeefp.h>
10827 #endif
10830 main ()
10832 _qfpclass(0);
10834 return 0;
10836 _ACEOF
10837 rm -f conftest.$ac_objext
10838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10839 (eval $ac_compile) 2>conftest.er1
10840 ac_status=$?
10841 grep -v '^ *+' conftest.er1 >conftest.err
10842 rm -f conftest.er1
10843 cat conftest.err >&5
10844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10845 (exit $ac_status); } &&
10846 { ac_try='test -z "$ac_cxx_werror_flag"
10847 || test ! -s conftest.err'
10848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10849 (eval $ac_try) 2>&5
10850 ac_status=$?
10851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10852 (exit $ac_status); }; } &&
10853 { ac_try='test -s conftest.$ac_objext'
10854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10855 (eval $ac_try) 2>&5
10856 ac_status=$?
10857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10858 (exit $ac_status); }; }; then
10859 glibcxx_cv_func__qfpclass_use=yes
10860 else
10861 echo "$as_me: failed program was:" >&5
10862 sed 's/^/| /' conftest.$ac_ext >&5
10864 glibcxx_cv_func__qfpclass_use=no
10866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10867 ac_ext=c
10868 ac_cpp='$CPP $CPPFLAGS'
10869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10877 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10878 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10880 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10882 for ac_func in _qfpclass
10884 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10885 echo "$as_me:$LINENO: checking for $ac_func" >&5
10886 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10887 if eval "test \"\${$as_ac_var+set}\" = set"; then
10888 echo $ECHO_N "(cached) $ECHO_C" >&6
10889 else
10890 if test x$gcc_no_link = xyes; then
10891 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10893 { (exit 1); exit 1; }; }
10895 cat >conftest.$ac_ext <<_ACEOF
10896 /* confdefs.h. */
10897 _ACEOF
10898 cat confdefs.h >>conftest.$ac_ext
10899 cat >>conftest.$ac_ext <<_ACEOF
10900 /* end confdefs.h. */
10901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10903 #define $ac_func innocuous_$ac_func
10905 /* System header to define __stub macros and hopefully few prototypes,
10906 which can conflict with char $ac_func (); below.
10907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10908 <limits.h> exists even on freestanding compilers. */
10910 #ifdef __STDC__
10911 # include <limits.h>
10912 #else
10913 # include <assert.h>
10914 #endif
10916 #undef $ac_func
10918 /* Override any gcc2 internal prototype to avoid an error. */
10919 #ifdef __cplusplus
10920 extern "C"
10922 #endif
10923 /* We use char because int might match the return type of a gcc2
10924 builtin and then its argument prototype would still apply. */
10925 char $ac_func ();
10926 /* The GNU C library defines this for functions which it implements
10927 to always fail with ENOSYS. Some functions are actually named
10928 something starting with __ and the normal name is an alias. */
10929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10930 choke me
10931 #else
10932 char (*f) () = $ac_func;
10933 #endif
10934 #ifdef __cplusplus
10936 #endif
10939 main ()
10941 return f != $ac_func;
10943 return 0;
10945 _ACEOF
10946 rm -f conftest.$ac_objext conftest$ac_exeext
10947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10948 (eval $ac_link) 2>conftest.er1
10949 ac_status=$?
10950 grep -v '^ *+' conftest.er1 >conftest.err
10951 rm -f conftest.er1
10952 cat conftest.err >&5
10953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10954 (exit $ac_status); } &&
10955 { ac_try='test -z "$ac_c_werror_flag"
10956 || test ! -s conftest.err'
10957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10958 (eval $ac_try) 2>&5
10959 ac_status=$?
10960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10961 (exit $ac_status); }; } &&
10962 { ac_try='test -s conftest$ac_exeext'
10963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10964 (eval $ac_try) 2>&5
10965 ac_status=$?
10966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10967 (exit $ac_status); }; }; then
10968 eval "$as_ac_var=yes"
10969 else
10970 echo "$as_me: failed program was:" >&5
10971 sed 's/^/| /' conftest.$ac_ext >&5
10973 eval "$as_ac_var=no"
10975 rm -f conftest.err conftest.$ac_objext \
10976 conftest$ac_exeext conftest.$ac_ext
10978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10980 if test `eval echo '${'$as_ac_var'}'` = yes; then
10981 cat >>confdefs.h <<_ACEOF
10982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10983 _ACEOF
10986 done
10996 echo "$as_me:$LINENO: checking for hypot declaration" >&5
10997 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
10998 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
10999 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
11000 echo $ECHO_N "(cached) $ECHO_C" >&6
11001 else
11005 ac_ext=cc
11006 ac_cpp='$CXXCPP $CPPFLAGS'
11007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11011 cat >conftest.$ac_ext <<_ACEOF
11012 /* confdefs.h. */
11013 _ACEOF
11014 cat confdefs.h >>conftest.$ac_ext
11015 cat >>conftest.$ac_ext <<_ACEOF
11016 /* end confdefs.h. */
11017 #include <math.h>
11019 main ()
11021 hypot(0, 0);
11023 return 0;
11025 _ACEOF
11026 rm -f conftest.$ac_objext
11027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11028 (eval $ac_compile) 2>conftest.er1
11029 ac_status=$?
11030 grep -v '^ *+' conftest.er1 >conftest.err
11031 rm -f conftest.er1
11032 cat conftest.err >&5
11033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11034 (exit $ac_status); } &&
11035 { ac_try='test -z "$ac_cxx_werror_flag"
11036 || test ! -s conftest.err'
11037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11038 (eval $ac_try) 2>&5
11039 ac_status=$?
11040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11041 (exit $ac_status); }; } &&
11042 { ac_try='test -s conftest.$ac_objext'
11043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11044 (eval $ac_try) 2>&5
11045 ac_status=$?
11046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11047 (exit $ac_status); }; }; then
11048 glibcxx_cv_func_hypot_use=yes
11049 else
11050 echo "$as_me: failed program was:" >&5
11051 sed 's/^/| /' conftest.$ac_ext >&5
11053 glibcxx_cv_func_hypot_use=no
11055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11056 ac_ext=c
11057 ac_cpp='$CPP $CPPFLAGS'
11058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11066 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11067 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11069 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11071 for ac_func in hypot
11073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11074 echo "$as_me:$LINENO: checking for $ac_func" >&5
11075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11076 if eval "test \"\${$as_ac_var+set}\" = set"; then
11077 echo $ECHO_N "(cached) $ECHO_C" >&6
11078 else
11079 if test x$gcc_no_link = xyes; then
11080 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11082 { (exit 1); exit 1; }; }
11084 cat >conftest.$ac_ext <<_ACEOF
11085 /* confdefs.h. */
11086 _ACEOF
11087 cat confdefs.h >>conftest.$ac_ext
11088 cat >>conftest.$ac_ext <<_ACEOF
11089 /* end confdefs.h. */
11090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11092 #define $ac_func innocuous_$ac_func
11094 /* System header to define __stub macros and hopefully few prototypes,
11095 which can conflict with char $ac_func (); below.
11096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11097 <limits.h> exists even on freestanding compilers. */
11099 #ifdef __STDC__
11100 # include <limits.h>
11101 #else
11102 # include <assert.h>
11103 #endif
11105 #undef $ac_func
11107 /* Override any gcc2 internal prototype to avoid an error. */
11108 #ifdef __cplusplus
11109 extern "C"
11111 #endif
11112 /* We use char because int might match the return type of a gcc2
11113 builtin and then its argument prototype would still apply. */
11114 char $ac_func ();
11115 /* The GNU C library defines this for functions which it implements
11116 to always fail with ENOSYS. Some functions are actually named
11117 something starting with __ and the normal name is an alias. */
11118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11119 choke me
11120 #else
11121 char (*f) () = $ac_func;
11122 #endif
11123 #ifdef __cplusplus
11125 #endif
11128 main ()
11130 return f != $ac_func;
11132 return 0;
11134 _ACEOF
11135 rm -f conftest.$ac_objext conftest$ac_exeext
11136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11137 (eval $ac_link) 2>conftest.er1
11138 ac_status=$?
11139 grep -v '^ *+' conftest.er1 >conftest.err
11140 rm -f conftest.er1
11141 cat conftest.err >&5
11142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11143 (exit $ac_status); } &&
11144 { ac_try='test -z "$ac_c_werror_flag"
11145 || test ! -s conftest.err'
11146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11147 (eval $ac_try) 2>&5
11148 ac_status=$?
11149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11150 (exit $ac_status); }; } &&
11151 { ac_try='test -s conftest$ac_exeext'
11152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11153 (eval $ac_try) 2>&5
11154 ac_status=$?
11155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11156 (exit $ac_status); }; }; then
11157 eval "$as_ac_var=yes"
11158 else
11159 echo "$as_me: failed program was:" >&5
11160 sed 's/^/| /' conftest.$ac_ext >&5
11162 eval "$as_ac_var=no"
11164 rm -f conftest.err conftest.$ac_objext \
11165 conftest$ac_exeext conftest.$ac_ext
11167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11169 if test `eval echo '${'$as_ac_var'}'` = yes; then
11170 cat >>confdefs.h <<_ACEOF
11171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11172 _ACEOF
11175 done
11177 else
11179 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11180 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11181 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11182 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11183 echo $ECHO_N "(cached) $ECHO_C" >&6
11184 else
11188 ac_ext=cc
11189 ac_cpp='$CXXCPP $CPPFLAGS'
11190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11194 cat >conftest.$ac_ext <<_ACEOF
11195 /* confdefs.h. */
11196 _ACEOF
11197 cat confdefs.h >>conftest.$ac_ext
11198 cat >>conftest.$ac_ext <<_ACEOF
11199 /* end confdefs.h. */
11200 #include <math.h>
11202 main ()
11204 _hypot(0, 0);
11206 return 0;
11208 _ACEOF
11209 rm -f conftest.$ac_objext
11210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11211 (eval $ac_compile) 2>conftest.er1
11212 ac_status=$?
11213 grep -v '^ *+' conftest.er1 >conftest.err
11214 rm -f conftest.er1
11215 cat conftest.err >&5
11216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11217 (exit $ac_status); } &&
11218 { ac_try='test -z "$ac_cxx_werror_flag"
11219 || test ! -s conftest.err'
11220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11221 (eval $ac_try) 2>&5
11222 ac_status=$?
11223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11224 (exit $ac_status); }; } &&
11225 { ac_try='test -s conftest.$ac_objext'
11226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11227 (eval $ac_try) 2>&5
11228 ac_status=$?
11229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11230 (exit $ac_status); }; }; then
11231 glibcxx_cv_func__hypot_use=yes
11232 else
11233 echo "$as_me: failed program was:" >&5
11234 sed 's/^/| /' conftest.$ac_ext >&5
11236 glibcxx_cv_func__hypot_use=no
11238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11239 ac_ext=c
11240 ac_cpp='$CPP $CPPFLAGS'
11241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11249 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11250 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11252 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11254 for ac_func in _hypot
11256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11257 echo "$as_me:$LINENO: checking for $ac_func" >&5
11258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11259 if eval "test \"\${$as_ac_var+set}\" = set"; then
11260 echo $ECHO_N "(cached) $ECHO_C" >&6
11261 else
11262 if test x$gcc_no_link = xyes; then
11263 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11265 { (exit 1); exit 1; }; }
11267 cat >conftest.$ac_ext <<_ACEOF
11268 /* confdefs.h. */
11269 _ACEOF
11270 cat confdefs.h >>conftest.$ac_ext
11271 cat >>conftest.$ac_ext <<_ACEOF
11272 /* end confdefs.h. */
11273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11275 #define $ac_func innocuous_$ac_func
11277 /* System header to define __stub macros and hopefully few prototypes,
11278 which can conflict with char $ac_func (); below.
11279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11280 <limits.h> exists even on freestanding compilers. */
11282 #ifdef __STDC__
11283 # include <limits.h>
11284 #else
11285 # include <assert.h>
11286 #endif
11288 #undef $ac_func
11290 /* Override any gcc2 internal prototype to avoid an error. */
11291 #ifdef __cplusplus
11292 extern "C"
11294 #endif
11295 /* We use char because int might match the return type of a gcc2
11296 builtin and then its argument prototype would still apply. */
11297 char $ac_func ();
11298 /* The GNU C library defines this for functions which it implements
11299 to always fail with ENOSYS. Some functions are actually named
11300 something starting with __ and the normal name is an alias. */
11301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11302 choke me
11303 #else
11304 char (*f) () = $ac_func;
11305 #endif
11306 #ifdef __cplusplus
11308 #endif
11311 main ()
11313 return f != $ac_func;
11315 return 0;
11317 _ACEOF
11318 rm -f conftest.$ac_objext conftest$ac_exeext
11319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11320 (eval $ac_link) 2>conftest.er1
11321 ac_status=$?
11322 grep -v '^ *+' conftest.er1 >conftest.err
11323 rm -f conftest.er1
11324 cat conftest.err >&5
11325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11326 (exit $ac_status); } &&
11327 { ac_try='test -z "$ac_c_werror_flag"
11328 || test ! -s conftest.err'
11329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11330 (eval $ac_try) 2>&5
11331 ac_status=$?
11332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11333 (exit $ac_status); }; } &&
11334 { ac_try='test -s conftest$ac_exeext'
11335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11336 (eval $ac_try) 2>&5
11337 ac_status=$?
11338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11339 (exit $ac_status); }; }; then
11340 eval "$as_ac_var=yes"
11341 else
11342 echo "$as_me: failed program was:" >&5
11343 sed 's/^/| /' conftest.$ac_ext >&5
11345 eval "$as_ac_var=no"
11347 rm -f conftest.err conftest.$ac_objext \
11348 conftest$ac_exeext conftest.$ac_ext
11350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11351 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11352 if test `eval echo '${'$as_ac_var'}'` = yes; then
11353 cat >>confdefs.h <<_ACEOF
11354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11355 _ACEOF
11358 done
11368 echo "$as_me:$LINENO: checking for float trig functions" >&5
11369 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11370 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11371 echo $ECHO_N "(cached) $ECHO_C" >&6
11372 else
11376 ac_ext=cc
11377 ac_cpp='$CXXCPP $CPPFLAGS'
11378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11382 cat >conftest.$ac_ext <<_ACEOF
11383 /* confdefs.h. */
11384 _ACEOF
11385 cat confdefs.h >>conftest.$ac_ext
11386 cat >>conftest.$ac_ext <<_ACEOF
11387 /* end confdefs.h. */
11388 #include <math.h>
11390 main ()
11392 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
11394 return 0;
11396 _ACEOF
11397 rm -f conftest.$ac_objext
11398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11399 (eval $ac_compile) 2>conftest.er1
11400 ac_status=$?
11401 grep -v '^ *+' conftest.er1 >conftest.err
11402 rm -f conftest.er1
11403 cat conftest.err >&5
11404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11405 (exit $ac_status); } &&
11406 { ac_try='test -z "$ac_cxx_werror_flag"
11407 || test ! -s conftest.err'
11408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11409 (eval $ac_try) 2>&5
11410 ac_status=$?
11411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11412 (exit $ac_status); }; } &&
11413 { ac_try='test -s conftest.$ac_objext'
11414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11415 (eval $ac_try) 2>&5
11416 ac_status=$?
11417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11418 (exit $ac_status); }; }; then
11419 glibcxx_cv_func_float_trig_use=yes
11420 else
11421 echo "$as_me: failed program was:" >&5
11422 sed 's/^/| /' conftest.$ac_ext >&5
11424 glibcxx_cv_func_float_trig_use=no
11426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11427 ac_ext=c
11428 ac_cpp='$CPP $CPPFLAGS'
11429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11435 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11436 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11437 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11447 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
11449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11450 echo "$as_me:$LINENO: checking for $ac_func" >&5
11451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11452 if eval "test \"\${$as_ac_var+set}\" = set"; then
11453 echo $ECHO_N "(cached) $ECHO_C" >&6
11454 else
11455 if test x$gcc_no_link = xyes; then
11456 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11458 { (exit 1); exit 1; }; }
11460 cat >conftest.$ac_ext <<_ACEOF
11461 /* confdefs.h. */
11462 _ACEOF
11463 cat confdefs.h >>conftest.$ac_ext
11464 cat >>conftest.$ac_ext <<_ACEOF
11465 /* end confdefs.h. */
11466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11467 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11468 #define $ac_func innocuous_$ac_func
11470 /* System header to define __stub macros and hopefully few prototypes,
11471 which can conflict with char $ac_func (); below.
11472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11473 <limits.h> exists even on freestanding compilers. */
11475 #ifdef __STDC__
11476 # include <limits.h>
11477 #else
11478 # include <assert.h>
11479 #endif
11481 #undef $ac_func
11483 /* Override any gcc2 internal prototype to avoid an error. */
11484 #ifdef __cplusplus
11485 extern "C"
11487 #endif
11488 /* We use char because int might match the return type of a gcc2
11489 builtin and then its argument prototype would still apply. */
11490 char $ac_func ();
11491 /* The GNU C library defines this for functions which it implements
11492 to always fail with ENOSYS. Some functions are actually named
11493 something starting with __ and the normal name is an alias. */
11494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11495 choke me
11496 #else
11497 char (*f) () = $ac_func;
11498 #endif
11499 #ifdef __cplusplus
11501 #endif
11504 main ()
11506 return f != $ac_func;
11508 return 0;
11510 _ACEOF
11511 rm -f conftest.$ac_objext conftest$ac_exeext
11512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11513 (eval $ac_link) 2>conftest.er1
11514 ac_status=$?
11515 grep -v '^ *+' conftest.er1 >conftest.err
11516 rm -f conftest.er1
11517 cat conftest.err >&5
11518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11519 (exit $ac_status); } &&
11520 { ac_try='test -z "$ac_c_werror_flag"
11521 || test ! -s conftest.err'
11522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11523 (eval $ac_try) 2>&5
11524 ac_status=$?
11525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11526 (exit $ac_status); }; } &&
11527 { ac_try='test -s conftest$ac_exeext'
11528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11529 (eval $ac_try) 2>&5
11530 ac_status=$?
11531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11532 (exit $ac_status); }; }; then
11533 eval "$as_ac_var=yes"
11534 else
11535 echo "$as_me: failed program was:" >&5
11536 sed 's/^/| /' conftest.$ac_ext >&5
11538 eval "$as_ac_var=no"
11540 rm -f conftest.err conftest.$ac_objext \
11541 conftest$ac_exeext conftest.$ac_ext
11543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11544 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11545 if test `eval echo '${'$as_ac_var'}'` = yes; then
11546 cat >>confdefs.h <<_ACEOF
11547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11548 _ACEOF
11551 done
11553 else
11554 echo "$as_me:$LINENO: checking for _float trig functions" >&5
11555 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
11556 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
11557 echo $ECHO_N "(cached) $ECHO_C" >&6
11558 else
11562 ac_ext=cc
11563 ac_cpp='$CXXCPP $CPPFLAGS'
11564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11568 cat >conftest.$ac_ext <<_ACEOF
11569 /* confdefs.h. */
11570 _ACEOF
11571 cat confdefs.h >>conftest.$ac_ext
11572 cat >>conftest.$ac_ext <<_ACEOF
11573 /* end confdefs.h. */
11574 #include <math.h>
11576 main ()
11578 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
11580 return 0;
11582 _ACEOF
11583 rm -f conftest.$ac_objext
11584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11585 (eval $ac_compile) 2>conftest.er1
11586 ac_status=$?
11587 grep -v '^ *+' conftest.er1 >conftest.err
11588 rm -f conftest.er1
11589 cat conftest.err >&5
11590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11591 (exit $ac_status); } &&
11592 { ac_try='test -z "$ac_cxx_werror_flag"
11593 || test ! -s conftest.err'
11594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11595 (eval $ac_try) 2>&5
11596 ac_status=$?
11597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11598 (exit $ac_status); }; } &&
11599 { ac_try='test -s conftest.$ac_objext'
11600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11601 (eval $ac_try) 2>&5
11602 ac_status=$?
11603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11604 (exit $ac_status); }; }; then
11605 glibcxx_cv_func__float_trig_use=yes
11606 else
11607 echo "$as_me: failed program was:" >&5
11608 sed 's/^/| /' conftest.$ac_ext >&5
11610 glibcxx_cv_func__float_trig_use=no
11612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11613 ac_ext=c
11614 ac_cpp='$CPP $CPPFLAGS'
11615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11621 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
11622 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
11623 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
11633 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
11635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11636 echo "$as_me:$LINENO: checking for $ac_func" >&5
11637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11638 if eval "test \"\${$as_ac_var+set}\" = set"; then
11639 echo $ECHO_N "(cached) $ECHO_C" >&6
11640 else
11641 if test x$gcc_no_link = xyes; then
11642 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11644 { (exit 1); exit 1; }; }
11646 cat >conftest.$ac_ext <<_ACEOF
11647 /* confdefs.h. */
11648 _ACEOF
11649 cat confdefs.h >>conftest.$ac_ext
11650 cat >>conftest.$ac_ext <<_ACEOF
11651 /* end confdefs.h. */
11652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11654 #define $ac_func innocuous_$ac_func
11656 /* System header to define __stub macros and hopefully few prototypes,
11657 which can conflict with char $ac_func (); below.
11658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11659 <limits.h> exists even on freestanding compilers. */
11661 #ifdef __STDC__
11662 # include <limits.h>
11663 #else
11664 # include <assert.h>
11665 #endif
11667 #undef $ac_func
11669 /* Override any gcc2 internal prototype to avoid an error. */
11670 #ifdef __cplusplus
11671 extern "C"
11673 #endif
11674 /* We use char because int might match the return type of a gcc2
11675 builtin and then its argument prototype would still apply. */
11676 char $ac_func ();
11677 /* The GNU C library defines this for functions which it implements
11678 to always fail with ENOSYS. Some functions are actually named
11679 something starting with __ and the normal name is an alias. */
11680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11681 choke me
11682 #else
11683 char (*f) () = $ac_func;
11684 #endif
11685 #ifdef __cplusplus
11687 #endif
11690 main ()
11692 return f != $ac_func;
11694 return 0;
11696 _ACEOF
11697 rm -f conftest.$ac_objext conftest$ac_exeext
11698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11699 (eval $ac_link) 2>conftest.er1
11700 ac_status=$?
11701 grep -v '^ *+' conftest.er1 >conftest.err
11702 rm -f conftest.er1
11703 cat conftest.err >&5
11704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11705 (exit $ac_status); } &&
11706 { ac_try='test -z "$ac_c_werror_flag"
11707 || test ! -s conftest.err'
11708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11709 (eval $ac_try) 2>&5
11710 ac_status=$?
11711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11712 (exit $ac_status); }; } &&
11713 { ac_try='test -s conftest$ac_exeext'
11714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11715 (eval $ac_try) 2>&5
11716 ac_status=$?
11717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11718 (exit $ac_status); }; }; then
11719 eval "$as_ac_var=yes"
11720 else
11721 echo "$as_me: failed program was:" >&5
11722 sed 's/^/| /' conftest.$ac_ext >&5
11724 eval "$as_ac_var=no"
11726 rm -f conftest.err conftest.$ac_objext \
11727 conftest$ac_exeext conftest.$ac_ext
11729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11731 if test `eval echo '${'$as_ac_var'}'` = yes; then
11732 cat >>confdefs.h <<_ACEOF
11733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11734 _ACEOF
11737 done
11755 echo "$as_me:$LINENO: checking for float round functions" >&5
11756 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11757 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11758 echo $ECHO_N "(cached) $ECHO_C" >&6
11759 else
11763 ac_ext=cc
11764 ac_cpp='$CXXCPP $CPPFLAGS'
11765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11769 cat >conftest.$ac_ext <<_ACEOF
11770 /* confdefs.h. */
11771 _ACEOF
11772 cat confdefs.h >>conftest.$ac_ext
11773 cat >>conftest.$ac_ext <<_ACEOF
11774 /* end confdefs.h. */
11775 #include <math.h>
11777 main ()
11779 ceilf (0); floorf (0);
11781 return 0;
11783 _ACEOF
11784 rm -f conftest.$ac_objext
11785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11786 (eval $ac_compile) 2>conftest.er1
11787 ac_status=$?
11788 grep -v '^ *+' conftest.er1 >conftest.err
11789 rm -f conftest.er1
11790 cat conftest.err >&5
11791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11792 (exit $ac_status); } &&
11793 { ac_try='test -z "$ac_cxx_werror_flag"
11794 || test ! -s conftest.err'
11795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11796 (eval $ac_try) 2>&5
11797 ac_status=$?
11798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11799 (exit $ac_status); }; } &&
11800 { ac_try='test -s conftest.$ac_objext'
11801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11802 (eval $ac_try) 2>&5
11803 ac_status=$?
11804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11805 (exit $ac_status); }; }; then
11806 glibcxx_cv_func_float_round_use=yes
11807 else
11808 echo "$as_me: failed program was:" >&5
11809 sed 's/^/| /' conftest.$ac_ext >&5
11811 glibcxx_cv_func_float_round_use=no
11813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11814 ac_ext=c
11815 ac_cpp='$CPP $CPPFLAGS'
11816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11822 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
11823 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
11824 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
11827 for ac_func in ceilf floorf
11829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11830 echo "$as_me:$LINENO: checking for $ac_func" >&5
11831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11832 if eval "test \"\${$as_ac_var+set}\" = set"; then
11833 echo $ECHO_N "(cached) $ECHO_C" >&6
11834 else
11835 if test x$gcc_no_link = xyes; then
11836 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11838 { (exit 1); exit 1; }; }
11840 cat >conftest.$ac_ext <<_ACEOF
11841 /* confdefs.h. */
11842 _ACEOF
11843 cat confdefs.h >>conftest.$ac_ext
11844 cat >>conftest.$ac_ext <<_ACEOF
11845 /* end confdefs.h. */
11846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11848 #define $ac_func innocuous_$ac_func
11850 /* System header to define __stub macros and hopefully few prototypes,
11851 which can conflict with char $ac_func (); below.
11852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11853 <limits.h> exists even on freestanding compilers. */
11855 #ifdef __STDC__
11856 # include <limits.h>
11857 #else
11858 # include <assert.h>
11859 #endif
11861 #undef $ac_func
11863 /* Override any gcc2 internal prototype to avoid an error. */
11864 #ifdef __cplusplus
11865 extern "C"
11867 #endif
11868 /* We use char because int might match the return type of a gcc2
11869 builtin and then its argument prototype would still apply. */
11870 char $ac_func ();
11871 /* The GNU C library defines this for functions which it implements
11872 to always fail with ENOSYS. Some functions are actually named
11873 something starting with __ and the normal name is an alias. */
11874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11875 choke me
11876 #else
11877 char (*f) () = $ac_func;
11878 #endif
11879 #ifdef __cplusplus
11881 #endif
11884 main ()
11886 return f != $ac_func;
11888 return 0;
11890 _ACEOF
11891 rm -f conftest.$ac_objext conftest$ac_exeext
11892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11893 (eval $ac_link) 2>conftest.er1
11894 ac_status=$?
11895 grep -v '^ *+' conftest.er1 >conftest.err
11896 rm -f conftest.er1
11897 cat conftest.err >&5
11898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11899 (exit $ac_status); } &&
11900 { ac_try='test -z "$ac_c_werror_flag"
11901 || test ! -s conftest.err'
11902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11903 (eval $ac_try) 2>&5
11904 ac_status=$?
11905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11906 (exit $ac_status); }; } &&
11907 { ac_try='test -s conftest$ac_exeext'
11908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11909 (eval $ac_try) 2>&5
11910 ac_status=$?
11911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11912 (exit $ac_status); }; }; then
11913 eval "$as_ac_var=yes"
11914 else
11915 echo "$as_me: failed program was:" >&5
11916 sed 's/^/| /' conftest.$ac_ext >&5
11918 eval "$as_ac_var=no"
11920 rm -f conftest.err conftest.$ac_objext \
11921 conftest$ac_exeext conftest.$ac_ext
11923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11925 if test `eval echo '${'$as_ac_var'}'` = yes; then
11926 cat >>confdefs.h <<_ACEOF
11927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11928 _ACEOF
11931 done
11933 else
11934 echo "$as_me:$LINENO: checking for _float round functions" >&5
11935 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
11936 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
11937 echo $ECHO_N "(cached) $ECHO_C" >&6
11938 else
11942 ac_ext=cc
11943 ac_cpp='$CXXCPP $CPPFLAGS'
11944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11948 cat >conftest.$ac_ext <<_ACEOF
11949 /* confdefs.h. */
11950 _ACEOF
11951 cat confdefs.h >>conftest.$ac_ext
11952 cat >>conftest.$ac_ext <<_ACEOF
11953 /* end confdefs.h. */
11954 #include <math.h>
11956 main ()
11958 _ceilf (0); _floorf (0);
11960 return 0;
11962 _ACEOF
11963 rm -f conftest.$ac_objext
11964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11965 (eval $ac_compile) 2>conftest.er1
11966 ac_status=$?
11967 grep -v '^ *+' conftest.er1 >conftest.err
11968 rm -f conftest.er1
11969 cat conftest.err >&5
11970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11971 (exit $ac_status); } &&
11972 { ac_try='test -z "$ac_cxx_werror_flag"
11973 || test ! -s conftest.err'
11974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11975 (eval $ac_try) 2>&5
11976 ac_status=$?
11977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11978 (exit $ac_status); }; } &&
11979 { ac_try='test -s conftest.$ac_objext'
11980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11981 (eval $ac_try) 2>&5
11982 ac_status=$?
11983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11984 (exit $ac_status); }; }; then
11985 glibcxx_cv_func__float_round_use=yes
11986 else
11987 echo "$as_me: failed program was:" >&5
11988 sed 's/^/| /' conftest.$ac_ext >&5
11990 glibcxx_cv_func__float_round_use=no
11992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11993 ac_ext=c
11994 ac_cpp='$CPP $CPPFLAGS'
11995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12001 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
12002 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
12003 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
12006 for ac_func in _ceilf _floorf
12008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12009 echo "$as_me:$LINENO: checking for $ac_func" >&5
12010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12011 if eval "test \"\${$as_ac_var+set}\" = set"; then
12012 echo $ECHO_N "(cached) $ECHO_C" >&6
12013 else
12014 if test x$gcc_no_link = xyes; then
12015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12017 { (exit 1); exit 1; }; }
12019 cat >conftest.$ac_ext <<_ACEOF
12020 /* confdefs.h. */
12021 _ACEOF
12022 cat confdefs.h >>conftest.$ac_ext
12023 cat >>conftest.$ac_ext <<_ACEOF
12024 /* end confdefs.h. */
12025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12027 #define $ac_func innocuous_$ac_func
12029 /* System header to define __stub macros and hopefully few prototypes,
12030 which can conflict with char $ac_func (); below.
12031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12032 <limits.h> exists even on freestanding compilers. */
12034 #ifdef __STDC__
12035 # include <limits.h>
12036 #else
12037 # include <assert.h>
12038 #endif
12040 #undef $ac_func
12042 /* Override any gcc2 internal prototype to avoid an error. */
12043 #ifdef __cplusplus
12044 extern "C"
12046 #endif
12047 /* We use char because int might match the return type of a gcc2
12048 builtin and then its argument prototype would still apply. */
12049 char $ac_func ();
12050 /* The GNU C library defines this for functions which it implements
12051 to always fail with ENOSYS. Some functions are actually named
12052 something starting with __ and the normal name is an alias. */
12053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12054 choke me
12055 #else
12056 char (*f) () = $ac_func;
12057 #endif
12058 #ifdef __cplusplus
12060 #endif
12063 main ()
12065 return f != $ac_func;
12067 return 0;
12069 _ACEOF
12070 rm -f conftest.$ac_objext conftest$ac_exeext
12071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12072 (eval $ac_link) 2>conftest.er1
12073 ac_status=$?
12074 grep -v '^ *+' conftest.er1 >conftest.err
12075 rm -f conftest.er1
12076 cat conftest.err >&5
12077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12078 (exit $ac_status); } &&
12079 { ac_try='test -z "$ac_c_werror_flag"
12080 || test ! -s conftest.err'
12081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12082 (eval $ac_try) 2>&5
12083 ac_status=$?
12084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12085 (exit $ac_status); }; } &&
12086 { ac_try='test -s conftest$ac_exeext'
12087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12088 (eval $ac_try) 2>&5
12089 ac_status=$?
12090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12091 (exit $ac_status); }; }; then
12092 eval "$as_ac_var=yes"
12093 else
12094 echo "$as_me: failed program was:" >&5
12095 sed 's/^/| /' conftest.$ac_ext >&5
12097 eval "$as_ac_var=no"
12099 rm -f conftest.err conftest.$ac_objext \
12100 conftest$ac_exeext conftest.$ac_ext
12102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12104 if test `eval echo '${'$as_ac_var'}'` = yes; then
12105 cat >>confdefs.h <<_ACEOF
12106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12107 _ACEOF
12110 done
12122 echo "$as_me:$LINENO: checking for expf declaration" >&5
12123 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
12124 if test x${glibcxx_cv_func_expf_use+set} != xset; then
12125 if test "${glibcxx_cv_func_expf_use+set}" = set; then
12126 echo $ECHO_N "(cached) $ECHO_C" >&6
12127 else
12131 ac_ext=cc
12132 ac_cpp='$CXXCPP $CPPFLAGS'
12133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12137 cat >conftest.$ac_ext <<_ACEOF
12138 /* confdefs.h. */
12139 _ACEOF
12140 cat confdefs.h >>conftest.$ac_ext
12141 cat >>conftest.$ac_ext <<_ACEOF
12142 /* end confdefs.h. */
12143 #include <math.h>
12144 #ifdef HAVE_IEEEFP_H
12145 #include <ieeefp.h>
12146 #endif
12149 main ()
12151 expf(0);
12153 return 0;
12155 _ACEOF
12156 rm -f conftest.$ac_objext
12157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12158 (eval $ac_compile) 2>conftest.er1
12159 ac_status=$?
12160 grep -v '^ *+' conftest.er1 >conftest.err
12161 rm -f conftest.er1
12162 cat conftest.err >&5
12163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12164 (exit $ac_status); } &&
12165 { ac_try='test -z "$ac_cxx_werror_flag"
12166 || test ! -s conftest.err'
12167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12168 (eval $ac_try) 2>&5
12169 ac_status=$?
12170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12171 (exit $ac_status); }; } &&
12172 { ac_try='test -s conftest.$ac_objext'
12173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12174 (eval $ac_try) 2>&5
12175 ac_status=$?
12176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12177 (exit $ac_status); }; }; then
12178 glibcxx_cv_func_expf_use=yes
12179 else
12180 echo "$as_me: failed program was:" >&5
12181 sed 's/^/| /' conftest.$ac_ext >&5
12183 glibcxx_cv_func_expf_use=no
12185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12186 ac_ext=c
12187 ac_cpp='$CPP $CPPFLAGS'
12188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12196 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
12197 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
12199 if test x$glibcxx_cv_func_expf_use = x"yes"; then
12201 for ac_func in expf
12203 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12204 echo "$as_me:$LINENO: checking for $ac_func" >&5
12205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12206 if eval "test \"\${$as_ac_var+set}\" = set"; then
12207 echo $ECHO_N "(cached) $ECHO_C" >&6
12208 else
12209 if test x$gcc_no_link = xyes; then
12210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12212 { (exit 1); exit 1; }; }
12214 cat >conftest.$ac_ext <<_ACEOF
12215 /* confdefs.h. */
12216 _ACEOF
12217 cat confdefs.h >>conftest.$ac_ext
12218 cat >>conftest.$ac_ext <<_ACEOF
12219 /* end confdefs.h. */
12220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12222 #define $ac_func innocuous_$ac_func
12224 /* System header to define __stub macros and hopefully few prototypes,
12225 which can conflict with char $ac_func (); below.
12226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12227 <limits.h> exists even on freestanding compilers. */
12229 #ifdef __STDC__
12230 # include <limits.h>
12231 #else
12232 # include <assert.h>
12233 #endif
12235 #undef $ac_func
12237 /* Override any gcc2 internal prototype to avoid an error. */
12238 #ifdef __cplusplus
12239 extern "C"
12241 #endif
12242 /* We use char because int might match the return type of a gcc2
12243 builtin and then its argument prototype would still apply. */
12244 char $ac_func ();
12245 /* The GNU C library defines this for functions which it implements
12246 to always fail with ENOSYS. Some functions are actually named
12247 something starting with __ and the normal name is an alias. */
12248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12249 choke me
12250 #else
12251 char (*f) () = $ac_func;
12252 #endif
12253 #ifdef __cplusplus
12255 #endif
12258 main ()
12260 return f != $ac_func;
12262 return 0;
12264 _ACEOF
12265 rm -f conftest.$ac_objext conftest$ac_exeext
12266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12267 (eval $ac_link) 2>conftest.er1
12268 ac_status=$?
12269 grep -v '^ *+' conftest.er1 >conftest.err
12270 rm -f conftest.er1
12271 cat conftest.err >&5
12272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12273 (exit $ac_status); } &&
12274 { ac_try='test -z "$ac_c_werror_flag"
12275 || test ! -s conftest.err'
12276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12277 (eval $ac_try) 2>&5
12278 ac_status=$?
12279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12280 (exit $ac_status); }; } &&
12281 { ac_try='test -s conftest$ac_exeext'
12282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12283 (eval $ac_try) 2>&5
12284 ac_status=$?
12285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12286 (exit $ac_status); }; }; then
12287 eval "$as_ac_var=yes"
12288 else
12289 echo "$as_me: failed program was:" >&5
12290 sed 's/^/| /' conftest.$ac_ext >&5
12292 eval "$as_ac_var=no"
12294 rm -f conftest.err conftest.$ac_objext \
12295 conftest$ac_exeext conftest.$ac_ext
12297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12298 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12299 if test `eval echo '${'$as_ac_var'}'` = yes; then
12300 cat >>confdefs.h <<_ACEOF
12301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12302 _ACEOF
12305 done
12307 else
12309 echo "$as_me:$LINENO: checking for _expf declaration" >&5
12310 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
12311 if test x${glibcxx_cv_func__expf_use+set} != xset; then
12312 if test "${glibcxx_cv_func__expf_use+set}" = set; then
12313 echo $ECHO_N "(cached) $ECHO_C" >&6
12314 else
12318 ac_ext=cc
12319 ac_cpp='$CXXCPP $CPPFLAGS'
12320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12324 cat >conftest.$ac_ext <<_ACEOF
12325 /* confdefs.h. */
12326 _ACEOF
12327 cat confdefs.h >>conftest.$ac_ext
12328 cat >>conftest.$ac_ext <<_ACEOF
12329 /* end confdefs.h. */
12330 #include <math.h>
12331 #ifdef HAVE_IEEEFP_H
12332 #include <ieeefp.h>
12333 #endif
12336 main ()
12338 _expf(0);
12340 return 0;
12342 _ACEOF
12343 rm -f conftest.$ac_objext
12344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12345 (eval $ac_compile) 2>conftest.er1
12346 ac_status=$?
12347 grep -v '^ *+' conftest.er1 >conftest.err
12348 rm -f conftest.er1
12349 cat conftest.err >&5
12350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12351 (exit $ac_status); } &&
12352 { ac_try='test -z "$ac_cxx_werror_flag"
12353 || test ! -s conftest.err'
12354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12355 (eval $ac_try) 2>&5
12356 ac_status=$?
12357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12358 (exit $ac_status); }; } &&
12359 { ac_try='test -s conftest.$ac_objext'
12360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12361 (eval $ac_try) 2>&5
12362 ac_status=$?
12363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12364 (exit $ac_status); }; }; then
12365 glibcxx_cv_func__expf_use=yes
12366 else
12367 echo "$as_me: failed program was:" >&5
12368 sed 's/^/| /' conftest.$ac_ext >&5
12370 glibcxx_cv_func__expf_use=no
12372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12373 ac_ext=c
12374 ac_cpp='$CPP $CPPFLAGS'
12375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12383 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
12384 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
12386 if test x$glibcxx_cv_func__expf_use = x"yes"; then
12388 for ac_func in _expf
12390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12391 echo "$as_me:$LINENO: checking for $ac_func" >&5
12392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12393 if eval "test \"\${$as_ac_var+set}\" = set"; then
12394 echo $ECHO_N "(cached) $ECHO_C" >&6
12395 else
12396 if test x$gcc_no_link = xyes; then
12397 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12399 { (exit 1); exit 1; }; }
12401 cat >conftest.$ac_ext <<_ACEOF
12402 /* confdefs.h. */
12403 _ACEOF
12404 cat confdefs.h >>conftest.$ac_ext
12405 cat >>conftest.$ac_ext <<_ACEOF
12406 /* end confdefs.h. */
12407 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12408 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12409 #define $ac_func innocuous_$ac_func
12411 /* System header to define __stub macros and hopefully few prototypes,
12412 which can conflict with char $ac_func (); below.
12413 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12414 <limits.h> exists even on freestanding compilers. */
12416 #ifdef __STDC__
12417 # include <limits.h>
12418 #else
12419 # include <assert.h>
12420 #endif
12422 #undef $ac_func
12424 /* Override any gcc2 internal prototype to avoid an error. */
12425 #ifdef __cplusplus
12426 extern "C"
12428 #endif
12429 /* We use char because int might match the return type of a gcc2
12430 builtin and then its argument prototype would still apply. */
12431 char $ac_func ();
12432 /* The GNU C library defines this for functions which it implements
12433 to always fail with ENOSYS. Some functions are actually named
12434 something starting with __ and the normal name is an alias. */
12435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12436 choke me
12437 #else
12438 char (*f) () = $ac_func;
12439 #endif
12440 #ifdef __cplusplus
12442 #endif
12445 main ()
12447 return f != $ac_func;
12449 return 0;
12451 _ACEOF
12452 rm -f conftest.$ac_objext conftest$ac_exeext
12453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12454 (eval $ac_link) 2>conftest.er1
12455 ac_status=$?
12456 grep -v '^ *+' conftest.er1 >conftest.err
12457 rm -f conftest.er1
12458 cat conftest.err >&5
12459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12460 (exit $ac_status); } &&
12461 { ac_try='test -z "$ac_c_werror_flag"
12462 || test ! -s conftest.err'
12463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12464 (eval $ac_try) 2>&5
12465 ac_status=$?
12466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12467 (exit $ac_status); }; } &&
12468 { ac_try='test -s conftest$ac_exeext'
12469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12470 (eval $ac_try) 2>&5
12471 ac_status=$?
12472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12473 (exit $ac_status); }; }; then
12474 eval "$as_ac_var=yes"
12475 else
12476 echo "$as_me: failed program was:" >&5
12477 sed 's/^/| /' conftest.$ac_ext >&5
12479 eval "$as_ac_var=no"
12481 rm -f conftest.err conftest.$ac_objext \
12482 conftest$ac_exeext conftest.$ac_ext
12484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12486 if test `eval echo '${'$as_ac_var'}'` = yes; then
12487 cat >>confdefs.h <<_ACEOF
12488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12489 _ACEOF
12492 done
12502 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12503 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12504 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12505 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12506 echo $ECHO_N "(cached) $ECHO_C" >&6
12507 else
12511 ac_ext=cc
12512 ac_cpp='$CXXCPP $CPPFLAGS'
12513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12517 cat >conftest.$ac_ext <<_ACEOF
12518 /* confdefs.h. */
12519 _ACEOF
12520 cat confdefs.h >>conftest.$ac_ext
12521 cat >>conftest.$ac_ext <<_ACEOF
12522 /* end confdefs.h. */
12523 #include <math.h>
12524 #ifdef HAVE_IEEEFP_H
12525 #include <ieeefp.h>
12526 #endif
12529 main ()
12531 isnanf(0);
12533 return 0;
12535 _ACEOF
12536 rm -f conftest.$ac_objext
12537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12538 (eval $ac_compile) 2>conftest.er1
12539 ac_status=$?
12540 grep -v '^ *+' conftest.er1 >conftest.err
12541 rm -f conftest.er1
12542 cat conftest.err >&5
12543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12544 (exit $ac_status); } &&
12545 { ac_try='test -z "$ac_cxx_werror_flag"
12546 || test ! -s conftest.err'
12547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12548 (eval $ac_try) 2>&5
12549 ac_status=$?
12550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12551 (exit $ac_status); }; } &&
12552 { ac_try='test -s conftest.$ac_objext'
12553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12554 (eval $ac_try) 2>&5
12555 ac_status=$?
12556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12557 (exit $ac_status); }; }; then
12558 glibcxx_cv_func_isnanf_use=yes
12559 else
12560 echo "$as_me: failed program was:" >&5
12561 sed 's/^/| /' conftest.$ac_ext >&5
12563 glibcxx_cv_func_isnanf_use=no
12565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12566 ac_ext=c
12567 ac_cpp='$CPP $CPPFLAGS'
12568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12576 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12577 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12579 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12581 for ac_func in isnanf
12583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12584 echo "$as_me:$LINENO: checking for $ac_func" >&5
12585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12586 if eval "test \"\${$as_ac_var+set}\" = set"; then
12587 echo $ECHO_N "(cached) $ECHO_C" >&6
12588 else
12589 if test x$gcc_no_link = xyes; then
12590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12592 { (exit 1); exit 1; }; }
12594 cat >conftest.$ac_ext <<_ACEOF
12595 /* confdefs.h. */
12596 _ACEOF
12597 cat confdefs.h >>conftest.$ac_ext
12598 cat >>conftest.$ac_ext <<_ACEOF
12599 /* end confdefs.h. */
12600 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12602 #define $ac_func innocuous_$ac_func
12604 /* System header to define __stub macros and hopefully few prototypes,
12605 which can conflict with char $ac_func (); below.
12606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12607 <limits.h> exists even on freestanding compilers. */
12609 #ifdef __STDC__
12610 # include <limits.h>
12611 #else
12612 # include <assert.h>
12613 #endif
12615 #undef $ac_func
12617 /* Override any gcc2 internal prototype to avoid an error. */
12618 #ifdef __cplusplus
12619 extern "C"
12621 #endif
12622 /* We use char because int might match the return type of a gcc2
12623 builtin and then its argument prototype would still apply. */
12624 char $ac_func ();
12625 /* The GNU C library defines this for functions which it implements
12626 to always fail with ENOSYS. Some functions are actually named
12627 something starting with __ and the normal name is an alias. */
12628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12629 choke me
12630 #else
12631 char (*f) () = $ac_func;
12632 #endif
12633 #ifdef __cplusplus
12635 #endif
12638 main ()
12640 return f != $ac_func;
12642 return 0;
12644 _ACEOF
12645 rm -f conftest.$ac_objext conftest$ac_exeext
12646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12647 (eval $ac_link) 2>conftest.er1
12648 ac_status=$?
12649 grep -v '^ *+' conftest.er1 >conftest.err
12650 rm -f conftest.er1
12651 cat conftest.err >&5
12652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12653 (exit $ac_status); } &&
12654 { ac_try='test -z "$ac_c_werror_flag"
12655 || test ! -s conftest.err'
12656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12657 (eval $ac_try) 2>&5
12658 ac_status=$?
12659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12660 (exit $ac_status); }; } &&
12661 { ac_try='test -s conftest$ac_exeext'
12662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12663 (eval $ac_try) 2>&5
12664 ac_status=$?
12665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12666 (exit $ac_status); }; }; then
12667 eval "$as_ac_var=yes"
12668 else
12669 echo "$as_me: failed program was:" >&5
12670 sed 's/^/| /' conftest.$ac_ext >&5
12672 eval "$as_ac_var=no"
12674 rm -f conftest.err conftest.$ac_objext \
12675 conftest$ac_exeext conftest.$ac_ext
12677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12678 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12679 if test `eval echo '${'$as_ac_var'}'` = yes; then
12680 cat >>confdefs.h <<_ACEOF
12681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12682 _ACEOF
12685 done
12687 else
12689 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12690 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12691 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12692 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12693 echo $ECHO_N "(cached) $ECHO_C" >&6
12694 else
12698 ac_ext=cc
12699 ac_cpp='$CXXCPP $CPPFLAGS'
12700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12704 cat >conftest.$ac_ext <<_ACEOF
12705 /* confdefs.h. */
12706 _ACEOF
12707 cat confdefs.h >>conftest.$ac_ext
12708 cat >>conftest.$ac_ext <<_ACEOF
12709 /* end confdefs.h. */
12710 #include <math.h>
12711 #ifdef HAVE_IEEEFP_H
12712 #include <ieeefp.h>
12713 #endif
12716 main ()
12718 _isnanf(0);
12720 return 0;
12722 _ACEOF
12723 rm -f conftest.$ac_objext
12724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12725 (eval $ac_compile) 2>conftest.er1
12726 ac_status=$?
12727 grep -v '^ *+' conftest.er1 >conftest.err
12728 rm -f conftest.er1
12729 cat conftest.err >&5
12730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12731 (exit $ac_status); } &&
12732 { ac_try='test -z "$ac_cxx_werror_flag"
12733 || test ! -s conftest.err'
12734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12735 (eval $ac_try) 2>&5
12736 ac_status=$?
12737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12738 (exit $ac_status); }; } &&
12739 { ac_try='test -s conftest.$ac_objext'
12740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12741 (eval $ac_try) 2>&5
12742 ac_status=$?
12743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12744 (exit $ac_status); }; }; then
12745 glibcxx_cv_func__isnanf_use=yes
12746 else
12747 echo "$as_me: failed program was:" >&5
12748 sed 's/^/| /' conftest.$ac_ext >&5
12750 glibcxx_cv_func__isnanf_use=no
12752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12753 ac_ext=c
12754 ac_cpp='$CPP $CPPFLAGS'
12755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12763 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
12764 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
12766 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
12768 for ac_func in _isnanf
12770 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12771 echo "$as_me:$LINENO: checking for $ac_func" >&5
12772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12773 if eval "test \"\${$as_ac_var+set}\" = set"; then
12774 echo $ECHO_N "(cached) $ECHO_C" >&6
12775 else
12776 if test x$gcc_no_link = xyes; then
12777 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12779 { (exit 1); exit 1; }; }
12781 cat >conftest.$ac_ext <<_ACEOF
12782 /* confdefs.h. */
12783 _ACEOF
12784 cat confdefs.h >>conftest.$ac_ext
12785 cat >>conftest.$ac_ext <<_ACEOF
12786 /* end confdefs.h. */
12787 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12789 #define $ac_func innocuous_$ac_func
12791 /* System header to define __stub macros and hopefully few prototypes,
12792 which can conflict with char $ac_func (); below.
12793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12794 <limits.h> exists even on freestanding compilers. */
12796 #ifdef __STDC__
12797 # include <limits.h>
12798 #else
12799 # include <assert.h>
12800 #endif
12802 #undef $ac_func
12804 /* Override any gcc2 internal prototype to avoid an error. */
12805 #ifdef __cplusplus
12806 extern "C"
12808 #endif
12809 /* We use char because int might match the return type of a gcc2
12810 builtin and then its argument prototype would still apply. */
12811 char $ac_func ();
12812 /* The GNU C library defines this for functions which it implements
12813 to always fail with ENOSYS. Some functions are actually named
12814 something starting with __ and the normal name is an alias. */
12815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12816 choke me
12817 #else
12818 char (*f) () = $ac_func;
12819 #endif
12820 #ifdef __cplusplus
12822 #endif
12825 main ()
12827 return f != $ac_func;
12829 return 0;
12831 _ACEOF
12832 rm -f conftest.$ac_objext conftest$ac_exeext
12833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12834 (eval $ac_link) 2>conftest.er1
12835 ac_status=$?
12836 grep -v '^ *+' conftest.er1 >conftest.err
12837 rm -f conftest.er1
12838 cat conftest.err >&5
12839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12840 (exit $ac_status); } &&
12841 { ac_try='test -z "$ac_c_werror_flag"
12842 || test ! -s conftest.err'
12843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12844 (eval $ac_try) 2>&5
12845 ac_status=$?
12846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12847 (exit $ac_status); }; } &&
12848 { ac_try='test -s conftest$ac_exeext'
12849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12850 (eval $ac_try) 2>&5
12851 ac_status=$?
12852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12853 (exit $ac_status); }; }; then
12854 eval "$as_ac_var=yes"
12855 else
12856 echo "$as_me: failed program was:" >&5
12857 sed 's/^/| /' conftest.$ac_ext >&5
12859 eval "$as_ac_var=no"
12861 rm -f conftest.err conftest.$ac_objext \
12862 conftest$ac_exeext conftest.$ac_ext
12864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12865 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12866 if test `eval echo '${'$as_ac_var'}'` = yes; then
12867 cat >>confdefs.h <<_ACEOF
12868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12869 _ACEOF
12872 done
12882 echo "$as_me:$LINENO: checking for isinff declaration" >&5
12883 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
12884 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
12885 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
12886 echo $ECHO_N "(cached) $ECHO_C" >&6
12887 else
12891 ac_ext=cc
12892 ac_cpp='$CXXCPP $CPPFLAGS'
12893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12897 cat >conftest.$ac_ext <<_ACEOF
12898 /* confdefs.h. */
12899 _ACEOF
12900 cat confdefs.h >>conftest.$ac_ext
12901 cat >>conftest.$ac_ext <<_ACEOF
12902 /* end confdefs.h. */
12903 #include <math.h>
12904 #ifdef HAVE_IEEEFP_H
12905 #include <ieeefp.h>
12906 #endif
12909 main ()
12911 isinff(0);
12913 return 0;
12915 _ACEOF
12916 rm -f conftest.$ac_objext
12917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12918 (eval $ac_compile) 2>conftest.er1
12919 ac_status=$?
12920 grep -v '^ *+' conftest.er1 >conftest.err
12921 rm -f conftest.er1
12922 cat conftest.err >&5
12923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12924 (exit $ac_status); } &&
12925 { ac_try='test -z "$ac_cxx_werror_flag"
12926 || test ! -s conftest.err'
12927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12928 (eval $ac_try) 2>&5
12929 ac_status=$?
12930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12931 (exit $ac_status); }; } &&
12932 { ac_try='test -s conftest.$ac_objext'
12933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12934 (eval $ac_try) 2>&5
12935 ac_status=$?
12936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12937 (exit $ac_status); }; }; then
12938 glibcxx_cv_func_isinff_use=yes
12939 else
12940 echo "$as_me: failed program was:" >&5
12941 sed 's/^/| /' conftest.$ac_ext >&5
12943 glibcxx_cv_func_isinff_use=no
12945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12946 ac_ext=c
12947 ac_cpp='$CPP $CPPFLAGS'
12948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12956 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
12957 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
12959 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
12961 for ac_func in isinff
12963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12964 echo "$as_me:$LINENO: checking for $ac_func" >&5
12965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12966 if eval "test \"\${$as_ac_var+set}\" = set"; then
12967 echo $ECHO_N "(cached) $ECHO_C" >&6
12968 else
12969 if test x$gcc_no_link = xyes; then
12970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12972 { (exit 1); exit 1; }; }
12974 cat >conftest.$ac_ext <<_ACEOF
12975 /* confdefs.h. */
12976 _ACEOF
12977 cat confdefs.h >>conftest.$ac_ext
12978 cat >>conftest.$ac_ext <<_ACEOF
12979 /* end confdefs.h. */
12980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12982 #define $ac_func innocuous_$ac_func
12984 /* System header to define __stub macros and hopefully few prototypes,
12985 which can conflict with char $ac_func (); below.
12986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12987 <limits.h> exists even on freestanding compilers. */
12989 #ifdef __STDC__
12990 # include <limits.h>
12991 #else
12992 # include <assert.h>
12993 #endif
12995 #undef $ac_func
12997 /* Override any gcc2 internal prototype to avoid an error. */
12998 #ifdef __cplusplus
12999 extern "C"
13001 #endif
13002 /* We use char because int might match the return type of a gcc2
13003 builtin and then its argument prototype would still apply. */
13004 char $ac_func ();
13005 /* The GNU C library defines this for functions which it implements
13006 to always fail with ENOSYS. Some functions are actually named
13007 something starting with __ and the normal name is an alias. */
13008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13009 choke me
13010 #else
13011 char (*f) () = $ac_func;
13012 #endif
13013 #ifdef __cplusplus
13015 #endif
13018 main ()
13020 return f != $ac_func;
13022 return 0;
13024 _ACEOF
13025 rm -f conftest.$ac_objext conftest$ac_exeext
13026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13027 (eval $ac_link) 2>conftest.er1
13028 ac_status=$?
13029 grep -v '^ *+' conftest.er1 >conftest.err
13030 rm -f conftest.er1
13031 cat conftest.err >&5
13032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13033 (exit $ac_status); } &&
13034 { ac_try='test -z "$ac_c_werror_flag"
13035 || test ! -s conftest.err'
13036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13037 (eval $ac_try) 2>&5
13038 ac_status=$?
13039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13040 (exit $ac_status); }; } &&
13041 { ac_try='test -s conftest$ac_exeext'
13042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13043 (eval $ac_try) 2>&5
13044 ac_status=$?
13045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13046 (exit $ac_status); }; }; then
13047 eval "$as_ac_var=yes"
13048 else
13049 echo "$as_me: failed program was:" >&5
13050 sed 's/^/| /' conftest.$ac_ext >&5
13052 eval "$as_ac_var=no"
13054 rm -f conftest.err conftest.$ac_objext \
13055 conftest$ac_exeext conftest.$ac_ext
13057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13059 if test `eval echo '${'$as_ac_var'}'` = yes; then
13060 cat >>confdefs.h <<_ACEOF
13061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13062 _ACEOF
13065 done
13067 else
13069 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
13070 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
13071 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
13072 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
13073 echo $ECHO_N "(cached) $ECHO_C" >&6
13074 else
13078 ac_ext=cc
13079 ac_cpp='$CXXCPP $CPPFLAGS'
13080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13084 cat >conftest.$ac_ext <<_ACEOF
13085 /* confdefs.h. */
13086 _ACEOF
13087 cat confdefs.h >>conftest.$ac_ext
13088 cat >>conftest.$ac_ext <<_ACEOF
13089 /* end confdefs.h. */
13090 #include <math.h>
13091 #ifdef HAVE_IEEEFP_H
13092 #include <ieeefp.h>
13093 #endif
13096 main ()
13098 _isinff(0);
13100 return 0;
13102 _ACEOF
13103 rm -f conftest.$ac_objext
13104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13105 (eval $ac_compile) 2>conftest.er1
13106 ac_status=$?
13107 grep -v '^ *+' conftest.er1 >conftest.err
13108 rm -f conftest.er1
13109 cat conftest.err >&5
13110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13111 (exit $ac_status); } &&
13112 { ac_try='test -z "$ac_cxx_werror_flag"
13113 || test ! -s conftest.err'
13114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13115 (eval $ac_try) 2>&5
13116 ac_status=$?
13117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13118 (exit $ac_status); }; } &&
13119 { ac_try='test -s conftest.$ac_objext'
13120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13121 (eval $ac_try) 2>&5
13122 ac_status=$?
13123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13124 (exit $ac_status); }; }; then
13125 glibcxx_cv_func__isinff_use=yes
13126 else
13127 echo "$as_me: failed program was:" >&5
13128 sed 's/^/| /' conftest.$ac_ext >&5
13130 glibcxx_cv_func__isinff_use=no
13132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13133 ac_ext=c
13134 ac_cpp='$CPP $CPPFLAGS'
13135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13143 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
13144 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
13146 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
13148 for ac_func in _isinff
13150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13151 echo "$as_me:$LINENO: checking for $ac_func" >&5
13152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13153 if eval "test \"\${$as_ac_var+set}\" = set"; then
13154 echo $ECHO_N "(cached) $ECHO_C" >&6
13155 else
13156 if test x$gcc_no_link = xyes; then
13157 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13159 { (exit 1); exit 1; }; }
13161 cat >conftest.$ac_ext <<_ACEOF
13162 /* confdefs.h. */
13163 _ACEOF
13164 cat confdefs.h >>conftest.$ac_ext
13165 cat >>conftest.$ac_ext <<_ACEOF
13166 /* end confdefs.h. */
13167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13168 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13169 #define $ac_func innocuous_$ac_func
13171 /* System header to define __stub macros and hopefully few prototypes,
13172 which can conflict with char $ac_func (); below.
13173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13174 <limits.h> exists even on freestanding compilers. */
13176 #ifdef __STDC__
13177 # include <limits.h>
13178 #else
13179 # include <assert.h>
13180 #endif
13182 #undef $ac_func
13184 /* Override any gcc2 internal prototype to avoid an error. */
13185 #ifdef __cplusplus
13186 extern "C"
13188 #endif
13189 /* We use char because int might match the return type of a gcc2
13190 builtin and then its argument prototype would still apply. */
13191 char $ac_func ();
13192 /* The GNU C library defines this for functions which it implements
13193 to always fail with ENOSYS. Some functions are actually named
13194 something starting with __ and the normal name is an alias. */
13195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13196 choke me
13197 #else
13198 char (*f) () = $ac_func;
13199 #endif
13200 #ifdef __cplusplus
13202 #endif
13205 main ()
13207 return f != $ac_func;
13209 return 0;
13211 _ACEOF
13212 rm -f conftest.$ac_objext conftest$ac_exeext
13213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13214 (eval $ac_link) 2>conftest.er1
13215 ac_status=$?
13216 grep -v '^ *+' conftest.er1 >conftest.err
13217 rm -f conftest.er1
13218 cat conftest.err >&5
13219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13220 (exit $ac_status); } &&
13221 { ac_try='test -z "$ac_c_werror_flag"
13222 || test ! -s conftest.err'
13223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13224 (eval $ac_try) 2>&5
13225 ac_status=$?
13226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13227 (exit $ac_status); }; } &&
13228 { ac_try='test -s conftest$ac_exeext'
13229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13230 (eval $ac_try) 2>&5
13231 ac_status=$?
13232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13233 (exit $ac_status); }; }; then
13234 eval "$as_ac_var=yes"
13235 else
13236 echo "$as_me: failed program was:" >&5
13237 sed 's/^/| /' conftest.$ac_ext >&5
13239 eval "$as_ac_var=no"
13241 rm -f conftest.err conftest.$ac_objext \
13242 conftest$ac_exeext conftest.$ac_ext
13244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13246 if test `eval echo '${'$as_ac_var'}'` = yes; then
13247 cat >>confdefs.h <<_ACEOF
13248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13249 _ACEOF
13252 done
13262 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
13263 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
13264 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
13265 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
13266 echo $ECHO_N "(cached) $ECHO_C" >&6
13267 else
13271 ac_ext=cc
13272 ac_cpp='$CXXCPP $CPPFLAGS'
13273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13277 cat >conftest.$ac_ext <<_ACEOF
13278 /* confdefs.h. */
13279 _ACEOF
13280 cat confdefs.h >>conftest.$ac_ext
13281 cat >>conftest.$ac_ext <<_ACEOF
13282 /* end confdefs.h. */
13283 #include <math.h>
13285 main ()
13287 atan2f(0, 0);
13289 return 0;
13291 _ACEOF
13292 rm -f conftest.$ac_objext
13293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13294 (eval $ac_compile) 2>conftest.er1
13295 ac_status=$?
13296 grep -v '^ *+' conftest.er1 >conftest.err
13297 rm -f conftest.er1
13298 cat conftest.err >&5
13299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13300 (exit $ac_status); } &&
13301 { ac_try='test -z "$ac_cxx_werror_flag"
13302 || test ! -s conftest.err'
13303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13304 (eval $ac_try) 2>&5
13305 ac_status=$?
13306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13307 (exit $ac_status); }; } &&
13308 { ac_try='test -s conftest.$ac_objext'
13309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13310 (eval $ac_try) 2>&5
13311 ac_status=$?
13312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13313 (exit $ac_status); }; }; then
13314 glibcxx_cv_func_atan2f_use=yes
13315 else
13316 echo "$as_me: failed program was:" >&5
13317 sed 's/^/| /' conftest.$ac_ext >&5
13319 glibcxx_cv_func_atan2f_use=no
13321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13322 ac_ext=c
13323 ac_cpp='$CPP $CPPFLAGS'
13324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13332 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
13333 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
13335 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
13337 for ac_func in atan2f
13339 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13340 echo "$as_me:$LINENO: checking for $ac_func" >&5
13341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13342 if eval "test \"\${$as_ac_var+set}\" = set"; then
13343 echo $ECHO_N "(cached) $ECHO_C" >&6
13344 else
13345 if test x$gcc_no_link = xyes; then
13346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13348 { (exit 1); exit 1; }; }
13350 cat >conftest.$ac_ext <<_ACEOF
13351 /* confdefs.h. */
13352 _ACEOF
13353 cat confdefs.h >>conftest.$ac_ext
13354 cat >>conftest.$ac_ext <<_ACEOF
13355 /* end confdefs.h. */
13356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13358 #define $ac_func innocuous_$ac_func
13360 /* System header to define __stub macros and hopefully few prototypes,
13361 which can conflict with char $ac_func (); below.
13362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13363 <limits.h> exists even on freestanding compilers. */
13365 #ifdef __STDC__
13366 # include <limits.h>
13367 #else
13368 # include <assert.h>
13369 #endif
13371 #undef $ac_func
13373 /* Override any gcc2 internal prototype to avoid an error. */
13374 #ifdef __cplusplus
13375 extern "C"
13377 #endif
13378 /* We use char because int might match the return type of a gcc2
13379 builtin and then its argument prototype would still apply. */
13380 char $ac_func ();
13381 /* The GNU C library defines this for functions which it implements
13382 to always fail with ENOSYS. Some functions are actually named
13383 something starting with __ and the normal name is an alias. */
13384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13385 choke me
13386 #else
13387 char (*f) () = $ac_func;
13388 #endif
13389 #ifdef __cplusplus
13391 #endif
13394 main ()
13396 return f != $ac_func;
13398 return 0;
13400 _ACEOF
13401 rm -f conftest.$ac_objext conftest$ac_exeext
13402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13403 (eval $ac_link) 2>conftest.er1
13404 ac_status=$?
13405 grep -v '^ *+' conftest.er1 >conftest.err
13406 rm -f conftest.er1
13407 cat conftest.err >&5
13408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13409 (exit $ac_status); } &&
13410 { ac_try='test -z "$ac_c_werror_flag"
13411 || test ! -s conftest.err'
13412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13413 (eval $ac_try) 2>&5
13414 ac_status=$?
13415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13416 (exit $ac_status); }; } &&
13417 { ac_try='test -s conftest$ac_exeext'
13418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13419 (eval $ac_try) 2>&5
13420 ac_status=$?
13421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13422 (exit $ac_status); }; }; then
13423 eval "$as_ac_var=yes"
13424 else
13425 echo "$as_me: failed program was:" >&5
13426 sed 's/^/| /' conftest.$ac_ext >&5
13428 eval "$as_ac_var=no"
13430 rm -f conftest.err conftest.$ac_objext \
13431 conftest$ac_exeext conftest.$ac_ext
13433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13435 if test `eval echo '${'$as_ac_var'}'` = yes; then
13436 cat >>confdefs.h <<_ACEOF
13437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13438 _ACEOF
13441 done
13443 else
13445 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13446 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13447 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13448 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13449 echo $ECHO_N "(cached) $ECHO_C" >&6
13450 else
13454 ac_ext=cc
13455 ac_cpp='$CXXCPP $CPPFLAGS'
13456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13460 cat >conftest.$ac_ext <<_ACEOF
13461 /* confdefs.h. */
13462 _ACEOF
13463 cat confdefs.h >>conftest.$ac_ext
13464 cat >>conftest.$ac_ext <<_ACEOF
13465 /* end confdefs.h. */
13466 #include <math.h>
13468 main ()
13470 _atan2f(0, 0);
13472 return 0;
13474 _ACEOF
13475 rm -f conftest.$ac_objext
13476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13477 (eval $ac_compile) 2>conftest.er1
13478 ac_status=$?
13479 grep -v '^ *+' conftest.er1 >conftest.err
13480 rm -f conftest.er1
13481 cat conftest.err >&5
13482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13483 (exit $ac_status); } &&
13484 { ac_try='test -z "$ac_cxx_werror_flag"
13485 || test ! -s conftest.err'
13486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13487 (eval $ac_try) 2>&5
13488 ac_status=$?
13489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13490 (exit $ac_status); }; } &&
13491 { ac_try='test -s conftest.$ac_objext'
13492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13493 (eval $ac_try) 2>&5
13494 ac_status=$?
13495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13496 (exit $ac_status); }; }; then
13497 glibcxx_cv_func__atan2f_use=yes
13498 else
13499 echo "$as_me: failed program was:" >&5
13500 sed 's/^/| /' conftest.$ac_ext >&5
13502 glibcxx_cv_func__atan2f_use=no
13504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13505 ac_ext=c
13506 ac_cpp='$CPP $CPPFLAGS'
13507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13515 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13516 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13518 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13520 for ac_func in _atan2f
13522 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13523 echo "$as_me:$LINENO: checking for $ac_func" >&5
13524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13525 if eval "test \"\${$as_ac_var+set}\" = set"; then
13526 echo $ECHO_N "(cached) $ECHO_C" >&6
13527 else
13528 if test x$gcc_no_link = xyes; then
13529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13531 { (exit 1); exit 1; }; }
13533 cat >conftest.$ac_ext <<_ACEOF
13534 /* confdefs.h. */
13535 _ACEOF
13536 cat confdefs.h >>conftest.$ac_ext
13537 cat >>conftest.$ac_ext <<_ACEOF
13538 /* end confdefs.h. */
13539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13541 #define $ac_func innocuous_$ac_func
13543 /* System header to define __stub macros and hopefully few prototypes,
13544 which can conflict with char $ac_func (); below.
13545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13546 <limits.h> exists even on freestanding compilers. */
13548 #ifdef __STDC__
13549 # include <limits.h>
13550 #else
13551 # include <assert.h>
13552 #endif
13554 #undef $ac_func
13556 /* Override any gcc2 internal prototype to avoid an error. */
13557 #ifdef __cplusplus
13558 extern "C"
13560 #endif
13561 /* We use char because int might match the return type of a gcc2
13562 builtin and then its argument prototype would still apply. */
13563 char $ac_func ();
13564 /* The GNU C library defines this for functions which it implements
13565 to always fail with ENOSYS. Some functions are actually named
13566 something starting with __ and the normal name is an alias. */
13567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13568 choke me
13569 #else
13570 char (*f) () = $ac_func;
13571 #endif
13572 #ifdef __cplusplus
13574 #endif
13577 main ()
13579 return f != $ac_func;
13581 return 0;
13583 _ACEOF
13584 rm -f conftest.$ac_objext conftest$ac_exeext
13585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13586 (eval $ac_link) 2>conftest.er1
13587 ac_status=$?
13588 grep -v '^ *+' conftest.er1 >conftest.err
13589 rm -f conftest.er1
13590 cat conftest.err >&5
13591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13592 (exit $ac_status); } &&
13593 { ac_try='test -z "$ac_c_werror_flag"
13594 || test ! -s conftest.err'
13595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13596 (eval $ac_try) 2>&5
13597 ac_status=$?
13598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13599 (exit $ac_status); }; } &&
13600 { ac_try='test -s conftest$ac_exeext'
13601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13602 (eval $ac_try) 2>&5
13603 ac_status=$?
13604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13605 (exit $ac_status); }; }; then
13606 eval "$as_ac_var=yes"
13607 else
13608 echo "$as_me: failed program was:" >&5
13609 sed 's/^/| /' conftest.$ac_ext >&5
13611 eval "$as_ac_var=no"
13613 rm -f conftest.err conftest.$ac_objext \
13614 conftest$ac_exeext conftest.$ac_ext
13616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13618 if test `eval echo '${'$as_ac_var'}'` = yes; then
13619 cat >>confdefs.h <<_ACEOF
13620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13621 _ACEOF
13624 done
13634 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13635 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13636 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13637 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13638 echo $ECHO_N "(cached) $ECHO_C" >&6
13639 else
13643 ac_ext=cc
13644 ac_cpp='$CXXCPP $CPPFLAGS'
13645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13649 cat >conftest.$ac_ext <<_ACEOF
13650 /* confdefs.h. */
13651 _ACEOF
13652 cat confdefs.h >>conftest.$ac_ext
13653 cat >>conftest.$ac_ext <<_ACEOF
13654 /* end confdefs.h. */
13655 #include <math.h>
13656 #ifdef HAVE_IEEEFP_H
13657 #include <ieeefp.h>
13658 #endif
13661 main ()
13663 fabsf(0);
13665 return 0;
13667 _ACEOF
13668 rm -f conftest.$ac_objext
13669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13670 (eval $ac_compile) 2>conftest.er1
13671 ac_status=$?
13672 grep -v '^ *+' conftest.er1 >conftest.err
13673 rm -f conftest.er1
13674 cat conftest.err >&5
13675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13676 (exit $ac_status); } &&
13677 { ac_try='test -z "$ac_cxx_werror_flag"
13678 || test ! -s conftest.err'
13679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13680 (eval $ac_try) 2>&5
13681 ac_status=$?
13682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13683 (exit $ac_status); }; } &&
13684 { ac_try='test -s conftest.$ac_objext'
13685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13686 (eval $ac_try) 2>&5
13687 ac_status=$?
13688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13689 (exit $ac_status); }; }; then
13690 glibcxx_cv_func_fabsf_use=yes
13691 else
13692 echo "$as_me: failed program was:" >&5
13693 sed 's/^/| /' conftest.$ac_ext >&5
13695 glibcxx_cv_func_fabsf_use=no
13697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13698 ac_ext=c
13699 ac_cpp='$CPP $CPPFLAGS'
13700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13708 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13709 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13711 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13713 for ac_func in fabsf
13715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13716 echo "$as_me:$LINENO: checking for $ac_func" >&5
13717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13718 if eval "test \"\${$as_ac_var+set}\" = set"; then
13719 echo $ECHO_N "(cached) $ECHO_C" >&6
13720 else
13721 if test x$gcc_no_link = xyes; then
13722 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13724 { (exit 1); exit 1; }; }
13726 cat >conftest.$ac_ext <<_ACEOF
13727 /* confdefs.h. */
13728 _ACEOF
13729 cat confdefs.h >>conftest.$ac_ext
13730 cat >>conftest.$ac_ext <<_ACEOF
13731 /* end confdefs.h. */
13732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13734 #define $ac_func innocuous_$ac_func
13736 /* System header to define __stub macros and hopefully few prototypes,
13737 which can conflict with char $ac_func (); below.
13738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13739 <limits.h> exists even on freestanding compilers. */
13741 #ifdef __STDC__
13742 # include <limits.h>
13743 #else
13744 # include <assert.h>
13745 #endif
13747 #undef $ac_func
13749 /* Override any gcc2 internal prototype to avoid an error. */
13750 #ifdef __cplusplus
13751 extern "C"
13753 #endif
13754 /* We use char because int might match the return type of a gcc2
13755 builtin and then its argument prototype would still apply. */
13756 char $ac_func ();
13757 /* The GNU C library defines this for functions which it implements
13758 to always fail with ENOSYS. Some functions are actually named
13759 something starting with __ and the normal name is an alias. */
13760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13761 choke me
13762 #else
13763 char (*f) () = $ac_func;
13764 #endif
13765 #ifdef __cplusplus
13767 #endif
13770 main ()
13772 return f != $ac_func;
13774 return 0;
13776 _ACEOF
13777 rm -f conftest.$ac_objext conftest$ac_exeext
13778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13779 (eval $ac_link) 2>conftest.er1
13780 ac_status=$?
13781 grep -v '^ *+' conftest.er1 >conftest.err
13782 rm -f conftest.er1
13783 cat conftest.err >&5
13784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13785 (exit $ac_status); } &&
13786 { ac_try='test -z "$ac_c_werror_flag"
13787 || test ! -s conftest.err'
13788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13789 (eval $ac_try) 2>&5
13790 ac_status=$?
13791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13792 (exit $ac_status); }; } &&
13793 { ac_try='test -s conftest$ac_exeext'
13794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13795 (eval $ac_try) 2>&5
13796 ac_status=$?
13797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13798 (exit $ac_status); }; }; then
13799 eval "$as_ac_var=yes"
13800 else
13801 echo "$as_me: failed program was:" >&5
13802 sed 's/^/| /' conftest.$ac_ext >&5
13804 eval "$as_ac_var=no"
13806 rm -f conftest.err conftest.$ac_objext \
13807 conftest$ac_exeext conftest.$ac_ext
13809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13811 if test `eval echo '${'$as_ac_var'}'` = yes; then
13812 cat >>confdefs.h <<_ACEOF
13813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13814 _ACEOF
13817 done
13819 else
13821 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
13822 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
13823 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
13824 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
13825 echo $ECHO_N "(cached) $ECHO_C" >&6
13826 else
13830 ac_ext=cc
13831 ac_cpp='$CXXCPP $CPPFLAGS'
13832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13836 cat >conftest.$ac_ext <<_ACEOF
13837 /* confdefs.h. */
13838 _ACEOF
13839 cat confdefs.h >>conftest.$ac_ext
13840 cat >>conftest.$ac_ext <<_ACEOF
13841 /* end confdefs.h. */
13842 #include <math.h>
13843 #ifdef HAVE_IEEEFP_H
13844 #include <ieeefp.h>
13845 #endif
13848 main ()
13850 _fabsf(0);
13852 return 0;
13854 _ACEOF
13855 rm -f conftest.$ac_objext
13856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13857 (eval $ac_compile) 2>conftest.er1
13858 ac_status=$?
13859 grep -v '^ *+' conftest.er1 >conftest.err
13860 rm -f conftest.er1
13861 cat conftest.err >&5
13862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13863 (exit $ac_status); } &&
13864 { ac_try='test -z "$ac_cxx_werror_flag"
13865 || test ! -s conftest.err'
13866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13867 (eval $ac_try) 2>&5
13868 ac_status=$?
13869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13870 (exit $ac_status); }; } &&
13871 { ac_try='test -s conftest.$ac_objext'
13872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13873 (eval $ac_try) 2>&5
13874 ac_status=$?
13875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13876 (exit $ac_status); }; }; then
13877 glibcxx_cv_func__fabsf_use=yes
13878 else
13879 echo "$as_me: failed program was:" >&5
13880 sed 's/^/| /' conftest.$ac_ext >&5
13882 glibcxx_cv_func__fabsf_use=no
13884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13885 ac_ext=c
13886 ac_cpp='$CPP $CPPFLAGS'
13887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13895 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
13896 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
13898 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
13900 for ac_func in _fabsf
13902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13903 echo "$as_me:$LINENO: checking for $ac_func" >&5
13904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13905 if eval "test \"\${$as_ac_var+set}\" = set"; then
13906 echo $ECHO_N "(cached) $ECHO_C" >&6
13907 else
13908 if test x$gcc_no_link = xyes; then
13909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13911 { (exit 1); exit 1; }; }
13913 cat >conftest.$ac_ext <<_ACEOF
13914 /* confdefs.h. */
13915 _ACEOF
13916 cat confdefs.h >>conftest.$ac_ext
13917 cat >>conftest.$ac_ext <<_ACEOF
13918 /* end confdefs.h. */
13919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13921 #define $ac_func innocuous_$ac_func
13923 /* System header to define __stub macros and hopefully few prototypes,
13924 which can conflict with char $ac_func (); below.
13925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13926 <limits.h> exists even on freestanding compilers. */
13928 #ifdef __STDC__
13929 # include <limits.h>
13930 #else
13931 # include <assert.h>
13932 #endif
13934 #undef $ac_func
13936 /* Override any gcc2 internal prototype to avoid an error. */
13937 #ifdef __cplusplus
13938 extern "C"
13940 #endif
13941 /* We use char because int might match the return type of a gcc2
13942 builtin and then its argument prototype would still apply. */
13943 char $ac_func ();
13944 /* The GNU C library defines this for functions which it implements
13945 to always fail with ENOSYS. Some functions are actually named
13946 something starting with __ and the normal name is an alias. */
13947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13948 choke me
13949 #else
13950 char (*f) () = $ac_func;
13951 #endif
13952 #ifdef __cplusplus
13954 #endif
13957 main ()
13959 return f != $ac_func;
13961 return 0;
13963 _ACEOF
13964 rm -f conftest.$ac_objext conftest$ac_exeext
13965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13966 (eval $ac_link) 2>conftest.er1
13967 ac_status=$?
13968 grep -v '^ *+' conftest.er1 >conftest.err
13969 rm -f conftest.er1
13970 cat conftest.err >&5
13971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13972 (exit $ac_status); } &&
13973 { ac_try='test -z "$ac_c_werror_flag"
13974 || test ! -s conftest.err'
13975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13976 (eval $ac_try) 2>&5
13977 ac_status=$?
13978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13979 (exit $ac_status); }; } &&
13980 { ac_try='test -s conftest$ac_exeext'
13981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13982 (eval $ac_try) 2>&5
13983 ac_status=$?
13984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13985 (exit $ac_status); }; }; then
13986 eval "$as_ac_var=yes"
13987 else
13988 echo "$as_me: failed program was:" >&5
13989 sed 's/^/| /' conftest.$ac_ext >&5
13991 eval "$as_ac_var=no"
13993 rm -f conftest.err conftest.$ac_objext \
13994 conftest$ac_exeext conftest.$ac_ext
13996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13998 if test `eval echo '${'$as_ac_var'}'` = yes; then
13999 cat >>confdefs.h <<_ACEOF
14000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14001 _ACEOF
14004 done
14014 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
14015 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
14016 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
14017 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
14018 echo $ECHO_N "(cached) $ECHO_C" >&6
14019 else
14023 ac_ext=cc
14024 ac_cpp='$CXXCPP $CPPFLAGS'
14025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14029 cat >conftest.$ac_ext <<_ACEOF
14030 /* confdefs.h. */
14031 _ACEOF
14032 cat confdefs.h >>conftest.$ac_ext
14033 cat >>conftest.$ac_ext <<_ACEOF
14034 /* end confdefs.h. */
14035 #include <math.h>
14037 main ()
14039 fmodf(0, 0);
14041 return 0;
14043 _ACEOF
14044 rm -f conftest.$ac_objext
14045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14046 (eval $ac_compile) 2>conftest.er1
14047 ac_status=$?
14048 grep -v '^ *+' conftest.er1 >conftest.err
14049 rm -f conftest.er1
14050 cat conftest.err >&5
14051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14052 (exit $ac_status); } &&
14053 { ac_try='test -z "$ac_cxx_werror_flag"
14054 || test ! -s conftest.err'
14055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14056 (eval $ac_try) 2>&5
14057 ac_status=$?
14058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14059 (exit $ac_status); }; } &&
14060 { ac_try='test -s conftest.$ac_objext'
14061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14062 (eval $ac_try) 2>&5
14063 ac_status=$?
14064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14065 (exit $ac_status); }; }; then
14066 glibcxx_cv_func_fmodf_use=yes
14067 else
14068 echo "$as_me: failed program was:" >&5
14069 sed 's/^/| /' conftest.$ac_ext >&5
14071 glibcxx_cv_func_fmodf_use=no
14073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14074 ac_ext=c
14075 ac_cpp='$CPP $CPPFLAGS'
14076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14084 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
14085 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
14087 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
14089 for ac_func in fmodf
14091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14092 echo "$as_me:$LINENO: checking for $ac_func" >&5
14093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14094 if eval "test \"\${$as_ac_var+set}\" = set"; then
14095 echo $ECHO_N "(cached) $ECHO_C" >&6
14096 else
14097 if test x$gcc_no_link = xyes; then
14098 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14100 { (exit 1); exit 1; }; }
14102 cat >conftest.$ac_ext <<_ACEOF
14103 /* confdefs.h. */
14104 _ACEOF
14105 cat confdefs.h >>conftest.$ac_ext
14106 cat >>conftest.$ac_ext <<_ACEOF
14107 /* end confdefs.h. */
14108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14110 #define $ac_func innocuous_$ac_func
14112 /* System header to define __stub macros and hopefully few prototypes,
14113 which can conflict with char $ac_func (); below.
14114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14115 <limits.h> exists even on freestanding compilers. */
14117 #ifdef __STDC__
14118 # include <limits.h>
14119 #else
14120 # include <assert.h>
14121 #endif
14123 #undef $ac_func
14125 /* Override any gcc2 internal prototype to avoid an error. */
14126 #ifdef __cplusplus
14127 extern "C"
14129 #endif
14130 /* We use char because int might match the return type of a gcc2
14131 builtin and then its argument prototype would still apply. */
14132 char $ac_func ();
14133 /* The GNU C library defines this for functions which it implements
14134 to always fail with ENOSYS. Some functions are actually named
14135 something starting with __ and the normal name is an alias. */
14136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14137 choke me
14138 #else
14139 char (*f) () = $ac_func;
14140 #endif
14141 #ifdef __cplusplus
14143 #endif
14146 main ()
14148 return f != $ac_func;
14150 return 0;
14152 _ACEOF
14153 rm -f conftest.$ac_objext conftest$ac_exeext
14154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14155 (eval $ac_link) 2>conftest.er1
14156 ac_status=$?
14157 grep -v '^ *+' conftest.er1 >conftest.err
14158 rm -f conftest.er1
14159 cat conftest.err >&5
14160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14161 (exit $ac_status); } &&
14162 { ac_try='test -z "$ac_c_werror_flag"
14163 || test ! -s conftest.err'
14164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14165 (eval $ac_try) 2>&5
14166 ac_status=$?
14167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14168 (exit $ac_status); }; } &&
14169 { ac_try='test -s conftest$ac_exeext'
14170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14171 (eval $ac_try) 2>&5
14172 ac_status=$?
14173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14174 (exit $ac_status); }; }; then
14175 eval "$as_ac_var=yes"
14176 else
14177 echo "$as_me: failed program was:" >&5
14178 sed 's/^/| /' conftest.$ac_ext >&5
14180 eval "$as_ac_var=no"
14182 rm -f conftest.err conftest.$ac_objext \
14183 conftest$ac_exeext conftest.$ac_ext
14185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14187 if test `eval echo '${'$as_ac_var'}'` = yes; then
14188 cat >>confdefs.h <<_ACEOF
14189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14190 _ACEOF
14193 done
14195 else
14197 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
14198 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
14199 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
14200 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
14201 echo $ECHO_N "(cached) $ECHO_C" >&6
14202 else
14206 ac_ext=cc
14207 ac_cpp='$CXXCPP $CPPFLAGS'
14208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14212 cat >conftest.$ac_ext <<_ACEOF
14213 /* confdefs.h. */
14214 _ACEOF
14215 cat confdefs.h >>conftest.$ac_ext
14216 cat >>conftest.$ac_ext <<_ACEOF
14217 /* end confdefs.h. */
14218 #include <math.h>
14220 main ()
14222 _fmodf(0, 0);
14224 return 0;
14226 _ACEOF
14227 rm -f conftest.$ac_objext
14228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14229 (eval $ac_compile) 2>conftest.er1
14230 ac_status=$?
14231 grep -v '^ *+' conftest.er1 >conftest.err
14232 rm -f conftest.er1
14233 cat conftest.err >&5
14234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14235 (exit $ac_status); } &&
14236 { ac_try='test -z "$ac_cxx_werror_flag"
14237 || test ! -s conftest.err'
14238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14239 (eval $ac_try) 2>&5
14240 ac_status=$?
14241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14242 (exit $ac_status); }; } &&
14243 { ac_try='test -s conftest.$ac_objext'
14244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14245 (eval $ac_try) 2>&5
14246 ac_status=$?
14247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14248 (exit $ac_status); }; }; then
14249 glibcxx_cv_func__fmodf_use=yes
14250 else
14251 echo "$as_me: failed program was:" >&5
14252 sed 's/^/| /' conftest.$ac_ext >&5
14254 glibcxx_cv_func__fmodf_use=no
14256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14257 ac_ext=c
14258 ac_cpp='$CPP $CPPFLAGS'
14259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14267 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
14268 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
14270 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
14272 for ac_func in _fmodf
14274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14275 echo "$as_me:$LINENO: checking for $ac_func" >&5
14276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14277 if eval "test \"\${$as_ac_var+set}\" = set"; then
14278 echo $ECHO_N "(cached) $ECHO_C" >&6
14279 else
14280 if test x$gcc_no_link = xyes; then
14281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14283 { (exit 1); exit 1; }; }
14285 cat >conftest.$ac_ext <<_ACEOF
14286 /* confdefs.h. */
14287 _ACEOF
14288 cat confdefs.h >>conftest.$ac_ext
14289 cat >>conftest.$ac_ext <<_ACEOF
14290 /* end confdefs.h. */
14291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14293 #define $ac_func innocuous_$ac_func
14295 /* System header to define __stub macros and hopefully few prototypes,
14296 which can conflict with char $ac_func (); below.
14297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14298 <limits.h> exists even on freestanding compilers. */
14300 #ifdef __STDC__
14301 # include <limits.h>
14302 #else
14303 # include <assert.h>
14304 #endif
14306 #undef $ac_func
14308 /* Override any gcc2 internal prototype to avoid an error. */
14309 #ifdef __cplusplus
14310 extern "C"
14312 #endif
14313 /* We use char because int might match the return type of a gcc2
14314 builtin and then its argument prototype would still apply. */
14315 char $ac_func ();
14316 /* The GNU C library defines this for functions which it implements
14317 to always fail with ENOSYS. Some functions are actually named
14318 something starting with __ and the normal name is an alias. */
14319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14320 choke me
14321 #else
14322 char (*f) () = $ac_func;
14323 #endif
14324 #ifdef __cplusplus
14326 #endif
14329 main ()
14331 return f != $ac_func;
14333 return 0;
14335 _ACEOF
14336 rm -f conftest.$ac_objext conftest$ac_exeext
14337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14338 (eval $ac_link) 2>conftest.er1
14339 ac_status=$?
14340 grep -v '^ *+' conftest.er1 >conftest.err
14341 rm -f conftest.er1
14342 cat conftest.err >&5
14343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14344 (exit $ac_status); } &&
14345 { ac_try='test -z "$ac_c_werror_flag"
14346 || test ! -s conftest.err'
14347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14348 (eval $ac_try) 2>&5
14349 ac_status=$?
14350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14351 (exit $ac_status); }; } &&
14352 { ac_try='test -s conftest$ac_exeext'
14353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14354 (eval $ac_try) 2>&5
14355 ac_status=$?
14356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14357 (exit $ac_status); }; }; then
14358 eval "$as_ac_var=yes"
14359 else
14360 echo "$as_me: failed program was:" >&5
14361 sed 's/^/| /' conftest.$ac_ext >&5
14363 eval "$as_ac_var=no"
14365 rm -f conftest.err conftest.$ac_objext \
14366 conftest$ac_exeext conftest.$ac_ext
14368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14370 if test `eval echo '${'$as_ac_var'}'` = yes; then
14371 cat >>confdefs.h <<_ACEOF
14372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14373 _ACEOF
14376 done
14386 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
14387 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
14388 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
14389 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
14390 echo $ECHO_N "(cached) $ECHO_C" >&6
14391 else
14395 ac_ext=cc
14396 ac_cpp='$CXXCPP $CPPFLAGS'
14397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14401 cat >conftest.$ac_ext <<_ACEOF
14402 /* confdefs.h. */
14403 _ACEOF
14404 cat confdefs.h >>conftest.$ac_ext
14405 cat >>conftest.$ac_ext <<_ACEOF
14406 /* end confdefs.h. */
14407 #include <math.h>
14409 main ()
14411 frexpf(0, 0);
14413 return 0;
14415 _ACEOF
14416 rm -f conftest.$ac_objext
14417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14418 (eval $ac_compile) 2>conftest.er1
14419 ac_status=$?
14420 grep -v '^ *+' conftest.er1 >conftest.err
14421 rm -f conftest.er1
14422 cat conftest.err >&5
14423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14424 (exit $ac_status); } &&
14425 { ac_try='test -z "$ac_cxx_werror_flag"
14426 || test ! -s conftest.err'
14427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14428 (eval $ac_try) 2>&5
14429 ac_status=$?
14430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14431 (exit $ac_status); }; } &&
14432 { ac_try='test -s conftest.$ac_objext'
14433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14434 (eval $ac_try) 2>&5
14435 ac_status=$?
14436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14437 (exit $ac_status); }; }; then
14438 glibcxx_cv_func_frexpf_use=yes
14439 else
14440 echo "$as_me: failed program was:" >&5
14441 sed 's/^/| /' conftest.$ac_ext >&5
14443 glibcxx_cv_func_frexpf_use=no
14445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14446 ac_ext=c
14447 ac_cpp='$CPP $CPPFLAGS'
14448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14456 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14457 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14459 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14461 for ac_func in frexpf
14463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14464 echo "$as_me:$LINENO: checking for $ac_func" >&5
14465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14466 if eval "test \"\${$as_ac_var+set}\" = set"; then
14467 echo $ECHO_N "(cached) $ECHO_C" >&6
14468 else
14469 if test x$gcc_no_link = xyes; then
14470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14472 { (exit 1); exit 1; }; }
14474 cat >conftest.$ac_ext <<_ACEOF
14475 /* confdefs.h. */
14476 _ACEOF
14477 cat confdefs.h >>conftest.$ac_ext
14478 cat >>conftest.$ac_ext <<_ACEOF
14479 /* end confdefs.h. */
14480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14482 #define $ac_func innocuous_$ac_func
14484 /* System header to define __stub macros and hopefully few prototypes,
14485 which can conflict with char $ac_func (); below.
14486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14487 <limits.h> exists even on freestanding compilers. */
14489 #ifdef __STDC__
14490 # include <limits.h>
14491 #else
14492 # include <assert.h>
14493 #endif
14495 #undef $ac_func
14497 /* Override any gcc2 internal prototype to avoid an error. */
14498 #ifdef __cplusplus
14499 extern "C"
14501 #endif
14502 /* We use char because int might match the return type of a gcc2
14503 builtin and then its argument prototype would still apply. */
14504 char $ac_func ();
14505 /* The GNU C library defines this for functions which it implements
14506 to always fail with ENOSYS. Some functions are actually named
14507 something starting with __ and the normal name is an alias. */
14508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14509 choke me
14510 #else
14511 char (*f) () = $ac_func;
14512 #endif
14513 #ifdef __cplusplus
14515 #endif
14518 main ()
14520 return f != $ac_func;
14522 return 0;
14524 _ACEOF
14525 rm -f conftest.$ac_objext conftest$ac_exeext
14526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14527 (eval $ac_link) 2>conftest.er1
14528 ac_status=$?
14529 grep -v '^ *+' conftest.er1 >conftest.err
14530 rm -f conftest.er1
14531 cat conftest.err >&5
14532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14533 (exit $ac_status); } &&
14534 { ac_try='test -z "$ac_c_werror_flag"
14535 || test ! -s conftest.err'
14536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14537 (eval $ac_try) 2>&5
14538 ac_status=$?
14539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14540 (exit $ac_status); }; } &&
14541 { ac_try='test -s conftest$ac_exeext'
14542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14543 (eval $ac_try) 2>&5
14544 ac_status=$?
14545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14546 (exit $ac_status); }; }; then
14547 eval "$as_ac_var=yes"
14548 else
14549 echo "$as_me: failed program was:" >&5
14550 sed 's/^/| /' conftest.$ac_ext >&5
14552 eval "$as_ac_var=no"
14554 rm -f conftest.err conftest.$ac_objext \
14555 conftest$ac_exeext conftest.$ac_ext
14557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14559 if test `eval echo '${'$as_ac_var'}'` = yes; then
14560 cat >>confdefs.h <<_ACEOF
14561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14562 _ACEOF
14565 done
14567 else
14569 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14570 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14571 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14572 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14573 echo $ECHO_N "(cached) $ECHO_C" >&6
14574 else
14578 ac_ext=cc
14579 ac_cpp='$CXXCPP $CPPFLAGS'
14580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14584 cat >conftest.$ac_ext <<_ACEOF
14585 /* confdefs.h. */
14586 _ACEOF
14587 cat confdefs.h >>conftest.$ac_ext
14588 cat >>conftest.$ac_ext <<_ACEOF
14589 /* end confdefs.h. */
14590 #include <math.h>
14592 main ()
14594 _frexpf(0, 0);
14596 return 0;
14598 _ACEOF
14599 rm -f conftest.$ac_objext
14600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14601 (eval $ac_compile) 2>conftest.er1
14602 ac_status=$?
14603 grep -v '^ *+' conftest.er1 >conftest.err
14604 rm -f conftest.er1
14605 cat conftest.err >&5
14606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14607 (exit $ac_status); } &&
14608 { ac_try='test -z "$ac_cxx_werror_flag"
14609 || test ! -s conftest.err'
14610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14611 (eval $ac_try) 2>&5
14612 ac_status=$?
14613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14614 (exit $ac_status); }; } &&
14615 { ac_try='test -s conftest.$ac_objext'
14616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14617 (eval $ac_try) 2>&5
14618 ac_status=$?
14619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14620 (exit $ac_status); }; }; then
14621 glibcxx_cv_func__frexpf_use=yes
14622 else
14623 echo "$as_me: failed program was:" >&5
14624 sed 's/^/| /' conftest.$ac_ext >&5
14626 glibcxx_cv_func__frexpf_use=no
14628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14629 ac_ext=c
14630 ac_cpp='$CPP $CPPFLAGS'
14631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14639 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14640 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14642 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14644 for ac_func in _frexpf
14646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14647 echo "$as_me:$LINENO: checking for $ac_func" >&5
14648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14649 if eval "test \"\${$as_ac_var+set}\" = set"; then
14650 echo $ECHO_N "(cached) $ECHO_C" >&6
14651 else
14652 if test x$gcc_no_link = xyes; then
14653 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14655 { (exit 1); exit 1; }; }
14657 cat >conftest.$ac_ext <<_ACEOF
14658 /* confdefs.h. */
14659 _ACEOF
14660 cat confdefs.h >>conftest.$ac_ext
14661 cat >>conftest.$ac_ext <<_ACEOF
14662 /* end confdefs.h. */
14663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14665 #define $ac_func innocuous_$ac_func
14667 /* System header to define __stub macros and hopefully few prototypes,
14668 which can conflict with char $ac_func (); below.
14669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14670 <limits.h> exists even on freestanding compilers. */
14672 #ifdef __STDC__
14673 # include <limits.h>
14674 #else
14675 # include <assert.h>
14676 #endif
14678 #undef $ac_func
14680 /* Override any gcc2 internal prototype to avoid an error. */
14681 #ifdef __cplusplus
14682 extern "C"
14684 #endif
14685 /* We use char because int might match the return type of a gcc2
14686 builtin and then its argument prototype would still apply. */
14687 char $ac_func ();
14688 /* The GNU C library defines this for functions which it implements
14689 to always fail with ENOSYS. Some functions are actually named
14690 something starting with __ and the normal name is an alias. */
14691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14692 choke me
14693 #else
14694 char (*f) () = $ac_func;
14695 #endif
14696 #ifdef __cplusplus
14698 #endif
14701 main ()
14703 return f != $ac_func;
14705 return 0;
14707 _ACEOF
14708 rm -f conftest.$ac_objext conftest$ac_exeext
14709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14710 (eval $ac_link) 2>conftest.er1
14711 ac_status=$?
14712 grep -v '^ *+' conftest.er1 >conftest.err
14713 rm -f conftest.er1
14714 cat conftest.err >&5
14715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14716 (exit $ac_status); } &&
14717 { ac_try='test -z "$ac_c_werror_flag"
14718 || test ! -s conftest.err'
14719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14720 (eval $ac_try) 2>&5
14721 ac_status=$?
14722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14723 (exit $ac_status); }; } &&
14724 { ac_try='test -s conftest$ac_exeext'
14725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14726 (eval $ac_try) 2>&5
14727 ac_status=$?
14728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14729 (exit $ac_status); }; }; then
14730 eval "$as_ac_var=yes"
14731 else
14732 echo "$as_me: failed program was:" >&5
14733 sed 's/^/| /' conftest.$ac_ext >&5
14735 eval "$as_ac_var=no"
14737 rm -f conftest.err conftest.$ac_objext \
14738 conftest$ac_exeext conftest.$ac_ext
14740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14742 if test `eval echo '${'$as_ac_var'}'` = yes; then
14743 cat >>confdefs.h <<_ACEOF
14744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14745 _ACEOF
14748 done
14758 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14759 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14760 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14761 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
14762 echo $ECHO_N "(cached) $ECHO_C" >&6
14763 else
14767 ac_ext=cc
14768 ac_cpp='$CXXCPP $CPPFLAGS'
14769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14773 cat >conftest.$ac_ext <<_ACEOF
14774 /* confdefs.h. */
14775 _ACEOF
14776 cat confdefs.h >>conftest.$ac_ext
14777 cat >>conftest.$ac_ext <<_ACEOF
14778 /* end confdefs.h. */
14779 #include <math.h>
14781 main ()
14783 hypotf(0, 0);
14785 return 0;
14787 _ACEOF
14788 rm -f conftest.$ac_objext
14789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14790 (eval $ac_compile) 2>conftest.er1
14791 ac_status=$?
14792 grep -v '^ *+' conftest.er1 >conftest.err
14793 rm -f conftest.er1
14794 cat conftest.err >&5
14795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14796 (exit $ac_status); } &&
14797 { ac_try='test -z "$ac_cxx_werror_flag"
14798 || test ! -s conftest.err'
14799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14800 (eval $ac_try) 2>&5
14801 ac_status=$?
14802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14803 (exit $ac_status); }; } &&
14804 { ac_try='test -s conftest.$ac_objext'
14805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14806 (eval $ac_try) 2>&5
14807 ac_status=$?
14808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14809 (exit $ac_status); }; }; then
14810 glibcxx_cv_func_hypotf_use=yes
14811 else
14812 echo "$as_me: failed program was:" >&5
14813 sed 's/^/| /' conftest.$ac_ext >&5
14815 glibcxx_cv_func_hypotf_use=no
14817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14818 ac_ext=c
14819 ac_cpp='$CPP $CPPFLAGS'
14820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14828 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
14829 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
14831 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
14833 for ac_func in hypotf
14835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14836 echo "$as_me:$LINENO: checking for $ac_func" >&5
14837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14838 if eval "test \"\${$as_ac_var+set}\" = set"; then
14839 echo $ECHO_N "(cached) $ECHO_C" >&6
14840 else
14841 if test x$gcc_no_link = xyes; then
14842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14844 { (exit 1); exit 1; }; }
14846 cat >conftest.$ac_ext <<_ACEOF
14847 /* confdefs.h. */
14848 _ACEOF
14849 cat confdefs.h >>conftest.$ac_ext
14850 cat >>conftest.$ac_ext <<_ACEOF
14851 /* end confdefs.h. */
14852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14854 #define $ac_func innocuous_$ac_func
14856 /* System header to define __stub macros and hopefully few prototypes,
14857 which can conflict with char $ac_func (); below.
14858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14859 <limits.h> exists even on freestanding compilers. */
14861 #ifdef __STDC__
14862 # include <limits.h>
14863 #else
14864 # include <assert.h>
14865 #endif
14867 #undef $ac_func
14869 /* Override any gcc2 internal prototype to avoid an error. */
14870 #ifdef __cplusplus
14871 extern "C"
14873 #endif
14874 /* We use char because int might match the return type of a gcc2
14875 builtin and then its argument prototype would still apply. */
14876 char $ac_func ();
14877 /* The GNU C library defines this for functions which it implements
14878 to always fail with ENOSYS. Some functions are actually named
14879 something starting with __ and the normal name is an alias. */
14880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14881 choke me
14882 #else
14883 char (*f) () = $ac_func;
14884 #endif
14885 #ifdef __cplusplus
14887 #endif
14890 main ()
14892 return f != $ac_func;
14894 return 0;
14896 _ACEOF
14897 rm -f conftest.$ac_objext conftest$ac_exeext
14898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14899 (eval $ac_link) 2>conftest.er1
14900 ac_status=$?
14901 grep -v '^ *+' conftest.er1 >conftest.err
14902 rm -f conftest.er1
14903 cat conftest.err >&5
14904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14905 (exit $ac_status); } &&
14906 { ac_try='test -z "$ac_c_werror_flag"
14907 || test ! -s conftest.err'
14908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14909 (eval $ac_try) 2>&5
14910 ac_status=$?
14911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14912 (exit $ac_status); }; } &&
14913 { ac_try='test -s conftest$ac_exeext'
14914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14915 (eval $ac_try) 2>&5
14916 ac_status=$?
14917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14918 (exit $ac_status); }; }; then
14919 eval "$as_ac_var=yes"
14920 else
14921 echo "$as_me: failed program was:" >&5
14922 sed 's/^/| /' conftest.$ac_ext >&5
14924 eval "$as_ac_var=no"
14926 rm -f conftest.err conftest.$ac_objext \
14927 conftest$ac_exeext conftest.$ac_ext
14929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14931 if test `eval echo '${'$as_ac_var'}'` = yes; then
14932 cat >>confdefs.h <<_ACEOF
14933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14934 _ACEOF
14937 done
14939 else
14941 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
14942 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
14943 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
14944 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
14945 echo $ECHO_N "(cached) $ECHO_C" >&6
14946 else
14950 ac_ext=cc
14951 ac_cpp='$CXXCPP $CPPFLAGS'
14952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14956 cat >conftest.$ac_ext <<_ACEOF
14957 /* confdefs.h. */
14958 _ACEOF
14959 cat confdefs.h >>conftest.$ac_ext
14960 cat >>conftest.$ac_ext <<_ACEOF
14961 /* end confdefs.h. */
14962 #include <math.h>
14964 main ()
14966 _hypotf(0, 0);
14968 return 0;
14970 _ACEOF
14971 rm -f conftest.$ac_objext
14972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14973 (eval $ac_compile) 2>conftest.er1
14974 ac_status=$?
14975 grep -v '^ *+' conftest.er1 >conftest.err
14976 rm -f conftest.er1
14977 cat conftest.err >&5
14978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14979 (exit $ac_status); } &&
14980 { ac_try='test -z "$ac_cxx_werror_flag"
14981 || test ! -s conftest.err'
14982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14983 (eval $ac_try) 2>&5
14984 ac_status=$?
14985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14986 (exit $ac_status); }; } &&
14987 { ac_try='test -s conftest.$ac_objext'
14988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14989 (eval $ac_try) 2>&5
14990 ac_status=$?
14991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14992 (exit $ac_status); }; }; then
14993 glibcxx_cv_func__hypotf_use=yes
14994 else
14995 echo "$as_me: failed program was:" >&5
14996 sed 's/^/| /' conftest.$ac_ext >&5
14998 glibcxx_cv_func__hypotf_use=no
15000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15001 ac_ext=c
15002 ac_cpp='$CPP $CPPFLAGS'
15003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15011 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
15012 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
15014 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
15016 for ac_func in _hypotf
15018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15019 echo "$as_me:$LINENO: checking for $ac_func" >&5
15020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15021 if eval "test \"\${$as_ac_var+set}\" = set"; then
15022 echo $ECHO_N "(cached) $ECHO_C" >&6
15023 else
15024 if test x$gcc_no_link = xyes; then
15025 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15027 { (exit 1); exit 1; }; }
15029 cat >conftest.$ac_ext <<_ACEOF
15030 /* confdefs.h. */
15031 _ACEOF
15032 cat confdefs.h >>conftest.$ac_ext
15033 cat >>conftest.$ac_ext <<_ACEOF
15034 /* end confdefs.h. */
15035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15036 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15037 #define $ac_func innocuous_$ac_func
15039 /* System header to define __stub macros and hopefully few prototypes,
15040 which can conflict with char $ac_func (); below.
15041 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15042 <limits.h> exists even on freestanding compilers. */
15044 #ifdef __STDC__
15045 # include <limits.h>
15046 #else
15047 # include <assert.h>
15048 #endif
15050 #undef $ac_func
15052 /* Override any gcc2 internal prototype to avoid an error. */
15053 #ifdef __cplusplus
15054 extern "C"
15056 #endif
15057 /* We use char because int might match the return type of a gcc2
15058 builtin and then its argument prototype would still apply. */
15059 char $ac_func ();
15060 /* The GNU C library defines this for functions which it implements
15061 to always fail with ENOSYS. Some functions are actually named
15062 something starting with __ and the normal name is an alias. */
15063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15064 choke me
15065 #else
15066 char (*f) () = $ac_func;
15067 #endif
15068 #ifdef __cplusplus
15070 #endif
15073 main ()
15075 return f != $ac_func;
15077 return 0;
15079 _ACEOF
15080 rm -f conftest.$ac_objext conftest$ac_exeext
15081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15082 (eval $ac_link) 2>conftest.er1
15083 ac_status=$?
15084 grep -v '^ *+' conftest.er1 >conftest.err
15085 rm -f conftest.er1
15086 cat conftest.err >&5
15087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15088 (exit $ac_status); } &&
15089 { ac_try='test -z "$ac_c_werror_flag"
15090 || test ! -s conftest.err'
15091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15092 (eval $ac_try) 2>&5
15093 ac_status=$?
15094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15095 (exit $ac_status); }; } &&
15096 { ac_try='test -s conftest$ac_exeext'
15097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15098 (eval $ac_try) 2>&5
15099 ac_status=$?
15100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15101 (exit $ac_status); }; }; then
15102 eval "$as_ac_var=yes"
15103 else
15104 echo "$as_me: failed program was:" >&5
15105 sed 's/^/| /' conftest.$ac_ext >&5
15107 eval "$as_ac_var=no"
15109 rm -f conftest.err conftest.$ac_objext \
15110 conftest$ac_exeext conftest.$ac_ext
15112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15113 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15114 if test `eval echo '${'$as_ac_var'}'` = yes; then
15115 cat >>confdefs.h <<_ACEOF
15116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15117 _ACEOF
15120 done
15130 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
15131 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
15132 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
15133 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
15134 echo $ECHO_N "(cached) $ECHO_C" >&6
15135 else
15139 ac_ext=cc
15140 ac_cpp='$CXXCPP $CPPFLAGS'
15141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15145 cat >conftest.$ac_ext <<_ACEOF
15146 /* confdefs.h. */
15147 _ACEOF
15148 cat confdefs.h >>conftest.$ac_ext
15149 cat >>conftest.$ac_ext <<_ACEOF
15150 /* end confdefs.h. */
15151 #include <math.h>
15153 main ()
15155 ldexpf(0, 0);
15157 return 0;
15159 _ACEOF
15160 rm -f conftest.$ac_objext
15161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15162 (eval $ac_compile) 2>conftest.er1
15163 ac_status=$?
15164 grep -v '^ *+' conftest.er1 >conftest.err
15165 rm -f conftest.er1
15166 cat conftest.err >&5
15167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15168 (exit $ac_status); } &&
15169 { ac_try='test -z "$ac_cxx_werror_flag"
15170 || test ! -s conftest.err'
15171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15172 (eval $ac_try) 2>&5
15173 ac_status=$?
15174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15175 (exit $ac_status); }; } &&
15176 { ac_try='test -s conftest.$ac_objext'
15177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15178 (eval $ac_try) 2>&5
15179 ac_status=$?
15180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15181 (exit $ac_status); }; }; then
15182 glibcxx_cv_func_ldexpf_use=yes
15183 else
15184 echo "$as_me: failed program was:" >&5
15185 sed 's/^/| /' conftest.$ac_ext >&5
15187 glibcxx_cv_func_ldexpf_use=no
15189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15190 ac_ext=c
15191 ac_cpp='$CPP $CPPFLAGS'
15192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15200 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
15201 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
15203 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
15205 for ac_func in ldexpf
15207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15208 echo "$as_me:$LINENO: checking for $ac_func" >&5
15209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15210 if eval "test \"\${$as_ac_var+set}\" = set"; then
15211 echo $ECHO_N "(cached) $ECHO_C" >&6
15212 else
15213 if test x$gcc_no_link = xyes; then
15214 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15216 { (exit 1); exit 1; }; }
15218 cat >conftest.$ac_ext <<_ACEOF
15219 /* confdefs.h. */
15220 _ACEOF
15221 cat confdefs.h >>conftest.$ac_ext
15222 cat >>conftest.$ac_ext <<_ACEOF
15223 /* end confdefs.h. */
15224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15226 #define $ac_func innocuous_$ac_func
15228 /* System header to define __stub macros and hopefully few prototypes,
15229 which can conflict with char $ac_func (); below.
15230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15231 <limits.h> exists even on freestanding compilers. */
15233 #ifdef __STDC__
15234 # include <limits.h>
15235 #else
15236 # include <assert.h>
15237 #endif
15239 #undef $ac_func
15241 /* Override any gcc2 internal prototype to avoid an error. */
15242 #ifdef __cplusplus
15243 extern "C"
15245 #endif
15246 /* We use char because int might match the return type of a gcc2
15247 builtin and then its argument prototype would still apply. */
15248 char $ac_func ();
15249 /* The GNU C library defines this for functions which it implements
15250 to always fail with ENOSYS. Some functions are actually named
15251 something starting with __ and the normal name is an alias. */
15252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15253 choke me
15254 #else
15255 char (*f) () = $ac_func;
15256 #endif
15257 #ifdef __cplusplus
15259 #endif
15262 main ()
15264 return f != $ac_func;
15266 return 0;
15268 _ACEOF
15269 rm -f conftest.$ac_objext conftest$ac_exeext
15270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15271 (eval $ac_link) 2>conftest.er1
15272 ac_status=$?
15273 grep -v '^ *+' conftest.er1 >conftest.err
15274 rm -f conftest.er1
15275 cat conftest.err >&5
15276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15277 (exit $ac_status); } &&
15278 { ac_try='test -z "$ac_c_werror_flag"
15279 || test ! -s conftest.err'
15280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15281 (eval $ac_try) 2>&5
15282 ac_status=$?
15283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15284 (exit $ac_status); }; } &&
15285 { ac_try='test -s conftest$ac_exeext'
15286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15287 (eval $ac_try) 2>&5
15288 ac_status=$?
15289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15290 (exit $ac_status); }; }; then
15291 eval "$as_ac_var=yes"
15292 else
15293 echo "$as_me: failed program was:" >&5
15294 sed 's/^/| /' conftest.$ac_ext >&5
15296 eval "$as_ac_var=no"
15298 rm -f conftest.err conftest.$ac_objext \
15299 conftest$ac_exeext conftest.$ac_ext
15301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15303 if test `eval echo '${'$as_ac_var'}'` = yes; then
15304 cat >>confdefs.h <<_ACEOF
15305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15306 _ACEOF
15309 done
15311 else
15313 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
15314 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
15315 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
15316 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
15317 echo $ECHO_N "(cached) $ECHO_C" >&6
15318 else
15322 ac_ext=cc
15323 ac_cpp='$CXXCPP $CPPFLAGS'
15324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15328 cat >conftest.$ac_ext <<_ACEOF
15329 /* confdefs.h. */
15330 _ACEOF
15331 cat confdefs.h >>conftest.$ac_ext
15332 cat >>conftest.$ac_ext <<_ACEOF
15333 /* end confdefs.h. */
15334 #include <math.h>
15336 main ()
15338 _ldexpf(0, 0);
15340 return 0;
15342 _ACEOF
15343 rm -f conftest.$ac_objext
15344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15345 (eval $ac_compile) 2>conftest.er1
15346 ac_status=$?
15347 grep -v '^ *+' conftest.er1 >conftest.err
15348 rm -f conftest.er1
15349 cat conftest.err >&5
15350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15351 (exit $ac_status); } &&
15352 { ac_try='test -z "$ac_cxx_werror_flag"
15353 || test ! -s conftest.err'
15354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15355 (eval $ac_try) 2>&5
15356 ac_status=$?
15357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15358 (exit $ac_status); }; } &&
15359 { ac_try='test -s conftest.$ac_objext'
15360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15361 (eval $ac_try) 2>&5
15362 ac_status=$?
15363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15364 (exit $ac_status); }; }; then
15365 glibcxx_cv_func__ldexpf_use=yes
15366 else
15367 echo "$as_me: failed program was:" >&5
15368 sed 's/^/| /' conftest.$ac_ext >&5
15370 glibcxx_cv_func__ldexpf_use=no
15372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15373 ac_ext=c
15374 ac_cpp='$CPP $CPPFLAGS'
15375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15383 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
15384 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
15386 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
15388 for ac_func in _ldexpf
15390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15391 echo "$as_me:$LINENO: checking for $ac_func" >&5
15392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15393 if eval "test \"\${$as_ac_var+set}\" = set"; then
15394 echo $ECHO_N "(cached) $ECHO_C" >&6
15395 else
15396 if test x$gcc_no_link = xyes; then
15397 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15399 { (exit 1); exit 1; }; }
15401 cat >conftest.$ac_ext <<_ACEOF
15402 /* confdefs.h. */
15403 _ACEOF
15404 cat confdefs.h >>conftest.$ac_ext
15405 cat >>conftest.$ac_ext <<_ACEOF
15406 /* end confdefs.h. */
15407 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15408 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15409 #define $ac_func innocuous_$ac_func
15411 /* System header to define __stub macros and hopefully few prototypes,
15412 which can conflict with char $ac_func (); below.
15413 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15414 <limits.h> exists even on freestanding compilers. */
15416 #ifdef __STDC__
15417 # include <limits.h>
15418 #else
15419 # include <assert.h>
15420 #endif
15422 #undef $ac_func
15424 /* Override any gcc2 internal prototype to avoid an error. */
15425 #ifdef __cplusplus
15426 extern "C"
15428 #endif
15429 /* We use char because int might match the return type of a gcc2
15430 builtin and then its argument prototype would still apply. */
15431 char $ac_func ();
15432 /* The GNU C library defines this for functions which it implements
15433 to always fail with ENOSYS. Some functions are actually named
15434 something starting with __ and the normal name is an alias. */
15435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15436 choke me
15437 #else
15438 char (*f) () = $ac_func;
15439 #endif
15440 #ifdef __cplusplus
15442 #endif
15445 main ()
15447 return f != $ac_func;
15449 return 0;
15451 _ACEOF
15452 rm -f conftest.$ac_objext conftest$ac_exeext
15453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15454 (eval $ac_link) 2>conftest.er1
15455 ac_status=$?
15456 grep -v '^ *+' conftest.er1 >conftest.err
15457 rm -f conftest.er1
15458 cat conftest.err >&5
15459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15460 (exit $ac_status); } &&
15461 { ac_try='test -z "$ac_c_werror_flag"
15462 || test ! -s conftest.err'
15463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15464 (eval $ac_try) 2>&5
15465 ac_status=$?
15466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15467 (exit $ac_status); }; } &&
15468 { ac_try='test -s conftest$ac_exeext'
15469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15470 (eval $ac_try) 2>&5
15471 ac_status=$?
15472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15473 (exit $ac_status); }; }; then
15474 eval "$as_ac_var=yes"
15475 else
15476 echo "$as_me: failed program was:" >&5
15477 sed 's/^/| /' conftest.$ac_ext >&5
15479 eval "$as_ac_var=no"
15481 rm -f conftest.err conftest.$ac_objext \
15482 conftest$ac_exeext conftest.$ac_ext
15484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15486 if test `eval echo '${'$as_ac_var'}'` = yes; then
15487 cat >>confdefs.h <<_ACEOF
15488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15489 _ACEOF
15492 done
15502 echo "$as_me:$LINENO: checking for logf declaration" >&5
15503 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15504 if test x${glibcxx_cv_func_logf_use+set} != xset; then
15505 if test "${glibcxx_cv_func_logf_use+set}" = set; then
15506 echo $ECHO_N "(cached) $ECHO_C" >&6
15507 else
15511 ac_ext=cc
15512 ac_cpp='$CXXCPP $CPPFLAGS'
15513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15517 cat >conftest.$ac_ext <<_ACEOF
15518 /* confdefs.h. */
15519 _ACEOF
15520 cat confdefs.h >>conftest.$ac_ext
15521 cat >>conftest.$ac_ext <<_ACEOF
15522 /* end confdefs.h. */
15523 #include <math.h>
15524 #ifdef HAVE_IEEEFP_H
15525 #include <ieeefp.h>
15526 #endif
15529 main ()
15531 logf(0);
15533 return 0;
15535 _ACEOF
15536 rm -f conftest.$ac_objext
15537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15538 (eval $ac_compile) 2>conftest.er1
15539 ac_status=$?
15540 grep -v '^ *+' conftest.er1 >conftest.err
15541 rm -f conftest.er1
15542 cat conftest.err >&5
15543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15544 (exit $ac_status); } &&
15545 { ac_try='test -z "$ac_cxx_werror_flag"
15546 || test ! -s conftest.err'
15547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15548 (eval $ac_try) 2>&5
15549 ac_status=$?
15550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15551 (exit $ac_status); }; } &&
15552 { ac_try='test -s conftest.$ac_objext'
15553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15554 (eval $ac_try) 2>&5
15555 ac_status=$?
15556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15557 (exit $ac_status); }; }; then
15558 glibcxx_cv_func_logf_use=yes
15559 else
15560 echo "$as_me: failed program was:" >&5
15561 sed 's/^/| /' conftest.$ac_ext >&5
15563 glibcxx_cv_func_logf_use=no
15565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15566 ac_ext=c
15567 ac_cpp='$CPP $CPPFLAGS'
15568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15576 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15577 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15579 if test x$glibcxx_cv_func_logf_use = x"yes"; then
15581 for ac_func in logf
15583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15584 echo "$as_me:$LINENO: checking for $ac_func" >&5
15585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15586 if eval "test \"\${$as_ac_var+set}\" = set"; then
15587 echo $ECHO_N "(cached) $ECHO_C" >&6
15588 else
15589 if test x$gcc_no_link = xyes; then
15590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15592 { (exit 1); exit 1; }; }
15594 cat >conftest.$ac_ext <<_ACEOF
15595 /* confdefs.h. */
15596 _ACEOF
15597 cat confdefs.h >>conftest.$ac_ext
15598 cat >>conftest.$ac_ext <<_ACEOF
15599 /* end confdefs.h. */
15600 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15602 #define $ac_func innocuous_$ac_func
15604 /* System header to define __stub macros and hopefully few prototypes,
15605 which can conflict with char $ac_func (); below.
15606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15607 <limits.h> exists even on freestanding compilers. */
15609 #ifdef __STDC__
15610 # include <limits.h>
15611 #else
15612 # include <assert.h>
15613 #endif
15615 #undef $ac_func
15617 /* Override any gcc2 internal prototype to avoid an error. */
15618 #ifdef __cplusplus
15619 extern "C"
15621 #endif
15622 /* We use char because int might match the return type of a gcc2
15623 builtin and then its argument prototype would still apply. */
15624 char $ac_func ();
15625 /* The GNU C library defines this for functions which it implements
15626 to always fail with ENOSYS. Some functions are actually named
15627 something starting with __ and the normal name is an alias. */
15628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15629 choke me
15630 #else
15631 char (*f) () = $ac_func;
15632 #endif
15633 #ifdef __cplusplus
15635 #endif
15638 main ()
15640 return f != $ac_func;
15642 return 0;
15644 _ACEOF
15645 rm -f conftest.$ac_objext conftest$ac_exeext
15646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15647 (eval $ac_link) 2>conftest.er1
15648 ac_status=$?
15649 grep -v '^ *+' conftest.er1 >conftest.err
15650 rm -f conftest.er1
15651 cat conftest.err >&5
15652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15653 (exit $ac_status); } &&
15654 { ac_try='test -z "$ac_c_werror_flag"
15655 || test ! -s conftest.err'
15656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15657 (eval $ac_try) 2>&5
15658 ac_status=$?
15659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15660 (exit $ac_status); }; } &&
15661 { ac_try='test -s conftest$ac_exeext'
15662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15663 (eval $ac_try) 2>&5
15664 ac_status=$?
15665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15666 (exit $ac_status); }; }; then
15667 eval "$as_ac_var=yes"
15668 else
15669 echo "$as_me: failed program was:" >&5
15670 sed 's/^/| /' conftest.$ac_ext >&5
15672 eval "$as_ac_var=no"
15674 rm -f conftest.err conftest.$ac_objext \
15675 conftest$ac_exeext conftest.$ac_ext
15677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15678 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15679 if test `eval echo '${'$as_ac_var'}'` = yes; then
15680 cat >>confdefs.h <<_ACEOF
15681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15682 _ACEOF
15685 done
15687 else
15689 echo "$as_me:$LINENO: checking for _logf declaration" >&5
15690 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15691 if test x${glibcxx_cv_func__logf_use+set} != xset; then
15692 if test "${glibcxx_cv_func__logf_use+set}" = set; then
15693 echo $ECHO_N "(cached) $ECHO_C" >&6
15694 else
15698 ac_ext=cc
15699 ac_cpp='$CXXCPP $CPPFLAGS'
15700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15704 cat >conftest.$ac_ext <<_ACEOF
15705 /* confdefs.h. */
15706 _ACEOF
15707 cat confdefs.h >>conftest.$ac_ext
15708 cat >>conftest.$ac_ext <<_ACEOF
15709 /* end confdefs.h. */
15710 #include <math.h>
15711 #ifdef HAVE_IEEEFP_H
15712 #include <ieeefp.h>
15713 #endif
15716 main ()
15718 _logf(0);
15720 return 0;
15722 _ACEOF
15723 rm -f conftest.$ac_objext
15724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15725 (eval $ac_compile) 2>conftest.er1
15726 ac_status=$?
15727 grep -v '^ *+' conftest.er1 >conftest.err
15728 rm -f conftest.er1
15729 cat conftest.err >&5
15730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15731 (exit $ac_status); } &&
15732 { ac_try='test -z "$ac_cxx_werror_flag"
15733 || test ! -s conftest.err'
15734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15735 (eval $ac_try) 2>&5
15736 ac_status=$?
15737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15738 (exit $ac_status); }; } &&
15739 { ac_try='test -s conftest.$ac_objext'
15740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15741 (eval $ac_try) 2>&5
15742 ac_status=$?
15743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15744 (exit $ac_status); }; }; then
15745 glibcxx_cv_func__logf_use=yes
15746 else
15747 echo "$as_me: failed program was:" >&5
15748 sed 's/^/| /' conftest.$ac_ext >&5
15750 glibcxx_cv_func__logf_use=no
15752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15753 ac_ext=c
15754 ac_cpp='$CPP $CPPFLAGS'
15755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15763 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
15764 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
15766 if test x$glibcxx_cv_func__logf_use = x"yes"; then
15768 for ac_func in _logf
15770 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15771 echo "$as_me:$LINENO: checking for $ac_func" >&5
15772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15773 if eval "test \"\${$as_ac_var+set}\" = set"; then
15774 echo $ECHO_N "(cached) $ECHO_C" >&6
15775 else
15776 if test x$gcc_no_link = xyes; then
15777 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15779 { (exit 1); exit 1; }; }
15781 cat >conftest.$ac_ext <<_ACEOF
15782 /* confdefs.h. */
15783 _ACEOF
15784 cat confdefs.h >>conftest.$ac_ext
15785 cat >>conftest.$ac_ext <<_ACEOF
15786 /* end confdefs.h. */
15787 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15789 #define $ac_func innocuous_$ac_func
15791 /* System header to define __stub macros and hopefully few prototypes,
15792 which can conflict with char $ac_func (); below.
15793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15794 <limits.h> exists even on freestanding compilers. */
15796 #ifdef __STDC__
15797 # include <limits.h>
15798 #else
15799 # include <assert.h>
15800 #endif
15802 #undef $ac_func
15804 /* Override any gcc2 internal prototype to avoid an error. */
15805 #ifdef __cplusplus
15806 extern "C"
15808 #endif
15809 /* We use char because int might match the return type of a gcc2
15810 builtin and then its argument prototype would still apply. */
15811 char $ac_func ();
15812 /* The GNU C library defines this for functions which it implements
15813 to always fail with ENOSYS. Some functions are actually named
15814 something starting with __ and the normal name is an alias. */
15815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15816 choke me
15817 #else
15818 char (*f) () = $ac_func;
15819 #endif
15820 #ifdef __cplusplus
15822 #endif
15825 main ()
15827 return f != $ac_func;
15829 return 0;
15831 _ACEOF
15832 rm -f conftest.$ac_objext conftest$ac_exeext
15833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15834 (eval $ac_link) 2>conftest.er1
15835 ac_status=$?
15836 grep -v '^ *+' conftest.er1 >conftest.err
15837 rm -f conftest.er1
15838 cat conftest.err >&5
15839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15840 (exit $ac_status); } &&
15841 { ac_try='test -z "$ac_c_werror_flag"
15842 || test ! -s conftest.err'
15843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15844 (eval $ac_try) 2>&5
15845 ac_status=$?
15846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15847 (exit $ac_status); }; } &&
15848 { ac_try='test -s conftest$ac_exeext'
15849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15850 (eval $ac_try) 2>&5
15851 ac_status=$?
15852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15853 (exit $ac_status); }; }; then
15854 eval "$as_ac_var=yes"
15855 else
15856 echo "$as_me: failed program was:" >&5
15857 sed 's/^/| /' conftest.$ac_ext >&5
15859 eval "$as_ac_var=no"
15861 rm -f conftest.err conftest.$ac_objext \
15862 conftest$ac_exeext conftest.$ac_ext
15864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15865 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15866 if test `eval echo '${'$as_ac_var'}'` = yes; then
15867 cat >>confdefs.h <<_ACEOF
15868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15869 _ACEOF
15872 done
15882 echo "$as_me:$LINENO: checking for log10f declaration" >&5
15883 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
15884 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
15885 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
15886 echo $ECHO_N "(cached) $ECHO_C" >&6
15887 else
15891 ac_ext=cc
15892 ac_cpp='$CXXCPP $CPPFLAGS'
15893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15897 cat >conftest.$ac_ext <<_ACEOF
15898 /* confdefs.h. */
15899 _ACEOF
15900 cat confdefs.h >>conftest.$ac_ext
15901 cat >>conftest.$ac_ext <<_ACEOF
15902 /* end confdefs.h. */
15903 #include <math.h>
15904 #ifdef HAVE_IEEEFP_H
15905 #include <ieeefp.h>
15906 #endif
15909 main ()
15911 log10f(0);
15913 return 0;
15915 _ACEOF
15916 rm -f conftest.$ac_objext
15917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15918 (eval $ac_compile) 2>conftest.er1
15919 ac_status=$?
15920 grep -v '^ *+' conftest.er1 >conftest.err
15921 rm -f conftest.er1
15922 cat conftest.err >&5
15923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15924 (exit $ac_status); } &&
15925 { ac_try='test -z "$ac_cxx_werror_flag"
15926 || test ! -s conftest.err'
15927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15928 (eval $ac_try) 2>&5
15929 ac_status=$?
15930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15931 (exit $ac_status); }; } &&
15932 { ac_try='test -s conftest.$ac_objext'
15933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15934 (eval $ac_try) 2>&5
15935 ac_status=$?
15936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15937 (exit $ac_status); }; }; then
15938 glibcxx_cv_func_log10f_use=yes
15939 else
15940 echo "$as_me: failed program was:" >&5
15941 sed 's/^/| /' conftest.$ac_ext >&5
15943 glibcxx_cv_func_log10f_use=no
15945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15946 ac_ext=c
15947 ac_cpp='$CPP $CPPFLAGS'
15948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15956 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
15957 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
15959 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
15961 for ac_func in log10f
15963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15964 echo "$as_me:$LINENO: checking for $ac_func" >&5
15965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15966 if eval "test \"\${$as_ac_var+set}\" = set"; then
15967 echo $ECHO_N "(cached) $ECHO_C" >&6
15968 else
15969 if test x$gcc_no_link = xyes; then
15970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15972 { (exit 1); exit 1; }; }
15974 cat >conftest.$ac_ext <<_ACEOF
15975 /* confdefs.h. */
15976 _ACEOF
15977 cat confdefs.h >>conftest.$ac_ext
15978 cat >>conftest.$ac_ext <<_ACEOF
15979 /* end confdefs.h. */
15980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15982 #define $ac_func innocuous_$ac_func
15984 /* System header to define __stub macros and hopefully few prototypes,
15985 which can conflict with char $ac_func (); below.
15986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15987 <limits.h> exists even on freestanding compilers. */
15989 #ifdef __STDC__
15990 # include <limits.h>
15991 #else
15992 # include <assert.h>
15993 #endif
15995 #undef $ac_func
15997 /* Override any gcc2 internal prototype to avoid an error. */
15998 #ifdef __cplusplus
15999 extern "C"
16001 #endif
16002 /* We use char because int might match the return type of a gcc2
16003 builtin and then its argument prototype would still apply. */
16004 char $ac_func ();
16005 /* The GNU C library defines this for functions which it implements
16006 to always fail with ENOSYS. Some functions are actually named
16007 something starting with __ and the normal name is an alias. */
16008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16009 choke me
16010 #else
16011 char (*f) () = $ac_func;
16012 #endif
16013 #ifdef __cplusplus
16015 #endif
16018 main ()
16020 return f != $ac_func;
16022 return 0;
16024 _ACEOF
16025 rm -f conftest.$ac_objext conftest$ac_exeext
16026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16027 (eval $ac_link) 2>conftest.er1
16028 ac_status=$?
16029 grep -v '^ *+' conftest.er1 >conftest.err
16030 rm -f conftest.er1
16031 cat conftest.err >&5
16032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16033 (exit $ac_status); } &&
16034 { ac_try='test -z "$ac_c_werror_flag"
16035 || test ! -s conftest.err'
16036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16037 (eval $ac_try) 2>&5
16038 ac_status=$?
16039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16040 (exit $ac_status); }; } &&
16041 { ac_try='test -s conftest$ac_exeext'
16042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16043 (eval $ac_try) 2>&5
16044 ac_status=$?
16045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16046 (exit $ac_status); }; }; then
16047 eval "$as_ac_var=yes"
16048 else
16049 echo "$as_me: failed program was:" >&5
16050 sed 's/^/| /' conftest.$ac_ext >&5
16052 eval "$as_ac_var=no"
16054 rm -f conftest.err conftest.$ac_objext \
16055 conftest$ac_exeext conftest.$ac_ext
16057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16059 if test `eval echo '${'$as_ac_var'}'` = yes; then
16060 cat >>confdefs.h <<_ACEOF
16061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16062 _ACEOF
16065 done
16067 else
16069 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
16070 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
16071 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
16072 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
16073 echo $ECHO_N "(cached) $ECHO_C" >&6
16074 else
16078 ac_ext=cc
16079 ac_cpp='$CXXCPP $CPPFLAGS'
16080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16084 cat >conftest.$ac_ext <<_ACEOF
16085 /* confdefs.h. */
16086 _ACEOF
16087 cat confdefs.h >>conftest.$ac_ext
16088 cat >>conftest.$ac_ext <<_ACEOF
16089 /* end confdefs.h. */
16090 #include <math.h>
16091 #ifdef HAVE_IEEEFP_H
16092 #include <ieeefp.h>
16093 #endif
16096 main ()
16098 _log10f(0);
16100 return 0;
16102 _ACEOF
16103 rm -f conftest.$ac_objext
16104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16105 (eval $ac_compile) 2>conftest.er1
16106 ac_status=$?
16107 grep -v '^ *+' conftest.er1 >conftest.err
16108 rm -f conftest.er1
16109 cat conftest.err >&5
16110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16111 (exit $ac_status); } &&
16112 { ac_try='test -z "$ac_cxx_werror_flag"
16113 || test ! -s conftest.err'
16114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16115 (eval $ac_try) 2>&5
16116 ac_status=$?
16117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16118 (exit $ac_status); }; } &&
16119 { ac_try='test -s conftest.$ac_objext'
16120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16121 (eval $ac_try) 2>&5
16122 ac_status=$?
16123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16124 (exit $ac_status); }; }; then
16125 glibcxx_cv_func__log10f_use=yes
16126 else
16127 echo "$as_me: failed program was:" >&5
16128 sed 's/^/| /' conftest.$ac_ext >&5
16130 glibcxx_cv_func__log10f_use=no
16132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16133 ac_ext=c
16134 ac_cpp='$CPP $CPPFLAGS'
16135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16143 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
16144 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
16146 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
16148 for ac_func in _log10f
16150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16151 echo "$as_me:$LINENO: checking for $ac_func" >&5
16152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16153 if eval "test \"\${$as_ac_var+set}\" = set"; then
16154 echo $ECHO_N "(cached) $ECHO_C" >&6
16155 else
16156 if test x$gcc_no_link = xyes; then
16157 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16159 { (exit 1); exit 1; }; }
16161 cat >conftest.$ac_ext <<_ACEOF
16162 /* confdefs.h. */
16163 _ACEOF
16164 cat confdefs.h >>conftest.$ac_ext
16165 cat >>conftest.$ac_ext <<_ACEOF
16166 /* end confdefs.h. */
16167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16168 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16169 #define $ac_func innocuous_$ac_func
16171 /* System header to define __stub macros and hopefully few prototypes,
16172 which can conflict with char $ac_func (); below.
16173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16174 <limits.h> exists even on freestanding compilers. */
16176 #ifdef __STDC__
16177 # include <limits.h>
16178 #else
16179 # include <assert.h>
16180 #endif
16182 #undef $ac_func
16184 /* Override any gcc2 internal prototype to avoid an error. */
16185 #ifdef __cplusplus
16186 extern "C"
16188 #endif
16189 /* We use char because int might match the return type of a gcc2
16190 builtin and then its argument prototype would still apply. */
16191 char $ac_func ();
16192 /* The GNU C library defines this for functions which it implements
16193 to always fail with ENOSYS. Some functions are actually named
16194 something starting with __ and the normal name is an alias. */
16195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16196 choke me
16197 #else
16198 char (*f) () = $ac_func;
16199 #endif
16200 #ifdef __cplusplus
16202 #endif
16205 main ()
16207 return f != $ac_func;
16209 return 0;
16211 _ACEOF
16212 rm -f conftest.$ac_objext conftest$ac_exeext
16213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16214 (eval $ac_link) 2>conftest.er1
16215 ac_status=$?
16216 grep -v '^ *+' conftest.er1 >conftest.err
16217 rm -f conftest.er1
16218 cat conftest.err >&5
16219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16220 (exit $ac_status); } &&
16221 { ac_try='test -z "$ac_c_werror_flag"
16222 || test ! -s conftest.err'
16223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16224 (eval $ac_try) 2>&5
16225 ac_status=$?
16226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16227 (exit $ac_status); }; } &&
16228 { ac_try='test -s conftest$ac_exeext'
16229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16230 (eval $ac_try) 2>&5
16231 ac_status=$?
16232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16233 (exit $ac_status); }; }; then
16234 eval "$as_ac_var=yes"
16235 else
16236 echo "$as_me: failed program was:" >&5
16237 sed 's/^/| /' conftest.$ac_ext >&5
16239 eval "$as_ac_var=no"
16241 rm -f conftest.err conftest.$ac_objext \
16242 conftest$ac_exeext conftest.$ac_ext
16244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16246 if test `eval echo '${'$as_ac_var'}'` = yes; then
16247 cat >>confdefs.h <<_ACEOF
16248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16249 _ACEOF
16252 done
16262 echo "$as_me:$LINENO: checking for modff declaration" >&5
16263 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
16264 if test x${glibcxx_cv_func_modff_use+set} != xset; then
16265 if test "${glibcxx_cv_func_modff_use+set}" = set; then
16266 echo $ECHO_N "(cached) $ECHO_C" >&6
16267 else
16271 ac_ext=cc
16272 ac_cpp='$CXXCPP $CPPFLAGS'
16273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16277 cat >conftest.$ac_ext <<_ACEOF
16278 /* confdefs.h. */
16279 _ACEOF
16280 cat confdefs.h >>conftest.$ac_ext
16281 cat >>conftest.$ac_ext <<_ACEOF
16282 /* end confdefs.h. */
16283 #include <math.h>
16285 main ()
16287 modff(0, 0);
16289 return 0;
16291 _ACEOF
16292 rm -f conftest.$ac_objext
16293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16294 (eval $ac_compile) 2>conftest.er1
16295 ac_status=$?
16296 grep -v '^ *+' conftest.er1 >conftest.err
16297 rm -f conftest.er1
16298 cat conftest.err >&5
16299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16300 (exit $ac_status); } &&
16301 { ac_try='test -z "$ac_cxx_werror_flag"
16302 || test ! -s conftest.err'
16303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16304 (eval $ac_try) 2>&5
16305 ac_status=$?
16306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16307 (exit $ac_status); }; } &&
16308 { ac_try='test -s conftest.$ac_objext'
16309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16310 (eval $ac_try) 2>&5
16311 ac_status=$?
16312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16313 (exit $ac_status); }; }; then
16314 glibcxx_cv_func_modff_use=yes
16315 else
16316 echo "$as_me: failed program was:" >&5
16317 sed 's/^/| /' conftest.$ac_ext >&5
16319 glibcxx_cv_func_modff_use=no
16321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16322 ac_ext=c
16323 ac_cpp='$CPP $CPPFLAGS'
16324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16332 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
16333 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
16335 if test x$glibcxx_cv_func_modff_use = x"yes"; then
16337 for ac_func in modff
16339 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16340 echo "$as_me:$LINENO: checking for $ac_func" >&5
16341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16342 if eval "test \"\${$as_ac_var+set}\" = set"; then
16343 echo $ECHO_N "(cached) $ECHO_C" >&6
16344 else
16345 if test x$gcc_no_link = xyes; then
16346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16348 { (exit 1); exit 1; }; }
16350 cat >conftest.$ac_ext <<_ACEOF
16351 /* confdefs.h. */
16352 _ACEOF
16353 cat confdefs.h >>conftest.$ac_ext
16354 cat >>conftest.$ac_ext <<_ACEOF
16355 /* end confdefs.h. */
16356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16358 #define $ac_func innocuous_$ac_func
16360 /* System header to define __stub macros and hopefully few prototypes,
16361 which can conflict with char $ac_func (); below.
16362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16363 <limits.h> exists even on freestanding compilers. */
16365 #ifdef __STDC__
16366 # include <limits.h>
16367 #else
16368 # include <assert.h>
16369 #endif
16371 #undef $ac_func
16373 /* Override any gcc2 internal prototype to avoid an error. */
16374 #ifdef __cplusplus
16375 extern "C"
16377 #endif
16378 /* We use char because int might match the return type of a gcc2
16379 builtin and then its argument prototype would still apply. */
16380 char $ac_func ();
16381 /* The GNU C library defines this for functions which it implements
16382 to always fail with ENOSYS. Some functions are actually named
16383 something starting with __ and the normal name is an alias. */
16384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16385 choke me
16386 #else
16387 char (*f) () = $ac_func;
16388 #endif
16389 #ifdef __cplusplus
16391 #endif
16394 main ()
16396 return f != $ac_func;
16398 return 0;
16400 _ACEOF
16401 rm -f conftest.$ac_objext conftest$ac_exeext
16402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16403 (eval $ac_link) 2>conftest.er1
16404 ac_status=$?
16405 grep -v '^ *+' conftest.er1 >conftest.err
16406 rm -f conftest.er1
16407 cat conftest.err >&5
16408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16409 (exit $ac_status); } &&
16410 { ac_try='test -z "$ac_c_werror_flag"
16411 || test ! -s conftest.err'
16412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16413 (eval $ac_try) 2>&5
16414 ac_status=$?
16415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16416 (exit $ac_status); }; } &&
16417 { ac_try='test -s conftest$ac_exeext'
16418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16419 (eval $ac_try) 2>&5
16420 ac_status=$?
16421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16422 (exit $ac_status); }; }; then
16423 eval "$as_ac_var=yes"
16424 else
16425 echo "$as_me: failed program was:" >&5
16426 sed 's/^/| /' conftest.$ac_ext >&5
16428 eval "$as_ac_var=no"
16430 rm -f conftest.err conftest.$ac_objext \
16431 conftest$ac_exeext conftest.$ac_ext
16433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16435 if test `eval echo '${'$as_ac_var'}'` = yes; then
16436 cat >>confdefs.h <<_ACEOF
16437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16438 _ACEOF
16441 done
16443 else
16445 echo "$as_me:$LINENO: checking for _modff declaration" >&5
16446 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
16447 if test x${glibcxx_cv_func__modff_use+set} != xset; then
16448 if test "${glibcxx_cv_func__modff_use+set}" = set; then
16449 echo $ECHO_N "(cached) $ECHO_C" >&6
16450 else
16454 ac_ext=cc
16455 ac_cpp='$CXXCPP $CPPFLAGS'
16456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16460 cat >conftest.$ac_ext <<_ACEOF
16461 /* confdefs.h. */
16462 _ACEOF
16463 cat confdefs.h >>conftest.$ac_ext
16464 cat >>conftest.$ac_ext <<_ACEOF
16465 /* end confdefs.h. */
16466 #include <math.h>
16468 main ()
16470 _modff(0, 0);
16472 return 0;
16474 _ACEOF
16475 rm -f conftest.$ac_objext
16476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16477 (eval $ac_compile) 2>conftest.er1
16478 ac_status=$?
16479 grep -v '^ *+' conftest.er1 >conftest.err
16480 rm -f conftest.er1
16481 cat conftest.err >&5
16482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16483 (exit $ac_status); } &&
16484 { ac_try='test -z "$ac_cxx_werror_flag"
16485 || test ! -s conftest.err'
16486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16487 (eval $ac_try) 2>&5
16488 ac_status=$?
16489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16490 (exit $ac_status); }; } &&
16491 { ac_try='test -s conftest.$ac_objext'
16492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16493 (eval $ac_try) 2>&5
16494 ac_status=$?
16495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16496 (exit $ac_status); }; }; then
16497 glibcxx_cv_func__modff_use=yes
16498 else
16499 echo "$as_me: failed program was:" >&5
16500 sed 's/^/| /' conftest.$ac_ext >&5
16502 glibcxx_cv_func__modff_use=no
16504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16505 ac_ext=c
16506 ac_cpp='$CPP $CPPFLAGS'
16507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16515 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16516 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16518 if test x$glibcxx_cv_func__modff_use = x"yes"; then
16520 for ac_func in _modff
16522 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16523 echo "$as_me:$LINENO: checking for $ac_func" >&5
16524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16525 if eval "test \"\${$as_ac_var+set}\" = set"; then
16526 echo $ECHO_N "(cached) $ECHO_C" >&6
16527 else
16528 if test x$gcc_no_link = xyes; then
16529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16531 { (exit 1); exit 1; }; }
16533 cat >conftest.$ac_ext <<_ACEOF
16534 /* confdefs.h. */
16535 _ACEOF
16536 cat confdefs.h >>conftest.$ac_ext
16537 cat >>conftest.$ac_ext <<_ACEOF
16538 /* end confdefs.h. */
16539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16541 #define $ac_func innocuous_$ac_func
16543 /* System header to define __stub macros and hopefully few prototypes,
16544 which can conflict with char $ac_func (); below.
16545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16546 <limits.h> exists even on freestanding compilers. */
16548 #ifdef __STDC__
16549 # include <limits.h>
16550 #else
16551 # include <assert.h>
16552 #endif
16554 #undef $ac_func
16556 /* Override any gcc2 internal prototype to avoid an error. */
16557 #ifdef __cplusplus
16558 extern "C"
16560 #endif
16561 /* We use char because int might match the return type of a gcc2
16562 builtin and then its argument prototype would still apply. */
16563 char $ac_func ();
16564 /* The GNU C library defines this for functions which it implements
16565 to always fail with ENOSYS. Some functions are actually named
16566 something starting with __ and the normal name is an alias. */
16567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16568 choke me
16569 #else
16570 char (*f) () = $ac_func;
16571 #endif
16572 #ifdef __cplusplus
16574 #endif
16577 main ()
16579 return f != $ac_func;
16581 return 0;
16583 _ACEOF
16584 rm -f conftest.$ac_objext conftest$ac_exeext
16585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16586 (eval $ac_link) 2>conftest.er1
16587 ac_status=$?
16588 grep -v '^ *+' conftest.er1 >conftest.err
16589 rm -f conftest.er1
16590 cat conftest.err >&5
16591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16592 (exit $ac_status); } &&
16593 { ac_try='test -z "$ac_c_werror_flag"
16594 || test ! -s conftest.err'
16595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16596 (eval $ac_try) 2>&5
16597 ac_status=$?
16598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16599 (exit $ac_status); }; } &&
16600 { ac_try='test -s conftest$ac_exeext'
16601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16602 (eval $ac_try) 2>&5
16603 ac_status=$?
16604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16605 (exit $ac_status); }; }; then
16606 eval "$as_ac_var=yes"
16607 else
16608 echo "$as_me: failed program was:" >&5
16609 sed 's/^/| /' conftest.$ac_ext >&5
16611 eval "$as_ac_var=no"
16613 rm -f conftest.err conftest.$ac_objext \
16614 conftest$ac_exeext conftest.$ac_ext
16616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16618 if test `eval echo '${'$as_ac_var'}'` = yes; then
16619 cat >>confdefs.h <<_ACEOF
16620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16621 _ACEOF
16624 done
16634 echo "$as_me:$LINENO: checking for modf declaration" >&5
16635 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
16636 if test x${glibcxx_cv_func_modf_use+set} != xset; then
16637 if test "${glibcxx_cv_func_modf_use+set}" = set; then
16638 echo $ECHO_N "(cached) $ECHO_C" >&6
16639 else
16643 ac_ext=cc
16644 ac_cpp='$CXXCPP $CPPFLAGS'
16645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16649 cat >conftest.$ac_ext <<_ACEOF
16650 /* confdefs.h. */
16651 _ACEOF
16652 cat confdefs.h >>conftest.$ac_ext
16653 cat >>conftest.$ac_ext <<_ACEOF
16654 /* end confdefs.h. */
16655 #include <math.h>
16657 main ()
16659 modf(0, 0);
16661 return 0;
16663 _ACEOF
16664 rm -f conftest.$ac_objext
16665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16666 (eval $ac_compile) 2>conftest.er1
16667 ac_status=$?
16668 grep -v '^ *+' conftest.er1 >conftest.err
16669 rm -f conftest.er1
16670 cat conftest.err >&5
16671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16672 (exit $ac_status); } &&
16673 { ac_try='test -z "$ac_cxx_werror_flag"
16674 || test ! -s conftest.err'
16675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16676 (eval $ac_try) 2>&5
16677 ac_status=$?
16678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16679 (exit $ac_status); }; } &&
16680 { ac_try='test -s conftest.$ac_objext'
16681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16682 (eval $ac_try) 2>&5
16683 ac_status=$?
16684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16685 (exit $ac_status); }; }; then
16686 glibcxx_cv_func_modf_use=yes
16687 else
16688 echo "$as_me: failed program was:" >&5
16689 sed 's/^/| /' conftest.$ac_ext >&5
16691 glibcxx_cv_func_modf_use=no
16693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16694 ac_ext=c
16695 ac_cpp='$CPP $CPPFLAGS'
16696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16704 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
16705 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
16707 if test x$glibcxx_cv_func_modf_use = x"yes"; then
16709 for ac_func in modf
16711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16712 echo "$as_me:$LINENO: checking for $ac_func" >&5
16713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16714 if eval "test \"\${$as_ac_var+set}\" = set"; then
16715 echo $ECHO_N "(cached) $ECHO_C" >&6
16716 else
16717 if test x$gcc_no_link = xyes; then
16718 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16720 { (exit 1); exit 1; }; }
16722 cat >conftest.$ac_ext <<_ACEOF
16723 /* confdefs.h. */
16724 _ACEOF
16725 cat confdefs.h >>conftest.$ac_ext
16726 cat >>conftest.$ac_ext <<_ACEOF
16727 /* end confdefs.h. */
16728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16730 #define $ac_func innocuous_$ac_func
16732 /* System header to define __stub macros and hopefully few prototypes,
16733 which can conflict with char $ac_func (); below.
16734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16735 <limits.h> exists even on freestanding compilers. */
16737 #ifdef __STDC__
16738 # include <limits.h>
16739 #else
16740 # include <assert.h>
16741 #endif
16743 #undef $ac_func
16745 /* Override any gcc2 internal prototype to avoid an error. */
16746 #ifdef __cplusplus
16747 extern "C"
16749 #endif
16750 /* We use char because int might match the return type of a gcc2
16751 builtin and then its argument prototype would still apply. */
16752 char $ac_func ();
16753 /* The GNU C library defines this for functions which it implements
16754 to always fail with ENOSYS. Some functions are actually named
16755 something starting with __ and the normal name is an alias. */
16756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16757 choke me
16758 #else
16759 char (*f) () = $ac_func;
16760 #endif
16761 #ifdef __cplusplus
16763 #endif
16766 main ()
16768 return f != $ac_func;
16770 return 0;
16772 _ACEOF
16773 rm -f conftest.$ac_objext conftest$ac_exeext
16774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16775 (eval $ac_link) 2>conftest.er1
16776 ac_status=$?
16777 grep -v '^ *+' conftest.er1 >conftest.err
16778 rm -f conftest.er1
16779 cat conftest.err >&5
16780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16781 (exit $ac_status); } &&
16782 { ac_try='test -z "$ac_c_werror_flag"
16783 || test ! -s conftest.err'
16784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16785 (eval $ac_try) 2>&5
16786 ac_status=$?
16787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16788 (exit $ac_status); }; } &&
16789 { ac_try='test -s conftest$ac_exeext'
16790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16791 (eval $ac_try) 2>&5
16792 ac_status=$?
16793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16794 (exit $ac_status); }; }; then
16795 eval "$as_ac_var=yes"
16796 else
16797 echo "$as_me: failed program was:" >&5
16798 sed 's/^/| /' conftest.$ac_ext >&5
16800 eval "$as_ac_var=no"
16802 rm -f conftest.err conftest.$ac_objext \
16803 conftest$ac_exeext conftest.$ac_ext
16805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16807 if test `eval echo '${'$as_ac_var'}'` = yes; then
16808 cat >>confdefs.h <<_ACEOF
16809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16810 _ACEOF
16813 done
16815 else
16817 echo "$as_me:$LINENO: checking for _modf declaration" >&5
16818 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
16819 if test x${glibcxx_cv_func__modf_use+set} != xset; then
16820 if test "${glibcxx_cv_func__modf_use+set}" = set; then
16821 echo $ECHO_N "(cached) $ECHO_C" >&6
16822 else
16826 ac_ext=cc
16827 ac_cpp='$CXXCPP $CPPFLAGS'
16828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16832 cat >conftest.$ac_ext <<_ACEOF
16833 /* confdefs.h. */
16834 _ACEOF
16835 cat confdefs.h >>conftest.$ac_ext
16836 cat >>conftest.$ac_ext <<_ACEOF
16837 /* end confdefs.h. */
16838 #include <math.h>
16840 main ()
16842 _modf(0, 0);
16844 return 0;
16846 _ACEOF
16847 rm -f conftest.$ac_objext
16848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16849 (eval $ac_compile) 2>conftest.er1
16850 ac_status=$?
16851 grep -v '^ *+' conftest.er1 >conftest.err
16852 rm -f conftest.er1
16853 cat conftest.err >&5
16854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16855 (exit $ac_status); } &&
16856 { ac_try='test -z "$ac_cxx_werror_flag"
16857 || test ! -s conftest.err'
16858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16859 (eval $ac_try) 2>&5
16860 ac_status=$?
16861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16862 (exit $ac_status); }; } &&
16863 { ac_try='test -s conftest.$ac_objext'
16864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16865 (eval $ac_try) 2>&5
16866 ac_status=$?
16867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16868 (exit $ac_status); }; }; then
16869 glibcxx_cv_func__modf_use=yes
16870 else
16871 echo "$as_me: failed program was:" >&5
16872 sed 's/^/| /' conftest.$ac_ext >&5
16874 glibcxx_cv_func__modf_use=no
16876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16877 ac_ext=c
16878 ac_cpp='$CPP $CPPFLAGS'
16879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16887 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
16888 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
16890 if test x$glibcxx_cv_func__modf_use = x"yes"; then
16892 for ac_func in _modf
16894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16895 echo "$as_me:$LINENO: checking for $ac_func" >&5
16896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16897 if eval "test \"\${$as_ac_var+set}\" = set"; then
16898 echo $ECHO_N "(cached) $ECHO_C" >&6
16899 else
16900 if test x$gcc_no_link = xyes; then
16901 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16903 { (exit 1); exit 1; }; }
16905 cat >conftest.$ac_ext <<_ACEOF
16906 /* confdefs.h. */
16907 _ACEOF
16908 cat confdefs.h >>conftest.$ac_ext
16909 cat >>conftest.$ac_ext <<_ACEOF
16910 /* end confdefs.h. */
16911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16913 #define $ac_func innocuous_$ac_func
16915 /* System header to define __stub macros and hopefully few prototypes,
16916 which can conflict with char $ac_func (); below.
16917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16918 <limits.h> exists even on freestanding compilers. */
16920 #ifdef __STDC__
16921 # include <limits.h>
16922 #else
16923 # include <assert.h>
16924 #endif
16926 #undef $ac_func
16928 /* Override any gcc2 internal prototype to avoid an error. */
16929 #ifdef __cplusplus
16930 extern "C"
16932 #endif
16933 /* We use char because int might match the return type of a gcc2
16934 builtin and then its argument prototype would still apply. */
16935 char $ac_func ();
16936 /* The GNU C library defines this for functions which it implements
16937 to always fail with ENOSYS. Some functions are actually named
16938 something starting with __ and the normal name is an alias. */
16939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16940 choke me
16941 #else
16942 char (*f) () = $ac_func;
16943 #endif
16944 #ifdef __cplusplus
16946 #endif
16949 main ()
16951 return f != $ac_func;
16953 return 0;
16955 _ACEOF
16956 rm -f conftest.$ac_objext conftest$ac_exeext
16957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16958 (eval $ac_link) 2>conftest.er1
16959 ac_status=$?
16960 grep -v '^ *+' conftest.er1 >conftest.err
16961 rm -f conftest.er1
16962 cat conftest.err >&5
16963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16964 (exit $ac_status); } &&
16965 { ac_try='test -z "$ac_c_werror_flag"
16966 || test ! -s conftest.err'
16967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16968 (eval $ac_try) 2>&5
16969 ac_status=$?
16970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16971 (exit $ac_status); }; } &&
16972 { ac_try='test -s conftest$ac_exeext'
16973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16974 (eval $ac_try) 2>&5
16975 ac_status=$?
16976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16977 (exit $ac_status); }; }; then
16978 eval "$as_ac_var=yes"
16979 else
16980 echo "$as_me: failed program was:" >&5
16981 sed 's/^/| /' conftest.$ac_ext >&5
16983 eval "$as_ac_var=no"
16985 rm -f conftest.err conftest.$ac_objext \
16986 conftest$ac_exeext conftest.$ac_ext
16988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16990 if test `eval echo '${'$as_ac_var'}'` = yes; then
16991 cat >>confdefs.h <<_ACEOF
16992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16993 _ACEOF
16996 done
17006 echo "$as_me:$LINENO: checking for powf declaration" >&5
17007 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
17008 if test x${glibcxx_cv_func_powf_use+set} != xset; then
17009 if test "${glibcxx_cv_func_powf_use+set}" = set; then
17010 echo $ECHO_N "(cached) $ECHO_C" >&6
17011 else
17015 ac_ext=cc
17016 ac_cpp='$CXXCPP $CPPFLAGS'
17017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17021 cat >conftest.$ac_ext <<_ACEOF
17022 /* confdefs.h. */
17023 _ACEOF
17024 cat confdefs.h >>conftest.$ac_ext
17025 cat >>conftest.$ac_ext <<_ACEOF
17026 /* end confdefs.h. */
17027 #include <math.h>
17029 main ()
17031 powf(0, 0);
17033 return 0;
17035 _ACEOF
17036 rm -f conftest.$ac_objext
17037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17038 (eval $ac_compile) 2>conftest.er1
17039 ac_status=$?
17040 grep -v '^ *+' conftest.er1 >conftest.err
17041 rm -f conftest.er1
17042 cat conftest.err >&5
17043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17044 (exit $ac_status); } &&
17045 { ac_try='test -z "$ac_cxx_werror_flag"
17046 || test ! -s conftest.err'
17047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17048 (eval $ac_try) 2>&5
17049 ac_status=$?
17050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17051 (exit $ac_status); }; } &&
17052 { ac_try='test -s conftest.$ac_objext'
17053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17054 (eval $ac_try) 2>&5
17055 ac_status=$?
17056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17057 (exit $ac_status); }; }; then
17058 glibcxx_cv_func_powf_use=yes
17059 else
17060 echo "$as_me: failed program was:" >&5
17061 sed 's/^/| /' conftest.$ac_ext >&5
17063 glibcxx_cv_func_powf_use=no
17065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17066 ac_ext=c
17067 ac_cpp='$CPP $CPPFLAGS'
17068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17076 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
17077 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
17079 if test x$glibcxx_cv_func_powf_use = x"yes"; then
17081 for ac_func in powf
17083 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17084 echo "$as_me:$LINENO: checking for $ac_func" >&5
17085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17086 if eval "test \"\${$as_ac_var+set}\" = set"; then
17087 echo $ECHO_N "(cached) $ECHO_C" >&6
17088 else
17089 if test x$gcc_no_link = xyes; then
17090 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17092 { (exit 1); exit 1; }; }
17094 cat >conftest.$ac_ext <<_ACEOF
17095 /* confdefs.h. */
17096 _ACEOF
17097 cat confdefs.h >>conftest.$ac_ext
17098 cat >>conftest.$ac_ext <<_ACEOF
17099 /* end confdefs.h. */
17100 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17101 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17102 #define $ac_func innocuous_$ac_func
17104 /* System header to define __stub macros and hopefully few prototypes,
17105 which can conflict with char $ac_func (); below.
17106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17107 <limits.h> exists even on freestanding compilers. */
17109 #ifdef __STDC__
17110 # include <limits.h>
17111 #else
17112 # include <assert.h>
17113 #endif
17115 #undef $ac_func
17117 /* Override any gcc2 internal prototype to avoid an error. */
17118 #ifdef __cplusplus
17119 extern "C"
17121 #endif
17122 /* We use char because int might match the return type of a gcc2
17123 builtin and then its argument prototype would still apply. */
17124 char $ac_func ();
17125 /* The GNU C library defines this for functions which it implements
17126 to always fail with ENOSYS. Some functions are actually named
17127 something starting with __ and the normal name is an alias. */
17128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17129 choke me
17130 #else
17131 char (*f) () = $ac_func;
17132 #endif
17133 #ifdef __cplusplus
17135 #endif
17138 main ()
17140 return f != $ac_func;
17142 return 0;
17144 _ACEOF
17145 rm -f conftest.$ac_objext conftest$ac_exeext
17146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17147 (eval $ac_link) 2>conftest.er1
17148 ac_status=$?
17149 grep -v '^ *+' conftest.er1 >conftest.err
17150 rm -f conftest.er1
17151 cat conftest.err >&5
17152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17153 (exit $ac_status); } &&
17154 { ac_try='test -z "$ac_c_werror_flag"
17155 || test ! -s conftest.err'
17156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17157 (eval $ac_try) 2>&5
17158 ac_status=$?
17159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17160 (exit $ac_status); }; } &&
17161 { ac_try='test -s conftest$ac_exeext'
17162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17163 (eval $ac_try) 2>&5
17164 ac_status=$?
17165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166 (exit $ac_status); }; }; then
17167 eval "$as_ac_var=yes"
17168 else
17169 echo "$as_me: failed program was:" >&5
17170 sed 's/^/| /' conftest.$ac_ext >&5
17172 eval "$as_ac_var=no"
17174 rm -f conftest.err conftest.$ac_objext \
17175 conftest$ac_exeext conftest.$ac_ext
17177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17178 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17179 if test `eval echo '${'$as_ac_var'}'` = yes; then
17180 cat >>confdefs.h <<_ACEOF
17181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17182 _ACEOF
17185 done
17187 else
17189 echo "$as_me:$LINENO: checking for _powf declaration" >&5
17190 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
17191 if test x${glibcxx_cv_func__powf_use+set} != xset; then
17192 if test "${glibcxx_cv_func__powf_use+set}" = set; then
17193 echo $ECHO_N "(cached) $ECHO_C" >&6
17194 else
17198 ac_ext=cc
17199 ac_cpp='$CXXCPP $CPPFLAGS'
17200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17204 cat >conftest.$ac_ext <<_ACEOF
17205 /* confdefs.h. */
17206 _ACEOF
17207 cat confdefs.h >>conftest.$ac_ext
17208 cat >>conftest.$ac_ext <<_ACEOF
17209 /* end confdefs.h. */
17210 #include <math.h>
17212 main ()
17214 _powf(0, 0);
17216 return 0;
17218 _ACEOF
17219 rm -f conftest.$ac_objext
17220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17221 (eval $ac_compile) 2>conftest.er1
17222 ac_status=$?
17223 grep -v '^ *+' conftest.er1 >conftest.err
17224 rm -f conftest.er1
17225 cat conftest.err >&5
17226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17227 (exit $ac_status); } &&
17228 { ac_try='test -z "$ac_cxx_werror_flag"
17229 || test ! -s conftest.err'
17230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17231 (eval $ac_try) 2>&5
17232 ac_status=$?
17233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17234 (exit $ac_status); }; } &&
17235 { ac_try='test -s conftest.$ac_objext'
17236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17237 (eval $ac_try) 2>&5
17238 ac_status=$?
17239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17240 (exit $ac_status); }; }; then
17241 glibcxx_cv_func__powf_use=yes
17242 else
17243 echo "$as_me: failed program was:" >&5
17244 sed 's/^/| /' conftest.$ac_ext >&5
17246 glibcxx_cv_func__powf_use=no
17248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17249 ac_ext=c
17250 ac_cpp='$CPP $CPPFLAGS'
17251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17259 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
17260 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
17262 if test x$glibcxx_cv_func__powf_use = x"yes"; then
17264 for ac_func in _powf
17266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17267 echo "$as_me:$LINENO: checking for $ac_func" >&5
17268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17269 if eval "test \"\${$as_ac_var+set}\" = set"; then
17270 echo $ECHO_N "(cached) $ECHO_C" >&6
17271 else
17272 if test x$gcc_no_link = xyes; then
17273 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17275 { (exit 1); exit 1; }; }
17277 cat >conftest.$ac_ext <<_ACEOF
17278 /* confdefs.h. */
17279 _ACEOF
17280 cat confdefs.h >>conftest.$ac_ext
17281 cat >>conftest.$ac_ext <<_ACEOF
17282 /* end confdefs.h. */
17283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17285 #define $ac_func innocuous_$ac_func
17287 /* System header to define __stub macros and hopefully few prototypes,
17288 which can conflict with char $ac_func (); below.
17289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17290 <limits.h> exists even on freestanding compilers. */
17292 #ifdef __STDC__
17293 # include <limits.h>
17294 #else
17295 # include <assert.h>
17296 #endif
17298 #undef $ac_func
17300 /* Override any gcc2 internal prototype to avoid an error. */
17301 #ifdef __cplusplus
17302 extern "C"
17304 #endif
17305 /* We use char because int might match the return type of a gcc2
17306 builtin and then its argument prototype would still apply. */
17307 char $ac_func ();
17308 /* The GNU C library defines this for functions which it implements
17309 to always fail with ENOSYS. Some functions are actually named
17310 something starting with __ and the normal name is an alias. */
17311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17312 choke me
17313 #else
17314 char (*f) () = $ac_func;
17315 #endif
17316 #ifdef __cplusplus
17318 #endif
17321 main ()
17323 return f != $ac_func;
17325 return 0;
17327 _ACEOF
17328 rm -f conftest.$ac_objext conftest$ac_exeext
17329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17330 (eval $ac_link) 2>conftest.er1
17331 ac_status=$?
17332 grep -v '^ *+' conftest.er1 >conftest.err
17333 rm -f conftest.er1
17334 cat conftest.err >&5
17335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17336 (exit $ac_status); } &&
17337 { ac_try='test -z "$ac_c_werror_flag"
17338 || test ! -s conftest.err'
17339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17340 (eval $ac_try) 2>&5
17341 ac_status=$?
17342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17343 (exit $ac_status); }; } &&
17344 { ac_try='test -s conftest$ac_exeext'
17345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17346 (eval $ac_try) 2>&5
17347 ac_status=$?
17348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17349 (exit $ac_status); }; }; then
17350 eval "$as_ac_var=yes"
17351 else
17352 echo "$as_me: failed program was:" >&5
17353 sed 's/^/| /' conftest.$ac_ext >&5
17355 eval "$as_ac_var=no"
17357 rm -f conftest.err conftest.$ac_objext \
17358 conftest$ac_exeext conftest.$ac_ext
17360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17362 if test `eval echo '${'$as_ac_var'}'` = yes; then
17363 cat >>confdefs.h <<_ACEOF
17364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17365 _ACEOF
17368 done
17378 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
17379 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
17380 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
17381 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
17382 echo $ECHO_N "(cached) $ECHO_C" >&6
17383 else
17387 ac_ext=cc
17388 ac_cpp='$CXXCPP $CPPFLAGS'
17389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17393 cat >conftest.$ac_ext <<_ACEOF
17394 /* confdefs.h. */
17395 _ACEOF
17396 cat confdefs.h >>conftest.$ac_ext
17397 cat >>conftest.$ac_ext <<_ACEOF
17398 /* end confdefs.h. */
17399 #include <math.h>
17400 #ifdef HAVE_IEEEFP_H
17401 #include <ieeefp.h>
17402 #endif
17405 main ()
17407 sqrtf(0);
17409 return 0;
17411 _ACEOF
17412 rm -f conftest.$ac_objext
17413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17414 (eval $ac_compile) 2>conftest.er1
17415 ac_status=$?
17416 grep -v '^ *+' conftest.er1 >conftest.err
17417 rm -f conftest.er1
17418 cat conftest.err >&5
17419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17420 (exit $ac_status); } &&
17421 { ac_try='test -z "$ac_cxx_werror_flag"
17422 || test ! -s conftest.err'
17423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17424 (eval $ac_try) 2>&5
17425 ac_status=$?
17426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17427 (exit $ac_status); }; } &&
17428 { ac_try='test -s conftest.$ac_objext'
17429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17430 (eval $ac_try) 2>&5
17431 ac_status=$?
17432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17433 (exit $ac_status); }; }; then
17434 glibcxx_cv_func_sqrtf_use=yes
17435 else
17436 echo "$as_me: failed program was:" >&5
17437 sed 's/^/| /' conftest.$ac_ext >&5
17439 glibcxx_cv_func_sqrtf_use=no
17441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17442 ac_ext=c
17443 ac_cpp='$CPP $CPPFLAGS'
17444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17452 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
17453 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
17455 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
17457 for ac_func in sqrtf
17459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17460 echo "$as_me:$LINENO: checking for $ac_func" >&5
17461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17462 if eval "test \"\${$as_ac_var+set}\" = set"; then
17463 echo $ECHO_N "(cached) $ECHO_C" >&6
17464 else
17465 if test x$gcc_no_link = xyes; then
17466 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17468 { (exit 1); exit 1; }; }
17470 cat >conftest.$ac_ext <<_ACEOF
17471 /* confdefs.h. */
17472 _ACEOF
17473 cat confdefs.h >>conftest.$ac_ext
17474 cat >>conftest.$ac_ext <<_ACEOF
17475 /* end confdefs.h. */
17476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17478 #define $ac_func innocuous_$ac_func
17480 /* System header to define __stub macros and hopefully few prototypes,
17481 which can conflict with char $ac_func (); below.
17482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17483 <limits.h> exists even on freestanding compilers. */
17485 #ifdef __STDC__
17486 # include <limits.h>
17487 #else
17488 # include <assert.h>
17489 #endif
17491 #undef $ac_func
17493 /* Override any gcc2 internal prototype to avoid an error. */
17494 #ifdef __cplusplus
17495 extern "C"
17497 #endif
17498 /* We use char because int might match the return type of a gcc2
17499 builtin and then its argument prototype would still apply. */
17500 char $ac_func ();
17501 /* The GNU C library defines this for functions which it implements
17502 to always fail with ENOSYS. Some functions are actually named
17503 something starting with __ and the normal name is an alias. */
17504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17505 choke me
17506 #else
17507 char (*f) () = $ac_func;
17508 #endif
17509 #ifdef __cplusplus
17511 #endif
17514 main ()
17516 return f != $ac_func;
17518 return 0;
17520 _ACEOF
17521 rm -f conftest.$ac_objext conftest$ac_exeext
17522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17523 (eval $ac_link) 2>conftest.er1
17524 ac_status=$?
17525 grep -v '^ *+' conftest.er1 >conftest.err
17526 rm -f conftest.er1
17527 cat conftest.err >&5
17528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17529 (exit $ac_status); } &&
17530 { ac_try='test -z "$ac_c_werror_flag"
17531 || test ! -s conftest.err'
17532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17533 (eval $ac_try) 2>&5
17534 ac_status=$?
17535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17536 (exit $ac_status); }; } &&
17537 { ac_try='test -s conftest$ac_exeext'
17538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17539 (eval $ac_try) 2>&5
17540 ac_status=$?
17541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17542 (exit $ac_status); }; }; then
17543 eval "$as_ac_var=yes"
17544 else
17545 echo "$as_me: failed program was:" >&5
17546 sed 's/^/| /' conftest.$ac_ext >&5
17548 eval "$as_ac_var=no"
17550 rm -f conftest.err conftest.$ac_objext \
17551 conftest$ac_exeext conftest.$ac_ext
17553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17555 if test `eval echo '${'$as_ac_var'}'` = yes; then
17556 cat >>confdefs.h <<_ACEOF
17557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17558 _ACEOF
17561 done
17563 else
17565 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
17566 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
17567 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
17568 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
17569 echo $ECHO_N "(cached) $ECHO_C" >&6
17570 else
17574 ac_ext=cc
17575 ac_cpp='$CXXCPP $CPPFLAGS'
17576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17580 cat >conftest.$ac_ext <<_ACEOF
17581 /* confdefs.h. */
17582 _ACEOF
17583 cat confdefs.h >>conftest.$ac_ext
17584 cat >>conftest.$ac_ext <<_ACEOF
17585 /* end confdefs.h. */
17586 #include <math.h>
17587 #ifdef HAVE_IEEEFP_H
17588 #include <ieeefp.h>
17589 #endif
17592 main ()
17594 _sqrtf(0);
17596 return 0;
17598 _ACEOF
17599 rm -f conftest.$ac_objext
17600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17601 (eval $ac_compile) 2>conftest.er1
17602 ac_status=$?
17603 grep -v '^ *+' conftest.er1 >conftest.err
17604 rm -f conftest.er1
17605 cat conftest.err >&5
17606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17607 (exit $ac_status); } &&
17608 { ac_try='test -z "$ac_cxx_werror_flag"
17609 || test ! -s conftest.err'
17610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17611 (eval $ac_try) 2>&5
17612 ac_status=$?
17613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17614 (exit $ac_status); }; } &&
17615 { ac_try='test -s conftest.$ac_objext'
17616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17617 (eval $ac_try) 2>&5
17618 ac_status=$?
17619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17620 (exit $ac_status); }; }; then
17621 glibcxx_cv_func__sqrtf_use=yes
17622 else
17623 echo "$as_me: failed program was:" >&5
17624 sed 's/^/| /' conftest.$ac_ext >&5
17626 glibcxx_cv_func__sqrtf_use=no
17628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17629 ac_ext=c
17630 ac_cpp='$CPP $CPPFLAGS'
17631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17639 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
17640 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
17642 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
17644 for ac_func in _sqrtf
17646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17647 echo "$as_me:$LINENO: checking for $ac_func" >&5
17648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17649 if eval "test \"\${$as_ac_var+set}\" = set"; then
17650 echo $ECHO_N "(cached) $ECHO_C" >&6
17651 else
17652 if test x$gcc_no_link = xyes; then
17653 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17655 { (exit 1); exit 1; }; }
17657 cat >conftest.$ac_ext <<_ACEOF
17658 /* confdefs.h. */
17659 _ACEOF
17660 cat confdefs.h >>conftest.$ac_ext
17661 cat >>conftest.$ac_ext <<_ACEOF
17662 /* end confdefs.h. */
17663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17665 #define $ac_func innocuous_$ac_func
17667 /* System header to define __stub macros and hopefully few prototypes,
17668 which can conflict with char $ac_func (); below.
17669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17670 <limits.h> exists even on freestanding compilers. */
17672 #ifdef __STDC__
17673 # include <limits.h>
17674 #else
17675 # include <assert.h>
17676 #endif
17678 #undef $ac_func
17680 /* Override any gcc2 internal prototype to avoid an error. */
17681 #ifdef __cplusplus
17682 extern "C"
17684 #endif
17685 /* We use char because int might match the return type of a gcc2
17686 builtin and then its argument prototype would still apply. */
17687 char $ac_func ();
17688 /* The GNU C library defines this for functions which it implements
17689 to always fail with ENOSYS. Some functions are actually named
17690 something starting with __ and the normal name is an alias. */
17691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17692 choke me
17693 #else
17694 char (*f) () = $ac_func;
17695 #endif
17696 #ifdef __cplusplus
17698 #endif
17701 main ()
17703 return f != $ac_func;
17705 return 0;
17707 _ACEOF
17708 rm -f conftest.$ac_objext conftest$ac_exeext
17709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17710 (eval $ac_link) 2>conftest.er1
17711 ac_status=$?
17712 grep -v '^ *+' conftest.er1 >conftest.err
17713 rm -f conftest.er1
17714 cat conftest.err >&5
17715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17716 (exit $ac_status); } &&
17717 { ac_try='test -z "$ac_c_werror_flag"
17718 || test ! -s conftest.err'
17719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17720 (eval $ac_try) 2>&5
17721 ac_status=$?
17722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17723 (exit $ac_status); }; } &&
17724 { ac_try='test -s conftest$ac_exeext'
17725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17726 (eval $ac_try) 2>&5
17727 ac_status=$?
17728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17729 (exit $ac_status); }; }; then
17730 eval "$as_ac_var=yes"
17731 else
17732 echo "$as_me: failed program was:" >&5
17733 sed 's/^/| /' conftest.$ac_ext >&5
17735 eval "$as_ac_var=no"
17737 rm -f conftest.err conftest.$ac_objext \
17738 conftest$ac_exeext conftest.$ac_ext
17740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17742 if test `eval echo '${'$as_ac_var'}'` = yes; then
17743 cat >>confdefs.h <<_ACEOF
17744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17745 _ACEOF
17748 done
17758 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
17759 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
17760 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
17761 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
17762 echo $ECHO_N "(cached) $ECHO_C" >&6
17763 else
17767 ac_ext=cc
17768 ac_cpp='$CXXCPP $CPPFLAGS'
17769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17773 cat >conftest.$ac_ext <<_ACEOF
17774 /* confdefs.h. */
17775 _ACEOF
17776 cat confdefs.h >>conftest.$ac_ext
17777 cat >>conftest.$ac_ext <<_ACEOF
17778 /* end confdefs.h. */
17779 #include <math.h>
17781 main ()
17783 sincosf(0, 0, 0);
17785 return 0;
17787 _ACEOF
17788 rm -f conftest.$ac_objext
17789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17790 (eval $ac_compile) 2>conftest.er1
17791 ac_status=$?
17792 grep -v '^ *+' conftest.er1 >conftest.err
17793 rm -f conftest.er1
17794 cat conftest.err >&5
17795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17796 (exit $ac_status); } &&
17797 { ac_try='test -z "$ac_cxx_werror_flag"
17798 || test ! -s conftest.err'
17799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17800 (eval $ac_try) 2>&5
17801 ac_status=$?
17802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17803 (exit $ac_status); }; } &&
17804 { ac_try='test -s conftest.$ac_objext'
17805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17806 (eval $ac_try) 2>&5
17807 ac_status=$?
17808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17809 (exit $ac_status); }; }; then
17810 glibcxx_cv_func_sincosf_use=yes
17811 else
17812 echo "$as_me: failed program was:" >&5
17813 sed 's/^/| /' conftest.$ac_ext >&5
17815 glibcxx_cv_func_sincosf_use=no
17817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17818 ac_ext=c
17819 ac_cpp='$CPP $CPPFLAGS'
17820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17828 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
17829 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
17831 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
17833 for ac_func in sincosf
17835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17836 echo "$as_me:$LINENO: checking for $ac_func" >&5
17837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17838 if eval "test \"\${$as_ac_var+set}\" = set"; then
17839 echo $ECHO_N "(cached) $ECHO_C" >&6
17840 else
17841 if test x$gcc_no_link = xyes; then
17842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17844 { (exit 1); exit 1; }; }
17846 cat >conftest.$ac_ext <<_ACEOF
17847 /* confdefs.h. */
17848 _ACEOF
17849 cat confdefs.h >>conftest.$ac_ext
17850 cat >>conftest.$ac_ext <<_ACEOF
17851 /* end confdefs.h. */
17852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17854 #define $ac_func innocuous_$ac_func
17856 /* System header to define __stub macros and hopefully few prototypes,
17857 which can conflict with char $ac_func (); below.
17858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17859 <limits.h> exists even on freestanding compilers. */
17861 #ifdef __STDC__
17862 # include <limits.h>
17863 #else
17864 # include <assert.h>
17865 #endif
17867 #undef $ac_func
17869 /* Override any gcc2 internal prototype to avoid an error. */
17870 #ifdef __cplusplus
17871 extern "C"
17873 #endif
17874 /* We use char because int might match the return type of a gcc2
17875 builtin and then its argument prototype would still apply. */
17876 char $ac_func ();
17877 /* The GNU C library defines this for functions which it implements
17878 to always fail with ENOSYS. Some functions are actually named
17879 something starting with __ and the normal name is an alias. */
17880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17881 choke me
17882 #else
17883 char (*f) () = $ac_func;
17884 #endif
17885 #ifdef __cplusplus
17887 #endif
17890 main ()
17892 return f != $ac_func;
17894 return 0;
17896 _ACEOF
17897 rm -f conftest.$ac_objext conftest$ac_exeext
17898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17899 (eval $ac_link) 2>conftest.er1
17900 ac_status=$?
17901 grep -v '^ *+' conftest.er1 >conftest.err
17902 rm -f conftest.er1
17903 cat conftest.err >&5
17904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17905 (exit $ac_status); } &&
17906 { ac_try='test -z "$ac_c_werror_flag"
17907 || test ! -s conftest.err'
17908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17909 (eval $ac_try) 2>&5
17910 ac_status=$?
17911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17912 (exit $ac_status); }; } &&
17913 { ac_try='test -s conftest$ac_exeext'
17914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17915 (eval $ac_try) 2>&5
17916 ac_status=$?
17917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17918 (exit $ac_status); }; }; then
17919 eval "$as_ac_var=yes"
17920 else
17921 echo "$as_me: failed program was:" >&5
17922 sed 's/^/| /' conftest.$ac_ext >&5
17924 eval "$as_ac_var=no"
17926 rm -f conftest.err conftest.$ac_objext \
17927 conftest$ac_exeext conftest.$ac_ext
17929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17931 if test `eval echo '${'$as_ac_var'}'` = yes; then
17932 cat >>confdefs.h <<_ACEOF
17933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17934 _ACEOF
17937 done
17939 else
17941 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
17942 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
17943 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
17944 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
17945 echo $ECHO_N "(cached) $ECHO_C" >&6
17946 else
17950 ac_ext=cc
17951 ac_cpp='$CXXCPP $CPPFLAGS'
17952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17956 cat >conftest.$ac_ext <<_ACEOF
17957 /* confdefs.h. */
17958 _ACEOF
17959 cat confdefs.h >>conftest.$ac_ext
17960 cat >>conftest.$ac_ext <<_ACEOF
17961 /* end confdefs.h. */
17962 #include <math.h>
17964 main ()
17966 _sincosf(0, 0, 0);
17968 return 0;
17970 _ACEOF
17971 rm -f conftest.$ac_objext
17972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17973 (eval $ac_compile) 2>conftest.er1
17974 ac_status=$?
17975 grep -v '^ *+' conftest.er1 >conftest.err
17976 rm -f conftest.er1
17977 cat conftest.err >&5
17978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17979 (exit $ac_status); } &&
17980 { ac_try='test -z "$ac_cxx_werror_flag"
17981 || test ! -s conftest.err'
17982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17983 (eval $ac_try) 2>&5
17984 ac_status=$?
17985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17986 (exit $ac_status); }; } &&
17987 { ac_try='test -s conftest.$ac_objext'
17988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17989 (eval $ac_try) 2>&5
17990 ac_status=$?
17991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17992 (exit $ac_status); }; }; then
17993 glibcxx_cv_func__sincosf_use=yes
17994 else
17995 echo "$as_me: failed program was:" >&5
17996 sed 's/^/| /' conftest.$ac_ext >&5
17998 glibcxx_cv_func__sincosf_use=no
18000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18001 ac_ext=c
18002 ac_cpp='$CPP $CPPFLAGS'
18003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18011 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
18012 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
18014 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
18016 for ac_func in _sincosf
18018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18019 echo "$as_me:$LINENO: checking for $ac_func" >&5
18020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18021 if eval "test \"\${$as_ac_var+set}\" = set"; then
18022 echo $ECHO_N "(cached) $ECHO_C" >&6
18023 else
18024 if test x$gcc_no_link = xyes; then
18025 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18027 { (exit 1); exit 1; }; }
18029 cat >conftest.$ac_ext <<_ACEOF
18030 /* confdefs.h. */
18031 _ACEOF
18032 cat confdefs.h >>conftest.$ac_ext
18033 cat >>conftest.$ac_ext <<_ACEOF
18034 /* end confdefs.h. */
18035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18036 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18037 #define $ac_func innocuous_$ac_func
18039 /* System header to define __stub macros and hopefully few prototypes,
18040 which can conflict with char $ac_func (); below.
18041 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18042 <limits.h> exists even on freestanding compilers. */
18044 #ifdef __STDC__
18045 # include <limits.h>
18046 #else
18047 # include <assert.h>
18048 #endif
18050 #undef $ac_func
18052 /* Override any gcc2 internal prototype to avoid an error. */
18053 #ifdef __cplusplus
18054 extern "C"
18056 #endif
18057 /* We use char because int might match the return type of a gcc2
18058 builtin and then its argument prototype would still apply. */
18059 char $ac_func ();
18060 /* The GNU C library defines this for functions which it implements
18061 to always fail with ENOSYS. Some functions are actually named
18062 something starting with __ and the normal name is an alias. */
18063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18064 choke me
18065 #else
18066 char (*f) () = $ac_func;
18067 #endif
18068 #ifdef __cplusplus
18070 #endif
18073 main ()
18075 return f != $ac_func;
18077 return 0;
18079 _ACEOF
18080 rm -f conftest.$ac_objext conftest$ac_exeext
18081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18082 (eval $ac_link) 2>conftest.er1
18083 ac_status=$?
18084 grep -v '^ *+' conftest.er1 >conftest.err
18085 rm -f conftest.er1
18086 cat conftest.err >&5
18087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18088 (exit $ac_status); } &&
18089 { ac_try='test -z "$ac_c_werror_flag"
18090 || test ! -s conftest.err'
18091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18092 (eval $ac_try) 2>&5
18093 ac_status=$?
18094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18095 (exit $ac_status); }; } &&
18096 { ac_try='test -s conftest$ac_exeext'
18097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18098 (eval $ac_try) 2>&5
18099 ac_status=$?
18100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18101 (exit $ac_status); }; }; then
18102 eval "$as_ac_var=yes"
18103 else
18104 echo "$as_me: failed program was:" >&5
18105 sed 's/^/| /' conftest.$ac_ext >&5
18107 eval "$as_ac_var=no"
18109 rm -f conftest.err conftest.$ac_objext \
18110 conftest$ac_exeext conftest.$ac_ext
18112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18113 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18114 if test `eval echo '${'$as_ac_var'}'` = yes; then
18115 cat >>confdefs.h <<_ACEOF
18116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18117 _ACEOF
18120 done
18130 echo "$as_me:$LINENO: checking for finitef declaration" >&5
18131 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
18132 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
18133 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
18134 echo $ECHO_N "(cached) $ECHO_C" >&6
18135 else
18139 ac_ext=cc
18140 ac_cpp='$CXXCPP $CPPFLAGS'
18141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18145 cat >conftest.$ac_ext <<_ACEOF
18146 /* confdefs.h. */
18147 _ACEOF
18148 cat confdefs.h >>conftest.$ac_ext
18149 cat >>conftest.$ac_ext <<_ACEOF
18150 /* end confdefs.h. */
18151 #include <math.h>
18152 #ifdef HAVE_IEEEFP_H
18153 #include <ieeefp.h>
18154 #endif
18157 main ()
18159 finitef(0);
18161 return 0;
18163 _ACEOF
18164 rm -f conftest.$ac_objext
18165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18166 (eval $ac_compile) 2>conftest.er1
18167 ac_status=$?
18168 grep -v '^ *+' conftest.er1 >conftest.err
18169 rm -f conftest.er1
18170 cat conftest.err >&5
18171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18172 (exit $ac_status); } &&
18173 { ac_try='test -z "$ac_cxx_werror_flag"
18174 || test ! -s conftest.err'
18175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18176 (eval $ac_try) 2>&5
18177 ac_status=$?
18178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18179 (exit $ac_status); }; } &&
18180 { ac_try='test -s conftest.$ac_objext'
18181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18182 (eval $ac_try) 2>&5
18183 ac_status=$?
18184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18185 (exit $ac_status); }; }; then
18186 glibcxx_cv_func_finitef_use=yes
18187 else
18188 echo "$as_me: failed program was:" >&5
18189 sed 's/^/| /' conftest.$ac_ext >&5
18191 glibcxx_cv_func_finitef_use=no
18193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18194 ac_ext=c
18195 ac_cpp='$CPP $CPPFLAGS'
18196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18204 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
18205 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
18207 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
18209 for ac_func in finitef
18211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18212 echo "$as_me:$LINENO: checking for $ac_func" >&5
18213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18214 if eval "test \"\${$as_ac_var+set}\" = set"; then
18215 echo $ECHO_N "(cached) $ECHO_C" >&6
18216 else
18217 if test x$gcc_no_link = xyes; then
18218 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18220 { (exit 1); exit 1; }; }
18222 cat >conftest.$ac_ext <<_ACEOF
18223 /* confdefs.h. */
18224 _ACEOF
18225 cat confdefs.h >>conftest.$ac_ext
18226 cat >>conftest.$ac_ext <<_ACEOF
18227 /* end confdefs.h. */
18228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18230 #define $ac_func innocuous_$ac_func
18232 /* System header to define __stub macros and hopefully few prototypes,
18233 which can conflict with char $ac_func (); below.
18234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18235 <limits.h> exists even on freestanding compilers. */
18237 #ifdef __STDC__
18238 # include <limits.h>
18239 #else
18240 # include <assert.h>
18241 #endif
18243 #undef $ac_func
18245 /* Override any gcc2 internal prototype to avoid an error. */
18246 #ifdef __cplusplus
18247 extern "C"
18249 #endif
18250 /* We use char because int might match the return type of a gcc2
18251 builtin and then its argument prototype would still apply. */
18252 char $ac_func ();
18253 /* The GNU C library defines this for functions which it implements
18254 to always fail with ENOSYS. Some functions are actually named
18255 something starting with __ and the normal name is an alias. */
18256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18257 choke me
18258 #else
18259 char (*f) () = $ac_func;
18260 #endif
18261 #ifdef __cplusplus
18263 #endif
18266 main ()
18268 return f != $ac_func;
18270 return 0;
18272 _ACEOF
18273 rm -f conftest.$ac_objext conftest$ac_exeext
18274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18275 (eval $ac_link) 2>conftest.er1
18276 ac_status=$?
18277 grep -v '^ *+' conftest.er1 >conftest.err
18278 rm -f conftest.er1
18279 cat conftest.err >&5
18280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18281 (exit $ac_status); } &&
18282 { ac_try='test -z "$ac_c_werror_flag"
18283 || test ! -s conftest.err'
18284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18285 (eval $ac_try) 2>&5
18286 ac_status=$?
18287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18288 (exit $ac_status); }; } &&
18289 { ac_try='test -s conftest$ac_exeext'
18290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18291 (eval $ac_try) 2>&5
18292 ac_status=$?
18293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18294 (exit $ac_status); }; }; then
18295 eval "$as_ac_var=yes"
18296 else
18297 echo "$as_me: failed program was:" >&5
18298 sed 's/^/| /' conftest.$ac_ext >&5
18300 eval "$as_ac_var=no"
18302 rm -f conftest.err conftest.$ac_objext \
18303 conftest$ac_exeext conftest.$ac_ext
18305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18307 if test `eval echo '${'$as_ac_var'}'` = yes; then
18308 cat >>confdefs.h <<_ACEOF
18309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18310 _ACEOF
18313 done
18315 else
18317 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
18318 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
18319 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
18320 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
18321 echo $ECHO_N "(cached) $ECHO_C" >&6
18322 else
18326 ac_ext=cc
18327 ac_cpp='$CXXCPP $CPPFLAGS'
18328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18332 cat >conftest.$ac_ext <<_ACEOF
18333 /* confdefs.h. */
18334 _ACEOF
18335 cat confdefs.h >>conftest.$ac_ext
18336 cat >>conftest.$ac_ext <<_ACEOF
18337 /* end confdefs.h. */
18338 #include <math.h>
18339 #ifdef HAVE_IEEEFP_H
18340 #include <ieeefp.h>
18341 #endif
18344 main ()
18346 _finitef(0);
18348 return 0;
18350 _ACEOF
18351 rm -f conftest.$ac_objext
18352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18353 (eval $ac_compile) 2>conftest.er1
18354 ac_status=$?
18355 grep -v '^ *+' conftest.er1 >conftest.err
18356 rm -f conftest.er1
18357 cat conftest.err >&5
18358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18359 (exit $ac_status); } &&
18360 { ac_try='test -z "$ac_cxx_werror_flag"
18361 || test ! -s conftest.err'
18362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18363 (eval $ac_try) 2>&5
18364 ac_status=$?
18365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18366 (exit $ac_status); }; } &&
18367 { ac_try='test -s conftest.$ac_objext'
18368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18369 (eval $ac_try) 2>&5
18370 ac_status=$?
18371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18372 (exit $ac_status); }; }; then
18373 glibcxx_cv_func__finitef_use=yes
18374 else
18375 echo "$as_me: failed program was:" >&5
18376 sed 's/^/| /' conftest.$ac_ext >&5
18378 glibcxx_cv_func__finitef_use=no
18380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18381 ac_ext=c
18382 ac_cpp='$CPP $CPPFLAGS'
18383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18391 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
18392 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
18394 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
18396 for ac_func in _finitef
18398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18399 echo "$as_me:$LINENO: checking for $ac_func" >&5
18400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18401 if eval "test \"\${$as_ac_var+set}\" = set"; then
18402 echo $ECHO_N "(cached) $ECHO_C" >&6
18403 else
18404 if test x$gcc_no_link = xyes; then
18405 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18407 { (exit 1); exit 1; }; }
18409 cat >conftest.$ac_ext <<_ACEOF
18410 /* confdefs.h. */
18411 _ACEOF
18412 cat confdefs.h >>conftest.$ac_ext
18413 cat >>conftest.$ac_ext <<_ACEOF
18414 /* end confdefs.h. */
18415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18417 #define $ac_func innocuous_$ac_func
18419 /* System header to define __stub macros and hopefully few prototypes,
18420 which can conflict with char $ac_func (); below.
18421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18422 <limits.h> exists even on freestanding compilers. */
18424 #ifdef __STDC__
18425 # include <limits.h>
18426 #else
18427 # include <assert.h>
18428 #endif
18430 #undef $ac_func
18432 /* Override any gcc2 internal prototype to avoid an error. */
18433 #ifdef __cplusplus
18434 extern "C"
18436 #endif
18437 /* We use char because int might match the return type of a gcc2
18438 builtin and then its argument prototype would still apply. */
18439 char $ac_func ();
18440 /* The GNU C library defines this for functions which it implements
18441 to always fail with ENOSYS. Some functions are actually named
18442 something starting with __ and the normal name is an alias. */
18443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18444 choke me
18445 #else
18446 char (*f) () = $ac_func;
18447 #endif
18448 #ifdef __cplusplus
18450 #endif
18453 main ()
18455 return f != $ac_func;
18457 return 0;
18459 _ACEOF
18460 rm -f conftest.$ac_objext conftest$ac_exeext
18461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18462 (eval $ac_link) 2>conftest.er1
18463 ac_status=$?
18464 grep -v '^ *+' conftest.er1 >conftest.err
18465 rm -f conftest.er1
18466 cat conftest.err >&5
18467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18468 (exit $ac_status); } &&
18469 { ac_try='test -z "$ac_c_werror_flag"
18470 || test ! -s conftest.err'
18471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18472 (eval $ac_try) 2>&5
18473 ac_status=$?
18474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18475 (exit $ac_status); }; } &&
18476 { ac_try='test -s conftest$ac_exeext'
18477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18478 (eval $ac_try) 2>&5
18479 ac_status=$?
18480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18481 (exit $ac_status); }; }; then
18482 eval "$as_ac_var=yes"
18483 else
18484 echo "$as_me: failed program was:" >&5
18485 sed 's/^/| /' conftest.$ac_ext >&5
18487 eval "$as_ac_var=no"
18489 rm -f conftest.err conftest.$ac_objext \
18490 conftest$ac_exeext conftest.$ac_ext
18492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18494 if test `eval echo '${'$as_ac_var'}'` = yes; then
18495 cat >>confdefs.h <<_ACEOF
18496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18497 _ACEOF
18500 done
18510 echo "$as_me:$LINENO: checking for long double trig functions" >&5
18511 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
18512 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
18513 echo $ECHO_N "(cached) $ECHO_C" >&6
18514 else
18518 ac_ext=cc
18519 ac_cpp='$CXXCPP $CPPFLAGS'
18520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18524 cat >conftest.$ac_ext <<_ACEOF
18525 /* confdefs.h. */
18526 _ACEOF
18527 cat confdefs.h >>conftest.$ac_ext
18528 cat >>conftest.$ac_ext <<_ACEOF
18529 /* end confdefs.h. */
18530 #include <math.h>
18532 main ()
18534 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
18536 return 0;
18538 _ACEOF
18539 rm -f conftest.$ac_objext
18540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18541 (eval $ac_compile) 2>conftest.er1
18542 ac_status=$?
18543 grep -v '^ *+' conftest.er1 >conftest.err
18544 rm -f conftest.er1
18545 cat conftest.err >&5
18546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18547 (exit $ac_status); } &&
18548 { ac_try='test -z "$ac_cxx_werror_flag"
18549 || test ! -s conftest.err'
18550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18551 (eval $ac_try) 2>&5
18552 ac_status=$?
18553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18554 (exit $ac_status); }; } &&
18555 { ac_try='test -s conftest.$ac_objext'
18556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18557 (eval $ac_try) 2>&5
18558 ac_status=$?
18559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18560 (exit $ac_status); }; }; then
18561 glibcxx_cv_func_long_double_trig_use=yes
18562 else
18563 echo "$as_me: failed program was:" >&5
18564 sed 's/^/| /' conftest.$ac_ext >&5
18566 glibcxx_cv_func_long_double_trig_use=no
18568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18569 ac_ext=c
18570 ac_cpp='$CPP $CPPFLAGS'
18571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18577 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
18578 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
18579 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
18589 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
18591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18592 echo "$as_me:$LINENO: checking for $ac_func" >&5
18593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18594 if eval "test \"\${$as_ac_var+set}\" = set"; then
18595 echo $ECHO_N "(cached) $ECHO_C" >&6
18596 else
18597 if test x$gcc_no_link = xyes; then
18598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18600 { (exit 1); exit 1; }; }
18602 cat >conftest.$ac_ext <<_ACEOF
18603 /* confdefs.h. */
18604 _ACEOF
18605 cat confdefs.h >>conftest.$ac_ext
18606 cat >>conftest.$ac_ext <<_ACEOF
18607 /* end confdefs.h. */
18608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18610 #define $ac_func innocuous_$ac_func
18612 /* System header to define __stub macros and hopefully few prototypes,
18613 which can conflict with char $ac_func (); below.
18614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18615 <limits.h> exists even on freestanding compilers. */
18617 #ifdef __STDC__
18618 # include <limits.h>
18619 #else
18620 # include <assert.h>
18621 #endif
18623 #undef $ac_func
18625 /* Override any gcc2 internal prototype to avoid an error. */
18626 #ifdef __cplusplus
18627 extern "C"
18629 #endif
18630 /* We use char because int might match the return type of a gcc2
18631 builtin and then its argument prototype would still apply. */
18632 char $ac_func ();
18633 /* The GNU C library defines this for functions which it implements
18634 to always fail with ENOSYS. Some functions are actually named
18635 something starting with __ and the normal name is an alias. */
18636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18637 choke me
18638 #else
18639 char (*f) () = $ac_func;
18640 #endif
18641 #ifdef __cplusplus
18643 #endif
18646 main ()
18648 return f != $ac_func;
18650 return 0;
18652 _ACEOF
18653 rm -f conftest.$ac_objext conftest$ac_exeext
18654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18655 (eval $ac_link) 2>conftest.er1
18656 ac_status=$?
18657 grep -v '^ *+' conftest.er1 >conftest.err
18658 rm -f conftest.er1
18659 cat conftest.err >&5
18660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18661 (exit $ac_status); } &&
18662 { ac_try='test -z "$ac_c_werror_flag"
18663 || test ! -s conftest.err'
18664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18665 (eval $ac_try) 2>&5
18666 ac_status=$?
18667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18668 (exit $ac_status); }; } &&
18669 { ac_try='test -s conftest$ac_exeext'
18670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18671 (eval $ac_try) 2>&5
18672 ac_status=$?
18673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18674 (exit $ac_status); }; }; then
18675 eval "$as_ac_var=yes"
18676 else
18677 echo "$as_me: failed program was:" >&5
18678 sed 's/^/| /' conftest.$ac_ext >&5
18680 eval "$as_ac_var=no"
18682 rm -f conftest.err conftest.$ac_objext \
18683 conftest$ac_exeext conftest.$ac_ext
18685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18687 if test `eval echo '${'$as_ac_var'}'` = yes; then
18688 cat >>confdefs.h <<_ACEOF
18689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18690 _ACEOF
18693 done
18695 else
18696 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
18697 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
18698 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
18699 echo $ECHO_N "(cached) $ECHO_C" >&6
18700 else
18704 ac_ext=cc
18705 ac_cpp='$CXXCPP $CPPFLAGS'
18706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18710 cat >conftest.$ac_ext <<_ACEOF
18711 /* confdefs.h. */
18712 _ACEOF
18713 cat confdefs.h >>conftest.$ac_ext
18714 cat >>conftest.$ac_ext <<_ACEOF
18715 /* end confdefs.h. */
18716 #include <math.h>
18718 main ()
18720 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
18722 return 0;
18724 _ACEOF
18725 rm -f conftest.$ac_objext
18726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18727 (eval $ac_compile) 2>conftest.er1
18728 ac_status=$?
18729 grep -v '^ *+' conftest.er1 >conftest.err
18730 rm -f conftest.er1
18731 cat conftest.err >&5
18732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18733 (exit $ac_status); } &&
18734 { ac_try='test -z "$ac_cxx_werror_flag"
18735 || test ! -s conftest.err'
18736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18737 (eval $ac_try) 2>&5
18738 ac_status=$?
18739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18740 (exit $ac_status); }; } &&
18741 { ac_try='test -s conftest.$ac_objext'
18742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18743 (eval $ac_try) 2>&5
18744 ac_status=$?
18745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18746 (exit $ac_status); }; }; then
18747 glibcxx_cv_func__long_double_trig_use=yes
18748 else
18749 echo "$as_me: failed program was:" >&5
18750 sed 's/^/| /' conftest.$ac_ext >&5
18752 glibcxx_cv_func__long_double_trig_use=no
18754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18755 ac_ext=c
18756 ac_cpp='$CPP $CPPFLAGS'
18757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18763 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
18764 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
18765 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
18775 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
18777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18778 echo "$as_me:$LINENO: checking for $ac_func" >&5
18779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18780 if eval "test \"\${$as_ac_var+set}\" = set"; then
18781 echo $ECHO_N "(cached) $ECHO_C" >&6
18782 else
18783 if test x$gcc_no_link = xyes; then
18784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18786 { (exit 1); exit 1; }; }
18788 cat >conftest.$ac_ext <<_ACEOF
18789 /* confdefs.h. */
18790 _ACEOF
18791 cat confdefs.h >>conftest.$ac_ext
18792 cat >>conftest.$ac_ext <<_ACEOF
18793 /* end confdefs.h. */
18794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18796 #define $ac_func innocuous_$ac_func
18798 /* System header to define __stub macros and hopefully few prototypes,
18799 which can conflict with char $ac_func (); below.
18800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18801 <limits.h> exists even on freestanding compilers. */
18803 #ifdef __STDC__
18804 # include <limits.h>
18805 #else
18806 # include <assert.h>
18807 #endif
18809 #undef $ac_func
18811 /* Override any gcc2 internal prototype to avoid an error. */
18812 #ifdef __cplusplus
18813 extern "C"
18815 #endif
18816 /* We use char because int might match the return type of a gcc2
18817 builtin and then its argument prototype would still apply. */
18818 char $ac_func ();
18819 /* The GNU C library defines this for functions which it implements
18820 to always fail with ENOSYS. Some functions are actually named
18821 something starting with __ and the normal name is an alias. */
18822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18823 choke me
18824 #else
18825 char (*f) () = $ac_func;
18826 #endif
18827 #ifdef __cplusplus
18829 #endif
18832 main ()
18834 return f != $ac_func;
18836 return 0;
18838 _ACEOF
18839 rm -f conftest.$ac_objext conftest$ac_exeext
18840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18841 (eval $ac_link) 2>conftest.er1
18842 ac_status=$?
18843 grep -v '^ *+' conftest.er1 >conftest.err
18844 rm -f conftest.er1
18845 cat conftest.err >&5
18846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18847 (exit $ac_status); } &&
18848 { ac_try='test -z "$ac_c_werror_flag"
18849 || test ! -s conftest.err'
18850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18851 (eval $ac_try) 2>&5
18852 ac_status=$?
18853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18854 (exit $ac_status); }; } &&
18855 { ac_try='test -s conftest$ac_exeext'
18856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18857 (eval $ac_try) 2>&5
18858 ac_status=$?
18859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18860 (exit $ac_status); }; }; then
18861 eval "$as_ac_var=yes"
18862 else
18863 echo "$as_me: failed program was:" >&5
18864 sed 's/^/| /' conftest.$ac_ext >&5
18866 eval "$as_ac_var=no"
18868 rm -f conftest.err conftest.$ac_objext \
18869 conftest$ac_exeext conftest.$ac_ext
18871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18873 if test `eval echo '${'$as_ac_var'}'` = yes; then
18874 cat >>confdefs.h <<_ACEOF
18875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18876 _ACEOF
18879 done
18897 echo "$as_me:$LINENO: checking for long double round functions" >&5
18898 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
18899 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
18900 echo $ECHO_N "(cached) $ECHO_C" >&6
18901 else
18905 ac_ext=cc
18906 ac_cpp='$CXXCPP $CPPFLAGS'
18907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18911 cat >conftest.$ac_ext <<_ACEOF
18912 /* confdefs.h. */
18913 _ACEOF
18914 cat confdefs.h >>conftest.$ac_ext
18915 cat >>conftest.$ac_ext <<_ACEOF
18916 /* end confdefs.h. */
18917 #include <math.h>
18919 main ()
18921 ceill (0); floorl (0);
18923 return 0;
18925 _ACEOF
18926 rm -f conftest.$ac_objext
18927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18928 (eval $ac_compile) 2>conftest.er1
18929 ac_status=$?
18930 grep -v '^ *+' conftest.er1 >conftest.err
18931 rm -f conftest.er1
18932 cat conftest.err >&5
18933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18934 (exit $ac_status); } &&
18935 { ac_try='test -z "$ac_cxx_werror_flag"
18936 || test ! -s conftest.err'
18937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18938 (eval $ac_try) 2>&5
18939 ac_status=$?
18940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18941 (exit $ac_status); }; } &&
18942 { ac_try='test -s conftest.$ac_objext'
18943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18944 (eval $ac_try) 2>&5
18945 ac_status=$?
18946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18947 (exit $ac_status); }; }; then
18948 glibcxx_cv_func_long_double_round_use=yes
18949 else
18950 echo "$as_me: failed program was:" >&5
18951 sed 's/^/| /' conftest.$ac_ext >&5
18953 glibcxx_cv_func_long_double_round_use=no
18955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18956 ac_ext=c
18957 ac_cpp='$CPP $CPPFLAGS'
18958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18964 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
18965 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
18966 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
18969 for ac_func in ceill floorl
18971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18972 echo "$as_me:$LINENO: checking for $ac_func" >&5
18973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18974 if eval "test \"\${$as_ac_var+set}\" = set"; then
18975 echo $ECHO_N "(cached) $ECHO_C" >&6
18976 else
18977 if test x$gcc_no_link = xyes; then
18978 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18980 { (exit 1); exit 1; }; }
18982 cat >conftest.$ac_ext <<_ACEOF
18983 /* confdefs.h. */
18984 _ACEOF
18985 cat confdefs.h >>conftest.$ac_ext
18986 cat >>conftest.$ac_ext <<_ACEOF
18987 /* end confdefs.h. */
18988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18990 #define $ac_func innocuous_$ac_func
18992 /* System header to define __stub macros and hopefully few prototypes,
18993 which can conflict with char $ac_func (); below.
18994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18995 <limits.h> exists even on freestanding compilers. */
18997 #ifdef __STDC__
18998 # include <limits.h>
18999 #else
19000 # include <assert.h>
19001 #endif
19003 #undef $ac_func
19005 /* Override any gcc2 internal prototype to avoid an error. */
19006 #ifdef __cplusplus
19007 extern "C"
19009 #endif
19010 /* We use char because int might match the return type of a gcc2
19011 builtin and then its argument prototype would still apply. */
19012 char $ac_func ();
19013 /* The GNU C library defines this for functions which it implements
19014 to always fail with ENOSYS. Some functions are actually named
19015 something starting with __ and the normal name is an alias. */
19016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19017 choke me
19018 #else
19019 char (*f) () = $ac_func;
19020 #endif
19021 #ifdef __cplusplus
19023 #endif
19026 main ()
19028 return f != $ac_func;
19030 return 0;
19032 _ACEOF
19033 rm -f conftest.$ac_objext conftest$ac_exeext
19034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19035 (eval $ac_link) 2>conftest.er1
19036 ac_status=$?
19037 grep -v '^ *+' conftest.er1 >conftest.err
19038 rm -f conftest.er1
19039 cat conftest.err >&5
19040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19041 (exit $ac_status); } &&
19042 { ac_try='test -z "$ac_c_werror_flag"
19043 || test ! -s conftest.err'
19044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19045 (eval $ac_try) 2>&5
19046 ac_status=$?
19047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19048 (exit $ac_status); }; } &&
19049 { ac_try='test -s conftest$ac_exeext'
19050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19051 (eval $ac_try) 2>&5
19052 ac_status=$?
19053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19054 (exit $ac_status); }; }; then
19055 eval "$as_ac_var=yes"
19056 else
19057 echo "$as_me: failed program was:" >&5
19058 sed 's/^/| /' conftest.$ac_ext >&5
19060 eval "$as_ac_var=no"
19062 rm -f conftest.err conftest.$ac_objext \
19063 conftest$ac_exeext conftest.$ac_ext
19065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19067 if test `eval echo '${'$as_ac_var'}'` = yes; then
19068 cat >>confdefs.h <<_ACEOF
19069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19070 _ACEOF
19073 done
19075 else
19076 echo "$as_me:$LINENO: checking for _long double round functions" >&5
19077 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
19078 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
19079 echo $ECHO_N "(cached) $ECHO_C" >&6
19080 else
19084 ac_ext=cc
19085 ac_cpp='$CXXCPP $CPPFLAGS'
19086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19090 cat >conftest.$ac_ext <<_ACEOF
19091 /* confdefs.h. */
19092 _ACEOF
19093 cat confdefs.h >>conftest.$ac_ext
19094 cat >>conftest.$ac_ext <<_ACEOF
19095 /* end confdefs.h. */
19096 #include <math.h>
19098 main ()
19100 _ceill (0); _floorl (0);
19102 return 0;
19104 _ACEOF
19105 rm -f conftest.$ac_objext
19106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19107 (eval $ac_compile) 2>conftest.er1
19108 ac_status=$?
19109 grep -v '^ *+' conftest.er1 >conftest.err
19110 rm -f conftest.er1
19111 cat conftest.err >&5
19112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19113 (exit $ac_status); } &&
19114 { ac_try='test -z "$ac_cxx_werror_flag"
19115 || test ! -s conftest.err'
19116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19117 (eval $ac_try) 2>&5
19118 ac_status=$?
19119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19120 (exit $ac_status); }; } &&
19121 { ac_try='test -s conftest.$ac_objext'
19122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19123 (eval $ac_try) 2>&5
19124 ac_status=$?
19125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19126 (exit $ac_status); }; }; then
19127 glibcxx_cv_func__long_double_round_use=yes
19128 else
19129 echo "$as_me: failed program was:" >&5
19130 sed 's/^/| /' conftest.$ac_ext >&5
19132 glibcxx_cv_func__long_double_round_use=no
19134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19135 ac_ext=c
19136 ac_cpp='$CPP $CPPFLAGS'
19137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19143 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
19144 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
19145 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
19148 for ac_func in _ceill _floorl
19150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19151 echo "$as_me:$LINENO: checking for $ac_func" >&5
19152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19153 if eval "test \"\${$as_ac_var+set}\" = set"; then
19154 echo $ECHO_N "(cached) $ECHO_C" >&6
19155 else
19156 if test x$gcc_no_link = xyes; then
19157 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19159 { (exit 1); exit 1; }; }
19161 cat >conftest.$ac_ext <<_ACEOF
19162 /* confdefs.h. */
19163 _ACEOF
19164 cat confdefs.h >>conftest.$ac_ext
19165 cat >>conftest.$ac_ext <<_ACEOF
19166 /* end confdefs.h. */
19167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19168 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19169 #define $ac_func innocuous_$ac_func
19171 /* System header to define __stub macros and hopefully few prototypes,
19172 which can conflict with char $ac_func (); below.
19173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19174 <limits.h> exists even on freestanding compilers. */
19176 #ifdef __STDC__
19177 # include <limits.h>
19178 #else
19179 # include <assert.h>
19180 #endif
19182 #undef $ac_func
19184 /* Override any gcc2 internal prototype to avoid an error. */
19185 #ifdef __cplusplus
19186 extern "C"
19188 #endif
19189 /* We use char because int might match the return type of a gcc2
19190 builtin and then its argument prototype would still apply. */
19191 char $ac_func ();
19192 /* The GNU C library defines this for functions which it implements
19193 to always fail with ENOSYS. Some functions are actually named
19194 something starting with __ and the normal name is an alias. */
19195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19196 choke me
19197 #else
19198 char (*f) () = $ac_func;
19199 #endif
19200 #ifdef __cplusplus
19202 #endif
19205 main ()
19207 return f != $ac_func;
19209 return 0;
19211 _ACEOF
19212 rm -f conftest.$ac_objext conftest$ac_exeext
19213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19214 (eval $ac_link) 2>conftest.er1
19215 ac_status=$?
19216 grep -v '^ *+' conftest.er1 >conftest.err
19217 rm -f conftest.er1
19218 cat conftest.err >&5
19219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19220 (exit $ac_status); } &&
19221 { ac_try='test -z "$ac_c_werror_flag"
19222 || test ! -s conftest.err'
19223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19224 (eval $ac_try) 2>&5
19225 ac_status=$?
19226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19227 (exit $ac_status); }; } &&
19228 { ac_try='test -s conftest$ac_exeext'
19229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19230 (eval $ac_try) 2>&5
19231 ac_status=$?
19232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19233 (exit $ac_status); }; }; then
19234 eval "$as_ac_var=yes"
19235 else
19236 echo "$as_me: failed program was:" >&5
19237 sed 's/^/| /' conftest.$ac_ext >&5
19239 eval "$as_ac_var=no"
19241 rm -f conftest.err conftest.$ac_objext \
19242 conftest$ac_exeext conftest.$ac_ext
19244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19246 if test `eval echo '${'$as_ac_var'}'` = yes; then
19247 cat >>confdefs.h <<_ACEOF
19248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19249 _ACEOF
19252 done
19264 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
19265 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
19266 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
19267 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
19268 echo $ECHO_N "(cached) $ECHO_C" >&6
19269 else
19273 ac_ext=cc
19274 ac_cpp='$CXXCPP $CPPFLAGS'
19275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19279 cat >conftest.$ac_ext <<_ACEOF
19280 /* confdefs.h. */
19281 _ACEOF
19282 cat confdefs.h >>conftest.$ac_ext
19283 cat >>conftest.$ac_ext <<_ACEOF
19284 /* end confdefs.h. */
19285 #include <math.h>
19286 #ifdef HAVE_IEEEFP_H
19287 #include <ieeefp.h>
19288 #endif
19291 main ()
19293 isnanl(0);
19295 return 0;
19297 _ACEOF
19298 rm -f conftest.$ac_objext
19299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19300 (eval $ac_compile) 2>conftest.er1
19301 ac_status=$?
19302 grep -v '^ *+' conftest.er1 >conftest.err
19303 rm -f conftest.er1
19304 cat conftest.err >&5
19305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19306 (exit $ac_status); } &&
19307 { ac_try='test -z "$ac_cxx_werror_flag"
19308 || test ! -s conftest.err'
19309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19310 (eval $ac_try) 2>&5
19311 ac_status=$?
19312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19313 (exit $ac_status); }; } &&
19314 { ac_try='test -s conftest.$ac_objext'
19315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19316 (eval $ac_try) 2>&5
19317 ac_status=$?
19318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19319 (exit $ac_status); }; }; then
19320 glibcxx_cv_func_isnanl_use=yes
19321 else
19322 echo "$as_me: failed program was:" >&5
19323 sed 's/^/| /' conftest.$ac_ext >&5
19325 glibcxx_cv_func_isnanl_use=no
19327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19328 ac_ext=c
19329 ac_cpp='$CPP $CPPFLAGS'
19330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19338 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
19339 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
19341 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
19343 for ac_func in isnanl
19345 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19346 echo "$as_me:$LINENO: checking for $ac_func" >&5
19347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19348 if eval "test \"\${$as_ac_var+set}\" = set"; then
19349 echo $ECHO_N "(cached) $ECHO_C" >&6
19350 else
19351 if test x$gcc_no_link = xyes; then
19352 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19354 { (exit 1); exit 1; }; }
19356 cat >conftest.$ac_ext <<_ACEOF
19357 /* confdefs.h. */
19358 _ACEOF
19359 cat confdefs.h >>conftest.$ac_ext
19360 cat >>conftest.$ac_ext <<_ACEOF
19361 /* end confdefs.h. */
19362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19364 #define $ac_func innocuous_$ac_func
19366 /* System header to define __stub macros and hopefully few prototypes,
19367 which can conflict with char $ac_func (); below.
19368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19369 <limits.h> exists even on freestanding compilers. */
19371 #ifdef __STDC__
19372 # include <limits.h>
19373 #else
19374 # include <assert.h>
19375 #endif
19377 #undef $ac_func
19379 /* Override any gcc2 internal prototype to avoid an error. */
19380 #ifdef __cplusplus
19381 extern "C"
19383 #endif
19384 /* We use char because int might match the return type of a gcc2
19385 builtin and then its argument prototype would still apply. */
19386 char $ac_func ();
19387 /* The GNU C library defines this for functions which it implements
19388 to always fail with ENOSYS. Some functions are actually named
19389 something starting with __ and the normal name is an alias. */
19390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19391 choke me
19392 #else
19393 char (*f) () = $ac_func;
19394 #endif
19395 #ifdef __cplusplus
19397 #endif
19400 main ()
19402 return f != $ac_func;
19404 return 0;
19406 _ACEOF
19407 rm -f conftest.$ac_objext conftest$ac_exeext
19408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19409 (eval $ac_link) 2>conftest.er1
19410 ac_status=$?
19411 grep -v '^ *+' conftest.er1 >conftest.err
19412 rm -f conftest.er1
19413 cat conftest.err >&5
19414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19415 (exit $ac_status); } &&
19416 { ac_try='test -z "$ac_c_werror_flag"
19417 || test ! -s conftest.err'
19418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19419 (eval $ac_try) 2>&5
19420 ac_status=$?
19421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19422 (exit $ac_status); }; } &&
19423 { ac_try='test -s conftest$ac_exeext'
19424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19425 (eval $ac_try) 2>&5
19426 ac_status=$?
19427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19428 (exit $ac_status); }; }; then
19429 eval "$as_ac_var=yes"
19430 else
19431 echo "$as_me: failed program was:" >&5
19432 sed 's/^/| /' conftest.$ac_ext >&5
19434 eval "$as_ac_var=no"
19436 rm -f conftest.err conftest.$ac_objext \
19437 conftest$ac_exeext conftest.$ac_ext
19439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19440 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19441 if test `eval echo '${'$as_ac_var'}'` = yes; then
19442 cat >>confdefs.h <<_ACEOF
19443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19444 _ACEOF
19447 done
19449 else
19451 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
19452 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
19453 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
19454 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
19455 echo $ECHO_N "(cached) $ECHO_C" >&6
19456 else
19460 ac_ext=cc
19461 ac_cpp='$CXXCPP $CPPFLAGS'
19462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19466 cat >conftest.$ac_ext <<_ACEOF
19467 /* confdefs.h. */
19468 _ACEOF
19469 cat confdefs.h >>conftest.$ac_ext
19470 cat >>conftest.$ac_ext <<_ACEOF
19471 /* end confdefs.h. */
19472 #include <math.h>
19473 #ifdef HAVE_IEEEFP_H
19474 #include <ieeefp.h>
19475 #endif
19478 main ()
19480 _isnanl(0);
19482 return 0;
19484 _ACEOF
19485 rm -f conftest.$ac_objext
19486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19487 (eval $ac_compile) 2>conftest.er1
19488 ac_status=$?
19489 grep -v '^ *+' conftest.er1 >conftest.err
19490 rm -f conftest.er1
19491 cat conftest.err >&5
19492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19493 (exit $ac_status); } &&
19494 { ac_try='test -z "$ac_cxx_werror_flag"
19495 || test ! -s conftest.err'
19496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19497 (eval $ac_try) 2>&5
19498 ac_status=$?
19499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19500 (exit $ac_status); }; } &&
19501 { ac_try='test -s conftest.$ac_objext'
19502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19503 (eval $ac_try) 2>&5
19504 ac_status=$?
19505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19506 (exit $ac_status); }; }; then
19507 glibcxx_cv_func__isnanl_use=yes
19508 else
19509 echo "$as_me: failed program was:" >&5
19510 sed 's/^/| /' conftest.$ac_ext >&5
19512 glibcxx_cv_func__isnanl_use=no
19514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19515 ac_ext=c
19516 ac_cpp='$CPP $CPPFLAGS'
19517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19525 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
19526 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
19528 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
19530 for ac_func in _isnanl
19532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19533 echo "$as_me:$LINENO: checking for $ac_func" >&5
19534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19535 if eval "test \"\${$as_ac_var+set}\" = set"; then
19536 echo $ECHO_N "(cached) $ECHO_C" >&6
19537 else
19538 if test x$gcc_no_link = xyes; then
19539 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19541 { (exit 1); exit 1; }; }
19543 cat >conftest.$ac_ext <<_ACEOF
19544 /* confdefs.h. */
19545 _ACEOF
19546 cat confdefs.h >>conftest.$ac_ext
19547 cat >>conftest.$ac_ext <<_ACEOF
19548 /* end confdefs.h. */
19549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19550 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19551 #define $ac_func innocuous_$ac_func
19553 /* System header to define __stub macros and hopefully few prototypes,
19554 which can conflict with char $ac_func (); below.
19555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19556 <limits.h> exists even on freestanding compilers. */
19558 #ifdef __STDC__
19559 # include <limits.h>
19560 #else
19561 # include <assert.h>
19562 #endif
19564 #undef $ac_func
19566 /* Override any gcc2 internal prototype to avoid an error. */
19567 #ifdef __cplusplus
19568 extern "C"
19570 #endif
19571 /* We use char because int might match the return type of a gcc2
19572 builtin and then its argument prototype would still apply. */
19573 char $ac_func ();
19574 /* The GNU C library defines this for functions which it implements
19575 to always fail with ENOSYS. Some functions are actually named
19576 something starting with __ and the normal name is an alias. */
19577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19578 choke me
19579 #else
19580 char (*f) () = $ac_func;
19581 #endif
19582 #ifdef __cplusplus
19584 #endif
19587 main ()
19589 return f != $ac_func;
19591 return 0;
19593 _ACEOF
19594 rm -f conftest.$ac_objext conftest$ac_exeext
19595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19596 (eval $ac_link) 2>conftest.er1
19597 ac_status=$?
19598 grep -v '^ *+' conftest.er1 >conftest.err
19599 rm -f conftest.er1
19600 cat conftest.err >&5
19601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19602 (exit $ac_status); } &&
19603 { ac_try='test -z "$ac_c_werror_flag"
19604 || test ! -s conftest.err'
19605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19606 (eval $ac_try) 2>&5
19607 ac_status=$?
19608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19609 (exit $ac_status); }; } &&
19610 { ac_try='test -s conftest$ac_exeext'
19611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19612 (eval $ac_try) 2>&5
19613 ac_status=$?
19614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19615 (exit $ac_status); }; }; then
19616 eval "$as_ac_var=yes"
19617 else
19618 echo "$as_me: failed program was:" >&5
19619 sed 's/^/| /' conftest.$ac_ext >&5
19621 eval "$as_ac_var=no"
19623 rm -f conftest.err conftest.$ac_objext \
19624 conftest$ac_exeext conftest.$ac_ext
19626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19628 if test `eval echo '${'$as_ac_var'}'` = yes; then
19629 cat >>confdefs.h <<_ACEOF
19630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19631 _ACEOF
19634 done
19644 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
19645 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
19646 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
19647 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
19648 echo $ECHO_N "(cached) $ECHO_C" >&6
19649 else
19653 ac_ext=cc
19654 ac_cpp='$CXXCPP $CPPFLAGS'
19655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19659 cat >conftest.$ac_ext <<_ACEOF
19660 /* confdefs.h. */
19661 _ACEOF
19662 cat confdefs.h >>conftest.$ac_ext
19663 cat >>conftest.$ac_ext <<_ACEOF
19664 /* end confdefs.h. */
19665 #include <math.h>
19666 #ifdef HAVE_IEEEFP_H
19667 #include <ieeefp.h>
19668 #endif
19671 main ()
19673 isinfl(0);
19675 return 0;
19677 _ACEOF
19678 rm -f conftest.$ac_objext
19679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19680 (eval $ac_compile) 2>conftest.er1
19681 ac_status=$?
19682 grep -v '^ *+' conftest.er1 >conftest.err
19683 rm -f conftest.er1
19684 cat conftest.err >&5
19685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19686 (exit $ac_status); } &&
19687 { ac_try='test -z "$ac_cxx_werror_flag"
19688 || test ! -s conftest.err'
19689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19690 (eval $ac_try) 2>&5
19691 ac_status=$?
19692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19693 (exit $ac_status); }; } &&
19694 { ac_try='test -s conftest.$ac_objext'
19695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19696 (eval $ac_try) 2>&5
19697 ac_status=$?
19698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19699 (exit $ac_status); }; }; then
19700 glibcxx_cv_func_isinfl_use=yes
19701 else
19702 echo "$as_me: failed program was:" >&5
19703 sed 's/^/| /' conftest.$ac_ext >&5
19705 glibcxx_cv_func_isinfl_use=no
19707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19708 ac_ext=c
19709 ac_cpp='$CPP $CPPFLAGS'
19710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19718 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
19719 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
19721 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
19723 for ac_func in isinfl
19725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19726 echo "$as_me:$LINENO: checking for $ac_func" >&5
19727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19728 if eval "test \"\${$as_ac_var+set}\" = set"; then
19729 echo $ECHO_N "(cached) $ECHO_C" >&6
19730 else
19731 if test x$gcc_no_link = xyes; then
19732 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19734 { (exit 1); exit 1; }; }
19736 cat >conftest.$ac_ext <<_ACEOF
19737 /* confdefs.h. */
19738 _ACEOF
19739 cat confdefs.h >>conftest.$ac_ext
19740 cat >>conftest.$ac_ext <<_ACEOF
19741 /* end confdefs.h. */
19742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19744 #define $ac_func innocuous_$ac_func
19746 /* System header to define __stub macros and hopefully few prototypes,
19747 which can conflict with char $ac_func (); below.
19748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19749 <limits.h> exists even on freestanding compilers. */
19751 #ifdef __STDC__
19752 # include <limits.h>
19753 #else
19754 # include <assert.h>
19755 #endif
19757 #undef $ac_func
19759 /* Override any gcc2 internal prototype to avoid an error. */
19760 #ifdef __cplusplus
19761 extern "C"
19763 #endif
19764 /* We use char because int might match the return type of a gcc2
19765 builtin and then its argument prototype would still apply. */
19766 char $ac_func ();
19767 /* The GNU C library defines this for functions which it implements
19768 to always fail with ENOSYS. Some functions are actually named
19769 something starting with __ and the normal name is an alias. */
19770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19771 choke me
19772 #else
19773 char (*f) () = $ac_func;
19774 #endif
19775 #ifdef __cplusplus
19777 #endif
19780 main ()
19782 return f != $ac_func;
19784 return 0;
19786 _ACEOF
19787 rm -f conftest.$ac_objext conftest$ac_exeext
19788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19789 (eval $ac_link) 2>conftest.er1
19790 ac_status=$?
19791 grep -v '^ *+' conftest.er1 >conftest.err
19792 rm -f conftest.er1
19793 cat conftest.err >&5
19794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19795 (exit $ac_status); } &&
19796 { ac_try='test -z "$ac_c_werror_flag"
19797 || test ! -s conftest.err'
19798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19799 (eval $ac_try) 2>&5
19800 ac_status=$?
19801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19802 (exit $ac_status); }; } &&
19803 { ac_try='test -s conftest$ac_exeext'
19804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19805 (eval $ac_try) 2>&5
19806 ac_status=$?
19807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808 (exit $ac_status); }; }; then
19809 eval "$as_ac_var=yes"
19810 else
19811 echo "$as_me: failed program was:" >&5
19812 sed 's/^/| /' conftest.$ac_ext >&5
19814 eval "$as_ac_var=no"
19816 rm -f conftest.err conftest.$ac_objext \
19817 conftest$ac_exeext conftest.$ac_ext
19819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19821 if test `eval echo '${'$as_ac_var'}'` = yes; then
19822 cat >>confdefs.h <<_ACEOF
19823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19824 _ACEOF
19827 done
19829 else
19831 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
19832 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
19833 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
19834 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
19835 echo $ECHO_N "(cached) $ECHO_C" >&6
19836 else
19840 ac_ext=cc
19841 ac_cpp='$CXXCPP $CPPFLAGS'
19842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19846 cat >conftest.$ac_ext <<_ACEOF
19847 /* confdefs.h. */
19848 _ACEOF
19849 cat confdefs.h >>conftest.$ac_ext
19850 cat >>conftest.$ac_ext <<_ACEOF
19851 /* end confdefs.h. */
19852 #include <math.h>
19853 #ifdef HAVE_IEEEFP_H
19854 #include <ieeefp.h>
19855 #endif
19858 main ()
19860 _isinfl(0);
19862 return 0;
19864 _ACEOF
19865 rm -f conftest.$ac_objext
19866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19867 (eval $ac_compile) 2>conftest.er1
19868 ac_status=$?
19869 grep -v '^ *+' conftest.er1 >conftest.err
19870 rm -f conftest.er1
19871 cat conftest.err >&5
19872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19873 (exit $ac_status); } &&
19874 { ac_try='test -z "$ac_cxx_werror_flag"
19875 || test ! -s conftest.err'
19876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19877 (eval $ac_try) 2>&5
19878 ac_status=$?
19879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19880 (exit $ac_status); }; } &&
19881 { ac_try='test -s conftest.$ac_objext'
19882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19883 (eval $ac_try) 2>&5
19884 ac_status=$?
19885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19886 (exit $ac_status); }; }; then
19887 glibcxx_cv_func__isinfl_use=yes
19888 else
19889 echo "$as_me: failed program was:" >&5
19890 sed 's/^/| /' conftest.$ac_ext >&5
19892 glibcxx_cv_func__isinfl_use=no
19894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19895 ac_ext=c
19896 ac_cpp='$CPP $CPPFLAGS'
19897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19905 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
19906 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
19908 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
19910 for ac_func in _isinfl
19912 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19913 echo "$as_me:$LINENO: checking for $ac_func" >&5
19914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19915 if eval "test \"\${$as_ac_var+set}\" = set"; then
19916 echo $ECHO_N "(cached) $ECHO_C" >&6
19917 else
19918 if test x$gcc_no_link = xyes; then
19919 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19921 { (exit 1); exit 1; }; }
19923 cat >conftest.$ac_ext <<_ACEOF
19924 /* confdefs.h. */
19925 _ACEOF
19926 cat confdefs.h >>conftest.$ac_ext
19927 cat >>conftest.$ac_ext <<_ACEOF
19928 /* end confdefs.h. */
19929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19931 #define $ac_func innocuous_$ac_func
19933 /* System header to define __stub macros and hopefully few prototypes,
19934 which can conflict with char $ac_func (); below.
19935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19936 <limits.h> exists even on freestanding compilers. */
19938 #ifdef __STDC__
19939 # include <limits.h>
19940 #else
19941 # include <assert.h>
19942 #endif
19944 #undef $ac_func
19946 /* Override any gcc2 internal prototype to avoid an error. */
19947 #ifdef __cplusplus
19948 extern "C"
19950 #endif
19951 /* We use char because int might match the return type of a gcc2
19952 builtin and then its argument prototype would still apply. */
19953 char $ac_func ();
19954 /* The GNU C library defines this for functions which it implements
19955 to always fail with ENOSYS. Some functions are actually named
19956 something starting with __ and the normal name is an alias. */
19957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19958 choke me
19959 #else
19960 char (*f) () = $ac_func;
19961 #endif
19962 #ifdef __cplusplus
19964 #endif
19967 main ()
19969 return f != $ac_func;
19971 return 0;
19973 _ACEOF
19974 rm -f conftest.$ac_objext conftest$ac_exeext
19975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19976 (eval $ac_link) 2>conftest.er1
19977 ac_status=$?
19978 grep -v '^ *+' conftest.er1 >conftest.err
19979 rm -f conftest.er1
19980 cat conftest.err >&5
19981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19982 (exit $ac_status); } &&
19983 { ac_try='test -z "$ac_c_werror_flag"
19984 || test ! -s conftest.err'
19985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19986 (eval $ac_try) 2>&5
19987 ac_status=$?
19988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19989 (exit $ac_status); }; } &&
19990 { ac_try='test -s conftest$ac_exeext'
19991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19992 (eval $ac_try) 2>&5
19993 ac_status=$?
19994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19995 (exit $ac_status); }; }; then
19996 eval "$as_ac_var=yes"
19997 else
19998 echo "$as_me: failed program was:" >&5
19999 sed 's/^/| /' conftest.$ac_ext >&5
20001 eval "$as_ac_var=no"
20003 rm -f conftest.err conftest.$ac_objext \
20004 conftest$ac_exeext conftest.$ac_ext
20006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20007 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20008 if test `eval echo '${'$as_ac_var'}'` = yes; then
20009 cat >>confdefs.h <<_ACEOF
20010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20011 _ACEOF
20014 done
20024 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
20025 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
20026 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
20027 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
20028 echo $ECHO_N "(cached) $ECHO_C" >&6
20029 else
20033 ac_ext=cc
20034 ac_cpp='$CXXCPP $CPPFLAGS'
20035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20039 cat >conftest.$ac_ext <<_ACEOF
20040 /* confdefs.h. */
20041 _ACEOF
20042 cat confdefs.h >>conftest.$ac_ext
20043 cat >>conftest.$ac_ext <<_ACEOF
20044 /* end confdefs.h. */
20045 #include <math.h>
20047 main ()
20049 copysignl(0, 0);
20051 return 0;
20053 _ACEOF
20054 rm -f conftest.$ac_objext
20055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20056 (eval $ac_compile) 2>conftest.er1
20057 ac_status=$?
20058 grep -v '^ *+' conftest.er1 >conftest.err
20059 rm -f conftest.er1
20060 cat conftest.err >&5
20061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20062 (exit $ac_status); } &&
20063 { ac_try='test -z "$ac_cxx_werror_flag"
20064 || test ! -s conftest.err'
20065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20066 (eval $ac_try) 2>&5
20067 ac_status=$?
20068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20069 (exit $ac_status); }; } &&
20070 { ac_try='test -s conftest.$ac_objext'
20071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20072 (eval $ac_try) 2>&5
20073 ac_status=$?
20074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20075 (exit $ac_status); }; }; then
20076 glibcxx_cv_func_copysignl_use=yes
20077 else
20078 echo "$as_me: failed program was:" >&5
20079 sed 's/^/| /' conftest.$ac_ext >&5
20081 glibcxx_cv_func_copysignl_use=no
20083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20084 ac_ext=c
20085 ac_cpp='$CPP $CPPFLAGS'
20086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20094 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
20095 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
20097 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
20099 for ac_func in copysignl
20101 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20102 echo "$as_me:$LINENO: checking for $ac_func" >&5
20103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20104 if eval "test \"\${$as_ac_var+set}\" = set"; then
20105 echo $ECHO_N "(cached) $ECHO_C" >&6
20106 else
20107 if test x$gcc_no_link = xyes; then
20108 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20110 { (exit 1); exit 1; }; }
20112 cat >conftest.$ac_ext <<_ACEOF
20113 /* confdefs.h. */
20114 _ACEOF
20115 cat confdefs.h >>conftest.$ac_ext
20116 cat >>conftest.$ac_ext <<_ACEOF
20117 /* end confdefs.h. */
20118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20120 #define $ac_func innocuous_$ac_func
20122 /* System header to define __stub macros and hopefully few prototypes,
20123 which can conflict with char $ac_func (); below.
20124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20125 <limits.h> exists even on freestanding compilers. */
20127 #ifdef __STDC__
20128 # include <limits.h>
20129 #else
20130 # include <assert.h>
20131 #endif
20133 #undef $ac_func
20135 /* Override any gcc2 internal prototype to avoid an error. */
20136 #ifdef __cplusplus
20137 extern "C"
20139 #endif
20140 /* We use char because int might match the return type of a gcc2
20141 builtin and then its argument prototype would still apply. */
20142 char $ac_func ();
20143 /* The GNU C library defines this for functions which it implements
20144 to always fail with ENOSYS. Some functions are actually named
20145 something starting with __ and the normal name is an alias. */
20146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20147 choke me
20148 #else
20149 char (*f) () = $ac_func;
20150 #endif
20151 #ifdef __cplusplus
20153 #endif
20156 main ()
20158 return f != $ac_func;
20160 return 0;
20162 _ACEOF
20163 rm -f conftest.$ac_objext conftest$ac_exeext
20164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20165 (eval $ac_link) 2>conftest.er1
20166 ac_status=$?
20167 grep -v '^ *+' conftest.er1 >conftest.err
20168 rm -f conftest.er1
20169 cat conftest.err >&5
20170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20171 (exit $ac_status); } &&
20172 { ac_try='test -z "$ac_c_werror_flag"
20173 || test ! -s conftest.err'
20174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20175 (eval $ac_try) 2>&5
20176 ac_status=$?
20177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20178 (exit $ac_status); }; } &&
20179 { ac_try='test -s conftest$ac_exeext'
20180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20181 (eval $ac_try) 2>&5
20182 ac_status=$?
20183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20184 (exit $ac_status); }; }; then
20185 eval "$as_ac_var=yes"
20186 else
20187 echo "$as_me: failed program was:" >&5
20188 sed 's/^/| /' conftest.$ac_ext >&5
20190 eval "$as_ac_var=no"
20192 rm -f conftest.err conftest.$ac_objext \
20193 conftest$ac_exeext conftest.$ac_ext
20195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20197 if test `eval echo '${'$as_ac_var'}'` = yes; then
20198 cat >>confdefs.h <<_ACEOF
20199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20200 _ACEOF
20203 done
20205 else
20207 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
20208 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
20209 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
20210 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
20211 echo $ECHO_N "(cached) $ECHO_C" >&6
20212 else
20216 ac_ext=cc
20217 ac_cpp='$CXXCPP $CPPFLAGS'
20218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20222 cat >conftest.$ac_ext <<_ACEOF
20223 /* confdefs.h. */
20224 _ACEOF
20225 cat confdefs.h >>conftest.$ac_ext
20226 cat >>conftest.$ac_ext <<_ACEOF
20227 /* end confdefs.h. */
20228 #include <math.h>
20230 main ()
20232 _copysignl(0, 0);
20234 return 0;
20236 _ACEOF
20237 rm -f conftest.$ac_objext
20238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20239 (eval $ac_compile) 2>conftest.er1
20240 ac_status=$?
20241 grep -v '^ *+' conftest.er1 >conftest.err
20242 rm -f conftest.er1
20243 cat conftest.err >&5
20244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20245 (exit $ac_status); } &&
20246 { ac_try='test -z "$ac_cxx_werror_flag"
20247 || test ! -s conftest.err'
20248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20249 (eval $ac_try) 2>&5
20250 ac_status=$?
20251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20252 (exit $ac_status); }; } &&
20253 { ac_try='test -s conftest.$ac_objext'
20254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20255 (eval $ac_try) 2>&5
20256 ac_status=$?
20257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20258 (exit $ac_status); }; }; then
20259 glibcxx_cv_func__copysignl_use=yes
20260 else
20261 echo "$as_me: failed program was:" >&5
20262 sed 's/^/| /' conftest.$ac_ext >&5
20264 glibcxx_cv_func__copysignl_use=no
20266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20267 ac_ext=c
20268 ac_cpp='$CPP $CPPFLAGS'
20269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20277 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
20278 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
20280 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
20282 for ac_func in _copysignl
20284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20285 echo "$as_me:$LINENO: checking for $ac_func" >&5
20286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20287 if eval "test \"\${$as_ac_var+set}\" = set"; then
20288 echo $ECHO_N "(cached) $ECHO_C" >&6
20289 else
20290 if test x$gcc_no_link = xyes; then
20291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20293 { (exit 1); exit 1; }; }
20295 cat >conftest.$ac_ext <<_ACEOF
20296 /* confdefs.h. */
20297 _ACEOF
20298 cat confdefs.h >>conftest.$ac_ext
20299 cat >>conftest.$ac_ext <<_ACEOF
20300 /* end confdefs.h. */
20301 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20303 #define $ac_func innocuous_$ac_func
20305 /* System header to define __stub macros and hopefully few prototypes,
20306 which can conflict with char $ac_func (); below.
20307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20308 <limits.h> exists even on freestanding compilers. */
20310 #ifdef __STDC__
20311 # include <limits.h>
20312 #else
20313 # include <assert.h>
20314 #endif
20316 #undef $ac_func
20318 /* Override any gcc2 internal prototype to avoid an error. */
20319 #ifdef __cplusplus
20320 extern "C"
20322 #endif
20323 /* We use char because int might match the return type of a gcc2
20324 builtin and then its argument prototype would still apply. */
20325 char $ac_func ();
20326 /* The GNU C library defines this for functions which it implements
20327 to always fail with ENOSYS. Some functions are actually named
20328 something starting with __ and the normal name is an alias. */
20329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20330 choke me
20331 #else
20332 char (*f) () = $ac_func;
20333 #endif
20334 #ifdef __cplusplus
20336 #endif
20339 main ()
20341 return f != $ac_func;
20343 return 0;
20345 _ACEOF
20346 rm -f conftest.$ac_objext conftest$ac_exeext
20347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20348 (eval $ac_link) 2>conftest.er1
20349 ac_status=$?
20350 grep -v '^ *+' conftest.er1 >conftest.err
20351 rm -f conftest.er1
20352 cat conftest.err >&5
20353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20354 (exit $ac_status); } &&
20355 { ac_try='test -z "$ac_c_werror_flag"
20356 || test ! -s conftest.err'
20357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20358 (eval $ac_try) 2>&5
20359 ac_status=$?
20360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20361 (exit $ac_status); }; } &&
20362 { ac_try='test -s conftest$ac_exeext'
20363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20364 (eval $ac_try) 2>&5
20365 ac_status=$?
20366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20367 (exit $ac_status); }; }; then
20368 eval "$as_ac_var=yes"
20369 else
20370 echo "$as_me: failed program was:" >&5
20371 sed 's/^/| /' conftest.$ac_ext >&5
20373 eval "$as_ac_var=no"
20375 rm -f conftest.err conftest.$ac_objext \
20376 conftest$ac_exeext conftest.$ac_ext
20378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20380 if test `eval echo '${'$as_ac_var'}'` = yes; then
20381 cat >>confdefs.h <<_ACEOF
20382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20383 _ACEOF
20386 done
20396 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
20397 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
20398 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
20399 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
20400 echo $ECHO_N "(cached) $ECHO_C" >&6
20401 else
20405 ac_ext=cc
20406 ac_cpp='$CXXCPP $CPPFLAGS'
20407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20411 cat >conftest.$ac_ext <<_ACEOF
20412 /* confdefs.h. */
20413 _ACEOF
20414 cat confdefs.h >>conftest.$ac_ext
20415 cat >>conftest.$ac_ext <<_ACEOF
20416 /* end confdefs.h. */
20417 #include <math.h>
20419 main ()
20421 atan2l(0, 0);
20423 return 0;
20425 _ACEOF
20426 rm -f conftest.$ac_objext
20427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20428 (eval $ac_compile) 2>conftest.er1
20429 ac_status=$?
20430 grep -v '^ *+' conftest.er1 >conftest.err
20431 rm -f conftest.er1
20432 cat conftest.err >&5
20433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20434 (exit $ac_status); } &&
20435 { ac_try='test -z "$ac_cxx_werror_flag"
20436 || test ! -s conftest.err'
20437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20438 (eval $ac_try) 2>&5
20439 ac_status=$?
20440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20441 (exit $ac_status); }; } &&
20442 { ac_try='test -s conftest.$ac_objext'
20443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20444 (eval $ac_try) 2>&5
20445 ac_status=$?
20446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20447 (exit $ac_status); }; }; then
20448 glibcxx_cv_func_atan2l_use=yes
20449 else
20450 echo "$as_me: failed program was:" >&5
20451 sed 's/^/| /' conftest.$ac_ext >&5
20453 glibcxx_cv_func_atan2l_use=no
20455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20456 ac_ext=c
20457 ac_cpp='$CPP $CPPFLAGS'
20458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20466 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
20467 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
20469 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
20471 for ac_func in atan2l
20473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20474 echo "$as_me:$LINENO: checking for $ac_func" >&5
20475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20476 if eval "test \"\${$as_ac_var+set}\" = set"; then
20477 echo $ECHO_N "(cached) $ECHO_C" >&6
20478 else
20479 if test x$gcc_no_link = xyes; then
20480 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20482 { (exit 1); exit 1; }; }
20484 cat >conftest.$ac_ext <<_ACEOF
20485 /* confdefs.h. */
20486 _ACEOF
20487 cat confdefs.h >>conftest.$ac_ext
20488 cat >>conftest.$ac_ext <<_ACEOF
20489 /* end confdefs.h. */
20490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20492 #define $ac_func innocuous_$ac_func
20494 /* System header to define __stub macros and hopefully few prototypes,
20495 which can conflict with char $ac_func (); below.
20496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20497 <limits.h> exists even on freestanding compilers. */
20499 #ifdef __STDC__
20500 # include <limits.h>
20501 #else
20502 # include <assert.h>
20503 #endif
20505 #undef $ac_func
20507 /* Override any gcc2 internal prototype to avoid an error. */
20508 #ifdef __cplusplus
20509 extern "C"
20511 #endif
20512 /* We use char because int might match the return type of a gcc2
20513 builtin and then its argument prototype would still apply. */
20514 char $ac_func ();
20515 /* The GNU C library defines this for functions which it implements
20516 to always fail with ENOSYS. Some functions are actually named
20517 something starting with __ and the normal name is an alias. */
20518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20519 choke me
20520 #else
20521 char (*f) () = $ac_func;
20522 #endif
20523 #ifdef __cplusplus
20525 #endif
20528 main ()
20530 return f != $ac_func;
20532 return 0;
20534 _ACEOF
20535 rm -f conftest.$ac_objext conftest$ac_exeext
20536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20537 (eval $ac_link) 2>conftest.er1
20538 ac_status=$?
20539 grep -v '^ *+' conftest.er1 >conftest.err
20540 rm -f conftest.er1
20541 cat conftest.err >&5
20542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); } &&
20544 { ac_try='test -z "$ac_c_werror_flag"
20545 || test ! -s conftest.err'
20546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20547 (eval $ac_try) 2>&5
20548 ac_status=$?
20549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20550 (exit $ac_status); }; } &&
20551 { ac_try='test -s conftest$ac_exeext'
20552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20553 (eval $ac_try) 2>&5
20554 ac_status=$?
20555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20556 (exit $ac_status); }; }; then
20557 eval "$as_ac_var=yes"
20558 else
20559 echo "$as_me: failed program was:" >&5
20560 sed 's/^/| /' conftest.$ac_ext >&5
20562 eval "$as_ac_var=no"
20564 rm -f conftest.err conftest.$ac_objext \
20565 conftest$ac_exeext conftest.$ac_ext
20567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20569 if test `eval echo '${'$as_ac_var'}'` = yes; then
20570 cat >>confdefs.h <<_ACEOF
20571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20572 _ACEOF
20575 done
20577 else
20579 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
20580 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
20581 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
20582 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
20583 echo $ECHO_N "(cached) $ECHO_C" >&6
20584 else
20588 ac_ext=cc
20589 ac_cpp='$CXXCPP $CPPFLAGS'
20590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20594 cat >conftest.$ac_ext <<_ACEOF
20595 /* confdefs.h. */
20596 _ACEOF
20597 cat confdefs.h >>conftest.$ac_ext
20598 cat >>conftest.$ac_ext <<_ACEOF
20599 /* end confdefs.h. */
20600 #include <math.h>
20602 main ()
20604 _atan2l(0, 0);
20606 return 0;
20608 _ACEOF
20609 rm -f conftest.$ac_objext
20610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20611 (eval $ac_compile) 2>conftest.er1
20612 ac_status=$?
20613 grep -v '^ *+' conftest.er1 >conftest.err
20614 rm -f conftest.er1
20615 cat conftest.err >&5
20616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20617 (exit $ac_status); } &&
20618 { ac_try='test -z "$ac_cxx_werror_flag"
20619 || test ! -s conftest.err'
20620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20621 (eval $ac_try) 2>&5
20622 ac_status=$?
20623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20624 (exit $ac_status); }; } &&
20625 { ac_try='test -s conftest.$ac_objext'
20626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20627 (eval $ac_try) 2>&5
20628 ac_status=$?
20629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20630 (exit $ac_status); }; }; then
20631 glibcxx_cv_func__atan2l_use=yes
20632 else
20633 echo "$as_me: failed program was:" >&5
20634 sed 's/^/| /' conftest.$ac_ext >&5
20636 glibcxx_cv_func__atan2l_use=no
20638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20639 ac_ext=c
20640 ac_cpp='$CPP $CPPFLAGS'
20641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20649 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
20650 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
20652 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
20654 for ac_func in _atan2l
20656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20657 echo "$as_me:$LINENO: checking for $ac_func" >&5
20658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20659 if eval "test \"\${$as_ac_var+set}\" = set"; then
20660 echo $ECHO_N "(cached) $ECHO_C" >&6
20661 else
20662 if test x$gcc_no_link = xyes; then
20663 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20665 { (exit 1); exit 1; }; }
20667 cat >conftest.$ac_ext <<_ACEOF
20668 /* confdefs.h. */
20669 _ACEOF
20670 cat confdefs.h >>conftest.$ac_ext
20671 cat >>conftest.$ac_ext <<_ACEOF
20672 /* end confdefs.h. */
20673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20675 #define $ac_func innocuous_$ac_func
20677 /* System header to define __stub macros and hopefully few prototypes,
20678 which can conflict with char $ac_func (); below.
20679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20680 <limits.h> exists even on freestanding compilers. */
20682 #ifdef __STDC__
20683 # include <limits.h>
20684 #else
20685 # include <assert.h>
20686 #endif
20688 #undef $ac_func
20690 /* Override any gcc2 internal prototype to avoid an error. */
20691 #ifdef __cplusplus
20692 extern "C"
20694 #endif
20695 /* We use char because int might match the return type of a gcc2
20696 builtin and then its argument prototype would still apply. */
20697 char $ac_func ();
20698 /* The GNU C library defines this for functions which it implements
20699 to always fail with ENOSYS. Some functions are actually named
20700 something starting with __ and the normal name is an alias. */
20701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20702 choke me
20703 #else
20704 char (*f) () = $ac_func;
20705 #endif
20706 #ifdef __cplusplus
20708 #endif
20711 main ()
20713 return f != $ac_func;
20715 return 0;
20717 _ACEOF
20718 rm -f conftest.$ac_objext conftest$ac_exeext
20719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20720 (eval $ac_link) 2>conftest.er1
20721 ac_status=$?
20722 grep -v '^ *+' conftest.er1 >conftest.err
20723 rm -f conftest.er1
20724 cat conftest.err >&5
20725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20726 (exit $ac_status); } &&
20727 { ac_try='test -z "$ac_c_werror_flag"
20728 || test ! -s conftest.err'
20729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20730 (eval $ac_try) 2>&5
20731 ac_status=$?
20732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20733 (exit $ac_status); }; } &&
20734 { ac_try='test -s conftest$ac_exeext'
20735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20736 (eval $ac_try) 2>&5
20737 ac_status=$?
20738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20739 (exit $ac_status); }; }; then
20740 eval "$as_ac_var=yes"
20741 else
20742 echo "$as_me: failed program was:" >&5
20743 sed 's/^/| /' conftest.$ac_ext >&5
20745 eval "$as_ac_var=no"
20747 rm -f conftest.err conftest.$ac_objext \
20748 conftest$ac_exeext conftest.$ac_ext
20750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20752 if test `eval echo '${'$as_ac_var'}'` = yes; then
20753 cat >>confdefs.h <<_ACEOF
20754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20755 _ACEOF
20758 done
20768 echo "$as_me:$LINENO: checking for expl declaration" >&5
20769 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
20770 if test x${glibcxx_cv_func_expl_use+set} != xset; then
20771 if test "${glibcxx_cv_func_expl_use+set}" = set; then
20772 echo $ECHO_N "(cached) $ECHO_C" >&6
20773 else
20777 ac_ext=cc
20778 ac_cpp='$CXXCPP $CPPFLAGS'
20779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20783 cat >conftest.$ac_ext <<_ACEOF
20784 /* confdefs.h. */
20785 _ACEOF
20786 cat confdefs.h >>conftest.$ac_ext
20787 cat >>conftest.$ac_ext <<_ACEOF
20788 /* end confdefs.h. */
20789 #include <math.h>
20790 #ifdef HAVE_IEEEFP_H
20791 #include <ieeefp.h>
20792 #endif
20795 main ()
20797 expl(0);
20799 return 0;
20801 _ACEOF
20802 rm -f conftest.$ac_objext
20803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20804 (eval $ac_compile) 2>conftest.er1
20805 ac_status=$?
20806 grep -v '^ *+' conftest.er1 >conftest.err
20807 rm -f conftest.er1
20808 cat conftest.err >&5
20809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20810 (exit $ac_status); } &&
20811 { ac_try='test -z "$ac_cxx_werror_flag"
20812 || test ! -s conftest.err'
20813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20814 (eval $ac_try) 2>&5
20815 ac_status=$?
20816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20817 (exit $ac_status); }; } &&
20818 { ac_try='test -s conftest.$ac_objext'
20819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20820 (eval $ac_try) 2>&5
20821 ac_status=$?
20822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20823 (exit $ac_status); }; }; then
20824 glibcxx_cv_func_expl_use=yes
20825 else
20826 echo "$as_me: failed program was:" >&5
20827 sed 's/^/| /' conftest.$ac_ext >&5
20829 glibcxx_cv_func_expl_use=no
20831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20832 ac_ext=c
20833 ac_cpp='$CPP $CPPFLAGS'
20834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20842 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
20843 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
20845 if test x$glibcxx_cv_func_expl_use = x"yes"; then
20847 for ac_func in expl
20849 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20850 echo "$as_me:$LINENO: checking for $ac_func" >&5
20851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20852 if eval "test \"\${$as_ac_var+set}\" = set"; then
20853 echo $ECHO_N "(cached) $ECHO_C" >&6
20854 else
20855 if test x$gcc_no_link = xyes; then
20856 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20858 { (exit 1); exit 1; }; }
20860 cat >conftest.$ac_ext <<_ACEOF
20861 /* confdefs.h. */
20862 _ACEOF
20863 cat confdefs.h >>conftest.$ac_ext
20864 cat >>conftest.$ac_ext <<_ACEOF
20865 /* end confdefs.h. */
20866 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20867 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20868 #define $ac_func innocuous_$ac_func
20870 /* System header to define __stub macros and hopefully few prototypes,
20871 which can conflict with char $ac_func (); below.
20872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20873 <limits.h> exists even on freestanding compilers. */
20875 #ifdef __STDC__
20876 # include <limits.h>
20877 #else
20878 # include <assert.h>
20879 #endif
20881 #undef $ac_func
20883 /* Override any gcc2 internal prototype to avoid an error. */
20884 #ifdef __cplusplus
20885 extern "C"
20887 #endif
20888 /* We use char because int might match the return type of a gcc2
20889 builtin and then its argument prototype would still apply. */
20890 char $ac_func ();
20891 /* The GNU C library defines this for functions which it implements
20892 to always fail with ENOSYS. Some functions are actually named
20893 something starting with __ and the normal name is an alias. */
20894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20895 choke me
20896 #else
20897 char (*f) () = $ac_func;
20898 #endif
20899 #ifdef __cplusplus
20901 #endif
20904 main ()
20906 return f != $ac_func;
20908 return 0;
20910 _ACEOF
20911 rm -f conftest.$ac_objext conftest$ac_exeext
20912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20913 (eval $ac_link) 2>conftest.er1
20914 ac_status=$?
20915 grep -v '^ *+' conftest.er1 >conftest.err
20916 rm -f conftest.er1
20917 cat conftest.err >&5
20918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20919 (exit $ac_status); } &&
20920 { ac_try='test -z "$ac_c_werror_flag"
20921 || test ! -s conftest.err'
20922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20923 (eval $ac_try) 2>&5
20924 ac_status=$?
20925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20926 (exit $ac_status); }; } &&
20927 { ac_try='test -s conftest$ac_exeext'
20928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20929 (eval $ac_try) 2>&5
20930 ac_status=$?
20931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20932 (exit $ac_status); }; }; then
20933 eval "$as_ac_var=yes"
20934 else
20935 echo "$as_me: failed program was:" >&5
20936 sed 's/^/| /' conftest.$ac_ext >&5
20938 eval "$as_ac_var=no"
20940 rm -f conftest.err conftest.$ac_objext \
20941 conftest$ac_exeext conftest.$ac_ext
20943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20944 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20945 if test `eval echo '${'$as_ac_var'}'` = yes; then
20946 cat >>confdefs.h <<_ACEOF
20947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20948 _ACEOF
20951 done
20953 else
20955 echo "$as_me:$LINENO: checking for _expl declaration" >&5
20956 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
20957 if test x${glibcxx_cv_func__expl_use+set} != xset; then
20958 if test "${glibcxx_cv_func__expl_use+set}" = set; then
20959 echo $ECHO_N "(cached) $ECHO_C" >&6
20960 else
20964 ac_ext=cc
20965 ac_cpp='$CXXCPP $CPPFLAGS'
20966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20970 cat >conftest.$ac_ext <<_ACEOF
20971 /* confdefs.h. */
20972 _ACEOF
20973 cat confdefs.h >>conftest.$ac_ext
20974 cat >>conftest.$ac_ext <<_ACEOF
20975 /* end confdefs.h. */
20976 #include <math.h>
20977 #ifdef HAVE_IEEEFP_H
20978 #include <ieeefp.h>
20979 #endif
20982 main ()
20984 _expl(0);
20986 return 0;
20988 _ACEOF
20989 rm -f conftest.$ac_objext
20990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20991 (eval $ac_compile) 2>conftest.er1
20992 ac_status=$?
20993 grep -v '^ *+' conftest.er1 >conftest.err
20994 rm -f conftest.er1
20995 cat conftest.err >&5
20996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20997 (exit $ac_status); } &&
20998 { ac_try='test -z "$ac_cxx_werror_flag"
20999 || test ! -s conftest.err'
21000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21001 (eval $ac_try) 2>&5
21002 ac_status=$?
21003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21004 (exit $ac_status); }; } &&
21005 { ac_try='test -s conftest.$ac_objext'
21006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21007 (eval $ac_try) 2>&5
21008 ac_status=$?
21009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21010 (exit $ac_status); }; }; then
21011 glibcxx_cv_func__expl_use=yes
21012 else
21013 echo "$as_me: failed program was:" >&5
21014 sed 's/^/| /' conftest.$ac_ext >&5
21016 glibcxx_cv_func__expl_use=no
21018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21019 ac_ext=c
21020 ac_cpp='$CPP $CPPFLAGS'
21021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21029 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
21030 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
21032 if test x$glibcxx_cv_func__expl_use = x"yes"; then
21034 for ac_func in _expl
21036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21037 echo "$as_me:$LINENO: checking for $ac_func" >&5
21038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21039 if eval "test \"\${$as_ac_var+set}\" = set"; then
21040 echo $ECHO_N "(cached) $ECHO_C" >&6
21041 else
21042 if test x$gcc_no_link = xyes; then
21043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21045 { (exit 1); exit 1; }; }
21047 cat >conftest.$ac_ext <<_ACEOF
21048 /* confdefs.h. */
21049 _ACEOF
21050 cat confdefs.h >>conftest.$ac_ext
21051 cat >>conftest.$ac_ext <<_ACEOF
21052 /* end confdefs.h. */
21053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21055 #define $ac_func innocuous_$ac_func
21057 /* System header to define __stub macros and hopefully few prototypes,
21058 which can conflict with char $ac_func (); below.
21059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21060 <limits.h> exists even on freestanding compilers. */
21062 #ifdef __STDC__
21063 # include <limits.h>
21064 #else
21065 # include <assert.h>
21066 #endif
21068 #undef $ac_func
21070 /* Override any gcc2 internal prototype to avoid an error. */
21071 #ifdef __cplusplus
21072 extern "C"
21074 #endif
21075 /* We use char because int might match the return type of a gcc2
21076 builtin and then its argument prototype would still apply. */
21077 char $ac_func ();
21078 /* The GNU C library defines this for functions which it implements
21079 to always fail with ENOSYS. Some functions are actually named
21080 something starting with __ and the normal name is an alias. */
21081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21082 choke me
21083 #else
21084 char (*f) () = $ac_func;
21085 #endif
21086 #ifdef __cplusplus
21088 #endif
21091 main ()
21093 return f != $ac_func;
21095 return 0;
21097 _ACEOF
21098 rm -f conftest.$ac_objext conftest$ac_exeext
21099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21100 (eval $ac_link) 2>conftest.er1
21101 ac_status=$?
21102 grep -v '^ *+' conftest.er1 >conftest.err
21103 rm -f conftest.er1
21104 cat conftest.err >&5
21105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21106 (exit $ac_status); } &&
21107 { ac_try='test -z "$ac_c_werror_flag"
21108 || test ! -s conftest.err'
21109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21110 (eval $ac_try) 2>&5
21111 ac_status=$?
21112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21113 (exit $ac_status); }; } &&
21114 { ac_try='test -s conftest$ac_exeext'
21115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21116 (eval $ac_try) 2>&5
21117 ac_status=$?
21118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21119 (exit $ac_status); }; }; then
21120 eval "$as_ac_var=yes"
21121 else
21122 echo "$as_me: failed program was:" >&5
21123 sed 's/^/| /' conftest.$ac_ext >&5
21125 eval "$as_ac_var=no"
21127 rm -f conftest.err conftest.$ac_objext \
21128 conftest$ac_exeext conftest.$ac_ext
21130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21132 if test `eval echo '${'$as_ac_var'}'` = yes; then
21133 cat >>confdefs.h <<_ACEOF
21134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21135 _ACEOF
21138 done
21148 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
21149 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
21150 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
21151 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
21152 echo $ECHO_N "(cached) $ECHO_C" >&6
21153 else
21157 ac_ext=cc
21158 ac_cpp='$CXXCPP $CPPFLAGS'
21159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21163 cat >conftest.$ac_ext <<_ACEOF
21164 /* confdefs.h. */
21165 _ACEOF
21166 cat confdefs.h >>conftest.$ac_ext
21167 cat >>conftest.$ac_ext <<_ACEOF
21168 /* end confdefs.h. */
21169 #include <math.h>
21170 #ifdef HAVE_IEEEFP_H
21171 #include <ieeefp.h>
21172 #endif
21175 main ()
21177 fabsl(0);
21179 return 0;
21181 _ACEOF
21182 rm -f conftest.$ac_objext
21183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21184 (eval $ac_compile) 2>conftest.er1
21185 ac_status=$?
21186 grep -v '^ *+' conftest.er1 >conftest.err
21187 rm -f conftest.er1
21188 cat conftest.err >&5
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); } &&
21191 { ac_try='test -z "$ac_cxx_werror_flag"
21192 || test ! -s conftest.err'
21193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21194 (eval $ac_try) 2>&5
21195 ac_status=$?
21196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21197 (exit $ac_status); }; } &&
21198 { ac_try='test -s conftest.$ac_objext'
21199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21200 (eval $ac_try) 2>&5
21201 ac_status=$?
21202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21203 (exit $ac_status); }; }; then
21204 glibcxx_cv_func_fabsl_use=yes
21205 else
21206 echo "$as_me: failed program was:" >&5
21207 sed 's/^/| /' conftest.$ac_ext >&5
21209 glibcxx_cv_func_fabsl_use=no
21211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21212 ac_ext=c
21213 ac_cpp='$CPP $CPPFLAGS'
21214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21222 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
21223 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
21225 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
21227 for ac_func in fabsl
21229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21230 echo "$as_me:$LINENO: checking for $ac_func" >&5
21231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21232 if eval "test \"\${$as_ac_var+set}\" = set"; then
21233 echo $ECHO_N "(cached) $ECHO_C" >&6
21234 else
21235 if test x$gcc_no_link = xyes; then
21236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21238 { (exit 1); exit 1; }; }
21240 cat >conftest.$ac_ext <<_ACEOF
21241 /* confdefs.h. */
21242 _ACEOF
21243 cat confdefs.h >>conftest.$ac_ext
21244 cat >>conftest.$ac_ext <<_ACEOF
21245 /* end confdefs.h. */
21246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21248 #define $ac_func innocuous_$ac_func
21250 /* System header to define __stub macros and hopefully few prototypes,
21251 which can conflict with char $ac_func (); below.
21252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21253 <limits.h> exists even on freestanding compilers. */
21255 #ifdef __STDC__
21256 # include <limits.h>
21257 #else
21258 # include <assert.h>
21259 #endif
21261 #undef $ac_func
21263 /* Override any gcc2 internal prototype to avoid an error. */
21264 #ifdef __cplusplus
21265 extern "C"
21267 #endif
21268 /* We use char because int might match the return type of a gcc2
21269 builtin and then its argument prototype would still apply. */
21270 char $ac_func ();
21271 /* The GNU C library defines this for functions which it implements
21272 to always fail with ENOSYS. Some functions are actually named
21273 something starting with __ and the normal name is an alias. */
21274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21275 choke me
21276 #else
21277 char (*f) () = $ac_func;
21278 #endif
21279 #ifdef __cplusplus
21281 #endif
21284 main ()
21286 return f != $ac_func;
21288 return 0;
21290 _ACEOF
21291 rm -f conftest.$ac_objext conftest$ac_exeext
21292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21293 (eval $ac_link) 2>conftest.er1
21294 ac_status=$?
21295 grep -v '^ *+' conftest.er1 >conftest.err
21296 rm -f conftest.er1
21297 cat conftest.err >&5
21298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21299 (exit $ac_status); } &&
21300 { ac_try='test -z "$ac_c_werror_flag"
21301 || test ! -s conftest.err'
21302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21303 (eval $ac_try) 2>&5
21304 ac_status=$?
21305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21306 (exit $ac_status); }; } &&
21307 { ac_try='test -s conftest$ac_exeext'
21308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21309 (eval $ac_try) 2>&5
21310 ac_status=$?
21311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21312 (exit $ac_status); }; }; then
21313 eval "$as_ac_var=yes"
21314 else
21315 echo "$as_me: failed program was:" >&5
21316 sed 's/^/| /' conftest.$ac_ext >&5
21318 eval "$as_ac_var=no"
21320 rm -f conftest.err conftest.$ac_objext \
21321 conftest$ac_exeext conftest.$ac_ext
21323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21325 if test `eval echo '${'$as_ac_var'}'` = yes; then
21326 cat >>confdefs.h <<_ACEOF
21327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21328 _ACEOF
21331 done
21333 else
21335 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
21336 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
21337 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
21338 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
21339 echo $ECHO_N "(cached) $ECHO_C" >&6
21340 else
21344 ac_ext=cc
21345 ac_cpp='$CXXCPP $CPPFLAGS'
21346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21350 cat >conftest.$ac_ext <<_ACEOF
21351 /* confdefs.h. */
21352 _ACEOF
21353 cat confdefs.h >>conftest.$ac_ext
21354 cat >>conftest.$ac_ext <<_ACEOF
21355 /* end confdefs.h. */
21356 #include <math.h>
21357 #ifdef HAVE_IEEEFP_H
21358 #include <ieeefp.h>
21359 #endif
21362 main ()
21364 _fabsl(0);
21366 return 0;
21368 _ACEOF
21369 rm -f conftest.$ac_objext
21370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21371 (eval $ac_compile) 2>conftest.er1
21372 ac_status=$?
21373 grep -v '^ *+' conftest.er1 >conftest.err
21374 rm -f conftest.er1
21375 cat conftest.err >&5
21376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21377 (exit $ac_status); } &&
21378 { ac_try='test -z "$ac_cxx_werror_flag"
21379 || test ! -s conftest.err'
21380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21381 (eval $ac_try) 2>&5
21382 ac_status=$?
21383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21384 (exit $ac_status); }; } &&
21385 { ac_try='test -s conftest.$ac_objext'
21386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21387 (eval $ac_try) 2>&5
21388 ac_status=$?
21389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21390 (exit $ac_status); }; }; then
21391 glibcxx_cv_func__fabsl_use=yes
21392 else
21393 echo "$as_me: failed program was:" >&5
21394 sed 's/^/| /' conftest.$ac_ext >&5
21396 glibcxx_cv_func__fabsl_use=no
21398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21399 ac_ext=c
21400 ac_cpp='$CPP $CPPFLAGS'
21401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21409 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
21410 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
21412 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
21414 for ac_func in _fabsl
21416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21417 echo "$as_me:$LINENO: checking for $ac_func" >&5
21418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21419 if eval "test \"\${$as_ac_var+set}\" = set"; then
21420 echo $ECHO_N "(cached) $ECHO_C" >&6
21421 else
21422 if test x$gcc_no_link = xyes; then
21423 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21425 { (exit 1); exit 1; }; }
21427 cat >conftest.$ac_ext <<_ACEOF
21428 /* confdefs.h. */
21429 _ACEOF
21430 cat confdefs.h >>conftest.$ac_ext
21431 cat >>conftest.$ac_ext <<_ACEOF
21432 /* end confdefs.h. */
21433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21435 #define $ac_func innocuous_$ac_func
21437 /* System header to define __stub macros and hopefully few prototypes,
21438 which can conflict with char $ac_func (); below.
21439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21440 <limits.h> exists even on freestanding compilers. */
21442 #ifdef __STDC__
21443 # include <limits.h>
21444 #else
21445 # include <assert.h>
21446 #endif
21448 #undef $ac_func
21450 /* Override any gcc2 internal prototype to avoid an error. */
21451 #ifdef __cplusplus
21452 extern "C"
21454 #endif
21455 /* We use char because int might match the return type of a gcc2
21456 builtin and then its argument prototype would still apply. */
21457 char $ac_func ();
21458 /* The GNU C library defines this for functions which it implements
21459 to always fail with ENOSYS. Some functions are actually named
21460 something starting with __ and the normal name is an alias. */
21461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21462 choke me
21463 #else
21464 char (*f) () = $ac_func;
21465 #endif
21466 #ifdef __cplusplus
21468 #endif
21471 main ()
21473 return f != $ac_func;
21475 return 0;
21477 _ACEOF
21478 rm -f conftest.$ac_objext conftest$ac_exeext
21479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21480 (eval $ac_link) 2>conftest.er1
21481 ac_status=$?
21482 grep -v '^ *+' conftest.er1 >conftest.err
21483 rm -f conftest.er1
21484 cat conftest.err >&5
21485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21486 (exit $ac_status); } &&
21487 { ac_try='test -z "$ac_c_werror_flag"
21488 || test ! -s conftest.err'
21489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21490 (eval $ac_try) 2>&5
21491 ac_status=$?
21492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21493 (exit $ac_status); }; } &&
21494 { ac_try='test -s conftest$ac_exeext'
21495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21496 (eval $ac_try) 2>&5
21497 ac_status=$?
21498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21499 (exit $ac_status); }; }; then
21500 eval "$as_ac_var=yes"
21501 else
21502 echo "$as_me: failed program was:" >&5
21503 sed 's/^/| /' conftest.$ac_ext >&5
21505 eval "$as_ac_var=no"
21507 rm -f conftest.err conftest.$ac_objext \
21508 conftest$ac_exeext conftest.$ac_ext
21510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21512 if test `eval echo '${'$as_ac_var'}'` = yes; then
21513 cat >>confdefs.h <<_ACEOF
21514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21515 _ACEOF
21518 done
21528 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
21529 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
21530 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
21531 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
21532 echo $ECHO_N "(cached) $ECHO_C" >&6
21533 else
21537 ac_ext=cc
21538 ac_cpp='$CXXCPP $CPPFLAGS'
21539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21543 cat >conftest.$ac_ext <<_ACEOF
21544 /* confdefs.h. */
21545 _ACEOF
21546 cat confdefs.h >>conftest.$ac_ext
21547 cat >>conftest.$ac_ext <<_ACEOF
21548 /* end confdefs.h. */
21549 #include <math.h>
21551 main ()
21553 fmodl(0, 0);
21555 return 0;
21557 _ACEOF
21558 rm -f conftest.$ac_objext
21559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21560 (eval $ac_compile) 2>conftest.er1
21561 ac_status=$?
21562 grep -v '^ *+' conftest.er1 >conftest.err
21563 rm -f conftest.er1
21564 cat conftest.err >&5
21565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21566 (exit $ac_status); } &&
21567 { ac_try='test -z "$ac_cxx_werror_flag"
21568 || test ! -s conftest.err'
21569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21570 (eval $ac_try) 2>&5
21571 ac_status=$?
21572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21573 (exit $ac_status); }; } &&
21574 { ac_try='test -s conftest.$ac_objext'
21575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21576 (eval $ac_try) 2>&5
21577 ac_status=$?
21578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21579 (exit $ac_status); }; }; then
21580 glibcxx_cv_func_fmodl_use=yes
21581 else
21582 echo "$as_me: failed program was:" >&5
21583 sed 's/^/| /' conftest.$ac_ext >&5
21585 glibcxx_cv_func_fmodl_use=no
21587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21588 ac_ext=c
21589 ac_cpp='$CPP $CPPFLAGS'
21590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21598 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
21599 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
21601 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
21603 for ac_func in fmodl
21605 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21606 echo "$as_me:$LINENO: checking for $ac_func" >&5
21607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21608 if eval "test \"\${$as_ac_var+set}\" = set"; then
21609 echo $ECHO_N "(cached) $ECHO_C" >&6
21610 else
21611 if test x$gcc_no_link = xyes; then
21612 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21614 { (exit 1); exit 1; }; }
21616 cat >conftest.$ac_ext <<_ACEOF
21617 /* confdefs.h. */
21618 _ACEOF
21619 cat confdefs.h >>conftest.$ac_ext
21620 cat >>conftest.$ac_ext <<_ACEOF
21621 /* end confdefs.h. */
21622 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21623 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21624 #define $ac_func innocuous_$ac_func
21626 /* System header to define __stub macros and hopefully few prototypes,
21627 which can conflict with char $ac_func (); below.
21628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21629 <limits.h> exists even on freestanding compilers. */
21631 #ifdef __STDC__
21632 # include <limits.h>
21633 #else
21634 # include <assert.h>
21635 #endif
21637 #undef $ac_func
21639 /* Override any gcc2 internal prototype to avoid an error. */
21640 #ifdef __cplusplus
21641 extern "C"
21643 #endif
21644 /* We use char because int might match the return type of a gcc2
21645 builtin and then its argument prototype would still apply. */
21646 char $ac_func ();
21647 /* The GNU C library defines this for functions which it implements
21648 to always fail with ENOSYS. Some functions are actually named
21649 something starting with __ and the normal name is an alias. */
21650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21651 choke me
21652 #else
21653 char (*f) () = $ac_func;
21654 #endif
21655 #ifdef __cplusplus
21657 #endif
21660 main ()
21662 return f != $ac_func;
21664 return 0;
21666 _ACEOF
21667 rm -f conftest.$ac_objext conftest$ac_exeext
21668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21669 (eval $ac_link) 2>conftest.er1
21670 ac_status=$?
21671 grep -v '^ *+' conftest.er1 >conftest.err
21672 rm -f conftest.er1
21673 cat conftest.err >&5
21674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21675 (exit $ac_status); } &&
21676 { ac_try='test -z "$ac_c_werror_flag"
21677 || test ! -s conftest.err'
21678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21679 (eval $ac_try) 2>&5
21680 ac_status=$?
21681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21682 (exit $ac_status); }; } &&
21683 { ac_try='test -s conftest$ac_exeext'
21684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21685 (eval $ac_try) 2>&5
21686 ac_status=$?
21687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21688 (exit $ac_status); }; }; then
21689 eval "$as_ac_var=yes"
21690 else
21691 echo "$as_me: failed program was:" >&5
21692 sed 's/^/| /' conftest.$ac_ext >&5
21694 eval "$as_ac_var=no"
21696 rm -f conftest.err conftest.$ac_objext \
21697 conftest$ac_exeext conftest.$ac_ext
21699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21700 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21701 if test `eval echo '${'$as_ac_var'}'` = yes; then
21702 cat >>confdefs.h <<_ACEOF
21703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21704 _ACEOF
21707 done
21709 else
21711 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
21712 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
21713 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
21714 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
21715 echo $ECHO_N "(cached) $ECHO_C" >&6
21716 else
21720 ac_ext=cc
21721 ac_cpp='$CXXCPP $CPPFLAGS'
21722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21726 cat >conftest.$ac_ext <<_ACEOF
21727 /* confdefs.h. */
21728 _ACEOF
21729 cat confdefs.h >>conftest.$ac_ext
21730 cat >>conftest.$ac_ext <<_ACEOF
21731 /* end confdefs.h. */
21732 #include <math.h>
21734 main ()
21736 _fmodl(0, 0);
21738 return 0;
21740 _ACEOF
21741 rm -f conftest.$ac_objext
21742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21743 (eval $ac_compile) 2>conftest.er1
21744 ac_status=$?
21745 grep -v '^ *+' conftest.er1 >conftest.err
21746 rm -f conftest.er1
21747 cat conftest.err >&5
21748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21749 (exit $ac_status); } &&
21750 { ac_try='test -z "$ac_cxx_werror_flag"
21751 || test ! -s conftest.err'
21752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21753 (eval $ac_try) 2>&5
21754 ac_status=$?
21755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21756 (exit $ac_status); }; } &&
21757 { ac_try='test -s conftest.$ac_objext'
21758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21759 (eval $ac_try) 2>&5
21760 ac_status=$?
21761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21762 (exit $ac_status); }; }; then
21763 glibcxx_cv_func__fmodl_use=yes
21764 else
21765 echo "$as_me: failed program was:" >&5
21766 sed 's/^/| /' conftest.$ac_ext >&5
21768 glibcxx_cv_func__fmodl_use=no
21770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21771 ac_ext=c
21772 ac_cpp='$CPP $CPPFLAGS'
21773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21781 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
21782 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
21784 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
21786 for ac_func in _fmodl
21788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21789 echo "$as_me:$LINENO: checking for $ac_func" >&5
21790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21791 if eval "test \"\${$as_ac_var+set}\" = set"; then
21792 echo $ECHO_N "(cached) $ECHO_C" >&6
21793 else
21794 if test x$gcc_no_link = xyes; then
21795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21797 { (exit 1); exit 1; }; }
21799 cat >conftest.$ac_ext <<_ACEOF
21800 /* confdefs.h. */
21801 _ACEOF
21802 cat confdefs.h >>conftest.$ac_ext
21803 cat >>conftest.$ac_ext <<_ACEOF
21804 /* end confdefs.h. */
21805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21807 #define $ac_func innocuous_$ac_func
21809 /* System header to define __stub macros and hopefully few prototypes,
21810 which can conflict with char $ac_func (); below.
21811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21812 <limits.h> exists even on freestanding compilers. */
21814 #ifdef __STDC__
21815 # include <limits.h>
21816 #else
21817 # include <assert.h>
21818 #endif
21820 #undef $ac_func
21822 /* Override any gcc2 internal prototype to avoid an error. */
21823 #ifdef __cplusplus
21824 extern "C"
21826 #endif
21827 /* We use char because int might match the return type of a gcc2
21828 builtin and then its argument prototype would still apply. */
21829 char $ac_func ();
21830 /* The GNU C library defines this for functions which it implements
21831 to always fail with ENOSYS. Some functions are actually named
21832 something starting with __ and the normal name is an alias. */
21833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21834 choke me
21835 #else
21836 char (*f) () = $ac_func;
21837 #endif
21838 #ifdef __cplusplus
21840 #endif
21843 main ()
21845 return f != $ac_func;
21847 return 0;
21849 _ACEOF
21850 rm -f conftest.$ac_objext conftest$ac_exeext
21851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21852 (eval $ac_link) 2>conftest.er1
21853 ac_status=$?
21854 grep -v '^ *+' conftest.er1 >conftest.err
21855 rm -f conftest.er1
21856 cat conftest.err >&5
21857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21858 (exit $ac_status); } &&
21859 { ac_try='test -z "$ac_c_werror_flag"
21860 || test ! -s conftest.err'
21861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21862 (eval $ac_try) 2>&5
21863 ac_status=$?
21864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21865 (exit $ac_status); }; } &&
21866 { ac_try='test -s conftest$ac_exeext'
21867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21868 (eval $ac_try) 2>&5
21869 ac_status=$?
21870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21871 (exit $ac_status); }; }; then
21872 eval "$as_ac_var=yes"
21873 else
21874 echo "$as_me: failed program was:" >&5
21875 sed 's/^/| /' conftest.$ac_ext >&5
21877 eval "$as_ac_var=no"
21879 rm -f conftest.err conftest.$ac_objext \
21880 conftest$ac_exeext conftest.$ac_ext
21882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21884 if test `eval echo '${'$as_ac_var'}'` = yes; then
21885 cat >>confdefs.h <<_ACEOF
21886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21887 _ACEOF
21890 done
21900 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
21901 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
21902 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
21903 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
21904 echo $ECHO_N "(cached) $ECHO_C" >&6
21905 else
21909 ac_ext=cc
21910 ac_cpp='$CXXCPP $CPPFLAGS'
21911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21915 cat >conftest.$ac_ext <<_ACEOF
21916 /* confdefs.h. */
21917 _ACEOF
21918 cat confdefs.h >>conftest.$ac_ext
21919 cat >>conftest.$ac_ext <<_ACEOF
21920 /* end confdefs.h. */
21921 #include <math.h>
21923 main ()
21925 frexpl(0, 0);
21927 return 0;
21929 _ACEOF
21930 rm -f conftest.$ac_objext
21931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21932 (eval $ac_compile) 2>conftest.er1
21933 ac_status=$?
21934 grep -v '^ *+' conftest.er1 >conftest.err
21935 rm -f conftest.er1
21936 cat conftest.err >&5
21937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21938 (exit $ac_status); } &&
21939 { ac_try='test -z "$ac_cxx_werror_flag"
21940 || test ! -s conftest.err'
21941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21942 (eval $ac_try) 2>&5
21943 ac_status=$?
21944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21945 (exit $ac_status); }; } &&
21946 { ac_try='test -s conftest.$ac_objext'
21947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21948 (eval $ac_try) 2>&5
21949 ac_status=$?
21950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21951 (exit $ac_status); }; }; then
21952 glibcxx_cv_func_frexpl_use=yes
21953 else
21954 echo "$as_me: failed program was:" >&5
21955 sed 's/^/| /' conftest.$ac_ext >&5
21957 glibcxx_cv_func_frexpl_use=no
21959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21960 ac_ext=c
21961 ac_cpp='$CPP $CPPFLAGS'
21962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21970 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
21971 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
21973 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
21975 for ac_func in frexpl
21977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21978 echo "$as_me:$LINENO: checking for $ac_func" >&5
21979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21980 if eval "test \"\${$as_ac_var+set}\" = set"; then
21981 echo $ECHO_N "(cached) $ECHO_C" >&6
21982 else
21983 if test x$gcc_no_link = xyes; then
21984 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21986 { (exit 1); exit 1; }; }
21988 cat >conftest.$ac_ext <<_ACEOF
21989 /* confdefs.h. */
21990 _ACEOF
21991 cat confdefs.h >>conftest.$ac_ext
21992 cat >>conftest.$ac_ext <<_ACEOF
21993 /* end confdefs.h. */
21994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21996 #define $ac_func innocuous_$ac_func
21998 /* System header to define __stub macros and hopefully few prototypes,
21999 which can conflict with char $ac_func (); below.
22000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22001 <limits.h> exists even on freestanding compilers. */
22003 #ifdef __STDC__
22004 # include <limits.h>
22005 #else
22006 # include <assert.h>
22007 #endif
22009 #undef $ac_func
22011 /* Override any gcc2 internal prototype to avoid an error. */
22012 #ifdef __cplusplus
22013 extern "C"
22015 #endif
22016 /* We use char because int might match the return type of a gcc2
22017 builtin and then its argument prototype would still apply. */
22018 char $ac_func ();
22019 /* The GNU C library defines this for functions which it implements
22020 to always fail with ENOSYS. Some functions are actually named
22021 something starting with __ and the normal name is an alias. */
22022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22023 choke me
22024 #else
22025 char (*f) () = $ac_func;
22026 #endif
22027 #ifdef __cplusplus
22029 #endif
22032 main ()
22034 return f != $ac_func;
22036 return 0;
22038 _ACEOF
22039 rm -f conftest.$ac_objext conftest$ac_exeext
22040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22041 (eval $ac_link) 2>conftest.er1
22042 ac_status=$?
22043 grep -v '^ *+' conftest.er1 >conftest.err
22044 rm -f conftest.er1
22045 cat conftest.err >&5
22046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22047 (exit $ac_status); } &&
22048 { ac_try='test -z "$ac_c_werror_flag"
22049 || test ! -s conftest.err'
22050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22051 (eval $ac_try) 2>&5
22052 ac_status=$?
22053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22054 (exit $ac_status); }; } &&
22055 { ac_try='test -s conftest$ac_exeext'
22056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22057 (eval $ac_try) 2>&5
22058 ac_status=$?
22059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22060 (exit $ac_status); }; }; then
22061 eval "$as_ac_var=yes"
22062 else
22063 echo "$as_me: failed program was:" >&5
22064 sed 's/^/| /' conftest.$ac_ext >&5
22066 eval "$as_ac_var=no"
22068 rm -f conftest.err conftest.$ac_objext \
22069 conftest$ac_exeext conftest.$ac_ext
22071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22073 if test `eval echo '${'$as_ac_var'}'` = yes; then
22074 cat >>confdefs.h <<_ACEOF
22075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22076 _ACEOF
22079 done
22081 else
22083 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
22084 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
22085 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
22086 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
22087 echo $ECHO_N "(cached) $ECHO_C" >&6
22088 else
22092 ac_ext=cc
22093 ac_cpp='$CXXCPP $CPPFLAGS'
22094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22098 cat >conftest.$ac_ext <<_ACEOF
22099 /* confdefs.h. */
22100 _ACEOF
22101 cat confdefs.h >>conftest.$ac_ext
22102 cat >>conftest.$ac_ext <<_ACEOF
22103 /* end confdefs.h. */
22104 #include <math.h>
22106 main ()
22108 _frexpl(0, 0);
22110 return 0;
22112 _ACEOF
22113 rm -f conftest.$ac_objext
22114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22115 (eval $ac_compile) 2>conftest.er1
22116 ac_status=$?
22117 grep -v '^ *+' conftest.er1 >conftest.err
22118 rm -f conftest.er1
22119 cat conftest.err >&5
22120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22121 (exit $ac_status); } &&
22122 { ac_try='test -z "$ac_cxx_werror_flag"
22123 || test ! -s conftest.err'
22124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22125 (eval $ac_try) 2>&5
22126 ac_status=$?
22127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22128 (exit $ac_status); }; } &&
22129 { ac_try='test -s conftest.$ac_objext'
22130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22131 (eval $ac_try) 2>&5
22132 ac_status=$?
22133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22134 (exit $ac_status); }; }; then
22135 glibcxx_cv_func__frexpl_use=yes
22136 else
22137 echo "$as_me: failed program was:" >&5
22138 sed 's/^/| /' conftest.$ac_ext >&5
22140 glibcxx_cv_func__frexpl_use=no
22142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22143 ac_ext=c
22144 ac_cpp='$CPP $CPPFLAGS'
22145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22153 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
22154 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
22156 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
22158 for ac_func in _frexpl
22160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22161 echo "$as_me:$LINENO: checking for $ac_func" >&5
22162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22163 if eval "test \"\${$as_ac_var+set}\" = set"; then
22164 echo $ECHO_N "(cached) $ECHO_C" >&6
22165 else
22166 if test x$gcc_no_link = xyes; then
22167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22169 { (exit 1); exit 1; }; }
22171 cat >conftest.$ac_ext <<_ACEOF
22172 /* confdefs.h. */
22173 _ACEOF
22174 cat confdefs.h >>conftest.$ac_ext
22175 cat >>conftest.$ac_ext <<_ACEOF
22176 /* end confdefs.h. */
22177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22179 #define $ac_func innocuous_$ac_func
22181 /* System header to define __stub macros and hopefully few prototypes,
22182 which can conflict with char $ac_func (); below.
22183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22184 <limits.h> exists even on freestanding compilers. */
22186 #ifdef __STDC__
22187 # include <limits.h>
22188 #else
22189 # include <assert.h>
22190 #endif
22192 #undef $ac_func
22194 /* Override any gcc2 internal prototype to avoid an error. */
22195 #ifdef __cplusplus
22196 extern "C"
22198 #endif
22199 /* We use char because int might match the return type of a gcc2
22200 builtin and then its argument prototype would still apply. */
22201 char $ac_func ();
22202 /* The GNU C library defines this for functions which it implements
22203 to always fail with ENOSYS. Some functions are actually named
22204 something starting with __ and the normal name is an alias. */
22205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22206 choke me
22207 #else
22208 char (*f) () = $ac_func;
22209 #endif
22210 #ifdef __cplusplus
22212 #endif
22215 main ()
22217 return f != $ac_func;
22219 return 0;
22221 _ACEOF
22222 rm -f conftest.$ac_objext conftest$ac_exeext
22223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22224 (eval $ac_link) 2>conftest.er1
22225 ac_status=$?
22226 grep -v '^ *+' conftest.er1 >conftest.err
22227 rm -f conftest.er1
22228 cat conftest.err >&5
22229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22230 (exit $ac_status); } &&
22231 { ac_try='test -z "$ac_c_werror_flag"
22232 || test ! -s conftest.err'
22233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22234 (eval $ac_try) 2>&5
22235 ac_status=$?
22236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22237 (exit $ac_status); }; } &&
22238 { ac_try='test -s conftest$ac_exeext'
22239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22240 (eval $ac_try) 2>&5
22241 ac_status=$?
22242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22243 (exit $ac_status); }; }; then
22244 eval "$as_ac_var=yes"
22245 else
22246 echo "$as_me: failed program was:" >&5
22247 sed 's/^/| /' conftest.$ac_ext >&5
22249 eval "$as_ac_var=no"
22251 rm -f conftest.err conftest.$ac_objext \
22252 conftest$ac_exeext conftest.$ac_ext
22254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22256 if test `eval echo '${'$as_ac_var'}'` = yes; then
22257 cat >>confdefs.h <<_ACEOF
22258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22259 _ACEOF
22262 done
22272 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
22273 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
22274 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
22275 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
22276 echo $ECHO_N "(cached) $ECHO_C" >&6
22277 else
22281 ac_ext=cc
22282 ac_cpp='$CXXCPP $CPPFLAGS'
22283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22287 cat >conftest.$ac_ext <<_ACEOF
22288 /* confdefs.h. */
22289 _ACEOF
22290 cat confdefs.h >>conftest.$ac_ext
22291 cat >>conftest.$ac_ext <<_ACEOF
22292 /* end confdefs.h. */
22293 #include <math.h>
22295 main ()
22297 hypotl(0, 0);
22299 return 0;
22301 _ACEOF
22302 rm -f conftest.$ac_objext
22303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22304 (eval $ac_compile) 2>conftest.er1
22305 ac_status=$?
22306 grep -v '^ *+' conftest.er1 >conftest.err
22307 rm -f conftest.er1
22308 cat conftest.err >&5
22309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22310 (exit $ac_status); } &&
22311 { ac_try='test -z "$ac_cxx_werror_flag"
22312 || test ! -s conftest.err'
22313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22314 (eval $ac_try) 2>&5
22315 ac_status=$?
22316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22317 (exit $ac_status); }; } &&
22318 { ac_try='test -s conftest.$ac_objext'
22319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22320 (eval $ac_try) 2>&5
22321 ac_status=$?
22322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22323 (exit $ac_status); }; }; then
22324 glibcxx_cv_func_hypotl_use=yes
22325 else
22326 echo "$as_me: failed program was:" >&5
22327 sed 's/^/| /' conftest.$ac_ext >&5
22329 glibcxx_cv_func_hypotl_use=no
22331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22332 ac_ext=c
22333 ac_cpp='$CPP $CPPFLAGS'
22334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22342 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
22343 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
22345 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
22347 for ac_func in hypotl
22349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22350 echo "$as_me:$LINENO: checking for $ac_func" >&5
22351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22352 if eval "test \"\${$as_ac_var+set}\" = set"; then
22353 echo $ECHO_N "(cached) $ECHO_C" >&6
22354 else
22355 if test x$gcc_no_link = xyes; then
22356 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22358 { (exit 1); exit 1; }; }
22360 cat >conftest.$ac_ext <<_ACEOF
22361 /* confdefs.h. */
22362 _ACEOF
22363 cat confdefs.h >>conftest.$ac_ext
22364 cat >>conftest.$ac_ext <<_ACEOF
22365 /* end confdefs.h. */
22366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22368 #define $ac_func innocuous_$ac_func
22370 /* System header to define __stub macros and hopefully few prototypes,
22371 which can conflict with char $ac_func (); below.
22372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22373 <limits.h> exists even on freestanding compilers. */
22375 #ifdef __STDC__
22376 # include <limits.h>
22377 #else
22378 # include <assert.h>
22379 #endif
22381 #undef $ac_func
22383 /* Override any gcc2 internal prototype to avoid an error. */
22384 #ifdef __cplusplus
22385 extern "C"
22387 #endif
22388 /* We use char because int might match the return type of a gcc2
22389 builtin and then its argument prototype would still apply. */
22390 char $ac_func ();
22391 /* The GNU C library defines this for functions which it implements
22392 to always fail with ENOSYS. Some functions are actually named
22393 something starting with __ and the normal name is an alias. */
22394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22395 choke me
22396 #else
22397 char (*f) () = $ac_func;
22398 #endif
22399 #ifdef __cplusplus
22401 #endif
22404 main ()
22406 return f != $ac_func;
22408 return 0;
22410 _ACEOF
22411 rm -f conftest.$ac_objext conftest$ac_exeext
22412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22413 (eval $ac_link) 2>conftest.er1
22414 ac_status=$?
22415 grep -v '^ *+' conftest.er1 >conftest.err
22416 rm -f conftest.er1
22417 cat conftest.err >&5
22418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22419 (exit $ac_status); } &&
22420 { ac_try='test -z "$ac_c_werror_flag"
22421 || test ! -s conftest.err'
22422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22423 (eval $ac_try) 2>&5
22424 ac_status=$?
22425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22426 (exit $ac_status); }; } &&
22427 { ac_try='test -s conftest$ac_exeext'
22428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22429 (eval $ac_try) 2>&5
22430 ac_status=$?
22431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22432 (exit $ac_status); }; }; then
22433 eval "$as_ac_var=yes"
22434 else
22435 echo "$as_me: failed program was:" >&5
22436 sed 's/^/| /' conftest.$ac_ext >&5
22438 eval "$as_ac_var=no"
22440 rm -f conftest.err conftest.$ac_objext \
22441 conftest$ac_exeext conftest.$ac_ext
22443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22445 if test `eval echo '${'$as_ac_var'}'` = yes; then
22446 cat >>confdefs.h <<_ACEOF
22447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22448 _ACEOF
22451 done
22453 else
22455 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
22456 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
22457 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
22458 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
22459 echo $ECHO_N "(cached) $ECHO_C" >&6
22460 else
22464 ac_ext=cc
22465 ac_cpp='$CXXCPP $CPPFLAGS'
22466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22470 cat >conftest.$ac_ext <<_ACEOF
22471 /* confdefs.h. */
22472 _ACEOF
22473 cat confdefs.h >>conftest.$ac_ext
22474 cat >>conftest.$ac_ext <<_ACEOF
22475 /* end confdefs.h. */
22476 #include <math.h>
22478 main ()
22480 _hypotl(0, 0);
22482 return 0;
22484 _ACEOF
22485 rm -f conftest.$ac_objext
22486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22487 (eval $ac_compile) 2>conftest.er1
22488 ac_status=$?
22489 grep -v '^ *+' conftest.er1 >conftest.err
22490 rm -f conftest.er1
22491 cat conftest.err >&5
22492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22493 (exit $ac_status); } &&
22494 { ac_try='test -z "$ac_cxx_werror_flag"
22495 || test ! -s conftest.err'
22496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22497 (eval $ac_try) 2>&5
22498 ac_status=$?
22499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22500 (exit $ac_status); }; } &&
22501 { ac_try='test -s conftest.$ac_objext'
22502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22503 (eval $ac_try) 2>&5
22504 ac_status=$?
22505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22506 (exit $ac_status); }; }; then
22507 glibcxx_cv_func__hypotl_use=yes
22508 else
22509 echo "$as_me: failed program was:" >&5
22510 sed 's/^/| /' conftest.$ac_ext >&5
22512 glibcxx_cv_func__hypotl_use=no
22514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22515 ac_ext=c
22516 ac_cpp='$CPP $CPPFLAGS'
22517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22525 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
22526 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
22528 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
22530 for ac_func in _hypotl
22532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22533 echo "$as_me:$LINENO: checking for $ac_func" >&5
22534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22535 if eval "test \"\${$as_ac_var+set}\" = set"; then
22536 echo $ECHO_N "(cached) $ECHO_C" >&6
22537 else
22538 if test x$gcc_no_link = xyes; then
22539 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22541 { (exit 1); exit 1; }; }
22543 cat >conftest.$ac_ext <<_ACEOF
22544 /* confdefs.h. */
22545 _ACEOF
22546 cat confdefs.h >>conftest.$ac_ext
22547 cat >>conftest.$ac_ext <<_ACEOF
22548 /* end confdefs.h. */
22549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22550 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22551 #define $ac_func innocuous_$ac_func
22553 /* System header to define __stub macros and hopefully few prototypes,
22554 which can conflict with char $ac_func (); below.
22555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22556 <limits.h> exists even on freestanding compilers. */
22558 #ifdef __STDC__
22559 # include <limits.h>
22560 #else
22561 # include <assert.h>
22562 #endif
22564 #undef $ac_func
22566 /* Override any gcc2 internal prototype to avoid an error. */
22567 #ifdef __cplusplus
22568 extern "C"
22570 #endif
22571 /* We use char because int might match the return type of a gcc2
22572 builtin and then its argument prototype would still apply. */
22573 char $ac_func ();
22574 /* The GNU C library defines this for functions which it implements
22575 to always fail with ENOSYS. Some functions are actually named
22576 something starting with __ and the normal name is an alias. */
22577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22578 choke me
22579 #else
22580 char (*f) () = $ac_func;
22581 #endif
22582 #ifdef __cplusplus
22584 #endif
22587 main ()
22589 return f != $ac_func;
22591 return 0;
22593 _ACEOF
22594 rm -f conftest.$ac_objext conftest$ac_exeext
22595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22596 (eval $ac_link) 2>conftest.er1
22597 ac_status=$?
22598 grep -v '^ *+' conftest.er1 >conftest.err
22599 rm -f conftest.er1
22600 cat conftest.err >&5
22601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22602 (exit $ac_status); } &&
22603 { ac_try='test -z "$ac_c_werror_flag"
22604 || test ! -s conftest.err'
22605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22606 (eval $ac_try) 2>&5
22607 ac_status=$?
22608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22609 (exit $ac_status); }; } &&
22610 { ac_try='test -s conftest$ac_exeext'
22611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22612 (eval $ac_try) 2>&5
22613 ac_status=$?
22614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22615 (exit $ac_status); }; }; then
22616 eval "$as_ac_var=yes"
22617 else
22618 echo "$as_me: failed program was:" >&5
22619 sed 's/^/| /' conftest.$ac_ext >&5
22621 eval "$as_ac_var=no"
22623 rm -f conftest.err conftest.$ac_objext \
22624 conftest$ac_exeext conftest.$ac_ext
22626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22628 if test `eval echo '${'$as_ac_var'}'` = yes; then
22629 cat >>confdefs.h <<_ACEOF
22630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22631 _ACEOF
22634 done
22644 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
22645 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
22646 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
22647 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
22648 echo $ECHO_N "(cached) $ECHO_C" >&6
22649 else
22653 ac_ext=cc
22654 ac_cpp='$CXXCPP $CPPFLAGS'
22655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22659 cat >conftest.$ac_ext <<_ACEOF
22660 /* confdefs.h. */
22661 _ACEOF
22662 cat confdefs.h >>conftest.$ac_ext
22663 cat >>conftest.$ac_ext <<_ACEOF
22664 /* end confdefs.h. */
22665 #include <math.h>
22667 main ()
22669 ldexpl(0, 0);
22671 return 0;
22673 _ACEOF
22674 rm -f conftest.$ac_objext
22675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22676 (eval $ac_compile) 2>conftest.er1
22677 ac_status=$?
22678 grep -v '^ *+' conftest.er1 >conftest.err
22679 rm -f conftest.er1
22680 cat conftest.err >&5
22681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22682 (exit $ac_status); } &&
22683 { ac_try='test -z "$ac_cxx_werror_flag"
22684 || test ! -s conftest.err'
22685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22686 (eval $ac_try) 2>&5
22687 ac_status=$?
22688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22689 (exit $ac_status); }; } &&
22690 { ac_try='test -s conftest.$ac_objext'
22691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22692 (eval $ac_try) 2>&5
22693 ac_status=$?
22694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22695 (exit $ac_status); }; }; then
22696 glibcxx_cv_func_ldexpl_use=yes
22697 else
22698 echo "$as_me: failed program was:" >&5
22699 sed 's/^/| /' conftest.$ac_ext >&5
22701 glibcxx_cv_func_ldexpl_use=no
22703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22704 ac_ext=c
22705 ac_cpp='$CPP $CPPFLAGS'
22706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22714 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
22715 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
22717 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
22719 for ac_func in ldexpl
22721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22722 echo "$as_me:$LINENO: checking for $ac_func" >&5
22723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22724 if eval "test \"\${$as_ac_var+set}\" = set"; then
22725 echo $ECHO_N "(cached) $ECHO_C" >&6
22726 else
22727 if test x$gcc_no_link = xyes; then
22728 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22730 { (exit 1); exit 1; }; }
22732 cat >conftest.$ac_ext <<_ACEOF
22733 /* confdefs.h. */
22734 _ACEOF
22735 cat confdefs.h >>conftest.$ac_ext
22736 cat >>conftest.$ac_ext <<_ACEOF
22737 /* end confdefs.h. */
22738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22740 #define $ac_func innocuous_$ac_func
22742 /* System header to define __stub macros and hopefully few prototypes,
22743 which can conflict with char $ac_func (); below.
22744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22745 <limits.h> exists even on freestanding compilers. */
22747 #ifdef __STDC__
22748 # include <limits.h>
22749 #else
22750 # include <assert.h>
22751 #endif
22753 #undef $ac_func
22755 /* Override any gcc2 internal prototype to avoid an error. */
22756 #ifdef __cplusplus
22757 extern "C"
22759 #endif
22760 /* We use char because int might match the return type of a gcc2
22761 builtin and then its argument prototype would still apply. */
22762 char $ac_func ();
22763 /* The GNU C library defines this for functions which it implements
22764 to always fail with ENOSYS. Some functions are actually named
22765 something starting with __ and the normal name is an alias. */
22766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22767 choke me
22768 #else
22769 char (*f) () = $ac_func;
22770 #endif
22771 #ifdef __cplusplus
22773 #endif
22776 main ()
22778 return f != $ac_func;
22780 return 0;
22782 _ACEOF
22783 rm -f conftest.$ac_objext conftest$ac_exeext
22784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22785 (eval $ac_link) 2>conftest.er1
22786 ac_status=$?
22787 grep -v '^ *+' conftest.er1 >conftest.err
22788 rm -f conftest.er1
22789 cat conftest.err >&5
22790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22791 (exit $ac_status); } &&
22792 { ac_try='test -z "$ac_c_werror_flag"
22793 || test ! -s conftest.err'
22794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22795 (eval $ac_try) 2>&5
22796 ac_status=$?
22797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22798 (exit $ac_status); }; } &&
22799 { ac_try='test -s conftest$ac_exeext'
22800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22801 (eval $ac_try) 2>&5
22802 ac_status=$?
22803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22804 (exit $ac_status); }; }; then
22805 eval "$as_ac_var=yes"
22806 else
22807 echo "$as_me: failed program was:" >&5
22808 sed 's/^/| /' conftest.$ac_ext >&5
22810 eval "$as_ac_var=no"
22812 rm -f conftest.err conftest.$ac_objext \
22813 conftest$ac_exeext conftest.$ac_ext
22815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22816 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22817 if test `eval echo '${'$as_ac_var'}'` = yes; then
22818 cat >>confdefs.h <<_ACEOF
22819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22820 _ACEOF
22823 done
22825 else
22827 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
22828 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
22829 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
22830 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
22831 echo $ECHO_N "(cached) $ECHO_C" >&6
22832 else
22836 ac_ext=cc
22837 ac_cpp='$CXXCPP $CPPFLAGS'
22838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22842 cat >conftest.$ac_ext <<_ACEOF
22843 /* confdefs.h. */
22844 _ACEOF
22845 cat confdefs.h >>conftest.$ac_ext
22846 cat >>conftest.$ac_ext <<_ACEOF
22847 /* end confdefs.h. */
22848 #include <math.h>
22850 main ()
22852 _ldexpl(0, 0);
22854 return 0;
22856 _ACEOF
22857 rm -f conftest.$ac_objext
22858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22859 (eval $ac_compile) 2>conftest.er1
22860 ac_status=$?
22861 grep -v '^ *+' conftest.er1 >conftest.err
22862 rm -f conftest.er1
22863 cat conftest.err >&5
22864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22865 (exit $ac_status); } &&
22866 { ac_try='test -z "$ac_cxx_werror_flag"
22867 || test ! -s conftest.err'
22868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22869 (eval $ac_try) 2>&5
22870 ac_status=$?
22871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22872 (exit $ac_status); }; } &&
22873 { ac_try='test -s conftest.$ac_objext'
22874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22875 (eval $ac_try) 2>&5
22876 ac_status=$?
22877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22878 (exit $ac_status); }; }; then
22879 glibcxx_cv_func__ldexpl_use=yes
22880 else
22881 echo "$as_me: failed program was:" >&5
22882 sed 's/^/| /' conftest.$ac_ext >&5
22884 glibcxx_cv_func__ldexpl_use=no
22886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22887 ac_ext=c
22888 ac_cpp='$CPP $CPPFLAGS'
22889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22897 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
22898 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
22900 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
22902 for ac_func in _ldexpl
22904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22905 echo "$as_me:$LINENO: checking for $ac_func" >&5
22906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22907 if eval "test \"\${$as_ac_var+set}\" = set"; then
22908 echo $ECHO_N "(cached) $ECHO_C" >&6
22909 else
22910 if test x$gcc_no_link = xyes; then
22911 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22913 { (exit 1); exit 1; }; }
22915 cat >conftest.$ac_ext <<_ACEOF
22916 /* confdefs.h. */
22917 _ACEOF
22918 cat confdefs.h >>conftest.$ac_ext
22919 cat >>conftest.$ac_ext <<_ACEOF
22920 /* end confdefs.h. */
22921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22923 #define $ac_func innocuous_$ac_func
22925 /* System header to define __stub macros and hopefully few prototypes,
22926 which can conflict with char $ac_func (); below.
22927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22928 <limits.h> exists even on freestanding compilers. */
22930 #ifdef __STDC__
22931 # include <limits.h>
22932 #else
22933 # include <assert.h>
22934 #endif
22936 #undef $ac_func
22938 /* Override any gcc2 internal prototype to avoid an error. */
22939 #ifdef __cplusplus
22940 extern "C"
22942 #endif
22943 /* We use char because int might match the return type of a gcc2
22944 builtin and then its argument prototype would still apply. */
22945 char $ac_func ();
22946 /* The GNU C library defines this for functions which it implements
22947 to always fail with ENOSYS. Some functions are actually named
22948 something starting with __ and the normal name is an alias. */
22949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22950 choke me
22951 #else
22952 char (*f) () = $ac_func;
22953 #endif
22954 #ifdef __cplusplus
22956 #endif
22959 main ()
22961 return f != $ac_func;
22963 return 0;
22965 _ACEOF
22966 rm -f conftest.$ac_objext conftest$ac_exeext
22967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22968 (eval $ac_link) 2>conftest.er1
22969 ac_status=$?
22970 grep -v '^ *+' conftest.er1 >conftest.err
22971 rm -f conftest.er1
22972 cat conftest.err >&5
22973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22974 (exit $ac_status); } &&
22975 { ac_try='test -z "$ac_c_werror_flag"
22976 || test ! -s conftest.err'
22977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22978 (eval $ac_try) 2>&5
22979 ac_status=$?
22980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22981 (exit $ac_status); }; } &&
22982 { ac_try='test -s conftest$ac_exeext'
22983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22984 (eval $ac_try) 2>&5
22985 ac_status=$?
22986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22987 (exit $ac_status); }; }; then
22988 eval "$as_ac_var=yes"
22989 else
22990 echo "$as_me: failed program was:" >&5
22991 sed 's/^/| /' conftest.$ac_ext >&5
22993 eval "$as_ac_var=no"
22995 rm -f conftest.err conftest.$ac_objext \
22996 conftest$ac_exeext conftest.$ac_ext
22998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23000 if test `eval echo '${'$as_ac_var'}'` = yes; then
23001 cat >>confdefs.h <<_ACEOF
23002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23003 _ACEOF
23006 done
23016 echo "$as_me:$LINENO: checking for logl declaration" >&5
23017 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
23018 if test x${glibcxx_cv_func_logl_use+set} != xset; then
23019 if test "${glibcxx_cv_func_logl_use+set}" = set; then
23020 echo $ECHO_N "(cached) $ECHO_C" >&6
23021 else
23025 ac_ext=cc
23026 ac_cpp='$CXXCPP $CPPFLAGS'
23027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23031 cat >conftest.$ac_ext <<_ACEOF
23032 /* confdefs.h. */
23033 _ACEOF
23034 cat confdefs.h >>conftest.$ac_ext
23035 cat >>conftest.$ac_ext <<_ACEOF
23036 /* end confdefs.h. */
23037 #include <math.h>
23038 #ifdef HAVE_IEEEFP_H
23039 #include <ieeefp.h>
23040 #endif
23043 main ()
23045 logl(0);
23047 return 0;
23049 _ACEOF
23050 rm -f conftest.$ac_objext
23051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23052 (eval $ac_compile) 2>conftest.er1
23053 ac_status=$?
23054 grep -v '^ *+' conftest.er1 >conftest.err
23055 rm -f conftest.er1
23056 cat conftest.err >&5
23057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23058 (exit $ac_status); } &&
23059 { ac_try='test -z "$ac_cxx_werror_flag"
23060 || test ! -s conftest.err'
23061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23062 (eval $ac_try) 2>&5
23063 ac_status=$?
23064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23065 (exit $ac_status); }; } &&
23066 { ac_try='test -s conftest.$ac_objext'
23067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23068 (eval $ac_try) 2>&5
23069 ac_status=$?
23070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23071 (exit $ac_status); }; }; then
23072 glibcxx_cv_func_logl_use=yes
23073 else
23074 echo "$as_me: failed program was:" >&5
23075 sed 's/^/| /' conftest.$ac_ext >&5
23077 glibcxx_cv_func_logl_use=no
23079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23080 ac_ext=c
23081 ac_cpp='$CPP $CPPFLAGS'
23082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23090 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
23091 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
23093 if test x$glibcxx_cv_func_logl_use = x"yes"; then
23095 for ac_func in logl
23097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23098 echo "$as_me:$LINENO: checking for $ac_func" >&5
23099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23100 if eval "test \"\${$as_ac_var+set}\" = set"; then
23101 echo $ECHO_N "(cached) $ECHO_C" >&6
23102 else
23103 if test x$gcc_no_link = xyes; then
23104 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23106 { (exit 1); exit 1; }; }
23108 cat >conftest.$ac_ext <<_ACEOF
23109 /* confdefs.h. */
23110 _ACEOF
23111 cat confdefs.h >>conftest.$ac_ext
23112 cat >>conftest.$ac_ext <<_ACEOF
23113 /* end confdefs.h. */
23114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23116 #define $ac_func innocuous_$ac_func
23118 /* System header to define __stub macros and hopefully few prototypes,
23119 which can conflict with char $ac_func (); below.
23120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23121 <limits.h> exists even on freestanding compilers. */
23123 #ifdef __STDC__
23124 # include <limits.h>
23125 #else
23126 # include <assert.h>
23127 #endif
23129 #undef $ac_func
23131 /* Override any gcc2 internal prototype to avoid an error. */
23132 #ifdef __cplusplus
23133 extern "C"
23135 #endif
23136 /* We use char because int might match the return type of a gcc2
23137 builtin and then its argument prototype would still apply. */
23138 char $ac_func ();
23139 /* The GNU C library defines this for functions which it implements
23140 to always fail with ENOSYS. Some functions are actually named
23141 something starting with __ and the normal name is an alias. */
23142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23143 choke me
23144 #else
23145 char (*f) () = $ac_func;
23146 #endif
23147 #ifdef __cplusplus
23149 #endif
23152 main ()
23154 return f != $ac_func;
23156 return 0;
23158 _ACEOF
23159 rm -f conftest.$ac_objext conftest$ac_exeext
23160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23161 (eval $ac_link) 2>conftest.er1
23162 ac_status=$?
23163 grep -v '^ *+' conftest.er1 >conftest.err
23164 rm -f conftest.er1
23165 cat conftest.err >&5
23166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23167 (exit $ac_status); } &&
23168 { ac_try='test -z "$ac_c_werror_flag"
23169 || test ! -s conftest.err'
23170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23171 (eval $ac_try) 2>&5
23172 ac_status=$?
23173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23174 (exit $ac_status); }; } &&
23175 { ac_try='test -s conftest$ac_exeext'
23176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23177 (eval $ac_try) 2>&5
23178 ac_status=$?
23179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23180 (exit $ac_status); }; }; then
23181 eval "$as_ac_var=yes"
23182 else
23183 echo "$as_me: failed program was:" >&5
23184 sed 's/^/| /' conftest.$ac_ext >&5
23186 eval "$as_ac_var=no"
23188 rm -f conftest.err conftest.$ac_objext \
23189 conftest$ac_exeext conftest.$ac_ext
23191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23193 if test `eval echo '${'$as_ac_var'}'` = yes; then
23194 cat >>confdefs.h <<_ACEOF
23195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23196 _ACEOF
23199 done
23201 else
23203 echo "$as_me:$LINENO: checking for _logl declaration" >&5
23204 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
23205 if test x${glibcxx_cv_func__logl_use+set} != xset; then
23206 if test "${glibcxx_cv_func__logl_use+set}" = set; then
23207 echo $ECHO_N "(cached) $ECHO_C" >&6
23208 else
23212 ac_ext=cc
23213 ac_cpp='$CXXCPP $CPPFLAGS'
23214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23218 cat >conftest.$ac_ext <<_ACEOF
23219 /* confdefs.h. */
23220 _ACEOF
23221 cat confdefs.h >>conftest.$ac_ext
23222 cat >>conftest.$ac_ext <<_ACEOF
23223 /* end confdefs.h. */
23224 #include <math.h>
23225 #ifdef HAVE_IEEEFP_H
23226 #include <ieeefp.h>
23227 #endif
23230 main ()
23232 _logl(0);
23234 return 0;
23236 _ACEOF
23237 rm -f conftest.$ac_objext
23238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23239 (eval $ac_compile) 2>conftest.er1
23240 ac_status=$?
23241 grep -v '^ *+' conftest.er1 >conftest.err
23242 rm -f conftest.er1
23243 cat conftest.err >&5
23244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23245 (exit $ac_status); } &&
23246 { ac_try='test -z "$ac_cxx_werror_flag"
23247 || test ! -s conftest.err'
23248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23249 (eval $ac_try) 2>&5
23250 ac_status=$?
23251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23252 (exit $ac_status); }; } &&
23253 { ac_try='test -s conftest.$ac_objext'
23254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23255 (eval $ac_try) 2>&5
23256 ac_status=$?
23257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23258 (exit $ac_status); }; }; then
23259 glibcxx_cv_func__logl_use=yes
23260 else
23261 echo "$as_me: failed program was:" >&5
23262 sed 's/^/| /' conftest.$ac_ext >&5
23264 glibcxx_cv_func__logl_use=no
23266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23267 ac_ext=c
23268 ac_cpp='$CPP $CPPFLAGS'
23269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23277 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
23278 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
23280 if test x$glibcxx_cv_func__logl_use = x"yes"; then
23282 for ac_func in _logl
23284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23285 echo "$as_me:$LINENO: checking for $ac_func" >&5
23286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23287 if eval "test \"\${$as_ac_var+set}\" = set"; then
23288 echo $ECHO_N "(cached) $ECHO_C" >&6
23289 else
23290 if test x$gcc_no_link = xyes; then
23291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23293 { (exit 1); exit 1; }; }
23295 cat >conftest.$ac_ext <<_ACEOF
23296 /* confdefs.h. */
23297 _ACEOF
23298 cat confdefs.h >>conftest.$ac_ext
23299 cat >>conftest.$ac_ext <<_ACEOF
23300 /* end confdefs.h. */
23301 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23303 #define $ac_func innocuous_$ac_func
23305 /* System header to define __stub macros and hopefully few prototypes,
23306 which can conflict with char $ac_func (); below.
23307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23308 <limits.h> exists even on freestanding compilers. */
23310 #ifdef __STDC__
23311 # include <limits.h>
23312 #else
23313 # include <assert.h>
23314 #endif
23316 #undef $ac_func
23318 /* Override any gcc2 internal prototype to avoid an error. */
23319 #ifdef __cplusplus
23320 extern "C"
23322 #endif
23323 /* We use char because int might match the return type of a gcc2
23324 builtin and then its argument prototype would still apply. */
23325 char $ac_func ();
23326 /* The GNU C library defines this for functions which it implements
23327 to always fail with ENOSYS. Some functions are actually named
23328 something starting with __ and the normal name is an alias. */
23329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23330 choke me
23331 #else
23332 char (*f) () = $ac_func;
23333 #endif
23334 #ifdef __cplusplus
23336 #endif
23339 main ()
23341 return f != $ac_func;
23343 return 0;
23345 _ACEOF
23346 rm -f conftest.$ac_objext conftest$ac_exeext
23347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23348 (eval $ac_link) 2>conftest.er1
23349 ac_status=$?
23350 grep -v '^ *+' conftest.er1 >conftest.err
23351 rm -f conftest.er1
23352 cat conftest.err >&5
23353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23354 (exit $ac_status); } &&
23355 { ac_try='test -z "$ac_c_werror_flag"
23356 || test ! -s conftest.err'
23357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23358 (eval $ac_try) 2>&5
23359 ac_status=$?
23360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23361 (exit $ac_status); }; } &&
23362 { ac_try='test -s conftest$ac_exeext'
23363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23364 (eval $ac_try) 2>&5
23365 ac_status=$?
23366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23367 (exit $ac_status); }; }; then
23368 eval "$as_ac_var=yes"
23369 else
23370 echo "$as_me: failed program was:" >&5
23371 sed 's/^/| /' conftest.$ac_ext >&5
23373 eval "$as_ac_var=no"
23375 rm -f conftest.err conftest.$ac_objext \
23376 conftest$ac_exeext conftest.$ac_ext
23378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23380 if test `eval echo '${'$as_ac_var'}'` = yes; then
23381 cat >>confdefs.h <<_ACEOF
23382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23383 _ACEOF
23386 done
23396 echo "$as_me:$LINENO: checking for log10l declaration" >&5
23397 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
23398 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
23399 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
23400 echo $ECHO_N "(cached) $ECHO_C" >&6
23401 else
23405 ac_ext=cc
23406 ac_cpp='$CXXCPP $CPPFLAGS'
23407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23411 cat >conftest.$ac_ext <<_ACEOF
23412 /* confdefs.h. */
23413 _ACEOF
23414 cat confdefs.h >>conftest.$ac_ext
23415 cat >>conftest.$ac_ext <<_ACEOF
23416 /* end confdefs.h. */
23417 #include <math.h>
23418 #ifdef HAVE_IEEEFP_H
23419 #include <ieeefp.h>
23420 #endif
23423 main ()
23425 log10l(0);
23427 return 0;
23429 _ACEOF
23430 rm -f conftest.$ac_objext
23431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23432 (eval $ac_compile) 2>conftest.er1
23433 ac_status=$?
23434 grep -v '^ *+' conftest.er1 >conftest.err
23435 rm -f conftest.er1
23436 cat conftest.err >&5
23437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23438 (exit $ac_status); } &&
23439 { ac_try='test -z "$ac_cxx_werror_flag"
23440 || test ! -s conftest.err'
23441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23442 (eval $ac_try) 2>&5
23443 ac_status=$?
23444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23445 (exit $ac_status); }; } &&
23446 { ac_try='test -s conftest.$ac_objext'
23447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23448 (eval $ac_try) 2>&5
23449 ac_status=$?
23450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23451 (exit $ac_status); }; }; then
23452 glibcxx_cv_func_log10l_use=yes
23453 else
23454 echo "$as_me: failed program was:" >&5
23455 sed 's/^/| /' conftest.$ac_ext >&5
23457 glibcxx_cv_func_log10l_use=no
23459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23460 ac_ext=c
23461 ac_cpp='$CPP $CPPFLAGS'
23462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23470 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
23471 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
23473 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
23475 for ac_func in log10l
23477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23478 echo "$as_me:$LINENO: checking for $ac_func" >&5
23479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23480 if eval "test \"\${$as_ac_var+set}\" = set"; then
23481 echo $ECHO_N "(cached) $ECHO_C" >&6
23482 else
23483 if test x$gcc_no_link = xyes; then
23484 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23486 { (exit 1); exit 1; }; }
23488 cat >conftest.$ac_ext <<_ACEOF
23489 /* confdefs.h. */
23490 _ACEOF
23491 cat confdefs.h >>conftest.$ac_ext
23492 cat >>conftest.$ac_ext <<_ACEOF
23493 /* end confdefs.h. */
23494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23496 #define $ac_func innocuous_$ac_func
23498 /* System header to define __stub macros and hopefully few prototypes,
23499 which can conflict with char $ac_func (); below.
23500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23501 <limits.h> exists even on freestanding compilers. */
23503 #ifdef __STDC__
23504 # include <limits.h>
23505 #else
23506 # include <assert.h>
23507 #endif
23509 #undef $ac_func
23511 /* Override any gcc2 internal prototype to avoid an error. */
23512 #ifdef __cplusplus
23513 extern "C"
23515 #endif
23516 /* We use char because int might match the return type of a gcc2
23517 builtin and then its argument prototype would still apply. */
23518 char $ac_func ();
23519 /* The GNU C library defines this for functions which it implements
23520 to always fail with ENOSYS. Some functions are actually named
23521 something starting with __ and the normal name is an alias. */
23522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23523 choke me
23524 #else
23525 char (*f) () = $ac_func;
23526 #endif
23527 #ifdef __cplusplus
23529 #endif
23532 main ()
23534 return f != $ac_func;
23536 return 0;
23538 _ACEOF
23539 rm -f conftest.$ac_objext conftest$ac_exeext
23540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23541 (eval $ac_link) 2>conftest.er1
23542 ac_status=$?
23543 grep -v '^ *+' conftest.er1 >conftest.err
23544 rm -f conftest.er1
23545 cat conftest.err >&5
23546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23547 (exit $ac_status); } &&
23548 { ac_try='test -z "$ac_c_werror_flag"
23549 || test ! -s conftest.err'
23550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23551 (eval $ac_try) 2>&5
23552 ac_status=$?
23553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23554 (exit $ac_status); }; } &&
23555 { ac_try='test -s conftest$ac_exeext'
23556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23557 (eval $ac_try) 2>&5
23558 ac_status=$?
23559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23560 (exit $ac_status); }; }; then
23561 eval "$as_ac_var=yes"
23562 else
23563 echo "$as_me: failed program was:" >&5
23564 sed 's/^/| /' conftest.$ac_ext >&5
23566 eval "$as_ac_var=no"
23568 rm -f conftest.err conftest.$ac_objext \
23569 conftest$ac_exeext conftest.$ac_ext
23571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23573 if test `eval echo '${'$as_ac_var'}'` = yes; then
23574 cat >>confdefs.h <<_ACEOF
23575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23576 _ACEOF
23579 done
23581 else
23583 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
23584 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
23585 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
23586 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
23587 echo $ECHO_N "(cached) $ECHO_C" >&6
23588 else
23592 ac_ext=cc
23593 ac_cpp='$CXXCPP $CPPFLAGS'
23594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23598 cat >conftest.$ac_ext <<_ACEOF
23599 /* confdefs.h. */
23600 _ACEOF
23601 cat confdefs.h >>conftest.$ac_ext
23602 cat >>conftest.$ac_ext <<_ACEOF
23603 /* end confdefs.h. */
23604 #include <math.h>
23605 #ifdef HAVE_IEEEFP_H
23606 #include <ieeefp.h>
23607 #endif
23610 main ()
23612 _log10l(0);
23614 return 0;
23616 _ACEOF
23617 rm -f conftest.$ac_objext
23618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23619 (eval $ac_compile) 2>conftest.er1
23620 ac_status=$?
23621 grep -v '^ *+' conftest.er1 >conftest.err
23622 rm -f conftest.er1
23623 cat conftest.err >&5
23624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23625 (exit $ac_status); } &&
23626 { ac_try='test -z "$ac_cxx_werror_flag"
23627 || test ! -s conftest.err'
23628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23629 (eval $ac_try) 2>&5
23630 ac_status=$?
23631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23632 (exit $ac_status); }; } &&
23633 { ac_try='test -s conftest.$ac_objext'
23634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23635 (eval $ac_try) 2>&5
23636 ac_status=$?
23637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23638 (exit $ac_status); }; }; then
23639 glibcxx_cv_func__log10l_use=yes
23640 else
23641 echo "$as_me: failed program was:" >&5
23642 sed 's/^/| /' conftest.$ac_ext >&5
23644 glibcxx_cv_func__log10l_use=no
23646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23647 ac_ext=c
23648 ac_cpp='$CPP $CPPFLAGS'
23649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23657 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
23658 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
23660 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
23662 for ac_func in _log10l
23664 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23665 echo "$as_me:$LINENO: checking for $ac_func" >&5
23666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23667 if eval "test \"\${$as_ac_var+set}\" = set"; then
23668 echo $ECHO_N "(cached) $ECHO_C" >&6
23669 else
23670 if test x$gcc_no_link = xyes; then
23671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23673 { (exit 1); exit 1; }; }
23675 cat >conftest.$ac_ext <<_ACEOF
23676 /* confdefs.h. */
23677 _ACEOF
23678 cat confdefs.h >>conftest.$ac_ext
23679 cat >>conftest.$ac_ext <<_ACEOF
23680 /* end confdefs.h. */
23681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23683 #define $ac_func innocuous_$ac_func
23685 /* System header to define __stub macros and hopefully few prototypes,
23686 which can conflict with char $ac_func (); below.
23687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23688 <limits.h> exists even on freestanding compilers. */
23690 #ifdef __STDC__
23691 # include <limits.h>
23692 #else
23693 # include <assert.h>
23694 #endif
23696 #undef $ac_func
23698 /* Override any gcc2 internal prototype to avoid an error. */
23699 #ifdef __cplusplus
23700 extern "C"
23702 #endif
23703 /* We use char because int might match the return type of a gcc2
23704 builtin and then its argument prototype would still apply. */
23705 char $ac_func ();
23706 /* The GNU C library defines this for functions which it implements
23707 to always fail with ENOSYS. Some functions are actually named
23708 something starting with __ and the normal name is an alias. */
23709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23710 choke me
23711 #else
23712 char (*f) () = $ac_func;
23713 #endif
23714 #ifdef __cplusplus
23716 #endif
23719 main ()
23721 return f != $ac_func;
23723 return 0;
23725 _ACEOF
23726 rm -f conftest.$ac_objext conftest$ac_exeext
23727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23728 (eval $ac_link) 2>conftest.er1
23729 ac_status=$?
23730 grep -v '^ *+' conftest.er1 >conftest.err
23731 rm -f conftest.er1
23732 cat conftest.err >&5
23733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23734 (exit $ac_status); } &&
23735 { ac_try='test -z "$ac_c_werror_flag"
23736 || test ! -s conftest.err'
23737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23738 (eval $ac_try) 2>&5
23739 ac_status=$?
23740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23741 (exit $ac_status); }; } &&
23742 { ac_try='test -s conftest$ac_exeext'
23743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23744 (eval $ac_try) 2>&5
23745 ac_status=$?
23746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23747 (exit $ac_status); }; }; then
23748 eval "$as_ac_var=yes"
23749 else
23750 echo "$as_me: failed program was:" >&5
23751 sed 's/^/| /' conftest.$ac_ext >&5
23753 eval "$as_ac_var=no"
23755 rm -f conftest.err conftest.$ac_objext \
23756 conftest$ac_exeext conftest.$ac_ext
23758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23759 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23760 if test `eval echo '${'$as_ac_var'}'` = yes; then
23761 cat >>confdefs.h <<_ACEOF
23762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23763 _ACEOF
23766 done
23776 echo "$as_me:$LINENO: checking for modfl declaration" >&5
23777 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
23778 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
23779 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
23780 echo $ECHO_N "(cached) $ECHO_C" >&6
23781 else
23785 ac_ext=cc
23786 ac_cpp='$CXXCPP $CPPFLAGS'
23787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23791 cat >conftest.$ac_ext <<_ACEOF
23792 /* confdefs.h. */
23793 _ACEOF
23794 cat confdefs.h >>conftest.$ac_ext
23795 cat >>conftest.$ac_ext <<_ACEOF
23796 /* end confdefs.h. */
23797 #include <math.h>
23799 main ()
23801 modfl(0, 0);
23803 return 0;
23805 _ACEOF
23806 rm -f conftest.$ac_objext
23807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23808 (eval $ac_compile) 2>conftest.er1
23809 ac_status=$?
23810 grep -v '^ *+' conftest.er1 >conftest.err
23811 rm -f conftest.er1
23812 cat conftest.err >&5
23813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23814 (exit $ac_status); } &&
23815 { ac_try='test -z "$ac_cxx_werror_flag"
23816 || test ! -s conftest.err'
23817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23818 (eval $ac_try) 2>&5
23819 ac_status=$?
23820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23821 (exit $ac_status); }; } &&
23822 { ac_try='test -s conftest.$ac_objext'
23823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23824 (eval $ac_try) 2>&5
23825 ac_status=$?
23826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23827 (exit $ac_status); }; }; then
23828 glibcxx_cv_func_modfl_use=yes
23829 else
23830 echo "$as_me: failed program was:" >&5
23831 sed 's/^/| /' conftest.$ac_ext >&5
23833 glibcxx_cv_func_modfl_use=no
23835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23836 ac_ext=c
23837 ac_cpp='$CPP $CPPFLAGS'
23838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23846 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
23847 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
23849 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
23851 for ac_func in modfl
23853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23854 echo "$as_me:$LINENO: checking for $ac_func" >&5
23855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23856 if eval "test \"\${$as_ac_var+set}\" = set"; then
23857 echo $ECHO_N "(cached) $ECHO_C" >&6
23858 else
23859 if test x$gcc_no_link = xyes; then
23860 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23862 { (exit 1); exit 1; }; }
23864 cat >conftest.$ac_ext <<_ACEOF
23865 /* confdefs.h. */
23866 _ACEOF
23867 cat confdefs.h >>conftest.$ac_ext
23868 cat >>conftest.$ac_ext <<_ACEOF
23869 /* end confdefs.h. */
23870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23872 #define $ac_func innocuous_$ac_func
23874 /* System header to define __stub macros and hopefully few prototypes,
23875 which can conflict with char $ac_func (); below.
23876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23877 <limits.h> exists even on freestanding compilers. */
23879 #ifdef __STDC__
23880 # include <limits.h>
23881 #else
23882 # include <assert.h>
23883 #endif
23885 #undef $ac_func
23887 /* Override any gcc2 internal prototype to avoid an error. */
23888 #ifdef __cplusplus
23889 extern "C"
23891 #endif
23892 /* We use char because int might match the return type of a gcc2
23893 builtin and then its argument prototype would still apply. */
23894 char $ac_func ();
23895 /* The GNU C library defines this for functions which it implements
23896 to always fail with ENOSYS. Some functions are actually named
23897 something starting with __ and the normal name is an alias. */
23898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23899 choke me
23900 #else
23901 char (*f) () = $ac_func;
23902 #endif
23903 #ifdef __cplusplus
23905 #endif
23908 main ()
23910 return f != $ac_func;
23912 return 0;
23914 _ACEOF
23915 rm -f conftest.$ac_objext conftest$ac_exeext
23916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23917 (eval $ac_link) 2>conftest.er1
23918 ac_status=$?
23919 grep -v '^ *+' conftest.er1 >conftest.err
23920 rm -f conftest.er1
23921 cat conftest.err >&5
23922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23923 (exit $ac_status); } &&
23924 { ac_try='test -z "$ac_c_werror_flag"
23925 || test ! -s conftest.err'
23926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23927 (eval $ac_try) 2>&5
23928 ac_status=$?
23929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23930 (exit $ac_status); }; } &&
23931 { ac_try='test -s conftest$ac_exeext'
23932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23933 (eval $ac_try) 2>&5
23934 ac_status=$?
23935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23936 (exit $ac_status); }; }; then
23937 eval "$as_ac_var=yes"
23938 else
23939 echo "$as_me: failed program was:" >&5
23940 sed 's/^/| /' conftest.$ac_ext >&5
23942 eval "$as_ac_var=no"
23944 rm -f conftest.err conftest.$ac_objext \
23945 conftest$ac_exeext conftest.$ac_ext
23947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23948 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23949 if test `eval echo '${'$as_ac_var'}'` = yes; then
23950 cat >>confdefs.h <<_ACEOF
23951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23952 _ACEOF
23955 done
23957 else
23959 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
23960 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
23961 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
23962 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
23963 echo $ECHO_N "(cached) $ECHO_C" >&6
23964 else
23968 ac_ext=cc
23969 ac_cpp='$CXXCPP $CPPFLAGS'
23970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23974 cat >conftest.$ac_ext <<_ACEOF
23975 /* confdefs.h. */
23976 _ACEOF
23977 cat confdefs.h >>conftest.$ac_ext
23978 cat >>conftest.$ac_ext <<_ACEOF
23979 /* end confdefs.h. */
23980 #include <math.h>
23982 main ()
23984 _modfl(0, 0);
23986 return 0;
23988 _ACEOF
23989 rm -f conftest.$ac_objext
23990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23991 (eval $ac_compile) 2>conftest.er1
23992 ac_status=$?
23993 grep -v '^ *+' conftest.er1 >conftest.err
23994 rm -f conftest.er1
23995 cat conftest.err >&5
23996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23997 (exit $ac_status); } &&
23998 { ac_try='test -z "$ac_cxx_werror_flag"
23999 || test ! -s conftest.err'
24000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24001 (eval $ac_try) 2>&5
24002 ac_status=$?
24003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24004 (exit $ac_status); }; } &&
24005 { ac_try='test -s conftest.$ac_objext'
24006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24007 (eval $ac_try) 2>&5
24008 ac_status=$?
24009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24010 (exit $ac_status); }; }; then
24011 glibcxx_cv_func__modfl_use=yes
24012 else
24013 echo "$as_me: failed program was:" >&5
24014 sed 's/^/| /' conftest.$ac_ext >&5
24016 glibcxx_cv_func__modfl_use=no
24018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24019 ac_ext=c
24020 ac_cpp='$CPP $CPPFLAGS'
24021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24029 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
24030 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
24032 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24034 for ac_func in _modfl
24036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24037 echo "$as_me:$LINENO: checking for $ac_func" >&5
24038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24039 if eval "test \"\${$as_ac_var+set}\" = set"; then
24040 echo $ECHO_N "(cached) $ECHO_C" >&6
24041 else
24042 if test x$gcc_no_link = xyes; then
24043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24045 { (exit 1); exit 1; }; }
24047 cat >conftest.$ac_ext <<_ACEOF
24048 /* confdefs.h. */
24049 _ACEOF
24050 cat confdefs.h >>conftest.$ac_ext
24051 cat >>conftest.$ac_ext <<_ACEOF
24052 /* end confdefs.h. */
24053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24055 #define $ac_func innocuous_$ac_func
24057 /* System header to define __stub macros and hopefully few prototypes,
24058 which can conflict with char $ac_func (); below.
24059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24060 <limits.h> exists even on freestanding compilers. */
24062 #ifdef __STDC__
24063 # include <limits.h>
24064 #else
24065 # include <assert.h>
24066 #endif
24068 #undef $ac_func
24070 /* Override any gcc2 internal prototype to avoid an error. */
24071 #ifdef __cplusplus
24072 extern "C"
24074 #endif
24075 /* We use char because int might match the return type of a gcc2
24076 builtin and then its argument prototype would still apply. */
24077 char $ac_func ();
24078 /* The GNU C library defines this for functions which it implements
24079 to always fail with ENOSYS. Some functions are actually named
24080 something starting with __ and the normal name is an alias. */
24081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24082 choke me
24083 #else
24084 char (*f) () = $ac_func;
24085 #endif
24086 #ifdef __cplusplus
24088 #endif
24091 main ()
24093 return f != $ac_func;
24095 return 0;
24097 _ACEOF
24098 rm -f conftest.$ac_objext conftest$ac_exeext
24099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24100 (eval $ac_link) 2>conftest.er1
24101 ac_status=$?
24102 grep -v '^ *+' conftest.er1 >conftest.err
24103 rm -f conftest.er1
24104 cat conftest.err >&5
24105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24106 (exit $ac_status); } &&
24107 { ac_try='test -z "$ac_c_werror_flag"
24108 || test ! -s conftest.err'
24109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24110 (eval $ac_try) 2>&5
24111 ac_status=$?
24112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24113 (exit $ac_status); }; } &&
24114 { ac_try='test -s conftest$ac_exeext'
24115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24116 (eval $ac_try) 2>&5
24117 ac_status=$?
24118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24119 (exit $ac_status); }; }; then
24120 eval "$as_ac_var=yes"
24121 else
24122 echo "$as_me: failed program was:" >&5
24123 sed 's/^/| /' conftest.$ac_ext >&5
24125 eval "$as_ac_var=no"
24127 rm -f conftest.err conftest.$ac_objext \
24128 conftest$ac_exeext conftest.$ac_ext
24130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24132 if test `eval echo '${'$as_ac_var'}'` = yes; then
24133 cat >>confdefs.h <<_ACEOF
24134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24135 _ACEOF
24138 done
24148 echo "$as_me:$LINENO: checking for powl declaration" >&5
24149 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
24150 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24151 if test "${glibcxx_cv_func_powl_use+set}" = set; then
24152 echo $ECHO_N "(cached) $ECHO_C" >&6
24153 else
24157 ac_ext=cc
24158 ac_cpp='$CXXCPP $CPPFLAGS'
24159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24163 cat >conftest.$ac_ext <<_ACEOF
24164 /* confdefs.h. */
24165 _ACEOF
24166 cat confdefs.h >>conftest.$ac_ext
24167 cat >>conftest.$ac_ext <<_ACEOF
24168 /* end confdefs.h. */
24169 #include <math.h>
24171 main ()
24173 powl(0, 0);
24175 return 0;
24177 _ACEOF
24178 rm -f conftest.$ac_objext
24179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24180 (eval $ac_compile) 2>conftest.er1
24181 ac_status=$?
24182 grep -v '^ *+' conftest.er1 >conftest.err
24183 rm -f conftest.er1
24184 cat conftest.err >&5
24185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24186 (exit $ac_status); } &&
24187 { ac_try='test -z "$ac_cxx_werror_flag"
24188 || test ! -s conftest.err'
24189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24190 (eval $ac_try) 2>&5
24191 ac_status=$?
24192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24193 (exit $ac_status); }; } &&
24194 { ac_try='test -s conftest.$ac_objext'
24195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24196 (eval $ac_try) 2>&5
24197 ac_status=$?
24198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24199 (exit $ac_status); }; }; then
24200 glibcxx_cv_func_powl_use=yes
24201 else
24202 echo "$as_me: failed program was:" >&5
24203 sed 's/^/| /' conftest.$ac_ext >&5
24205 glibcxx_cv_func_powl_use=no
24207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24208 ac_ext=c
24209 ac_cpp='$CPP $CPPFLAGS'
24210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24218 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
24219 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
24221 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24223 for ac_func in powl
24225 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24226 echo "$as_me:$LINENO: checking for $ac_func" >&5
24227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24228 if eval "test \"\${$as_ac_var+set}\" = set"; then
24229 echo $ECHO_N "(cached) $ECHO_C" >&6
24230 else
24231 if test x$gcc_no_link = xyes; then
24232 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24234 { (exit 1); exit 1; }; }
24236 cat >conftest.$ac_ext <<_ACEOF
24237 /* confdefs.h. */
24238 _ACEOF
24239 cat confdefs.h >>conftest.$ac_ext
24240 cat >>conftest.$ac_ext <<_ACEOF
24241 /* end confdefs.h. */
24242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24243 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24244 #define $ac_func innocuous_$ac_func
24246 /* System header to define __stub macros and hopefully few prototypes,
24247 which can conflict with char $ac_func (); below.
24248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24249 <limits.h> exists even on freestanding compilers. */
24251 #ifdef __STDC__
24252 # include <limits.h>
24253 #else
24254 # include <assert.h>
24255 #endif
24257 #undef $ac_func
24259 /* Override any gcc2 internal prototype to avoid an error. */
24260 #ifdef __cplusplus
24261 extern "C"
24263 #endif
24264 /* We use char because int might match the return type of a gcc2
24265 builtin and then its argument prototype would still apply. */
24266 char $ac_func ();
24267 /* The GNU C library defines this for functions which it implements
24268 to always fail with ENOSYS. Some functions are actually named
24269 something starting with __ and the normal name is an alias. */
24270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24271 choke me
24272 #else
24273 char (*f) () = $ac_func;
24274 #endif
24275 #ifdef __cplusplus
24277 #endif
24280 main ()
24282 return f != $ac_func;
24284 return 0;
24286 _ACEOF
24287 rm -f conftest.$ac_objext conftest$ac_exeext
24288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24289 (eval $ac_link) 2>conftest.er1
24290 ac_status=$?
24291 grep -v '^ *+' conftest.er1 >conftest.err
24292 rm -f conftest.er1
24293 cat conftest.err >&5
24294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24295 (exit $ac_status); } &&
24296 { ac_try='test -z "$ac_c_werror_flag"
24297 || test ! -s conftest.err'
24298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24299 (eval $ac_try) 2>&5
24300 ac_status=$?
24301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24302 (exit $ac_status); }; } &&
24303 { ac_try='test -s conftest$ac_exeext'
24304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24305 (eval $ac_try) 2>&5
24306 ac_status=$?
24307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24308 (exit $ac_status); }; }; then
24309 eval "$as_ac_var=yes"
24310 else
24311 echo "$as_me: failed program was:" >&5
24312 sed 's/^/| /' conftest.$ac_ext >&5
24314 eval "$as_ac_var=no"
24316 rm -f conftest.err conftest.$ac_objext \
24317 conftest$ac_exeext conftest.$ac_ext
24319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24320 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24321 if test `eval echo '${'$as_ac_var'}'` = yes; then
24322 cat >>confdefs.h <<_ACEOF
24323 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24324 _ACEOF
24327 done
24329 else
24331 echo "$as_me:$LINENO: checking for _powl declaration" >&5
24332 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
24333 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24334 if test "${glibcxx_cv_func__powl_use+set}" = set; then
24335 echo $ECHO_N "(cached) $ECHO_C" >&6
24336 else
24340 ac_ext=cc
24341 ac_cpp='$CXXCPP $CPPFLAGS'
24342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24346 cat >conftest.$ac_ext <<_ACEOF
24347 /* confdefs.h. */
24348 _ACEOF
24349 cat confdefs.h >>conftest.$ac_ext
24350 cat >>conftest.$ac_ext <<_ACEOF
24351 /* end confdefs.h. */
24352 #include <math.h>
24354 main ()
24356 _powl(0, 0);
24358 return 0;
24360 _ACEOF
24361 rm -f conftest.$ac_objext
24362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24363 (eval $ac_compile) 2>conftest.er1
24364 ac_status=$?
24365 grep -v '^ *+' conftest.er1 >conftest.err
24366 rm -f conftest.er1
24367 cat conftest.err >&5
24368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24369 (exit $ac_status); } &&
24370 { ac_try='test -z "$ac_cxx_werror_flag"
24371 || test ! -s conftest.err'
24372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24373 (eval $ac_try) 2>&5
24374 ac_status=$?
24375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24376 (exit $ac_status); }; } &&
24377 { ac_try='test -s conftest.$ac_objext'
24378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24379 (eval $ac_try) 2>&5
24380 ac_status=$?
24381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24382 (exit $ac_status); }; }; then
24383 glibcxx_cv_func__powl_use=yes
24384 else
24385 echo "$as_me: failed program was:" >&5
24386 sed 's/^/| /' conftest.$ac_ext >&5
24388 glibcxx_cv_func__powl_use=no
24390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24391 ac_ext=c
24392 ac_cpp='$CPP $CPPFLAGS'
24393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24401 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
24402 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
24404 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24406 for ac_func in _powl
24408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24409 echo "$as_me:$LINENO: checking for $ac_func" >&5
24410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24411 if eval "test \"\${$as_ac_var+set}\" = set"; then
24412 echo $ECHO_N "(cached) $ECHO_C" >&6
24413 else
24414 if test x$gcc_no_link = xyes; then
24415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24417 { (exit 1); exit 1; }; }
24419 cat >conftest.$ac_ext <<_ACEOF
24420 /* confdefs.h. */
24421 _ACEOF
24422 cat confdefs.h >>conftest.$ac_ext
24423 cat >>conftest.$ac_ext <<_ACEOF
24424 /* end confdefs.h. */
24425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24427 #define $ac_func innocuous_$ac_func
24429 /* System header to define __stub macros and hopefully few prototypes,
24430 which can conflict with char $ac_func (); below.
24431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24432 <limits.h> exists even on freestanding compilers. */
24434 #ifdef __STDC__
24435 # include <limits.h>
24436 #else
24437 # include <assert.h>
24438 #endif
24440 #undef $ac_func
24442 /* Override any gcc2 internal prototype to avoid an error. */
24443 #ifdef __cplusplus
24444 extern "C"
24446 #endif
24447 /* We use char because int might match the return type of a gcc2
24448 builtin and then its argument prototype would still apply. */
24449 char $ac_func ();
24450 /* The GNU C library defines this for functions which it implements
24451 to always fail with ENOSYS. Some functions are actually named
24452 something starting with __ and the normal name is an alias. */
24453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24454 choke me
24455 #else
24456 char (*f) () = $ac_func;
24457 #endif
24458 #ifdef __cplusplus
24460 #endif
24463 main ()
24465 return f != $ac_func;
24467 return 0;
24469 _ACEOF
24470 rm -f conftest.$ac_objext conftest$ac_exeext
24471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24472 (eval $ac_link) 2>conftest.er1
24473 ac_status=$?
24474 grep -v '^ *+' conftest.er1 >conftest.err
24475 rm -f conftest.er1
24476 cat conftest.err >&5
24477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24478 (exit $ac_status); } &&
24479 { ac_try='test -z "$ac_c_werror_flag"
24480 || test ! -s conftest.err'
24481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24482 (eval $ac_try) 2>&5
24483 ac_status=$?
24484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24485 (exit $ac_status); }; } &&
24486 { ac_try='test -s conftest$ac_exeext'
24487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24488 (eval $ac_try) 2>&5
24489 ac_status=$?
24490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24491 (exit $ac_status); }; }; then
24492 eval "$as_ac_var=yes"
24493 else
24494 echo "$as_me: failed program was:" >&5
24495 sed 's/^/| /' conftest.$ac_ext >&5
24497 eval "$as_ac_var=no"
24499 rm -f conftest.err conftest.$ac_objext \
24500 conftest$ac_exeext conftest.$ac_ext
24502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24503 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24504 if test `eval echo '${'$as_ac_var'}'` = yes; then
24505 cat >>confdefs.h <<_ACEOF
24506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24507 _ACEOF
24510 done
24520 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
24521 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
24522 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24523 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
24524 echo $ECHO_N "(cached) $ECHO_C" >&6
24525 else
24529 ac_ext=cc
24530 ac_cpp='$CXXCPP $CPPFLAGS'
24531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24535 cat >conftest.$ac_ext <<_ACEOF
24536 /* confdefs.h. */
24537 _ACEOF
24538 cat confdefs.h >>conftest.$ac_ext
24539 cat >>conftest.$ac_ext <<_ACEOF
24540 /* end confdefs.h. */
24541 #include <math.h>
24542 #ifdef HAVE_IEEEFP_H
24543 #include <ieeefp.h>
24544 #endif
24547 main ()
24549 sqrtl(0);
24551 return 0;
24553 _ACEOF
24554 rm -f conftest.$ac_objext
24555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24556 (eval $ac_compile) 2>conftest.er1
24557 ac_status=$?
24558 grep -v '^ *+' conftest.er1 >conftest.err
24559 rm -f conftest.er1
24560 cat conftest.err >&5
24561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24562 (exit $ac_status); } &&
24563 { ac_try='test -z "$ac_cxx_werror_flag"
24564 || test ! -s conftest.err'
24565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24566 (eval $ac_try) 2>&5
24567 ac_status=$?
24568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24569 (exit $ac_status); }; } &&
24570 { ac_try='test -s conftest.$ac_objext'
24571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24572 (eval $ac_try) 2>&5
24573 ac_status=$?
24574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24575 (exit $ac_status); }; }; then
24576 glibcxx_cv_func_sqrtl_use=yes
24577 else
24578 echo "$as_me: failed program was:" >&5
24579 sed 's/^/| /' conftest.$ac_ext >&5
24581 glibcxx_cv_func_sqrtl_use=no
24583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24584 ac_ext=c
24585 ac_cpp='$CPP $CPPFLAGS'
24586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24594 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
24595 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
24597 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24599 for ac_func in sqrtl
24601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24602 echo "$as_me:$LINENO: checking for $ac_func" >&5
24603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24604 if eval "test \"\${$as_ac_var+set}\" = set"; then
24605 echo $ECHO_N "(cached) $ECHO_C" >&6
24606 else
24607 if test x$gcc_no_link = xyes; then
24608 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24610 { (exit 1); exit 1; }; }
24612 cat >conftest.$ac_ext <<_ACEOF
24613 /* confdefs.h. */
24614 _ACEOF
24615 cat confdefs.h >>conftest.$ac_ext
24616 cat >>conftest.$ac_ext <<_ACEOF
24617 /* end confdefs.h. */
24618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24620 #define $ac_func innocuous_$ac_func
24622 /* System header to define __stub macros and hopefully few prototypes,
24623 which can conflict with char $ac_func (); below.
24624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24625 <limits.h> exists even on freestanding compilers. */
24627 #ifdef __STDC__
24628 # include <limits.h>
24629 #else
24630 # include <assert.h>
24631 #endif
24633 #undef $ac_func
24635 /* Override any gcc2 internal prototype to avoid an error. */
24636 #ifdef __cplusplus
24637 extern "C"
24639 #endif
24640 /* We use char because int might match the return type of a gcc2
24641 builtin and then its argument prototype would still apply. */
24642 char $ac_func ();
24643 /* The GNU C library defines this for functions which it implements
24644 to always fail with ENOSYS. Some functions are actually named
24645 something starting with __ and the normal name is an alias. */
24646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24647 choke me
24648 #else
24649 char (*f) () = $ac_func;
24650 #endif
24651 #ifdef __cplusplus
24653 #endif
24656 main ()
24658 return f != $ac_func;
24660 return 0;
24662 _ACEOF
24663 rm -f conftest.$ac_objext conftest$ac_exeext
24664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24665 (eval $ac_link) 2>conftest.er1
24666 ac_status=$?
24667 grep -v '^ *+' conftest.er1 >conftest.err
24668 rm -f conftest.er1
24669 cat conftest.err >&5
24670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24671 (exit $ac_status); } &&
24672 { ac_try='test -z "$ac_c_werror_flag"
24673 || test ! -s conftest.err'
24674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24675 (eval $ac_try) 2>&5
24676 ac_status=$?
24677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24678 (exit $ac_status); }; } &&
24679 { ac_try='test -s conftest$ac_exeext'
24680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24681 (eval $ac_try) 2>&5
24682 ac_status=$?
24683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24684 (exit $ac_status); }; }; then
24685 eval "$as_ac_var=yes"
24686 else
24687 echo "$as_me: failed program was:" >&5
24688 sed 's/^/| /' conftest.$ac_ext >&5
24690 eval "$as_ac_var=no"
24692 rm -f conftest.err conftest.$ac_objext \
24693 conftest$ac_exeext conftest.$ac_ext
24695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24696 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24697 if test `eval echo '${'$as_ac_var'}'` = yes; then
24698 cat >>confdefs.h <<_ACEOF
24699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24700 _ACEOF
24703 done
24705 else
24707 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
24708 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
24709 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24710 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
24711 echo $ECHO_N "(cached) $ECHO_C" >&6
24712 else
24716 ac_ext=cc
24717 ac_cpp='$CXXCPP $CPPFLAGS'
24718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24722 cat >conftest.$ac_ext <<_ACEOF
24723 /* confdefs.h. */
24724 _ACEOF
24725 cat confdefs.h >>conftest.$ac_ext
24726 cat >>conftest.$ac_ext <<_ACEOF
24727 /* end confdefs.h. */
24728 #include <math.h>
24729 #ifdef HAVE_IEEEFP_H
24730 #include <ieeefp.h>
24731 #endif
24734 main ()
24736 _sqrtl(0);
24738 return 0;
24740 _ACEOF
24741 rm -f conftest.$ac_objext
24742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24743 (eval $ac_compile) 2>conftest.er1
24744 ac_status=$?
24745 grep -v '^ *+' conftest.er1 >conftest.err
24746 rm -f conftest.er1
24747 cat conftest.err >&5
24748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24749 (exit $ac_status); } &&
24750 { ac_try='test -z "$ac_cxx_werror_flag"
24751 || test ! -s conftest.err'
24752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24753 (eval $ac_try) 2>&5
24754 ac_status=$?
24755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24756 (exit $ac_status); }; } &&
24757 { ac_try='test -s conftest.$ac_objext'
24758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24759 (eval $ac_try) 2>&5
24760 ac_status=$?
24761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24762 (exit $ac_status); }; }; then
24763 glibcxx_cv_func__sqrtl_use=yes
24764 else
24765 echo "$as_me: failed program was:" >&5
24766 sed 's/^/| /' conftest.$ac_ext >&5
24768 glibcxx_cv_func__sqrtl_use=no
24770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24771 ac_ext=c
24772 ac_cpp='$CPP $CPPFLAGS'
24773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24781 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
24782 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
24784 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
24786 for ac_func in _sqrtl
24788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24789 echo "$as_me:$LINENO: checking for $ac_func" >&5
24790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24791 if eval "test \"\${$as_ac_var+set}\" = set"; then
24792 echo $ECHO_N "(cached) $ECHO_C" >&6
24793 else
24794 if test x$gcc_no_link = xyes; then
24795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24797 { (exit 1); exit 1; }; }
24799 cat >conftest.$ac_ext <<_ACEOF
24800 /* confdefs.h. */
24801 _ACEOF
24802 cat confdefs.h >>conftest.$ac_ext
24803 cat >>conftest.$ac_ext <<_ACEOF
24804 /* end confdefs.h. */
24805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24807 #define $ac_func innocuous_$ac_func
24809 /* System header to define __stub macros and hopefully few prototypes,
24810 which can conflict with char $ac_func (); below.
24811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24812 <limits.h> exists even on freestanding compilers. */
24814 #ifdef __STDC__
24815 # include <limits.h>
24816 #else
24817 # include <assert.h>
24818 #endif
24820 #undef $ac_func
24822 /* Override any gcc2 internal prototype to avoid an error. */
24823 #ifdef __cplusplus
24824 extern "C"
24826 #endif
24827 /* We use char because int might match the return type of a gcc2
24828 builtin and then its argument prototype would still apply. */
24829 char $ac_func ();
24830 /* The GNU C library defines this for functions which it implements
24831 to always fail with ENOSYS. Some functions are actually named
24832 something starting with __ and the normal name is an alias. */
24833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24834 choke me
24835 #else
24836 char (*f) () = $ac_func;
24837 #endif
24838 #ifdef __cplusplus
24840 #endif
24843 main ()
24845 return f != $ac_func;
24847 return 0;
24849 _ACEOF
24850 rm -f conftest.$ac_objext conftest$ac_exeext
24851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24852 (eval $ac_link) 2>conftest.er1
24853 ac_status=$?
24854 grep -v '^ *+' conftest.er1 >conftest.err
24855 rm -f conftest.er1
24856 cat conftest.err >&5
24857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24858 (exit $ac_status); } &&
24859 { ac_try='test -z "$ac_c_werror_flag"
24860 || test ! -s conftest.err'
24861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24862 (eval $ac_try) 2>&5
24863 ac_status=$?
24864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24865 (exit $ac_status); }; } &&
24866 { ac_try='test -s conftest$ac_exeext'
24867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24868 (eval $ac_try) 2>&5
24869 ac_status=$?
24870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24871 (exit $ac_status); }; }; then
24872 eval "$as_ac_var=yes"
24873 else
24874 echo "$as_me: failed program was:" >&5
24875 sed 's/^/| /' conftest.$ac_ext >&5
24877 eval "$as_ac_var=no"
24879 rm -f conftest.err conftest.$ac_objext \
24880 conftest$ac_exeext conftest.$ac_ext
24882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24884 if test `eval echo '${'$as_ac_var'}'` = yes; then
24885 cat >>confdefs.h <<_ACEOF
24886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24887 _ACEOF
24890 done
24900 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
24901 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
24902 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
24903 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
24904 echo $ECHO_N "(cached) $ECHO_C" >&6
24905 else
24909 ac_ext=cc
24910 ac_cpp='$CXXCPP $CPPFLAGS'
24911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24915 cat >conftest.$ac_ext <<_ACEOF
24916 /* confdefs.h. */
24917 _ACEOF
24918 cat confdefs.h >>conftest.$ac_ext
24919 cat >>conftest.$ac_ext <<_ACEOF
24920 /* end confdefs.h. */
24921 #include <math.h>
24923 main ()
24925 sincosl(0, 0, 0);
24927 return 0;
24929 _ACEOF
24930 rm -f conftest.$ac_objext
24931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24932 (eval $ac_compile) 2>conftest.er1
24933 ac_status=$?
24934 grep -v '^ *+' conftest.er1 >conftest.err
24935 rm -f conftest.er1
24936 cat conftest.err >&5
24937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24938 (exit $ac_status); } &&
24939 { ac_try='test -z "$ac_cxx_werror_flag"
24940 || test ! -s conftest.err'
24941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24942 (eval $ac_try) 2>&5
24943 ac_status=$?
24944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24945 (exit $ac_status); }; } &&
24946 { ac_try='test -s conftest.$ac_objext'
24947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24948 (eval $ac_try) 2>&5
24949 ac_status=$?
24950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24951 (exit $ac_status); }; }; then
24952 glibcxx_cv_func_sincosl_use=yes
24953 else
24954 echo "$as_me: failed program was:" >&5
24955 sed 's/^/| /' conftest.$ac_ext >&5
24957 glibcxx_cv_func_sincosl_use=no
24959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24960 ac_ext=c
24961 ac_cpp='$CPP $CPPFLAGS'
24962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24970 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
24971 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
24973 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
24975 for ac_func in sincosl
24977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24978 echo "$as_me:$LINENO: checking for $ac_func" >&5
24979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24980 if eval "test \"\${$as_ac_var+set}\" = set"; then
24981 echo $ECHO_N "(cached) $ECHO_C" >&6
24982 else
24983 if test x$gcc_no_link = xyes; then
24984 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24986 { (exit 1); exit 1; }; }
24988 cat >conftest.$ac_ext <<_ACEOF
24989 /* confdefs.h. */
24990 _ACEOF
24991 cat confdefs.h >>conftest.$ac_ext
24992 cat >>conftest.$ac_ext <<_ACEOF
24993 /* end confdefs.h. */
24994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24996 #define $ac_func innocuous_$ac_func
24998 /* System header to define __stub macros and hopefully few prototypes,
24999 which can conflict with char $ac_func (); below.
25000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25001 <limits.h> exists even on freestanding compilers. */
25003 #ifdef __STDC__
25004 # include <limits.h>
25005 #else
25006 # include <assert.h>
25007 #endif
25009 #undef $ac_func
25011 /* Override any gcc2 internal prototype to avoid an error. */
25012 #ifdef __cplusplus
25013 extern "C"
25015 #endif
25016 /* We use char because int might match the return type of a gcc2
25017 builtin and then its argument prototype would still apply. */
25018 char $ac_func ();
25019 /* The GNU C library defines this for functions which it implements
25020 to always fail with ENOSYS. Some functions are actually named
25021 something starting with __ and the normal name is an alias. */
25022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25023 choke me
25024 #else
25025 char (*f) () = $ac_func;
25026 #endif
25027 #ifdef __cplusplus
25029 #endif
25032 main ()
25034 return f != $ac_func;
25036 return 0;
25038 _ACEOF
25039 rm -f conftest.$ac_objext conftest$ac_exeext
25040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25041 (eval $ac_link) 2>conftest.er1
25042 ac_status=$?
25043 grep -v '^ *+' conftest.er1 >conftest.err
25044 rm -f conftest.er1
25045 cat conftest.err >&5
25046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25047 (exit $ac_status); } &&
25048 { ac_try='test -z "$ac_c_werror_flag"
25049 || test ! -s conftest.err'
25050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25051 (eval $ac_try) 2>&5
25052 ac_status=$?
25053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25054 (exit $ac_status); }; } &&
25055 { ac_try='test -s conftest$ac_exeext'
25056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25057 (eval $ac_try) 2>&5
25058 ac_status=$?
25059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25060 (exit $ac_status); }; }; then
25061 eval "$as_ac_var=yes"
25062 else
25063 echo "$as_me: failed program was:" >&5
25064 sed 's/^/| /' conftest.$ac_ext >&5
25066 eval "$as_ac_var=no"
25068 rm -f conftest.err conftest.$ac_objext \
25069 conftest$ac_exeext conftest.$ac_ext
25071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25073 if test `eval echo '${'$as_ac_var'}'` = yes; then
25074 cat >>confdefs.h <<_ACEOF
25075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25076 _ACEOF
25079 done
25081 else
25083 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
25084 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
25085 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25086 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
25087 echo $ECHO_N "(cached) $ECHO_C" >&6
25088 else
25092 ac_ext=cc
25093 ac_cpp='$CXXCPP $CPPFLAGS'
25094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25098 cat >conftest.$ac_ext <<_ACEOF
25099 /* confdefs.h. */
25100 _ACEOF
25101 cat confdefs.h >>conftest.$ac_ext
25102 cat >>conftest.$ac_ext <<_ACEOF
25103 /* end confdefs.h. */
25104 #include <math.h>
25106 main ()
25108 _sincosl(0, 0, 0);
25110 return 0;
25112 _ACEOF
25113 rm -f conftest.$ac_objext
25114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25115 (eval $ac_compile) 2>conftest.er1
25116 ac_status=$?
25117 grep -v '^ *+' conftest.er1 >conftest.err
25118 rm -f conftest.er1
25119 cat conftest.err >&5
25120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25121 (exit $ac_status); } &&
25122 { ac_try='test -z "$ac_cxx_werror_flag"
25123 || test ! -s conftest.err'
25124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25125 (eval $ac_try) 2>&5
25126 ac_status=$?
25127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25128 (exit $ac_status); }; } &&
25129 { ac_try='test -s conftest.$ac_objext'
25130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25131 (eval $ac_try) 2>&5
25132 ac_status=$?
25133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25134 (exit $ac_status); }; }; then
25135 glibcxx_cv_func__sincosl_use=yes
25136 else
25137 echo "$as_me: failed program was:" >&5
25138 sed 's/^/| /' conftest.$ac_ext >&5
25140 glibcxx_cv_func__sincosl_use=no
25142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25143 ac_ext=c
25144 ac_cpp='$CPP $CPPFLAGS'
25145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25153 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
25154 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
25156 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25158 for ac_func in _sincosl
25160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25161 echo "$as_me:$LINENO: checking for $ac_func" >&5
25162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25163 if eval "test \"\${$as_ac_var+set}\" = set"; then
25164 echo $ECHO_N "(cached) $ECHO_C" >&6
25165 else
25166 if test x$gcc_no_link = xyes; then
25167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25169 { (exit 1); exit 1; }; }
25171 cat >conftest.$ac_ext <<_ACEOF
25172 /* confdefs.h. */
25173 _ACEOF
25174 cat confdefs.h >>conftest.$ac_ext
25175 cat >>conftest.$ac_ext <<_ACEOF
25176 /* end confdefs.h. */
25177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25179 #define $ac_func innocuous_$ac_func
25181 /* System header to define __stub macros and hopefully few prototypes,
25182 which can conflict with char $ac_func (); below.
25183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25184 <limits.h> exists even on freestanding compilers. */
25186 #ifdef __STDC__
25187 # include <limits.h>
25188 #else
25189 # include <assert.h>
25190 #endif
25192 #undef $ac_func
25194 /* Override any gcc2 internal prototype to avoid an error. */
25195 #ifdef __cplusplus
25196 extern "C"
25198 #endif
25199 /* We use char because int might match the return type of a gcc2
25200 builtin and then its argument prototype would still apply. */
25201 char $ac_func ();
25202 /* The GNU C library defines this for functions which it implements
25203 to always fail with ENOSYS. Some functions are actually named
25204 something starting with __ and the normal name is an alias. */
25205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25206 choke me
25207 #else
25208 char (*f) () = $ac_func;
25209 #endif
25210 #ifdef __cplusplus
25212 #endif
25215 main ()
25217 return f != $ac_func;
25219 return 0;
25221 _ACEOF
25222 rm -f conftest.$ac_objext conftest$ac_exeext
25223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25224 (eval $ac_link) 2>conftest.er1
25225 ac_status=$?
25226 grep -v '^ *+' conftest.er1 >conftest.err
25227 rm -f conftest.er1
25228 cat conftest.err >&5
25229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25230 (exit $ac_status); } &&
25231 { ac_try='test -z "$ac_c_werror_flag"
25232 || test ! -s conftest.err'
25233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25234 (eval $ac_try) 2>&5
25235 ac_status=$?
25236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25237 (exit $ac_status); }; } &&
25238 { ac_try='test -s conftest$ac_exeext'
25239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25240 (eval $ac_try) 2>&5
25241 ac_status=$?
25242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25243 (exit $ac_status); }; }; then
25244 eval "$as_ac_var=yes"
25245 else
25246 echo "$as_me: failed program was:" >&5
25247 sed 's/^/| /' conftest.$ac_ext >&5
25249 eval "$as_ac_var=no"
25251 rm -f conftest.err conftest.$ac_objext \
25252 conftest$ac_exeext conftest.$ac_ext
25254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25256 if test `eval echo '${'$as_ac_var'}'` = yes; then
25257 cat >>confdefs.h <<_ACEOF
25258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25259 _ACEOF
25262 done
25272 echo "$as_me:$LINENO: checking for finitel declaration" >&5
25273 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
25274 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25275 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
25276 echo $ECHO_N "(cached) $ECHO_C" >&6
25277 else
25281 ac_ext=cc
25282 ac_cpp='$CXXCPP $CPPFLAGS'
25283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25287 cat >conftest.$ac_ext <<_ACEOF
25288 /* confdefs.h. */
25289 _ACEOF
25290 cat confdefs.h >>conftest.$ac_ext
25291 cat >>conftest.$ac_ext <<_ACEOF
25292 /* end confdefs.h. */
25293 #include <math.h>
25294 #ifdef HAVE_IEEEFP_H
25295 #include <ieeefp.h>
25296 #endif
25299 main ()
25301 finitel(0);
25303 return 0;
25305 _ACEOF
25306 rm -f conftest.$ac_objext
25307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25308 (eval $ac_compile) 2>conftest.er1
25309 ac_status=$?
25310 grep -v '^ *+' conftest.er1 >conftest.err
25311 rm -f conftest.er1
25312 cat conftest.err >&5
25313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25314 (exit $ac_status); } &&
25315 { ac_try='test -z "$ac_cxx_werror_flag"
25316 || test ! -s conftest.err'
25317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25318 (eval $ac_try) 2>&5
25319 ac_status=$?
25320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25321 (exit $ac_status); }; } &&
25322 { ac_try='test -s conftest.$ac_objext'
25323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25324 (eval $ac_try) 2>&5
25325 ac_status=$?
25326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25327 (exit $ac_status); }; }; then
25328 glibcxx_cv_func_finitel_use=yes
25329 else
25330 echo "$as_me: failed program was:" >&5
25331 sed 's/^/| /' conftest.$ac_ext >&5
25333 glibcxx_cv_func_finitel_use=no
25335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25336 ac_ext=c
25337 ac_cpp='$CPP $CPPFLAGS'
25338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25346 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
25347 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
25349 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25351 for ac_func in finitel
25353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25354 echo "$as_me:$LINENO: checking for $ac_func" >&5
25355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25356 if eval "test \"\${$as_ac_var+set}\" = set"; then
25357 echo $ECHO_N "(cached) $ECHO_C" >&6
25358 else
25359 if test x$gcc_no_link = xyes; then
25360 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25362 { (exit 1); exit 1; }; }
25364 cat >conftest.$ac_ext <<_ACEOF
25365 /* confdefs.h. */
25366 _ACEOF
25367 cat confdefs.h >>conftest.$ac_ext
25368 cat >>conftest.$ac_ext <<_ACEOF
25369 /* end confdefs.h. */
25370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25372 #define $ac_func innocuous_$ac_func
25374 /* System header to define __stub macros and hopefully few prototypes,
25375 which can conflict with char $ac_func (); below.
25376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25377 <limits.h> exists even on freestanding compilers. */
25379 #ifdef __STDC__
25380 # include <limits.h>
25381 #else
25382 # include <assert.h>
25383 #endif
25385 #undef $ac_func
25387 /* Override any gcc2 internal prototype to avoid an error. */
25388 #ifdef __cplusplus
25389 extern "C"
25391 #endif
25392 /* We use char because int might match the return type of a gcc2
25393 builtin and then its argument prototype would still apply. */
25394 char $ac_func ();
25395 /* The GNU C library defines this for functions which it implements
25396 to always fail with ENOSYS. Some functions are actually named
25397 something starting with __ and the normal name is an alias. */
25398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25399 choke me
25400 #else
25401 char (*f) () = $ac_func;
25402 #endif
25403 #ifdef __cplusplus
25405 #endif
25408 main ()
25410 return f != $ac_func;
25412 return 0;
25414 _ACEOF
25415 rm -f conftest.$ac_objext conftest$ac_exeext
25416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25417 (eval $ac_link) 2>conftest.er1
25418 ac_status=$?
25419 grep -v '^ *+' conftest.er1 >conftest.err
25420 rm -f conftest.er1
25421 cat conftest.err >&5
25422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25423 (exit $ac_status); } &&
25424 { ac_try='test -z "$ac_c_werror_flag"
25425 || test ! -s conftest.err'
25426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25427 (eval $ac_try) 2>&5
25428 ac_status=$?
25429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25430 (exit $ac_status); }; } &&
25431 { ac_try='test -s conftest$ac_exeext'
25432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25433 (eval $ac_try) 2>&5
25434 ac_status=$?
25435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25436 (exit $ac_status); }; }; then
25437 eval "$as_ac_var=yes"
25438 else
25439 echo "$as_me: failed program was:" >&5
25440 sed 's/^/| /' conftest.$ac_ext >&5
25442 eval "$as_ac_var=no"
25444 rm -f conftest.err conftest.$ac_objext \
25445 conftest$ac_exeext conftest.$ac_ext
25447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25449 if test `eval echo '${'$as_ac_var'}'` = yes; then
25450 cat >>confdefs.h <<_ACEOF
25451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25452 _ACEOF
25455 done
25457 else
25459 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
25460 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
25461 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25462 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
25463 echo $ECHO_N "(cached) $ECHO_C" >&6
25464 else
25468 ac_ext=cc
25469 ac_cpp='$CXXCPP $CPPFLAGS'
25470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25474 cat >conftest.$ac_ext <<_ACEOF
25475 /* confdefs.h. */
25476 _ACEOF
25477 cat confdefs.h >>conftest.$ac_ext
25478 cat >>conftest.$ac_ext <<_ACEOF
25479 /* end confdefs.h. */
25480 #include <math.h>
25481 #ifdef HAVE_IEEEFP_H
25482 #include <ieeefp.h>
25483 #endif
25486 main ()
25488 _finitel(0);
25490 return 0;
25492 _ACEOF
25493 rm -f conftest.$ac_objext
25494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25495 (eval $ac_compile) 2>conftest.er1
25496 ac_status=$?
25497 grep -v '^ *+' conftest.er1 >conftest.err
25498 rm -f conftest.er1
25499 cat conftest.err >&5
25500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25501 (exit $ac_status); } &&
25502 { ac_try='test -z "$ac_cxx_werror_flag"
25503 || test ! -s conftest.err'
25504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25505 (eval $ac_try) 2>&5
25506 ac_status=$?
25507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25508 (exit $ac_status); }; } &&
25509 { ac_try='test -s conftest.$ac_objext'
25510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25511 (eval $ac_try) 2>&5
25512 ac_status=$?
25513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25514 (exit $ac_status); }; }; then
25515 glibcxx_cv_func__finitel_use=yes
25516 else
25517 echo "$as_me: failed program was:" >&5
25518 sed 's/^/| /' conftest.$ac_ext >&5
25520 glibcxx_cv_func__finitel_use=no
25522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25523 ac_ext=c
25524 ac_cpp='$CPP $CPPFLAGS'
25525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25533 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
25534 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
25536 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25538 for ac_func in _finitel
25540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25541 echo "$as_me:$LINENO: checking for $ac_func" >&5
25542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25543 if eval "test \"\${$as_ac_var+set}\" = set"; then
25544 echo $ECHO_N "(cached) $ECHO_C" >&6
25545 else
25546 if test x$gcc_no_link = xyes; then
25547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25549 { (exit 1); exit 1; }; }
25551 cat >conftest.$ac_ext <<_ACEOF
25552 /* confdefs.h. */
25553 _ACEOF
25554 cat confdefs.h >>conftest.$ac_ext
25555 cat >>conftest.$ac_ext <<_ACEOF
25556 /* end confdefs.h. */
25557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25559 #define $ac_func innocuous_$ac_func
25561 /* System header to define __stub macros and hopefully few prototypes,
25562 which can conflict with char $ac_func (); below.
25563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25564 <limits.h> exists even on freestanding compilers. */
25566 #ifdef __STDC__
25567 # include <limits.h>
25568 #else
25569 # include <assert.h>
25570 #endif
25572 #undef $ac_func
25574 /* Override any gcc2 internal prototype to avoid an error. */
25575 #ifdef __cplusplus
25576 extern "C"
25578 #endif
25579 /* We use char because int might match the return type of a gcc2
25580 builtin and then its argument prototype would still apply. */
25581 char $ac_func ();
25582 /* The GNU C library defines this for functions which it implements
25583 to always fail with ENOSYS. Some functions are actually named
25584 something starting with __ and the normal name is an alias. */
25585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25586 choke me
25587 #else
25588 char (*f) () = $ac_func;
25589 #endif
25590 #ifdef __cplusplus
25592 #endif
25595 main ()
25597 return f != $ac_func;
25599 return 0;
25601 _ACEOF
25602 rm -f conftest.$ac_objext conftest$ac_exeext
25603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25604 (eval $ac_link) 2>conftest.er1
25605 ac_status=$?
25606 grep -v '^ *+' conftest.er1 >conftest.err
25607 rm -f conftest.er1
25608 cat conftest.err >&5
25609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25610 (exit $ac_status); } &&
25611 { ac_try='test -z "$ac_c_werror_flag"
25612 || test ! -s conftest.err'
25613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25614 (eval $ac_try) 2>&5
25615 ac_status=$?
25616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25617 (exit $ac_status); }; } &&
25618 { ac_try='test -s conftest$ac_exeext'
25619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25620 (eval $ac_try) 2>&5
25621 ac_status=$?
25622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25623 (exit $ac_status); }; }; then
25624 eval "$as_ac_var=yes"
25625 else
25626 echo "$as_me: failed program was:" >&5
25627 sed 's/^/| /' conftest.$ac_ext >&5
25629 eval "$as_ac_var=no"
25631 rm -f conftest.err conftest.$ac_objext \
25632 conftest$ac_exeext conftest.$ac_ext
25634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25636 if test `eval echo '${'$as_ac_var'}'` = yes; then
25637 cat >>confdefs.h <<_ACEOF
25638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25639 _ACEOF
25642 done
25651 LIBS="$ac_save_LIBS"
25652 CXXFLAGS="$ac_save_CXXFLAGS"
25656 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25657 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25658 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25659 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25660 echo $ECHO_N "(cached) $ECHO_C" >&6
25661 else
25665 ac_ext=cc
25666 ac_cpp='$CXXCPP $CPPFLAGS'
25667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25671 cat >conftest.$ac_ext <<_ACEOF
25672 /* confdefs.h. */
25673 _ACEOF
25674 cat confdefs.h >>conftest.$ac_ext
25675 cat >>conftest.$ac_ext <<_ACEOF
25676 /* end confdefs.h. */
25677 #include <math.h>
25679 main ()
25681 __builtin_abs(0);
25683 return 0;
25685 _ACEOF
25686 rm -f conftest.$ac_objext
25687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25688 (eval $ac_compile) 2>conftest.er1
25689 ac_status=$?
25690 grep -v '^ *+' conftest.er1 >conftest.err
25691 rm -f conftest.er1
25692 cat conftest.err >&5
25693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25694 (exit $ac_status); } &&
25695 { ac_try='test -z "$ac_cxx_werror_flag"
25696 || test ! -s conftest.err'
25697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25698 (eval $ac_try) 2>&5
25699 ac_status=$?
25700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25701 (exit $ac_status); }; } &&
25702 { ac_try='test -s conftest.$ac_objext'
25703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25704 (eval $ac_try) 2>&5
25705 ac_status=$?
25706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25707 (exit $ac_status); }; }; then
25708 glibcxx_cv_func___builtin_abs_use=yes
25709 else
25710 echo "$as_me: failed program was:" >&5
25711 sed 's/^/| /' conftest.$ac_ext >&5
25713 glibcxx_cv_func___builtin_abs_use=no
25715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25716 ac_ext=c
25717 ac_cpp='$CPP $CPPFLAGS'
25718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25726 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25727 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25728 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25729 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25730 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25731 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25732 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25733 echo $ECHO_N "(cached) $ECHO_C" >&6
25734 else
25736 if test x$gcc_no_link = xyes; then
25737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25739 { (exit 1); exit 1; }; }
25741 cat >conftest.$ac_ext <<_ACEOF
25742 /* confdefs.h. */
25743 _ACEOF
25744 cat confdefs.h >>conftest.$ac_ext
25745 cat >>conftest.$ac_ext <<_ACEOF
25746 /* end confdefs.h. */
25747 #include <math.h>
25749 main ()
25751 __builtin_abs(0);
25753 return 0;
25755 _ACEOF
25756 rm -f conftest.$ac_objext conftest$ac_exeext
25757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25758 (eval $ac_link) 2>conftest.er1
25759 ac_status=$?
25760 grep -v '^ *+' conftest.er1 >conftest.err
25761 rm -f conftest.er1
25762 cat conftest.err >&5
25763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25764 (exit $ac_status); } &&
25765 { ac_try='test -z "$ac_c_werror_flag"
25766 || test ! -s conftest.err'
25767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25768 (eval $ac_try) 2>&5
25769 ac_status=$?
25770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25771 (exit $ac_status); }; } &&
25772 { ac_try='test -s conftest$ac_exeext'
25773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25774 (eval $ac_try) 2>&5
25775 ac_status=$?
25776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25777 (exit $ac_status); }; }; then
25778 glibcxx_cv_func___builtin_abs_link=yes
25779 else
25780 echo "$as_me: failed program was:" >&5
25781 sed 's/^/| /' conftest.$ac_ext >&5
25783 glibcxx_cv_func___builtin_abs_link=no
25785 rm -f conftest.err conftest.$ac_objext \
25786 conftest$ac_exeext conftest.$ac_ext
25791 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
25792 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
25794 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
25796 cat >>confdefs.h <<\_ACEOF
25797 #define HAVE___BUILTIN_ABS 1
25798 _ACEOF
25805 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
25806 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
25807 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
25808 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
25809 echo $ECHO_N "(cached) $ECHO_C" >&6
25810 else
25814 ac_ext=cc
25815 ac_cpp='$CXXCPP $CPPFLAGS'
25816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25820 cat >conftest.$ac_ext <<_ACEOF
25821 /* confdefs.h. */
25822 _ACEOF
25823 cat confdefs.h >>conftest.$ac_ext
25824 cat >>conftest.$ac_ext <<_ACEOF
25825 /* end confdefs.h. */
25826 #include <math.h>
25828 main ()
25830 __builtin_fabsf(0);
25832 return 0;
25834 _ACEOF
25835 rm -f conftest.$ac_objext
25836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25837 (eval $ac_compile) 2>conftest.er1
25838 ac_status=$?
25839 grep -v '^ *+' conftest.er1 >conftest.err
25840 rm -f conftest.er1
25841 cat conftest.err >&5
25842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25843 (exit $ac_status); } &&
25844 { ac_try='test -z "$ac_cxx_werror_flag"
25845 || test ! -s conftest.err'
25846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25847 (eval $ac_try) 2>&5
25848 ac_status=$?
25849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25850 (exit $ac_status); }; } &&
25851 { ac_try='test -s conftest.$ac_objext'
25852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25853 (eval $ac_try) 2>&5
25854 ac_status=$?
25855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25856 (exit $ac_status); }; }; then
25857 glibcxx_cv_func___builtin_fabsf_use=yes
25858 else
25859 echo "$as_me: failed program was:" >&5
25860 sed 's/^/| /' conftest.$ac_ext >&5
25862 glibcxx_cv_func___builtin_fabsf_use=no
25864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25865 ac_ext=c
25866 ac_cpp='$CPP $CPPFLAGS'
25867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25875 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
25876 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
25877 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
25878 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
25879 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
25880 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
25881 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
25882 echo $ECHO_N "(cached) $ECHO_C" >&6
25883 else
25885 if test x$gcc_no_link = xyes; then
25886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25888 { (exit 1); exit 1; }; }
25890 cat >conftest.$ac_ext <<_ACEOF
25891 /* confdefs.h. */
25892 _ACEOF
25893 cat confdefs.h >>conftest.$ac_ext
25894 cat >>conftest.$ac_ext <<_ACEOF
25895 /* end confdefs.h. */
25896 #include <math.h>
25898 main ()
25900 __builtin_fabsf(0);
25902 return 0;
25904 _ACEOF
25905 rm -f conftest.$ac_objext conftest$ac_exeext
25906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25907 (eval $ac_link) 2>conftest.er1
25908 ac_status=$?
25909 grep -v '^ *+' conftest.er1 >conftest.err
25910 rm -f conftest.er1
25911 cat conftest.err >&5
25912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25913 (exit $ac_status); } &&
25914 { ac_try='test -z "$ac_c_werror_flag"
25915 || test ! -s conftest.err'
25916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25917 (eval $ac_try) 2>&5
25918 ac_status=$?
25919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25920 (exit $ac_status); }; } &&
25921 { ac_try='test -s conftest$ac_exeext'
25922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25923 (eval $ac_try) 2>&5
25924 ac_status=$?
25925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25926 (exit $ac_status); }; }; then
25927 glibcxx_cv_func___builtin_fabsf_link=yes
25928 else
25929 echo "$as_me: failed program was:" >&5
25930 sed 's/^/| /' conftest.$ac_ext >&5
25932 glibcxx_cv_func___builtin_fabsf_link=no
25934 rm -f conftest.err conftest.$ac_objext \
25935 conftest$ac_exeext conftest.$ac_ext
25940 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
25941 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
25943 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
25945 cat >>confdefs.h <<\_ACEOF
25946 #define HAVE___BUILTIN_FABSF 1
25947 _ACEOF
25954 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
25955 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
25956 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
25957 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
25958 echo $ECHO_N "(cached) $ECHO_C" >&6
25959 else
25963 ac_ext=cc
25964 ac_cpp='$CXXCPP $CPPFLAGS'
25965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25969 cat >conftest.$ac_ext <<_ACEOF
25970 /* confdefs.h. */
25971 _ACEOF
25972 cat confdefs.h >>conftest.$ac_ext
25973 cat >>conftest.$ac_ext <<_ACEOF
25974 /* end confdefs.h. */
25975 #include <math.h>
25977 main ()
25979 __builtin_fabs(0);
25981 return 0;
25983 _ACEOF
25984 rm -f conftest.$ac_objext
25985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25986 (eval $ac_compile) 2>conftest.er1
25987 ac_status=$?
25988 grep -v '^ *+' conftest.er1 >conftest.err
25989 rm -f conftest.er1
25990 cat conftest.err >&5
25991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25992 (exit $ac_status); } &&
25993 { ac_try='test -z "$ac_cxx_werror_flag"
25994 || test ! -s conftest.err'
25995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25996 (eval $ac_try) 2>&5
25997 ac_status=$?
25998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25999 (exit $ac_status); }; } &&
26000 { ac_try='test -s conftest.$ac_objext'
26001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26002 (eval $ac_try) 2>&5
26003 ac_status=$?
26004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26005 (exit $ac_status); }; }; then
26006 glibcxx_cv_func___builtin_fabs_use=yes
26007 else
26008 echo "$as_me: failed program was:" >&5
26009 sed 's/^/| /' conftest.$ac_ext >&5
26011 glibcxx_cv_func___builtin_fabs_use=no
26013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26014 ac_ext=c
26015 ac_cpp='$CPP $CPPFLAGS'
26016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26024 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
26025 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
26026 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
26027 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
26028 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
26029 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
26030 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
26031 echo $ECHO_N "(cached) $ECHO_C" >&6
26032 else
26034 if test x$gcc_no_link = xyes; then
26035 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26037 { (exit 1); exit 1; }; }
26039 cat >conftest.$ac_ext <<_ACEOF
26040 /* confdefs.h. */
26041 _ACEOF
26042 cat confdefs.h >>conftest.$ac_ext
26043 cat >>conftest.$ac_ext <<_ACEOF
26044 /* end confdefs.h. */
26045 #include <math.h>
26047 main ()
26049 __builtin_fabs(0);
26051 return 0;
26053 _ACEOF
26054 rm -f conftest.$ac_objext conftest$ac_exeext
26055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26056 (eval $ac_link) 2>conftest.er1
26057 ac_status=$?
26058 grep -v '^ *+' conftest.er1 >conftest.err
26059 rm -f conftest.er1
26060 cat conftest.err >&5
26061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26062 (exit $ac_status); } &&
26063 { ac_try='test -z "$ac_c_werror_flag"
26064 || test ! -s conftest.err'
26065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26066 (eval $ac_try) 2>&5
26067 ac_status=$?
26068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26069 (exit $ac_status); }; } &&
26070 { ac_try='test -s conftest$ac_exeext'
26071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26072 (eval $ac_try) 2>&5
26073 ac_status=$?
26074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26075 (exit $ac_status); }; }; then
26076 glibcxx_cv_func___builtin_fabs_link=yes
26077 else
26078 echo "$as_me: failed program was:" >&5
26079 sed 's/^/| /' conftest.$ac_ext >&5
26081 glibcxx_cv_func___builtin_fabs_link=no
26083 rm -f conftest.err conftest.$ac_objext \
26084 conftest$ac_exeext conftest.$ac_ext
26089 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
26090 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
26092 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
26094 cat >>confdefs.h <<\_ACEOF
26095 #define HAVE___BUILTIN_FABS 1
26096 _ACEOF
26103 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
26104 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
26105 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
26106 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
26107 echo $ECHO_N "(cached) $ECHO_C" >&6
26108 else
26112 ac_ext=cc
26113 ac_cpp='$CXXCPP $CPPFLAGS'
26114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26118 cat >conftest.$ac_ext <<_ACEOF
26119 /* confdefs.h. */
26120 _ACEOF
26121 cat confdefs.h >>conftest.$ac_ext
26122 cat >>conftest.$ac_ext <<_ACEOF
26123 /* end confdefs.h. */
26124 #include <math.h>
26126 main ()
26128 __builtin_fabsl(0);
26130 return 0;
26132 _ACEOF
26133 rm -f conftest.$ac_objext
26134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26135 (eval $ac_compile) 2>conftest.er1
26136 ac_status=$?
26137 grep -v '^ *+' conftest.er1 >conftest.err
26138 rm -f conftest.er1
26139 cat conftest.err >&5
26140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26141 (exit $ac_status); } &&
26142 { ac_try='test -z "$ac_cxx_werror_flag"
26143 || test ! -s conftest.err'
26144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26145 (eval $ac_try) 2>&5
26146 ac_status=$?
26147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26148 (exit $ac_status); }; } &&
26149 { ac_try='test -s conftest.$ac_objext'
26150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26151 (eval $ac_try) 2>&5
26152 ac_status=$?
26153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26154 (exit $ac_status); }; }; then
26155 glibcxx_cv_func___builtin_fabsl_use=yes
26156 else
26157 echo "$as_me: failed program was:" >&5
26158 sed 's/^/| /' conftest.$ac_ext >&5
26160 glibcxx_cv_func___builtin_fabsl_use=no
26162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26163 ac_ext=c
26164 ac_cpp='$CPP $CPPFLAGS'
26165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26173 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
26174 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
26175 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
26176 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
26177 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
26178 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
26179 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
26180 echo $ECHO_N "(cached) $ECHO_C" >&6
26181 else
26183 if test x$gcc_no_link = xyes; then
26184 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26186 { (exit 1); exit 1; }; }
26188 cat >conftest.$ac_ext <<_ACEOF
26189 /* confdefs.h. */
26190 _ACEOF
26191 cat confdefs.h >>conftest.$ac_ext
26192 cat >>conftest.$ac_ext <<_ACEOF
26193 /* end confdefs.h. */
26194 #include <math.h>
26196 main ()
26198 __builtin_fabsl(0);
26200 return 0;
26202 _ACEOF
26203 rm -f conftest.$ac_objext conftest$ac_exeext
26204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26205 (eval $ac_link) 2>conftest.er1
26206 ac_status=$?
26207 grep -v '^ *+' conftest.er1 >conftest.err
26208 rm -f conftest.er1
26209 cat conftest.err >&5
26210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26211 (exit $ac_status); } &&
26212 { ac_try='test -z "$ac_c_werror_flag"
26213 || test ! -s conftest.err'
26214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26215 (eval $ac_try) 2>&5
26216 ac_status=$?
26217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26218 (exit $ac_status); }; } &&
26219 { ac_try='test -s conftest$ac_exeext'
26220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26221 (eval $ac_try) 2>&5
26222 ac_status=$?
26223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26224 (exit $ac_status); }; }; then
26225 glibcxx_cv_func___builtin_fabsl_link=yes
26226 else
26227 echo "$as_me: failed program was:" >&5
26228 sed 's/^/| /' conftest.$ac_ext >&5
26230 glibcxx_cv_func___builtin_fabsl_link=no
26232 rm -f conftest.err conftest.$ac_objext \
26233 conftest$ac_exeext conftest.$ac_ext
26238 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
26239 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
26241 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
26243 cat >>confdefs.h <<\_ACEOF
26244 #define HAVE___BUILTIN_FABSL 1
26245 _ACEOF
26252 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
26253 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
26254 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
26255 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
26256 echo $ECHO_N "(cached) $ECHO_C" >&6
26257 else
26261 ac_ext=cc
26262 ac_cpp='$CXXCPP $CPPFLAGS'
26263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26267 cat >conftest.$ac_ext <<_ACEOF
26268 /* confdefs.h. */
26269 _ACEOF
26270 cat confdefs.h >>conftest.$ac_ext
26271 cat >>conftest.$ac_ext <<_ACEOF
26272 /* end confdefs.h. */
26273 #include <math.h>
26275 main ()
26277 __builtin_labs(0);
26279 return 0;
26281 _ACEOF
26282 rm -f conftest.$ac_objext
26283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26284 (eval $ac_compile) 2>conftest.er1
26285 ac_status=$?
26286 grep -v '^ *+' conftest.er1 >conftest.err
26287 rm -f conftest.er1
26288 cat conftest.err >&5
26289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26290 (exit $ac_status); } &&
26291 { ac_try='test -z "$ac_cxx_werror_flag"
26292 || test ! -s conftest.err'
26293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26294 (eval $ac_try) 2>&5
26295 ac_status=$?
26296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26297 (exit $ac_status); }; } &&
26298 { ac_try='test -s conftest.$ac_objext'
26299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26300 (eval $ac_try) 2>&5
26301 ac_status=$?
26302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26303 (exit $ac_status); }; }; then
26304 glibcxx_cv_func___builtin_labs_use=yes
26305 else
26306 echo "$as_me: failed program was:" >&5
26307 sed 's/^/| /' conftest.$ac_ext >&5
26309 glibcxx_cv_func___builtin_labs_use=no
26311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26312 ac_ext=c
26313 ac_cpp='$CPP $CPPFLAGS'
26314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26322 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
26323 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
26324 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
26325 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
26326 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
26327 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
26328 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
26329 echo $ECHO_N "(cached) $ECHO_C" >&6
26330 else
26332 if test x$gcc_no_link = xyes; then
26333 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26335 { (exit 1); exit 1; }; }
26337 cat >conftest.$ac_ext <<_ACEOF
26338 /* confdefs.h. */
26339 _ACEOF
26340 cat confdefs.h >>conftest.$ac_ext
26341 cat >>conftest.$ac_ext <<_ACEOF
26342 /* end confdefs.h. */
26343 #include <math.h>
26345 main ()
26347 __builtin_labs(0);
26349 return 0;
26351 _ACEOF
26352 rm -f conftest.$ac_objext conftest$ac_exeext
26353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26354 (eval $ac_link) 2>conftest.er1
26355 ac_status=$?
26356 grep -v '^ *+' conftest.er1 >conftest.err
26357 rm -f conftest.er1
26358 cat conftest.err >&5
26359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26360 (exit $ac_status); } &&
26361 { ac_try='test -z "$ac_c_werror_flag"
26362 || test ! -s conftest.err'
26363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26364 (eval $ac_try) 2>&5
26365 ac_status=$?
26366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26367 (exit $ac_status); }; } &&
26368 { ac_try='test -s conftest$ac_exeext'
26369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26370 (eval $ac_try) 2>&5
26371 ac_status=$?
26372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26373 (exit $ac_status); }; }; then
26374 glibcxx_cv_func___builtin_labs_link=yes
26375 else
26376 echo "$as_me: failed program was:" >&5
26377 sed 's/^/| /' conftest.$ac_ext >&5
26379 glibcxx_cv_func___builtin_labs_link=no
26381 rm -f conftest.err conftest.$ac_objext \
26382 conftest$ac_exeext conftest.$ac_ext
26387 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
26388 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
26390 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
26392 cat >>confdefs.h <<\_ACEOF
26393 #define HAVE___BUILTIN_LABS 1
26394 _ACEOF
26402 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
26403 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
26404 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
26405 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
26406 echo $ECHO_N "(cached) $ECHO_C" >&6
26407 else
26411 ac_ext=cc
26412 ac_cpp='$CXXCPP $CPPFLAGS'
26413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26417 cat >conftest.$ac_ext <<_ACEOF
26418 /* confdefs.h. */
26419 _ACEOF
26420 cat confdefs.h >>conftest.$ac_ext
26421 cat >>conftest.$ac_ext <<_ACEOF
26422 /* end confdefs.h. */
26423 #include <math.h>
26425 main ()
26427 __builtin_sqrtf(0);
26429 return 0;
26431 _ACEOF
26432 rm -f conftest.$ac_objext
26433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26434 (eval $ac_compile) 2>conftest.er1
26435 ac_status=$?
26436 grep -v '^ *+' conftest.er1 >conftest.err
26437 rm -f conftest.er1
26438 cat conftest.err >&5
26439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26440 (exit $ac_status); } &&
26441 { ac_try='test -z "$ac_cxx_werror_flag"
26442 || test ! -s conftest.err'
26443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26444 (eval $ac_try) 2>&5
26445 ac_status=$?
26446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26447 (exit $ac_status); }; } &&
26448 { ac_try='test -s conftest.$ac_objext'
26449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26450 (eval $ac_try) 2>&5
26451 ac_status=$?
26452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26453 (exit $ac_status); }; }; then
26454 glibcxx_cv_func___builtin_sqrtf_use=yes
26455 else
26456 echo "$as_me: failed program was:" >&5
26457 sed 's/^/| /' conftest.$ac_ext >&5
26459 glibcxx_cv_func___builtin_sqrtf_use=no
26461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26462 ac_ext=c
26463 ac_cpp='$CPP $CPPFLAGS'
26464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26472 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
26473 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
26474 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
26475 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
26476 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
26477 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
26478 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
26479 echo $ECHO_N "(cached) $ECHO_C" >&6
26480 else
26482 if test x$gcc_no_link = xyes; then
26483 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26485 { (exit 1); exit 1; }; }
26487 cat >conftest.$ac_ext <<_ACEOF
26488 /* confdefs.h. */
26489 _ACEOF
26490 cat confdefs.h >>conftest.$ac_ext
26491 cat >>conftest.$ac_ext <<_ACEOF
26492 /* end confdefs.h. */
26493 #include <math.h>
26495 main ()
26497 __builtin_sqrtf(0);
26499 return 0;
26501 _ACEOF
26502 rm -f conftest.$ac_objext conftest$ac_exeext
26503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26504 (eval $ac_link) 2>conftest.er1
26505 ac_status=$?
26506 grep -v '^ *+' conftest.er1 >conftest.err
26507 rm -f conftest.er1
26508 cat conftest.err >&5
26509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26510 (exit $ac_status); } &&
26511 { ac_try='test -z "$ac_c_werror_flag"
26512 || test ! -s conftest.err'
26513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26514 (eval $ac_try) 2>&5
26515 ac_status=$?
26516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26517 (exit $ac_status); }; } &&
26518 { ac_try='test -s conftest$ac_exeext'
26519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26520 (eval $ac_try) 2>&5
26521 ac_status=$?
26522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26523 (exit $ac_status); }; }; then
26524 glibcxx_cv_func___builtin_sqrtf_link=yes
26525 else
26526 echo "$as_me: failed program was:" >&5
26527 sed 's/^/| /' conftest.$ac_ext >&5
26529 glibcxx_cv_func___builtin_sqrtf_link=no
26531 rm -f conftest.err conftest.$ac_objext \
26532 conftest$ac_exeext conftest.$ac_ext
26537 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26538 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26540 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26542 cat >>confdefs.h <<\_ACEOF
26543 #define HAVE___BUILTIN_SQRTF 1
26544 _ACEOF
26551 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26552 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26553 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26554 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26555 echo $ECHO_N "(cached) $ECHO_C" >&6
26556 else
26560 ac_ext=cc
26561 ac_cpp='$CXXCPP $CPPFLAGS'
26562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26566 cat >conftest.$ac_ext <<_ACEOF
26567 /* confdefs.h. */
26568 _ACEOF
26569 cat confdefs.h >>conftest.$ac_ext
26570 cat >>conftest.$ac_ext <<_ACEOF
26571 /* end confdefs.h. */
26572 #include <math.h>
26574 main ()
26576 __builtin_sqrt(0);
26578 return 0;
26580 _ACEOF
26581 rm -f conftest.$ac_objext
26582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26583 (eval $ac_compile) 2>conftest.er1
26584 ac_status=$?
26585 grep -v '^ *+' conftest.er1 >conftest.err
26586 rm -f conftest.er1
26587 cat conftest.err >&5
26588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26589 (exit $ac_status); } &&
26590 { ac_try='test -z "$ac_cxx_werror_flag"
26591 || test ! -s conftest.err'
26592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26593 (eval $ac_try) 2>&5
26594 ac_status=$?
26595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26596 (exit $ac_status); }; } &&
26597 { ac_try='test -s conftest.$ac_objext'
26598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26599 (eval $ac_try) 2>&5
26600 ac_status=$?
26601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26602 (exit $ac_status); }; }; then
26603 glibcxx_cv_func___builtin_sqrt_use=yes
26604 else
26605 echo "$as_me: failed program was:" >&5
26606 sed 's/^/| /' conftest.$ac_ext >&5
26608 glibcxx_cv_func___builtin_sqrt_use=no
26610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26611 ac_ext=c
26612 ac_cpp='$CPP $CPPFLAGS'
26613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26621 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26622 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26623 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26624 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26625 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26626 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26627 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26628 echo $ECHO_N "(cached) $ECHO_C" >&6
26629 else
26631 if test x$gcc_no_link = xyes; then
26632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26634 { (exit 1); exit 1; }; }
26636 cat >conftest.$ac_ext <<_ACEOF
26637 /* confdefs.h. */
26638 _ACEOF
26639 cat confdefs.h >>conftest.$ac_ext
26640 cat >>conftest.$ac_ext <<_ACEOF
26641 /* end confdefs.h. */
26642 #include <math.h>
26644 main ()
26646 __builtin_sqrt(0);
26648 return 0;
26650 _ACEOF
26651 rm -f conftest.$ac_objext conftest$ac_exeext
26652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26653 (eval $ac_link) 2>conftest.er1
26654 ac_status=$?
26655 grep -v '^ *+' conftest.er1 >conftest.err
26656 rm -f conftest.er1
26657 cat conftest.err >&5
26658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26659 (exit $ac_status); } &&
26660 { ac_try='test -z "$ac_c_werror_flag"
26661 || test ! -s conftest.err'
26662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26663 (eval $ac_try) 2>&5
26664 ac_status=$?
26665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26666 (exit $ac_status); }; } &&
26667 { ac_try='test -s conftest$ac_exeext'
26668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26669 (eval $ac_try) 2>&5
26670 ac_status=$?
26671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26672 (exit $ac_status); }; }; then
26673 glibcxx_cv_func___builtin_sqrt_link=yes
26674 else
26675 echo "$as_me: failed program was:" >&5
26676 sed 's/^/| /' conftest.$ac_ext >&5
26678 glibcxx_cv_func___builtin_sqrt_link=no
26680 rm -f conftest.err conftest.$ac_objext \
26681 conftest$ac_exeext conftest.$ac_ext
26686 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26687 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26689 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26691 cat >>confdefs.h <<\_ACEOF
26692 #define HAVE___BUILTIN_SQRT 1
26693 _ACEOF
26700 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26701 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26702 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26703 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26704 echo $ECHO_N "(cached) $ECHO_C" >&6
26705 else
26709 ac_ext=cc
26710 ac_cpp='$CXXCPP $CPPFLAGS'
26711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26715 cat >conftest.$ac_ext <<_ACEOF
26716 /* confdefs.h. */
26717 _ACEOF
26718 cat confdefs.h >>conftest.$ac_ext
26719 cat >>conftest.$ac_ext <<_ACEOF
26720 /* end confdefs.h. */
26721 #include <math.h>
26723 main ()
26725 __builtin_sqrtl(0);
26727 return 0;
26729 _ACEOF
26730 rm -f conftest.$ac_objext
26731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26732 (eval $ac_compile) 2>conftest.er1
26733 ac_status=$?
26734 grep -v '^ *+' conftest.er1 >conftest.err
26735 rm -f conftest.er1
26736 cat conftest.err >&5
26737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26738 (exit $ac_status); } &&
26739 { ac_try='test -z "$ac_cxx_werror_flag"
26740 || test ! -s conftest.err'
26741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26742 (eval $ac_try) 2>&5
26743 ac_status=$?
26744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26745 (exit $ac_status); }; } &&
26746 { ac_try='test -s conftest.$ac_objext'
26747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26748 (eval $ac_try) 2>&5
26749 ac_status=$?
26750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26751 (exit $ac_status); }; }; then
26752 glibcxx_cv_func___builtin_sqrtl_use=yes
26753 else
26754 echo "$as_me: failed program was:" >&5
26755 sed 's/^/| /' conftest.$ac_ext >&5
26757 glibcxx_cv_func___builtin_sqrtl_use=no
26759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26760 ac_ext=c
26761 ac_cpp='$CPP $CPPFLAGS'
26762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26770 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
26771 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
26772 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
26773 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
26774 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
26775 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
26776 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
26777 echo $ECHO_N "(cached) $ECHO_C" >&6
26778 else
26780 if test x$gcc_no_link = xyes; then
26781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26783 { (exit 1); exit 1; }; }
26785 cat >conftest.$ac_ext <<_ACEOF
26786 /* confdefs.h. */
26787 _ACEOF
26788 cat confdefs.h >>conftest.$ac_ext
26789 cat >>conftest.$ac_ext <<_ACEOF
26790 /* end confdefs.h. */
26791 #include <math.h>
26793 main ()
26795 __builtin_sqrtl(0);
26797 return 0;
26799 _ACEOF
26800 rm -f conftest.$ac_objext conftest$ac_exeext
26801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26802 (eval $ac_link) 2>conftest.er1
26803 ac_status=$?
26804 grep -v '^ *+' conftest.er1 >conftest.err
26805 rm -f conftest.er1
26806 cat conftest.err >&5
26807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26808 (exit $ac_status); } &&
26809 { ac_try='test -z "$ac_c_werror_flag"
26810 || test ! -s conftest.err'
26811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26812 (eval $ac_try) 2>&5
26813 ac_status=$?
26814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26815 (exit $ac_status); }; } &&
26816 { ac_try='test -s conftest$ac_exeext'
26817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26818 (eval $ac_try) 2>&5
26819 ac_status=$?
26820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26821 (exit $ac_status); }; }; then
26822 glibcxx_cv_func___builtin_sqrtl_link=yes
26823 else
26824 echo "$as_me: failed program was:" >&5
26825 sed 's/^/| /' conftest.$ac_ext >&5
26827 glibcxx_cv_func___builtin_sqrtl_link=no
26829 rm -f conftest.err conftest.$ac_objext \
26830 conftest$ac_exeext conftest.$ac_ext
26835 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
26836 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
26838 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
26840 cat >>confdefs.h <<\_ACEOF
26841 #define HAVE___BUILTIN_SQRTL 1
26842 _ACEOF
26850 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
26851 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
26852 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
26853 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
26854 echo $ECHO_N "(cached) $ECHO_C" >&6
26855 else
26859 ac_ext=cc
26860 ac_cpp='$CXXCPP $CPPFLAGS'
26861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26865 cat >conftest.$ac_ext <<_ACEOF
26866 /* confdefs.h. */
26867 _ACEOF
26868 cat confdefs.h >>conftest.$ac_ext
26869 cat >>conftest.$ac_ext <<_ACEOF
26870 /* end confdefs.h. */
26871 #include <math.h>
26873 main ()
26875 __builtin_sinf(0);
26877 return 0;
26879 _ACEOF
26880 rm -f conftest.$ac_objext
26881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26882 (eval $ac_compile) 2>conftest.er1
26883 ac_status=$?
26884 grep -v '^ *+' conftest.er1 >conftest.err
26885 rm -f conftest.er1
26886 cat conftest.err >&5
26887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26888 (exit $ac_status); } &&
26889 { ac_try='test -z "$ac_cxx_werror_flag"
26890 || test ! -s conftest.err'
26891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26892 (eval $ac_try) 2>&5
26893 ac_status=$?
26894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26895 (exit $ac_status); }; } &&
26896 { ac_try='test -s conftest.$ac_objext'
26897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26898 (eval $ac_try) 2>&5
26899 ac_status=$?
26900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26901 (exit $ac_status); }; }; then
26902 glibcxx_cv_func___builtin_sinf_use=yes
26903 else
26904 echo "$as_me: failed program was:" >&5
26905 sed 's/^/| /' conftest.$ac_ext >&5
26907 glibcxx_cv_func___builtin_sinf_use=no
26909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26910 ac_ext=c
26911 ac_cpp='$CPP $CPPFLAGS'
26912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26920 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
26921 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
26922 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
26923 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
26924 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
26925 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
26926 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
26927 echo $ECHO_N "(cached) $ECHO_C" >&6
26928 else
26930 if test x$gcc_no_link = xyes; then
26931 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26933 { (exit 1); exit 1; }; }
26935 cat >conftest.$ac_ext <<_ACEOF
26936 /* confdefs.h. */
26937 _ACEOF
26938 cat confdefs.h >>conftest.$ac_ext
26939 cat >>conftest.$ac_ext <<_ACEOF
26940 /* end confdefs.h. */
26941 #include <math.h>
26943 main ()
26945 __builtin_sinf(0);
26947 return 0;
26949 _ACEOF
26950 rm -f conftest.$ac_objext conftest$ac_exeext
26951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26952 (eval $ac_link) 2>conftest.er1
26953 ac_status=$?
26954 grep -v '^ *+' conftest.er1 >conftest.err
26955 rm -f conftest.er1
26956 cat conftest.err >&5
26957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26958 (exit $ac_status); } &&
26959 { ac_try='test -z "$ac_c_werror_flag"
26960 || test ! -s conftest.err'
26961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26962 (eval $ac_try) 2>&5
26963 ac_status=$?
26964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26965 (exit $ac_status); }; } &&
26966 { ac_try='test -s conftest$ac_exeext'
26967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26968 (eval $ac_try) 2>&5
26969 ac_status=$?
26970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26971 (exit $ac_status); }; }; then
26972 glibcxx_cv_func___builtin_sinf_link=yes
26973 else
26974 echo "$as_me: failed program was:" >&5
26975 sed 's/^/| /' conftest.$ac_ext >&5
26977 glibcxx_cv_func___builtin_sinf_link=no
26979 rm -f conftest.err conftest.$ac_objext \
26980 conftest$ac_exeext conftest.$ac_ext
26985 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
26986 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
26988 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
26990 cat >>confdefs.h <<\_ACEOF
26991 #define HAVE___BUILTIN_SINF 1
26992 _ACEOF
26999 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
27000 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
27001 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
27002 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
27003 echo $ECHO_N "(cached) $ECHO_C" >&6
27004 else
27008 ac_ext=cc
27009 ac_cpp='$CXXCPP $CPPFLAGS'
27010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27014 cat >conftest.$ac_ext <<_ACEOF
27015 /* confdefs.h. */
27016 _ACEOF
27017 cat confdefs.h >>conftest.$ac_ext
27018 cat >>conftest.$ac_ext <<_ACEOF
27019 /* end confdefs.h. */
27020 #include <math.h>
27022 main ()
27024 __builtin_sin(0);
27026 return 0;
27028 _ACEOF
27029 rm -f conftest.$ac_objext
27030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27031 (eval $ac_compile) 2>conftest.er1
27032 ac_status=$?
27033 grep -v '^ *+' conftest.er1 >conftest.err
27034 rm -f conftest.er1
27035 cat conftest.err >&5
27036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27037 (exit $ac_status); } &&
27038 { ac_try='test -z "$ac_cxx_werror_flag"
27039 || test ! -s conftest.err'
27040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27041 (eval $ac_try) 2>&5
27042 ac_status=$?
27043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27044 (exit $ac_status); }; } &&
27045 { ac_try='test -s conftest.$ac_objext'
27046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27047 (eval $ac_try) 2>&5
27048 ac_status=$?
27049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27050 (exit $ac_status); }; }; then
27051 glibcxx_cv_func___builtin_sin_use=yes
27052 else
27053 echo "$as_me: failed program was:" >&5
27054 sed 's/^/| /' conftest.$ac_ext >&5
27056 glibcxx_cv_func___builtin_sin_use=no
27058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27059 ac_ext=c
27060 ac_cpp='$CPP $CPPFLAGS'
27061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27069 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
27070 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
27071 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
27072 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
27073 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
27074 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
27075 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
27076 echo $ECHO_N "(cached) $ECHO_C" >&6
27077 else
27079 if test x$gcc_no_link = xyes; then
27080 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27082 { (exit 1); exit 1; }; }
27084 cat >conftest.$ac_ext <<_ACEOF
27085 /* confdefs.h. */
27086 _ACEOF
27087 cat confdefs.h >>conftest.$ac_ext
27088 cat >>conftest.$ac_ext <<_ACEOF
27089 /* end confdefs.h. */
27090 #include <math.h>
27092 main ()
27094 __builtin_sin(0);
27096 return 0;
27098 _ACEOF
27099 rm -f conftest.$ac_objext conftest$ac_exeext
27100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27101 (eval $ac_link) 2>conftest.er1
27102 ac_status=$?
27103 grep -v '^ *+' conftest.er1 >conftest.err
27104 rm -f conftest.er1
27105 cat conftest.err >&5
27106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27107 (exit $ac_status); } &&
27108 { ac_try='test -z "$ac_c_werror_flag"
27109 || test ! -s conftest.err'
27110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27111 (eval $ac_try) 2>&5
27112 ac_status=$?
27113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27114 (exit $ac_status); }; } &&
27115 { ac_try='test -s conftest$ac_exeext'
27116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27117 (eval $ac_try) 2>&5
27118 ac_status=$?
27119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27120 (exit $ac_status); }; }; then
27121 glibcxx_cv_func___builtin_sin_link=yes
27122 else
27123 echo "$as_me: failed program was:" >&5
27124 sed 's/^/| /' conftest.$ac_ext >&5
27126 glibcxx_cv_func___builtin_sin_link=no
27128 rm -f conftest.err conftest.$ac_objext \
27129 conftest$ac_exeext conftest.$ac_ext
27134 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
27135 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
27137 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
27139 cat >>confdefs.h <<\_ACEOF
27140 #define HAVE___BUILTIN_SIN 1
27141 _ACEOF
27148 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
27149 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
27150 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
27151 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
27152 echo $ECHO_N "(cached) $ECHO_C" >&6
27153 else
27157 ac_ext=cc
27158 ac_cpp='$CXXCPP $CPPFLAGS'
27159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27163 cat >conftest.$ac_ext <<_ACEOF
27164 /* confdefs.h. */
27165 _ACEOF
27166 cat confdefs.h >>conftest.$ac_ext
27167 cat >>conftest.$ac_ext <<_ACEOF
27168 /* end confdefs.h. */
27169 #include <math.h>
27171 main ()
27173 __builtin_sinl(0);
27175 return 0;
27177 _ACEOF
27178 rm -f conftest.$ac_objext
27179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27180 (eval $ac_compile) 2>conftest.er1
27181 ac_status=$?
27182 grep -v '^ *+' conftest.er1 >conftest.err
27183 rm -f conftest.er1
27184 cat conftest.err >&5
27185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27186 (exit $ac_status); } &&
27187 { ac_try='test -z "$ac_cxx_werror_flag"
27188 || test ! -s conftest.err'
27189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27190 (eval $ac_try) 2>&5
27191 ac_status=$?
27192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27193 (exit $ac_status); }; } &&
27194 { ac_try='test -s conftest.$ac_objext'
27195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27196 (eval $ac_try) 2>&5
27197 ac_status=$?
27198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27199 (exit $ac_status); }; }; then
27200 glibcxx_cv_func___builtin_sinl_use=yes
27201 else
27202 echo "$as_me: failed program was:" >&5
27203 sed 's/^/| /' conftest.$ac_ext >&5
27205 glibcxx_cv_func___builtin_sinl_use=no
27207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27208 ac_ext=c
27209 ac_cpp='$CPP $CPPFLAGS'
27210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27218 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
27219 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
27220 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
27221 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
27222 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
27223 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
27224 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
27225 echo $ECHO_N "(cached) $ECHO_C" >&6
27226 else
27228 if test x$gcc_no_link = xyes; then
27229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27231 { (exit 1); exit 1; }; }
27233 cat >conftest.$ac_ext <<_ACEOF
27234 /* confdefs.h. */
27235 _ACEOF
27236 cat confdefs.h >>conftest.$ac_ext
27237 cat >>conftest.$ac_ext <<_ACEOF
27238 /* end confdefs.h. */
27239 #include <math.h>
27241 main ()
27243 __builtin_sinl(0);
27245 return 0;
27247 _ACEOF
27248 rm -f conftest.$ac_objext conftest$ac_exeext
27249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27250 (eval $ac_link) 2>conftest.er1
27251 ac_status=$?
27252 grep -v '^ *+' conftest.er1 >conftest.err
27253 rm -f conftest.er1
27254 cat conftest.err >&5
27255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27256 (exit $ac_status); } &&
27257 { ac_try='test -z "$ac_c_werror_flag"
27258 || test ! -s conftest.err'
27259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27260 (eval $ac_try) 2>&5
27261 ac_status=$?
27262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27263 (exit $ac_status); }; } &&
27264 { ac_try='test -s conftest$ac_exeext'
27265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27266 (eval $ac_try) 2>&5
27267 ac_status=$?
27268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27269 (exit $ac_status); }; }; then
27270 glibcxx_cv_func___builtin_sinl_link=yes
27271 else
27272 echo "$as_me: failed program was:" >&5
27273 sed 's/^/| /' conftest.$ac_ext >&5
27275 glibcxx_cv_func___builtin_sinl_link=no
27277 rm -f conftest.err conftest.$ac_objext \
27278 conftest$ac_exeext conftest.$ac_ext
27283 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
27284 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
27286 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
27288 cat >>confdefs.h <<\_ACEOF
27289 #define HAVE___BUILTIN_SINL 1
27290 _ACEOF
27298 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
27299 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
27300 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
27301 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
27302 echo $ECHO_N "(cached) $ECHO_C" >&6
27303 else
27307 ac_ext=cc
27308 ac_cpp='$CXXCPP $CPPFLAGS'
27309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27313 cat >conftest.$ac_ext <<_ACEOF
27314 /* confdefs.h. */
27315 _ACEOF
27316 cat confdefs.h >>conftest.$ac_ext
27317 cat >>conftest.$ac_ext <<_ACEOF
27318 /* end confdefs.h. */
27319 #include <math.h>
27321 main ()
27323 __builtin_cosf(0);
27325 return 0;
27327 _ACEOF
27328 rm -f conftest.$ac_objext
27329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27330 (eval $ac_compile) 2>conftest.er1
27331 ac_status=$?
27332 grep -v '^ *+' conftest.er1 >conftest.err
27333 rm -f conftest.er1
27334 cat conftest.err >&5
27335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27336 (exit $ac_status); } &&
27337 { ac_try='test -z "$ac_cxx_werror_flag"
27338 || test ! -s conftest.err'
27339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27340 (eval $ac_try) 2>&5
27341 ac_status=$?
27342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27343 (exit $ac_status); }; } &&
27344 { ac_try='test -s conftest.$ac_objext'
27345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27346 (eval $ac_try) 2>&5
27347 ac_status=$?
27348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27349 (exit $ac_status); }; }; then
27350 glibcxx_cv_func___builtin_cosf_use=yes
27351 else
27352 echo "$as_me: failed program was:" >&5
27353 sed 's/^/| /' conftest.$ac_ext >&5
27355 glibcxx_cv_func___builtin_cosf_use=no
27357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27358 ac_ext=c
27359 ac_cpp='$CPP $CPPFLAGS'
27360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27368 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
27369 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
27370 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
27371 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
27372 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
27373 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
27374 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
27375 echo $ECHO_N "(cached) $ECHO_C" >&6
27376 else
27378 if test x$gcc_no_link = xyes; then
27379 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27381 { (exit 1); exit 1; }; }
27383 cat >conftest.$ac_ext <<_ACEOF
27384 /* confdefs.h. */
27385 _ACEOF
27386 cat confdefs.h >>conftest.$ac_ext
27387 cat >>conftest.$ac_ext <<_ACEOF
27388 /* end confdefs.h. */
27389 #include <math.h>
27391 main ()
27393 __builtin_cosf(0);
27395 return 0;
27397 _ACEOF
27398 rm -f conftest.$ac_objext conftest$ac_exeext
27399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27400 (eval $ac_link) 2>conftest.er1
27401 ac_status=$?
27402 grep -v '^ *+' conftest.er1 >conftest.err
27403 rm -f conftest.er1
27404 cat conftest.err >&5
27405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27406 (exit $ac_status); } &&
27407 { ac_try='test -z "$ac_c_werror_flag"
27408 || test ! -s conftest.err'
27409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27410 (eval $ac_try) 2>&5
27411 ac_status=$?
27412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27413 (exit $ac_status); }; } &&
27414 { ac_try='test -s conftest$ac_exeext'
27415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27416 (eval $ac_try) 2>&5
27417 ac_status=$?
27418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27419 (exit $ac_status); }; }; then
27420 glibcxx_cv_func___builtin_cosf_link=yes
27421 else
27422 echo "$as_me: failed program was:" >&5
27423 sed 's/^/| /' conftest.$ac_ext >&5
27425 glibcxx_cv_func___builtin_cosf_link=no
27427 rm -f conftest.err conftest.$ac_objext \
27428 conftest$ac_exeext conftest.$ac_ext
27433 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
27434 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
27436 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
27438 cat >>confdefs.h <<\_ACEOF
27439 #define HAVE___BUILTIN_COSF 1
27440 _ACEOF
27447 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
27448 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
27449 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
27450 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
27451 echo $ECHO_N "(cached) $ECHO_C" >&6
27452 else
27456 ac_ext=cc
27457 ac_cpp='$CXXCPP $CPPFLAGS'
27458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27462 cat >conftest.$ac_ext <<_ACEOF
27463 /* confdefs.h. */
27464 _ACEOF
27465 cat confdefs.h >>conftest.$ac_ext
27466 cat >>conftest.$ac_ext <<_ACEOF
27467 /* end confdefs.h. */
27468 #include <math.h>
27470 main ()
27472 __builtin_cos(0);
27474 return 0;
27476 _ACEOF
27477 rm -f conftest.$ac_objext
27478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27479 (eval $ac_compile) 2>conftest.er1
27480 ac_status=$?
27481 grep -v '^ *+' conftest.er1 >conftest.err
27482 rm -f conftest.er1
27483 cat conftest.err >&5
27484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27485 (exit $ac_status); } &&
27486 { ac_try='test -z "$ac_cxx_werror_flag"
27487 || test ! -s conftest.err'
27488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27489 (eval $ac_try) 2>&5
27490 ac_status=$?
27491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27492 (exit $ac_status); }; } &&
27493 { ac_try='test -s conftest.$ac_objext'
27494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27495 (eval $ac_try) 2>&5
27496 ac_status=$?
27497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27498 (exit $ac_status); }; }; then
27499 glibcxx_cv_func___builtin_cos_use=yes
27500 else
27501 echo "$as_me: failed program was:" >&5
27502 sed 's/^/| /' conftest.$ac_ext >&5
27504 glibcxx_cv_func___builtin_cos_use=no
27506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27507 ac_ext=c
27508 ac_cpp='$CPP $CPPFLAGS'
27509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27517 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
27518 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
27519 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
27520 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
27521 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
27522 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
27523 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
27524 echo $ECHO_N "(cached) $ECHO_C" >&6
27525 else
27527 if test x$gcc_no_link = xyes; then
27528 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27530 { (exit 1); exit 1; }; }
27532 cat >conftest.$ac_ext <<_ACEOF
27533 /* confdefs.h. */
27534 _ACEOF
27535 cat confdefs.h >>conftest.$ac_ext
27536 cat >>conftest.$ac_ext <<_ACEOF
27537 /* end confdefs.h. */
27538 #include <math.h>
27540 main ()
27542 __builtin_cos(0);
27544 return 0;
27546 _ACEOF
27547 rm -f conftest.$ac_objext conftest$ac_exeext
27548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27549 (eval $ac_link) 2>conftest.er1
27550 ac_status=$?
27551 grep -v '^ *+' conftest.er1 >conftest.err
27552 rm -f conftest.er1
27553 cat conftest.err >&5
27554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27555 (exit $ac_status); } &&
27556 { ac_try='test -z "$ac_c_werror_flag"
27557 || test ! -s conftest.err'
27558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27559 (eval $ac_try) 2>&5
27560 ac_status=$?
27561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27562 (exit $ac_status); }; } &&
27563 { ac_try='test -s conftest$ac_exeext'
27564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27565 (eval $ac_try) 2>&5
27566 ac_status=$?
27567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27568 (exit $ac_status); }; }; then
27569 glibcxx_cv_func___builtin_cos_link=yes
27570 else
27571 echo "$as_me: failed program was:" >&5
27572 sed 's/^/| /' conftest.$ac_ext >&5
27574 glibcxx_cv_func___builtin_cos_link=no
27576 rm -f conftest.err conftest.$ac_objext \
27577 conftest$ac_exeext conftest.$ac_ext
27582 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27583 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27585 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27587 cat >>confdefs.h <<\_ACEOF
27588 #define HAVE___BUILTIN_COS 1
27589 _ACEOF
27596 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27597 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27598 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27599 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27600 echo $ECHO_N "(cached) $ECHO_C" >&6
27601 else
27605 ac_ext=cc
27606 ac_cpp='$CXXCPP $CPPFLAGS'
27607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27611 cat >conftest.$ac_ext <<_ACEOF
27612 /* confdefs.h. */
27613 _ACEOF
27614 cat confdefs.h >>conftest.$ac_ext
27615 cat >>conftest.$ac_ext <<_ACEOF
27616 /* end confdefs.h. */
27617 #include <math.h>
27619 main ()
27621 __builtin_cosl(0);
27623 return 0;
27625 _ACEOF
27626 rm -f conftest.$ac_objext
27627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27628 (eval $ac_compile) 2>conftest.er1
27629 ac_status=$?
27630 grep -v '^ *+' conftest.er1 >conftest.err
27631 rm -f conftest.er1
27632 cat conftest.err >&5
27633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27634 (exit $ac_status); } &&
27635 { ac_try='test -z "$ac_cxx_werror_flag"
27636 || test ! -s conftest.err'
27637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27638 (eval $ac_try) 2>&5
27639 ac_status=$?
27640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27641 (exit $ac_status); }; } &&
27642 { ac_try='test -s conftest.$ac_objext'
27643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27644 (eval $ac_try) 2>&5
27645 ac_status=$?
27646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27647 (exit $ac_status); }; }; then
27648 glibcxx_cv_func___builtin_cosl_use=yes
27649 else
27650 echo "$as_me: failed program was:" >&5
27651 sed 's/^/| /' conftest.$ac_ext >&5
27653 glibcxx_cv_func___builtin_cosl_use=no
27655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27656 ac_ext=c
27657 ac_cpp='$CPP $CPPFLAGS'
27658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27666 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27667 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27668 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27669 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27670 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27671 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27672 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27673 echo $ECHO_N "(cached) $ECHO_C" >&6
27674 else
27676 if test x$gcc_no_link = xyes; then
27677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27679 { (exit 1); exit 1; }; }
27681 cat >conftest.$ac_ext <<_ACEOF
27682 /* confdefs.h. */
27683 _ACEOF
27684 cat confdefs.h >>conftest.$ac_ext
27685 cat >>conftest.$ac_ext <<_ACEOF
27686 /* end confdefs.h. */
27687 #include <math.h>
27689 main ()
27691 __builtin_cosl(0);
27693 return 0;
27695 _ACEOF
27696 rm -f conftest.$ac_objext conftest$ac_exeext
27697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27698 (eval $ac_link) 2>conftest.er1
27699 ac_status=$?
27700 grep -v '^ *+' conftest.er1 >conftest.err
27701 rm -f conftest.er1
27702 cat conftest.err >&5
27703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27704 (exit $ac_status); } &&
27705 { ac_try='test -z "$ac_c_werror_flag"
27706 || test ! -s conftest.err'
27707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27708 (eval $ac_try) 2>&5
27709 ac_status=$?
27710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27711 (exit $ac_status); }; } &&
27712 { ac_try='test -s conftest$ac_exeext'
27713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27714 (eval $ac_try) 2>&5
27715 ac_status=$?
27716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27717 (exit $ac_status); }; }; then
27718 glibcxx_cv_func___builtin_cosl_link=yes
27719 else
27720 echo "$as_me: failed program was:" >&5
27721 sed 's/^/| /' conftest.$ac_ext >&5
27723 glibcxx_cv_func___builtin_cosl_link=no
27725 rm -f conftest.err conftest.$ac_objext \
27726 conftest$ac_exeext conftest.$ac_ext
27731 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27732 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27734 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27736 cat >>confdefs.h <<\_ACEOF
27737 #define HAVE___BUILTIN_COSL 1
27738 _ACEOF
27747 echo "$as_me:$LINENO: checking for main in -lm" >&5
27748 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27749 if test "${ac_cv_lib_m_main+set}" = set; then
27750 echo $ECHO_N "(cached) $ECHO_C" >&6
27751 else
27752 ac_check_lib_save_LIBS=$LIBS
27753 LIBS="-lm $LIBS"
27754 if test x$gcc_no_link = xyes; then
27755 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27757 { (exit 1); exit 1; }; }
27759 cat >conftest.$ac_ext <<_ACEOF
27760 /* confdefs.h. */
27761 _ACEOF
27762 cat confdefs.h >>conftest.$ac_ext
27763 cat >>conftest.$ac_ext <<_ACEOF
27764 /* end confdefs.h. */
27768 main ()
27770 main ();
27772 return 0;
27774 _ACEOF
27775 rm -f conftest.$ac_objext conftest$ac_exeext
27776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27777 (eval $ac_link) 2>conftest.er1
27778 ac_status=$?
27779 grep -v '^ *+' conftest.er1 >conftest.err
27780 rm -f conftest.er1
27781 cat conftest.err >&5
27782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27783 (exit $ac_status); } &&
27784 { ac_try='test -z "$ac_c_werror_flag"
27785 || test ! -s conftest.err'
27786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27787 (eval $ac_try) 2>&5
27788 ac_status=$?
27789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27790 (exit $ac_status); }; } &&
27791 { ac_try='test -s conftest$ac_exeext'
27792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27793 (eval $ac_try) 2>&5
27794 ac_status=$?
27795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27796 (exit $ac_status); }; }; then
27797 ac_cv_lib_m_main=yes
27798 else
27799 echo "$as_me: failed program was:" >&5
27800 sed 's/^/| /' conftest.$ac_ext >&5
27802 ac_cv_lib_m_main=no
27804 rm -f conftest.err conftest.$ac_objext \
27805 conftest$ac_exeext conftest.$ac_ext
27806 LIBS=$ac_check_lib_save_LIBS
27808 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
27809 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
27810 if test $ac_cv_lib_m_main = yes; then
27811 cat >>confdefs.h <<_ACEOF
27812 #define HAVE_LIBM 1
27813 _ACEOF
27815 LIBS="-lm $LIBS"
27820 for ac_func in copysignf
27822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27823 echo "$as_me:$LINENO: checking for $ac_func" >&5
27824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27825 if eval "test \"\${$as_ac_var+set}\" = set"; then
27826 echo $ECHO_N "(cached) $ECHO_C" >&6
27827 else
27828 if test x$gcc_no_link = xyes; then
27829 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27831 { (exit 1); exit 1; }; }
27833 cat >conftest.$ac_ext <<_ACEOF
27834 /* confdefs.h. */
27835 _ACEOF
27836 cat confdefs.h >>conftest.$ac_ext
27837 cat >>conftest.$ac_ext <<_ACEOF
27838 /* end confdefs.h. */
27839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27841 #define $ac_func innocuous_$ac_func
27843 /* System header to define __stub macros and hopefully few prototypes,
27844 which can conflict with char $ac_func (); below.
27845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27846 <limits.h> exists even on freestanding compilers. */
27848 #ifdef __STDC__
27849 # include <limits.h>
27850 #else
27851 # include <assert.h>
27852 #endif
27854 #undef $ac_func
27856 /* Override any gcc2 internal prototype to avoid an error. */
27857 #ifdef __cplusplus
27858 extern "C"
27860 #endif
27861 /* We use char because int might match the return type of a gcc2
27862 builtin and then its argument prototype would still apply. */
27863 char $ac_func ();
27864 /* The GNU C library defines this for functions which it implements
27865 to always fail with ENOSYS. Some functions are actually named
27866 something starting with __ and the normal name is an alias. */
27867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27868 choke me
27869 #else
27870 char (*f) () = $ac_func;
27871 #endif
27872 #ifdef __cplusplus
27874 #endif
27877 main ()
27879 return f != $ac_func;
27881 return 0;
27883 _ACEOF
27884 rm -f conftest.$ac_objext conftest$ac_exeext
27885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27886 (eval $ac_link) 2>conftest.er1
27887 ac_status=$?
27888 grep -v '^ *+' conftest.er1 >conftest.err
27889 rm -f conftest.er1
27890 cat conftest.err >&5
27891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27892 (exit $ac_status); } &&
27893 { ac_try='test -z "$ac_c_werror_flag"
27894 || test ! -s conftest.err'
27895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27896 (eval $ac_try) 2>&5
27897 ac_status=$?
27898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27899 (exit $ac_status); }; } &&
27900 { ac_try='test -s conftest$ac_exeext'
27901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27902 (eval $ac_try) 2>&5
27903 ac_status=$?
27904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27905 (exit $ac_status); }; }; then
27906 eval "$as_ac_var=yes"
27907 else
27908 echo "$as_me: failed program was:" >&5
27909 sed 's/^/| /' conftest.$ac_ext >&5
27911 eval "$as_ac_var=no"
27913 rm -f conftest.err conftest.$ac_objext \
27914 conftest$ac_exeext conftest.$ac_ext
27916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27918 if test `eval echo '${'$as_ac_var'}'` = yes; then
27919 cat >>confdefs.h <<_ACEOF
27920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27921 _ACEOF
27923 else
27924 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
27926 done
27930 for ac_func in __signbit
27932 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27933 echo "$as_me:$LINENO: checking for $ac_func" >&5
27934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27935 if eval "test \"\${$as_ac_var+set}\" = set"; then
27936 echo $ECHO_N "(cached) $ECHO_C" >&6
27937 else
27938 if test x$gcc_no_link = xyes; then
27939 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27941 { (exit 1); exit 1; }; }
27943 cat >conftest.$ac_ext <<_ACEOF
27944 /* confdefs.h. */
27945 _ACEOF
27946 cat confdefs.h >>conftest.$ac_ext
27947 cat >>conftest.$ac_ext <<_ACEOF
27948 /* end confdefs.h. */
27949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27951 #define $ac_func innocuous_$ac_func
27953 /* System header to define __stub macros and hopefully few prototypes,
27954 which can conflict with char $ac_func (); below.
27955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27956 <limits.h> exists even on freestanding compilers. */
27958 #ifdef __STDC__
27959 # include <limits.h>
27960 #else
27961 # include <assert.h>
27962 #endif
27964 #undef $ac_func
27966 /* Override any gcc2 internal prototype to avoid an error. */
27967 #ifdef __cplusplus
27968 extern "C"
27970 #endif
27971 /* We use char because int might match the return type of a gcc2
27972 builtin and then its argument prototype would still apply. */
27973 char $ac_func ();
27974 /* The GNU C library defines this for functions which it implements
27975 to always fail with ENOSYS. Some functions are actually named
27976 something starting with __ and the normal name is an alias. */
27977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27978 choke me
27979 #else
27980 char (*f) () = $ac_func;
27981 #endif
27982 #ifdef __cplusplus
27984 #endif
27987 main ()
27989 return f != $ac_func;
27991 return 0;
27993 _ACEOF
27994 rm -f conftest.$ac_objext conftest$ac_exeext
27995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27996 (eval $ac_link) 2>conftest.er1
27997 ac_status=$?
27998 grep -v '^ *+' conftest.er1 >conftest.err
27999 rm -f conftest.er1
28000 cat conftest.err >&5
28001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28002 (exit $ac_status); } &&
28003 { ac_try='test -z "$ac_c_werror_flag"
28004 || test ! -s conftest.err'
28005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28006 (eval $ac_try) 2>&5
28007 ac_status=$?
28008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28009 (exit $ac_status); }; } &&
28010 { ac_try='test -s conftest$ac_exeext'
28011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28012 (eval $ac_try) 2>&5
28013 ac_status=$?
28014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28015 (exit $ac_status); }; }; then
28016 eval "$as_ac_var=yes"
28017 else
28018 echo "$as_me: failed program was:" >&5
28019 sed 's/^/| /' conftest.$ac_ext >&5
28021 eval "$as_ac_var=no"
28023 rm -f conftest.err conftest.$ac_objext \
28024 conftest$ac_exeext conftest.$ac_ext
28026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28027 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28028 if test `eval echo '${'$as_ac_var'}'` = yes; then
28029 cat >>confdefs.h <<_ACEOF
28030 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28031 _ACEOF
28033 else
28034 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
28036 done
28040 for ac_func in __signbitf
28042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28043 echo "$as_me:$LINENO: checking for $ac_func" >&5
28044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28045 if eval "test \"\${$as_ac_var+set}\" = set"; then
28046 echo $ECHO_N "(cached) $ECHO_C" >&6
28047 else
28048 if test x$gcc_no_link = xyes; then
28049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28051 { (exit 1); exit 1; }; }
28053 cat >conftest.$ac_ext <<_ACEOF
28054 /* confdefs.h. */
28055 _ACEOF
28056 cat confdefs.h >>conftest.$ac_ext
28057 cat >>conftest.$ac_ext <<_ACEOF
28058 /* end confdefs.h. */
28059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28060 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28061 #define $ac_func innocuous_$ac_func
28063 /* System header to define __stub macros and hopefully few prototypes,
28064 which can conflict with char $ac_func (); below.
28065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28066 <limits.h> exists even on freestanding compilers. */
28068 #ifdef __STDC__
28069 # include <limits.h>
28070 #else
28071 # include <assert.h>
28072 #endif
28074 #undef $ac_func
28076 /* Override any gcc2 internal prototype to avoid an error. */
28077 #ifdef __cplusplus
28078 extern "C"
28080 #endif
28081 /* We use char because int might match the return type of a gcc2
28082 builtin and then its argument prototype would still apply. */
28083 char $ac_func ();
28084 /* The GNU C library defines this for functions which it implements
28085 to always fail with ENOSYS. Some functions are actually named
28086 something starting with __ and the normal name is an alias. */
28087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28088 choke me
28089 #else
28090 char (*f) () = $ac_func;
28091 #endif
28092 #ifdef __cplusplus
28094 #endif
28097 main ()
28099 return f != $ac_func;
28101 return 0;
28103 _ACEOF
28104 rm -f conftest.$ac_objext conftest$ac_exeext
28105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28106 (eval $ac_link) 2>conftest.er1
28107 ac_status=$?
28108 grep -v '^ *+' conftest.er1 >conftest.err
28109 rm -f conftest.er1
28110 cat conftest.err >&5
28111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28112 (exit $ac_status); } &&
28113 { ac_try='test -z "$ac_c_werror_flag"
28114 || test ! -s conftest.err'
28115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28116 (eval $ac_try) 2>&5
28117 ac_status=$?
28118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28119 (exit $ac_status); }; } &&
28120 { ac_try='test -s conftest$ac_exeext'
28121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28122 (eval $ac_try) 2>&5
28123 ac_status=$?
28124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28125 (exit $ac_status); }; }; then
28126 eval "$as_ac_var=yes"
28127 else
28128 echo "$as_me: failed program was:" >&5
28129 sed 's/^/| /' conftest.$ac_ext >&5
28131 eval "$as_ac_var=no"
28133 rm -f conftest.err conftest.$ac_objext \
28134 conftest$ac_exeext conftest.$ac_ext
28136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28138 if test `eval echo '${'$as_ac_var'}'` = yes; then
28139 cat >>confdefs.h <<_ACEOF
28140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28141 _ACEOF
28143 else
28144 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
28146 done
28149 if test x$ac_cv_func_copysignl = x"yes"; then
28151 for ac_func in __signbitl
28153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28154 echo "$as_me:$LINENO: checking for $ac_func" >&5
28155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28156 if eval "test \"\${$as_ac_var+set}\" = set"; then
28157 echo $ECHO_N "(cached) $ECHO_C" >&6
28158 else
28159 if test x$gcc_no_link = xyes; then
28160 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28162 { (exit 1); exit 1; }; }
28164 cat >conftest.$ac_ext <<_ACEOF
28165 /* confdefs.h. */
28166 _ACEOF
28167 cat confdefs.h >>conftest.$ac_ext
28168 cat >>conftest.$ac_ext <<_ACEOF
28169 /* end confdefs.h. */
28170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28172 #define $ac_func innocuous_$ac_func
28174 /* System header to define __stub macros and hopefully few prototypes,
28175 which can conflict with char $ac_func (); below.
28176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28177 <limits.h> exists even on freestanding compilers. */
28179 #ifdef __STDC__
28180 # include <limits.h>
28181 #else
28182 # include <assert.h>
28183 #endif
28185 #undef $ac_func
28187 /* Override any gcc2 internal prototype to avoid an error. */
28188 #ifdef __cplusplus
28189 extern "C"
28191 #endif
28192 /* We use char because int might match the return type of a gcc2
28193 builtin and then its argument prototype would still apply. */
28194 char $ac_func ();
28195 /* The GNU C library defines this for functions which it implements
28196 to always fail with ENOSYS. Some functions are actually named
28197 something starting with __ and the normal name is an alias. */
28198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28199 choke me
28200 #else
28201 char (*f) () = $ac_func;
28202 #endif
28203 #ifdef __cplusplus
28205 #endif
28208 main ()
28210 return f != $ac_func;
28212 return 0;
28214 _ACEOF
28215 rm -f conftest.$ac_objext conftest$ac_exeext
28216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28217 (eval $ac_link) 2>conftest.er1
28218 ac_status=$?
28219 grep -v '^ *+' conftest.er1 >conftest.err
28220 rm -f conftest.er1
28221 cat conftest.err >&5
28222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28223 (exit $ac_status); } &&
28224 { ac_try='test -z "$ac_c_werror_flag"
28225 || test ! -s conftest.err'
28226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28227 (eval $ac_try) 2>&5
28228 ac_status=$?
28229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28230 (exit $ac_status); }; } &&
28231 { ac_try='test -s conftest$ac_exeext'
28232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28233 (eval $ac_try) 2>&5
28234 ac_status=$?
28235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28236 (exit $ac_status); }; }; then
28237 eval "$as_ac_var=yes"
28238 else
28239 echo "$as_me: failed program was:" >&5
28240 sed 's/^/| /' conftest.$ac_ext >&5
28242 eval "$as_ac_var=no"
28244 rm -f conftest.err conftest.$ac_objext \
28245 conftest$ac_exeext conftest.$ac_ext
28247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28249 if test `eval echo '${'$as_ac_var'}'` = yes; then
28250 cat >>confdefs.h <<_ACEOF
28251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28252 _ACEOF
28254 else
28255 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
28257 done
28261 # Used in libmath/Makefile.am.
28262 if test -n "$LIBMATHOBJS"; then
28263 need_libmath=yes
28269 enable_iconv=no
28270 # Only continue checking if the ISO C99 headers exist and support is on.
28271 if test x"$enable_wchar_t" = xyes; then
28273 # Use iconv for wchar_t to char conversions. As such, check for
28274 # X/Open Portability Guide, version 2 features (XPG2).
28275 if test "${ac_cv_header_iconv_h+set}" = set; then
28276 echo "$as_me:$LINENO: checking for iconv.h" >&5
28277 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28278 if test "${ac_cv_header_iconv_h+set}" = set; then
28279 echo $ECHO_N "(cached) $ECHO_C" >&6
28281 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28282 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28283 else
28284 # Is the header compilable?
28285 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28286 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28287 cat >conftest.$ac_ext <<_ACEOF
28288 /* confdefs.h. */
28289 _ACEOF
28290 cat confdefs.h >>conftest.$ac_ext
28291 cat >>conftest.$ac_ext <<_ACEOF
28292 /* end confdefs.h. */
28293 $ac_includes_default
28294 #include <iconv.h>
28295 _ACEOF
28296 rm -f conftest.$ac_objext
28297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28298 (eval $ac_compile) 2>conftest.er1
28299 ac_status=$?
28300 grep -v '^ *+' conftest.er1 >conftest.err
28301 rm -f conftest.er1
28302 cat conftest.err >&5
28303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28304 (exit $ac_status); } &&
28305 { ac_try='test -z "$ac_c_werror_flag"
28306 || test ! -s conftest.err'
28307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28308 (eval $ac_try) 2>&5
28309 ac_status=$?
28310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28311 (exit $ac_status); }; } &&
28312 { ac_try='test -s conftest.$ac_objext'
28313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28314 (eval $ac_try) 2>&5
28315 ac_status=$?
28316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28317 (exit $ac_status); }; }; then
28318 ac_header_compiler=yes
28319 else
28320 echo "$as_me: failed program was:" >&5
28321 sed 's/^/| /' conftest.$ac_ext >&5
28323 ac_header_compiler=no
28325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28326 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28327 echo "${ECHO_T}$ac_header_compiler" >&6
28329 # Is the header present?
28330 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28331 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28332 cat >conftest.$ac_ext <<_ACEOF
28333 /* confdefs.h. */
28334 _ACEOF
28335 cat confdefs.h >>conftest.$ac_ext
28336 cat >>conftest.$ac_ext <<_ACEOF
28337 /* end confdefs.h. */
28338 #include <iconv.h>
28339 _ACEOF
28340 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28341 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28342 ac_status=$?
28343 grep -v '^ *+' conftest.er1 >conftest.err
28344 rm -f conftest.er1
28345 cat conftest.err >&5
28346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28347 (exit $ac_status); } >/dev/null; then
28348 if test -s conftest.err; then
28349 ac_cpp_err=$ac_c_preproc_warn_flag
28350 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28351 else
28352 ac_cpp_err=
28354 else
28355 ac_cpp_err=yes
28357 if test -z "$ac_cpp_err"; then
28358 ac_header_preproc=yes
28359 else
28360 echo "$as_me: failed program was:" >&5
28361 sed 's/^/| /' conftest.$ac_ext >&5
28363 ac_header_preproc=no
28365 rm -f conftest.err conftest.$ac_ext
28366 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28367 echo "${ECHO_T}$ac_header_preproc" >&6
28369 # So? What about this header?
28370 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28371 yes:no: )
28372 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28373 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28374 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28375 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28376 ac_header_preproc=yes
28378 no:yes:* )
28379 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28380 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28381 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
28382 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
28383 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28384 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28385 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
28386 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
28387 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28388 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28389 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28390 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28392 cat <<\_ASBOX
28393 ## ----------------------------------------- ##
28394 ## Report this to the package-unused lists. ##
28395 ## ----------------------------------------- ##
28396 _ASBOX
28398 sed "s/^/$as_me: WARNING: /" >&2
28400 esac
28401 echo "$as_me:$LINENO: checking for iconv.h" >&5
28402 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28403 if test "${ac_cv_header_iconv_h+set}" = set; then
28404 echo $ECHO_N "(cached) $ECHO_C" >&6
28405 else
28406 ac_cv_header_iconv_h=$ac_header_preproc
28408 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28409 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28412 if test $ac_cv_header_iconv_h = yes; then
28413 ac_has_iconv_h=yes
28414 else
28415 ac_has_iconv_h=no
28419 if test "${ac_cv_header_langinfo_h+set}" = set; then
28420 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28421 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28422 if test "${ac_cv_header_langinfo_h+set}" = set; then
28423 echo $ECHO_N "(cached) $ECHO_C" >&6
28425 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28426 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28427 else
28428 # Is the header compilable?
28429 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28430 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28431 cat >conftest.$ac_ext <<_ACEOF
28432 /* confdefs.h. */
28433 _ACEOF
28434 cat confdefs.h >>conftest.$ac_ext
28435 cat >>conftest.$ac_ext <<_ACEOF
28436 /* end confdefs.h. */
28437 $ac_includes_default
28438 #include <langinfo.h>
28439 _ACEOF
28440 rm -f conftest.$ac_objext
28441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28442 (eval $ac_compile) 2>conftest.er1
28443 ac_status=$?
28444 grep -v '^ *+' conftest.er1 >conftest.err
28445 rm -f conftest.er1
28446 cat conftest.err >&5
28447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28448 (exit $ac_status); } &&
28449 { ac_try='test -z "$ac_c_werror_flag"
28450 || test ! -s conftest.err'
28451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28452 (eval $ac_try) 2>&5
28453 ac_status=$?
28454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28455 (exit $ac_status); }; } &&
28456 { ac_try='test -s conftest.$ac_objext'
28457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28458 (eval $ac_try) 2>&5
28459 ac_status=$?
28460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28461 (exit $ac_status); }; }; then
28462 ac_header_compiler=yes
28463 else
28464 echo "$as_me: failed program was:" >&5
28465 sed 's/^/| /' conftest.$ac_ext >&5
28467 ac_header_compiler=no
28469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28470 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28471 echo "${ECHO_T}$ac_header_compiler" >&6
28473 # Is the header present?
28474 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28475 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28476 cat >conftest.$ac_ext <<_ACEOF
28477 /* confdefs.h. */
28478 _ACEOF
28479 cat confdefs.h >>conftest.$ac_ext
28480 cat >>conftest.$ac_ext <<_ACEOF
28481 /* end confdefs.h. */
28482 #include <langinfo.h>
28483 _ACEOF
28484 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28485 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28486 ac_status=$?
28487 grep -v '^ *+' conftest.er1 >conftest.err
28488 rm -f conftest.er1
28489 cat conftest.err >&5
28490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28491 (exit $ac_status); } >/dev/null; then
28492 if test -s conftest.err; then
28493 ac_cpp_err=$ac_c_preproc_warn_flag
28494 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28495 else
28496 ac_cpp_err=
28498 else
28499 ac_cpp_err=yes
28501 if test -z "$ac_cpp_err"; then
28502 ac_header_preproc=yes
28503 else
28504 echo "$as_me: failed program was:" >&5
28505 sed 's/^/| /' conftest.$ac_ext >&5
28507 ac_header_preproc=no
28509 rm -f conftest.err conftest.$ac_ext
28510 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28511 echo "${ECHO_T}$ac_header_preproc" >&6
28513 # So? What about this header?
28514 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28515 yes:no: )
28516 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28517 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28518 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28519 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28520 ac_header_preproc=yes
28522 no:yes:* )
28523 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28524 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28525 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
28526 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
28527 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28528 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28529 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
28530 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
28531 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28532 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28533 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28534 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28536 cat <<\_ASBOX
28537 ## ----------------------------------------- ##
28538 ## Report this to the package-unused lists. ##
28539 ## ----------------------------------------- ##
28540 _ASBOX
28542 sed "s/^/$as_me: WARNING: /" >&2
28544 esac
28545 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28546 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28547 if test "${ac_cv_header_langinfo_h+set}" = set; then
28548 echo $ECHO_N "(cached) $ECHO_C" >&6
28549 else
28550 ac_cv_header_langinfo_h=$ac_header_preproc
28552 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28553 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28556 if test $ac_cv_header_langinfo_h = yes; then
28557 ac_has_langinfo_h=yes
28558 else
28559 ac_has_langinfo_h=no
28564 # Check for existence of libiconv.a providing XPG2 wchar_t support.
28565 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28566 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28567 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28568 echo $ECHO_N "(cached) $ECHO_C" >&6
28569 else
28570 ac_check_lib_save_LIBS=$LIBS
28571 LIBS="-liconv $LIBS"
28572 if test x$gcc_no_link = xyes; then
28573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28575 { (exit 1); exit 1; }; }
28577 cat >conftest.$ac_ext <<_ACEOF
28578 /* confdefs.h. */
28579 _ACEOF
28580 cat confdefs.h >>conftest.$ac_ext
28581 cat >>conftest.$ac_ext <<_ACEOF
28582 /* end confdefs.h. */
28584 /* Override any gcc2 internal prototype to avoid an error. */
28585 #ifdef __cplusplus
28586 extern "C"
28587 #endif
28588 /* We use char because int might match the return type of a gcc2
28589 builtin and then its argument prototype would still apply. */
28590 char iconv ();
28592 main ()
28594 iconv ();
28596 return 0;
28598 _ACEOF
28599 rm -f conftest.$ac_objext conftest$ac_exeext
28600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28601 (eval $ac_link) 2>conftest.er1
28602 ac_status=$?
28603 grep -v '^ *+' conftest.er1 >conftest.err
28604 rm -f conftest.er1
28605 cat conftest.err >&5
28606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28607 (exit $ac_status); } &&
28608 { ac_try='test -z "$ac_c_werror_flag"
28609 || test ! -s conftest.err'
28610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28611 (eval $ac_try) 2>&5
28612 ac_status=$?
28613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28614 (exit $ac_status); }; } &&
28615 { ac_try='test -s conftest$ac_exeext'
28616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28617 (eval $ac_try) 2>&5
28618 ac_status=$?
28619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28620 (exit $ac_status); }; }; then
28621 ac_cv_lib_iconv_iconv=yes
28622 else
28623 echo "$as_me: failed program was:" >&5
28624 sed 's/^/| /' conftest.$ac_ext >&5
28626 ac_cv_lib_iconv_iconv=no
28628 rm -f conftest.err conftest.$ac_objext \
28629 conftest$ac_exeext conftest.$ac_ext
28630 LIBS=$ac_check_lib_save_LIBS
28632 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
28633 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
28634 if test $ac_cv_lib_iconv_iconv = yes; then
28635 LIBICONV="-liconv"
28638 ac_save_LIBS="$LIBS"
28639 LIBS="$LIBS $LIBICONV"
28646 for ac_func in iconv_open iconv_close iconv nl_langinfo
28648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28649 echo "$as_me:$LINENO: checking for $ac_func" >&5
28650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28651 if eval "test \"\${$as_ac_var+set}\" = set"; then
28652 echo $ECHO_N "(cached) $ECHO_C" >&6
28653 else
28654 if test x$gcc_no_link = xyes; then
28655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28657 { (exit 1); exit 1; }; }
28659 cat >conftest.$ac_ext <<_ACEOF
28660 /* confdefs.h. */
28661 _ACEOF
28662 cat confdefs.h >>conftest.$ac_ext
28663 cat >>conftest.$ac_ext <<_ACEOF
28664 /* end confdefs.h. */
28665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28667 #define $ac_func innocuous_$ac_func
28669 /* System header to define __stub macros and hopefully few prototypes,
28670 which can conflict with char $ac_func (); below.
28671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28672 <limits.h> exists even on freestanding compilers. */
28674 #ifdef __STDC__
28675 # include <limits.h>
28676 #else
28677 # include <assert.h>
28678 #endif
28680 #undef $ac_func
28682 /* Override any gcc2 internal prototype to avoid an error. */
28683 #ifdef __cplusplus
28684 extern "C"
28686 #endif
28687 /* We use char because int might match the return type of a gcc2
28688 builtin and then its argument prototype would still apply. */
28689 char $ac_func ();
28690 /* The GNU C library defines this for functions which it implements
28691 to always fail with ENOSYS. Some functions are actually named
28692 something starting with __ and the normal name is an alias. */
28693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28694 choke me
28695 #else
28696 char (*f) () = $ac_func;
28697 #endif
28698 #ifdef __cplusplus
28700 #endif
28703 main ()
28705 return f != $ac_func;
28707 return 0;
28709 _ACEOF
28710 rm -f conftest.$ac_objext conftest$ac_exeext
28711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28712 (eval $ac_link) 2>conftest.er1
28713 ac_status=$?
28714 grep -v '^ *+' conftest.er1 >conftest.err
28715 rm -f conftest.er1
28716 cat conftest.err >&5
28717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28718 (exit $ac_status); } &&
28719 { ac_try='test -z "$ac_c_werror_flag"
28720 || test ! -s conftest.err'
28721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28722 (eval $ac_try) 2>&5
28723 ac_status=$?
28724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28725 (exit $ac_status); }; } &&
28726 { ac_try='test -s conftest$ac_exeext'
28727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28728 (eval $ac_try) 2>&5
28729 ac_status=$?
28730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28731 (exit $ac_status); }; }; then
28732 eval "$as_ac_var=yes"
28733 else
28734 echo "$as_me: failed program was:" >&5
28735 sed 's/^/| /' conftest.$ac_ext >&5
28737 eval "$as_ac_var=no"
28739 rm -f conftest.err conftest.$ac_objext \
28740 conftest$ac_exeext conftest.$ac_ext
28742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28744 if test `eval echo '${'$as_ac_var'}'` = yes; then
28745 cat >>confdefs.h <<_ACEOF
28746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28747 _ACEOF
28748 ac_XPG2funcs=yes
28749 else
28750 ac_XPG2funcs=no
28752 done
28755 LIBS="$ac_save_LIBS"
28757 if test x"$ac_has_iconv_h" = xyes &&
28758 test x"$ac_has_langinfo_h" = xyes &&
28759 test x"$ac_XPG2funcs" = xyes;
28760 then
28762 cat >>confdefs.h <<\_ACEOF
28763 #define _GLIBCXX_USE_ICONV 1
28764 _ACEOF
28766 enable_iconv=yes
28769 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
28770 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
28771 echo "$as_me:$LINENO: result: $enable_iconv" >&5
28772 echo "${ECHO_T}$enable_iconv" >&6
28775 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28776 ac_save_CXXFLAGS="$CXXFLAGS"
28777 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28780 echo "$as_me:$LINENO: checking for strtold declaration" >&5
28781 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
28782 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28783 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
28784 echo $ECHO_N "(cached) $ECHO_C" >&6
28785 else
28789 ac_ext=cc
28790 ac_cpp='$CXXCPP $CPPFLAGS'
28791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28795 cat >conftest.$ac_ext <<_ACEOF
28796 /* confdefs.h. */
28797 _ACEOF
28798 cat confdefs.h >>conftest.$ac_ext
28799 cat >>conftest.$ac_ext <<_ACEOF
28800 /* end confdefs.h. */
28801 #include <stdlib.h>
28803 main ()
28805 strtold(0, 0);
28807 return 0;
28809 _ACEOF
28810 rm -f conftest.$ac_objext
28811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28812 (eval $ac_compile) 2>conftest.er1
28813 ac_status=$?
28814 grep -v '^ *+' conftest.er1 >conftest.err
28815 rm -f conftest.er1
28816 cat conftest.err >&5
28817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28818 (exit $ac_status); } &&
28819 { ac_try='test -z "$ac_cxx_werror_flag"
28820 || test ! -s conftest.err'
28821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28822 (eval $ac_try) 2>&5
28823 ac_status=$?
28824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28825 (exit $ac_status); }; } &&
28826 { ac_try='test -s conftest.$ac_objext'
28827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28828 (eval $ac_try) 2>&5
28829 ac_status=$?
28830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28831 (exit $ac_status); }; }; then
28832 glibcxx_cv_func_strtold_use=yes
28833 else
28834 echo "$as_me: failed program was:" >&5
28835 sed 's/^/| /' conftest.$ac_ext >&5
28837 glibcxx_cv_func_strtold_use=no
28839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28840 ac_ext=c
28841 ac_cpp='$CPP $CPPFLAGS'
28842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28850 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
28851 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
28852 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28854 for ac_func in strtold
28856 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28857 echo "$as_me:$LINENO: checking for $ac_func" >&5
28858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28859 if eval "test \"\${$as_ac_var+set}\" = set"; then
28860 echo $ECHO_N "(cached) $ECHO_C" >&6
28861 else
28862 if test x$gcc_no_link = xyes; then
28863 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28865 { (exit 1); exit 1; }; }
28867 cat >conftest.$ac_ext <<_ACEOF
28868 /* confdefs.h. */
28869 _ACEOF
28870 cat confdefs.h >>conftest.$ac_ext
28871 cat >>conftest.$ac_ext <<_ACEOF
28872 /* end confdefs.h. */
28873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28875 #define $ac_func innocuous_$ac_func
28877 /* System header to define __stub macros and hopefully few prototypes,
28878 which can conflict with char $ac_func (); below.
28879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28880 <limits.h> exists even on freestanding compilers. */
28882 #ifdef __STDC__
28883 # include <limits.h>
28884 #else
28885 # include <assert.h>
28886 #endif
28888 #undef $ac_func
28890 /* Override any gcc2 internal prototype to avoid an error. */
28891 #ifdef __cplusplus
28892 extern "C"
28894 #endif
28895 /* We use char because int might match the return type of a gcc2
28896 builtin and then its argument prototype would still apply. */
28897 char $ac_func ();
28898 /* The GNU C library defines this for functions which it implements
28899 to always fail with ENOSYS. Some functions are actually named
28900 something starting with __ and the normal name is an alias. */
28901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28902 choke me
28903 #else
28904 char (*f) () = $ac_func;
28905 #endif
28906 #ifdef __cplusplus
28908 #endif
28911 main ()
28913 return f != $ac_func;
28915 return 0;
28917 _ACEOF
28918 rm -f conftest.$ac_objext conftest$ac_exeext
28919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28920 (eval $ac_link) 2>conftest.er1
28921 ac_status=$?
28922 grep -v '^ *+' conftest.er1 >conftest.err
28923 rm -f conftest.er1
28924 cat conftest.err >&5
28925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28926 (exit $ac_status); } &&
28927 { ac_try='test -z "$ac_c_werror_flag"
28928 || test ! -s conftest.err'
28929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28930 (eval $ac_try) 2>&5
28931 ac_status=$?
28932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28933 (exit $ac_status); }; } &&
28934 { ac_try='test -s conftest$ac_exeext'
28935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28936 (eval $ac_try) 2>&5
28937 ac_status=$?
28938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28939 (exit $ac_status); }; }; then
28940 eval "$as_ac_var=yes"
28941 else
28942 echo "$as_me: failed program was:" >&5
28943 sed 's/^/| /' conftest.$ac_ext >&5
28945 eval "$as_ac_var=no"
28947 rm -f conftest.err conftest.$ac_objext \
28948 conftest$ac_exeext conftest.$ac_ext
28950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28952 if test `eval echo '${'$as_ac_var'}'` = yes; then
28953 cat >>confdefs.h <<_ACEOF
28954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28955 _ACEOF
28958 done
28966 echo "$as_me:$LINENO: checking for strtof declaration" >&5
28967 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
28968 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28969 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
28970 echo $ECHO_N "(cached) $ECHO_C" >&6
28971 else
28975 ac_ext=cc
28976 ac_cpp='$CXXCPP $CPPFLAGS'
28977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28981 cat >conftest.$ac_ext <<_ACEOF
28982 /* confdefs.h. */
28983 _ACEOF
28984 cat confdefs.h >>conftest.$ac_ext
28985 cat >>conftest.$ac_ext <<_ACEOF
28986 /* end confdefs.h. */
28987 #include <stdlib.h>
28989 main ()
28991 strtof(0, 0);
28993 return 0;
28995 _ACEOF
28996 rm -f conftest.$ac_objext
28997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28998 (eval $ac_compile) 2>conftest.er1
28999 ac_status=$?
29000 grep -v '^ *+' conftest.er1 >conftest.err
29001 rm -f conftest.er1
29002 cat conftest.err >&5
29003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29004 (exit $ac_status); } &&
29005 { ac_try='test -z "$ac_cxx_werror_flag"
29006 || test ! -s conftest.err'
29007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29008 (eval $ac_try) 2>&5
29009 ac_status=$?
29010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29011 (exit $ac_status); }; } &&
29012 { ac_try='test -s conftest.$ac_objext'
29013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29014 (eval $ac_try) 2>&5
29015 ac_status=$?
29016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29017 (exit $ac_status); }; }; then
29018 glibcxx_cv_func_strtof_use=yes
29019 else
29020 echo "$as_me: failed program was:" >&5
29021 sed 's/^/| /' conftest.$ac_ext >&5
29023 glibcxx_cv_func_strtof_use=no
29025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29026 ac_ext=c
29027 ac_cpp='$CPP $CPPFLAGS'
29028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29036 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29037 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29038 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29040 for ac_func in strtof
29042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29043 echo "$as_me:$LINENO: checking for $ac_func" >&5
29044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29045 if eval "test \"\${$as_ac_var+set}\" = set"; then
29046 echo $ECHO_N "(cached) $ECHO_C" >&6
29047 else
29048 if test x$gcc_no_link = xyes; then
29049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29051 { (exit 1); exit 1; }; }
29053 cat >conftest.$ac_ext <<_ACEOF
29054 /* confdefs.h. */
29055 _ACEOF
29056 cat confdefs.h >>conftest.$ac_ext
29057 cat >>conftest.$ac_ext <<_ACEOF
29058 /* end confdefs.h. */
29059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29060 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29061 #define $ac_func innocuous_$ac_func
29063 /* System header to define __stub macros and hopefully few prototypes,
29064 which can conflict with char $ac_func (); below.
29065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29066 <limits.h> exists even on freestanding compilers. */
29068 #ifdef __STDC__
29069 # include <limits.h>
29070 #else
29071 # include <assert.h>
29072 #endif
29074 #undef $ac_func
29076 /* Override any gcc2 internal prototype to avoid an error. */
29077 #ifdef __cplusplus
29078 extern "C"
29080 #endif
29081 /* We use char because int might match the return type of a gcc2
29082 builtin and then its argument prototype would still apply. */
29083 char $ac_func ();
29084 /* The GNU C library defines this for functions which it implements
29085 to always fail with ENOSYS. Some functions are actually named
29086 something starting with __ and the normal name is an alias. */
29087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29088 choke me
29089 #else
29090 char (*f) () = $ac_func;
29091 #endif
29092 #ifdef __cplusplus
29094 #endif
29097 main ()
29099 return f != $ac_func;
29101 return 0;
29103 _ACEOF
29104 rm -f conftest.$ac_objext conftest$ac_exeext
29105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29106 (eval $ac_link) 2>conftest.er1
29107 ac_status=$?
29108 grep -v '^ *+' conftest.er1 >conftest.err
29109 rm -f conftest.er1
29110 cat conftest.err >&5
29111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29112 (exit $ac_status); } &&
29113 { ac_try='test -z "$ac_c_werror_flag"
29114 || test ! -s conftest.err'
29115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29116 (eval $ac_try) 2>&5
29117 ac_status=$?
29118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29119 (exit $ac_status); }; } &&
29120 { ac_try='test -s conftest$ac_exeext'
29121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29122 (eval $ac_try) 2>&5
29123 ac_status=$?
29124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29125 (exit $ac_status); }; }; then
29126 eval "$as_ac_var=yes"
29127 else
29128 echo "$as_me: failed program was:" >&5
29129 sed 's/^/| /' conftest.$ac_ext >&5
29131 eval "$as_ac_var=no"
29133 rm -f conftest.err conftest.$ac_objext \
29134 conftest$ac_exeext conftest.$ac_ext
29136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29138 if test `eval echo '${'$as_ac_var'}'` = yes; then
29139 cat >>confdefs.h <<_ACEOF
29140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29141 _ACEOF
29144 done
29152 CXXFLAGS="$ac_save_CXXFLAGS"
29155 # For showmanyc_helper().
29158 for ac_header in sys/ioctl.h sys/filio.h
29160 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29161 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29162 echo "$as_me:$LINENO: checking for $ac_header" >&5
29163 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29165 echo $ECHO_N "(cached) $ECHO_C" >&6
29167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29168 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29169 else
29170 # Is the header compilable?
29171 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29172 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29173 cat >conftest.$ac_ext <<_ACEOF
29174 /* confdefs.h. */
29175 _ACEOF
29176 cat confdefs.h >>conftest.$ac_ext
29177 cat >>conftest.$ac_ext <<_ACEOF
29178 /* end confdefs.h. */
29179 $ac_includes_default
29180 #include <$ac_header>
29181 _ACEOF
29182 rm -f conftest.$ac_objext
29183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29184 (eval $ac_compile) 2>conftest.er1
29185 ac_status=$?
29186 grep -v '^ *+' conftest.er1 >conftest.err
29187 rm -f conftest.er1
29188 cat conftest.err >&5
29189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29190 (exit $ac_status); } &&
29191 { ac_try='test -z "$ac_c_werror_flag"
29192 || test ! -s conftest.err'
29193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29194 (eval $ac_try) 2>&5
29195 ac_status=$?
29196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29197 (exit $ac_status); }; } &&
29198 { ac_try='test -s conftest.$ac_objext'
29199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29200 (eval $ac_try) 2>&5
29201 ac_status=$?
29202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29203 (exit $ac_status); }; }; then
29204 ac_header_compiler=yes
29205 else
29206 echo "$as_me: failed program was:" >&5
29207 sed 's/^/| /' conftest.$ac_ext >&5
29209 ac_header_compiler=no
29211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29212 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29213 echo "${ECHO_T}$ac_header_compiler" >&6
29215 # Is the header present?
29216 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29217 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29218 cat >conftest.$ac_ext <<_ACEOF
29219 /* confdefs.h. */
29220 _ACEOF
29221 cat confdefs.h >>conftest.$ac_ext
29222 cat >>conftest.$ac_ext <<_ACEOF
29223 /* end confdefs.h. */
29224 #include <$ac_header>
29225 _ACEOF
29226 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29227 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29228 ac_status=$?
29229 grep -v '^ *+' conftest.er1 >conftest.err
29230 rm -f conftest.er1
29231 cat conftest.err >&5
29232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29233 (exit $ac_status); } >/dev/null; then
29234 if test -s conftest.err; then
29235 ac_cpp_err=$ac_c_preproc_warn_flag
29236 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29237 else
29238 ac_cpp_err=
29240 else
29241 ac_cpp_err=yes
29243 if test -z "$ac_cpp_err"; then
29244 ac_header_preproc=yes
29245 else
29246 echo "$as_me: failed program was:" >&5
29247 sed 's/^/| /' conftest.$ac_ext >&5
29249 ac_header_preproc=no
29251 rm -f conftest.err conftest.$ac_ext
29252 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29253 echo "${ECHO_T}$ac_header_preproc" >&6
29255 # So? What about this header?
29256 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29257 yes:no: )
29258 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29259 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29260 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29261 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29262 ac_header_preproc=yes
29264 no:yes:* )
29265 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29266 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29267 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29268 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29269 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29270 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29271 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29272 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29273 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29274 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29275 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29276 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29278 cat <<\_ASBOX
29279 ## ----------------------------------------- ##
29280 ## Report this to the package-unused lists. ##
29281 ## ----------------------------------------- ##
29282 _ASBOX
29284 sed "s/^/$as_me: WARNING: /" >&2
29286 esac
29287 echo "$as_me:$LINENO: checking for $ac_header" >&5
29288 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29289 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29290 echo $ECHO_N "(cached) $ECHO_C" >&6
29291 else
29292 eval "$as_ac_Header=\$ac_header_preproc"
29294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29295 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29298 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29299 cat >>confdefs.h <<_ACEOF
29300 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29301 _ACEOF
29305 done
29308 if test "${glibcxx_cv_POLL+set}" = set; then
29309 echo $ECHO_N "(cached) $ECHO_C" >&6
29310 else
29312 if test x$gcc_no_link = xyes; then
29313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29315 { (exit 1); exit 1; }; }
29317 cat >conftest.$ac_ext <<_ACEOF
29318 /* confdefs.h. */
29319 _ACEOF
29320 cat confdefs.h >>conftest.$ac_ext
29321 cat >>conftest.$ac_ext <<_ACEOF
29322 /* end confdefs.h. */
29323 #include <poll.h>
29325 main ()
29327 struct pollfd pfd[1];
29328 pfd[0].events = POLLIN;
29329 poll(pfd, 1, 0);
29331 return 0;
29333 _ACEOF
29334 rm -f conftest.$ac_objext conftest$ac_exeext
29335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29336 (eval $ac_link) 2>conftest.er1
29337 ac_status=$?
29338 grep -v '^ *+' conftest.er1 >conftest.err
29339 rm -f conftest.er1
29340 cat conftest.err >&5
29341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29342 (exit $ac_status); } &&
29343 { ac_try='test -z "$ac_c_werror_flag"
29344 || test ! -s conftest.err'
29345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29346 (eval $ac_try) 2>&5
29347 ac_status=$?
29348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29349 (exit $ac_status); }; } &&
29350 { ac_try='test -s conftest$ac_exeext'
29351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29352 (eval $ac_try) 2>&5
29353 ac_status=$?
29354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29355 (exit $ac_status); }; }; then
29356 glibcxx_cv_POLL=yes
29357 else
29358 echo "$as_me: failed program was:" >&5
29359 sed 's/^/| /' conftest.$ac_ext >&5
29361 glibcxx_cv_POLL=no
29363 rm -f conftest.err conftest.$ac_objext \
29364 conftest$ac_exeext conftest.$ac_ext
29368 if test $glibcxx_cv_POLL = yes; then
29370 cat >>confdefs.h <<\_ACEOF
29371 #define HAVE_POLL 1
29372 _ACEOF
29377 if test "${glibcxx_cv_S_ISREG+set}" = set; then
29378 echo $ECHO_N "(cached) $ECHO_C" >&6
29379 else
29381 if test x$gcc_no_link = xyes; then
29382 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29383 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29384 { (exit 1); exit 1; }; }
29386 cat >conftest.$ac_ext <<_ACEOF
29387 /* confdefs.h. */
29388 _ACEOF
29389 cat confdefs.h >>conftest.$ac_ext
29390 cat >>conftest.$ac_ext <<_ACEOF
29391 /* end confdefs.h. */
29392 #include <sys/stat.h>
29394 main ()
29396 struct stat buffer;
29397 fstat(0, &buffer);
29398 S_ISREG(buffer.st_mode);
29400 return 0;
29402 _ACEOF
29403 rm -f conftest.$ac_objext conftest$ac_exeext
29404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29405 (eval $ac_link) 2>conftest.er1
29406 ac_status=$?
29407 grep -v '^ *+' conftest.er1 >conftest.err
29408 rm -f conftest.er1
29409 cat conftest.err >&5
29410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29411 (exit $ac_status); } &&
29412 { ac_try='test -z "$ac_c_werror_flag"
29413 || test ! -s conftest.err'
29414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29415 (eval $ac_try) 2>&5
29416 ac_status=$?
29417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29418 (exit $ac_status); }; } &&
29419 { ac_try='test -s conftest$ac_exeext'
29420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29421 (eval $ac_try) 2>&5
29422 ac_status=$?
29423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29424 (exit $ac_status); }; }; then
29425 glibcxx_cv_S_ISREG=yes
29426 else
29427 echo "$as_me: failed program was:" >&5
29428 sed 's/^/| /' conftest.$ac_ext >&5
29430 glibcxx_cv_S_ISREG=no
29432 rm -f conftest.err conftest.$ac_objext \
29433 conftest$ac_exeext conftest.$ac_ext
29437 if test "${glibcxx_cv_S_IFREG+set}" = set; then
29438 echo $ECHO_N "(cached) $ECHO_C" >&6
29439 else
29441 if test x$gcc_no_link = xyes; then
29442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29444 { (exit 1); exit 1; }; }
29446 cat >conftest.$ac_ext <<_ACEOF
29447 /* confdefs.h. */
29448 _ACEOF
29449 cat confdefs.h >>conftest.$ac_ext
29450 cat >>conftest.$ac_ext <<_ACEOF
29451 /* end confdefs.h. */
29452 #include <sys/stat.h>
29454 main ()
29456 struct stat buffer;
29457 fstat(0, &buffer);
29458 S_IFREG & buffer.st_mode;
29460 return 0;
29462 _ACEOF
29463 rm -f conftest.$ac_objext conftest$ac_exeext
29464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29465 (eval $ac_link) 2>conftest.er1
29466 ac_status=$?
29467 grep -v '^ *+' conftest.er1 >conftest.err
29468 rm -f conftest.er1
29469 cat conftest.err >&5
29470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29471 (exit $ac_status); } &&
29472 { ac_try='test -z "$ac_c_werror_flag"
29473 || test ! -s conftest.err'
29474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29475 (eval $ac_try) 2>&5
29476 ac_status=$?
29477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29478 (exit $ac_status); }; } &&
29479 { ac_try='test -s conftest$ac_exeext'
29480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29481 (eval $ac_try) 2>&5
29482 ac_status=$?
29483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29484 (exit $ac_status); }; }; then
29485 glibcxx_cv_S_IFREG=yes
29486 else
29487 echo "$as_me: failed program was:" >&5
29488 sed 's/^/| /' conftest.$ac_ext >&5
29490 glibcxx_cv_S_IFREG=no
29492 rm -f conftest.err conftest.$ac_objext \
29493 conftest$ac_exeext conftest.$ac_ext
29497 if test $glibcxx_cv_S_ISREG = yes; then
29499 cat >>confdefs.h <<\_ACEOF
29500 #define HAVE_S_ISREG 1
29501 _ACEOF
29503 elif test $glibcxx_cv_S_IFREG = yes; then
29505 cat >>confdefs.h <<\_ACEOF
29506 #define HAVE_S_IFREG 1
29507 _ACEOF
29512 # For xsputn_2().
29514 for ac_header in sys/uio.h
29516 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29517 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29518 echo "$as_me:$LINENO: checking for $ac_header" >&5
29519 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29520 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29521 echo $ECHO_N "(cached) $ECHO_C" >&6
29523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29524 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29525 else
29526 # Is the header compilable?
29527 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29528 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29529 cat >conftest.$ac_ext <<_ACEOF
29530 /* confdefs.h. */
29531 _ACEOF
29532 cat confdefs.h >>conftest.$ac_ext
29533 cat >>conftest.$ac_ext <<_ACEOF
29534 /* end confdefs.h. */
29535 $ac_includes_default
29536 #include <$ac_header>
29537 _ACEOF
29538 rm -f conftest.$ac_objext
29539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29540 (eval $ac_compile) 2>conftest.er1
29541 ac_status=$?
29542 grep -v '^ *+' conftest.er1 >conftest.err
29543 rm -f conftest.er1
29544 cat conftest.err >&5
29545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29546 (exit $ac_status); } &&
29547 { ac_try='test -z "$ac_c_werror_flag"
29548 || test ! -s conftest.err'
29549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29550 (eval $ac_try) 2>&5
29551 ac_status=$?
29552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29553 (exit $ac_status); }; } &&
29554 { ac_try='test -s conftest.$ac_objext'
29555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29556 (eval $ac_try) 2>&5
29557 ac_status=$?
29558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29559 (exit $ac_status); }; }; then
29560 ac_header_compiler=yes
29561 else
29562 echo "$as_me: failed program was:" >&5
29563 sed 's/^/| /' conftest.$ac_ext >&5
29565 ac_header_compiler=no
29567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29568 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29569 echo "${ECHO_T}$ac_header_compiler" >&6
29571 # Is the header present?
29572 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29573 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29574 cat >conftest.$ac_ext <<_ACEOF
29575 /* confdefs.h. */
29576 _ACEOF
29577 cat confdefs.h >>conftest.$ac_ext
29578 cat >>conftest.$ac_ext <<_ACEOF
29579 /* end confdefs.h. */
29580 #include <$ac_header>
29581 _ACEOF
29582 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29583 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29584 ac_status=$?
29585 grep -v '^ *+' conftest.er1 >conftest.err
29586 rm -f conftest.er1
29587 cat conftest.err >&5
29588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29589 (exit $ac_status); } >/dev/null; then
29590 if test -s conftest.err; then
29591 ac_cpp_err=$ac_c_preproc_warn_flag
29592 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29593 else
29594 ac_cpp_err=
29596 else
29597 ac_cpp_err=yes
29599 if test -z "$ac_cpp_err"; then
29600 ac_header_preproc=yes
29601 else
29602 echo "$as_me: failed program was:" >&5
29603 sed 's/^/| /' conftest.$ac_ext >&5
29605 ac_header_preproc=no
29607 rm -f conftest.err conftest.$ac_ext
29608 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29609 echo "${ECHO_T}$ac_header_preproc" >&6
29611 # So? What about this header?
29612 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29613 yes:no: )
29614 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29615 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29616 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29617 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29618 ac_header_preproc=yes
29620 no:yes:* )
29621 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29622 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29623 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29624 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29625 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29626 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29627 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29628 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29629 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29630 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29631 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29632 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29634 cat <<\_ASBOX
29635 ## ----------------------------------------- ##
29636 ## Report this to the package-unused lists. ##
29637 ## ----------------------------------------- ##
29638 _ASBOX
29640 sed "s/^/$as_me: WARNING: /" >&2
29642 esac
29643 echo "$as_me:$LINENO: checking for $ac_header" >&5
29644 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29645 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29646 echo $ECHO_N "(cached) $ECHO_C" >&6
29647 else
29648 eval "$as_ac_Header=\$ac_header_preproc"
29650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29651 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29654 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29655 cat >>confdefs.h <<_ACEOF
29656 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29657 _ACEOF
29661 done
29664 if test "${glibcxx_cv_WRITEV+set}" = set; then
29665 echo $ECHO_N "(cached) $ECHO_C" >&6
29666 else
29668 if test x$gcc_no_link = xyes; then
29669 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29671 { (exit 1); exit 1; }; }
29673 cat >conftest.$ac_ext <<_ACEOF
29674 /* confdefs.h. */
29675 _ACEOF
29676 cat confdefs.h >>conftest.$ac_ext
29677 cat >>conftest.$ac_ext <<_ACEOF
29678 /* end confdefs.h. */
29679 #include <sys/uio.h>
29681 main ()
29683 struct iovec iov[2];
29684 writev(0, iov, 0);
29686 return 0;
29688 _ACEOF
29689 rm -f conftest.$ac_objext conftest$ac_exeext
29690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29691 (eval $ac_link) 2>conftest.er1
29692 ac_status=$?
29693 grep -v '^ *+' conftest.er1 >conftest.err
29694 rm -f conftest.er1
29695 cat conftest.err >&5
29696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29697 (exit $ac_status); } &&
29698 { ac_try='test -z "$ac_c_werror_flag"
29699 || test ! -s conftest.err'
29700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29701 (eval $ac_try) 2>&5
29702 ac_status=$?
29703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29704 (exit $ac_status); }; } &&
29705 { ac_try='test -s conftest$ac_exeext'
29706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29707 (eval $ac_try) 2>&5
29708 ac_status=$?
29709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29710 (exit $ac_status); }; }; then
29711 glibcxx_cv_WRITEV=yes
29712 else
29713 echo "$as_me: failed program was:" >&5
29714 sed 's/^/| /' conftest.$ac_ext >&5
29716 glibcxx_cv_WRITEV=no
29718 rm -f conftest.err conftest.$ac_objext \
29719 conftest$ac_exeext conftest.$ac_ext
29723 if test $glibcxx_cv_WRITEV = yes; then
29725 cat >>confdefs.h <<\_ACEOF
29726 #define HAVE_WRITEV 1
29727 _ACEOF
29732 # For the __streamoff_base_type typedef.
29734 if test "${glibcxx_cv_INT64_T+set}" = set; then
29735 echo $ECHO_N "(cached) $ECHO_C" >&6
29736 else
29738 cat >conftest.$ac_ext <<_ACEOF
29739 /* confdefs.h. */
29740 _ACEOF
29741 cat confdefs.h >>conftest.$ac_ext
29742 cat >>conftest.$ac_ext <<_ACEOF
29743 /* end confdefs.h. */
29744 #include <stdint.h>
29746 main ()
29748 int64_t var;
29750 return 0;
29752 _ACEOF
29753 rm -f conftest.$ac_objext
29754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29755 (eval $ac_compile) 2>conftest.er1
29756 ac_status=$?
29757 grep -v '^ *+' conftest.er1 >conftest.err
29758 rm -f conftest.er1
29759 cat conftest.err >&5
29760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29761 (exit $ac_status); } &&
29762 { ac_try='test -z "$ac_c_werror_flag"
29763 || test ! -s conftest.err'
29764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29765 (eval $ac_try) 2>&5
29766 ac_status=$?
29767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29768 (exit $ac_status); }; } &&
29769 { ac_try='test -s conftest.$ac_objext'
29770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29771 (eval $ac_try) 2>&5
29772 ac_status=$?
29773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29774 (exit $ac_status); }; }; then
29775 glibcxx_cv_INT64_T=yes
29776 else
29777 echo "$as_me: failed program was:" >&5
29778 sed 's/^/| /' conftest.$ac_ext >&5
29780 glibcxx_cv_INT64_T=no
29782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29786 if test $glibcxx_cv_INT64_T = yes; then
29788 cat >>confdefs.h <<\_ACEOF
29789 #define HAVE_INT64_T 1
29790 _ACEOF
29795 # For LFS support.
29799 ac_ext=cc
29800 ac_cpp='$CXXCPP $CPPFLAGS'
29801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29805 ac_save_CXXFLAGS="$CXXFLAGS"
29806 CXXFLAGS="$CXXFLAGS -fno-exceptions"
29807 if test "${glibcxx_cv_LFS+set}" = set; then
29808 echo $ECHO_N "(cached) $ECHO_C" >&6
29809 else
29811 if test x$gcc_no_link = xyes; then
29812 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29814 { (exit 1); exit 1; }; }
29816 cat >conftest.$ac_ext <<_ACEOF
29817 /* confdefs.h. */
29818 _ACEOF
29819 cat confdefs.h >>conftest.$ac_ext
29820 cat >>conftest.$ac_ext <<_ACEOF
29821 /* end confdefs.h. */
29822 #include <unistd.h>
29823 #include <stdio.h>
29824 #include <sys/stat.h>
29827 main ()
29829 FILE* fp;
29830 fopen64("t", "w");
29831 fseeko64(fp, 0, SEEK_CUR);
29832 ftello64(fp);
29833 lseek64(1, 0, SEEK_CUR);
29834 struct stat64 buf;
29835 fstat64(1, &buf);
29837 return 0;
29839 _ACEOF
29840 rm -f conftest.$ac_objext conftest$ac_exeext
29841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29842 (eval $ac_link) 2>conftest.er1
29843 ac_status=$?
29844 grep -v '^ *+' conftest.er1 >conftest.err
29845 rm -f conftest.er1
29846 cat conftest.err >&5
29847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29848 (exit $ac_status); } &&
29849 { ac_try='test -z "$ac_cxx_werror_flag"
29850 || test ! -s conftest.err'
29851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29852 (eval $ac_try) 2>&5
29853 ac_status=$?
29854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29855 (exit $ac_status); }; } &&
29856 { ac_try='test -s conftest$ac_exeext'
29857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29858 (eval $ac_try) 2>&5
29859 ac_status=$?
29860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29861 (exit $ac_status); }; }; then
29862 glibcxx_cv_LFS=yes
29863 else
29864 echo "$as_me: failed program was:" >&5
29865 sed 's/^/| /' conftest.$ac_ext >&5
29867 glibcxx_cv_LFS=no
29869 rm -f conftest.err conftest.$ac_objext \
29870 conftest$ac_exeext conftest.$ac_ext
29874 if test $glibcxx_cv_LFS = yes; then
29876 cat >>confdefs.h <<\_ACEOF
29877 #define _GLIBCXX_USE_LFS 1
29878 _ACEOF
29881 CXXFLAGS="$ac_save_CXXFLAGS"
29882 ac_ext=c
29883 ac_cpp='$CPP $CPPFLAGS'
29884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29891 if test "${ac_cv_header_locale_h+set}" = set; then
29892 echo "$as_me:$LINENO: checking for locale.h" >&5
29893 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
29894 if test "${ac_cv_header_locale_h+set}" = set; then
29895 echo $ECHO_N "(cached) $ECHO_C" >&6
29897 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
29898 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
29899 else
29900 # Is the header compilable?
29901 echo "$as_me:$LINENO: checking locale.h usability" >&5
29902 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
29903 cat >conftest.$ac_ext <<_ACEOF
29904 /* confdefs.h. */
29905 _ACEOF
29906 cat confdefs.h >>conftest.$ac_ext
29907 cat >>conftest.$ac_ext <<_ACEOF
29908 /* end confdefs.h. */
29909 $ac_includes_default
29910 #include <locale.h>
29911 _ACEOF
29912 rm -f conftest.$ac_objext
29913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29914 (eval $ac_compile) 2>conftest.er1
29915 ac_status=$?
29916 grep -v '^ *+' conftest.er1 >conftest.err
29917 rm -f conftest.er1
29918 cat conftest.err >&5
29919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29920 (exit $ac_status); } &&
29921 { ac_try='test -z "$ac_c_werror_flag"
29922 || test ! -s conftest.err'
29923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29924 (eval $ac_try) 2>&5
29925 ac_status=$?
29926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29927 (exit $ac_status); }; } &&
29928 { ac_try='test -s conftest.$ac_objext'
29929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29930 (eval $ac_try) 2>&5
29931 ac_status=$?
29932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29933 (exit $ac_status); }; }; then
29934 ac_header_compiler=yes
29935 else
29936 echo "$as_me: failed program was:" >&5
29937 sed 's/^/| /' conftest.$ac_ext >&5
29939 ac_header_compiler=no
29941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29942 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29943 echo "${ECHO_T}$ac_header_compiler" >&6
29945 # Is the header present?
29946 echo "$as_me:$LINENO: checking locale.h presence" >&5
29947 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
29948 cat >conftest.$ac_ext <<_ACEOF
29949 /* confdefs.h. */
29950 _ACEOF
29951 cat confdefs.h >>conftest.$ac_ext
29952 cat >>conftest.$ac_ext <<_ACEOF
29953 /* end confdefs.h. */
29954 #include <locale.h>
29955 _ACEOF
29956 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29957 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29958 ac_status=$?
29959 grep -v '^ *+' conftest.er1 >conftest.err
29960 rm -f conftest.er1
29961 cat conftest.err >&5
29962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29963 (exit $ac_status); } >/dev/null; then
29964 if test -s conftest.err; then
29965 ac_cpp_err=$ac_c_preproc_warn_flag
29966 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29967 else
29968 ac_cpp_err=
29970 else
29971 ac_cpp_err=yes
29973 if test -z "$ac_cpp_err"; then
29974 ac_header_preproc=yes
29975 else
29976 echo "$as_me: failed program was:" >&5
29977 sed 's/^/| /' conftest.$ac_ext >&5
29979 ac_header_preproc=no
29981 rm -f conftest.err conftest.$ac_ext
29982 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29983 echo "${ECHO_T}$ac_header_preproc" >&6
29985 # So? What about this header?
29986 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29987 yes:no: )
29988 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
29989 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29990 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
29991 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
29992 ac_header_preproc=yes
29994 no:yes:* )
29995 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
29996 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
29997 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
29998 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
29999 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
30000 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
30001 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
30002 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
30003 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
30004 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
30005 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
30006 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
30008 cat <<\_ASBOX
30009 ## ----------------------------------------- ##
30010 ## Report this to the package-unused lists. ##
30011 ## ----------------------------------------- ##
30012 _ASBOX
30014 sed "s/^/$as_me: WARNING: /" >&2
30016 esac
30017 echo "$as_me:$LINENO: checking for locale.h" >&5
30018 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30019 if test "${ac_cv_header_locale_h+set}" = set; then
30020 echo $ECHO_N "(cached) $ECHO_C" >&6
30021 else
30022 ac_cv_header_locale_h=$ac_header_preproc
30024 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30025 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30028 if test $ac_cv_header_locale_h = yes; then
30030 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
30031 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
30032 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
30033 echo $ECHO_N "(cached) $ECHO_C" >&6
30034 else
30035 if test x$gcc_no_link = xyes; then
30036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30038 { (exit 1); exit 1; }; }
30040 cat >conftest.$ac_ext <<_ACEOF
30041 /* confdefs.h. */
30042 _ACEOF
30043 cat confdefs.h >>conftest.$ac_ext
30044 cat >>conftest.$ac_ext <<_ACEOF
30045 /* end confdefs.h. */
30046 #include <locale.h>
30048 main ()
30050 return LC_MESSAGES
30052 return 0;
30054 _ACEOF
30055 rm -f conftest.$ac_objext conftest$ac_exeext
30056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30057 (eval $ac_link) 2>conftest.er1
30058 ac_status=$?
30059 grep -v '^ *+' conftest.er1 >conftest.err
30060 rm -f conftest.er1
30061 cat conftest.err >&5
30062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30063 (exit $ac_status); } &&
30064 { ac_try='test -z "$ac_c_werror_flag"
30065 || test ! -s conftest.err'
30066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30067 (eval $ac_try) 2>&5
30068 ac_status=$?
30069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30070 (exit $ac_status); }; } &&
30071 { ac_try='test -s conftest$ac_exeext'
30072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30073 (eval $ac_try) 2>&5
30074 ac_status=$?
30075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30076 (exit $ac_status); }; }; then
30077 ac_cv_val_LC_MESSAGES=yes
30078 else
30079 echo "$as_me: failed program was:" >&5
30080 sed 's/^/| /' conftest.$ac_ext >&5
30082 ac_cv_val_LC_MESSAGES=no
30084 rm -f conftest.err conftest.$ac_objext \
30085 conftest$ac_exeext conftest.$ac_ext
30087 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
30088 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
30089 if test $ac_cv_val_LC_MESSAGES = yes; then
30091 cat >>confdefs.h <<\_ACEOF
30092 #define HAVE_LC_MESSAGES 1
30093 _ACEOF
30102 cat >conftest.$ac_ext <<_ACEOF
30103 /* confdefs.h. */
30104 _ACEOF
30105 cat confdefs.h >>conftest.$ac_ext
30106 cat >>conftest.$ac_ext <<_ACEOF
30107 /* end confdefs.h. */
30108 #include <setjmp.h>
30110 main ()
30112 sigjmp_buf env;
30113 while (! sigsetjmp (env, 1))
30114 siglongjmp (env, 1);
30117 return 0;
30119 _ACEOF
30120 rm -f conftest.$ac_objext
30121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30122 (eval $ac_compile) 2>conftest.er1
30123 ac_status=$?
30124 grep -v '^ *+' conftest.er1 >conftest.err
30125 rm -f conftest.er1
30126 cat conftest.err >&5
30127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30128 (exit $ac_status); } &&
30129 { ac_try='test -z "$ac_c_werror_flag"
30130 || test ! -s conftest.err'
30131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30132 (eval $ac_try) 2>&5
30133 ac_status=$?
30134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30135 (exit $ac_status); }; } &&
30136 { ac_try='test -s conftest.$ac_objext'
30137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30138 (eval $ac_try) 2>&5
30139 ac_status=$?
30140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30141 (exit $ac_status); }; }; then
30143 cat >>confdefs.h <<\_ACEOF
30144 #define HAVE_SIGSETJMP 1
30145 _ACEOF
30147 else
30148 echo "$as_me: failed program was:" >&5
30149 sed 's/^/| /' conftest.$ac_ext >&5
30152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30154 if test x$gcc_no_link = xyes; then
30155 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30156 ac_cv_func_mmap_fixed_mapped=no
30159 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30162 for ac_header in stdlib.h unistd.h
30164 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30165 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30166 echo "$as_me:$LINENO: checking for $ac_header" >&5
30167 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30168 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30169 echo $ECHO_N "(cached) $ECHO_C" >&6
30171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30172 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30173 else
30174 # Is the header compilable?
30175 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30176 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30177 cat >conftest.$ac_ext <<_ACEOF
30178 /* confdefs.h. */
30179 _ACEOF
30180 cat confdefs.h >>conftest.$ac_ext
30181 cat >>conftest.$ac_ext <<_ACEOF
30182 /* end confdefs.h. */
30183 $ac_includes_default
30184 #include <$ac_header>
30185 _ACEOF
30186 rm -f conftest.$ac_objext
30187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30188 (eval $ac_compile) 2>conftest.er1
30189 ac_status=$?
30190 grep -v '^ *+' conftest.er1 >conftest.err
30191 rm -f conftest.er1
30192 cat conftest.err >&5
30193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30194 (exit $ac_status); } &&
30195 { ac_try='test -z "$ac_c_werror_flag"
30196 || test ! -s conftest.err'
30197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30198 (eval $ac_try) 2>&5
30199 ac_status=$?
30200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30201 (exit $ac_status); }; } &&
30202 { ac_try='test -s conftest.$ac_objext'
30203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30204 (eval $ac_try) 2>&5
30205 ac_status=$?
30206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30207 (exit $ac_status); }; }; then
30208 ac_header_compiler=yes
30209 else
30210 echo "$as_me: failed program was:" >&5
30211 sed 's/^/| /' conftest.$ac_ext >&5
30213 ac_header_compiler=no
30215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30216 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30217 echo "${ECHO_T}$ac_header_compiler" >&6
30219 # Is the header present?
30220 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30221 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30222 cat >conftest.$ac_ext <<_ACEOF
30223 /* confdefs.h. */
30224 _ACEOF
30225 cat confdefs.h >>conftest.$ac_ext
30226 cat >>conftest.$ac_ext <<_ACEOF
30227 /* end confdefs.h. */
30228 #include <$ac_header>
30229 _ACEOF
30230 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30231 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30232 ac_status=$?
30233 grep -v '^ *+' conftest.er1 >conftest.err
30234 rm -f conftest.er1
30235 cat conftest.err >&5
30236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30237 (exit $ac_status); } >/dev/null; then
30238 if test -s conftest.err; then
30239 ac_cpp_err=$ac_c_preproc_warn_flag
30240 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30241 else
30242 ac_cpp_err=
30244 else
30245 ac_cpp_err=yes
30247 if test -z "$ac_cpp_err"; then
30248 ac_header_preproc=yes
30249 else
30250 echo "$as_me: failed program was:" >&5
30251 sed 's/^/| /' conftest.$ac_ext >&5
30253 ac_header_preproc=no
30255 rm -f conftest.err conftest.$ac_ext
30256 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30257 echo "${ECHO_T}$ac_header_preproc" >&6
30259 # So? What about this header?
30260 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30261 yes:no: )
30262 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30263 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30264 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30265 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30266 ac_header_preproc=yes
30268 no:yes:* )
30269 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30270 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30271 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30272 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30273 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30274 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30275 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30276 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30277 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30278 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30279 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30280 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30282 cat <<\_ASBOX
30283 ## ----------------------------------------- ##
30284 ## Report this to the package-unused lists. ##
30285 ## ----------------------------------------- ##
30286 _ASBOX
30288 sed "s/^/$as_me: WARNING: /" >&2
30290 esac
30291 echo "$as_me:$LINENO: checking for $ac_header" >&5
30292 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30294 echo $ECHO_N "(cached) $ECHO_C" >&6
30295 else
30296 eval "$as_ac_Header=\$ac_header_preproc"
30298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30299 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30302 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30303 cat >>confdefs.h <<_ACEOF
30304 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30305 _ACEOF
30309 done
30312 for ac_func in getpagesize
30314 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30315 echo "$as_me:$LINENO: checking for $ac_func" >&5
30316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30317 if eval "test \"\${$as_ac_var+set}\" = set"; then
30318 echo $ECHO_N "(cached) $ECHO_C" >&6
30319 else
30320 if test x$gcc_no_link = xyes; then
30321 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30323 { (exit 1); exit 1; }; }
30325 cat >conftest.$ac_ext <<_ACEOF
30326 /* confdefs.h. */
30327 _ACEOF
30328 cat confdefs.h >>conftest.$ac_ext
30329 cat >>conftest.$ac_ext <<_ACEOF
30330 /* end confdefs.h. */
30331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30333 #define $ac_func innocuous_$ac_func
30335 /* System header to define __stub macros and hopefully few prototypes,
30336 which can conflict with char $ac_func (); below.
30337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30338 <limits.h> exists even on freestanding compilers. */
30340 #ifdef __STDC__
30341 # include <limits.h>
30342 #else
30343 # include <assert.h>
30344 #endif
30346 #undef $ac_func
30348 /* Override any gcc2 internal prototype to avoid an error. */
30349 #ifdef __cplusplus
30350 extern "C"
30352 #endif
30353 /* We use char because int might match the return type of a gcc2
30354 builtin and then its argument prototype would still apply. */
30355 char $ac_func ();
30356 /* The GNU C library defines this for functions which it implements
30357 to always fail with ENOSYS. Some functions are actually named
30358 something starting with __ and the normal name is an alias. */
30359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30360 choke me
30361 #else
30362 char (*f) () = $ac_func;
30363 #endif
30364 #ifdef __cplusplus
30366 #endif
30369 main ()
30371 return f != $ac_func;
30373 return 0;
30375 _ACEOF
30376 rm -f conftest.$ac_objext conftest$ac_exeext
30377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30378 (eval $ac_link) 2>conftest.er1
30379 ac_status=$?
30380 grep -v '^ *+' conftest.er1 >conftest.err
30381 rm -f conftest.er1
30382 cat conftest.err >&5
30383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30384 (exit $ac_status); } &&
30385 { ac_try='test -z "$ac_c_werror_flag"
30386 || test ! -s conftest.err'
30387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30388 (eval $ac_try) 2>&5
30389 ac_status=$?
30390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30391 (exit $ac_status); }; } &&
30392 { ac_try='test -s conftest$ac_exeext'
30393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30394 (eval $ac_try) 2>&5
30395 ac_status=$?
30396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30397 (exit $ac_status); }; }; then
30398 eval "$as_ac_var=yes"
30399 else
30400 echo "$as_me: failed program was:" >&5
30401 sed 's/^/| /' conftest.$ac_ext >&5
30403 eval "$as_ac_var=no"
30405 rm -f conftest.err conftest.$ac_objext \
30406 conftest$ac_exeext conftest.$ac_ext
30408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30410 if test `eval echo '${'$as_ac_var'}'` = yes; then
30411 cat >>confdefs.h <<_ACEOF
30412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30413 _ACEOF
30416 done
30418 echo "$as_me:$LINENO: checking for working mmap" >&5
30419 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
30420 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
30421 echo $ECHO_N "(cached) $ECHO_C" >&6
30422 else
30423 if test "$cross_compiling" = yes; then
30424 ac_cv_func_mmap_fixed_mapped=no
30425 else
30426 cat >conftest.$ac_ext <<_ACEOF
30427 /* confdefs.h. */
30428 _ACEOF
30429 cat confdefs.h >>conftest.$ac_ext
30430 cat >>conftest.$ac_ext <<_ACEOF
30431 /* end confdefs.h. */
30432 $ac_includes_default
30433 /* malloc might have been renamed as rpl_malloc. */
30434 #undef malloc
30436 /* Thanks to Mike Haertel and Jim Avera for this test.
30437 Here is a matrix of mmap possibilities:
30438 mmap private not fixed
30439 mmap private fixed at somewhere currently unmapped
30440 mmap private fixed at somewhere already mapped
30441 mmap shared not fixed
30442 mmap shared fixed at somewhere currently unmapped
30443 mmap shared fixed at somewhere already mapped
30444 For private mappings, we should verify that changes cannot be read()
30445 back from the file, nor mmap's back from the file at a different
30446 address. (There have been systems where private was not correctly
30447 implemented like the infamous i386 svr4.0, and systems where the
30448 VM page cache was not coherent with the file system buffer cache
30449 like early versions of FreeBSD and possibly contemporary NetBSD.)
30450 For shared mappings, we should conversely verify that changes get
30451 propagated back to all the places they're supposed to be.
30453 Grep wants private fixed already mapped.
30454 The main things grep needs to know about mmap are:
30455 * does it exist and is it safe to write into the mmap'd area
30456 * how to use it (BSD variants) */
30458 #include <fcntl.h>
30459 #include <sys/mman.h>
30461 #if !STDC_HEADERS && !HAVE_STDLIB_H
30462 char *malloc ();
30463 #endif
30465 /* This mess was copied from the GNU getpagesize.h. */
30466 #if !HAVE_GETPAGESIZE
30467 /* Assume that all systems that can run configure have sys/param.h. */
30468 # if !HAVE_SYS_PARAM_H
30469 # define HAVE_SYS_PARAM_H 1
30470 # endif
30472 # ifdef _SC_PAGESIZE
30473 # define getpagesize() sysconf(_SC_PAGESIZE)
30474 # else /* no _SC_PAGESIZE */
30475 # if HAVE_SYS_PARAM_H
30476 # include <sys/param.h>
30477 # ifdef EXEC_PAGESIZE
30478 # define getpagesize() EXEC_PAGESIZE
30479 # else /* no EXEC_PAGESIZE */
30480 # ifdef NBPG
30481 # define getpagesize() NBPG * CLSIZE
30482 # ifndef CLSIZE
30483 # define CLSIZE 1
30484 # endif /* no CLSIZE */
30485 # else /* no NBPG */
30486 # ifdef NBPC
30487 # define getpagesize() NBPC
30488 # else /* no NBPC */
30489 # ifdef PAGESIZE
30490 # define getpagesize() PAGESIZE
30491 # endif /* PAGESIZE */
30492 # endif /* no NBPC */
30493 # endif /* no NBPG */
30494 # endif /* no EXEC_PAGESIZE */
30495 # else /* no HAVE_SYS_PARAM_H */
30496 # define getpagesize() 8192 /* punt totally */
30497 # endif /* no HAVE_SYS_PARAM_H */
30498 # endif /* no _SC_PAGESIZE */
30500 #endif /* no HAVE_GETPAGESIZE */
30503 main ()
30505 char *data, *data2, *data3;
30506 int i, pagesize;
30507 int fd;
30509 pagesize = getpagesize ();
30511 /* First, make a file with some known garbage in it. */
30512 data = (char *) malloc (pagesize);
30513 if (!data)
30514 exit (1);
30515 for (i = 0; i < pagesize; ++i)
30516 *(data + i) = rand ();
30517 umask (0);
30518 fd = creat ("conftest.mmap", 0600);
30519 if (fd < 0)
30520 exit (1);
30521 if (write (fd, data, pagesize) != pagesize)
30522 exit (1);
30523 close (fd);
30525 /* Next, try to mmap the file at a fixed address which already has
30526 something else allocated at it. If we can, also make sure that
30527 we see the same garbage. */
30528 fd = open ("conftest.mmap", O_RDWR);
30529 if (fd < 0)
30530 exit (1);
30531 data2 = (char *) malloc (2 * pagesize);
30532 if (!data2)
30533 exit (1);
30534 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
30535 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
30536 MAP_PRIVATE | MAP_FIXED, fd, 0L))
30537 exit (1);
30538 for (i = 0; i < pagesize; ++i)
30539 if (*(data + i) != *(data2 + i))
30540 exit (1);
30542 /* Finally, make sure that changes to the mapped area do not
30543 percolate back to the file as seen by read(). (This is a bug on
30544 some variants of i386 svr4.0.) */
30545 for (i = 0; i < pagesize; ++i)
30546 *(data2 + i) = *(data2 + i) + 1;
30547 data3 = (char *) malloc (pagesize);
30548 if (!data3)
30549 exit (1);
30550 if (read (fd, data3, pagesize) != pagesize)
30551 exit (1);
30552 for (i = 0; i < pagesize; ++i)
30553 if (*(data + i) != *(data3 + i))
30554 exit (1);
30555 close (fd);
30556 exit (0);
30558 _ACEOF
30559 rm -f conftest$ac_exeext
30560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30561 (eval $ac_link) 2>&5
30562 ac_status=$?
30563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30564 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30566 (eval $ac_try) 2>&5
30567 ac_status=$?
30568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30569 (exit $ac_status); }; }; then
30570 ac_cv_func_mmap_fixed_mapped=yes
30571 else
30572 echo "$as_me: program exited with status $ac_status" >&5
30573 echo "$as_me: failed program was:" >&5
30574 sed 's/^/| /' conftest.$ac_ext >&5
30576 ( exit $ac_status )
30577 ac_cv_func_mmap_fixed_mapped=no
30579 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30582 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
30583 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
30584 if test $ac_cv_func_mmap_fixed_mapped = yes; then
30586 cat >>confdefs.h <<\_ACEOF
30587 #define HAVE_MMAP 1
30588 _ACEOF
30591 rm -f conftest.mmap
30595 else
30597 # This lets us hard-code the functionality we know we'll have in the cross
30598 # target environment. "Let" is a sugar-coated word placed on an especially
30599 # dull and tedious hack, actually.
30601 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
30602 # that involve linking, can't be used:
30603 # "cannot open sim-crt0.o"
30604 # "cannot open crt0.o"
30605 # etc. All this is because there currently exists no unified, consistent
30606 # way for top level CC information to be passed down to target directories:
30607 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
30608 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
30609 # crosses can be removed.
30611 # If Canadian cross, then don't pick up tools from the build directory.
30612 # Used only in GLIBCXX_EXPORT_INCLUDES.
30613 if test -n "$with_cross_host" &&
30614 test x"$build_alias" != x"$with_cross_host" &&
30615 test x"$build" != x"$target";
30616 then
30617 CANADIAN=yes
30618 else
30619 CANADIAN=no
30622 # Construct crosses by hand, eliminating bits that need ld...
30623 # GLIBCXX_CHECK_COMPILER_FEATURES
30624 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
30625 # GLIBCXX_CHECK_MATH_SUPPORT
30627 # First, test for "known" system libraries. We may be using newlib even
30628 # on a hosted environment.
30629 if test "x${with_newlib}" = "xyes"; then
30630 os_include_dir="os/newlib"
30631 cat >>confdefs.h <<\_ACEOF
30632 #define HAVE_HYPOT 1
30633 _ACEOF
30636 # GLIBCXX_CHECK_STDLIB_SUPPORT
30637 cat >>confdefs.h <<\_ACEOF
30638 #define HAVE_STRTOF 1
30639 _ACEOF
30641 # AC_FUNC_MMAP
30642 cat >>confdefs.h <<\_ACEOF
30643 #define HAVE_MMAP 1
30644 _ACEOF
30647 cat >>confdefs.h <<\_ACEOF
30648 #define HAVE_ACOSF 1
30649 _ACEOF
30651 cat >>confdefs.h <<\_ACEOF
30652 #define HAVE_ASINF 1
30653 _ACEOF
30655 cat >>confdefs.h <<\_ACEOF
30656 #define HAVE_ATAN2F 1
30657 _ACEOF
30659 cat >>confdefs.h <<\_ACEOF
30660 #define HAVE_ATANF 1
30661 _ACEOF
30663 cat >>confdefs.h <<\_ACEOF
30664 #define HAVE_CEILF 1
30665 _ACEOF
30667 cat >>confdefs.h <<\_ACEOF
30668 #define HAVE_COPYSIGN 1
30669 _ACEOF
30671 cat >>confdefs.h <<\_ACEOF
30672 #define HAVE_COPYSIGNF 1
30673 _ACEOF
30675 cat >>confdefs.h <<\_ACEOF
30676 #define HAVE_COSF 1
30677 _ACEOF
30679 cat >>confdefs.h <<\_ACEOF
30680 #define HAVE_COSHF 1
30681 _ACEOF
30683 cat >>confdefs.h <<\_ACEOF
30684 #define HAVE_EXPF 1
30685 _ACEOF
30687 cat >>confdefs.h <<\_ACEOF
30688 #define HAVE_FABSF 1
30689 _ACEOF
30691 cat >>confdefs.h <<\_ACEOF
30692 #define HAVE_FLOORF 1
30693 _ACEOF
30695 cat >>confdefs.h <<\_ACEOF
30696 #define HAVE_FMODF 1
30697 _ACEOF
30699 cat >>confdefs.h <<\_ACEOF
30700 #define HAVE_FREXPF 1
30701 _ACEOF
30703 cat >>confdefs.h <<\_ACEOF
30704 #define HAVE_LDEXPF 1
30705 _ACEOF
30707 cat >>confdefs.h <<\_ACEOF
30708 #define HAVE_LOG10F 1
30709 _ACEOF
30711 cat >>confdefs.h <<\_ACEOF
30712 #define HAVE_LOGF 1
30713 _ACEOF
30715 cat >>confdefs.h <<\_ACEOF
30716 #define HAVE_MODFF 1
30717 _ACEOF
30719 cat >>confdefs.h <<\_ACEOF
30720 #define HAVE_POWF 1
30721 _ACEOF
30723 cat >>confdefs.h <<\_ACEOF
30724 #define HAVE_SINF 1
30725 _ACEOF
30727 cat >>confdefs.h <<\_ACEOF
30728 #define HAVE_SINHF 1
30729 _ACEOF
30731 cat >>confdefs.h <<\_ACEOF
30732 #define HAVE_SQRTF 1
30733 _ACEOF
30735 cat >>confdefs.h <<\_ACEOF
30736 #define HAVE_TANF 1
30737 _ACEOF
30739 cat >>confdefs.h <<\_ACEOF
30740 #define HAVE_TANHF 1
30741 _ACEOF
30744 cat >>confdefs.h <<\_ACEOF
30745 #define HAVE_S_ISREG 1
30746 _ACEOF
30748 cat >>confdefs.h <<\_ACEOF
30749 #define HAVE_S_IFREG 1
30750 _ACEOF
30752 else
30754 # Base decisions on target environment.
30755 case "${host}" in
30756 arm*-*-symbianelf*)
30757 # This is a freestanding configuration; there is nothing to do here.
30760 *-darwin*)
30761 # Darwin versions vary, but the linker should work in a cross environment,
30762 # so we just check for all the features here.
30763 # Check for available headers.
30777 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
30778 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
30779 sys/types.h
30781 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30783 echo "$as_me:$LINENO: checking for $ac_header" >&5
30784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30786 echo $ECHO_N "(cached) $ECHO_C" >&6
30788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30789 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30790 else
30791 # Is the header compilable?
30792 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30793 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30794 cat >conftest.$ac_ext <<_ACEOF
30795 /* confdefs.h. */
30796 _ACEOF
30797 cat confdefs.h >>conftest.$ac_ext
30798 cat >>conftest.$ac_ext <<_ACEOF
30799 /* end confdefs.h. */
30800 $ac_includes_default
30801 #include <$ac_header>
30802 _ACEOF
30803 rm -f conftest.$ac_objext
30804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30805 (eval $ac_compile) 2>conftest.er1
30806 ac_status=$?
30807 grep -v '^ *+' conftest.er1 >conftest.err
30808 rm -f conftest.er1
30809 cat conftest.err >&5
30810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30811 (exit $ac_status); } &&
30812 { ac_try='test -z "$ac_c_werror_flag"
30813 || test ! -s conftest.err'
30814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30815 (eval $ac_try) 2>&5
30816 ac_status=$?
30817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30818 (exit $ac_status); }; } &&
30819 { ac_try='test -s conftest.$ac_objext'
30820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30821 (eval $ac_try) 2>&5
30822 ac_status=$?
30823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30824 (exit $ac_status); }; }; then
30825 ac_header_compiler=yes
30826 else
30827 echo "$as_me: failed program was:" >&5
30828 sed 's/^/| /' conftest.$ac_ext >&5
30830 ac_header_compiler=no
30832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30833 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30834 echo "${ECHO_T}$ac_header_compiler" >&6
30836 # Is the header present?
30837 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30838 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30839 cat >conftest.$ac_ext <<_ACEOF
30840 /* confdefs.h. */
30841 _ACEOF
30842 cat confdefs.h >>conftest.$ac_ext
30843 cat >>conftest.$ac_ext <<_ACEOF
30844 /* end confdefs.h. */
30845 #include <$ac_header>
30846 _ACEOF
30847 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30848 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30849 ac_status=$?
30850 grep -v '^ *+' conftest.er1 >conftest.err
30851 rm -f conftest.er1
30852 cat conftest.err >&5
30853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30854 (exit $ac_status); } >/dev/null; then
30855 if test -s conftest.err; then
30856 ac_cpp_err=$ac_c_preproc_warn_flag
30857 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30858 else
30859 ac_cpp_err=
30861 else
30862 ac_cpp_err=yes
30864 if test -z "$ac_cpp_err"; then
30865 ac_header_preproc=yes
30866 else
30867 echo "$as_me: failed program was:" >&5
30868 sed 's/^/| /' conftest.$ac_ext >&5
30870 ac_header_preproc=no
30872 rm -f conftest.err conftest.$ac_ext
30873 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30874 echo "${ECHO_T}$ac_header_preproc" >&6
30876 # So? What about this header?
30877 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30878 yes:no: )
30879 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30880 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30881 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30882 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30883 ac_header_preproc=yes
30885 no:yes:* )
30886 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30887 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30888 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30889 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30890 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30891 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30892 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30893 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30894 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30895 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30896 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30897 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30899 cat <<\_ASBOX
30900 ## ----------------------------------------- ##
30901 ## Report this to the package-unused lists. ##
30902 ## ----------------------------------------- ##
30903 _ASBOX
30905 sed "s/^/$as_me: WARNING: /" >&2
30907 esac
30908 echo "$as_me:$LINENO: checking for $ac_header" >&5
30909 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30910 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30911 echo $ECHO_N "(cached) $ECHO_C" >&6
30912 else
30913 eval "$as_ac_Header=\$ac_header_preproc"
30915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30916 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30919 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30920 cat >>confdefs.h <<_ACEOF
30921 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30922 _ACEOF
30926 done
30930 # All these tests are for C++; save the language and the compiler flags.
30931 # The CXXFLAGS thing is suspicious, but based on similar bits previously
30932 # found in GLIBCXX_CONFIGURE.
30935 ac_ext=cc
30936 ac_cpp='$CXXCPP $CPPFLAGS'
30937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30941 ac_test_CXXFLAGS="${CXXFLAGS+set}"
30942 ac_save_CXXFLAGS="$CXXFLAGS"
30944 # Check for maintainer-mode bits.
30945 if test x"$USE_MAINTAINER_MODE" = xno; then
30946 WERROR=''
30947 else
30948 WERROR='-Werror'
30951 # Check for -ffunction-sections -fdata-sections
30952 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
30953 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
30954 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
30955 cat >conftest.$ac_ext <<_ACEOF
30956 /* confdefs.h. */
30957 _ACEOF
30958 cat confdefs.h >>conftest.$ac_ext
30959 cat >>conftest.$ac_ext <<_ACEOF
30960 /* end confdefs.h. */
30963 main ()
30965 int foo;
30967 return 0;
30969 _ACEOF
30970 rm -f conftest.$ac_objext
30971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30972 (eval $ac_compile) 2>conftest.er1
30973 ac_status=$?
30974 grep -v '^ *+' conftest.er1 >conftest.err
30975 rm -f conftest.er1
30976 cat conftest.err >&5
30977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30978 (exit $ac_status); } &&
30979 { ac_try='test -z "$ac_cxx_werror_flag"
30980 || test ! -s conftest.err'
30981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30982 (eval $ac_try) 2>&5
30983 ac_status=$?
30984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30985 (exit $ac_status); }; } &&
30986 { ac_try='test -s conftest.$ac_objext'
30987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30988 (eval $ac_try) 2>&5
30989 ac_status=$?
30990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30991 (exit $ac_status); }; }; then
30992 ac_fdsections=yes
30993 else
30994 echo "$as_me: failed program was:" >&5
30995 sed 's/^/| /' conftest.$ac_ext >&5
30997 ac_fdsections=no
30999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31000 if test "$ac_test_CXXFLAGS" = set; then
31001 CXXFLAGS="$ac_save_CXXFLAGS"
31002 else
31003 # this is the suspicious part
31004 CXXFLAGS=''
31006 if test x"$ac_fdsections" = x"yes"; then
31007 SECTION_FLAGS='-ffunction-sections -fdata-sections'
31009 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
31010 echo "${ECHO_T}$ac_fdsections" >&6
31012 ac_ext=c
31013 ac_cpp='$CPP $CPPFLAGS'
31014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31021 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
31023 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31024 ac_save_CXXFLAGS="$CXXFLAGS"
31025 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
31027 echo "$as_me:$LINENO: checking for sin in -lm" >&5
31028 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
31029 if test "${ac_cv_lib_m_sin+set}" = set; then
31030 echo $ECHO_N "(cached) $ECHO_C" >&6
31031 else
31032 ac_check_lib_save_LIBS=$LIBS
31033 LIBS="-lm $LIBS"
31034 if test x$gcc_no_link = xyes; then
31035 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31037 { (exit 1); exit 1; }; }
31039 cat >conftest.$ac_ext <<_ACEOF
31040 /* confdefs.h. */
31041 _ACEOF
31042 cat confdefs.h >>conftest.$ac_ext
31043 cat >>conftest.$ac_ext <<_ACEOF
31044 /* end confdefs.h. */
31046 /* Override any gcc2 internal prototype to avoid an error. */
31047 #ifdef __cplusplus
31048 extern "C"
31049 #endif
31050 /* We use char because int might match the return type of a gcc2
31051 builtin and then its argument prototype would still apply. */
31052 char sin ();
31054 main ()
31056 sin ();
31058 return 0;
31060 _ACEOF
31061 rm -f conftest.$ac_objext conftest$ac_exeext
31062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31063 (eval $ac_link) 2>conftest.er1
31064 ac_status=$?
31065 grep -v '^ *+' conftest.er1 >conftest.err
31066 rm -f conftest.er1
31067 cat conftest.err >&5
31068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31069 (exit $ac_status); } &&
31070 { ac_try='test -z "$ac_c_werror_flag"
31071 || test ! -s conftest.err'
31072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31073 (eval $ac_try) 2>&5
31074 ac_status=$?
31075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31076 (exit $ac_status); }; } &&
31077 { ac_try='test -s conftest$ac_exeext'
31078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31079 (eval $ac_try) 2>&5
31080 ac_status=$?
31081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31082 (exit $ac_status); }; }; then
31083 ac_cv_lib_m_sin=yes
31084 else
31085 echo "$as_me: failed program was:" >&5
31086 sed 's/^/| /' conftest.$ac_ext >&5
31088 ac_cv_lib_m_sin=no
31090 rm -f conftest.err conftest.$ac_objext \
31091 conftest$ac_exeext conftest.$ac_ext
31092 LIBS=$ac_check_lib_save_LIBS
31094 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
31095 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
31096 if test $ac_cv_lib_m_sin = yes; then
31097 libm="-lm"
31100 ac_save_LIBS="$LIBS"
31101 LIBS="$LIBS $libm"
31105 echo "$as_me:$LINENO: checking for isinf declaration" >&5
31106 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
31107 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
31108 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
31109 echo $ECHO_N "(cached) $ECHO_C" >&6
31110 else
31114 ac_ext=cc
31115 ac_cpp='$CXXCPP $CPPFLAGS'
31116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31120 cat >conftest.$ac_ext <<_ACEOF
31121 /* confdefs.h. */
31122 _ACEOF
31123 cat confdefs.h >>conftest.$ac_ext
31124 cat >>conftest.$ac_ext <<_ACEOF
31125 /* end confdefs.h. */
31126 #include <math.h>
31127 #ifdef HAVE_IEEEFP_H
31128 #include <ieeefp.h>
31129 #endif
31132 main ()
31134 isinf(0);
31136 return 0;
31138 _ACEOF
31139 rm -f conftest.$ac_objext
31140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31141 (eval $ac_compile) 2>conftest.er1
31142 ac_status=$?
31143 grep -v '^ *+' conftest.er1 >conftest.err
31144 rm -f conftest.er1
31145 cat conftest.err >&5
31146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31147 (exit $ac_status); } &&
31148 { ac_try='test -z "$ac_cxx_werror_flag"
31149 || test ! -s conftest.err'
31150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31151 (eval $ac_try) 2>&5
31152 ac_status=$?
31153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31154 (exit $ac_status); }; } &&
31155 { ac_try='test -s conftest.$ac_objext'
31156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31157 (eval $ac_try) 2>&5
31158 ac_status=$?
31159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31160 (exit $ac_status); }; }; then
31161 glibcxx_cv_func_isinf_use=yes
31162 else
31163 echo "$as_me: failed program was:" >&5
31164 sed 's/^/| /' conftest.$ac_ext >&5
31166 glibcxx_cv_func_isinf_use=no
31168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31169 ac_ext=c
31170 ac_cpp='$CPP $CPPFLAGS'
31171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31179 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
31180 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
31182 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
31184 for ac_func in isinf
31186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31187 echo "$as_me:$LINENO: checking for $ac_func" >&5
31188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31189 if eval "test \"\${$as_ac_var+set}\" = set"; then
31190 echo $ECHO_N "(cached) $ECHO_C" >&6
31191 else
31192 if test x$gcc_no_link = xyes; then
31193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31195 { (exit 1); exit 1; }; }
31197 cat >conftest.$ac_ext <<_ACEOF
31198 /* confdefs.h. */
31199 _ACEOF
31200 cat confdefs.h >>conftest.$ac_ext
31201 cat >>conftest.$ac_ext <<_ACEOF
31202 /* end confdefs.h. */
31203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31205 #define $ac_func innocuous_$ac_func
31207 /* System header to define __stub macros and hopefully few prototypes,
31208 which can conflict with char $ac_func (); below.
31209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31210 <limits.h> exists even on freestanding compilers. */
31212 #ifdef __STDC__
31213 # include <limits.h>
31214 #else
31215 # include <assert.h>
31216 #endif
31218 #undef $ac_func
31220 /* Override any gcc2 internal prototype to avoid an error. */
31221 #ifdef __cplusplus
31222 extern "C"
31224 #endif
31225 /* We use char because int might match the return type of a gcc2
31226 builtin and then its argument prototype would still apply. */
31227 char $ac_func ();
31228 /* The GNU C library defines this for functions which it implements
31229 to always fail with ENOSYS. Some functions are actually named
31230 something starting with __ and the normal name is an alias. */
31231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31232 choke me
31233 #else
31234 char (*f) () = $ac_func;
31235 #endif
31236 #ifdef __cplusplus
31238 #endif
31241 main ()
31243 return f != $ac_func;
31245 return 0;
31247 _ACEOF
31248 rm -f conftest.$ac_objext conftest$ac_exeext
31249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31250 (eval $ac_link) 2>conftest.er1
31251 ac_status=$?
31252 grep -v '^ *+' conftest.er1 >conftest.err
31253 rm -f conftest.er1
31254 cat conftest.err >&5
31255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31256 (exit $ac_status); } &&
31257 { ac_try='test -z "$ac_c_werror_flag"
31258 || test ! -s conftest.err'
31259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31260 (eval $ac_try) 2>&5
31261 ac_status=$?
31262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31263 (exit $ac_status); }; } &&
31264 { ac_try='test -s conftest$ac_exeext'
31265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31266 (eval $ac_try) 2>&5
31267 ac_status=$?
31268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31269 (exit $ac_status); }; }; then
31270 eval "$as_ac_var=yes"
31271 else
31272 echo "$as_me: failed program was:" >&5
31273 sed 's/^/| /' conftest.$ac_ext >&5
31275 eval "$as_ac_var=no"
31277 rm -f conftest.err conftest.$ac_objext \
31278 conftest$ac_exeext conftest.$ac_ext
31280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31282 if test `eval echo '${'$as_ac_var'}'` = yes; then
31283 cat >>confdefs.h <<_ACEOF
31284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31285 _ACEOF
31288 done
31290 else
31292 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
31293 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
31294 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
31295 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
31296 echo $ECHO_N "(cached) $ECHO_C" >&6
31297 else
31301 ac_ext=cc
31302 ac_cpp='$CXXCPP $CPPFLAGS'
31303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31307 cat >conftest.$ac_ext <<_ACEOF
31308 /* confdefs.h. */
31309 _ACEOF
31310 cat confdefs.h >>conftest.$ac_ext
31311 cat >>conftest.$ac_ext <<_ACEOF
31312 /* end confdefs.h. */
31313 #include <math.h>
31314 #ifdef HAVE_IEEEFP_H
31315 #include <ieeefp.h>
31316 #endif
31319 main ()
31321 _isinf(0);
31323 return 0;
31325 _ACEOF
31326 rm -f conftest.$ac_objext
31327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31328 (eval $ac_compile) 2>conftest.er1
31329 ac_status=$?
31330 grep -v '^ *+' conftest.er1 >conftest.err
31331 rm -f conftest.er1
31332 cat conftest.err >&5
31333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31334 (exit $ac_status); } &&
31335 { ac_try='test -z "$ac_cxx_werror_flag"
31336 || test ! -s conftest.err'
31337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31338 (eval $ac_try) 2>&5
31339 ac_status=$?
31340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31341 (exit $ac_status); }; } &&
31342 { ac_try='test -s conftest.$ac_objext'
31343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31344 (eval $ac_try) 2>&5
31345 ac_status=$?
31346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31347 (exit $ac_status); }; }; then
31348 glibcxx_cv_func__isinf_use=yes
31349 else
31350 echo "$as_me: failed program was:" >&5
31351 sed 's/^/| /' conftest.$ac_ext >&5
31353 glibcxx_cv_func__isinf_use=no
31355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31356 ac_ext=c
31357 ac_cpp='$CPP $CPPFLAGS'
31358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31366 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
31367 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
31369 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
31371 for ac_func in _isinf
31373 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31374 echo "$as_me:$LINENO: checking for $ac_func" >&5
31375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31376 if eval "test \"\${$as_ac_var+set}\" = set"; then
31377 echo $ECHO_N "(cached) $ECHO_C" >&6
31378 else
31379 if test x$gcc_no_link = xyes; then
31380 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31382 { (exit 1); exit 1; }; }
31384 cat >conftest.$ac_ext <<_ACEOF
31385 /* confdefs.h. */
31386 _ACEOF
31387 cat confdefs.h >>conftest.$ac_ext
31388 cat >>conftest.$ac_ext <<_ACEOF
31389 /* end confdefs.h. */
31390 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31391 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31392 #define $ac_func innocuous_$ac_func
31394 /* System header to define __stub macros and hopefully few prototypes,
31395 which can conflict with char $ac_func (); below.
31396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31397 <limits.h> exists even on freestanding compilers. */
31399 #ifdef __STDC__
31400 # include <limits.h>
31401 #else
31402 # include <assert.h>
31403 #endif
31405 #undef $ac_func
31407 /* Override any gcc2 internal prototype to avoid an error. */
31408 #ifdef __cplusplus
31409 extern "C"
31411 #endif
31412 /* We use char because int might match the return type of a gcc2
31413 builtin and then its argument prototype would still apply. */
31414 char $ac_func ();
31415 /* The GNU C library defines this for functions which it implements
31416 to always fail with ENOSYS. Some functions are actually named
31417 something starting with __ and the normal name is an alias. */
31418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31419 choke me
31420 #else
31421 char (*f) () = $ac_func;
31422 #endif
31423 #ifdef __cplusplus
31425 #endif
31428 main ()
31430 return f != $ac_func;
31432 return 0;
31434 _ACEOF
31435 rm -f conftest.$ac_objext conftest$ac_exeext
31436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31437 (eval $ac_link) 2>conftest.er1
31438 ac_status=$?
31439 grep -v '^ *+' conftest.er1 >conftest.err
31440 rm -f conftest.er1
31441 cat conftest.err >&5
31442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31443 (exit $ac_status); } &&
31444 { ac_try='test -z "$ac_c_werror_flag"
31445 || test ! -s conftest.err'
31446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31447 (eval $ac_try) 2>&5
31448 ac_status=$?
31449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31450 (exit $ac_status); }; } &&
31451 { ac_try='test -s conftest$ac_exeext'
31452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31453 (eval $ac_try) 2>&5
31454 ac_status=$?
31455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31456 (exit $ac_status); }; }; then
31457 eval "$as_ac_var=yes"
31458 else
31459 echo "$as_me: failed program was:" >&5
31460 sed 's/^/| /' conftest.$ac_ext >&5
31462 eval "$as_ac_var=no"
31464 rm -f conftest.err conftest.$ac_objext \
31465 conftest$ac_exeext conftest.$ac_ext
31467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31469 if test `eval echo '${'$as_ac_var'}'` = yes; then
31470 cat >>confdefs.h <<_ACEOF
31471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31472 _ACEOF
31475 done
31485 echo "$as_me:$LINENO: checking for isnan declaration" >&5
31486 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
31487 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
31488 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
31489 echo $ECHO_N "(cached) $ECHO_C" >&6
31490 else
31494 ac_ext=cc
31495 ac_cpp='$CXXCPP $CPPFLAGS'
31496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31500 cat >conftest.$ac_ext <<_ACEOF
31501 /* confdefs.h. */
31502 _ACEOF
31503 cat confdefs.h >>conftest.$ac_ext
31504 cat >>conftest.$ac_ext <<_ACEOF
31505 /* end confdefs.h. */
31506 #include <math.h>
31507 #ifdef HAVE_IEEEFP_H
31508 #include <ieeefp.h>
31509 #endif
31512 main ()
31514 isnan(0);
31516 return 0;
31518 _ACEOF
31519 rm -f conftest.$ac_objext
31520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31521 (eval $ac_compile) 2>conftest.er1
31522 ac_status=$?
31523 grep -v '^ *+' conftest.er1 >conftest.err
31524 rm -f conftest.er1
31525 cat conftest.err >&5
31526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31527 (exit $ac_status); } &&
31528 { ac_try='test -z "$ac_cxx_werror_flag"
31529 || test ! -s conftest.err'
31530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31531 (eval $ac_try) 2>&5
31532 ac_status=$?
31533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31534 (exit $ac_status); }; } &&
31535 { ac_try='test -s conftest.$ac_objext'
31536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31537 (eval $ac_try) 2>&5
31538 ac_status=$?
31539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31540 (exit $ac_status); }; }; then
31541 glibcxx_cv_func_isnan_use=yes
31542 else
31543 echo "$as_me: failed program was:" >&5
31544 sed 's/^/| /' conftest.$ac_ext >&5
31546 glibcxx_cv_func_isnan_use=no
31548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31549 ac_ext=c
31550 ac_cpp='$CPP $CPPFLAGS'
31551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31559 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
31560 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
31562 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
31564 for ac_func in isnan
31566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31567 echo "$as_me:$LINENO: checking for $ac_func" >&5
31568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31569 if eval "test \"\${$as_ac_var+set}\" = set"; then
31570 echo $ECHO_N "(cached) $ECHO_C" >&6
31571 else
31572 if test x$gcc_no_link = xyes; then
31573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31575 { (exit 1); exit 1; }; }
31577 cat >conftest.$ac_ext <<_ACEOF
31578 /* confdefs.h. */
31579 _ACEOF
31580 cat confdefs.h >>conftest.$ac_ext
31581 cat >>conftest.$ac_ext <<_ACEOF
31582 /* end confdefs.h. */
31583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31585 #define $ac_func innocuous_$ac_func
31587 /* System header to define __stub macros and hopefully few prototypes,
31588 which can conflict with char $ac_func (); below.
31589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31590 <limits.h> exists even on freestanding compilers. */
31592 #ifdef __STDC__
31593 # include <limits.h>
31594 #else
31595 # include <assert.h>
31596 #endif
31598 #undef $ac_func
31600 /* Override any gcc2 internal prototype to avoid an error. */
31601 #ifdef __cplusplus
31602 extern "C"
31604 #endif
31605 /* We use char because int might match the return type of a gcc2
31606 builtin and then its argument prototype would still apply. */
31607 char $ac_func ();
31608 /* The GNU C library defines this for functions which it implements
31609 to always fail with ENOSYS. Some functions are actually named
31610 something starting with __ and the normal name is an alias. */
31611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31612 choke me
31613 #else
31614 char (*f) () = $ac_func;
31615 #endif
31616 #ifdef __cplusplus
31618 #endif
31621 main ()
31623 return f != $ac_func;
31625 return 0;
31627 _ACEOF
31628 rm -f conftest.$ac_objext conftest$ac_exeext
31629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31630 (eval $ac_link) 2>conftest.er1
31631 ac_status=$?
31632 grep -v '^ *+' conftest.er1 >conftest.err
31633 rm -f conftest.er1
31634 cat conftest.err >&5
31635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31636 (exit $ac_status); } &&
31637 { ac_try='test -z "$ac_c_werror_flag"
31638 || test ! -s conftest.err'
31639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31640 (eval $ac_try) 2>&5
31641 ac_status=$?
31642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31643 (exit $ac_status); }; } &&
31644 { ac_try='test -s conftest$ac_exeext'
31645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31646 (eval $ac_try) 2>&5
31647 ac_status=$?
31648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31649 (exit $ac_status); }; }; then
31650 eval "$as_ac_var=yes"
31651 else
31652 echo "$as_me: failed program was:" >&5
31653 sed 's/^/| /' conftest.$ac_ext >&5
31655 eval "$as_ac_var=no"
31657 rm -f conftest.err conftest.$ac_objext \
31658 conftest$ac_exeext conftest.$ac_ext
31660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31662 if test `eval echo '${'$as_ac_var'}'` = yes; then
31663 cat >>confdefs.h <<_ACEOF
31664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31665 _ACEOF
31668 done
31670 else
31672 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
31673 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
31674 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
31675 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
31676 echo $ECHO_N "(cached) $ECHO_C" >&6
31677 else
31681 ac_ext=cc
31682 ac_cpp='$CXXCPP $CPPFLAGS'
31683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31687 cat >conftest.$ac_ext <<_ACEOF
31688 /* confdefs.h. */
31689 _ACEOF
31690 cat confdefs.h >>conftest.$ac_ext
31691 cat >>conftest.$ac_ext <<_ACEOF
31692 /* end confdefs.h. */
31693 #include <math.h>
31694 #ifdef HAVE_IEEEFP_H
31695 #include <ieeefp.h>
31696 #endif
31699 main ()
31701 _isnan(0);
31703 return 0;
31705 _ACEOF
31706 rm -f conftest.$ac_objext
31707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31708 (eval $ac_compile) 2>conftest.er1
31709 ac_status=$?
31710 grep -v '^ *+' conftest.er1 >conftest.err
31711 rm -f conftest.er1
31712 cat conftest.err >&5
31713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31714 (exit $ac_status); } &&
31715 { ac_try='test -z "$ac_cxx_werror_flag"
31716 || test ! -s conftest.err'
31717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31718 (eval $ac_try) 2>&5
31719 ac_status=$?
31720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31721 (exit $ac_status); }; } &&
31722 { ac_try='test -s conftest.$ac_objext'
31723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31724 (eval $ac_try) 2>&5
31725 ac_status=$?
31726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31727 (exit $ac_status); }; }; then
31728 glibcxx_cv_func__isnan_use=yes
31729 else
31730 echo "$as_me: failed program was:" >&5
31731 sed 's/^/| /' conftest.$ac_ext >&5
31733 glibcxx_cv_func__isnan_use=no
31735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31736 ac_ext=c
31737 ac_cpp='$CPP $CPPFLAGS'
31738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31746 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
31747 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
31749 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
31751 for ac_func in _isnan
31753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31754 echo "$as_me:$LINENO: checking for $ac_func" >&5
31755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31756 if eval "test \"\${$as_ac_var+set}\" = set"; then
31757 echo $ECHO_N "(cached) $ECHO_C" >&6
31758 else
31759 if test x$gcc_no_link = xyes; then
31760 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31762 { (exit 1); exit 1; }; }
31764 cat >conftest.$ac_ext <<_ACEOF
31765 /* confdefs.h. */
31766 _ACEOF
31767 cat confdefs.h >>conftest.$ac_ext
31768 cat >>conftest.$ac_ext <<_ACEOF
31769 /* end confdefs.h. */
31770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31772 #define $ac_func innocuous_$ac_func
31774 /* System header to define __stub macros and hopefully few prototypes,
31775 which can conflict with char $ac_func (); below.
31776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31777 <limits.h> exists even on freestanding compilers. */
31779 #ifdef __STDC__
31780 # include <limits.h>
31781 #else
31782 # include <assert.h>
31783 #endif
31785 #undef $ac_func
31787 /* Override any gcc2 internal prototype to avoid an error. */
31788 #ifdef __cplusplus
31789 extern "C"
31791 #endif
31792 /* We use char because int might match the return type of a gcc2
31793 builtin and then its argument prototype would still apply. */
31794 char $ac_func ();
31795 /* The GNU C library defines this for functions which it implements
31796 to always fail with ENOSYS. Some functions are actually named
31797 something starting with __ and the normal name is an alias. */
31798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31799 choke me
31800 #else
31801 char (*f) () = $ac_func;
31802 #endif
31803 #ifdef __cplusplus
31805 #endif
31808 main ()
31810 return f != $ac_func;
31812 return 0;
31814 _ACEOF
31815 rm -f conftest.$ac_objext conftest$ac_exeext
31816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31817 (eval $ac_link) 2>conftest.er1
31818 ac_status=$?
31819 grep -v '^ *+' conftest.er1 >conftest.err
31820 rm -f conftest.er1
31821 cat conftest.err >&5
31822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31823 (exit $ac_status); } &&
31824 { ac_try='test -z "$ac_c_werror_flag"
31825 || test ! -s conftest.err'
31826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31827 (eval $ac_try) 2>&5
31828 ac_status=$?
31829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31830 (exit $ac_status); }; } &&
31831 { ac_try='test -s conftest$ac_exeext'
31832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31833 (eval $ac_try) 2>&5
31834 ac_status=$?
31835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31836 (exit $ac_status); }; }; then
31837 eval "$as_ac_var=yes"
31838 else
31839 echo "$as_me: failed program was:" >&5
31840 sed 's/^/| /' conftest.$ac_ext >&5
31842 eval "$as_ac_var=no"
31844 rm -f conftest.err conftest.$ac_objext \
31845 conftest$ac_exeext conftest.$ac_ext
31847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31849 if test `eval echo '${'$as_ac_var'}'` = yes; then
31850 cat >>confdefs.h <<_ACEOF
31851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31852 _ACEOF
31855 done
31865 echo "$as_me:$LINENO: checking for finite declaration" >&5
31866 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
31867 if test x${glibcxx_cv_func_finite_use+set} != xset; then
31868 if test "${glibcxx_cv_func_finite_use+set}" = set; then
31869 echo $ECHO_N "(cached) $ECHO_C" >&6
31870 else
31874 ac_ext=cc
31875 ac_cpp='$CXXCPP $CPPFLAGS'
31876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31880 cat >conftest.$ac_ext <<_ACEOF
31881 /* confdefs.h. */
31882 _ACEOF
31883 cat confdefs.h >>conftest.$ac_ext
31884 cat >>conftest.$ac_ext <<_ACEOF
31885 /* end confdefs.h. */
31886 #include <math.h>
31887 #ifdef HAVE_IEEEFP_H
31888 #include <ieeefp.h>
31889 #endif
31892 main ()
31894 finite(0);
31896 return 0;
31898 _ACEOF
31899 rm -f conftest.$ac_objext
31900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31901 (eval $ac_compile) 2>conftest.er1
31902 ac_status=$?
31903 grep -v '^ *+' conftest.er1 >conftest.err
31904 rm -f conftest.er1
31905 cat conftest.err >&5
31906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31907 (exit $ac_status); } &&
31908 { ac_try='test -z "$ac_cxx_werror_flag"
31909 || test ! -s conftest.err'
31910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31911 (eval $ac_try) 2>&5
31912 ac_status=$?
31913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31914 (exit $ac_status); }; } &&
31915 { ac_try='test -s conftest.$ac_objext'
31916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31917 (eval $ac_try) 2>&5
31918 ac_status=$?
31919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31920 (exit $ac_status); }; }; then
31921 glibcxx_cv_func_finite_use=yes
31922 else
31923 echo "$as_me: failed program was:" >&5
31924 sed 's/^/| /' conftest.$ac_ext >&5
31926 glibcxx_cv_func_finite_use=no
31928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31929 ac_ext=c
31930 ac_cpp='$CPP $CPPFLAGS'
31931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31939 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
31940 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
31942 if test x$glibcxx_cv_func_finite_use = x"yes"; then
31944 for ac_func in finite
31946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31947 echo "$as_me:$LINENO: checking for $ac_func" >&5
31948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31949 if eval "test \"\${$as_ac_var+set}\" = set"; then
31950 echo $ECHO_N "(cached) $ECHO_C" >&6
31951 else
31952 if test x$gcc_no_link = xyes; then
31953 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31955 { (exit 1); exit 1; }; }
31957 cat >conftest.$ac_ext <<_ACEOF
31958 /* confdefs.h. */
31959 _ACEOF
31960 cat confdefs.h >>conftest.$ac_ext
31961 cat >>conftest.$ac_ext <<_ACEOF
31962 /* end confdefs.h. */
31963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31965 #define $ac_func innocuous_$ac_func
31967 /* System header to define __stub macros and hopefully few prototypes,
31968 which can conflict with char $ac_func (); below.
31969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31970 <limits.h> exists even on freestanding compilers. */
31972 #ifdef __STDC__
31973 # include <limits.h>
31974 #else
31975 # include <assert.h>
31976 #endif
31978 #undef $ac_func
31980 /* Override any gcc2 internal prototype to avoid an error. */
31981 #ifdef __cplusplus
31982 extern "C"
31984 #endif
31985 /* We use char because int might match the return type of a gcc2
31986 builtin and then its argument prototype would still apply. */
31987 char $ac_func ();
31988 /* The GNU C library defines this for functions which it implements
31989 to always fail with ENOSYS. Some functions are actually named
31990 something starting with __ and the normal name is an alias. */
31991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31992 choke me
31993 #else
31994 char (*f) () = $ac_func;
31995 #endif
31996 #ifdef __cplusplus
31998 #endif
32001 main ()
32003 return f != $ac_func;
32005 return 0;
32007 _ACEOF
32008 rm -f conftest.$ac_objext conftest$ac_exeext
32009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32010 (eval $ac_link) 2>conftest.er1
32011 ac_status=$?
32012 grep -v '^ *+' conftest.er1 >conftest.err
32013 rm -f conftest.er1
32014 cat conftest.err >&5
32015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32016 (exit $ac_status); } &&
32017 { ac_try='test -z "$ac_c_werror_flag"
32018 || test ! -s conftest.err'
32019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32020 (eval $ac_try) 2>&5
32021 ac_status=$?
32022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32023 (exit $ac_status); }; } &&
32024 { ac_try='test -s conftest$ac_exeext'
32025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32026 (eval $ac_try) 2>&5
32027 ac_status=$?
32028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32029 (exit $ac_status); }; }; then
32030 eval "$as_ac_var=yes"
32031 else
32032 echo "$as_me: failed program was:" >&5
32033 sed 's/^/| /' conftest.$ac_ext >&5
32035 eval "$as_ac_var=no"
32037 rm -f conftest.err conftest.$ac_objext \
32038 conftest$ac_exeext conftest.$ac_ext
32040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32042 if test `eval echo '${'$as_ac_var'}'` = yes; then
32043 cat >>confdefs.h <<_ACEOF
32044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32045 _ACEOF
32048 done
32050 else
32052 echo "$as_me:$LINENO: checking for _finite declaration" >&5
32053 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
32054 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32055 if test "${glibcxx_cv_func__finite_use+set}" = set; then
32056 echo $ECHO_N "(cached) $ECHO_C" >&6
32057 else
32061 ac_ext=cc
32062 ac_cpp='$CXXCPP $CPPFLAGS'
32063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32067 cat >conftest.$ac_ext <<_ACEOF
32068 /* confdefs.h. */
32069 _ACEOF
32070 cat confdefs.h >>conftest.$ac_ext
32071 cat >>conftest.$ac_ext <<_ACEOF
32072 /* end confdefs.h. */
32073 #include <math.h>
32074 #ifdef HAVE_IEEEFP_H
32075 #include <ieeefp.h>
32076 #endif
32079 main ()
32081 _finite(0);
32083 return 0;
32085 _ACEOF
32086 rm -f conftest.$ac_objext
32087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32088 (eval $ac_compile) 2>conftest.er1
32089 ac_status=$?
32090 grep -v '^ *+' conftest.er1 >conftest.err
32091 rm -f conftest.er1
32092 cat conftest.err >&5
32093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32094 (exit $ac_status); } &&
32095 { ac_try='test -z "$ac_cxx_werror_flag"
32096 || test ! -s conftest.err'
32097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32098 (eval $ac_try) 2>&5
32099 ac_status=$?
32100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32101 (exit $ac_status); }; } &&
32102 { ac_try='test -s conftest.$ac_objext'
32103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32104 (eval $ac_try) 2>&5
32105 ac_status=$?
32106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32107 (exit $ac_status); }; }; then
32108 glibcxx_cv_func__finite_use=yes
32109 else
32110 echo "$as_me: failed program was:" >&5
32111 sed 's/^/| /' conftest.$ac_ext >&5
32113 glibcxx_cv_func__finite_use=no
32115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32116 ac_ext=c
32117 ac_cpp='$CPP $CPPFLAGS'
32118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32126 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
32127 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
32129 if test x$glibcxx_cv_func__finite_use = x"yes"; then
32131 for ac_func in _finite
32133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32134 echo "$as_me:$LINENO: checking for $ac_func" >&5
32135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32136 if eval "test \"\${$as_ac_var+set}\" = set"; then
32137 echo $ECHO_N "(cached) $ECHO_C" >&6
32138 else
32139 if test x$gcc_no_link = xyes; then
32140 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32142 { (exit 1); exit 1; }; }
32144 cat >conftest.$ac_ext <<_ACEOF
32145 /* confdefs.h. */
32146 _ACEOF
32147 cat confdefs.h >>conftest.$ac_ext
32148 cat >>conftest.$ac_ext <<_ACEOF
32149 /* end confdefs.h. */
32150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32152 #define $ac_func innocuous_$ac_func
32154 /* System header to define __stub macros and hopefully few prototypes,
32155 which can conflict with char $ac_func (); below.
32156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32157 <limits.h> exists even on freestanding compilers. */
32159 #ifdef __STDC__
32160 # include <limits.h>
32161 #else
32162 # include <assert.h>
32163 #endif
32165 #undef $ac_func
32167 /* Override any gcc2 internal prototype to avoid an error. */
32168 #ifdef __cplusplus
32169 extern "C"
32171 #endif
32172 /* We use char because int might match the return type of a gcc2
32173 builtin and then its argument prototype would still apply. */
32174 char $ac_func ();
32175 /* The GNU C library defines this for functions which it implements
32176 to always fail with ENOSYS. Some functions are actually named
32177 something starting with __ and the normal name is an alias. */
32178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32179 choke me
32180 #else
32181 char (*f) () = $ac_func;
32182 #endif
32183 #ifdef __cplusplus
32185 #endif
32188 main ()
32190 return f != $ac_func;
32192 return 0;
32194 _ACEOF
32195 rm -f conftest.$ac_objext conftest$ac_exeext
32196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32197 (eval $ac_link) 2>conftest.er1
32198 ac_status=$?
32199 grep -v '^ *+' conftest.er1 >conftest.err
32200 rm -f conftest.er1
32201 cat conftest.err >&5
32202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32203 (exit $ac_status); } &&
32204 { ac_try='test -z "$ac_c_werror_flag"
32205 || test ! -s conftest.err'
32206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32207 (eval $ac_try) 2>&5
32208 ac_status=$?
32209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32210 (exit $ac_status); }; } &&
32211 { ac_try='test -s conftest$ac_exeext'
32212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32213 (eval $ac_try) 2>&5
32214 ac_status=$?
32215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32216 (exit $ac_status); }; }; then
32217 eval "$as_ac_var=yes"
32218 else
32219 echo "$as_me: failed program was:" >&5
32220 sed 's/^/| /' conftest.$ac_ext >&5
32222 eval "$as_ac_var=no"
32224 rm -f conftest.err conftest.$ac_objext \
32225 conftest$ac_exeext conftest.$ac_ext
32227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32229 if test `eval echo '${'$as_ac_var'}'` = yes; then
32230 cat >>confdefs.h <<_ACEOF
32231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32232 _ACEOF
32235 done
32245 echo "$as_me:$LINENO: checking for copysign declaration" >&5
32246 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
32247 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
32248 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
32249 echo $ECHO_N "(cached) $ECHO_C" >&6
32250 else
32254 ac_ext=cc
32255 ac_cpp='$CXXCPP $CPPFLAGS'
32256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32260 cat >conftest.$ac_ext <<_ACEOF
32261 /* confdefs.h. */
32262 _ACEOF
32263 cat confdefs.h >>conftest.$ac_ext
32264 cat >>conftest.$ac_ext <<_ACEOF
32265 /* end confdefs.h. */
32266 #include <math.h>
32268 main ()
32270 copysign(0, 0);
32272 return 0;
32274 _ACEOF
32275 rm -f conftest.$ac_objext
32276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32277 (eval $ac_compile) 2>conftest.er1
32278 ac_status=$?
32279 grep -v '^ *+' conftest.er1 >conftest.err
32280 rm -f conftest.er1
32281 cat conftest.err >&5
32282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32283 (exit $ac_status); } &&
32284 { ac_try='test -z "$ac_cxx_werror_flag"
32285 || test ! -s conftest.err'
32286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32287 (eval $ac_try) 2>&5
32288 ac_status=$?
32289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32290 (exit $ac_status); }; } &&
32291 { ac_try='test -s conftest.$ac_objext'
32292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32293 (eval $ac_try) 2>&5
32294 ac_status=$?
32295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32296 (exit $ac_status); }; }; then
32297 glibcxx_cv_func_copysign_use=yes
32298 else
32299 echo "$as_me: failed program was:" >&5
32300 sed 's/^/| /' conftest.$ac_ext >&5
32302 glibcxx_cv_func_copysign_use=no
32304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32305 ac_ext=c
32306 ac_cpp='$CPP $CPPFLAGS'
32307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32315 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
32316 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
32318 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
32320 for ac_func in copysign
32322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32323 echo "$as_me:$LINENO: checking for $ac_func" >&5
32324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32325 if eval "test \"\${$as_ac_var+set}\" = set"; then
32326 echo $ECHO_N "(cached) $ECHO_C" >&6
32327 else
32328 if test x$gcc_no_link = xyes; then
32329 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32331 { (exit 1); exit 1; }; }
32333 cat >conftest.$ac_ext <<_ACEOF
32334 /* confdefs.h. */
32335 _ACEOF
32336 cat confdefs.h >>conftest.$ac_ext
32337 cat >>conftest.$ac_ext <<_ACEOF
32338 /* end confdefs.h. */
32339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32341 #define $ac_func innocuous_$ac_func
32343 /* System header to define __stub macros and hopefully few prototypes,
32344 which can conflict with char $ac_func (); below.
32345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32346 <limits.h> exists even on freestanding compilers. */
32348 #ifdef __STDC__
32349 # include <limits.h>
32350 #else
32351 # include <assert.h>
32352 #endif
32354 #undef $ac_func
32356 /* Override any gcc2 internal prototype to avoid an error. */
32357 #ifdef __cplusplus
32358 extern "C"
32360 #endif
32361 /* We use char because int might match the return type of a gcc2
32362 builtin and then its argument prototype would still apply. */
32363 char $ac_func ();
32364 /* The GNU C library defines this for functions which it implements
32365 to always fail with ENOSYS. Some functions are actually named
32366 something starting with __ and the normal name is an alias. */
32367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32368 choke me
32369 #else
32370 char (*f) () = $ac_func;
32371 #endif
32372 #ifdef __cplusplus
32374 #endif
32377 main ()
32379 return f != $ac_func;
32381 return 0;
32383 _ACEOF
32384 rm -f conftest.$ac_objext conftest$ac_exeext
32385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32386 (eval $ac_link) 2>conftest.er1
32387 ac_status=$?
32388 grep -v '^ *+' conftest.er1 >conftest.err
32389 rm -f conftest.er1
32390 cat conftest.err >&5
32391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32392 (exit $ac_status); } &&
32393 { ac_try='test -z "$ac_c_werror_flag"
32394 || test ! -s conftest.err'
32395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32396 (eval $ac_try) 2>&5
32397 ac_status=$?
32398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32399 (exit $ac_status); }; } &&
32400 { ac_try='test -s conftest$ac_exeext'
32401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32402 (eval $ac_try) 2>&5
32403 ac_status=$?
32404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32405 (exit $ac_status); }; }; then
32406 eval "$as_ac_var=yes"
32407 else
32408 echo "$as_me: failed program was:" >&5
32409 sed 's/^/| /' conftest.$ac_ext >&5
32411 eval "$as_ac_var=no"
32413 rm -f conftest.err conftest.$ac_objext \
32414 conftest$ac_exeext conftest.$ac_ext
32416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32418 if test `eval echo '${'$as_ac_var'}'` = yes; then
32419 cat >>confdefs.h <<_ACEOF
32420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32421 _ACEOF
32424 done
32426 else
32428 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
32429 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
32430 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
32431 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
32432 echo $ECHO_N "(cached) $ECHO_C" >&6
32433 else
32437 ac_ext=cc
32438 ac_cpp='$CXXCPP $CPPFLAGS'
32439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32443 cat >conftest.$ac_ext <<_ACEOF
32444 /* confdefs.h. */
32445 _ACEOF
32446 cat confdefs.h >>conftest.$ac_ext
32447 cat >>conftest.$ac_ext <<_ACEOF
32448 /* end confdefs.h. */
32449 #include <math.h>
32451 main ()
32453 _copysign(0, 0);
32455 return 0;
32457 _ACEOF
32458 rm -f conftest.$ac_objext
32459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32460 (eval $ac_compile) 2>conftest.er1
32461 ac_status=$?
32462 grep -v '^ *+' conftest.er1 >conftest.err
32463 rm -f conftest.er1
32464 cat conftest.err >&5
32465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32466 (exit $ac_status); } &&
32467 { ac_try='test -z "$ac_cxx_werror_flag"
32468 || test ! -s conftest.err'
32469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32470 (eval $ac_try) 2>&5
32471 ac_status=$?
32472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32473 (exit $ac_status); }; } &&
32474 { ac_try='test -s conftest.$ac_objext'
32475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32476 (eval $ac_try) 2>&5
32477 ac_status=$?
32478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32479 (exit $ac_status); }; }; then
32480 glibcxx_cv_func__copysign_use=yes
32481 else
32482 echo "$as_me: failed program was:" >&5
32483 sed 's/^/| /' conftest.$ac_ext >&5
32485 glibcxx_cv_func__copysign_use=no
32487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32488 ac_ext=c
32489 ac_cpp='$CPP $CPPFLAGS'
32490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32498 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
32499 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
32501 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
32503 for ac_func in _copysign
32505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32506 echo "$as_me:$LINENO: checking for $ac_func" >&5
32507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32508 if eval "test \"\${$as_ac_var+set}\" = set"; then
32509 echo $ECHO_N "(cached) $ECHO_C" >&6
32510 else
32511 if test x$gcc_no_link = xyes; then
32512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32514 { (exit 1); exit 1; }; }
32516 cat >conftest.$ac_ext <<_ACEOF
32517 /* confdefs.h. */
32518 _ACEOF
32519 cat confdefs.h >>conftest.$ac_ext
32520 cat >>conftest.$ac_ext <<_ACEOF
32521 /* end confdefs.h. */
32522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32524 #define $ac_func innocuous_$ac_func
32526 /* System header to define __stub macros and hopefully few prototypes,
32527 which can conflict with char $ac_func (); below.
32528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32529 <limits.h> exists even on freestanding compilers. */
32531 #ifdef __STDC__
32532 # include <limits.h>
32533 #else
32534 # include <assert.h>
32535 #endif
32537 #undef $ac_func
32539 /* Override any gcc2 internal prototype to avoid an error. */
32540 #ifdef __cplusplus
32541 extern "C"
32543 #endif
32544 /* We use char because int might match the return type of a gcc2
32545 builtin and then its argument prototype would still apply. */
32546 char $ac_func ();
32547 /* The GNU C library defines this for functions which it implements
32548 to always fail with ENOSYS. Some functions are actually named
32549 something starting with __ and the normal name is an alias. */
32550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32551 choke me
32552 #else
32553 char (*f) () = $ac_func;
32554 #endif
32555 #ifdef __cplusplus
32557 #endif
32560 main ()
32562 return f != $ac_func;
32564 return 0;
32566 _ACEOF
32567 rm -f conftest.$ac_objext conftest$ac_exeext
32568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32569 (eval $ac_link) 2>conftest.er1
32570 ac_status=$?
32571 grep -v '^ *+' conftest.er1 >conftest.err
32572 rm -f conftest.er1
32573 cat conftest.err >&5
32574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32575 (exit $ac_status); } &&
32576 { ac_try='test -z "$ac_c_werror_flag"
32577 || test ! -s conftest.err'
32578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32579 (eval $ac_try) 2>&5
32580 ac_status=$?
32581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32582 (exit $ac_status); }; } &&
32583 { ac_try='test -s conftest$ac_exeext'
32584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32585 (eval $ac_try) 2>&5
32586 ac_status=$?
32587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32588 (exit $ac_status); }; }; then
32589 eval "$as_ac_var=yes"
32590 else
32591 echo "$as_me: failed program was:" >&5
32592 sed 's/^/| /' conftest.$ac_ext >&5
32594 eval "$as_ac_var=no"
32596 rm -f conftest.err conftest.$ac_objext \
32597 conftest$ac_exeext conftest.$ac_ext
32599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32601 if test `eval echo '${'$as_ac_var'}'` = yes; then
32602 cat >>confdefs.h <<_ACEOF
32603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32604 _ACEOF
32607 done
32617 echo "$as_me:$LINENO: checking for sincos declaration" >&5
32618 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
32619 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32620 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
32621 echo $ECHO_N "(cached) $ECHO_C" >&6
32622 else
32626 ac_ext=cc
32627 ac_cpp='$CXXCPP $CPPFLAGS'
32628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32632 cat >conftest.$ac_ext <<_ACEOF
32633 /* confdefs.h. */
32634 _ACEOF
32635 cat confdefs.h >>conftest.$ac_ext
32636 cat >>conftest.$ac_ext <<_ACEOF
32637 /* end confdefs.h. */
32638 #include <math.h>
32640 main ()
32642 sincos(0, 0, 0);
32644 return 0;
32646 _ACEOF
32647 rm -f conftest.$ac_objext
32648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32649 (eval $ac_compile) 2>conftest.er1
32650 ac_status=$?
32651 grep -v '^ *+' conftest.er1 >conftest.err
32652 rm -f conftest.er1
32653 cat conftest.err >&5
32654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32655 (exit $ac_status); } &&
32656 { ac_try='test -z "$ac_cxx_werror_flag"
32657 || test ! -s conftest.err'
32658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32659 (eval $ac_try) 2>&5
32660 ac_status=$?
32661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32662 (exit $ac_status); }; } &&
32663 { ac_try='test -s conftest.$ac_objext'
32664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32665 (eval $ac_try) 2>&5
32666 ac_status=$?
32667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32668 (exit $ac_status); }; }; then
32669 glibcxx_cv_func_sincos_use=yes
32670 else
32671 echo "$as_me: failed program was:" >&5
32672 sed 's/^/| /' conftest.$ac_ext >&5
32674 glibcxx_cv_func_sincos_use=no
32676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32677 ac_ext=c
32678 ac_cpp='$CPP $CPPFLAGS'
32679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32687 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
32688 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
32690 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32692 for ac_func in sincos
32694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32695 echo "$as_me:$LINENO: checking for $ac_func" >&5
32696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32697 if eval "test \"\${$as_ac_var+set}\" = set"; then
32698 echo $ECHO_N "(cached) $ECHO_C" >&6
32699 else
32700 if test x$gcc_no_link = xyes; then
32701 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32703 { (exit 1); exit 1; }; }
32705 cat >conftest.$ac_ext <<_ACEOF
32706 /* confdefs.h. */
32707 _ACEOF
32708 cat confdefs.h >>conftest.$ac_ext
32709 cat >>conftest.$ac_ext <<_ACEOF
32710 /* end confdefs.h. */
32711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32713 #define $ac_func innocuous_$ac_func
32715 /* System header to define __stub macros and hopefully few prototypes,
32716 which can conflict with char $ac_func (); below.
32717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32718 <limits.h> exists even on freestanding compilers. */
32720 #ifdef __STDC__
32721 # include <limits.h>
32722 #else
32723 # include <assert.h>
32724 #endif
32726 #undef $ac_func
32728 /* Override any gcc2 internal prototype to avoid an error. */
32729 #ifdef __cplusplus
32730 extern "C"
32732 #endif
32733 /* We use char because int might match the return type of a gcc2
32734 builtin and then its argument prototype would still apply. */
32735 char $ac_func ();
32736 /* The GNU C library defines this for functions which it implements
32737 to always fail with ENOSYS. Some functions are actually named
32738 something starting with __ and the normal name is an alias. */
32739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32740 choke me
32741 #else
32742 char (*f) () = $ac_func;
32743 #endif
32744 #ifdef __cplusplus
32746 #endif
32749 main ()
32751 return f != $ac_func;
32753 return 0;
32755 _ACEOF
32756 rm -f conftest.$ac_objext conftest$ac_exeext
32757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32758 (eval $ac_link) 2>conftest.er1
32759 ac_status=$?
32760 grep -v '^ *+' conftest.er1 >conftest.err
32761 rm -f conftest.er1
32762 cat conftest.err >&5
32763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32764 (exit $ac_status); } &&
32765 { ac_try='test -z "$ac_c_werror_flag"
32766 || test ! -s conftest.err'
32767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32768 (eval $ac_try) 2>&5
32769 ac_status=$?
32770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32771 (exit $ac_status); }; } &&
32772 { ac_try='test -s conftest$ac_exeext'
32773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32774 (eval $ac_try) 2>&5
32775 ac_status=$?
32776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32777 (exit $ac_status); }; }; then
32778 eval "$as_ac_var=yes"
32779 else
32780 echo "$as_me: failed program was:" >&5
32781 sed 's/^/| /' conftest.$ac_ext >&5
32783 eval "$as_ac_var=no"
32785 rm -f conftest.err conftest.$ac_objext \
32786 conftest$ac_exeext conftest.$ac_ext
32788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32789 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32790 if test `eval echo '${'$as_ac_var'}'` = yes; then
32791 cat >>confdefs.h <<_ACEOF
32792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32793 _ACEOF
32796 done
32798 else
32800 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
32801 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
32802 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32803 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
32804 echo $ECHO_N "(cached) $ECHO_C" >&6
32805 else
32809 ac_ext=cc
32810 ac_cpp='$CXXCPP $CPPFLAGS'
32811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32815 cat >conftest.$ac_ext <<_ACEOF
32816 /* confdefs.h. */
32817 _ACEOF
32818 cat confdefs.h >>conftest.$ac_ext
32819 cat >>conftest.$ac_ext <<_ACEOF
32820 /* end confdefs.h. */
32821 #include <math.h>
32823 main ()
32825 _sincos(0, 0, 0);
32827 return 0;
32829 _ACEOF
32830 rm -f conftest.$ac_objext
32831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32832 (eval $ac_compile) 2>conftest.er1
32833 ac_status=$?
32834 grep -v '^ *+' conftest.er1 >conftest.err
32835 rm -f conftest.er1
32836 cat conftest.err >&5
32837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32838 (exit $ac_status); } &&
32839 { ac_try='test -z "$ac_cxx_werror_flag"
32840 || test ! -s conftest.err'
32841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32842 (eval $ac_try) 2>&5
32843 ac_status=$?
32844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32845 (exit $ac_status); }; } &&
32846 { ac_try='test -s conftest.$ac_objext'
32847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32848 (eval $ac_try) 2>&5
32849 ac_status=$?
32850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32851 (exit $ac_status); }; }; then
32852 glibcxx_cv_func__sincos_use=yes
32853 else
32854 echo "$as_me: failed program was:" >&5
32855 sed 's/^/| /' conftest.$ac_ext >&5
32857 glibcxx_cv_func__sincos_use=no
32859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32860 ac_ext=c
32861 ac_cpp='$CPP $CPPFLAGS'
32862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32870 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
32871 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
32873 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
32875 for ac_func in _sincos
32877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32878 echo "$as_me:$LINENO: checking for $ac_func" >&5
32879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32880 if eval "test \"\${$as_ac_var+set}\" = set"; then
32881 echo $ECHO_N "(cached) $ECHO_C" >&6
32882 else
32883 if test x$gcc_no_link = xyes; then
32884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32886 { (exit 1); exit 1; }; }
32888 cat >conftest.$ac_ext <<_ACEOF
32889 /* confdefs.h. */
32890 _ACEOF
32891 cat confdefs.h >>conftest.$ac_ext
32892 cat >>conftest.$ac_ext <<_ACEOF
32893 /* end confdefs.h. */
32894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32896 #define $ac_func innocuous_$ac_func
32898 /* System header to define __stub macros and hopefully few prototypes,
32899 which can conflict with char $ac_func (); below.
32900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32901 <limits.h> exists even on freestanding compilers. */
32903 #ifdef __STDC__
32904 # include <limits.h>
32905 #else
32906 # include <assert.h>
32907 #endif
32909 #undef $ac_func
32911 /* Override any gcc2 internal prototype to avoid an error. */
32912 #ifdef __cplusplus
32913 extern "C"
32915 #endif
32916 /* We use char because int might match the return type of a gcc2
32917 builtin and then its argument prototype would still apply. */
32918 char $ac_func ();
32919 /* The GNU C library defines this for functions which it implements
32920 to always fail with ENOSYS. Some functions are actually named
32921 something starting with __ and the normal name is an alias. */
32922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32923 choke me
32924 #else
32925 char (*f) () = $ac_func;
32926 #endif
32927 #ifdef __cplusplus
32929 #endif
32932 main ()
32934 return f != $ac_func;
32936 return 0;
32938 _ACEOF
32939 rm -f conftest.$ac_objext conftest$ac_exeext
32940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32941 (eval $ac_link) 2>conftest.er1
32942 ac_status=$?
32943 grep -v '^ *+' conftest.er1 >conftest.err
32944 rm -f conftest.er1
32945 cat conftest.err >&5
32946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32947 (exit $ac_status); } &&
32948 { ac_try='test -z "$ac_c_werror_flag"
32949 || test ! -s conftest.err'
32950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32951 (eval $ac_try) 2>&5
32952 ac_status=$?
32953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32954 (exit $ac_status); }; } &&
32955 { ac_try='test -s conftest$ac_exeext'
32956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32957 (eval $ac_try) 2>&5
32958 ac_status=$?
32959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32960 (exit $ac_status); }; }; then
32961 eval "$as_ac_var=yes"
32962 else
32963 echo "$as_me: failed program was:" >&5
32964 sed 's/^/| /' conftest.$ac_ext >&5
32966 eval "$as_ac_var=no"
32968 rm -f conftest.err conftest.$ac_objext \
32969 conftest$ac_exeext conftest.$ac_ext
32971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32973 if test `eval echo '${'$as_ac_var'}'` = yes; then
32974 cat >>confdefs.h <<_ACEOF
32975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32976 _ACEOF
32979 done
32989 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
32990 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
32991 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
32992 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
32993 echo $ECHO_N "(cached) $ECHO_C" >&6
32994 else
32998 ac_ext=cc
32999 ac_cpp='$CXXCPP $CPPFLAGS'
33000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33004 cat >conftest.$ac_ext <<_ACEOF
33005 /* confdefs.h. */
33006 _ACEOF
33007 cat confdefs.h >>conftest.$ac_ext
33008 cat >>conftest.$ac_ext <<_ACEOF
33009 /* end confdefs.h. */
33010 #include <math.h>
33011 #ifdef HAVE_IEEEFP_H
33012 #include <ieeefp.h>
33013 #endif
33016 main ()
33018 fpclass(0);
33020 return 0;
33022 _ACEOF
33023 rm -f conftest.$ac_objext
33024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33025 (eval $ac_compile) 2>conftest.er1
33026 ac_status=$?
33027 grep -v '^ *+' conftest.er1 >conftest.err
33028 rm -f conftest.er1
33029 cat conftest.err >&5
33030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33031 (exit $ac_status); } &&
33032 { ac_try='test -z "$ac_cxx_werror_flag"
33033 || test ! -s conftest.err'
33034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33035 (eval $ac_try) 2>&5
33036 ac_status=$?
33037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33038 (exit $ac_status); }; } &&
33039 { ac_try='test -s conftest.$ac_objext'
33040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33041 (eval $ac_try) 2>&5
33042 ac_status=$?
33043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33044 (exit $ac_status); }; }; then
33045 glibcxx_cv_func_fpclass_use=yes
33046 else
33047 echo "$as_me: failed program was:" >&5
33048 sed 's/^/| /' conftest.$ac_ext >&5
33050 glibcxx_cv_func_fpclass_use=no
33052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33053 ac_ext=c
33054 ac_cpp='$CPP $CPPFLAGS'
33055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33063 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
33064 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
33066 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33068 for ac_func in fpclass
33070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33071 echo "$as_me:$LINENO: checking for $ac_func" >&5
33072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33073 if eval "test \"\${$as_ac_var+set}\" = set"; then
33074 echo $ECHO_N "(cached) $ECHO_C" >&6
33075 else
33076 if test x$gcc_no_link = xyes; then
33077 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33079 { (exit 1); exit 1; }; }
33081 cat >conftest.$ac_ext <<_ACEOF
33082 /* confdefs.h. */
33083 _ACEOF
33084 cat confdefs.h >>conftest.$ac_ext
33085 cat >>conftest.$ac_ext <<_ACEOF
33086 /* end confdefs.h. */
33087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33089 #define $ac_func innocuous_$ac_func
33091 /* System header to define __stub macros and hopefully few prototypes,
33092 which can conflict with char $ac_func (); below.
33093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33094 <limits.h> exists even on freestanding compilers. */
33096 #ifdef __STDC__
33097 # include <limits.h>
33098 #else
33099 # include <assert.h>
33100 #endif
33102 #undef $ac_func
33104 /* Override any gcc2 internal prototype to avoid an error. */
33105 #ifdef __cplusplus
33106 extern "C"
33108 #endif
33109 /* We use char because int might match the return type of a gcc2
33110 builtin and then its argument prototype would still apply. */
33111 char $ac_func ();
33112 /* The GNU C library defines this for functions which it implements
33113 to always fail with ENOSYS. Some functions are actually named
33114 something starting with __ and the normal name is an alias. */
33115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33116 choke me
33117 #else
33118 char (*f) () = $ac_func;
33119 #endif
33120 #ifdef __cplusplus
33122 #endif
33125 main ()
33127 return f != $ac_func;
33129 return 0;
33131 _ACEOF
33132 rm -f conftest.$ac_objext conftest$ac_exeext
33133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33134 (eval $ac_link) 2>conftest.er1
33135 ac_status=$?
33136 grep -v '^ *+' conftest.er1 >conftest.err
33137 rm -f conftest.er1
33138 cat conftest.err >&5
33139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33140 (exit $ac_status); } &&
33141 { ac_try='test -z "$ac_c_werror_flag"
33142 || test ! -s conftest.err'
33143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33144 (eval $ac_try) 2>&5
33145 ac_status=$?
33146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33147 (exit $ac_status); }; } &&
33148 { ac_try='test -s conftest$ac_exeext'
33149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33150 (eval $ac_try) 2>&5
33151 ac_status=$?
33152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33153 (exit $ac_status); }; }; then
33154 eval "$as_ac_var=yes"
33155 else
33156 echo "$as_me: failed program was:" >&5
33157 sed 's/^/| /' conftest.$ac_ext >&5
33159 eval "$as_ac_var=no"
33161 rm -f conftest.err conftest.$ac_objext \
33162 conftest$ac_exeext conftest.$ac_ext
33164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33166 if test `eval echo '${'$as_ac_var'}'` = yes; then
33167 cat >>confdefs.h <<_ACEOF
33168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33169 _ACEOF
33172 done
33174 else
33176 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
33177 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
33178 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33179 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
33180 echo $ECHO_N "(cached) $ECHO_C" >&6
33181 else
33185 ac_ext=cc
33186 ac_cpp='$CXXCPP $CPPFLAGS'
33187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33191 cat >conftest.$ac_ext <<_ACEOF
33192 /* confdefs.h. */
33193 _ACEOF
33194 cat confdefs.h >>conftest.$ac_ext
33195 cat >>conftest.$ac_ext <<_ACEOF
33196 /* end confdefs.h. */
33197 #include <math.h>
33198 #ifdef HAVE_IEEEFP_H
33199 #include <ieeefp.h>
33200 #endif
33203 main ()
33205 _fpclass(0);
33207 return 0;
33209 _ACEOF
33210 rm -f conftest.$ac_objext
33211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33212 (eval $ac_compile) 2>conftest.er1
33213 ac_status=$?
33214 grep -v '^ *+' conftest.er1 >conftest.err
33215 rm -f conftest.er1
33216 cat conftest.err >&5
33217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33218 (exit $ac_status); } &&
33219 { ac_try='test -z "$ac_cxx_werror_flag"
33220 || test ! -s conftest.err'
33221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33222 (eval $ac_try) 2>&5
33223 ac_status=$?
33224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33225 (exit $ac_status); }; } &&
33226 { ac_try='test -s conftest.$ac_objext'
33227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33228 (eval $ac_try) 2>&5
33229 ac_status=$?
33230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33231 (exit $ac_status); }; }; then
33232 glibcxx_cv_func__fpclass_use=yes
33233 else
33234 echo "$as_me: failed program was:" >&5
33235 sed 's/^/| /' conftest.$ac_ext >&5
33237 glibcxx_cv_func__fpclass_use=no
33239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33240 ac_ext=c
33241 ac_cpp='$CPP $CPPFLAGS'
33242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33250 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
33251 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
33253 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33255 for ac_func in _fpclass
33257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33258 echo "$as_me:$LINENO: checking for $ac_func" >&5
33259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33260 if eval "test \"\${$as_ac_var+set}\" = set"; then
33261 echo $ECHO_N "(cached) $ECHO_C" >&6
33262 else
33263 if test x$gcc_no_link = xyes; then
33264 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33266 { (exit 1); exit 1; }; }
33268 cat >conftest.$ac_ext <<_ACEOF
33269 /* confdefs.h. */
33270 _ACEOF
33271 cat confdefs.h >>conftest.$ac_ext
33272 cat >>conftest.$ac_ext <<_ACEOF
33273 /* end confdefs.h. */
33274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33276 #define $ac_func innocuous_$ac_func
33278 /* System header to define __stub macros and hopefully few prototypes,
33279 which can conflict with char $ac_func (); below.
33280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33281 <limits.h> exists even on freestanding compilers. */
33283 #ifdef __STDC__
33284 # include <limits.h>
33285 #else
33286 # include <assert.h>
33287 #endif
33289 #undef $ac_func
33291 /* Override any gcc2 internal prototype to avoid an error. */
33292 #ifdef __cplusplus
33293 extern "C"
33295 #endif
33296 /* We use char because int might match the return type of a gcc2
33297 builtin and then its argument prototype would still apply. */
33298 char $ac_func ();
33299 /* The GNU C library defines this for functions which it implements
33300 to always fail with ENOSYS. Some functions are actually named
33301 something starting with __ and the normal name is an alias. */
33302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33303 choke me
33304 #else
33305 char (*f) () = $ac_func;
33306 #endif
33307 #ifdef __cplusplus
33309 #endif
33312 main ()
33314 return f != $ac_func;
33316 return 0;
33318 _ACEOF
33319 rm -f conftest.$ac_objext conftest$ac_exeext
33320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33321 (eval $ac_link) 2>conftest.er1
33322 ac_status=$?
33323 grep -v '^ *+' conftest.er1 >conftest.err
33324 rm -f conftest.er1
33325 cat conftest.err >&5
33326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33327 (exit $ac_status); } &&
33328 { ac_try='test -z "$ac_c_werror_flag"
33329 || test ! -s conftest.err'
33330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33331 (eval $ac_try) 2>&5
33332 ac_status=$?
33333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33334 (exit $ac_status); }; } &&
33335 { ac_try='test -s conftest$ac_exeext'
33336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33337 (eval $ac_try) 2>&5
33338 ac_status=$?
33339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33340 (exit $ac_status); }; }; then
33341 eval "$as_ac_var=yes"
33342 else
33343 echo "$as_me: failed program was:" >&5
33344 sed 's/^/| /' conftest.$ac_ext >&5
33346 eval "$as_ac_var=no"
33348 rm -f conftest.err conftest.$ac_objext \
33349 conftest$ac_exeext conftest.$ac_ext
33351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33353 if test `eval echo '${'$as_ac_var'}'` = yes; then
33354 cat >>confdefs.h <<_ACEOF
33355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33356 _ACEOF
33359 done
33369 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
33370 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
33371 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33372 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
33373 echo $ECHO_N "(cached) $ECHO_C" >&6
33374 else
33378 ac_ext=cc
33379 ac_cpp='$CXXCPP $CPPFLAGS'
33380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33384 cat >conftest.$ac_ext <<_ACEOF
33385 /* confdefs.h. */
33386 _ACEOF
33387 cat confdefs.h >>conftest.$ac_ext
33388 cat >>conftest.$ac_ext <<_ACEOF
33389 /* end confdefs.h. */
33390 #include <math.h>
33391 #ifdef HAVE_IEEEFP_H
33392 #include <ieeefp.h>
33393 #endif
33396 main ()
33398 qfpclass(0);
33400 return 0;
33402 _ACEOF
33403 rm -f conftest.$ac_objext
33404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33405 (eval $ac_compile) 2>conftest.er1
33406 ac_status=$?
33407 grep -v '^ *+' conftest.er1 >conftest.err
33408 rm -f conftest.er1
33409 cat conftest.err >&5
33410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33411 (exit $ac_status); } &&
33412 { ac_try='test -z "$ac_cxx_werror_flag"
33413 || test ! -s conftest.err'
33414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33415 (eval $ac_try) 2>&5
33416 ac_status=$?
33417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33418 (exit $ac_status); }; } &&
33419 { ac_try='test -s conftest.$ac_objext'
33420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33421 (eval $ac_try) 2>&5
33422 ac_status=$?
33423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33424 (exit $ac_status); }; }; then
33425 glibcxx_cv_func_qfpclass_use=yes
33426 else
33427 echo "$as_me: failed program was:" >&5
33428 sed 's/^/| /' conftest.$ac_ext >&5
33430 glibcxx_cv_func_qfpclass_use=no
33432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33433 ac_ext=c
33434 ac_cpp='$CPP $CPPFLAGS'
33435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33443 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
33444 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
33446 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33448 for ac_func in qfpclass
33450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33451 echo "$as_me:$LINENO: checking for $ac_func" >&5
33452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33453 if eval "test \"\${$as_ac_var+set}\" = set"; then
33454 echo $ECHO_N "(cached) $ECHO_C" >&6
33455 else
33456 if test x$gcc_no_link = xyes; then
33457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33459 { (exit 1); exit 1; }; }
33461 cat >conftest.$ac_ext <<_ACEOF
33462 /* confdefs.h. */
33463 _ACEOF
33464 cat confdefs.h >>conftest.$ac_ext
33465 cat >>conftest.$ac_ext <<_ACEOF
33466 /* end confdefs.h. */
33467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33469 #define $ac_func innocuous_$ac_func
33471 /* System header to define __stub macros and hopefully few prototypes,
33472 which can conflict with char $ac_func (); below.
33473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33474 <limits.h> exists even on freestanding compilers. */
33476 #ifdef __STDC__
33477 # include <limits.h>
33478 #else
33479 # include <assert.h>
33480 #endif
33482 #undef $ac_func
33484 /* Override any gcc2 internal prototype to avoid an error. */
33485 #ifdef __cplusplus
33486 extern "C"
33488 #endif
33489 /* We use char because int might match the return type of a gcc2
33490 builtin and then its argument prototype would still apply. */
33491 char $ac_func ();
33492 /* The GNU C library defines this for functions which it implements
33493 to always fail with ENOSYS. Some functions are actually named
33494 something starting with __ and the normal name is an alias. */
33495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33496 choke me
33497 #else
33498 char (*f) () = $ac_func;
33499 #endif
33500 #ifdef __cplusplus
33502 #endif
33505 main ()
33507 return f != $ac_func;
33509 return 0;
33511 _ACEOF
33512 rm -f conftest.$ac_objext conftest$ac_exeext
33513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33514 (eval $ac_link) 2>conftest.er1
33515 ac_status=$?
33516 grep -v '^ *+' conftest.er1 >conftest.err
33517 rm -f conftest.er1
33518 cat conftest.err >&5
33519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33520 (exit $ac_status); } &&
33521 { ac_try='test -z "$ac_c_werror_flag"
33522 || test ! -s conftest.err'
33523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33524 (eval $ac_try) 2>&5
33525 ac_status=$?
33526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33527 (exit $ac_status); }; } &&
33528 { ac_try='test -s conftest$ac_exeext'
33529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33530 (eval $ac_try) 2>&5
33531 ac_status=$?
33532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33533 (exit $ac_status); }; }; then
33534 eval "$as_ac_var=yes"
33535 else
33536 echo "$as_me: failed program was:" >&5
33537 sed 's/^/| /' conftest.$ac_ext >&5
33539 eval "$as_ac_var=no"
33541 rm -f conftest.err conftest.$ac_objext \
33542 conftest$ac_exeext conftest.$ac_ext
33544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33546 if test `eval echo '${'$as_ac_var'}'` = yes; then
33547 cat >>confdefs.h <<_ACEOF
33548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33549 _ACEOF
33552 done
33554 else
33556 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
33557 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
33558 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33559 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
33560 echo $ECHO_N "(cached) $ECHO_C" >&6
33561 else
33565 ac_ext=cc
33566 ac_cpp='$CXXCPP $CPPFLAGS'
33567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33571 cat >conftest.$ac_ext <<_ACEOF
33572 /* confdefs.h. */
33573 _ACEOF
33574 cat confdefs.h >>conftest.$ac_ext
33575 cat >>conftest.$ac_ext <<_ACEOF
33576 /* end confdefs.h. */
33577 #include <math.h>
33578 #ifdef HAVE_IEEEFP_H
33579 #include <ieeefp.h>
33580 #endif
33583 main ()
33585 _qfpclass(0);
33587 return 0;
33589 _ACEOF
33590 rm -f conftest.$ac_objext
33591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33592 (eval $ac_compile) 2>conftest.er1
33593 ac_status=$?
33594 grep -v '^ *+' conftest.er1 >conftest.err
33595 rm -f conftest.er1
33596 cat conftest.err >&5
33597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33598 (exit $ac_status); } &&
33599 { ac_try='test -z "$ac_cxx_werror_flag"
33600 || test ! -s conftest.err'
33601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33602 (eval $ac_try) 2>&5
33603 ac_status=$?
33604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33605 (exit $ac_status); }; } &&
33606 { ac_try='test -s conftest.$ac_objext'
33607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33608 (eval $ac_try) 2>&5
33609 ac_status=$?
33610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33611 (exit $ac_status); }; }; then
33612 glibcxx_cv_func__qfpclass_use=yes
33613 else
33614 echo "$as_me: failed program was:" >&5
33615 sed 's/^/| /' conftest.$ac_ext >&5
33617 glibcxx_cv_func__qfpclass_use=no
33619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33620 ac_ext=c
33621 ac_cpp='$CPP $CPPFLAGS'
33622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33630 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
33631 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
33633 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33635 for ac_func in _qfpclass
33637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33638 echo "$as_me:$LINENO: checking for $ac_func" >&5
33639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33640 if eval "test \"\${$as_ac_var+set}\" = set"; then
33641 echo $ECHO_N "(cached) $ECHO_C" >&6
33642 else
33643 if test x$gcc_no_link = xyes; then
33644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33646 { (exit 1); exit 1; }; }
33648 cat >conftest.$ac_ext <<_ACEOF
33649 /* confdefs.h. */
33650 _ACEOF
33651 cat confdefs.h >>conftest.$ac_ext
33652 cat >>conftest.$ac_ext <<_ACEOF
33653 /* end confdefs.h. */
33654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33656 #define $ac_func innocuous_$ac_func
33658 /* System header to define __stub macros and hopefully few prototypes,
33659 which can conflict with char $ac_func (); below.
33660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33661 <limits.h> exists even on freestanding compilers. */
33663 #ifdef __STDC__
33664 # include <limits.h>
33665 #else
33666 # include <assert.h>
33667 #endif
33669 #undef $ac_func
33671 /* Override any gcc2 internal prototype to avoid an error. */
33672 #ifdef __cplusplus
33673 extern "C"
33675 #endif
33676 /* We use char because int might match the return type of a gcc2
33677 builtin and then its argument prototype would still apply. */
33678 char $ac_func ();
33679 /* The GNU C library defines this for functions which it implements
33680 to always fail with ENOSYS. Some functions are actually named
33681 something starting with __ and the normal name is an alias. */
33682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33683 choke me
33684 #else
33685 char (*f) () = $ac_func;
33686 #endif
33687 #ifdef __cplusplus
33689 #endif
33692 main ()
33694 return f != $ac_func;
33696 return 0;
33698 _ACEOF
33699 rm -f conftest.$ac_objext conftest$ac_exeext
33700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33701 (eval $ac_link) 2>conftest.er1
33702 ac_status=$?
33703 grep -v '^ *+' conftest.er1 >conftest.err
33704 rm -f conftest.er1
33705 cat conftest.err >&5
33706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33707 (exit $ac_status); } &&
33708 { ac_try='test -z "$ac_c_werror_flag"
33709 || test ! -s conftest.err'
33710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33711 (eval $ac_try) 2>&5
33712 ac_status=$?
33713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33714 (exit $ac_status); }; } &&
33715 { ac_try='test -s conftest$ac_exeext'
33716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33717 (eval $ac_try) 2>&5
33718 ac_status=$?
33719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33720 (exit $ac_status); }; }; then
33721 eval "$as_ac_var=yes"
33722 else
33723 echo "$as_me: failed program was:" >&5
33724 sed 's/^/| /' conftest.$ac_ext >&5
33726 eval "$as_ac_var=no"
33728 rm -f conftest.err conftest.$ac_objext \
33729 conftest$ac_exeext conftest.$ac_ext
33731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33733 if test `eval echo '${'$as_ac_var'}'` = yes; then
33734 cat >>confdefs.h <<_ACEOF
33735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33736 _ACEOF
33739 done
33749 echo "$as_me:$LINENO: checking for hypot declaration" >&5
33750 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
33751 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33752 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
33753 echo $ECHO_N "(cached) $ECHO_C" >&6
33754 else
33758 ac_ext=cc
33759 ac_cpp='$CXXCPP $CPPFLAGS'
33760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33764 cat >conftest.$ac_ext <<_ACEOF
33765 /* confdefs.h. */
33766 _ACEOF
33767 cat confdefs.h >>conftest.$ac_ext
33768 cat >>conftest.$ac_ext <<_ACEOF
33769 /* end confdefs.h. */
33770 #include <math.h>
33772 main ()
33774 hypot(0, 0);
33776 return 0;
33778 _ACEOF
33779 rm -f conftest.$ac_objext
33780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33781 (eval $ac_compile) 2>conftest.er1
33782 ac_status=$?
33783 grep -v '^ *+' conftest.er1 >conftest.err
33784 rm -f conftest.er1
33785 cat conftest.err >&5
33786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33787 (exit $ac_status); } &&
33788 { ac_try='test -z "$ac_cxx_werror_flag"
33789 || test ! -s conftest.err'
33790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33791 (eval $ac_try) 2>&5
33792 ac_status=$?
33793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33794 (exit $ac_status); }; } &&
33795 { ac_try='test -s conftest.$ac_objext'
33796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33797 (eval $ac_try) 2>&5
33798 ac_status=$?
33799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33800 (exit $ac_status); }; }; then
33801 glibcxx_cv_func_hypot_use=yes
33802 else
33803 echo "$as_me: failed program was:" >&5
33804 sed 's/^/| /' conftest.$ac_ext >&5
33806 glibcxx_cv_func_hypot_use=no
33808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33809 ac_ext=c
33810 ac_cpp='$CPP $CPPFLAGS'
33811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33819 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
33820 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
33822 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33824 for ac_func in hypot
33826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33827 echo "$as_me:$LINENO: checking for $ac_func" >&5
33828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33829 if eval "test \"\${$as_ac_var+set}\" = set"; then
33830 echo $ECHO_N "(cached) $ECHO_C" >&6
33831 else
33832 if test x$gcc_no_link = xyes; then
33833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33835 { (exit 1); exit 1; }; }
33837 cat >conftest.$ac_ext <<_ACEOF
33838 /* confdefs.h. */
33839 _ACEOF
33840 cat confdefs.h >>conftest.$ac_ext
33841 cat >>conftest.$ac_ext <<_ACEOF
33842 /* end confdefs.h. */
33843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33845 #define $ac_func innocuous_$ac_func
33847 /* System header to define __stub macros and hopefully few prototypes,
33848 which can conflict with char $ac_func (); below.
33849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33850 <limits.h> exists even on freestanding compilers. */
33852 #ifdef __STDC__
33853 # include <limits.h>
33854 #else
33855 # include <assert.h>
33856 #endif
33858 #undef $ac_func
33860 /* Override any gcc2 internal prototype to avoid an error. */
33861 #ifdef __cplusplus
33862 extern "C"
33864 #endif
33865 /* We use char because int might match the return type of a gcc2
33866 builtin and then its argument prototype would still apply. */
33867 char $ac_func ();
33868 /* The GNU C library defines this for functions which it implements
33869 to always fail with ENOSYS. Some functions are actually named
33870 something starting with __ and the normal name is an alias. */
33871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33872 choke me
33873 #else
33874 char (*f) () = $ac_func;
33875 #endif
33876 #ifdef __cplusplus
33878 #endif
33881 main ()
33883 return f != $ac_func;
33885 return 0;
33887 _ACEOF
33888 rm -f conftest.$ac_objext conftest$ac_exeext
33889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33890 (eval $ac_link) 2>conftest.er1
33891 ac_status=$?
33892 grep -v '^ *+' conftest.er1 >conftest.err
33893 rm -f conftest.er1
33894 cat conftest.err >&5
33895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33896 (exit $ac_status); } &&
33897 { ac_try='test -z "$ac_c_werror_flag"
33898 || test ! -s conftest.err'
33899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33900 (eval $ac_try) 2>&5
33901 ac_status=$?
33902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33903 (exit $ac_status); }; } &&
33904 { ac_try='test -s conftest$ac_exeext'
33905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33906 (eval $ac_try) 2>&5
33907 ac_status=$?
33908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33909 (exit $ac_status); }; }; then
33910 eval "$as_ac_var=yes"
33911 else
33912 echo "$as_me: failed program was:" >&5
33913 sed 's/^/| /' conftest.$ac_ext >&5
33915 eval "$as_ac_var=no"
33917 rm -f conftest.err conftest.$ac_objext \
33918 conftest$ac_exeext conftest.$ac_ext
33920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33922 if test `eval echo '${'$as_ac_var'}'` = yes; then
33923 cat >>confdefs.h <<_ACEOF
33924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33925 _ACEOF
33928 done
33930 else
33932 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
33933 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
33934 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33935 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
33936 echo $ECHO_N "(cached) $ECHO_C" >&6
33937 else
33941 ac_ext=cc
33942 ac_cpp='$CXXCPP $CPPFLAGS'
33943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33947 cat >conftest.$ac_ext <<_ACEOF
33948 /* confdefs.h. */
33949 _ACEOF
33950 cat confdefs.h >>conftest.$ac_ext
33951 cat >>conftest.$ac_ext <<_ACEOF
33952 /* end confdefs.h. */
33953 #include <math.h>
33955 main ()
33957 _hypot(0, 0);
33959 return 0;
33961 _ACEOF
33962 rm -f conftest.$ac_objext
33963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33964 (eval $ac_compile) 2>conftest.er1
33965 ac_status=$?
33966 grep -v '^ *+' conftest.er1 >conftest.err
33967 rm -f conftest.er1
33968 cat conftest.err >&5
33969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33970 (exit $ac_status); } &&
33971 { ac_try='test -z "$ac_cxx_werror_flag"
33972 || test ! -s conftest.err'
33973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33974 (eval $ac_try) 2>&5
33975 ac_status=$?
33976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33977 (exit $ac_status); }; } &&
33978 { ac_try='test -s conftest.$ac_objext'
33979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33980 (eval $ac_try) 2>&5
33981 ac_status=$?
33982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33983 (exit $ac_status); }; }; then
33984 glibcxx_cv_func__hypot_use=yes
33985 else
33986 echo "$as_me: failed program was:" >&5
33987 sed 's/^/| /' conftest.$ac_ext >&5
33989 glibcxx_cv_func__hypot_use=no
33991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33992 ac_ext=c
33993 ac_cpp='$CPP $CPPFLAGS'
33994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34002 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
34003 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
34005 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34007 for ac_func in _hypot
34009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34010 echo "$as_me:$LINENO: checking for $ac_func" >&5
34011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34012 if eval "test \"\${$as_ac_var+set}\" = set"; then
34013 echo $ECHO_N "(cached) $ECHO_C" >&6
34014 else
34015 if test x$gcc_no_link = xyes; then
34016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34018 { (exit 1); exit 1; }; }
34020 cat >conftest.$ac_ext <<_ACEOF
34021 /* confdefs.h. */
34022 _ACEOF
34023 cat confdefs.h >>conftest.$ac_ext
34024 cat >>conftest.$ac_ext <<_ACEOF
34025 /* end confdefs.h. */
34026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34028 #define $ac_func innocuous_$ac_func
34030 /* System header to define __stub macros and hopefully few prototypes,
34031 which can conflict with char $ac_func (); below.
34032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34033 <limits.h> exists even on freestanding compilers. */
34035 #ifdef __STDC__
34036 # include <limits.h>
34037 #else
34038 # include <assert.h>
34039 #endif
34041 #undef $ac_func
34043 /* Override any gcc2 internal prototype to avoid an error. */
34044 #ifdef __cplusplus
34045 extern "C"
34047 #endif
34048 /* We use char because int might match the return type of a gcc2
34049 builtin and then its argument prototype would still apply. */
34050 char $ac_func ();
34051 /* The GNU C library defines this for functions which it implements
34052 to always fail with ENOSYS. Some functions are actually named
34053 something starting with __ and the normal name is an alias. */
34054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34055 choke me
34056 #else
34057 char (*f) () = $ac_func;
34058 #endif
34059 #ifdef __cplusplus
34061 #endif
34064 main ()
34066 return f != $ac_func;
34068 return 0;
34070 _ACEOF
34071 rm -f conftest.$ac_objext conftest$ac_exeext
34072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34073 (eval $ac_link) 2>conftest.er1
34074 ac_status=$?
34075 grep -v '^ *+' conftest.er1 >conftest.err
34076 rm -f conftest.er1
34077 cat conftest.err >&5
34078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34079 (exit $ac_status); } &&
34080 { ac_try='test -z "$ac_c_werror_flag"
34081 || test ! -s conftest.err'
34082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34083 (eval $ac_try) 2>&5
34084 ac_status=$?
34085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34086 (exit $ac_status); }; } &&
34087 { ac_try='test -s conftest$ac_exeext'
34088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34089 (eval $ac_try) 2>&5
34090 ac_status=$?
34091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34092 (exit $ac_status); }; }; then
34093 eval "$as_ac_var=yes"
34094 else
34095 echo "$as_me: failed program was:" >&5
34096 sed 's/^/| /' conftest.$ac_ext >&5
34098 eval "$as_ac_var=no"
34100 rm -f conftest.err conftest.$ac_objext \
34101 conftest$ac_exeext conftest.$ac_ext
34103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34105 if test `eval echo '${'$as_ac_var'}'` = yes; then
34106 cat >>confdefs.h <<_ACEOF
34107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34108 _ACEOF
34111 done
34121 echo "$as_me:$LINENO: checking for float trig functions" >&5
34122 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
34123 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
34124 echo $ECHO_N "(cached) $ECHO_C" >&6
34125 else
34129 ac_ext=cc
34130 ac_cpp='$CXXCPP $CPPFLAGS'
34131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34135 cat >conftest.$ac_ext <<_ACEOF
34136 /* confdefs.h. */
34137 _ACEOF
34138 cat confdefs.h >>conftest.$ac_ext
34139 cat >>conftest.$ac_ext <<_ACEOF
34140 /* end confdefs.h. */
34141 #include <math.h>
34143 main ()
34145 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34147 return 0;
34149 _ACEOF
34150 rm -f conftest.$ac_objext
34151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34152 (eval $ac_compile) 2>conftest.er1
34153 ac_status=$?
34154 grep -v '^ *+' conftest.er1 >conftest.err
34155 rm -f conftest.er1
34156 cat conftest.err >&5
34157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34158 (exit $ac_status); } &&
34159 { ac_try='test -z "$ac_cxx_werror_flag"
34160 || test ! -s conftest.err'
34161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34162 (eval $ac_try) 2>&5
34163 ac_status=$?
34164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34165 (exit $ac_status); }; } &&
34166 { ac_try='test -s conftest.$ac_objext'
34167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34168 (eval $ac_try) 2>&5
34169 ac_status=$?
34170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34171 (exit $ac_status); }; }; then
34172 glibcxx_cv_func_float_trig_use=yes
34173 else
34174 echo "$as_me: failed program was:" >&5
34175 sed 's/^/| /' conftest.$ac_ext >&5
34177 glibcxx_cv_func_float_trig_use=no
34179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34180 ac_ext=c
34181 ac_cpp='$CPP $CPPFLAGS'
34182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34188 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
34189 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
34190 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34200 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34203 echo "$as_me:$LINENO: checking for $ac_func" >&5
34204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34205 if eval "test \"\${$as_ac_var+set}\" = set"; then
34206 echo $ECHO_N "(cached) $ECHO_C" >&6
34207 else
34208 if test x$gcc_no_link = xyes; then
34209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34211 { (exit 1); exit 1; }; }
34213 cat >conftest.$ac_ext <<_ACEOF
34214 /* confdefs.h. */
34215 _ACEOF
34216 cat confdefs.h >>conftest.$ac_ext
34217 cat >>conftest.$ac_ext <<_ACEOF
34218 /* end confdefs.h. */
34219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34221 #define $ac_func innocuous_$ac_func
34223 /* System header to define __stub macros and hopefully few prototypes,
34224 which can conflict with char $ac_func (); below.
34225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34226 <limits.h> exists even on freestanding compilers. */
34228 #ifdef __STDC__
34229 # include <limits.h>
34230 #else
34231 # include <assert.h>
34232 #endif
34234 #undef $ac_func
34236 /* Override any gcc2 internal prototype to avoid an error. */
34237 #ifdef __cplusplus
34238 extern "C"
34240 #endif
34241 /* We use char because int might match the return type of a gcc2
34242 builtin and then its argument prototype would still apply. */
34243 char $ac_func ();
34244 /* The GNU C library defines this for functions which it implements
34245 to always fail with ENOSYS. Some functions are actually named
34246 something starting with __ and the normal name is an alias. */
34247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34248 choke me
34249 #else
34250 char (*f) () = $ac_func;
34251 #endif
34252 #ifdef __cplusplus
34254 #endif
34257 main ()
34259 return f != $ac_func;
34261 return 0;
34263 _ACEOF
34264 rm -f conftest.$ac_objext conftest$ac_exeext
34265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34266 (eval $ac_link) 2>conftest.er1
34267 ac_status=$?
34268 grep -v '^ *+' conftest.er1 >conftest.err
34269 rm -f conftest.er1
34270 cat conftest.err >&5
34271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34272 (exit $ac_status); } &&
34273 { ac_try='test -z "$ac_c_werror_flag"
34274 || test ! -s conftest.err'
34275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34276 (eval $ac_try) 2>&5
34277 ac_status=$?
34278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34279 (exit $ac_status); }; } &&
34280 { ac_try='test -s conftest$ac_exeext'
34281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34282 (eval $ac_try) 2>&5
34283 ac_status=$?
34284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34285 (exit $ac_status); }; }; then
34286 eval "$as_ac_var=yes"
34287 else
34288 echo "$as_me: failed program was:" >&5
34289 sed 's/^/| /' conftest.$ac_ext >&5
34291 eval "$as_ac_var=no"
34293 rm -f conftest.err conftest.$ac_objext \
34294 conftest$ac_exeext conftest.$ac_ext
34296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34298 if test `eval echo '${'$as_ac_var'}'` = yes; then
34299 cat >>confdefs.h <<_ACEOF
34300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34301 _ACEOF
34304 done
34306 else
34307 echo "$as_me:$LINENO: checking for _float trig functions" >&5
34308 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
34309 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
34310 echo $ECHO_N "(cached) $ECHO_C" >&6
34311 else
34315 ac_ext=cc
34316 ac_cpp='$CXXCPP $CPPFLAGS'
34317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34321 cat >conftest.$ac_ext <<_ACEOF
34322 /* confdefs.h. */
34323 _ACEOF
34324 cat confdefs.h >>conftest.$ac_ext
34325 cat >>conftest.$ac_ext <<_ACEOF
34326 /* end confdefs.h. */
34327 #include <math.h>
34329 main ()
34331 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34333 return 0;
34335 _ACEOF
34336 rm -f conftest.$ac_objext
34337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34338 (eval $ac_compile) 2>conftest.er1
34339 ac_status=$?
34340 grep -v '^ *+' conftest.er1 >conftest.err
34341 rm -f conftest.er1
34342 cat conftest.err >&5
34343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34344 (exit $ac_status); } &&
34345 { ac_try='test -z "$ac_cxx_werror_flag"
34346 || test ! -s conftest.err'
34347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34348 (eval $ac_try) 2>&5
34349 ac_status=$?
34350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34351 (exit $ac_status); }; } &&
34352 { ac_try='test -s conftest.$ac_objext'
34353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34354 (eval $ac_try) 2>&5
34355 ac_status=$?
34356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34357 (exit $ac_status); }; }; then
34358 glibcxx_cv_func__float_trig_use=yes
34359 else
34360 echo "$as_me: failed program was:" >&5
34361 sed 's/^/| /' conftest.$ac_ext >&5
34363 glibcxx_cv_func__float_trig_use=no
34365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34366 ac_ext=c
34367 ac_cpp='$CPP $CPPFLAGS'
34368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34374 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
34375 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
34376 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34386 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34389 echo "$as_me:$LINENO: checking for $ac_func" >&5
34390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34391 if eval "test \"\${$as_ac_var+set}\" = set"; then
34392 echo $ECHO_N "(cached) $ECHO_C" >&6
34393 else
34394 if test x$gcc_no_link = xyes; then
34395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34397 { (exit 1); exit 1; }; }
34399 cat >conftest.$ac_ext <<_ACEOF
34400 /* confdefs.h. */
34401 _ACEOF
34402 cat confdefs.h >>conftest.$ac_ext
34403 cat >>conftest.$ac_ext <<_ACEOF
34404 /* end confdefs.h. */
34405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34406 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34407 #define $ac_func innocuous_$ac_func
34409 /* System header to define __stub macros and hopefully few prototypes,
34410 which can conflict with char $ac_func (); below.
34411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34412 <limits.h> exists even on freestanding compilers. */
34414 #ifdef __STDC__
34415 # include <limits.h>
34416 #else
34417 # include <assert.h>
34418 #endif
34420 #undef $ac_func
34422 /* Override any gcc2 internal prototype to avoid an error. */
34423 #ifdef __cplusplus
34424 extern "C"
34426 #endif
34427 /* We use char because int might match the return type of a gcc2
34428 builtin and then its argument prototype would still apply. */
34429 char $ac_func ();
34430 /* The GNU C library defines this for functions which it implements
34431 to always fail with ENOSYS. Some functions are actually named
34432 something starting with __ and the normal name is an alias. */
34433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34434 choke me
34435 #else
34436 char (*f) () = $ac_func;
34437 #endif
34438 #ifdef __cplusplus
34440 #endif
34443 main ()
34445 return f != $ac_func;
34447 return 0;
34449 _ACEOF
34450 rm -f conftest.$ac_objext conftest$ac_exeext
34451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34452 (eval $ac_link) 2>conftest.er1
34453 ac_status=$?
34454 grep -v '^ *+' conftest.er1 >conftest.err
34455 rm -f conftest.er1
34456 cat conftest.err >&5
34457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34458 (exit $ac_status); } &&
34459 { ac_try='test -z "$ac_c_werror_flag"
34460 || test ! -s conftest.err'
34461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34462 (eval $ac_try) 2>&5
34463 ac_status=$?
34464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34465 (exit $ac_status); }; } &&
34466 { ac_try='test -s conftest$ac_exeext'
34467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34468 (eval $ac_try) 2>&5
34469 ac_status=$?
34470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34471 (exit $ac_status); }; }; then
34472 eval "$as_ac_var=yes"
34473 else
34474 echo "$as_me: failed program was:" >&5
34475 sed 's/^/| /' conftest.$ac_ext >&5
34477 eval "$as_ac_var=no"
34479 rm -f conftest.err conftest.$ac_objext \
34480 conftest$ac_exeext conftest.$ac_ext
34482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34483 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34484 if test `eval echo '${'$as_ac_var'}'` = yes; then
34485 cat >>confdefs.h <<_ACEOF
34486 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34487 _ACEOF
34490 done
34508 echo "$as_me:$LINENO: checking for float round functions" >&5
34509 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
34510 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
34511 echo $ECHO_N "(cached) $ECHO_C" >&6
34512 else
34516 ac_ext=cc
34517 ac_cpp='$CXXCPP $CPPFLAGS'
34518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34522 cat >conftest.$ac_ext <<_ACEOF
34523 /* confdefs.h. */
34524 _ACEOF
34525 cat confdefs.h >>conftest.$ac_ext
34526 cat >>conftest.$ac_ext <<_ACEOF
34527 /* end confdefs.h. */
34528 #include <math.h>
34530 main ()
34532 ceilf (0); floorf (0);
34534 return 0;
34536 _ACEOF
34537 rm -f conftest.$ac_objext
34538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34539 (eval $ac_compile) 2>conftest.er1
34540 ac_status=$?
34541 grep -v '^ *+' conftest.er1 >conftest.err
34542 rm -f conftest.er1
34543 cat conftest.err >&5
34544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34545 (exit $ac_status); } &&
34546 { ac_try='test -z "$ac_cxx_werror_flag"
34547 || test ! -s conftest.err'
34548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34549 (eval $ac_try) 2>&5
34550 ac_status=$?
34551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34552 (exit $ac_status); }; } &&
34553 { ac_try='test -s conftest.$ac_objext'
34554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34555 (eval $ac_try) 2>&5
34556 ac_status=$?
34557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34558 (exit $ac_status); }; }; then
34559 glibcxx_cv_func_float_round_use=yes
34560 else
34561 echo "$as_me: failed program was:" >&5
34562 sed 's/^/| /' conftest.$ac_ext >&5
34564 glibcxx_cv_func_float_round_use=no
34566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34567 ac_ext=c
34568 ac_cpp='$CPP $CPPFLAGS'
34569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34575 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
34576 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
34577 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34580 for ac_func in ceilf floorf
34582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34583 echo "$as_me:$LINENO: checking for $ac_func" >&5
34584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34585 if eval "test \"\${$as_ac_var+set}\" = set"; then
34586 echo $ECHO_N "(cached) $ECHO_C" >&6
34587 else
34588 if test x$gcc_no_link = xyes; then
34589 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34591 { (exit 1); exit 1; }; }
34593 cat >conftest.$ac_ext <<_ACEOF
34594 /* confdefs.h. */
34595 _ACEOF
34596 cat confdefs.h >>conftest.$ac_ext
34597 cat >>conftest.$ac_ext <<_ACEOF
34598 /* end confdefs.h. */
34599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34601 #define $ac_func innocuous_$ac_func
34603 /* System header to define __stub macros and hopefully few prototypes,
34604 which can conflict with char $ac_func (); below.
34605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34606 <limits.h> exists even on freestanding compilers. */
34608 #ifdef __STDC__
34609 # include <limits.h>
34610 #else
34611 # include <assert.h>
34612 #endif
34614 #undef $ac_func
34616 /* Override any gcc2 internal prototype to avoid an error. */
34617 #ifdef __cplusplus
34618 extern "C"
34620 #endif
34621 /* We use char because int might match the return type of a gcc2
34622 builtin and then its argument prototype would still apply. */
34623 char $ac_func ();
34624 /* The GNU C library defines this for functions which it implements
34625 to always fail with ENOSYS. Some functions are actually named
34626 something starting with __ and the normal name is an alias. */
34627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34628 choke me
34629 #else
34630 char (*f) () = $ac_func;
34631 #endif
34632 #ifdef __cplusplus
34634 #endif
34637 main ()
34639 return f != $ac_func;
34641 return 0;
34643 _ACEOF
34644 rm -f conftest.$ac_objext conftest$ac_exeext
34645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34646 (eval $ac_link) 2>conftest.er1
34647 ac_status=$?
34648 grep -v '^ *+' conftest.er1 >conftest.err
34649 rm -f conftest.er1
34650 cat conftest.err >&5
34651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34652 (exit $ac_status); } &&
34653 { ac_try='test -z "$ac_c_werror_flag"
34654 || test ! -s conftest.err'
34655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34656 (eval $ac_try) 2>&5
34657 ac_status=$?
34658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34659 (exit $ac_status); }; } &&
34660 { ac_try='test -s conftest$ac_exeext'
34661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34662 (eval $ac_try) 2>&5
34663 ac_status=$?
34664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34665 (exit $ac_status); }; }; then
34666 eval "$as_ac_var=yes"
34667 else
34668 echo "$as_me: failed program was:" >&5
34669 sed 's/^/| /' conftest.$ac_ext >&5
34671 eval "$as_ac_var=no"
34673 rm -f conftest.err conftest.$ac_objext \
34674 conftest$ac_exeext conftest.$ac_ext
34676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34677 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34678 if test `eval echo '${'$as_ac_var'}'` = yes; then
34679 cat >>confdefs.h <<_ACEOF
34680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34681 _ACEOF
34684 done
34686 else
34687 echo "$as_me:$LINENO: checking for _float round functions" >&5
34688 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
34689 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
34690 echo $ECHO_N "(cached) $ECHO_C" >&6
34691 else
34695 ac_ext=cc
34696 ac_cpp='$CXXCPP $CPPFLAGS'
34697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34701 cat >conftest.$ac_ext <<_ACEOF
34702 /* confdefs.h. */
34703 _ACEOF
34704 cat confdefs.h >>conftest.$ac_ext
34705 cat >>conftest.$ac_ext <<_ACEOF
34706 /* end confdefs.h. */
34707 #include <math.h>
34709 main ()
34711 _ceilf (0); _floorf (0);
34713 return 0;
34715 _ACEOF
34716 rm -f conftest.$ac_objext
34717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34718 (eval $ac_compile) 2>conftest.er1
34719 ac_status=$?
34720 grep -v '^ *+' conftest.er1 >conftest.err
34721 rm -f conftest.er1
34722 cat conftest.err >&5
34723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34724 (exit $ac_status); } &&
34725 { ac_try='test -z "$ac_cxx_werror_flag"
34726 || test ! -s conftest.err'
34727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34728 (eval $ac_try) 2>&5
34729 ac_status=$?
34730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34731 (exit $ac_status); }; } &&
34732 { ac_try='test -s conftest.$ac_objext'
34733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34734 (eval $ac_try) 2>&5
34735 ac_status=$?
34736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34737 (exit $ac_status); }; }; then
34738 glibcxx_cv_func__float_round_use=yes
34739 else
34740 echo "$as_me: failed program was:" >&5
34741 sed 's/^/| /' conftest.$ac_ext >&5
34743 glibcxx_cv_func__float_round_use=no
34745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34746 ac_ext=c
34747 ac_cpp='$CPP $CPPFLAGS'
34748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34754 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
34755 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
34756 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34759 for ac_func in _ceilf _floorf
34761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34762 echo "$as_me:$LINENO: checking for $ac_func" >&5
34763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34764 if eval "test \"\${$as_ac_var+set}\" = set"; then
34765 echo $ECHO_N "(cached) $ECHO_C" >&6
34766 else
34767 if test x$gcc_no_link = xyes; then
34768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34770 { (exit 1); exit 1; }; }
34772 cat >conftest.$ac_ext <<_ACEOF
34773 /* confdefs.h. */
34774 _ACEOF
34775 cat confdefs.h >>conftest.$ac_ext
34776 cat >>conftest.$ac_ext <<_ACEOF
34777 /* end confdefs.h. */
34778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34780 #define $ac_func innocuous_$ac_func
34782 /* System header to define __stub macros and hopefully few prototypes,
34783 which can conflict with char $ac_func (); below.
34784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34785 <limits.h> exists even on freestanding compilers. */
34787 #ifdef __STDC__
34788 # include <limits.h>
34789 #else
34790 # include <assert.h>
34791 #endif
34793 #undef $ac_func
34795 /* Override any gcc2 internal prototype to avoid an error. */
34796 #ifdef __cplusplus
34797 extern "C"
34799 #endif
34800 /* We use char because int might match the return type of a gcc2
34801 builtin and then its argument prototype would still apply. */
34802 char $ac_func ();
34803 /* The GNU C library defines this for functions which it implements
34804 to always fail with ENOSYS. Some functions are actually named
34805 something starting with __ and the normal name is an alias. */
34806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34807 choke me
34808 #else
34809 char (*f) () = $ac_func;
34810 #endif
34811 #ifdef __cplusplus
34813 #endif
34816 main ()
34818 return f != $ac_func;
34820 return 0;
34822 _ACEOF
34823 rm -f conftest.$ac_objext conftest$ac_exeext
34824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34825 (eval $ac_link) 2>conftest.er1
34826 ac_status=$?
34827 grep -v '^ *+' conftest.er1 >conftest.err
34828 rm -f conftest.er1
34829 cat conftest.err >&5
34830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34831 (exit $ac_status); } &&
34832 { ac_try='test -z "$ac_c_werror_flag"
34833 || test ! -s conftest.err'
34834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34835 (eval $ac_try) 2>&5
34836 ac_status=$?
34837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34838 (exit $ac_status); }; } &&
34839 { ac_try='test -s conftest$ac_exeext'
34840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34841 (eval $ac_try) 2>&5
34842 ac_status=$?
34843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34844 (exit $ac_status); }; }; then
34845 eval "$as_ac_var=yes"
34846 else
34847 echo "$as_me: failed program was:" >&5
34848 sed 's/^/| /' conftest.$ac_ext >&5
34850 eval "$as_ac_var=no"
34852 rm -f conftest.err conftest.$ac_objext \
34853 conftest$ac_exeext conftest.$ac_ext
34855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34857 if test `eval echo '${'$as_ac_var'}'` = yes; then
34858 cat >>confdefs.h <<_ACEOF
34859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34860 _ACEOF
34863 done
34875 echo "$as_me:$LINENO: checking for expf declaration" >&5
34876 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
34877 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34878 if test "${glibcxx_cv_func_expf_use+set}" = set; then
34879 echo $ECHO_N "(cached) $ECHO_C" >&6
34880 else
34884 ac_ext=cc
34885 ac_cpp='$CXXCPP $CPPFLAGS'
34886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34890 cat >conftest.$ac_ext <<_ACEOF
34891 /* confdefs.h. */
34892 _ACEOF
34893 cat confdefs.h >>conftest.$ac_ext
34894 cat >>conftest.$ac_ext <<_ACEOF
34895 /* end confdefs.h. */
34896 #include <math.h>
34897 #ifdef HAVE_IEEEFP_H
34898 #include <ieeefp.h>
34899 #endif
34902 main ()
34904 expf(0);
34906 return 0;
34908 _ACEOF
34909 rm -f conftest.$ac_objext
34910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34911 (eval $ac_compile) 2>conftest.er1
34912 ac_status=$?
34913 grep -v '^ *+' conftest.er1 >conftest.err
34914 rm -f conftest.er1
34915 cat conftest.err >&5
34916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34917 (exit $ac_status); } &&
34918 { ac_try='test -z "$ac_cxx_werror_flag"
34919 || test ! -s conftest.err'
34920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34921 (eval $ac_try) 2>&5
34922 ac_status=$?
34923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34924 (exit $ac_status); }; } &&
34925 { ac_try='test -s conftest.$ac_objext'
34926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34927 (eval $ac_try) 2>&5
34928 ac_status=$?
34929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34930 (exit $ac_status); }; }; then
34931 glibcxx_cv_func_expf_use=yes
34932 else
34933 echo "$as_me: failed program was:" >&5
34934 sed 's/^/| /' conftest.$ac_ext >&5
34936 glibcxx_cv_func_expf_use=no
34938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34939 ac_ext=c
34940 ac_cpp='$CPP $CPPFLAGS'
34941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34949 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
34950 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
34952 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34954 for ac_func in expf
34956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34957 echo "$as_me:$LINENO: checking for $ac_func" >&5
34958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34959 if eval "test \"\${$as_ac_var+set}\" = set"; then
34960 echo $ECHO_N "(cached) $ECHO_C" >&6
34961 else
34962 if test x$gcc_no_link = xyes; then
34963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34965 { (exit 1); exit 1; }; }
34967 cat >conftest.$ac_ext <<_ACEOF
34968 /* confdefs.h. */
34969 _ACEOF
34970 cat confdefs.h >>conftest.$ac_ext
34971 cat >>conftest.$ac_ext <<_ACEOF
34972 /* end confdefs.h. */
34973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34975 #define $ac_func innocuous_$ac_func
34977 /* System header to define __stub macros and hopefully few prototypes,
34978 which can conflict with char $ac_func (); below.
34979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34980 <limits.h> exists even on freestanding compilers. */
34982 #ifdef __STDC__
34983 # include <limits.h>
34984 #else
34985 # include <assert.h>
34986 #endif
34988 #undef $ac_func
34990 /* Override any gcc2 internal prototype to avoid an error. */
34991 #ifdef __cplusplus
34992 extern "C"
34994 #endif
34995 /* We use char because int might match the return type of a gcc2
34996 builtin and then its argument prototype would still apply. */
34997 char $ac_func ();
34998 /* The GNU C library defines this for functions which it implements
34999 to always fail with ENOSYS. Some functions are actually named
35000 something starting with __ and the normal name is an alias. */
35001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35002 choke me
35003 #else
35004 char (*f) () = $ac_func;
35005 #endif
35006 #ifdef __cplusplus
35008 #endif
35011 main ()
35013 return f != $ac_func;
35015 return 0;
35017 _ACEOF
35018 rm -f conftest.$ac_objext conftest$ac_exeext
35019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35020 (eval $ac_link) 2>conftest.er1
35021 ac_status=$?
35022 grep -v '^ *+' conftest.er1 >conftest.err
35023 rm -f conftest.er1
35024 cat conftest.err >&5
35025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35026 (exit $ac_status); } &&
35027 { ac_try='test -z "$ac_c_werror_flag"
35028 || test ! -s conftest.err'
35029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35030 (eval $ac_try) 2>&5
35031 ac_status=$?
35032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35033 (exit $ac_status); }; } &&
35034 { ac_try='test -s conftest$ac_exeext'
35035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35036 (eval $ac_try) 2>&5
35037 ac_status=$?
35038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35039 (exit $ac_status); }; }; then
35040 eval "$as_ac_var=yes"
35041 else
35042 echo "$as_me: failed program was:" >&5
35043 sed 's/^/| /' conftest.$ac_ext >&5
35045 eval "$as_ac_var=no"
35047 rm -f conftest.err conftest.$ac_objext \
35048 conftest$ac_exeext conftest.$ac_ext
35050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35052 if test `eval echo '${'$as_ac_var'}'` = yes; then
35053 cat >>confdefs.h <<_ACEOF
35054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35055 _ACEOF
35058 done
35060 else
35062 echo "$as_me:$LINENO: checking for _expf declaration" >&5
35063 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
35064 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35065 if test "${glibcxx_cv_func__expf_use+set}" = set; then
35066 echo $ECHO_N "(cached) $ECHO_C" >&6
35067 else
35071 ac_ext=cc
35072 ac_cpp='$CXXCPP $CPPFLAGS'
35073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35077 cat >conftest.$ac_ext <<_ACEOF
35078 /* confdefs.h. */
35079 _ACEOF
35080 cat confdefs.h >>conftest.$ac_ext
35081 cat >>conftest.$ac_ext <<_ACEOF
35082 /* end confdefs.h. */
35083 #include <math.h>
35084 #ifdef HAVE_IEEEFP_H
35085 #include <ieeefp.h>
35086 #endif
35089 main ()
35091 _expf(0);
35093 return 0;
35095 _ACEOF
35096 rm -f conftest.$ac_objext
35097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35098 (eval $ac_compile) 2>conftest.er1
35099 ac_status=$?
35100 grep -v '^ *+' conftest.er1 >conftest.err
35101 rm -f conftest.er1
35102 cat conftest.err >&5
35103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35104 (exit $ac_status); } &&
35105 { ac_try='test -z "$ac_cxx_werror_flag"
35106 || test ! -s conftest.err'
35107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35108 (eval $ac_try) 2>&5
35109 ac_status=$?
35110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35111 (exit $ac_status); }; } &&
35112 { ac_try='test -s conftest.$ac_objext'
35113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35114 (eval $ac_try) 2>&5
35115 ac_status=$?
35116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35117 (exit $ac_status); }; }; then
35118 glibcxx_cv_func__expf_use=yes
35119 else
35120 echo "$as_me: failed program was:" >&5
35121 sed 's/^/| /' conftest.$ac_ext >&5
35123 glibcxx_cv_func__expf_use=no
35125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35126 ac_ext=c
35127 ac_cpp='$CPP $CPPFLAGS'
35128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35136 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
35137 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
35139 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35141 for ac_func in _expf
35143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35144 echo "$as_me:$LINENO: checking for $ac_func" >&5
35145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35146 if eval "test \"\${$as_ac_var+set}\" = set"; then
35147 echo $ECHO_N "(cached) $ECHO_C" >&6
35148 else
35149 if test x$gcc_no_link = xyes; then
35150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35152 { (exit 1); exit 1; }; }
35154 cat >conftest.$ac_ext <<_ACEOF
35155 /* confdefs.h. */
35156 _ACEOF
35157 cat confdefs.h >>conftest.$ac_ext
35158 cat >>conftest.$ac_ext <<_ACEOF
35159 /* end confdefs.h. */
35160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35162 #define $ac_func innocuous_$ac_func
35164 /* System header to define __stub macros and hopefully few prototypes,
35165 which can conflict with char $ac_func (); below.
35166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35167 <limits.h> exists even on freestanding compilers. */
35169 #ifdef __STDC__
35170 # include <limits.h>
35171 #else
35172 # include <assert.h>
35173 #endif
35175 #undef $ac_func
35177 /* Override any gcc2 internal prototype to avoid an error. */
35178 #ifdef __cplusplus
35179 extern "C"
35181 #endif
35182 /* We use char because int might match the return type of a gcc2
35183 builtin and then its argument prototype would still apply. */
35184 char $ac_func ();
35185 /* The GNU C library defines this for functions which it implements
35186 to always fail with ENOSYS. Some functions are actually named
35187 something starting with __ and the normal name is an alias. */
35188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35189 choke me
35190 #else
35191 char (*f) () = $ac_func;
35192 #endif
35193 #ifdef __cplusplus
35195 #endif
35198 main ()
35200 return f != $ac_func;
35202 return 0;
35204 _ACEOF
35205 rm -f conftest.$ac_objext conftest$ac_exeext
35206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35207 (eval $ac_link) 2>conftest.er1
35208 ac_status=$?
35209 grep -v '^ *+' conftest.er1 >conftest.err
35210 rm -f conftest.er1
35211 cat conftest.err >&5
35212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35213 (exit $ac_status); } &&
35214 { ac_try='test -z "$ac_c_werror_flag"
35215 || test ! -s conftest.err'
35216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35217 (eval $ac_try) 2>&5
35218 ac_status=$?
35219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35220 (exit $ac_status); }; } &&
35221 { ac_try='test -s conftest$ac_exeext'
35222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35223 (eval $ac_try) 2>&5
35224 ac_status=$?
35225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35226 (exit $ac_status); }; }; then
35227 eval "$as_ac_var=yes"
35228 else
35229 echo "$as_me: failed program was:" >&5
35230 sed 's/^/| /' conftest.$ac_ext >&5
35232 eval "$as_ac_var=no"
35234 rm -f conftest.err conftest.$ac_objext \
35235 conftest$ac_exeext conftest.$ac_ext
35237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35239 if test `eval echo '${'$as_ac_var'}'` = yes; then
35240 cat >>confdefs.h <<_ACEOF
35241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35242 _ACEOF
35245 done
35255 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
35256 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
35257 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35258 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
35259 echo $ECHO_N "(cached) $ECHO_C" >&6
35260 else
35264 ac_ext=cc
35265 ac_cpp='$CXXCPP $CPPFLAGS'
35266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35270 cat >conftest.$ac_ext <<_ACEOF
35271 /* confdefs.h. */
35272 _ACEOF
35273 cat confdefs.h >>conftest.$ac_ext
35274 cat >>conftest.$ac_ext <<_ACEOF
35275 /* end confdefs.h. */
35276 #include <math.h>
35277 #ifdef HAVE_IEEEFP_H
35278 #include <ieeefp.h>
35279 #endif
35282 main ()
35284 isnanf(0);
35286 return 0;
35288 _ACEOF
35289 rm -f conftest.$ac_objext
35290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35291 (eval $ac_compile) 2>conftest.er1
35292 ac_status=$?
35293 grep -v '^ *+' conftest.er1 >conftest.err
35294 rm -f conftest.er1
35295 cat conftest.err >&5
35296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35297 (exit $ac_status); } &&
35298 { ac_try='test -z "$ac_cxx_werror_flag"
35299 || test ! -s conftest.err'
35300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35301 (eval $ac_try) 2>&5
35302 ac_status=$?
35303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35304 (exit $ac_status); }; } &&
35305 { ac_try='test -s conftest.$ac_objext'
35306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35307 (eval $ac_try) 2>&5
35308 ac_status=$?
35309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35310 (exit $ac_status); }; }; then
35311 glibcxx_cv_func_isnanf_use=yes
35312 else
35313 echo "$as_me: failed program was:" >&5
35314 sed 's/^/| /' conftest.$ac_ext >&5
35316 glibcxx_cv_func_isnanf_use=no
35318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35319 ac_ext=c
35320 ac_cpp='$CPP $CPPFLAGS'
35321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35329 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
35330 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
35332 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35334 for ac_func in isnanf
35336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35337 echo "$as_me:$LINENO: checking for $ac_func" >&5
35338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35339 if eval "test \"\${$as_ac_var+set}\" = set"; then
35340 echo $ECHO_N "(cached) $ECHO_C" >&6
35341 else
35342 if test x$gcc_no_link = xyes; then
35343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35345 { (exit 1); exit 1; }; }
35347 cat >conftest.$ac_ext <<_ACEOF
35348 /* confdefs.h. */
35349 _ACEOF
35350 cat confdefs.h >>conftest.$ac_ext
35351 cat >>conftest.$ac_ext <<_ACEOF
35352 /* end confdefs.h. */
35353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35355 #define $ac_func innocuous_$ac_func
35357 /* System header to define __stub macros and hopefully few prototypes,
35358 which can conflict with char $ac_func (); below.
35359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35360 <limits.h> exists even on freestanding compilers. */
35362 #ifdef __STDC__
35363 # include <limits.h>
35364 #else
35365 # include <assert.h>
35366 #endif
35368 #undef $ac_func
35370 /* Override any gcc2 internal prototype to avoid an error. */
35371 #ifdef __cplusplus
35372 extern "C"
35374 #endif
35375 /* We use char because int might match the return type of a gcc2
35376 builtin and then its argument prototype would still apply. */
35377 char $ac_func ();
35378 /* The GNU C library defines this for functions which it implements
35379 to always fail with ENOSYS. Some functions are actually named
35380 something starting with __ and the normal name is an alias. */
35381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35382 choke me
35383 #else
35384 char (*f) () = $ac_func;
35385 #endif
35386 #ifdef __cplusplus
35388 #endif
35391 main ()
35393 return f != $ac_func;
35395 return 0;
35397 _ACEOF
35398 rm -f conftest.$ac_objext conftest$ac_exeext
35399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35400 (eval $ac_link) 2>conftest.er1
35401 ac_status=$?
35402 grep -v '^ *+' conftest.er1 >conftest.err
35403 rm -f conftest.er1
35404 cat conftest.err >&5
35405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35406 (exit $ac_status); } &&
35407 { ac_try='test -z "$ac_c_werror_flag"
35408 || test ! -s conftest.err'
35409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35410 (eval $ac_try) 2>&5
35411 ac_status=$?
35412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35413 (exit $ac_status); }; } &&
35414 { ac_try='test -s conftest$ac_exeext'
35415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35416 (eval $ac_try) 2>&5
35417 ac_status=$?
35418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35419 (exit $ac_status); }; }; then
35420 eval "$as_ac_var=yes"
35421 else
35422 echo "$as_me: failed program was:" >&5
35423 sed 's/^/| /' conftest.$ac_ext >&5
35425 eval "$as_ac_var=no"
35427 rm -f conftest.err conftest.$ac_objext \
35428 conftest$ac_exeext conftest.$ac_ext
35430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35432 if test `eval echo '${'$as_ac_var'}'` = yes; then
35433 cat >>confdefs.h <<_ACEOF
35434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35435 _ACEOF
35438 done
35440 else
35442 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
35443 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
35444 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35445 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
35446 echo $ECHO_N "(cached) $ECHO_C" >&6
35447 else
35451 ac_ext=cc
35452 ac_cpp='$CXXCPP $CPPFLAGS'
35453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35457 cat >conftest.$ac_ext <<_ACEOF
35458 /* confdefs.h. */
35459 _ACEOF
35460 cat confdefs.h >>conftest.$ac_ext
35461 cat >>conftest.$ac_ext <<_ACEOF
35462 /* end confdefs.h. */
35463 #include <math.h>
35464 #ifdef HAVE_IEEEFP_H
35465 #include <ieeefp.h>
35466 #endif
35469 main ()
35471 _isnanf(0);
35473 return 0;
35475 _ACEOF
35476 rm -f conftest.$ac_objext
35477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35478 (eval $ac_compile) 2>conftest.er1
35479 ac_status=$?
35480 grep -v '^ *+' conftest.er1 >conftest.err
35481 rm -f conftest.er1
35482 cat conftest.err >&5
35483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35484 (exit $ac_status); } &&
35485 { ac_try='test -z "$ac_cxx_werror_flag"
35486 || test ! -s conftest.err'
35487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35488 (eval $ac_try) 2>&5
35489 ac_status=$?
35490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35491 (exit $ac_status); }; } &&
35492 { ac_try='test -s conftest.$ac_objext'
35493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35494 (eval $ac_try) 2>&5
35495 ac_status=$?
35496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35497 (exit $ac_status); }; }; then
35498 glibcxx_cv_func__isnanf_use=yes
35499 else
35500 echo "$as_me: failed program was:" >&5
35501 sed 's/^/| /' conftest.$ac_ext >&5
35503 glibcxx_cv_func__isnanf_use=no
35505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35506 ac_ext=c
35507 ac_cpp='$CPP $CPPFLAGS'
35508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35516 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
35517 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
35519 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35521 for ac_func in _isnanf
35523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35524 echo "$as_me:$LINENO: checking for $ac_func" >&5
35525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35526 if eval "test \"\${$as_ac_var+set}\" = set"; then
35527 echo $ECHO_N "(cached) $ECHO_C" >&6
35528 else
35529 if test x$gcc_no_link = xyes; then
35530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35532 { (exit 1); exit 1; }; }
35534 cat >conftest.$ac_ext <<_ACEOF
35535 /* confdefs.h. */
35536 _ACEOF
35537 cat confdefs.h >>conftest.$ac_ext
35538 cat >>conftest.$ac_ext <<_ACEOF
35539 /* end confdefs.h. */
35540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35542 #define $ac_func innocuous_$ac_func
35544 /* System header to define __stub macros and hopefully few prototypes,
35545 which can conflict with char $ac_func (); below.
35546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35547 <limits.h> exists even on freestanding compilers. */
35549 #ifdef __STDC__
35550 # include <limits.h>
35551 #else
35552 # include <assert.h>
35553 #endif
35555 #undef $ac_func
35557 /* Override any gcc2 internal prototype to avoid an error. */
35558 #ifdef __cplusplus
35559 extern "C"
35561 #endif
35562 /* We use char because int might match the return type of a gcc2
35563 builtin and then its argument prototype would still apply. */
35564 char $ac_func ();
35565 /* The GNU C library defines this for functions which it implements
35566 to always fail with ENOSYS. Some functions are actually named
35567 something starting with __ and the normal name is an alias. */
35568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35569 choke me
35570 #else
35571 char (*f) () = $ac_func;
35572 #endif
35573 #ifdef __cplusplus
35575 #endif
35578 main ()
35580 return f != $ac_func;
35582 return 0;
35584 _ACEOF
35585 rm -f conftest.$ac_objext conftest$ac_exeext
35586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35587 (eval $ac_link) 2>conftest.er1
35588 ac_status=$?
35589 grep -v '^ *+' conftest.er1 >conftest.err
35590 rm -f conftest.er1
35591 cat conftest.err >&5
35592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35593 (exit $ac_status); } &&
35594 { ac_try='test -z "$ac_c_werror_flag"
35595 || test ! -s conftest.err'
35596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35597 (eval $ac_try) 2>&5
35598 ac_status=$?
35599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35600 (exit $ac_status); }; } &&
35601 { ac_try='test -s conftest$ac_exeext'
35602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35603 (eval $ac_try) 2>&5
35604 ac_status=$?
35605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35606 (exit $ac_status); }; }; then
35607 eval "$as_ac_var=yes"
35608 else
35609 echo "$as_me: failed program was:" >&5
35610 sed 's/^/| /' conftest.$ac_ext >&5
35612 eval "$as_ac_var=no"
35614 rm -f conftest.err conftest.$ac_objext \
35615 conftest$ac_exeext conftest.$ac_ext
35617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35619 if test `eval echo '${'$as_ac_var'}'` = yes; then
35620 cat >>confdefs.h <<_ACEOF
35621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35622 _ACEOF
35625 done
35635 echo "$as_me:$LINENO: checking for isinff declaration" >&5
35636 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
35637 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35638 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
35639 echo $ECHO_N "(cached) $ECHO_C" >&6
35640 else
35644 ac_ext=cc
35645 ac_cpp='$CXXCPP $CPPFLAGS'
35646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35650 cat >conftest.$ac_ext <<_ACEOF
35651 /* confdefs.h. */
35652 _ACEOF
35653 cat confdefs.h >>conftest.$ac_ext
35654 cat >>conftest.$ac_ext <<_ACEOF
35655 /* end confdefs.h. */
35656 #include <math.h>
35657 #ifdef HAVE_IEEEFP_H
35658 #include <ieeefp.h>
35659 #endif
35662 main ()
35664 isinff(0);
35666 return 0;
35668 _ACEOF
35669 rm -f conftest.$ac_objext
35670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35671 (eval $ac_compile) 2>conftest.er1
35672 ac_status=$?
35673 grep -v '^ *+' conftest.er1 >conftest.err
35674 rm -f conftest.er1
35675 cat conftest.err >&5
35676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35677 (exit $ac_status); } &&
35678 { ac_try='test -z "$ac_cxx_werror_flag"
35679 || test ! -s conftest.err'
35680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35681 (eval $ac_try) 2>&5
35682 ac_status=$?
35683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35684 (exit $ac_status); }; } &&
35685 { ac_try='test -s conftest.$ac_objext'
35686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35687 (eval $ac_try) 2>&5
35688 ac_status=$?
35689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35690 (exit $ac_status); }; }; then
35691 glibcxx_cv_func_isinff_use=yes
35692 else
35693 echo "$as_me: failed program was:" >&5
35694 sed 's/^/| /' conftest.$ac_ext >&5
35696 glibcxx_cv_func_isinff_use=no
35698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35699 ac_ext=c
35700 ac_cpp='$CPP $CPPFLAGS'
35701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35709 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
35710 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
35712 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35714 for ac_func in isinff
35716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35717 echo "$as_me:$LINENO: checking for $ac_func" >&5
35718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35719 if eval "test \"\${$as_ac_var+set}\" = set"; then
35720 echo $ECHO_N "(cached) $ECHO_C" >&6
35721 else
35722 if test x$gcc_no_link = xyes; then
35723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35725 { (exit 1); exit 1; }; }
35727 cat >conftest.$ac_ext <<_ACEOF
35728 /* confdefs.h. */
35729 _ACEOF
35730 cat confdefs.h >>conftest.$ac_ext
35731 cat >>conftest.$ac_ext <<_ACEOF
35732 /* end confdefs.h. */
35733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35735 #define $ac_func innocuous_$ac_func
35737 /* System header to define __stub macros and hopefully few prototypes,
35738 which can conflict with char $ac_func (); below.
35739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35740 <limits.h> exists even on freestanding compilers. */
35742 #ifdef __STDC__
35743 # include <limits.h>
35744 #else
35745 # include <assert.h>
35746 #endif
35748 #undef $ac_func
35750 /* Override any gcc2 internal prototype to avoid an error. */
35751 #ifdef __cplusplus
35752 extern "C"
35754 #endif
35755 /* We use char because int might match the return type of a gcc2
35756 builtin and then its argument prototype would still apply. */
35757 char $ac_func ();
35758 /* The GNU C library defines this for functions which it implements
35759 to always fail with ENOSYS. Some functions are actually named
35760 something starting with __ and the normal name is an alias. */
35761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35762 choke me
35763 #else
35764 char (*f) () = $ac_func;
35765 #endif
35766 #ifdef __cplusplus
35768 #endif
35771 main ()
35773 return f != $ac_func;
35775 return 0;
35777 _ACEOF
35778 rm -f conftest.$ac_objext conftest$ac_exeext
35779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35780 (eval $ac_link) 2>conftest.er1
35781 ac_status=$?
35782 grep -v '^ *+' conftest.er1 >conftest.err
35783 rm -f conftest.er1
35784 cat conftest.err >&5
35785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35786 (exit $ac_status); } &&
35787 { ac_try='test -z "$ac_c_werror_flag"
35788 || test ! -s conftest.err'
35789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35790 (eval $ac_try) 2>&5
35791 ac_status=$?
35792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35793 (exit $ac_status); }; } &&
35794 { ac_try='test -s conftest$ac_exeext'
35795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35796 (eval $ac_try) 2>&5
35797 ac_status=$?
35798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35799 (exit $ac_status); }; }; then
35800 eval "$as_ac_var=yes"
35801 else
35802 echo "$as_me: failed program was:" >&5
35803 sed 's/^/| /' conftest.$ac_ext >&5
35805 eval "$as_ac_var=no"
35807 rm -f conftest.err conftest.$ac_objext \
35808 conftest$ac_exeext conftest.$ac_ext
35810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35812 if test `eval echo '${'$as_ac_var'}'` = yes; then
35813 cat >>confdefs.h <<_ACEOF
35814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35815 _ACEOF
35818 done
35820 else
35822 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
35823 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
35824 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35825 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
35826 echo $ECHO_N "(cached) $ECHO_C" >&6
35827 else
35831 ac_ext=cc
35832 ac_cpp='$CXXCPP $CPPFLAGS'
35833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35837 cat >conftest.$ac_ext <<_ACEOF
35838 /* confdefs.h. */
35839 _ACEOF
35840 cat confdefs.h >>conftest.$ac_ext
35841 cat >>conftest.$ac_ext <<_ACEOF
35842 /* end confdefs.h. */
35843 #include <math.h>
35844 #ifdef HAVE_IEEEFP_H
35845 #include <ieeefp.h>
35846 #endif
35849 main ()
35851 _isinff(0);
35853 return 0;
35855 _ACEOF
35856 rm -f conftest.$ac_objext
35857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35858 (eval $ac_compile) 2>conftest.er1
35859 ac_status=$?
35860 grep -v '^ *+' conftest.er1 >conftest.err
35861 rm -f conftest.er1
35862 cat conftest.err >&5
35863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35864 (exit $ac_status); } &&
35865 { ac_try='test -z "$ac_cxx_werror_flag"
35866 || test ! -s conftest.err'
35867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35868 (eval $ac_try) 2>&5
35869 ac_status=$?
35870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35871 (exit $ac_status); }; } &&
35872 { ac_try='test -s conftest.$ac_objext'
35873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35874 (eval $ac_try) 2>&5
35875 ac_status=$?
35876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35877 (exit $ac_status); }; }; then
35878 glibcxx_cv_func__isinff_use=yes
35879 else
35880 echo "$as_me: failed program was:" >&5
35881 sed 's/^/| /' conftest.$ac_ext >&5
35883 glibcxx_cv_func__isinff_use=no
35885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35886 ac_ext=c
35887 ac_cpp='$CPP $CPPFLAGS'
35888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35896 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
35897 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
35899 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35901 for ac_func in _isinff
35903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35904 echo "$as_me:$LINENO: checking for $ac_func" >&5
35905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35906 if eval "test \"\${$as_ac_var+set}\" = set"; then
35907 echo $ECHO_N "(cached) $ECHO_C" >&6
35908 else
35909 if test x$gcc_no_link = xyes; then
35910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35912 { (exit 1); exit 1; }; }
35914 cat >conftest.$ac_ext <<_ACEOF
35915 /* confdefs.h. */
35916 _ACEOF
35917 cat confdefs.h >>conftest.$ac_ext
35918 cat >>conftest.$ac_ext <<_ACEOF
35919 /* end confdefs.h. */
35920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35922 #define $ac_func innocuous_$ac_func
35924 /* System header to define __stub macros and hopefully few prototypes,
35925 which can conflict with char $ac_func (); below.
35926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35927 <limits.h> exists even on freestanding compilers. */
35929 #ifdef __STDC__
35930 # include <limits.h>
35931 #else
35932 # include <assert.h>
35933 #endif
35935 #undef $ac_func
35937 /* Override any gcc2 internal prototype to avoid an error. */
35938 #ifdef __cplusplus
35939 extern "C"
35941 #endif
35942 /* We use char because int might match the return type of a gcc2
35943 builtin and then its argument prototype would still apply. */
35944 char $ac_func ();
35945 /* The GNU C library defines this for functions which it implements
35946 to always fail with ENOSYS. Some functions are actually named
35947 something starting with __ and the normal name is an alias. */
35948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35949 choke me
35950 #else
35951 char (*f) () = $ac_func;
35952 #endif
35953 #ifdef __cplusplus
35955 #endif
35958 main ()
35960 return f != $ac_func;
35962 return 0;
35964 _ACEOF
35965 rm -f conftest.$ac_objext conftest$ac_exeext
35966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35967 (eval $ac_link) 2>conftest.er1
35968 ac_status=$?
35969 grep -v '^ *+' conftest.er1 >conftest.err
35970 rm -f conftest.er1
35971 cat conftest.err >&5
35972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35973 (exit $ac_status); } &&
35974 { ac_try='test -z "$ac_c_werror_flag"
35975 || test ! -s conftest.err'
35976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35977 (eval $ac_try) 2>&5
35978 ac_status=$?
35979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35980 (exit $ac_status); }; } &&
35981 { ac_try='test -s conftest$ac_exeext'
35982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35983 (eval $ac_try) 2>&5
35984 ac_status=$?
35985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35986 (exit $ac_status); }; }; then
35987 eval "$as_ac_var=yes"
35988 else
35989 echo "$as_me: failed program was:" >&5
35990 sed 's/^/| /' conftest.$ac_ext >&5
35992 eval "$as_ac_var=no"
35994 rm -f conftest.err conftest.$ac_objext \
35995 conftest$ac_exeext conftest.$ac_ext
35997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35999 if test `eval echo '${'$as_ac_var'}'` = yes; then
36000 cat >>confdefs.h <<_ACEOF
36001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36002 _ACEOF
36005 done
36015 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
36016 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
36017 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36018 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
36019 echo $ECHO_N "(cached) $ECHO_C" >&6
36020 else
36024 ac_ext=cc
36025 ac_cpp='$CXXCPP $CPPFLAGS'
36026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36030 cat >conftest.$ac_ext <<_ACEOF
36031 /* confdefs.h. */
36032 _ACEOF
36033 cat confdefs.h >>conftest.$ac_ext
36034 cat >>conftest.$ac_ext <<_ACEOF
36035 /* end confdefs.h. */
36036 #include <math.h>
36038 main ()
36040 atan2f(0, 0);
36042 return 0;
36044 _ACEOF
36045 rm -f conftest.$ac_objext
36046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36047 (eval $ac_compile) 2>conftest.er1
36048 ac_status=$?
36049 grep -v '^ *+' conftest.er1 >conftest.err
36050 rm -f conftest.er1
36051 cat conftest.err >&5
36052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36053 (exit $ac_status); } &&
36054 { ac_try='test -z "$ac_cxx_werror_flag"
36055 || test ! -s conftest.err'
36056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36057 (eval $ac_try) 2>&5
36058 ac_status=$?
36059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36060 (exit $ac_status); }; } &&
36061 { ac_try='test -s conftest.$ac_objext'
36062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36063 (eval $ac_try) 2>&5
36064 ac_status=$?
36065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36066 (exit $ac_status); }; }; then
36067 glibcxx_cv_func_atan2f_use=yes
36068 else
36069 echo "$as_me: failed program was:" >&5
36070 sed 's/^/| /' conftest.$ac_ext >&5
36072 glibcxx_cv_func_atan2f_use=no
36074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36075 ac_ext=c
36076 ac_cpp='$CPP $CPPFLAGS'
36077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36085 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
36086 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
36088 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36090 for ac_func in atan2f
36092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36093 echo "$as_me:$LINENO: checking for $ac_func" >&5
36094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36095 if eval "test \"\${$as_ac_var+set}\" = set"; then
36096 echo $ECHO_N "(cached) $ECHO_C" >&6
36097 else
36098 if test x$gcc_no_link = xyes; then
36099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36101 { (exit 1); exit 1; }; }
36103 cat >conftest.$ac_ext <<_ACEOF
36104 /* confdefs.h. */
36105 _ACEOF
36106 cat confdefs.h >>conftest.$ac_ext
36107 cat >>conftest.$ac_ext <<_ACEOF
36108 /* end confdefs.h. */
36109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36111 #define $ac_func innocuous_$ac_func
36113 /* System header to define __stub macros and hopefully few prototypes,
36114 which can conflict with char $ac_func (); below.
36115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36116 <limits.h> exists even on freestanding compilers. */
36118 #ifdef __STDC__
36119 # include <limits.h>
36120 #else
36121 # include <assert.h>
36122 #endif
36124 #undef $ac_func
36126 /* Override any gcc2 internal prototype to avoid an error. */
36127 #ifdef __cplusplus
36128 extern "C"
36130 #endif
36131 /* We use char because int might match the return type of a gcc2
36132 builtin and then its argument prototype would still apply. */
36133 char $ac_func ();
36134 /* The GNU C library defines this for functions which it implements
36135 to always fail with ENOSYS. Some functions are actually named
36136 something starting with __ and the normal name is an alias. */
36137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36138 choke me
36139 #else
36140 char (*f) () = $ac_func;
36141 #endif
36142 #ifdef __cplusplus
36144 #endif
36147 main ()
36149 return f != $ac_func;
36151 return 0;
36153 _ACEOF
36154 rm -f conftest.$ac_objext conftest$ac_exeext
36155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36156 (eval $ac_link) 2>conftest.er1
36157 ac_status=$?
36158 grep -v '^ *+' conftest.er1 >conftest.err
36159 rm -f conftest.er1
36160 cat conftest.err >&5
36161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36162 (exit $ac_status); } &&
36163 { ac_try='test -z "$ac_c_werror_flag"
36164 || test ! -s conftest.err'
36165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36166 (eval $ac_try) 2>&5
36167 ac_status=$?
36168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36169 (exit $ac_status); }; } &&
36170 { ac_try='test -s conftest$ac_exeext'
36171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36172 (eval $ac_try) 2>&5
36173 ac_status=$?
36174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36175 (exit $ac_status); }; }; then
36176 eval "$as_ac_var=yes"
36177 else
36178 echo "$as_me: failed program was:" >&5
36179 sed 's/^/| /' conftest.$ac_ext >&5
36181 eval "$as_ac_var=no"
36183 rm -f conftest.err conftest.$ac_objext \
36184 conftest$ac_exeext conftest.$ac_ext
36186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36188 if test `eval echo '${'$as_ac_var'}'` = yes; then
36189 cat >>confdefs.h <<_ACEOF
36190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36191 _ACEOF
36194 done
36196 else
36198 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
36199 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
36200 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36201 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
36202 echo $ECHO_N "(cached) $ECHO_C" >&6
36203 else
36207 ac_ext=cc
36208 ac_cpp='$CXXCPP $CPPFLAGS'
36209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36213 cat >conftest.$ac_ext <<_ACEOF
36214 /* confdefs.h. */
36215 _ACEOF
36216 cat confdefs.h >>conftest.$ac_ext
36217 cat >>conftest.$ac_ext <<_ACEOF
36218 /* end confdefs.h. */
36219 #include <math.h>
36221 main ()
36223 _atan2f(0, 0);
36225 return 0;
36227 _ACEOF
36228 rm -f conftest.$ac_objext
36229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36230 (eval $ac_compile) 2>conftest.er1
36231 ac_status=$?
36232 grep -v '^ *+' conftest.er1 >conftest.err
36233 rm -f conftest.er1
36234 cat conftest.err >&5
36235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36236 (exit $ac_status); } &&
36237 { ac_try='test -z "$ac_cxx_werror_flag"
36238 || test ! -s conftest.err'
36239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36240 (eval $ac_try) 2>&5
36241 ac_status=$?
36242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36243 (exit $ac_status); }; } &&
36244 { ac_try='test -s conftest.$ac_objext'
36245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36246 (eval $ac_try) 2>&5
36247 ac_status=$?
36248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36249 (exit $ac_status); }; }; then
36250 glibcxx_cv_func__atan2f_use=yes
36251 else
36252 echo "$as_me: failed program was:" >&5
36253 sed 's/^/| /' conftest.$ac_ext >&5
36255 glibcxx_cv_func__atan2f_use=no
36257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36258 ac_ext=c
36259 ac_cpp='$CPP $CPPFLAGS'
36260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36268 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
36269 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
36271 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36273 for ac_func in _atan2f
36275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36276 echo "$as_me:$LINENO: checking for $ac_func" >&5
36277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36278 if eval "test \"\${$as_ac_var+set}\" = set"; then
36279 echo $ECHO_N "(cached) $ECHO_C" >&6
36280 else
36281 if test x$gcc_no_link = xyes; then
36282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36284 { (exit 1); exit 1; }; }
36286 cat >conftest.$ac_ext <<_ACEOF
36287 /* confdefs.h. */
36288 _ACEOF
36289 cat confdefs.h >>conftest.$ac_ext
36290 cat >>conftest.$ac_ext <<_ACEOF
36291 /* end confdefs.h. */
36292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36294 #define $ac_func innocuous_$ac_func
36296 /* System header to define __stub macros and hopefully few prototypes,
36297 which can conflict with char $ac_func (); below.
36298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36299 <limits.h> exists even on freestanding compilers. */
36301 #ifdef __STDC__
36302 # include <limits.h>
36303 #else
36304 # include <assert.h>
36305 #endif
36307 #undef $ac_func
36309 /* Override any gcc2 internal prototype to avoid an error. */
36310 #ifdef __cplusplus
36311 extern "C"
36313 #endif
36314 /* We use char because int might match the return type of a gcc2
36315 builtin and then its argument prototype would still apply. */
36316 char $ac_func ();
36317 /* The GNU C library defines this for functions which it implements
36318 to always fail with ENOSYS. Some functions are actually named
36319 something starting with __ and the normal name is an alias. */
36320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36321 choke me
36322 #else
36323 char (*f) () = $ac_func;
36324 #endif
36325 #ifdef __cplusplus
36327 #endif
36330 main ()
36332 return f != $ac_func;
36334 return 0;
36336 _ACEOF
36337 rm -f conftest.$ac_objext conftest$ac_exeext
36338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36339 (eval $ac_link) 2>conftest.er1
36340 ac_status=$?
36341 grep -v '^ *+' conftest.er1 >conftest.err
36342 rm -f conftest.er1
36343 cat conftest.err >&5
36344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36345 (exit $ac_status); } &&
36346 { ac_try='test -z "$ac_c_werror_flag"
36347 || test ! -s conftest.err'
36348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36349 (eval $ac_try) 2>&5
36350 ac_status=$?
36351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36352 (exit $ac_status); }; } &&
36353 { ac_try='test -s conftest$ac_exeext'
36354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36355 (eval $ac_try) 2>&5
36356 ac_status=$?
36357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36358 (exit $ac_status); }; }; then
36359 eval "$as_ac_var=yes"
36360 else
36361 echo "$as_me: failed program was:" >&5
36362 sed 's/^/| /' conftest.$ac_ext >&5
36364 eval "$as_ac_var=no"
36366 rm -f conftest.err conftest.$ac_objext \
36367 conftest$ac_exeext conftest.$ac_ext
36369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36371 if test `eval echo '${'$as_ac_var'}'` = yes; then
36372 cat >>confdefs.h <<_ACEOF
36373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36374 _ACEOF
36377 done
36387 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
36388 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
36389 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36390 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
36391 echo $ECHO_N "(cached) $ECHO_C" >&6
36392 else
36396 ac_ext=cc
36397 ac_cpp='$CXXCPP $CPPFLAGS'
36398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36402 cat >conftest.$ac_ext <<_ACEOF
36403 /* confdefs.h. */
36404 _ACEOF
36405 cat confdefs.h >>conftest.$ac_ext
36406 cat >>conftest.$ac_ext <<_ACEOF
36407 /* end confdefs.h. */
36408 #include <math.h>
36409 #ifdef HAVE_IEEEFP_H
36410 #include <ieeefp.h>
36411 #endif
36414 main ()
36416 fabsf(0);
36418 return 0;
36420 _ACEOF
36421 rm -f conftest.$ac_objext
36422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36423 (eval $ac_compile) 2>conftest.er1
36424 ac_status=$?
36425 grep -v '^ *+' conftest.er1 >conftest.err
36426 rm -f conftest.er1
36427 cat conftest.err >&5
36428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36429 (exit $ac_status); } &&
36430 { ac_try='test -z "$ac_cxx_werror_flag"
36431 || test ! -s conftest.err'
36432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36433 (eval $ac_try) 2>&5
36434 ac_status=$?
36435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36436 (exit $ac_status); }; } &&
36437 { ac_try='test -s conftest.$ac_objext'
36438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36439 (eval $ac_try) 2>&5
36440 ac_status=$?
36441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36442 (exit $ac_status); }; }; then
36443 glibcxx_cv_func_fabsf_use=yes
36444 else
36445 echo "$as_me: failed program was:" >&5
36446 sed 's/^/| /' conftest.$ac_ext >&5
36448 glibcxx_cv_func_fabsf_use=no
36450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36451 ac_ext=c
36452 ac_cpp='$CPP $CPPFLAGS'
36453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36461 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
36462 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
36464 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36466 for ac_func in fabsf
36468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36469 echo "$as_me:$LINENO: checking for $ac_func" >&5
36470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36471 if eval "test \"\${$as_ac_var+set}\" = set"; then
36472 echo $ECHO_N "(cached) $ECHO_C" >&6
36473 else
36474 if test x$gcc_no_link = xyes; then
36475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36477 { (exit 1); exit 1; }; }
36479 cat >conftest.$ac_ext <<_ACEOF
36480 /* confdefs.h. */
36481 _ACEOF
36482 cat confdefs.h >>conftest.$ac_ext
36483 cat >>conftest.$ac_ext <<_ACEOF
36484 /* end confdefs.h. */
36485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36487 #define $ac_func innocuous_$ac_func
36489 /* System header to define __stub macros and hopefully few prototypes,
36490 which can conflict with char $ac_func (); below.
36491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36492 <limits.h> exists even on freestanding compilers. */
36494 #ifdef __STDC__
36495 # include <limits.h>
36496 #else
36497 # include <assert.h>
36498 #endif
36500 #undef $ac_func
36502 /* Override any gcc2 internal prototype to avoid an error. */
36503 #ifdef __cplusplus
36504 extern "C"
36506 #endif
36507 /* We use char because int might match the return type of a gcc2
36508 builtin and then its argument prototype would still apply. */
36509 char $ac_func ();
36510 /* The GNU C library defines this for functions which it implements
36511 to always fail with ENOSYS. Some functions are actually named
36512 something starting with __ and the normal name is an alias. */
36513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36514 choke me
36515 #else
36516 char (*f) () = $ac_func;
36517 #endif
36518 #ifdef __cplusplus
36520 #endif
36523 main ()
36525 return f != $ac_func;
36527 return 0;
36529 _ACEOF
36530 rm -f conftest.$ac_objext conftest$ac_exeext
36531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36532 (eval $ac_link) 2>conftest.er1
36533 ac_status=$?
36534 grep -v '^ *+' conftest.er1 >conftest.err
36535 rm -f conftest.er1
36536 cat conftest.err >&5
36537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36538 (exit $ac_status); } &&
36539 { ac_try='test -z "$ac_c_werror_flag"
36540 || test ! -s conftest.err'
36541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36542 (eval $ac_try) 2>&5
36543 ac_status=$?
36544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36545 (exit $ac_status); }; } &&
36546 { ac_try='test -s conftest$ac_exeext'
36547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36548 (eval $ac_try) 2>&5
36549 ac_status=$?
36550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36551 (exit $ac_status); }; }; then
36552 eval "$as_ac_var=yes"
36553 else
36554 echo "$as_me: failed program was:" >&5
36555 sed 's/^/| /' conftest.$ac_ext >&5
36557 eval "$as_ac_var=no"
36559 rm -f conftest.err conftest.$ac_objext \
36560 conftest$ac_exeext conftest.$ac_ext
36562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36564 if test `eval echo '${'$as_ac_var'}'` = yes; then
36565 cat >>confdefs.h <<_ACEOF
36566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36567 _ACEOF
36570 done
36572 else
36574 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
36575 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
36576 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36577 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
36578 echo $ECHO_N "(cached) $ECHO_C" >&6
36579 else
36583 ac_ext=cc
36584 ac_cpp='$CXXCPP $CPPFLAGS'
36585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36589 cat >conftest.$ac_ext <<_ACEOF
36590 /* confdefs.h. */
36591 _ACEOF
36592 cat confdefs.h >>conftest.$ac_ext
36593 cat >>conftest.$ac_ext <<_ACEOF
36594 /* end confdefs.h. */
36595 #include <math.h>
36596 #ifdef HAVE_IEEEFP_H
36597 #include <ieeefp.h>
36598 #endif
36601 main ()
36603 _fabsf(0);
36605 return 0;
36607 _ACEOF
36608 rm -f conftest.$ac_objext
36609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36610 (eval $ac_compile) 2>conftest.er1
36611 ac_status=$?
36612 grep -v '^ *+' conftest.er1 >conftest.err
36613 rm -f conftest.er1
36614 cat conftest.err >&5
36615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36616 (exit $ac_status); } &&
36617 { ac_try='test -z "$ac_cxx_werror_flag"
36618 || test ! -s conftest.err'
36619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36620 (eval $ac_try) 2>&5
36621 ac_status=$?
36622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36623 (exit $ac_status); }; } &&
36624 { ac_try='test -s conftest.$ac_objext'
36625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36626 (eval $ac_try) 2>&5
36627 ac_status=$?
36628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36629 (exit $ac_status); }; }; then
36630 glibcxx_cv_func__fabsf_use=yes
36631 else
36632 echo "$as_me: failed program was:" >&5
36633 sed 's/^/| /' conftest.$ac_ext >&5
36635 glibcxx_cv_func__fabsf_use=no
36637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36638 ac_ext=c
36639 ac_cpp='$CPP $CPPFLAGS'
36640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36648 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
36649 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
36651 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36653 for ac_func in _fabsf
36655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36656 echo "$as_me:$LINENO: checking for $ac_func" >&5
36657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36658 if eval "test \"\${$as_ac_var+set}\" = set"; then
36659 echo $ECHO_N "(cached) $ECHO_C" >&6
36660 else
36661 if test x$gcc_no_link = xyes; then
36662 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36664 { (exit 1); exit 1; }; }
36666 cat >conftest.$ac_ext <<_ACEOF
36667 /* confdefs.h. */
36668 _ACEOF
36669 cat confdefs.h >>conftest.$ac_ext
36670 cat >>conftest.$ac_ext <<_ACEOF
36671 /* end confdefs.h. */
36672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36674 #define $ac_func innocuous_$ac_func
36676 /* System header to define __stub macros and hopefully few prototypes,
36677 which can conflict with char $ac_func (); below.
36678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36679 <limits.h> exists even on freestanding compilers. */
36681 #ifdef __STDC__
36682 # include <limits.h>
36683 #else
36684 # include <assert.h>
36685 #endif
36687 #undef $ac_func
36689 /* Override any gcc2 internal prototype to avoid an error. */
36690 #ifdef __cplusplus
36691 extern "C"
36693 #endif
36694 /* We use char because int might match the return type of a gcc2
36695 builtin and then its argument prototype would still apply. */
36696 char $ac_func ();
36697 /* The GNU C library defines this for functions which it implements
36698 to always fail with ENOSYS. Some functions are actually named
36699 something starting with __ and the normal name is an alias. */
36700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36701 choke me
36702 #else
36703 char (*f) () = $ac_func;
36704 #endif
36705 #ifdef __cplusplus
36707 #endif
36710 main ()
36712 return f != $ac_func;
36714 return 0;
36716 _ACEOF
36717 rm -f conftest.$ac_objext conftest$ac_exeext
36718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36719 (eval $ac_link) 2>conftest.er1
36720 ac_status=$?
36721 grep -v '^ *+' conftest.er1 >conftest.err
36722 rm -f conftest.er1
36723 cat conftest.err >&5
36724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36725 (exit $ac_status); } &&
36726 { ac_try='test -z "$ac_c_werror_flag"
36727 || test ! -s conftest.err'
36728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36729 (eval $ac_try) 2>&5
36730 ac_status=$?
36731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36732 (exit $ac_status); }; } &&
36733 { ac_try='test -s conftest$ac_exeext'
36734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36735 (eval $ac_try) 2>&5
36736 ac_status=$?
36737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36738 (exit $ac_status); }; }; then
36739 eval "$as_ac_var=yes"
36740 else
36741 echo "$as_me: failed program was:" >&5
36742 sed 's/^/| /' conftest.$ac_ext >&5
36744 eval "$as_ac_var=no"
36746 rm -f conftest.err conftest.$ac_objext \
36747 conftest$ac_exeext conftest.$ac_ext
36749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36751 if test `eval echo '${'$as_ac_var'}'` = yes; then
36752 cat >>confdefs.h <<_ACEOF
36753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36754 _ACEOF
36757 done
36767 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
36768 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
36769 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36770 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
36771 echo $ECHO_N "(cached) $ECHO_C" >&6
36772 else
36776 ac_ext=cc
36777 ac_cpp='$CXXCPP $CPPFLAGS'
36778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36782 cat >conftest.$ac_ext <<_ACEOF
36783 /* confdefs.h. */
36784 _ACEOF
36785 cat confdefs.h >>conftest.$ac_ext
36786 cat >>conftest.$ac_ext <<_ACEOF
36787 /* end confdefs.h. */
36788 #include <math.h>
36790 main ()
36792 fmodf(0, 0);
36794 return 0;
36796 _ACEOF
36797 rm -f conftest.$ac_objext
36798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36799 (eval $ac_compile) 2>conftest.er1
36800 ac_status=$?
36801 grep -v '^ *+' conftest.er1 >conftest.err
36802 rm -f conftest.er1
36803 cat conftest.err >&5
36804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36805 (exit $ac_status); } &&
36806 { ac_try='test -z "$ac_cxx_werror_flag"
36807 || test ! -s conftest.err'
36808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36809 (eval $ac_try) 2>&5
36810 ac_status=$?
36811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36812 (exit $ac_status); }; } &&
36813 { ac_try='test -s conftest.$ac_objext'
36814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36815 (eval $ac_try) 2>&5
36816 ac_status=$?
36817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36818 (exit $ac_status); }; }; then
36819 glibcxx_cv_func_fmodf_use=yes
36820 else
36821 echo "$as_me: failed program was:" >&5
36822 sed 's/^/| /' conftest.$ac_ext >&5
36824 glibcxx_cv_func_fmodf_use=no
36826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36827 ac_ext=c
36828 ac_cpp='$CPP $CPPFLAGS'
36829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36837 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
36838 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
36840 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
36842 for ac_func in fmodf
36844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36845 echo "$as_me:$LINENO: checking for $ac_func" >&5
36846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36847 if eval "test \"\${$as_ac_var+set}\" = set"; then
36848 echo $ECHO_N "(cached) $ECHO_C" >&6
36849 else
36850 if test x$gcc_no_link = xyes; then
36851 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36853 { (exit 1); exit 1; }; }
36855 cat >conftest.$ac_ext <<_ACEOF
36856 /* confdefs.h. */
36857 _ACEOF
36858 cat confdefs.h >>conftest.$ac_ext
36859 cat >>conftest.$ac_ext <<_ACEOF
36860 /* end confdefs.h. */
36861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36863 #define $ac_func innocuous_$ac_func
36865 /* System header to define __stub macros and hopefully few prototypes,
36866 which can conflict with char $ac_func (); below.
36867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36868 <limits.h> exists even on freestanding compilers. */
36870 #ifdef __STDC__
36871 # include <limits.h>
36872 #else
36873 # include <assert.h>
36874 #endif
36876 #undef $ac_func
36878 /* Override any gcc2 internal prototype to avoid an error. */
36879 #ifdef __cplusplus
36880 extern "C"
36882 #endif
36883 /* We use char because int might match the return type of a gcc2
36884 builtin and then its argument prototype would still apply. */
36885 char $ac_func ();
36886 /* The GNU C library defines this for functions which it implements
36887 to always fail with ENOSYS. Some functions are actually named
36888 something starting with __ and the normal name is an alias. */
36889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36890 choke me
36891 #else
36892 char (*f) () = $ac_func;
36893 #endif
36894 #ifdef __cplusplus
36896 #endif
36899 main ()
36901 return f != $ac_func;
36903 return 0;
36905 _ACEOF
36906 rm -f conftest.$ac_objext conftest$ac_exeext
36907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36908 (eval $ac_link) 2>conftest.er1
36909 ac_status=$?
36910 grep -v '^ *+' conftest.er1 >conftest.err
36911 rm -f conftest.er1
36912 cat conftest.err >&5
36913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36914 (exit $ac_status); } &&
36915 { ac_try='test -z "$ac_c_werror_flag"
36916 || test ! -s conftest.err'
36917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36918 (eval $ac_try) 2>&5
36919 ac_status=$?
36920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36921 (exit $ac_status); }; } &&
36922 { ac_try='test -s conftest$ac_exeext'
36923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36924 (eval $ac_try) 2>&5
36925 ac_status=$?
36926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36927 (exit $ac_status); }; }; then
36928 eval "$as_ac_var=yes"
36929 else
36930 echo "$as_me: failed program was:" >&5
36931 sed 's/^/| /' conftest.$ac_ext >&5
36933 eval "$as_ac_var=no"
36935 rm -f conftest.err conftest.$ac_objext \
36936 conftest$ac_exeext conftest.$ac_ext
36938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36940 if test `eval echo '${'$as_ac_var'}'` = yes; then
36941 cat >>confdefs.h <<_ACEOF
36942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36943 _ACEOF
36946 done
36948 else
36950 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
36951 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
36952 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36953 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
36954 echo $ECHO_N "(cached) $ECHO_C" >&6
36955 else
36959 ac_ext=cc
36960 ac_cpp='$CXXCPP $CPPFLAGS'
36961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36965 cat >conftest.$ac_ext <<_ACEOF
36966 /* confdefs.h. */
36967 _ACEOF
36968 cat confdefs.h >>conftest.$ac_ext
36969 cat >>conftest.$ac_ext <<_ACEOF
36970 /* end confdefs.h. */
36971 #include <math.h>
36973 main ()
36975 _fmodf(0, 0);
36977 return 0;
36979 _ACEOF
36980 rm -f conftest.$ac_objext
36981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36982 (eval $ac_compile) 2>conftest.er1
36983 ac_status=$?
36984 grep -v '^ *+' conftest.er1 >conftest.err
36985 rm -f conftest.er1
36986 cat conftest.err >&5
36987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36988 (exit $ac_status); } &&
36989 { ac_try='test -z "$ac_cxx_werror_flag"
36990 || test ! -s conftest.err'
36991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36992 (eval $ac_try) 2>&5
36993 ac_status=$?
36994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36995 (exit $ac_status); }; } &&
36996 { ac_try='test -s conftest.$ac_objext'
36997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36998 (eval $ac_try) 2>&5
36999 ac_status=$?
37000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37001 (exit $ac_status); }; }; then
37002 glibcxx_cv_func__fmodf_use=yes
37003 else
37004 echo "$as_me: failed program was:" >&5
37005 sed 's/^/| /' conftest.$ac_ext >&5
37007 glibcxx_cv_func__fmodf_use=no
37009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37010 ac_ext=c
37011 ac_cpp='$CPP $CPPFLAGS'
37012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37020 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
37021 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
37023 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37025 for ac_func in _fmodf
37027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37028 echo "$as_me:$LINENO: checking for $ac_func" >&5
37029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37030 if eval "test \"\${$as_ac_var+set}\" = set"; then
37031 echo $ECHO_N "(cached) $ECHO_C" >&6
37032 else
37033 if test x$gcc_no_link = xyes; then
37034 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37036 { (exit 1); exit 1; }; }
37038 cat >conftest.$ac_ext <<_ACEOF
37039 /* confdefs.h. */
37040 _ACEOF
37041 cat confdefs.h >>conftest.$ac_ext
37042 cat >>conftest.$ac_ext <<_ACEOF
37043 /* end confdefs.h. */
37044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37046 #define $ac_func innocuous_$ac_func
37048 /* System header to define __stub macros and hopefully few prototypes,
37049 which can conflict with char $ac_func (); below.
37050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37051 <limits.h> exists even on freestanding compilers. */
37053 #ifdef __STDC__
37054 # include <limits.h>
37055 #else
37056 # include <assert.h>
37057 #endif
37059 #undef $ac_func
37061 /* Override any gcc2 internal prototype to avoid an error. */
37062 #ifdef __cplusplus
37063 extern "C"
37065 #endif
37066 /* We use char because int might match the return type of a gcc2
37067 builtin and then its argument prototype would still apply. */
37068 char $ac_func ();
37069 /* The GNU C library defines this for functions which it implements
37070 to always fail with ENOSYS. Some functions are actually named
37071 something starting with __ and the normal name is an alias. */
37072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37073 choke me
37074 #else
37075 char (*f) () = $ac_func;
37076 #endif
37077 #ifdef __cplusplus
37079 #endif
37082 main ()
37084 return f != $ac_func;
37086 return 0;
37088 _ACEOF
37089 rm -f conftest.$ac_objext conftest$ac_exeext
37090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37091 (eval $ac_link) 2>conftest.er1
37092 ac_status=$?
37093 grep -v '^ *+' conftest.er1 >conftest.err
37094 rm -f conftest.er1
37095 cat conftest.err >&5
37096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37097 (exit $ac_status); } &&
37098 { ac_try='test -z "$ac_c_werror_flag"
37099 || test ! -s conftest.err'
37100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37101 (eval $ac_try) 2>&5
37102 ac_status=$?
37103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37104 (exit $ac_status); }; } &&
37105 { ac_try='test -s conftest$ac_exeext'
37106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37107 (eval $ac_try) 2>&5
37108 ac_status=$?
37109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37110 (exit $ac_status); }; }; then
37111 eval "$as_ac_var=yes"
37112 else
37113 echo "$as_me: failed program was:" >&5
37114 sed 's/^/| /' conftest.$ac_ext >&5
37116 eval "$as_ac_var=no"
37118 rm -f conftest.err conftest.$ac_objext \
37119 conftest$ac_exeext conftest.$ac_ext
37121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37123 if test `eval echo '${'$as_ac_var'}'` = yes; then
37124 cat >>confdefs.h <<_ACEOF
37125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37126 _ACEOF
37129 done
37139 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
37140 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
37141 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37142 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
37143 echo $ECHO_N "(cached) $ECHO_C" >&6
37144 else
37148 ac_ext=cc
37149 ac_cpp='$CXXCPP $CPPFLAGS'
37150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37154 cat >conftest.$ac_ext <<_ACEOF
37155 /* confdefs.h. */
37156 _ACEOF
37157 cat confdefs.h >>conftest.$ac_ext
37158 cat >>conftest.$ac_ext <<_ACEOF
37159 /* end confdefs.h. */
37160 #include <math.h>
37162 main ()
37164 frexpf(0, 0);
37166 return 0;
37168 _ACEOF
37169 rm -f conftest.$ac_objext
37170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37171 (eval $ac_compile) 2>conftest.er1
37172 ac_status=$?
37173 grep -v '^ *+' conftest.er1 >conftest.err
37174 rm -f conftest.er1
37175 cat conftest.err >&5
37176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37177 (exit $ac_status); } &&
37178 { ac_try='test -z "$ac_cxx_werror_flag"
37179 || test ! -s conftest.err'
37180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37181 (eval $ac_try) 2>&5
37182 ac_status=$?
37183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37184 (exit $ac_status); }; } &&
37185 { ac_try='test -s conftest.$ac_objext'
37186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37187 (eval $ac_try) 2>&5
37188 ac_status=$?
37189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37190 (exit $ac_status); }; }; then
37191 glibcxx_cv_func_frexpf_use=yes
37192 else
37193 echo "$as_me: failed program was:" >&5
37194 sed 's/^/| /' conftest.$ac_ext >&5
37196 glibcxx_cv_func_frexpf_use=no
37198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37199 ac_ext=c
37200 ac_cpp='$CPP $CPPFLAGS'
37201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37209 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
37210 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
37212 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37214 for ac_func in frexpf
37216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37217 echo "$as_me:$LINENO: checking for $ac_func" >&5
37218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37219 if eval "test \"\${$as_ac_var+set}\" = set"; then
37220 echo $ECHO_N "(cached) $ECHO_C" >&6
37221 else
37222 if test x$gcc_no_link = xyes; then
37223 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37225 { (exit 1); exit 1; }; }
37227 cat >conftest.$ac_ext <<_ACEOF
37228 /* confdefs.h. */
37229 _ACEOF
37230 cat confdefs.h >>conftest.$ac_ext
37231 cat >>conftest.$ac_ext <<_ACEOF
37232 /* end confdefs.h. */
37233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37235 #define $ac_func innocuous_$ac_func
37237 /* System header to define __stub macros and hopefully few prototypes,
37238 which can conflict with char $ac_func (); below.
37239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37240 <limits.h> exists even on freestanding compilers. */
37242 #ifdef __STDC__
37243 # include <limits.h>
37244 #else
37245 # include <assert.h>
37246 #endif
37248 #undef $ac_func
37250 /* Override any gcc2 internal prototype to avoid an error. */
37251 #ifdef __cplusplus
37252 extern "C"
37254 #endif
37255 /* We use char because int might match the return type of a gcc2
37256 builtin and then its argument prototype would still apply. */
37257 char $ac_func ();
37258 /* The GNU C library defines this for functions which it implements
37259 to always fail with ENOSYS. Some functions are actually named
37260 something starting with __ and the normal name is an alias. */
37261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37262 choke me
37263 #else
37264 char (*f) () = $ac_func;
37265 #endif
37266 #ifdef __cplusplus
37268 #endif
37271 main ()
37273 return f != $ac_func;
37275 return 0;
37277 _ACEOF
37278 rm -f conftest.$ac_objext conftest$ac_exeext
37279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37280 (eval $ac_link) 2>conftest.er1
37281 ac_status=$?
37282 grep -v '^ *+' conftest.er1 >conftest.err
37283 rm -f conftest.er1
37284 cat conftest.err >&5
37285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37286 (exit $ac_status); } &&
37287 { ac_try='test -z "$ac_c_werror_flag"
37288 || test ! -s conftest.err'
37289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37290 (eval $ac_try) 2>&5
37291 ac_status=$?
37292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37293 (exit $ac_status); }; } &&
37294 { ac_try='test -s conftest$ac_exeext'
37295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37296 (eval $ac_try) 2>&5
37297 ac_status=$?
37298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37299 (exit $ac_status); }; }; then
37300 eval "$as_ac_var=yes"
37301 else
37302 echo "$as_me: failed program was:" >&5
37303 sed 's/^/| /' conftest.$ac_ext >&5
37305 eval "$as_ac_var=no"
37307 rm -f conftest.err conftest.$ac_objext \
37308 conftest$ac_exeext conftest.$ac_ext
37310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37312 if test `eval echo '${'$as_ac_var'}'` = yes; then
37313 cat >>confdefs.h <<_ACEOF
37314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37315 _ACEOF
37318 done
37320 else
37322 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
37323 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
37324 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37325 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
37326 echo $ECHO_N "(cached) $ECHO_C" >&6
37327 else
37331 ac_ext=cc
37332 ac_cpp='$CXXCPP $CPPFLAGS'
37333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37337 cat >conftest.$ac_ext <<_ACEOF
37338 /* confdefs.h. */
37339 _ACEOF
37340 cat confdefs.h >>conftest.$ac_ext
37341 cat >>conftest.$ac_ext <<_ACEOF
37342 /* end confdefs.h. */
37343 #include <math.h>
37345 main ()
37347 _frexpf(0, 0);
37349 return 0;
37351 _ACEOF
37352 rm -f conftest.$ac_objext
37353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37354 (eval $ac_compile) 2>conftest.er1
37355 ac_status=$?
37356 grep -v '^ *+' conftest.er1 >conftest.err
37357 rm -f conftest.er1
37358 cat conftest.err >&5
37359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37360 (exit $ac_status); } &&
37361 { ac_try='test -z "$ac_cxx_werror_flag"
37362 || test ! -s conftest.err'
37363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37364 (eval $ac_try) 2>&5
37365 ac_status=$?
37366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37367 (exit $ac_status); }; } &&
37368 { ac_try='test -s conftest.$ac_objext'
37369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37370 (eval $ac_try) 2>&5
37371 ac_status=$?
37372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37373 (exit $ac_status); }; }; then
37374 glibcxx_cv_func__frexpf_use=yes
37375 else
37376 echo "$as_me: failed program was:" >&5
37377 sed 's/^/| /' conftest.$ac_ext >&5
37379 glibcxx_cv_func__frexpf_use=no
37381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37382 ac_ext=c
37383 ac_cpp='$CPP $CPPFLAGS'
37384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37392 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
37393 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
37395 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37397 for ac_func in _frexpf
37399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37400 echo "$as_me:$LINENO: checking for $ac_func" >&5
37401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37402 if eval "test \"\${$as_ac_var+set}\" = set"; then
37403 echo $ECHO_N "(cached) $ECHO_C" >&6
37404 else
37405 if test x$gcc_no_link = xyes; then
37406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37408 { (exit 1); exit 1; }; }
37410 cat >conftest.$ac_ext <<_ACEOF
37411 /* confdefs.h. */
37412 _ACEOF
37413 cat confdefs.h >>conftest.$ac_ext
37414 cat >>conftest.$ac_ext <<_ACEOF
37415 /* end confdefs.h. */
37416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37418 #define $ac_func innocuous_$ac_func
37420 /* System header to define __stub macros and hopefully few prototypes,
37421 which can conflict with char $ac_func (); below.
37422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37423 <limits.h> exists even on freestanding compilers. */
37425 #ifdef __STDC__
37426 # include <limits.h>
37427 #else
37428 # include <assert.h>
37429 #endif
37431 #undef $ac_func
37433 /* Override any gcc2 internal prototype to avoid an error. */
37434 #ifdef __cplusplus
37435 extern "C"
37437 #endif
37438 /* We use char because int might match the return type of a gcc2
37439 builtin and then its argument prototype would still apply. */
37440 char $ac_func ();
37441 /* The GNU C library defines this for functions which it implements
37442 to always fail with ENOSYS. Some functions are actually named
37443 something starting with __ and the normal name is an alias. */
37444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37445 choke me
37446 #else
37447 char (*f) () = $ac_func;
37448 #endif
37449 #ifdef __cplusplus
37451 #endif
37454 main ()
37456 return f != $ac_func;
37458 return 0;
37460 _ACEOF
37461 rm -f conftest.$ac_objext conftest$ac_exeext
37462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37463 (eval $ac_link) 2>conftest.er1
37464 ac_status=$?
37465 grep -v '^ *+' conftest.er1 >conftest.err
37466 rm -f conftest.er1
37467 cat conftest.err >&5
37468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37469 (exit $ac_status); } &&
37470 { ac_try='test -z "$ac_c_werror_flag"
37471 || test ! -s conftest.err'
37472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37473 (eval $ac_try) 2>&5
37474 ac_status=$?
37475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37476 (exit $ac_status); }; } &&
37477 { ac_try='test -s conftest$ac_exeext'
37478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37479 (eval $ac_try) 2>&5
37480 ac_status=$?
37481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37482 (exit $ac_status); }; }; then
37483 eval "$as_ac_var=yes"
37484 else
37485 echo "$as_me: failed program was:" >&5
37486 sed 's/^/| /' conftest.$ac_ext >&5
37488 eval "$as_ac_var=no"
37490 rm -f conftest.err conftest.$ac_objext \
37491 conftest$ac_exeext conftest.$ac_ext
37493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37495 if test `eval echo '${'$as_ac_var'}'` = yes; then
37496 cat >>confdefs.h <<_ACEOF
37497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37498 _ACEOF
37501 done
37511 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
37512 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
37513 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37514 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
37515 echo $ECHO_N "(cached) $ECHO_C" >&6
37516 else
37520 ac_ext=cc
37521 ac_cpp='$CXXCPP $CPPFLAGS'
37522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37526 cat >conftest.$ac_ext <<_ACEOF
37527 /* confdefs.h. */
37528 _ACEOF
37529 cat confdefs.h >>conftest.$ac_ext
37530 cat >>conftest.$ac_ext <<_ACEOF
37531 /* end confdefs.h. */
37532 #include <math.h>
37534 main ()
37536 hypotf(0, 0);
37538 return 0;
37540 _ACEOF
37541 rm -f conftest.$ac_objext
37542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37543 (eval $ac_compile) 2>conftest.er1
37544 ac_status=$?
37545 grep -v '^ *+' conftest.er1 >conftest.err
37546 rm -f conftest.er1
37547 cat conftest.err >&5
37548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37549 (exit $ac_status); } &&
37550 { ac_try='test -z "$ac_cxx_werror_flag"
37551 || test ! -s conftest.err'
37552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37553 (eval $ac_try) 2>&5
37554 ac_status=$?
37555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37556 (exit $ac_status); }; } &&
37557 { ac_try='test -s conftest.$ac_objext'
37558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37559 (eval $ac_try) 2>&5
37560 ac_status=$?
37561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37562 (exit $ac_status); }; }; then
37563 glibcxx_cv_func_hypotf_use=yes
37564 else
37565 echo "$as_me: failed program was:" >&5
37566 sed 's/^/| /' conftest.$ac_ext >&5
37568 glibcxx_cv_func_hypotf_use=no
37570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37571 ac_ext=c
37572 ac_cpp='$CPP $CPPFLAGS'
37573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37581 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
37582 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
37584 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37586 for ac_func in hypotf
37588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37589 echo "$as_me:$LINENO: checking for $ac_func" >&5
37590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37591 if eval "test \"\${$as_ac_var+set}\" = set"; then
37592 echo $ECHO_N "(cached) $ECHO_C" >&6
37593 else
37594 if test x$gcc_no_link = xyes; then
37595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37597 { (exit 1); exit 1; }; }
37599 cat >conftest.$ac_ext <<_ACEOF
37600 /* confdefs.h. */
37601 _ACEOF
37602 cat confdefs.h >>conftest.$ac_ext
37603 cat >>conftest.$ac_ext <<_ACEOF
37604 /* end confdefs.h. */
37605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37607 #define $ac_func innocuous_$ac_func
37609 /* System header to define __stub macros and hopefully few prototypes,
37610 which can conflict with char $ac_func (); below.
37611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37612 <limits.h> exists even on freestanding compilers. */
37614 #ifdef __STDC__
37615 # include <limits.h>
37616 #else
37617 # include <assert.h>
37618 #endif
37620 #undef $ac_func
37622 /* Override any gcc2 internal prototype to avoid an error. */
37623 #ifdef __cplusplus
37624 extern "C"
37626 #endif
37627 /* We use char because int might match the return type of a gcc2
37628 builtin and then its argument prototype would still apply. */
37629 char $ac_func ();
37630 /* The GNU C library defines this for functions which it implements
37631 to always fail with ENOSYS. Some functions are actually named
37632 something starting with __ and the normal name is an alias. */
37633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37634 choke me
37635 #else
37636 char (*f) () = $ac_func;
37637 #endif
37638 #ifdef __cplusplus
37640 #endif
37643 main ()
37645 return f != $ac_func;
37647 return 0;
37649 _ACEOF
37650 rm -f conftest.$ac_objext conftest$ac_exeext
37651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37652 (eval $ac_link) 2>conftest.er1
37653 ac_status=$?
37654 grep -v '^ *+' conftest.er1 >conftest.err
37655 rm -f conftest.er1
37656 cat conftest.err >&5
37657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37658 (exit $ac_status); } &&
37659 { ac_try='test -z "$ac_c_werror_flag"
37660 || test ! -s conftest.err'
37661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37662 (eval $ac_try) 2>&5
37663 ac_status=$?
37664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37665 (exit $ac_status); }; } &&
37666 { ac_try='test -s conftest$ac_exeext'
37667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37668 (eval $ac_try) 2>&5
37669 ac_status=$?
37670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37671 (exit $ac_status); }; }; then
37672 eval "$as_ac_var=yes"
37673 else
37674 echo "$as_me: failed program was:" >&5
37675 sed 's/^/| /' conftest.$ac_ext >&5
37677 eval "$as_ac_var=no"
37679 rm -f conftest.err conftest.$ac_objext \
37680 conftest$ac_exeext conftest.$ac_ext
37682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37684 if test `eval echo '${'$as_ac_var'}'` = yes; then
37685 cat >>confdefs.h <<_ACEOF
37686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37687 _ACEOF
37690 done
37692 else
37694 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
37695 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
37696 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37697 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
37698 echo $ECHO_N "(cached) $ECHO_C" >&6
37699 else
37703 ac_ext=cc
37704 ac_cpp='$CXXCPP $CPPFLAGS'
37705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37709 cat >conftest.$ac_ext <<_ACEOF
37710 /* confdefs.h. */
37711 _ACEOF
37712 cat confdefs.h >>conftest.$ac_ext
37713 cat >>conftest.$ac_ext <<_ACEOF
37714 /* end confdefs.h. */
37715 #include <math.h>
37717 main ()
37719 _hypotf(0, 0);
37721 return 0;
37723 _ACEOF
37724 rm -f conftest.$ac_objext
37725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37726 (eval $ac_compile) 2>conftest.er1
37727 ac_status=$?
37728 grep -v '^ *+' conftest.er1 >conftest.err
37729 rm -f conftest.er1
37730 cat conftest.err >&5
37731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37732 (exit $ac_status); } &&
37733 { ac_try='test -z "$ac_cxx_werror_flag"
37734 || test ! -s conftest.err'
37735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37736 (eval $ac_try) 2>&5
37737 ac_status=$?
37738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37739 (exit $ac_status); }; } &&
37740 { ac_try='test -s conftest.$ac_objext'
37741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37742 (eval $ac_try) 2>&5
37743 ac_status=$?
37744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37745 (exit $ac_status); }; }; then
37746 glibcxx_cv_func__hypotf_use=yes
37747 else
37748 echo "$as_me: failed program was:" >&5
37749 sed 's/^/| /' conftest.$ac_ext >&5
37751 glibcxx_cv_func__hypotf_use=no
37753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37754 ac_ext=c
37755 ac_cpp='$CPP $CPPFLAGS'
37756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37764 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
37765 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
37767 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37769 for ac_func in _hypotf
37771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37772 echo "$as_me:$LINENO: checking for $ac_func" >&5
37773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37774 if eval "test \"\${$as_ac_var+set}\" = set"; then
37775 echo $ECHO_N "(cached) $ECHO_C" >&6
37776 else
37777 if test x$gcc_no_link = xyes; then
37778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37780 { (exit 1); exit 1; }; }
37782 cat >conftest.$ac_ext <<_ACEOF
37783 /* confdefs.h. */
37784 _ACEOF
37785 cat confdefs.h >>conftest.$ac_ext
37786 cat >>conftest.$ac_ext <<_ACEOF
37787 /* end confdefs.h. */
37788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37790 #define $ac_func innocuous_$ac_func
37792 /* System header to define __stub macros and hopefully few prototypes,
37793 which can conflict with char $ac_func (); below.
37794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37795 <limits.h> exists even on freestanding compilers. */
37797 #ifdef __STDC__
37798 # include <limits.h>
37799 #else
37800 # include <assert.h>
37801 #endif
37803 #undef $ac_func
37805 /* Override any gcc2 internal prototype to avoid an error. */
37806 #ifdef __cplusplus
37807 extern "C"
37809 #endif
37810 /* We use char because int might match the return type of a gcc2
37811 builtin and then its argument prototype would still apply. */
37812 char $ac_func ();
37813 /* The GNU C library defines this for functions which it implements
37814 to always fail with ENOSYS. Some functions are actually named
37815 something starting with __ and the normal name is an alias. */
37816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37817 choke me
37818 #else
37819 char (*f) () = $ac_func;
37820 #endif
37821 #ifdef __cplusplus
37823 #endif
37826 main ()
37828 return f != $ac_func;
37830 return 0;
37832 _ACEOF
37833 rm -f conftest.$ac_objext conftest$ac_exeext
37834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37835 (eval $ac_link) 2>conftest.er1
37836 ac_status=$?
37837 grep -v '^ *+' conftest.er1 >conftest.err
37838 rm -f conftest.er1
37839 cat conftest.err >&5
37840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37841 (exit $ac_status); } &&
37842 { ac_try='test -z "$ac_c_werror_flag"
37843 || test ! -s conftest.err'
37844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37845 (eval $ac_try) 2>&5
37846 ac_status=$?
37847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37848 (exit $ac_status); }; } &&
37849 { ac_try='test -s conftest$ac_exeext'
37850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37851 (eval $ac_try) 2>&5
37852 ac_status=$?
37853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37854 (exit $ac_status); }; }; then
37855 eval "$as_ac_var=yes"
37856 else
37857 echo "$as_me: failed program was:" >&5
37858 sed 's/^/| /' conftest.$ac_ext >&5
37860 eval "$as_ac_var=no"
37862 rm -f conftest.err conftest.$ac_objext \
37863 conftest$ac_exeext conftest.$ac_ext
37865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37867 if test `eval echo '${'$as_ac_var'}'` = yes; then
37868 cat >>confdefs.h <<_ACEOF
37869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37870 _ACEOF
37873 done
37883 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
37884 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
37885 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37886 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
37887 echo $ECHO_N "(cached) $ECHO_C" >&6
37888 else
37892 ac_ext=cc
37893 ac_cpp='$CXXCPP $CPPFLAGS'
37894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37898 cat >conftest.$ac_ext <<_ACEOF
37899 /* confdefs.h. */
37900 _ACEOF
37901 cat confdefs.h >>conftest.$ac_ext
37902 cat >>conftest.$ac_ext <<_ACEOF
37903 /* end confdefs.h. */
37904 #include <math.h>
37906 main ()
37908 ldexpf(0, 0);
37910 return 0;
37912 _ACEOF
37913 rm -f conftest.$ac_objext
37914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37915 (eval $ac_compile) 2>conftest.er1
37916 ac_status=$?
37917 grep -v '^ *+' conftest.er1 >conftest.err
37918 rm -f conftest.er1
37919 cat conftest.err >&5
37920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37921 (exit $ac_status); } &&
37922 { ac_try='test -z "$ac_cxx_werror_flag"
37923 || test ! -s conftest.err'
37924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37925 (eval $ac_try) 2>&5
37926 ac_status=$?
37927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37928 (exit $ac_status); }; } &&
37929 { ac_try='test -s conftest.$ac_objext'
37930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37931 (eval $ac_try) 2>&5
37932 ac_status=$?
37933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37934 (exit $ac_status); }; }; then
37935 glibcxx_cv_func_ldexpf_use=yes
37936 else
37937 echo "$as_me: failed program was:" >&5
37938 sed 's/^/| /' conftest.$ac_ext >&5
37940 glibcxx_cv_func_ldexpf_use=no
37942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37943 ac_ext=c
37944 ac_cpp='$CPP $CPPFLAGS'
37945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37953 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
37954 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
37956 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37958 for ac_func in ldexpf
37960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37961 echo "$as_me:$LINENO: checking for $ac_func" >&5
37962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37963 if eval "test \"\${$as_ac_var+set}\" = set"; then
37964 echo $ECHO_N "(cached) $ECHO_C" >&6
37965 else
37966 if test x$gcc_no_link = xyes; then
37967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37969 { (exit 1); exit 1; }; }
37971 cat >conftest.$ac_ext <<_ACEOF
37972 /* confdefs.h. */
37973 _ACEOF
37974 cat confdefs.h >>conftest.$ac_ext
37975 cat >>conftest.$ac_ext <<_ACEOF
37976 /* end confdefs.h. */
37977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37979 #define $ac_func innocuous_$ac_func
37981 /* System header to define __stub macros and hopefully few prototypes,
37982 which can conflict with char $ac_func (); below.
37983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37984 <limits.h> exists even on freestanding compilers. */
37986 #ifdef __STDC__
37987 # include <limits.h>
37988 #else
37989 # include <assert.h>
37990 #endif
37992 #undef $ac_func
37994 /* Override any gcc2 internal prototype to avoid an error. */
37995 #ifdef __cplusplus
37996 extern "C"
37998 #endif
37999 /* We use char because int might match the return type of a gcc2
38000 builtin and then its argument prototype would still apply. */
38001 char $ac_func ();
38002 /* The GNU C library defines this for functions which it implements
38003 to always fail with ENOSYS. Some functions are actually named
38004 something starting with __ and the normal name is an alias. */
38005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38006 choke me
38007 #else
38008 char (*f) () = $ac_func;
38009 #endif
38010 #ifdef __cplusplus
38012 #endif
38015 main ()
38017 return f != $ac_func;
38019 return 0;
38021 _ACEOF
38022 rm -f conftest.$ac_objext conftest$ac_exeext
38023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38024 (eval $ac_link) 2>conftest.er1
38025 ac_status=$?
38026 grep -v '^ *+' conftest.er1 >conftest.err
38027 rm -f conftest.er1
38028 cat conftest.err >&5
38029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38030 (exit $ac_status); } &&
38031 { ac_try='test -z "$ac_c_werror_flag"
38032 || test ! -s conftest.err'
38033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38034 (eval $ac_try) 2>&5
38035 ac_status=$?
38036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38037 (exit $ac_status); }; } &&
38038 { ac_try='test -s conftest$ac_exeext'
38039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38040 (eval $ac_try) 2>&5
38041 ac_status=$?
38042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38043 (exit $ac_status); }; }; then
38044 eval "$as_ac_var=yes"
38045 else
38046 echo "$as_me: failed program was:" >&5
38047 sed 's/^/| /' conftest.$ac_ext >&5
38049 eval "$as_ac_var=no"
38051 rm -f conftest.err conftest.$ac_objext \
38052 conftest$ac_exeext conftest.$ac_ext
38054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38056 if test `eval echo '${'$as_ac_var'}'` = yes; then
38057 cat >>confdefs.h <<_ACEOF
38058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38059 _ACEOF
38062 done
38064 else
38066 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
38067 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
38068 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
38069 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
38070 echo $ECHO_N "(cached) $ECHO_C" >&6
38071 else
38075 ac_ext=cc
38076 ac_cpp='$CXXCPP $CPPFLAGS'
38077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38081 cat >conftest.$ac_ext <<_ACEOF
38082 /* confdefs.h. */
38083 _ACEOF
38084 cat confdefs.h >>conftest.$ac_ext
38085 cat >>conftest.$ac_ext <<_ACEOF
38086 /* end confdefs.h. */
38087 #include <math.h>
38089 main ()
38091 _ldexpf(0, 0);
38093 return 0;
38095 _ACEOF
38096 rm -f conftest.$ac_objext
38097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38098 (eval $ac_compile) 2>conftest.er1
38099 ac_status=$?
38100 grep -v '^ *+' conftest.er1 >conftest.err
38101 rm -f conftest.er1
38102 cat conftest.err >&5
38103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38104 (exit $ac_status); } &&
38105 { ac_try='test -z "$ac_cxx_werror_flag"
38106 || test ! -s conftest.err'
38107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38108 (eval $ac_try) 2>&5
38109 ac_status=$?
38110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38111 (exit $ac_status); }; } &&
38112 { ac_try='test -s conftest.$ac_objext'
38113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38114 (eval $ac_try) 2>&5
38115 ac_status=$?
38116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38117 (exit $ac_status); }; }; then
38118 glibcxx_cv_func__ldexpf_use=yes
38119 else
38120 echo "$as_me: failed program was:" >&5
38121 sed 's/^/| /' conftest.$ac_ext >&5
38123 glibcxx_cv_func__ldexpf_use=no
38125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38126 ac_ext=c
38127 ac_cpp='$CPP $CPPFLAGS'
38128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38136 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
38137 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
38139 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
38141 for ac_func in _ldexpf
38143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38144 echo "$as_me:$LINENO: checking for $ac_func" >&5
38145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38146 if eval "test \"\${$as_ac_var+set}\" = set"; then
38147 echo $ECHO_N "(cached) $ECHO_C" >&6
38148 else
38149 if test x$gcc_no_link = xyes; then
38150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38152 { (exit 1); exit 1; }; }
38154 cat >conftest.$ac_ext <<_ACEOF
38155 /* confdefs.h. */
38156 _ACEOF
38157 cat confdefs.h >>conftest.$ac_ext
38158 cat >>conftest.$ac_ext <<_ACEOF
38159 /* end confdefs.h. */
38160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38162 #define $ac_func innocuous_$ac_func
38164 /* System header to define __stub macros and hopefully few prototypes,
38165 which can conflict with char $ac_func (); below.
38166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38167 <limits.h> exists even on freestanding compilers. */
38169 #ifdef __STDC__
38170 # include <limits.h>
38171 #else
38172 # include <assert.h>
38173 #endif
38175 #undef $ac_func
38177 /* Override any gcc2 internal prototype to avoid an error. */
38178 #ifdef __cplusplus
38179 extern "C"
38181 #endif
38182 /* We use char because int might match the return type of a gcc2
38183 builtin and then its argument prototype would still apply. */
38184 char $ac_func ();
38185 /* The GNU C library defines this for functions which it implements
38186 to always fail with ENOSYS. Some functions are actually named
38187 something starting with __ and the normal name is an alias. */
38188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38189 choke me
38190 #else
38191 char (*f) () = $ac_func;
38192 #endif
38193 #ifdef __cplusplus
38195 #endif
38198 main ()
38200 return f != $ac_func;
38202 return 0;
38204 _ACEOF
38205 rm -f conftest.$ac_objext conftest$ac_exeext
38206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38207 (eval $ac_link) 2>conftest.er1
38208 ac_status=$?
38209 grep -v '^ *+' conftest.er1 >conftest.err
38210 rm -f conftest.er1
38211 cat conftest.err >&5
38212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38213 (exit $ac_status); } &&
38214 { ac_try='test -z "$ac_c_werror_flag"
38215 || test ! -s conftest.err'
38216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38217 (eval $ac_try) 2>&5
38218 ac_status=$?
38219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38220 (exit $ac_status); }; } &&
38221 { ac_try='test -s conftest$ac_exeext'
38222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38223 (eval $ac_try) 2>&5
38224 ac_status=$?
38225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38226 (exit $ac_status); }; }; then
38227 eval "$as_ac_var=yes"
38228 else
38229 echo "$as_me: failed program was:" >&5
38230 sed 's/^/| /' conftest.$ac_ext >&5
38232 eval "$as_ac_var=no"
38234 rm -f conftest.err conftest.$ac_objext \
38235 conftest$ac_exeext conftest.$ac_ext
38237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38239 if test `eval echo '${'$as_ac_var'}'` = yes; then
38240 cat >>confdefs.h <<_ACEOF
38241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38242 _ACEOF
38245 done
38255 echo "$as_me:$LINENO: checking for logf declaration" >&5
38256 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
38257 if test x${glibcxx_cv_func_logf_use+set} != xset; then
38258 if test "${glibcxx_cv_func_logf_use+set}" = set; then
38259 echo $ECHO_N "(cached) $ECHO_C" >&6
38260 else
38264 ac_ext=cc
38265 ac_cpp='$CXXCPP $CPPFLAGS'
38266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38270 cat >conftest.$ac_ext <<_ACEOF
38271 /* confdefs.h. */
38272 _ACEOF
38273 cat confdefs.h >>conftest.$ac_ext
38274 cat >>conftest.$ac_ext <<_ACEOF
38275 /* end confdefs.h. */
38276 #include <math.h>
38277 #ifdef HAVE_IEEEFP_H
38278 #include <ieeefp.h>
38279 #endif
38282 main ()
38284 logf(0);
38286 return 0;
38288 _ACEOF
38289 rm -f conftest.$ac_objext
38290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38291 (eval $ac_compile) 2>conftest.er1
38292 ac_status=$?
38293 grep -v '^ *+' conftest.er1 >conftest.err
38294 rm -f conftest.er1
38295 cat conftest.err >&5
38296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38297 (exit $ac_status); } &&
38298 { ac_try='test -z "$ac_cxx_werror_flag"
38299 || test ! -s conftest.err'
38300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38301 (eval $ac_try) 2>&5
38302 ac_status=$?
38303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38304 (exit $ac_status); }; } &&
38305 { ac_try='test -s conftest.$ac_objext'
38306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38307 (eval $ac_try) 2>&5
38308 ac_status=$?
38309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38310 (exit $ac_status); }; }; then
38311 glibcxx_cv_func_logf_use=yes
38312 else
38313 echo "$as_me: failed program was:" >&5
38314 sed 's/^/| /' conftest.$ac_ext >&5
38316 glibcxx_cv_func_logf_use=no
38318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38319 ac_ext=c
38320 ac_cpp='$CPP $CPPFLAGS'
38321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38329 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
38330 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
38332 if test x$glibcxx_cv_func_logf_use = x"yes"; then
38334 for ac_func in logf
38336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38337 echo "$as_me:$LINENO: checking for $ac_func" >&5
38338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38339 if eval "test \"\${$as_ac_var+set}\" = set"; then
38340 echo $ECHO_N "(cached) $ECHO_C" >&6
38341 else
38342 if test x$gcc_no_link = xyes; then
38343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38345 { (exit 1); exit 1; }; }
38347 cat >conftest.$ac_ext <<_ACEOF
38348 /* confdefs.h. */
38349 _ACEOF
38350 cat confdefs.h >>conftest.$ac_ext
38351 cat >>conftest.$ac_ext <<_ACEOF
38352 /* end confdefs.h. */
38353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38355 #define $ac_func innocuous_$ac_func
38357 /* System header to define __stub macros and hopefully few prototypes,
38358 which can conflict with char $ac_func (); below.
38359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38360 <limits.h> exists even on freestanding compilers. */
38362 #ifdef __STDC__
38363 # include <limits.h>
38364 #else
38365 # include <assert.h>
38366 #endif
38368 #undef $ac_func
38370 /* Override any gcc2 internal prototype to avoid an error. */
38371 #ifdef __cplusplus
38372 extern "C"
38374 #endif
38375 /* We use char because int might match the return type of a gcc2
38376 builtin and then its argument prototype would still apply. */
38377 char $ac_func ();
38378 /* The GNU C library defines this for functions which it implements
38379 to always fail with ENOSYS. Some functions are actually named
38380 something starting with __ and the normal name is an alias. */
38381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38382 choke me
38383 #else
38384 char (*f) () = $ac_func;
38385 #endif
38386 #ifdef __cplusplus
38388 #endif
38391 main ()
38393 return f != $ac_func;
38395 return 0;
38397 _ACEOF
38398 rm -f conftest.$ac_objext conftest$ac_exeext
38399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38400 (eval $ac_link) 2>conftest.er1
38401 ac_status=$?
38402 grep -v '^ *+' conftest.er1 >conftest.err
38403 rm -f conftest.er1
38404 cat conftest.err >&5
38405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38406 (exit $ac_status); } &&
38407 { ac_try='test -z "$ac_c_werror_flag"
38408 || test ! -s conftest.err'
38409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38410 (eval $ac_try) 2>&5
38411 ac_status=$?
38412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38413 (exit $ac_status); }; } &&
38414 { ac_try='test -s conftest$ac_exeext'
38415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38416 (eval $ac_try) 2>&5
38417 ac_status=$?
38418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38419 (exit $ac_status); }; }; then
38420 eval "$as_ac_var=yes"
38421 else
38422 echo "$as_me: failed program was:" >&5
38423 sed 's/^/| /' conftest.$ac_ext >&5
38425 eval "$as_ac_var=no"
38427 rm -f conftest.err conftest.$ac_objext \
38428 conftest$ac_exeext conftest.$ac_ext
38430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38432 if test `eval echo '${'$as_ac_var'}'` = yes; then
38433 cat >>confdefs.h <<_ACEOF
38434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38435 _ACEOF
38438 done
38440 else
38442 echo "$as_me:$LINENO: checking for _logf declaration" >&5
38443 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
38444 if test x${glibcxx_cv_func__logf_use+set} != xset; then
38445 if test "${glibcxx_cv_func__logf_use+set}" = set; then
38446 echo $ECHO_N "(cached) $ECHO_C" >&6
38447 else
38451 ac_ext=cc
38452 ac_cpp='$CXXCPP $CPPFLAGS'
38453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38457 cat >conftest.$ac_ext <<_ACEOF
38458 /* confdefs.h. */
38459 _ACEOF
38460 cat confdefs.h >>conftest.$ac_ext
38461 cat >>conftest.$ac_ext <<_ACEOF
38462 /* end confdefs.h. */
38463 #include <math.h>
38464 #ifdef HAVE_IEEEFP_H
38465 #include <ieeefp.h>
38466 #endif
38469 main ()
38471 _logf(0);
38473 return 0;
38475 _ACEOF
38476 rm -f conftest.$ac_objext
38477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38478 (eval $ac_compile) 2>conftest.er1
38479 ac_status=$?
38480 grep -v '^ *+' conftest.er1 >conftest.err
38481 rm -f conftest.er1
38482 cat conftest.err >&5
38483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38484 (exit $ac_status); } &&
38485 { ac_try='test -z "$ac_cxx_werror_flag"
38486 || test ! -s conftest.err'
38487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38488 (eval $ac_try) 2>&5
38489 ac_status=$?
38490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38491 (exit $ac_status); }; } &&
38492 { ac_try='test -s conftest.$ac_objext'
38493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38494 (eval $ac_try) 2>&5
38495 ac_status=$?
38496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38497 (exit $ac_status); }; }; then
38498 glibcxx_cv_func__logf_use=yes
38499 else
38500 echo "$as_me: failed program was:" >&5
38501 sed 's/^/| /' conftest.$ac_ext >&5
38503 glibcxx_cv_func__logf_use=no
38505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38506 ac_ext=c
38507 ac_cpp='$CPP $CPPFLAGS'
38508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38516 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
38517 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
38519 if test x$glibcxx_cv_func__logf_use = x"yes"; then
38521 for ac_func in _logf
38523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38524 echo "$as_me:$LINENO: checking for $ac_func" >&5
38525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38526 if eval "test \"\${$as_ac_var+set}\" = set"; then
38527 echo $ECHO_N "(cached) $ECHO_C" >&6
38528 else
38529 if test x$gcc_no_link = xyes; then
38530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38532 { (exit 1); exit 1; }; }
38534 cat >conftest.$ac_ext <<_ACEOF
38535 /* confdefs.h. */
38536 _ACEOF
38537 cat confdefs.h >>conftest.$ac_ext
38538 cat >>conftest.$ac_ext <<_ACEOF
38539 /* end confdefs.h. */
38540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38542 #define $ac_func innocuous_$ac_func
38544 /* System header to define __stub macros and hopefully few prototypes,
38545 which can conflict with char $ac_func (); below.
38546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38547 <limits.h> exists even on freestanding compilers. */
38549 #ifdef __STDC__
38550 # include <limits.h>
38551 #else
38552 # include <assert.h>
38553 #endif
38555 #undef $ac_func
38557 /* Override any gcc2 internal prototype to avoid an error. */
38558 #ifdef __cplusplus
38559 extern "C"
38561 #endif
38562 /* We use char because int might match the return type of a gcc2
38563 builtin and then its argument prototype would still apply. */
38564 char $ac_func ();
38565 /* The GNU C library defines this for functions which it implements
38566 to always fail with ENOSYS. Some functions are actually named
38567 something starting with __ and the normal name is an alias. */
38568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38569 choke me
38570 #else
38571 char (*f) () = $ac_func;
38572 #endif
38573 #ifdef __cplusplus
38575 #endif
38578 main ()
38580 return f != $ac_func;
38582 return 0;
38584 _ACEOF
38585 rm -f conftest.$ac_objext conftest$ac_exeext
38586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38587 (eval $ac_link) 2>conftest.er1
38588 ac_status=$?
38589 grep -v '^ *+' conftest.er1 >conftest.err
38590 rm -f conftest.er1
38591 cat conftest.err >&5
38592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38593 (exit $ac_status); } &&
38594 { ac_try='test -z "$ac_c_werror_flag"
38595 || test ! -s conftest.err'
38596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38597 (eval $ac_try) 2>&5
38598 ac_status=$?
38599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38600 (exit $ac_status); }; } &&
38601 { ac_try='test -s conftest$ac_exeext'
38602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38603 (eval $ac_try) 2>&5
38604 ac_status=$?
38605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38606 (exit $ac_status); }; }; then
38607 eval "$as_ac_var=yes"
38608 else
38609 echo "$as_me: failed program was:" >&5
38610 sed 's/^/| /' conftest.$ac_ext >&5
38612 eval "$as_ac_var=no"
38614 rm -f conftest.err conftest.$ac_objext \
38615 conftest$ac_exeext conftest.$ac_ext
38617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38619 if test `eval echo '${'$as_ac_var'}'` = yes; then
38620 cat >>confdefs.h <<_ACEOF
38621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38622 _ACEOF
38625 done
38635 echo "$as_me:$LINENO: checking for log10f declaration" >&5
38636 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
38637 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
38638 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
38639 echo $ECHO_N "(cached) $ECHO_C" >&6
38640 else
38644 ac_ext=cc
38645 ac_cpp='$CXXCPP $CPPFLAGS'
38646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38650 cat >conftest.$ac_ext <<_ACEOF
38651 /* confdefs.h. */
38652 _ACEOF
38653 cat confdefs.h >>conftest.$ac_ext
38654 cat >>conftest.$ac_ext <<_ACEOF
38655 /* end confdefs.h. */
38656 #include <math.h>
38657 #ifdef HAVE_IEEEFP_H
38658 #include <ieeefp.h>
38659 #endif
38662 main ()
38664 log10f(0);
38666 return 0;
38668 _ACEOF
38669 rm -f conftest.$ac_objext
38670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38671 (eval $ac_compile) 2>conftest.er1
38672 ac_status=$?
38673 grep -v '^ *+' conftest.er1 >conftest.err
38674 rm -f conftest.er1
38675 cat conftest.err >&5
38676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38677 (exit $ac_status); } &&
38678 { ac_try='test -z "$ac_cxx_werror_flag"
38679 || test ! -s conftest.err'
38680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38681 (eval $ac_try) 2>&5
38682 ac_status=$?
38683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38684 (exit $ac_status); }; } &&
38685 { ac_try='test -s conftest.$ac_objext'
38686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38687 (eval $ac_try) 2>&5
38688 ac_status=$?
38689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38690 (exit $ac_status); }; }; then
38691 glibcxx_cv_func_log10f_use=yes
38692 else
38693 echo "$as_me: failed program was:" >&5
38694 sed 's/^/| /' conftest.$ac_ext >&5
38696 glibcxx_cv_func_log10f_use=no
38698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38699 ac_ext=c
38700 ac_cpp='$CPP $CPPFLAGS'
38701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38709 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
38710 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
38712 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38714 for ac_func in log10f
38716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38717 echo "$as_me:$LINENO: checking for $ac_func" >&5
38718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38719 if eval "test \"\${$as_ac_var+set}\" = set"; then
38720 echo $ECHO_N "(cached) $ECHO_C" >&6
38721 else
38722 if test x$gcc_no_link = xyes; then
38723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38725 { (exit 1); exit 1; }; }
38727 cat >conftest.$ac_ext <<_ACEOF
38728 /* confdefs.h. */
38729 _ACEOF
38730 cat confdefs.h >>conftest.$ac_ext
38731 cat >>conftest.$ac_ext <<_ACEOF
38732 /* end confdefs.h. */
38733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38735 #define $ac_func innocuous_$ac_func
38737 /* System header to define __stub macros and hopefully few prototypes,
38738 which can conflict with char $ac_func (); below.
38739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38740 <limits.h> exists even on freestanding compilers. */
38742 #ifdef __STDC__
38743 # include <limits.h>
38744 #else
38745 # include <assert.h>
38746 #endif
38748 #undef $ac_func
38750 /* Override any gcc2 internal prototype to avoid an error. */
38751 #ifdef __cplusplus
38752 extern "C"
38754 #endif
38755 /* We use char because int might match the return type of a gcc2
38756 builtin and then its argument prototype would still apply. */
38757 char $ac_func ();
38758 /* The GNU C library defines this for functions which it implements
38759 to always fail with ENOSYS. Some functions are actually named
38760 something starting with __ and the normal name is an alias. */
38761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38762 choke me
38763 #else
38764 char (*f) () = $ac_func;
38765 #endif
38766 #ifdef __cplusplus
38768 #endif
38771 main ()
38773 return f != $ac_func;
38775 return 0;
38777 _ACEOF
38778 rm -f conftest.$ac_objext conftest$ac_exeext
38779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38780 (eval $ac_link) 2>conftest.er1
38781 ac_status=$?
38782 grep -v '^ *+' conftest.er1 >conftest.err
38783 rm -f conftest.er1
38784 cat conftest.err >&5
38785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38786 (exit $ac_status); } &&
38787 { ac_try='test -z "$ac_c_werror_flag"
38788 || test ! -s conftest.err'
38789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38790 (eval $ac_try) 2>&5
38791 ac_status=$?
38792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38793 (exit $ac_status); }; } &&
38794 { ac_try='test -s conftest$ac_exeext'
38795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38796 (eval $ac_try) 2>&5
38797 ac_status=$?
38798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38799 (exit $ac_status); }; }; then
38800 eval "$as_ac_var=yes"
38801 else
38802 echo "$as_me: failed program was:" >&5
38803 sed 's/^/| /' conftest.$ac_ext >&5
38805 eval "$as_ac_var=no"
38807 rm -f conftest.err conftest.$ac_objext \
38808 conftest$ac_exeext conftest.$ac_ext
38810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38812 if test `eval echo '${'$as_ac_var'}'` = yes; then
38813 cat >>confdefs.h <<_ACEOF
38814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38815 _ACEOF
38818 done
38820 else
38822 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
38823 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
38824 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38825 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
38826 echo $ECHO_N "(cached) $ECHO_C" >&6
38827 else
38831 ac_ext=cc
38832 ac_cpp='$CXXCPP $CPPFLAGS'
38833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38837 cat >conftest.$ac_ext <<_ACEOF
38838 /* confdefs.h. */
38839 _ACEOF
38840 cat confdefs.h >>conftest.$ac_ext
38841 cat >>conftest.$ac_ext <<_ACEOF
38842 /* end confdefs.h. */
38843 #include <math.h>
38844 #ifdef HAVE_IEEEFP_H
38845 #include <ieeefp.h>
38846 #endif
38849 main ()
38851 _log10f(0);
38853 return 0;
38855 _ACEOF
38856 rm -f conftest.$ac_objext
38857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38858 (eval $ac_compile) 2>conftest.er1
38859 ac_status=$?
38860 grep -v '^ *+' conftest.er1 >conftest.err
38861 rm -f conftest.er1
38862 cat conftest.err >&5
38863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38864 (exit $ac_status); } &&
38865 { ac_try='test -z "$ac_cxx_werror_flag"
38866 || test ! -s conftest.err'
38867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38868 (eval $ac_try) 2>&5
38869 ac_status=$?
38870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38871 (exit $ac_status); }; } &&
38872 { ac_try='test -s conftest.$ac_objext'
38873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38874 (eval $ac_try) 2>&5
38875 ac_status=$?
38876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38877 (exit $ac_status); }; }; then
38878 glibcxx_cv_func__log10f_use=yes
38879 else
38880 echo "$as_me: failed program was:" >&5
38881 sed 's/^/| /' conftest.$ac_ext >&5
38883 glibcxx_cv_func__log10f_use=no
38885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38886 ac_ext=c
38887 ac_cpp='$CPP $CPPFLAGS'
38888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38896 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
38897 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
38899 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38901 for ac_func in _log10f
38903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38904 echo "$as_me:$LINENO: checking for $ac_func" >&5
38905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38906 if eval "test \"\${$as_ac_var+set}\" = set"; then
38907 echo $ECHO_N "(cached) $ECHO_C" >&6
38908 else
38909 if test x$gcc_no_link = xyes; then
38910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38912 { (exit 1); exit 1; }; }
38914 cat >conftest.$ac_ext <<_ACEOF
38915 /* confdefs.h. */
38916 _ACEOF
38917 cat confdefs.h >>conftest.$ac_ext
38918 cat >>conftest.$ac_ext <<_ACEOF
38919 /* end confdefs.h. */
38920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38922 #define $ac_func innocuous_$ac_func
38924 /* System header to define __stub macros and hopefully few prototypes,
38925 which can conflict with char $ac_func (); below.
38926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38927 <limits.h> exists even on freestanding compilers. */
38929 #ifdef __STDC__
38930 # include <limits.h>
38931 #else
38932 # include <assert.h>
38933 #endif
38935 #undef $ac_func
38937 /* Override any gcc2 internal prototype to avoid an error. */
38938 #ifdef __cplusplus
38939 extern "C"
38941 #endif
38942 /* We use char because int might match the return type of a gcc2
38943 builtin and then its argument prototype would still apply. */
38944 char $ac_func ();
38945 /* The GNU C library defines this for functions which it implements
38946 to always fail with ENOSYS. Some functions are actually named
38947 something starting with __ and the normal name is an alias. */
38948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38949 choke me
38950 #else
38951 char (*f) () = $ac_func;
38952 #endif
38953 #ifdef __cplusplus
38955 #endif
38958 main ()
38960 return f != $ac_func;
38962 return 0;
38964 _ACEOF
38965 rm -f conftest.$ac_objext conftest$ac_exeext
38966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38967 (eval $ac_link) 2>conftest.er1
38968 ac_status=$?
38969 grep -v '^ *+' conftest.er1 >conftest.err
38970 rm -f conftest.er1
38971 cat conftest.err >&5
38972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38973 (exit $ac_status); } &&
38974 { ac_try='test -z "$ac_c_werror_flag"
38975 || test ! -s conftest.err'
38976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38977 (eval $ac_try) 2>&5
38978 ac_status=$?
38979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38980 (exit $ac_status); }; } &&
38981 { ac_try='test -s conftest$ac_exeext'
38982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38983 (eval $ac_try) 2>&5
38984 ac_status=$?
38985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38986 (exit $ac_status); }; }; then
38987 eval "$as_ac_var=yes"
38988 else
38989 echo "$as_me: failed program was:" >&5
38990 sed 's/^/| /' conftest.$ac_ext >&5
38992 eval "$as_ac_var=no"
38994 rm -f conftest.err conftest.$ac_objext \
38995 conftest$ac_exeext conftest.$ac_ext
38997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38999 if test `eval echo '${'$as_ac_var'}'` = yes; then
39000 cat >>confdefs.h <<_ACEOF
39001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39002 _ACEOF
39005 done
39015 echo "$as_me:$LINENO: checking for modff declaration" >&5
39016 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
39017 if test x${glibcxx_cv_func_modff_use+set} != xset; then
39018 if test "${glibcxx_cv_func_modff_use+set}" = set; then
39019 echo $ECHO_N "(cached) $ECHO_C" >&6
39020 else
39024 ac_ext=cc
39025 ac_cpp='$CXXCPP $CPPFLAGS'
39026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39030 cat >conftest.$ac_ext <<_ACEOF
39031 /* confdefs.h. */
39032 _ACEOF
39033 cat confdefs.h >>conftest.$ac_ext
39034 cat >>conftest.$ac_ext <<_ACEOF
39035 /* end confdefs.h. */
39036 #include <math.h>
39038 main ()
39040 modff(0, 0);
39042 return 0;
39044 _ACEOF
39045 rm -f conftest.$ac_objext
39046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39047 (eval $ac_compile) 2>conftest.er1
39048 ac_status=$?
39049 grep -v '^ *+' conftest.er1 >conftest.err
39050 rm -f conftest.er1
39051 cat conftest.err >&5
39052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39053 (exit $ac_status); } &&
39054 { ac_try='test -z "$ac_cxx_werror_flag"
39055 || test ! -s conftest.err'
39056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39057 (eval $ac_try) 2>&5
39058 ac_status=$?
39059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39060 (exit $ac_status); }; } &&
39061 { ac_try='test -s conftest.$ac_objext'
39062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39063 (eval $ac_try) 2>&5
39064 ac_status=$?
39065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39066 (exit $ac_status); }; }; then
39067 glibcxx_cv_func_modff_use=yes
39068 else
39069 echo "$as_me: failed program was:" >&5
39070 sed 's/^/| /' conftest.$ac_ext >&5
39072 glibcxx_cv_func_modff_use=no
39074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39075 ac_ext=c
39076 ac_cpp='$CPP $CPPFLAGS'
39077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39085 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
39086 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
39088 if test x$glibcxx_cv_func_modff_use = x"yes"; then
39090 for ac_func in modff
39092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39093 echo "$as_me:$LINENO: checking for $ac_func" >&5
39094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39095 if eval "test \"\${$as_ac_var+set}\" = set"; then
39096 echo $ECHO_N "(cached) $ECHO_C" >&6
39097 else
39098 if test x$gcc_no_link = xyes; then
39099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39101 { (exit 1); exit 1; }; }
39103 cat >conftest.$ac_ext <<_ACEOF
39104 /* confdefs.h. */
39105 _ACEOF
39106 cat confdefs.h >>conftest.$ac_ext
39107 cat >>conftest.$ac_ext <<_ACEOF
39108 /* end confdefs.h. */
39109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39111 #define $ac_func innocuous_$ac_func
39113 /* System header to define __stub macros and hopefully few prototypes,
39114 which can conflict with char $ac_func (); below.
39115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39116 <limits.h> exists even on freestanding compilers. */
39118 #ifdef __STDC__
39119 # include <limits.h>
39120 #else
39121 # include <assert.h>
39122 #endif
39124 #undef $ac_func
39126 /* Override any gcc2 internal prototype to avoid an error. */
39127 #ifdef __cplusplus
39128 extern "C"
39130 #endif
39131 /* We use char because int might match the return type of a gcc2
39132 builtin and then its argument prototype would still apply. */
39133 char $ac_func ();
39134 /* The GNU C library defines this for functions which it implements
39135 to always fail with ENOSYS. Some functions are actually named
39136 something starting with __ and the normal name is an alias. */
39137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39138 choke me
39139 #else
39140 char (*f) () = $ac_func;
39141 #endif
39142 #ifdef __cplusplus
39144 #endif
39147 main ()
39149 return f != $ac_func;
39151 return 0;
39153 _ACEOF
39154 rm -f conftest.$ac_objext conftest$ac_exeext
39155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39156 (eval $ac_link) 2>conftest.er1
39157 ac_status=$?
39158 grep -v '^ *+' conftest.er1 >conftest.err
39159 rm -f conftest.er1
39160 cat conftest.err >&5
39161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39162 (exit $ac_status); } &&
39163 { ac_try='test -z "$ac_c_werror_flag"
39164 || test ! -s conftest.err'
39165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39166 (eval $ac_try) 2>&5
39167 ac_status=$?
39168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39169 (exit $ac_status); }; } &&
39170 { ac_try='test -s conftest$ac_exeext'
39171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39172 (eval $ac_try) 2>&5
39173 ac_status=$?
39174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39175 (exit $ac_status); }; }; then
39176 eval "$as_ac_var=yes"
39177 else
39178 echo "$as_me: failed program was:" >&5
39179 sed 's/^/| /' conftest.$ac_ext >&5
39181 eval "$as_ac_var=no"
39183 rm -f conftest.err conftest.$ac_objext \
39184 conftest$ac_exeext conftest.$ac_ext
39186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39188 if test `eval echo '${'$as_ac_var'}'` = yes; then
39189 cat >>confdefs.h <<_ACEOF
39190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39191 _ACEOF
39194 done
39196 else
39198 echo "$as_me:$LINENO: checking for _modff declaration" >&5
39199 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
39200 if test x${glibcxx_cv_func__modff_use+set} != xset; then
39201 if test "${glibcxx_cv_func__modff_use+set}" = set; then
39202 echo $ECHO_N "(cached) $ECHO_C" >&6
39203 else
39207 ac_ext=cc
39208 ac_cpp='$CXXCPP $CPPFLAGS'
39209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39213 cat >conftest.$ac_ext <<_ACEOF
39214 /* confdefs.h. */
39215 _ACEOF
39216 cat confdefs.h >>conftest.$ac_ext
39217 cat >>conftest.$ac_ext <<_ACEOF
39218 /* end confdefs.h. */
39219 #include <math.h>
39221 main ()
39223 _modff(0, 0);
39225 return 0;
39227 _ACEOF
39228 rm -f conftest.$ac_objext
39229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39230 (eval $ac_compile) 2>conftest.er1
39231 ac_status=$?
39232 grep -v '^ *+' conftest.er1 >conftest.err
39233 rm -f conftest.er1
39234 cat conftest.err >&5
39235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39236 (exit $ac_status); } &&
39237 { ac_try='test -z "$ac_cxx_werror_flag"
39238 || test ! -s conftest.err'
39239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39240 (eval $ac_try) 2>&5
39241 ac_status=$?
39242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39243 (exit $ac_status); }; } &&
39244 { ac_try='test -s conftest.$ac_objext'
39245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39246 (eval $ac_try) 2>&5
39247 ac_status=$?
39248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39249 (exit $ac_status); }; }; then
39250 glibcxx_cv_func__modff_use=yes
39251 else
39252 echo "$as_me: failed program was:" >&5
39253 sed 's/^/| /' conftest.$ac_ext >&5
39255 glibcxx_cv_func__modff_use=no
39257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39258 ac_ext=c
39259 ac_cpp='$CPP $CPPFLAGS'
39260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39268 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
39269 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
39271 if test x$glibcxx_cv_func__modff_use = x"yes"; then
39273 for ac_func in _modff
39275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39276 echo "$as_me:$LINENO: checking for $ac_func" >&5
39277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39278 if eval "test \"\${$as_ac_var+set}\" = set"; then
39279 echo $ECHO_N "(cached) $ECHO_C" >&6
39280 else
39281 if test x$gcc_no_link = xyes; then
39282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39284 { (exit 1); exit 1; }; }
39286 cat >conftest.$ac_ext <<_ACEOF
39287 /* confdefs.h. */
39288 _ACEOF
39289 cat confdefs.h >>conftest.$ac_ext
39290 cat >>conftest.$ac_ext <<_ACEOF
39291 /* end confdefs.h. */
39292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39294 #define $ac_func innocuous_$ac_func
39296 /* System header to define __stub macros and hopefully few prototypes,
39297 which can conflict with char $ac_func (); below.
39298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39299 <limits.h> exists even on freestanding compilers. */
39301 #ifdef __STDC__
39302 # include <limits.h>
39303 #else
39304 # include <assert.h>
39305 #endif
39307 #undef $ac_func
39309 /* Override any gcc2 internal prototype to avoid an error. */
39310 #ifdef __cplusplus
39311 extern "C"
39313 #endif
39314 /* We use char because int might match the return type of a gcc2
39315 builtin and then its argument prototype would still apply. */
39316 char $ac_func ();
39317 /* The GNU C library defines this for functions which it implements
39318 to always fail with ENOSYS. Some functions are actually named
39319 something starting with __ and the normal name is an alias. */
39320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39321 choke me
39322 #else
39323 char (*f) () = $ac_func;
39324 #endif
39325 #ifdef __cplusplus
39327 #endif
39330 main ()
39332 return f != $ac_func;
39334 return 0;
39336 _ACEOF
39337 rm -f conftest.$ac_objext conftest$ac_exeext
39338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39339 (eval $ac_link) 2>conftest.er1
39340 ac_status=$?
39341 grep -v '^ *+' conftest.er1 >conftest.err
39342 rm -f conftest.er1
39343 cat conftest.err >&5
39344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39345 (exit $ac_status); } &&
39346 { ac_try='test -z "$ac_c_werror_flag"
39347 || test ! -s conftest.err'
39348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39349 (eval $ac_try) 2>&5
39350 ac_status=$?
39351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39352 (exit $ac_status); }; } &&
39353 { ac_try='test -s conftest$ac_exeext'
39354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39355 (eval $ac_try) 2>&5
39356 ac_status=$?
39357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39358 (exit $ac_status); }; }; then
39359 eval "$as_ac_var=yes"
39360 else
39361 echo "$as_me: failed program was:" >&5
39362 sed 's/^/| /' conftest.$ac_ext >&5
39364 eval "$as_ac_var=no"
39366 rm -f conftest.err conftest.$ac_objext \
39367 conftest$ac_exeext conftest.$ac_ext
39369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39371 if test `eval echo '${'$as_ac_var'}'` = yes; then
39372 cat >>confdefs.h <<_ACEOF
39373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39374 _ACEOF
39377 done
39387 echo "$as_me:$LINENO: checking for modf declaration" >&5
39388 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
39389 if test x${glibcxx_cv_func_modf_use+set} != xset; then
39390 if test "${glibcxx_cv_func_modf_use+set}" = set; then
39391 echo $ECHO_N "(cached) $ECHO_C" >&6
39392 else
39396 ac_ext=cc
39397 ac_cpp='$CXXCPP $CPPFLAGS'
39398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39402 cat >conftest.$ac_ext <<_ACEOF
39403 /* confdefs.h. */
39404 _ACEOF
39405 cat confdefs.h >>conftest.$ac_ext
39406 cat >>conftest.$ac_ext <<_ACEOF
39407 /* end confdefs.h. */
39408 #include <math.h>
39410 main ()
39412 modf(0, 0);
39414 return 0;
39416 _ACEOF
39417 rm -f conftest.$ac_objext
39418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39419 (eval $ac_compile) 2>conftest.er1
39420 ac_status=$?
39421 grep -v '^ *+' conftest.er1 >conftest.err
39422 rm -f conftest.er1
39423 cat conftest.err >&5
39424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39425 (exit $ac_status); } &&
39426 { ac_try='test -z "$ac_cxx_werror_flag"
39427 || test ! -s conftest.err'
39428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39429 (eval $ac_try) 2>&5
39430 ac_status=$?
39431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39432 (exit $ac_status); }; } &&
39433 { ac_try='test -s conftest.$ac_objext'
39434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39435 (eval $ac_try) 2>&5
39436 ac_status=$?
39437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39438 (exit $ac_status); }; }; then
39439 glibcxx_cv_func_modf_use=yes
39440 else
39441 echo "$as_me: failed program was:" >&5
39442 sed 's/^/| /' conftest.$ac_ext >&5
39444 glibcxx_cv_func_modf_use=no
39446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39447 ac_ext=c
39448 ac_cpp='$CPP $CPPFLAGS'
39449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39457 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
39458 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
39460 if test x$glibcxx_cv_func_modf_use = x"yes"; then
39462 for ac_func in modf
39464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39465 echo "$as_me:$LINENO: checking for $ac_func" >&5
39466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39467 if eval "test \"\${$as_ac_var+set}\" = set"; then
39468 echo $ECHO_N "(cached) $ECHO_C" >&6
39469 else
39470 if test x$gcc_no_link = xyes; then
39471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39473 { (exit 1); exit 1; }; }
39475 cat >conftest.$ac_ext <<_ACEOF
39476 /* confdefs.h. */
39477 _ACEOF
39478 cat confdefs.h >>conftest.$ac_ext
39479 cat >>conftest.$ac_ext <<_ACEOF
39480 /* end confdefs.h. */
39481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39483 #define $ac_func innocuous_$ac_func
39485 /* System header to define __stub macros and hopefully few prototypes,
39486 which can conflict with char $ac_func (); below.
39487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39488 <limits.h> exists even on freestanding compilers. */
39490 #ifdef __STDC__
39491 # include <limits.h>
39492 #else
39493 # include <assert.h>
39494 #endif
39496 #undef $ac_func
39498 /* Override any gcc2 internal prototype to avoid an error. */
39499 #ifdef __cplusplus
39500 extern "C"
39502 #endif
39503 /* We use char because int might match the return type of a gcc2
39504 builtin and then its argument prototype would still apply. */
39505 char $ac_func ();
39506 /* The GNU C library defines this for functions which it implements
39507 to always fail with ENOSYS. Some functions are actually named
39508 something starting with __ and the normal name is an alias. */
39509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39510 choke me
39511 #else
39512 char (*f) () = $ac_func;
39513 #endif
39514 #ifdef __cplusplus
39516 #endif
39519 main ()
39521 return f != $ac_func;
39523 return 0;
39525 _ACEOF
39526 rm -f conftest.$ac_objext conftest$ac_exeext
39527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39528 (eval $ac_link) 2>conftest.er1
39529 ac_status=$?
39530 grep -v '^ *+' conftest.er1 >conftest.err
39531 rm -f conftest.er1
39532 cat conftest.err >&5
39533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39534 (exit $ac_status); } &&
39535 { ac_try='test -z "$ac_c_werror_flag"
39536 || test ! -s conftest.err'
39537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39538 (eval $ac_try) 2>&5
39539 ac_status=$?
39540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39541 (exit $ac_status); }; } &&
39542 { ac_try='test -s conftest$ac_exeext'
39543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39544 (eval $ac_try) 2>&5
39545 ac_status=$?
39546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39547 (exit $ac_status); }; }; then
39548 eval "$as_ac_var=yes"
39549 else
39550 echo "$as_me: failed program was:" >&5
39551 sed 's/^/| /' conftest.$ac_ext >&5
39553 eval "$as_ac_var=no"
39555 rm -f conftest.err conftest.$ac_objext \
39556 conftest$ac_exeext conftest.$ac_ext
39558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39560 if test `eval echo '${'$as_ac_var'}'` = yes; then
39561 cat >>confdefs.h <<_ACEOF
39562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39563 _ACEOF
39566 done
39568 else
39570 echo "$as_me:$LINENO: checking for _modf declaration" >&5
39571 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
39572 if test x${glibcxx_cv_func__modf_use+set} != xset; then
39573 if test "${glibcxx_cv_func__modf_use+set}" = set; then
39574 echo $ECHO_N "(cached) $ECHO_C" >&6
39575 else
39579 ac_ext=cc
39580 ac_cpp='$CXXCPP $CPPFLAGS'
39581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39585 cat >conftest.$ac_ext <<_ACEOF
39586 /* confdefs.h. */
39587 _ACEOF
39588 cat confdefs.h >>conftest.$ac_ext
39589 cat >>conftest.$ac_ext <<_ACEOF
39590 /* end confdefs.h. */
39591 #include <math.h>
39593 main ()
39595 _modf(0, 0);
39597 return 0;
39599 _ACEOF
39600 rm -f conftest.$ac_objext
39601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39602 (eval $ac_compile) 2>conftest.er1
39603 ac_status=$?
39604 grep -v '^ *+' conftest.er1 >conftest.err
39605 rm -f conftest.er1
39606 cat conftest.err >&5
39607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39608 (exit $ac_status); } &&
39609 { ac_try='test -z "$ac_cxx_werror_flag"
39610 || test ! -s conftest.err'
39611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39612 (eval $ac_try) 2>&5
39613 ac_status=$?
39614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39615 (exit $ac_status); }; } &&
39616 { ac_try='test -s conftest.$ac_objext'
39617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39618 (eval $ac_try) 2>&5
39619 ac_status=$?
39620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39621 (exit $ac_status); }; }; then
39622 glibcxx_cv_func__modf_use=yes
39623 else
39624 echo "$as_me: failed program was:" >&5
39625 sed 's/^/| /' conftest.$ac_ext >&5
39627 glibcxx_cv_func__modf_use=no
39629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39630 ac_ext=c
39631 ac_cpp='$CPP $CPPFLAGS'
39632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39640 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
39641 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
39643 if test x$glibcxx_cv_func__modf_use = x"yes"; then
39645 for ac_func in _modf
39647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39648 echo "$as_me:$LINENO: checking for $ac_func" >&5
39649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39650 if eval "test \"\${$as_ac_var+set}\" = set"; then
39651 echo $ECHO_N "(cached) $ECHO_C" >&6
39652 else
39653 if test x$gcc_no_link = xyes; then
39654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39656 { (exit 1); exit 1; }; }
39658 cat >conftest.$ac_ext <<_ACEOF
39659 /* confdefs.h. */
39660 _ACEOF
39661 cat confdefs.h >>conftest.$ac_ext
39662 cat >>conftest.$ac_ext <<_ACEOF
39663 /* end confdefs.h. */
39664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39666 #define $ac_func innocuous_$ac_func
39668 /* System header to define __stub macros and hopefully few prototypes,
39669 which can conflict with char $ac_func (); below.
39670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39671 <limits.h> exists even on freestanding compilers. */
39673 #ifdef __STDC__
39674 # include <limits.h>
39675 #else
39676 # include <assert.h>
39677 #endif
39679 #undef $ac_func
39681 /* Override any gcc2 internal prototype to avoid an error. */
39682 #ifdef __cplusplus
39683 extern "C"
39685 #endif
39686 /* We use char because int might match the return type of a gcc2
39687 builtin and then its argument prototype would still apply. */
39688 char $ac_func ();
39689 /* The GNU C library defines this for functions which it implements
39690 to always fail with ENOSYS. Some functions are actually named
39691 something starting with __ and the normal name is an alias. */
39692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39693 choke me
39694 #else
39695 char (*f) () = $ac_func;
39696 #endif
39697 #ifdef __cplusplus
39699 #endif
39702 main ()
39704 return f != $ac_func;
39706 return 0;
39708 _ACEOF
39709 rm -f conftest.$ac_objext conftest$ac_exeext
39710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39711 (eval $ac_link) 2>conftest.er1
39712 ac_status=$?
39713 grep -v '^ *+' conftest.er1 >conftest.err
39714 rm -f conftest.er1
39715 cat conftest.err >&5
39716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39717 (exit $ac_status); } &&
39718 { ac_try='test -z "$ac_c_werror_flag"
39719 || test ! -s conftest.err'
39720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39721 (eval $ac_try) 2>&5
39722 ac_status=$?
39723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39724 (exit $ac_status); }; } &&
39725 { ac_try='test -s conftest$ac_exeext'
39726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39727 (eval $ac_try) 2>&5
39728 ac_status=$?
39729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39730 (exit $ac_status); }; }; then
39731 eval "$as_ac_var=yes"
39732 else
39733 echo "$as_me: failed program was:" >&5
39734 sed 's/^/| /' conftest.$ac_ext >&5
39736 eval "$as_ac_var=no"
39738 rm -f conftest.err conftest.$ac_objext \
39739 conftest$ac_exeext conftest.$ac_ext
39741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39743 if test `eval echo '${'$as_ac_var'}'` = yes; then
39744 cat >>confdefs.h <<_ACEOF
39745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39746 _ACEOF
39749 done
39759 echo "$as_me:$LINENO: checking for powf declaration" >&5
39760 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
39761 if test x${glibcxx_cv_func_powf_use+set} != xset; then
39762 if test "${glibcxx_cv_func_powf_use+set}" = set; then
39763 echo $ECHO_N "(cached) $ECHO_C" >&6
39764 else
39768 ac_ext=cc
39769 ac_cpp='$CXXCPP $CPPFLAGS'
39770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39774 cat >conftest.$ac_ext <<_ACEOF
39775 /* confdefs.h. */
39776 _ACEOF
39777 cat confdefs.h >>conftest.$ac_ext
39778 cat >>conftest.$ac_ext <<_ACEOF
39779 /* end confdefs.h. */
39780 #include <math.h>
39782 main ()
39784 powf(0, 0);
39786 return 0;
39788 _ACEOF
39789 rm -f conftest.$ac_objext
39790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39791 (eval $ac_compile) 2>conftest.er1
39792 ac_status=$?
39793 grep -v '^ *+' conftest.er1 >conftest.err
39794 rm -f conftest.er1
39795 cat conftest.err >&5
39796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39797 (exit $ac_status); } &&
39798 { ac_try='test -z "$ac_cxx_werror_flag"
39799 || test ! -s conftest.err'
39800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39801 (eval $ac_try) 2>&5
39802 ac_status=$?
39803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39804 (exit $ac_status); }; } &&
39805 { ac_try='test -s conftest.$ac_objext'
39806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39807 (eval $ac_try) 2>&5
39808 ac_status=$?
39809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39810 (exit $ac_status); }; }; then
39811 glibcxx_cv_func_powf_use=yes
39812 else
39813 echo "$as_me: failed program was:" >&5
39814 sed 's/^/| /' conftest.$ac_ext >&5
39816 glibcxx_cv_func_powf_use=no
39818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39819 ac_ext=c
39820 ac_cpp='$CPP $CPPFLAGS'
39821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39829 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
39830 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
39832 if test x$glibcxx_cv_func_powf_use = x"yes"; then
39834 for ac_func in powf
39836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39837 echo "$as_me:$LINENO: checking for $ac_func" >&5
39838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39839 if eval "test \"\${$as_ac_var+set}\" = set"; then
39840 echo $ECHO_N "(cached) $ECHO_C" >&6
39841 else
39842 if test x$gcc_no_link = xyes; then
39843 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39845 { (exit 1); exit 1; }; }
39847 cat >conftest.$ac_ext <<_ACEOF
39848 /* confdefs.h. */
39849 _ACEOF
39850 cat confdefs.h >>conftest.$ac_ext
39851 cat >>conftest.$ac_ext <<_ACEOF
39852 /* end confdefs.h. */
39853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39855 #define $ac_func innocuous_$ac_func
39857 /* System header to define __stub macros and hopefully few prototypes,
39858 which can conflict with char $ac_func (); below.
39859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39860 <limits.h> exists even on freestanding compilers. */
39862 #ifdef __STDC__
39863 # include <limits.h>
39864 #else
39865 # include <assert.h>
39866 #endif
39868 #undef $ac_func
39870 /* Override any gcc2 internal prototype to avoid an error. */
39871 #ifdef __cplusplus
39872 extern "C"
39874 #endif
39875 /* We use char because int might match the return type of a gcc2
39876 builtin and then its argument prototype would still apply. */
39877 char $ac_func ();
39878 /* The GNU C library defines this for functions which it implements
39879 to always fail with ENOSYS. Some functions are actually named
39880 something starting with __ and the normal name is an alias. */
39881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39882 choke me
39883 #else
39884 char (*f) () = $ac_func;
39885 #endif
39886 #ifdef __cplusplus
39888 #endif
39891 main ()
39893 return f != $ac_func;
39895 return 0;
39897 _ACEOF
39898 rm -f conftest.$ac_objext conftest$ac_exeext
39899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39900 (eval $ac_link) 2>conftest.er1
39901 ac_status=$?
39902 grep -v '^ *+' conftest.er1 >conftest.err
39903 rm -f conftest.er1
39904 cat conftest.err >&5
39905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39906 (exit $ac_status); } &&
39907 { ac_try='test -z "$ac_c_werror_flag"
39908 || test ! -s conftest.err'
39909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39910 (eval $ac_try) 2>&5
39911 ac_status=$?
39912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39913 (exit $ac_status); }; } &&
39914 { ac_try='test -s conftest$ac_exeext'
39915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39916 (eval $ac_try) 2>&5
39917 ac_status=$?
39918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39919 (exit $ac_status); }; }; then
39920 eval "$as_ac_var=yes"
39921 else
39922 echo "$as_me: failed program was:" >&5
39923 sed 's/^/| /' conftest.$ac_ext >&5
39925 eval "$as_ac_var=no"
39927 rm -f conftest.err conftest.$ac_objext \
39928 conftest$ac_exeext conftest.$ac_ext
39930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39932 if test `eval echo '${'$as_ac_var'}'` = yes; then
39933 cat >>confdefs.h <<_ACEOF
39934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39935 _ACEOF
39938 done
39940 else
39942 echo "$as_me:$LINENO: checking for _powf declaration" >&5
39943 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
39944 if test x${glibcxx_cv_func__powf_use+set} != xset; then
39945 if test "${glibcxx_cv_func__powf_use+set}" = set; then
39946 echo $ECHO_N "(cached) $ECHO_C" >&6
39947 else
39951 ac_ext=cc
39952 ac_cpp='$CXXCPP $CPPFLAGS'
39953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39957 cat >conftest.$ac_ext <<_ACEOF
39958 /* confdefs.h. */
39959 _ACEOF
39960 cat confdefs.h >>conftest.$ac_ext
39961 cat >>conftest.$ac_ext <<_ACEOF
39962 /* end confdefs.h. */
39963 #include <math.h>
39965 main ()
39967 _powf(0, 0);
39969 return 0;
39971 _ACEOF
39972 rm -f conftest.$ac_objext
39973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39974 (eval $ac_compile) 2>conftest.er1
39975 ac_status=$?
39976 grep -v '^ *+' conftest.er1 >conftest.err
39977 rm -f conftest.er1
39978 cat conftest.err >&5
39979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39980 (exit $ac_status); } &&
39981 { ac_try='test -z "$ac_cxx_werror_flag"
39982 || test ! -s conftest.err'
39983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39984 (eval $ac_try) 2>&5
39985 ac_status=$?
39986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39987 (exit $ac_status); }; } &&
39988 { ac_try='test -s conftest.$ac_objext'
39989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39990 (eval $ac_try) 2>&5
39991 ac_status=$?
39992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39993 (exit $ac_status); }; }; then
39994 glibcxx_cv_func__powf_use=yes
39995 else
39996 echo "$as_me: failed program was:" >&5
39997 sed 's/^/| /' conftest.$ac_ext >&5
39999 glibcxx_cv_func__powf_use=no
40001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40002 ac_ext=c
40003 ac_cpp='$CPP $CPPFLAGS'
40004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40012 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
40013 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
40015 if test x$glibcxx_cv_func__powf_use = x"yes"; then
40017 for ac_func in _powf
40019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40020 echo "$as_me:$LINENO: checking for $ac_func" >&5
40021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40022 if eval "test \"\${$as_ac_var+set}\" = set"; then
40023 echo $ECHO_N "(cached) $ECHO_C" >&6
40024 else
40025 if test x$gcc_no_link = xyes; then
40026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40028 { (exit 1); exit 1; }; }
40030 cat >conftest.$ac_ext <<_ACEOF
40031 /* confdefs.h. */
40032 _ACEOF
40033 cat confdefs.h >>conftest.$ac_ext
40034 cat >>conftest.$ac_ext <<_ACEOF
40035 /* end confdefs.h. */
40036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40038 #define $ac_func innocuous_$ac_func
40040 /* System header to define __stub macros and hopefully few prototypes,
40041 which can conflict with char $ac_func (); below.
40042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40043 <limits.h> exists even on freestanding compilers. */
40045 #ifdef __STDC__
40046 # include <limits.h>
40047 #else
40048 # include <assert.h>
40049 #endif
40051 #undef $ac_func
40053 /* Override any gcc2 internal prototype to avoid an error. */
40054 #ifdef __cplusplus
40055 extern "C"
40057 #endif
40058 /* We use char because int might match the return type of a gcc2
40059 builtin and then its argument prototype would still apply. */
40060 char $ac_func ();
40061 /* The GNU C library defines this for functions which it implements
40062 to always fail with ENOSYS. Some functions are actually named
40063 something starting with __ and the normal name is an alias. */
40064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40065 choke me
40066 #else
40067 char (*f) () = $ac_func;
40068 #endif
40069 #ifdef __cplusplus
40071 #endif
40074 main ()
40076 return f != $ac_func;
40078 return 0;
40080 _ACEOF
40081 rm -f conftest.$ac_objext conftest$ac_exeext
40082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40083 (eval $ac_link) 2>conftest.er1
40084 ac_status=$?
40085 grep -v '^ *+' conftest.er1 >conftest.err
40086 rm -f conftest.er1
40087 cat conftest.err >&5
40088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40089 (exit $ac_status); } &&
40090 { ac_try='test -z "$ac_c_werror_flag"
40091 || test ! -s conftest.err'
40092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40093 (eval $ac_try) 2>&5
40094 ac_status=$?
40095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40096 (exit $ac_status); }; } &&
40097 { ac_try='test -s conftest$ac_exeext'
40098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40099 (eval $ac_try) 2>&5
40100 ac_status=$?
40101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40102 (exit $ac_status); }; }; then
40103 eval "$as_ac_var=yes"
40104 else
40105 echo "$as_me: failed program was:" >&5
40106 sed 's/^/| /' conftest.$ac_ext >&5
40108 eval "$as_ac_var=no"
40110 rm -f conftest.err conftest.$ac_objext \
40111 conftest$ac_exeext conftest.$ac_ext
40113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40115 if test `eval echo '${'$as_ac_var'}'` = yes; then
40116 cat >>confdefs.h <<_ACEOF
40117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40118 _ACEOF
40121 done
40131 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
40132 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
40133 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
40134 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
40135 echo $ECHO_N "(cached) $ECHO_C" >&6
40136 else
40140 ac_ext=cc
40141 ac_cpp='$CXXCPP $CPPFLAGS'
40142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40146 cat >conftest.$ac_ext <<_ACEOF
40147 /* confdefs.h. */
40148 _ACEOF
40149 cat confdefs.h >>conftest.$ac_ext
40150 cat >>conftest.$ac_ext <<_ACEOF
40151 /* end confdefs.h. */
40152 #include <math.h>
40153 #ifdef HAVE_IEEEFP_H
40154 #include <ieeefp.h>
40155 #endif
40158 main ()
40160 sqrtf(0);
40162 return 0;
40164 _ACEOF
40165 rm -f conftest.$ac_objext
40166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40167 (eval $ac_compile) 2>conftest.er1
40168 ac_status=$?
40169 grep -v '^ *+' conftest.er1 >conftest.err
40170 rm -f conftest.er1
40171 cat conftest.err >&5
40172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40173 (exit $ac_status); } &&
40174 { ac_try='test -z "$ac_cxx_werror_flag"
40175 || test ! -s conftest.err'
40176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40177 (eval $ac_try) 2>&5
40178 ac_status=$?
40179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40180 (exit $ac_status); }; } &&
40181 { ac_try='test -s conftest.$ac_objext'
40182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40183 (eval $ac_try) 2>&5
40184 ac_status=$?
40185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40186 (exit $ac_status); }; }; then
40187 glibcxx_cv_func_sqrtf_use=yes
40188 else
40189 echo "$as_me: failed program was:" >&5
40190 sed 's/^/| /' conftest.$ac_ext >&5
40192 glibcxx_cv_func_sqrtf_use=no
40194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40195 ac_ext=c
40196 ac_cpp='$CPP $CPPFLAGS'
40197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40205 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
40206 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
40208 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
40210 for ac_func in sqrtf
40212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40213 echo "$as_me:$LINENO: checking for $ac_func" >&5
40214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40215 if eval "test \"\${$as_ac_var+set}\" = set"; then
40216 echo $ECHO_N "(cached) $ECHO_C" >&6
40217 else
40218 if test x$gcc_no_link = xyes; then
40219 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40221 { (exit 1); exit 1; }; }
40223 cat >conftest.$ac_ext <<_ACEOF
40224 /* confdefs.h. */
40225 _ACEOF
40226 cat confdefs.h >>conftest.$ac_ext
40227 cat >>conftest.$ac_ext <<_ACEOF
40228 /* end confdefs.h. */
40229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40231 #define $ac_func innocuous_$ac_func
40233 /* System header to define __stub macros and hopefully few prototypes,
40234 which can conflict with char $ac_func (); below.
40235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40236 <limits.h> exists even on freestanding compilers. */
40238 #ifdef __STDC__
40239 # include <limits.h>
40240 #else
40241 # include <assert.h>
40242 #endif
40244 #undef $ac_func
40246 /* Override any gcc2 internal prototype to avoid an error. */
40247 #ifdef __cplusplus
40248 extern "C"
40250 #endif
40251 /* We use char because int might match the return type of a gcc2
40252 builtin and then its argument prototype would still apply. */
40253 char $ac_func ();
40254 /* The GNU C library defines this for functions which it implements
40255 to always fail with ENOSYS. Some functions are actually named
40256 something starting with __ and the normal name is an alias. */
40257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40258 choke me
40259 #else
40260 char (*f) () = $ac_func;
40261 #endif
40262 #ifdef __cplusplus
40264 #endif
40267 main ()
40269 return f != $ac_func;
40271 return 0;
40273 _ACEOF
40274 rm -f conftest.$ac_objext conftest$ac_exeext
40275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40276 (eval $ac_link) 2>conftest.er1
40277 ac_status=$?
40278 grep -v '^ *+' conftest.er1 >conftest.err
40279 rm -f conftest.er1
40280 cat conftest.err >&5
40281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40282 (exit $ac_status); } &&
40283 { ac_try='test -z "$ac_c_werror_flag"
40284 || test ! -s conftest.err'
40285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40286 (eval $ac_try) 2>&5
40287 ac_status=$?
40288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40289 (exit $ac_status); }; } &&
40290 { ac_try='test -s conftest$ac_exeext'
40291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40292 (eval $ac_try) 2>&5
40293 ac_status=$?
40294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40295 (exit $ac_status); }; }; then
40296 eval "$as_ac_var=yes"
40297 else
40298 echo "$as_me: failed program was:" >&5
40299 sed 's/^/| /' conftest.$ac_ext >&5
40301 eval "$as_ac_var=no"
40303 rm -f conftest.err conftest.$ac_objext \
40304 conftest$ac_exeext conftest.$ac_ext
40306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40308 if test `eval echo '${'$as_ac_var'}'` = yes; then
40309 cat >>confdefs.h <<_ACEOF
40310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40311 _ACEOF
40314 done
40316 else
40318 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
40319 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
40320 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
40321 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
40322 echo $ECHO_N "(cached) $ECHO_C" >&6
40323 else
40327 ac_ext=cc
40328 ac_cpp='$CXXCPP $CPPFLAGS'
40329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40333 cat >conftest.$ac_ext <<_ACEOF
40334 /* confdefs.h. */
40335 _ACEOF
40336 cat confdefs.h >>conftest.$ac_ext
40337 cat >>conftest.$ac_ext <<_ACEOF
40338 /* end confdefs.h. */
40339 #include <math.h>
40340 #ifdef HAVE_IEEEFP_H
40341 #include <ieeefp.h>
40342 #endif
40345 main ()
40347 _sqrtf(0);
40349 return 0;
40351 _ACEOF
40352 rm -f conftest.$ac_objext
40353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40354 (eval $ac_compile) 2>conftest.er1
40355 ac_status=$?
40356 grep -v '^ *+' conftest.er1 >conftest.err
40357 rm -f conftest.er1
40358 cat conftest.err >&5
40359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40360 (exit $ac_status); } &&
40361 { ac_try='test -z "$ac_cxx_werror_flag"
40362 || test ! -s conftest.err'
40363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40364 (eval $ac_try) 2>&5
40365 ac_status=$?
40366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40367 (exit $ac_status); }; } &&
40368 { ac_try='test -s conftest.$ac_objext'
40369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40370 (eval $ac_try) 2>&5
40371 ac_status=$?
40372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40373 (exit $ac_status); }; }; then
40374 glibcxx_cv_func__sqrtf_use=yes
40375 else
40376 echo "$as_me: failed program was:" >&5
40377 sed 's/^/| /' conftest.$ac_ext >&5
40379 glibcxx_cv_func__sqrtf_use=no
40381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40382 ac_ext=c
40383 ac_cpp='$CPP $CPPFLAGS'
40384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40392 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
40393 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
40395 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
40397 for ac_func in _sqrtf
40399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40400 echo "$as_me:$LINENO: checking for $ac_func" >&5
40401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40402 if eval "test \"\${$as_ac_var+set}\" = set"; then
40403 echo $ECHO_N "(cached) $ECHO_C" >&6
40404 else
40405 if test x$gcc_no_link = xyes; then
40406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40408 { (exit 1); exit 1; }; }
40410 cat >conftest.$ac_ext <<_ACEOF
40411 /* confdefs.h. */
40412 _ACEOF
40413 cat confdefs.h >>conftest.$ac_ext
40414 cat >>conftest.$ac_ext <<_ACEOF
40415 /* end confdefs.h. */
40416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40418 #define $ac_func innocuous_$ac_func
40420 /* System header to define __stub macros and hopefully few prototypes,
40421 which can conflict with char $ac_func (); below.
40422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40423 <limits.h> exists even on freestanding compilers. */
40425 #ifdef __STDC__
40426 # include <limits.h>
40427 #else
40428 # include <assert.h>
40429 #endif
40431 #undef $ac_func
40433 /* Override any gcc2 internal prototype to avoid an error. */
40434 #ifdef __cplusplus
40435 extern "C"
40437 #endif
40438 /* We use char because int might match the return type of a gcc2
40439 builtin and then its argument prototype would still apply. */
40440 char $ac_func ();
40441 /* The GNU C library defines this for functions which it implements
40442 to always fail with ENOSYS. Some functions are actually named
40443 something starting with __ and the normal name is an alias. */
40444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40445 choke me
40446 #else
40447 char (*f) () = $ac_func;
40448 #endif
40449 #ifdef __cplusplus
40451 #endif
40454 main ()
40456 return f != $ac_func;
40458 return 0;
40460 _ACEOF
40461 rm -f conftest.$ac_objext conftest$ac_exeext
40462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40463 (eval $ac_link) 2>conftest.er1
40464 ac_status=$?
40465 grep -v '^ *+' conftest.er1 >conftest.err
40466 rm -f conftest.er1
40467 cat conftest.err >&5
40468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40469 (exit $ac_status); } &&
40470 { ac_try='test -z "$ac_c_werror_flag"
40471 || test ! -s conftest.err'
40472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40473 (eval $ac_try) 2>&5
40474 ac_status=$?
40475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40476 (exit $ac_status); }; } &&
40477 { ac_try='test -s conftest$ac_exeext'
40478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40479 (eval $ac_try) 2>&5
40480 ac_status=$?
40481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40482 (exit $ac_status); }; }; then
40483 eval "$as_ac_var=yes"
40484 else
40485 echo "$as_me: failed program was:" >&5
40486 sed 's/^/| /' conftest.$ac_ext >&5
40488 eval "$as_ac_var=no"
40490 rm -f conftest.err conftest.$ac_objext \
40491 conftest$ac_exeext conftest.$ac_ext
40493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40495 if test `eval echo '${'$as_ac_var'}'` = yes; then
40496 cat >>confdefs.h <<_ACEOF
40497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40498 _ACEOF
40501 done
40511 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
40512 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
40513 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
40514 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
40515 echo $ECHO_N "(cached) $ECHO_C" >&6
40516 else
40520 ac_ext=cc
40521 ac_cpp='$CXXCPP $CPPFLAGS'
40522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40526 cat >conftest.$ac_ext <<_ACEOF
40527 /* confdefs.h. */
40528 _ACEOF
40529 cat confdefs.h >>conftest.$ac_ext
40530 cat >>conftest.$ac_ext <<_ACEOF
40531 /* end confdefs.h. */
40532 #include <math.h>
40534 main ()
40536 sincosf(0, 0, 0);
40538 return 0;
40540 _ACEOF
40541 rm -f conftest.$ac_objext
40542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40543 (eval $ac_compile) 2>conftest.er1
40544 ac_status=$?
40545 grep -v '^ *+' conftest.er1 >conftest.err
40546 rm -f conftest.er1
40547 cat conftest.err >&5
40548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40549 (exit $ac_status); } &&
40550 { ac_try='test -z "$ac_cxx_werror_flag"
40551 || test ! -s conftest.err'
40552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40553 (eval $ac_try) 2>&5
40554 ac_status=$?
40555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40556 (exit $ac_status); }; } &&
40557 { ac_try='test -s conftest.$ac_objext'
40558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40559 (eval $ac_try) 2>&5
40560 ac_status=$?
40561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40562 (exit $ac_status); }; }; then
40563 glibcxx_cv_func_sincosf_use=yes
40564 else
40565 echo "$as_me: failed program was:" >&5
40566 sed 's/^/| /' conftest.$ac_ext >&5
40568 glibcxx_cv_func_sincosf_use=no
40570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40571 ac_ext=c
40572 ac_cpp='$CPP $CPPFLAGS'
40573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40581 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
40582 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
40584 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
40586 for ac_func in sincosf
40588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40589 echo "$as_me:$LINENO: checking for $ac_func" >&5
40590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40591 if eval "test \"\${$as_ac_var+set}\" = set"; then
40592 echo $ECHO_N "(cached) $ECHO_C" >&6
40593 else
40594 if test x$gcc_no_link = xyes; then
40595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40597 { (exit 1); exit 1; }; }
40599 cat >conftest.$ac_ext <<_ACEOF
40600 /* confdefs.h. */
40601 _ACEOF
40602 cat confdefs.h >>conftest.$ac_ext
40603 cat >>conftest.$ac_ext <<_ACEOF
40604 /* end confdefs.h. */
40605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40607 #define $ac_func innocuous_$ac_func
40609 /* System header to define __stub macros and hopefully few prototypes,
40610 which can conflict with char $ac_func (); below.
40611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40612 <limits.h> exists even on freestanding compilers. */
40614 #ifdef __STDC__
40615 # include <limits.h>
40616 #else
40617 # include <assert.h>
40618 #endif
40620 #undef $ac_func
40622 /* Override any gcc2 internal prototype to avoid an error. */
40623 #ifdef __cplusplus
40624 extern "C"
40626 #endif
40627 /* We use char because int might match the return type of a gcc2
40628 builtin and then its argument prototype would still apply. */
40629 char $ac_func ();
40630 /* The GNU C library defines this for functions which it implements
40631 to always fail with ENOSYS. Some functions are actually named
40632 something starting with __ and the normal name is an alias. */
40633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40634 choke me
40635 #else
40636 char (*f) () = $ac_func;
40637 #endif
40638 #ifdef __cplusplus
40640 #endif
40643 main ()
40645 return f != $ac_func;
40647 return 0;
40649 _ACEOF
40650 rm -f conftest.$ac_objext conftest$ac_exeext
40651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40652 (eval $ac_link) 2>conftest.er1
40653 ac_status=$?
40654 grep -v '^ *+' conftest.er1 >conftest.err
40655 rm -f conftest.er1
40656 cat conftest.err >&5
40657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40658 (exit $ac_status); } &&
40659 { ac_try='test -z "$ac_c_werror_flag"
40660 || test ! -s conftest.err'
40661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40662 (eval $ac_try) 2>&5
40663 ac_status=$?
40664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40665 (exit $ac_status); }; } &&
40666 { ac_try='test -s conftest$ac_exeext'
40667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40668 (eval $ac_try) 2>&5
40669 ac_status=$?
40670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40671 (exit $ac_status); }; }; then
40672 eval "$as_ac_var=yes"
40673 else
40674 echo "$as_me: failed program was:" >&5
40675 sed 's/^/| /' conftest.$ac_ext >&5
40677 eval "$as_ac_var=no"
40679 rm -f conftest.err conftest.$ac_objext \
40680 conftest$ac_exeext conftest.$ac_ext
40682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40684 if test `eval echo '${'$as_ac_var'}'` = yes; then
40685 cat >>confdefs.h <<_ACEOF
40686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40687 _ACEOF
40690 done
40692 else
40694 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
40695 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
40696 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
40697 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
40698 echo $ECHO_N "(cached) $ECHO_C" >&6
40699 else
40703 ac_ext=cc
40704 ac_cpp='$CXXCPP $CPPFLAGS'
40705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40709 cat >conftest.$ac_ext <<_ACEOF
40710 /* confdefs.h. */
40711 _ACEOF
40712 cat confdefs.h >>conftest.$ac_ext
40713 cat >>conftest.$ac_ext <<_ACEOF
40714 /* end confdefs.h. */
40715 #include <math.h>
40717 main ()
40719 _sincosf(0, 0, 0);
40721 return 0;
40723 _ACEOF
40724 rm -f conftest.$ac_objext
40725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40726 (eval $ac_compile) 2>conftest.er1
40727 ac_status=$?
40728 grep -v '^ *+' conftest.er1 >conftest.err
40729 rm -f conftest.er1
40730 cat conftest.err >&5
40731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40732 (exit $ac_status); } &&
40733 { ac_try='test -z "$ac_cxx_werror_flag"
40734 || test ! -s conftest.err'
40735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40736 (eval $ac_try) 2>&5
40737 ac_status=$?
40738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40739 (exit $ac_status); }; } &&
40740 { ac_try='test -s conftest.$ac_objext'
40741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40742 (eval $ac_try) 2>&5
40743 ac_status=$?
40744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40745 (exit $ac_status); }; }; then
40746 glibcxx_cv_func__sincosf_use=yes
40747 else
40748 echo "$as_me: failed program was:" >&5
40749 sed 's/^/| /' conftest.$ac_ext >&5
40751 glibcxx_cv_func__sincosf_use=no
40753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40754 ac_ext=c
40755 ac_cpp='$CPP $CPPFLAGS'
40756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40764 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
40765 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
40767 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
40769 for ac_func in _sincosf
40771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40772 echo "$as_me:$LINENO: checking for $ac_func" >&5
40773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40774 if eval "test \"\${$as_ac_var+set}\" = set"; then
40775 echo $ECHO_N "(cached) $ECHO_C" >&6
40776 else
40777 if test x$gcc_no_link = xyes; then
40778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40780 { (exit 1); exit 1; }; }
40782 cat >conftest.$ac_ext <<_ACEOF
40783 /* confdefs.h. */
40784 _ACEOF
40785 cat confdefs.h >>conftest.$ac_ext
40786 cat >>conftest.$ac_ext <<_ACEOF
40787 /* end confdefs.h. */
40788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40790 #define $ac_func innocuous_$ac_func
40792 /* System header to define __stub macros and hopefully few prototypes,
40793 which can conflict with char $ac_func (); below.
40794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40795 <limits.h> exists even on freestanding compilers. */
40797 #ifdef __STDC__
40798 # include <limits.h>
40799 #else
40800 # include <assert.h>
40801 #endif
40803 #undef $ac_func
40805 /* Override any gcc2 internal prototype to avoid an error. */
40806 #ifdef __cplusplus
40807 extern "C"
40809 #endif
40810 /* We use char because int might match the return type of a gcc2
40811 builtin and then its argument prototype would still apply. */
40812 char $ac_func ();
40813 /* The GNU C library defines this for functions which it implements
40814 to always fail with ENOSYS. Some functions are actually named
40815 something starting with __ and the normal name is an alias. */
40816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40817 choke me
40818 #else
40819 char (*f) () = $ac_func;
40820 #endif
40821 #ifdef __cplusplus
40823 #endif
40826 main ()
40828 return f != $ac_func;
40830 return 0;
40832 _ACEOF
40833 rm -f conftest.$ac_objext conftest$ac_exeext
40834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40835 (eval $ac_link) 2>conftest.er1
40836 ac_status=$?
40837 grep -v '^ *+' conftest.er1 >conftest.err
40838 rm -f conftest.er1
40839 cat conftest.err >&5
40840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40841 (exit $ac_status); } &&
40842 { ac_try='test -z "$ac_c_werror_flag"
40843 || test ! -s conftest.err'
40844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40845 (eval $ac_try) 2>&5
40846 ac_status=$?
40847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40848 (exit $ac_status); }; } &&
40849 { ac_try='test -s conftest$ac_exeext'
40850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40851 (eval $ac_try) 2>&5
40852 ac_status=$?
40853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40854 (exit $ac_status); }; }; then
40855 eval "$as_ac_var=yes"
40856 else
40857 echo "$as_me: failed program was:" >&5
40858 sed 's/^/| /' conftest.$ac_ext >&5
40860 eval "$as_ac_var=no"
40862 rm -f conftest.err conftest.$ac_objext \
40863 conftest$ac_exeext conftest.$ac_ext
40865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40867 if test `eval echo '${'$as_ac_var'}'` = yes; then
40868 cat >>confdefs.h <<_ACEOF
40869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40870 _ACEOF
40873 done
40883 echo "$as_me:$LINENO: checking for finitef declaration" >&5
40884 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
40885 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
40886 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
40887 echo $ECHO_N "(cached) $ECHO_C" >&6
40888 else
40892 ac_ext=cc
40893 ac_cpp='$CXXCPP $CPPFLAGS'
40894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40898 cat >conftest.$ac_ext <<_ACEOF
40899 /* confdefs.h. */
40900 _ACEOF
40901 cat confdefs.h >>conftest.$ac_ext
40902 cat >>conftest.$ac_ext <<_ACEOF
40903 /* end confdefs.h. */
40904 #include <math.h>
40905 #ifdef HAVE_IEEEFP_H
40906 #include <ieeefp.h>
40907 #endif
40910 main ()
40912 finitef(0);
40914 return 0;
40916 _ACEOF
40917 rm -f conftest.$ac_objext
40918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40919 (eval $ac_compile) 2>conftest.er1
40920 ac_status=$?
40921 grep -v '^ *+' conftest.er1 >conftest.err
40922 rm -f conftest.er1
40923 cat conftest.err >&5
40924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40925 (exit $ac_status); } &&
40926 { ac_try='test -z "$ac_cxx_werror_flag"
40927 || test ! -s conftest.err'
40928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40929 (eval $ac_try) 2>&5
40930 ac_status=$?
40931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40932 (exit $ac_status); }; } &&
40933 { ac_try='test -s conftest.$ac_objext'
40934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40935 (eval $ac_try) 2>&5
40936 ac_status=$?
40937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40938 (exit $ac_status); }; }; then
40939 glibcxx_cv_func_finitef_use=yes
40940 else
40941 echo "$as_me: failed program was:" >&5
40942 sed 's/^/| /' conftest.$ac_ext >&5
40944 glibcxx_cv_func_finitef_use=no
40946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40947 ac_ext=c
40948 ac_cpp='$CPP $CPPFLAGS'
40949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40957 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
40958 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
40960 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
40962 for ac_func in finitef
40964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40965 echo "$as_me:$LINENO: checking for $ac_func" >&5
40966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40967 if eval "test \"\${$as_ac_var+set}\" = set"; then
40968 echo $ECHO_N "(cached) $ECHO_C" >&6
40969 else
40970 if test x$gcc_no_link = xyes; then
40971 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40973 { (exit 1); exit 1; }; }
40975 cat >conftest.$ac_ext <<_ACEOF
40976 /* confdefs.h. */
40977 _ACEOF
40978 cat confdefs.h >>conftest.$ac_ext
40979 cat >>conftest.$ac_ext <<_ACEOF
40980 /* end confdefs.h. */
40981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40983 #define $ac_func innocuous_$ac_func
40985 /* System header to define __stub macros and hopefully few prototypes,
40986 which can conflict with char $ac_func (); below.
40987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40988 <limits.h> exists even on freestanding compilers. */
40990 #ifdef __STDC__
40991 # include <limits.h>
40992 #else
40993 # include <assert.h>
40994 #endif
40996 #undef $ac_func
40998 /* Override any gcc2 internal prototype to avoid an error. */
40999 #ifdef __cplusplus
41000 extern "C"
41002 #endif
41003 /* We use char because int might match the return type of a gcc2
41004 builtin and then its argument prototype would still apply. */
41005 char $ac_func ();
41006 /* The GNU C library defines this for functions which it implements
41007 to always fail with ENOSYS. Some functions are actually named
41008 something starting with __ and the normal name is an alias. */
41009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41010 choke me
41011 #else
41012 char (*f) () = $ac_func;
41013 #endif
41014 #ifdef __cplusplus
41016 #endif
41019 main ()
41021 return f != $ac_func;
41023 return 0;
41025 _ACEOF
41026 rm -f conftest.$ac_objext conftest$ac_exeext
41027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41028 (eval $ac_link) 2>conftest.er1
41029 ac_status=$?
41030 grep -v '^ *+' conftest.er1 >conftest.err
41031 rm -f conftest.er1
41032 cat conftest.err >&5
41033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41034 (exit $ac_status); } &&
41035 { ac_try='test -z "$ac_c_werror_flag"
41036 || test ! -s conftest.err'
41037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41038 (eval $ac_try) 2>&5
41039 ac_status=$?
41040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41041 (exit $ac_status); }; } &&
41042 { ac_try='test -s conftest$ac_exeext'
41043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41044 (eval $ac_try) 2>&5
41045 ac_status=$?
41046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41047 (exit $ac_status); }; }; then
41048 eval "$as_ac_var=yes"
41049 else
41050 echo "$as_me: failed program was:" >&5
41051 sed 's/^/| /' conftest.$ac_ext >&5
41053 eval "$as_ac_var=no"
41055 rm -f conftest.err conftest.$ac_objext \
41056 conftest$ac_exeext conftest.$ac_ext
41058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41060 if test `eval echo '${'$as_ac_var'}'` = yes; then
41061 cat >>confdefs.h <<_ACEOF
41062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41063 _ACEOF
41066 done
41068 else
41070 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
41071 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
41072 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41073 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
41074 echo $ECHO_N "(cached) $ECHO_C" >&6
41075 else
41079 ac_ext=cc
41080 ac_cpp='$CXXCPP $CPPFLAGS'
41081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41085 cat >conftest.$ac_ext <<_ACEOF
41086 /* confdefs.h. */
41087 _ACEOF
41088 cat confdefs.h >>conftest.$ac_ext
41089 cat >>conftest.$ac_ext <<_ACEOF
41090 /* end confdefs.h. */
41091 #include <math.h>
41092 #ifdef HAVE_IEEEFP_H
41093 #include <ieeefp.h>
41094 #endif
41097 main ()
41099 _finitef(0);
41101 return 0;
41103 _ACEOF
41104 rm -f conftest.$ac_objext
41105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41106 (eval $ac_compile) 2>conftest.er1
41107 ac_status=$?
41108 grep -v '^ *+' conftest.er1 >conftest.err
41109 rm -f conftest.er1
41110 cat conftest.err >&5
41111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41112 (exit $ac_status); } &&
41113 { ac_try='test -z "$ac_cxx_werror_flag"
41114 || test ! -s conftest.err'
41115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41116 (eval $ac_try) 2>&5
41117 ac_status=$?
41118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41119 (exit $ac_status); }; } &&
41120 { ac_try='test -s conftest.$ac_objext'
41121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41122 (eval $ac_try) 2>&5
41123 ac_status=$?
41124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41125 (exit $ac_status); }; }; then
41126 glibcxx_cv_func__finitef_use=yes
41127 else
41128 echo "$as_me: failed program was:" >&5
41129 sed 's/^/| /' conftest.$ac_ext >&5
41131 glibcxx_cv_func__finitef_use=no
41133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41134 ac_ext=c
41135 ac_cpp='$CPP $CPPFLAGS'
41136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41144 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
41145 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
41147 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41149 for ac_func in _finitef
41151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41152 echo "$as_me:$LINENO: checking for $ac_func" >&5
41153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41154 if eval "test \"\${$as_ac_var+set}\" = set"; then
41155 echo $ECHO_N "(cached) $ECHO_C" >&6
41156 else
41157 if test x$gcc_no_link = xyes; then
41158 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41160 { (exit 1); exit 1; }; }
41162 cat >conftest.$ac_ext <<_ACEOF
41163 /* confdefs.h. */
41164 _ACEOF
41165 cat confdefs.h >>conftest.$ac_ext
41166 cat >>conftest.$ac_ext <<_ACEOF
41167 /* end confdefs.h. */
41168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41170 #define $ac_func innocuous_$ac_func
41172 /* System header to define __stub macros and hopefully few prototypes,
41173 which can conflict with char $ac_func (); below.
41174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41175 <limits.h> exists even on freestanding compilers. */
41177 #ifdef __STDC__
41178 # include <limits.h>
41179 #else
41180 # include <assert.h>
41181 #endif
41183 #undef $ac_func
41185 /* Override any gcc2 internal prototype to avoid an error. */
41186 #ifdef __cplusplus
41187 extern "C"
41189 #endif
41190 /* We use char because int might match the return type of a gcc2
41191 builtin and then its argument prototype would still apply. */
41192 char $ac_func ();
41193 /* The GNU C library defines this for functions which it implements
41194 to always fail with ENOSYS. Some functions are actually named
41195 something starting with __ and the normal name is an alias. */
41196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41197 choke me
41198 #else
41199 char (*f) () = $ac_func;
41200 #endif
41201 #ifdef __cplusplus
41203 #endif
41206 main ()
41208 return f != $ac_func;
41210 return 0;
41212 _ACEOF
41213 rm -f conftest.$ac_objext conftest$ac_exeext
41214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41215 (eval $ac_link) 2>conftest.er1
41216 ac_status=$?
41217 grep -v '^ *+' conftest.er1 >conftest.err
41218 rm -f conftest.er1
41219 cat conftest.err >&5
41220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41221 (exit $ac_status); } &&
41222 { ac_try='test -z "$ac_c_werror_flag"
41223 || test ! -s conftest.err'
41224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41225 (eval $ac_try) 2>&5
41226 ac_status=$?
41227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41228 (exit $ac_status); }; } &&
41229 { ac_try='test -s conftest$ac_exeext'
41230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41231 (eval $ac_try) 2>&5
41232 ac_status=$?
41233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41234 (exit $ac_status); }; }; then
41235 eval "$as_ac_var=yes"
41236 else
41237 echo "$as_me: failed program was:" >&5
41238 sed 's/^/| /' conftest.$ac_ext >&5
41240 eval "$as_ac_var=no"
41242 rm -f conftest.err conftest.$ac_objext \
41243 conftest$ac_exeext conftest.$ac_ext
41245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41247 if test `eval echo '${'$as_ac_var'}'` = yes; then
41248 cat >>confdefs.h <<_ACEOF
41249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41250 _ACEOF
41253 done
41263 echo "$as_me:$LINENO: checking for long double trig functions" >&5
41264 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
41265 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
41266 echo $ECHO_N "(cached) $ECHO_C" >&6
41267 else
41271 ac_ext=cc
41272 ac_cpp='$CXXCPP $CPPFLAGS'
41273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41277 cat >conftest.$ac_ext <<_ACEOF
41278 /* confdefs.h. */
41279 _ACEOF
41280 cat confdefs.h >>conftest.$ac_ext
41281 cat >>conftest.$ac_ext <<_ACEOF
41282 /* end confdefs.h. */
41283 #include <math.h>
41285 main ()
41287 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41289 return 0;
41291 _ACEOF
41292 rm -f conftest.$ac_objext
41293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41294 (eval $ac_compile) 2>conftest.er1
41295 ac_status=$?
41296 grep -v '^ *+' conftest.er1 >conftest.err
41297 rm -f conftest.er1
41298 cat conftest.err >&5
41299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41300 (exit $ac_status); } &&
41301 { ac_try='test -z "$ac_cxx_werror_flag"
41302 || test ! -s conftest.err'
41303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41304 (eval $ac_try) 2>&5
41305 ac_status=$?
41306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41307 (exit $ac_status); }; } &&
41308 { ac_try='test -s conftest.$ac_objext'
41309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41310 (eval $ac_try) 2>&5
41311 ac_status=$?
41312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41313 (exit $ac_status); }; }; then
41314 glibcxx_cv_func_long_double_trig_use=yes
41315 else
41316 echo "$as_me: failed program was:" >&5
41317 sed 's/^/| /' conftest.$ac_ext >&5
41319 glibcxx_cv_func_long_double_trig_use=no
41321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41322 ac_ext=c
41323 ac_cpp='$CPP $CPPFLAGS'
41324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41330 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
41331 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
41332 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41342 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41345 echo "$as_me:$LINENO: checking for $ac_func" >&5
41346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41347 if eval "test \"\${$as_ac_var+set}\" = set"; then
41348 echo $ECHO_N "(cached) $ECHO_C" >&6
41349 else
41350 if test x$gcc_no_link = xyes; then
41351 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41353 { (exit 1); exit 1; }; }
41355 cat >conftest.$ac_ext <<_ACEOF
41356 /* confdefs.h. */
41357 _ACEOF
41358 cat confdefs.h >>conftest.$ac_ext
41359 cat >>conftest.$ac_ext <<_ACEOF
41360 /* end confdefs.h. */
41361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41363 #define $ac_func innocuous_$ac_func
41365 /* System header to define __stub macros and hopefully few prototypes,
41366 which can conflict with char $ac_func (); below.
41367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41368 <limits.h> exists even on freestanding compilers. */
41370 #ifdef __STDC__
41371 # include <limits.h>
41372 #else
41373 # include <assert.h>
41374 #endif
41376 #undef $ac_func
41378 /* Override any gcc2 internal prototype to avoid an error. */
41379 #ifdef __cplusplus
41380 extern "C"
41382 #endif
41383 /* We use char because int might match the return type of a gcc2
41384 builtin and then its argument prototype would still apply. */
41385 char $ac_func ();
41386 /* The GNU C library defines this for functions which it implements
41387 to always fail with ENOSYS. Some functions are actually named
41388 something starting with __ and the normal name is an alias. */
41389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41390 choke me
41391 #else
41392 char (*f) () = $ac_func;
41393 #endif
41394 #ifdef __cplusplus
41396 #endif
41399 main ()
41401 return f != $ac_func;
41403 return 0;
41405 _ACEOF
41406 rm -f conftest.$ac_objext conftest$ac_exeext
41407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41408 (eval $ac_link) 2>conftest.er1
41409 ac_status=$?
41410 grep -v '^ *+' conftest.er1 >conftest.err
41411 rm -f conftest.er1
41412 cat conftest.err >&5
41413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41414 (exit $ac_status); } &&
41415 { ac_try='test -z "$ac_c_werror_flag"
41416 || test ! -s conftest.err'
41417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41418 (eval $ac_try) 2>&5
41419 ac_status=$?
41420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41421 (exit $ac_status); }; } &&
41422 { ac_try='test -s conftest$ac_exeext'
41423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41424 (eval $ac_try) 2>&5
41425 ac_status=$?
41426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41427 (exit $ac_status); }; }; then
41428 eval "$as_ac_var=yes"
41429 else
41430 echo "$as_me: failed program was:" >&5
41431 sed 's/^/| /' conftest.$ac_ext >&5
41433 eval "$as_ac_var=no"
41435 rm -f conftest.err conftest.$ac_objext \
41436 conftest$ac_exeext conftest.$ac_ext
41438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41440 if test `eval echo '${'$as_ac_var'}'` = yes; then
41441 cat >>confdefs.h <<_ACEOF
41442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41443 _ACEOF
41446 done
41448 else
41449 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
41450 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
41451 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
41452 echo $ECHO_N "(cached) $ECHO_C" >&6
41453 else
41457 ac_ext=cc
41458 ac_cpp='$CXXCPP $CPPFLAGS'
41459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41463 cat >conftest.$ac_ext <<_ACEOF
41464 /* confdefs.h. */
41465 _ACEOF
41466 cat confdefs.h >>conftest.$ac_ext
41467 cat >>conftest.$ac_ext <<_ACEOF
41468 /* end confdefs.h. */
41469 #include <math.h>
41471 main ()
41473 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41475 return 0;
41477 _ACEOF
41478 rm -f conftest.$ac_objext
41479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41480 (eval $ac_compile) 2>conftest.er1
41481 ac_status=$?
41482 grep -v '^ *+' conftest.er1 >conftest.err
41483 rm -f conftest.er1
41484 cat conftest.err >&5
41485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41486 (exit $ac_status); } &&
41487 { ac_try='test -z "$ac_cxx_werror_flag"
41488 || test ! -s conftest.err'
41489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41490 (eval $ac_try) 2>&5
41491 ac_status=$?
41492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41493 (exit $ac_status); }; } &&
41494 { ac_try='test -s conftest.$ac_objext'
41495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41496 (eval $ac_try) 2>&5
41497 ac_status=$?
41498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41499 (exit $ac_status); }; }; then
41500 glibcxx_cv_func__long_double_trig_use=yes
41501 else
41502 echo "$as_me: failed program was:" >&5
41503 sed 's/^/| /' conftest.$ac_ext >&5
41505 glibcxx_cv_func__long_double_trig_use=no
41507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41508 ac_ext=c
41509 ac_cpp='$CPP $CPPFLAGS'
41510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41516 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
41517 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
41518 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41528 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41530 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41531 echo "$as_me:$LINENO: checking for $ac_func" >&5
41532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41533 if eval "test \"\${$as_ac_var+set}\" = set"; then
41534 echo $ECHO_N "(cached) $ECHO_C" >&6
41535 else
41536 if test x$gcc_no_link = xyes; then
41537 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41538 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41539 { (exit 1); exit 1; }; }
41541 cat >conftest.$ac_ext <<_ACEOF
41542 /* confdefs.h. */
41543 _ACEOF
41544 cat confdefs.h >>conftest.$ac_ext
41545 cat >>conftest.$ac_ext <<_ACEOF
41546 /* end confdefs.h. */
41547 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41549 #define $ac_func innocuous_$ac_func
41551 /* System header to define __stub macros and hopefully few prototypes,
41552 which can conflict with char $ac_func (); below.
41553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41554 <limits.h> exists even on freestanding compilers. */
41556 #ifdef __STDC__
41557 # include <limits.h>
41558 #else
41559 # include <assert.h>
41560 #endif
41562 #undef $ac_func
41564 /* Override any gcc2 internal prototype to avoid an error. */
41565 #ifdef __cplusplus
41566 extern "C"
41568 #endif
41569 /* We use char because int might match the return type of a gcc2
41570 builtin and then its argument prototype would still apply. */
41571 char $ac_func ();
41572 /* The GNU C library defines this for functions which it implements
41573 to always fail with ENOSYS. Some functions are actually named
41574 something starting with __ and the normal name is an alias. */
41575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41576 choke me
41577 #else
41578 char (*f) () = $ac_func;
41579 #endif
41580 #ifdef __cplusplus
41582 #endif
41585 main ()
41587 return f != $ac_func;
41589 return 0;
41591 _ACEOF
41592 rm -f conftest.$ac_objext conftest$ac_exeext
41593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41594 (eval $ac_link) 2>conftest.er1
41595 ac_status=$?
41596 grep -v '^ *+' conftest.er1 >conftest.err
41597 rm -f conftest.er1
41598 cat conftest.err >&5
41599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41600 (exit $ac_status); } &&
41601 { ac_try='test -z "$ac_c_werror_flag"
41602 || test ! -s conftest.err'
41603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41604 (eval $ac_try) 2>&5
41605 ac_status=$?
41606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41607 (exit $ac_status); }; } &&
41608 { ac_try='test -s conftest$ac_exeext'
41609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41610 (eval $ac_try) 2>&5
41611 ac_status=$?
41612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41613 (exit $ac_status); }; }; then
41614 eval "$as_ac_var=yes"
41615 else
41616 echo "$as_me: failed program was:" >&5
41617 sed 's/^/| /' conftest.$ac_ext >&5
41619 eval "$as_ac_var=no"
41621 rm -f conftest.err conftest.$ac_objext \
41622 conftest$ac_exeext conftest.$ac_ext
41624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41625 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41626 if test `eval echo '${'$as_ac_var'}'` = yes; then
41627 cat >>confdefs.h <<_ACEOF
41628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41629 _ACEOF
41632 done
41650 echo "$as_me:$LINENO: checking for long double round functions" >&5
41651 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
41652 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
41653 echo $ECHO_N "(cached) $ECHO_C" >&6
41654 else
41658 ac_ext=cc
41659 ac_cpp='$CXXCPP $CPPFLAGS'
41660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41664 cat >conftest.$ac_ext <<_ACEOF
41665 /* confdefs.h. */
41666 _ACEOF
41667 cat confdefs.h >>conftest.$ac_ext
41668 cat >>conftest.$ac_ext <<_ACEOF
41669 /* end confdefs.h. */
41670 #include <math.h>
41672 main ()
41674 ceill (0); floorl (0);
41676 return 0;
41678 _ACEOF
41679 rm -f conftest.$ac_objext
41680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41681 (eval $ac_compile) 2>conftest.er1
41682 ac_status=$?
41683 grep -v '^ *+' conftest.er1 >conftest.err
41684 rm -f conftest.er1
41685 cat conftest.err >&5
41686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41687 (exit $ac_status); } &&
41688 { ac_try='test -z "$ac_cxx_werror_flag"
41689 || test ! -s conftest.err'
41690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41691 (eval $ac_try) 2>&5
41692 ac_status=$?
41693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41694 (exit $ac_status); }; } &&
41695 { ac_try='test -s conftest.$ac_objext'
41696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41697 (eval $ac_try) 2>&5
41698 ac_status=$?
41699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41700 (exit $ac_status); }; }; then
41701 glibcxx_cv_func_long_double_round_use=yes
41702 else
41703 echo "$as_me: failed program was:" >&5
41704 sed 's/^/| /' conftest.$ac_ext >&5
41706 glibcxx_cv_func_long_double_round_use=no
41708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41709 ac_ext=c
41710 ac_cpp='$CPP $CPPFLAGS'
41711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41717 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
41718 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
41719 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41722 for ac_func in ceill floorl
41724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41725 echo "$as_me:$LINENO: checking for $ac_func" >&5
41726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41727 if eval "test \"\${$as_ac_var+set}\" = set"; then
41728 echo $ECHO_N "(cached) $ECHO_C" >&6
41729 else
41730 if test x$gcc_no_link = xyes; then
41731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41733 { (exit 1); exit 1; }; }
41735 cat >conftest.$ac_ext <<_ACEOF
41736 /* confdefs.h. */
41737 _ACEOF
41738 cat confdefs.h >>conftest.$ac_ext
41739 cat >>conftest.$ac_ext <<_ACEOF
41740 /* end confdefs.h. */
41741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41743 #define $ac_func innocuous_$ac_func
41745 /* System header to define __stub macros and hopefully few prototypes,
41746 which can conflict with char $ac_func (); below.
41747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41748 <limits.h> exists even on freestanding compilers. */
41750 #ifdef __STDC__
41751 # include <limits.h>
41752 #else
41753 # include <assert.h>
41754 #endif
41756 #undef $ac_func
41758 /* Override any gcc2 internal prototype to avoid an error. */
41759 #ifdef __cplusplus
41760 extern "C"
41762 #endif
41763 /* We use char because int might match the return type of a gcc2
41764 builtin and then its argument prototype would still apply. */
41765 char $ac_func ();
41766 /* The GNU C library defines this for functions which it implements
41767 to always fail with ENOSYS. Some functions are actually named
41768 something starting with __ and the normal name is an alias. */
41769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41770 choke me
41771 #else
41772 char (*f) () = $ac_func;
41773 #endif
41774 #ifdef __cplusplus
41776 #endif
41779 main ()
41781 return f != $ac_func;
41783 return 0;
41785 _ACEOF
41786 rm -f conftest.$ac_objext conftest$ac_exeext
41787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41788 (eval $ac_link) 2>conftest.er1
41789 ac_status=$?
41790 grep -v '^ *+' conftest.er1 >conftest.err
41791 rm -f conftest.er1
41792 cat conftest.err >&5
41793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41794 (exit $ac_status); } &&
41795 { ac_try='test -z "$ac_c_werror_flag"
41796 || test ! -s conftest.err'
41797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41798 (eval $ac_try) 2>&5
41799 ac_status=$?
41800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41801 (exit $ac_status); }; } &&
41802 { ac_try='test -s conftest$ac_exeext'
41803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41804 (eval $ac_try) 2>&5
41805 ac_status=$?
41806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41807 (exit $ac_status); }; }; then
41808 eval "$as_ac_var=yes"
41809 else
41810 echo "$as_me: failed program was:" >&5
41811 sed 's/^/| /' conftest.$ac_ext >&5
41813 eval "$as_ac_var=no"
41815 rm -f conftest.err conftest.$ac_objext \
41816 conftest$ac_exeext conftest.$ac_ext
41818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41819 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41820 if test `eval echo '${'$as_ac_var'}'` = yes; then
41821 cat >>confdefs.h <<_ACEOF
41822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41823 _ACEOF
41826 done
41828 else
41829 echo "$as_me:$LINENO: checking for _long double round functions" >&5
41830 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
41831 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
41832 echo $ECHO_N "(cached) $ECHO_C" >&6
41833 else
41837 ac_ext=cc
41838 ac_cpp='$CXXCPP $CPPFLAGS'
41839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41843 cat >conftest.$ac_ext <<_ACEOF
41844 /* confdefs.h. */
41845 _ACEOF
41846 cat confdefs.h >>conftest.$ac_ext
41847 cat >>conftest.$ac_ext <<_ACEOF
41848 /* end confdefs.h. */
41849 #include <math.h>
41851 main ()
41853 _ceill (0); _floorl (0);
41855 return 0;
41857 _ACEOF
41858 rm -f conftest.$ac_objext
41859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41860 (eval $ac_compile) 2>conftest.er1
41861 ac_status=$?
41862 grep -v '^ *+' conftest.er1 >conftest.err
41863 rm -f conftest.er1
41864 cat conftest.err >&5
41865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41866 (exit $ac_status); } &&
41867 { ac_try='test -z "$ac_cxx_werror_flag"
41868 || test ! -s conftest.err'
41869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41870 (eval $ac_try) 2>&5
41871 ac_status=$?
41872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41873 (exit $ac_status); }; } &&
41874 { ac_try='test -s conftest.$ac_objext'
41875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41876 (eval $ac_try) 2>&5
41877 ac_status=$?
41878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41879 (exit $ac_status); }; }; then
41880 glibcxx_cv_func__long_double_round_use=yes
41881 else
41882 echo "$as_me: failed program was:" >&5
41883 sed 's/^/| /' conftest.$ac_ext >&5
41885 glibcxx_cv_func__long_double_round_use=no
41887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41888 ac_ext=c
41889 ac_cpp='$CPP $CPPFLAGS'
41890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41896 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
41897 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
41898 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
41901 for ac_func in _ceill _floorl
41903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41904 echo "$as_me:$LINENO: checking for $ac_func" >&5
41905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41906 if eval "test \"\${$as_ac_var+set}\" = set"; then
41907 echo $ECHO_N "(cached) $ECHO_C" >&6
41908 else
41909 if test x$gcc_no_link = xyes; then
41910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41912 { (exit 1); exit 1; }; }
41914 cat >conftest.$ac_ext <<_ACEOF
41915 /* confdefs.h. */
41916 _ACEOF
41917 cat confdefs.h >>conftest.$ac_ext
41918 cat >>conftest.$ac_ext <<_ACEOF
41919 /* end confdefs.h. */
41920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41922 #define $ac_func innocuous_$ac_func
41924 /* System header to define __stub macros and hopefully few prototypes,
41925 which can conflict with char $ac_func (); below.
41926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41927 <limits.h> exists even on freestanding compilers. */
41929 #ifdef __STDC__
41930 # include <limits.h>
41931 #else
41932 # include <assert.h>
41933 #endif
41935 #undef $ac_func
41937 /* Override any gcc2 internal prototype to avoid an error. */
41938 #ifdef __cplusplus
41939 extern "C"
41941 #endif
41942 /* We use char because int might match the return type of a gcc2
41943 builtin and then its argument prototype would still apply. */
41944 char $ac_func ();
41945 /* The GNU C library defines this for functions which it implements
41946 to always fail with ENOSYS. Some functions are actually named
41947 something starting with __ and the normal name is an alias. */
41948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41949 choke me
41950 #else
41951 char (*f) () = $ac_func;
41952 #endif
41953 #ifdef __cplusplus
41955 #endif
41958 main ()
41960 return f != $ac_func;
41962 return 0;
41964 _ACEOF
41965 rm -f conftest.$ac_objext conftest$ac_exeext
41966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41967 (eval $ac_link) 2>conftest.er1
41968 ac_status=$?
41969 grep -v '^ *+' conftest.er1 >conftest.err
41970 rm -f conftest.er1
41971 cat conftest.err >&5
41972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41973 (exit $ac_status); } &&
41974 { ac_try='test -z "$ac_c_werror_flag"
41975 || test ! -s conftest.err'
41976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41977 (eval $ac_try) 2>&5
41978 ac_status=$?
41979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41980 (exit $ac_status); }; } &&
41981 { ac_try='test -s conftest$ac_exeext'
41982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41983 (eval $ac_try) 2>&5
41984 ac_status=$?
41985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41986 (exit $ac_status); }; }; then
41987 eval "$as_ac_var=yes"
41988 else
41989 echo "$as_me: failed program was:" >&5
41990 sed 's/^/| /' conftest.$ac_ext >&5
41992 eval "$as_ac_var=no"
41994 rm -f conftest.err conftest.$ac_objext \
41995 conftest$ac_exeext conftest.$ac_ext
41997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41999 if test `eval echo '${'$as_ac_var'}'` = yes; then
42000 cat >>confdefs.h <<_ACEOF
42001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42002 _ACEOF
42005 done
42017 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
42018 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
42019 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42020 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
42021 echo $ECHO_N "(cached) $ECHO_C" >&6
42022 else
42026 ac_ext=cc
42027 ac_cpp='$CXXCPP $CPPFLAGS'
42028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42032 cat >conftest.$ac_ext <<_ACEOF
42033 /* confdefs.h. */
42034 _ACEOF
42035 cat confdefs.h >>conftest.$ac_ext
42036 cat >>conftest.$ac_ext <<_ACEOF
42037 /* end confdefs.h. */
42038 #include <math.h>
42039 #ifdef HAVE_IEEEFP_H
42040 #include <ieeefp.h>
42041 #endif
42044 main ()
42046 isnanl(0);
42048 return 0;
42050 _ACEOF
42051 rm -f conftest.$ac_objext
42052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42053 (eval $ac_compile) 2>conftest.er1
42054 ac_status=$?
42055 grep -v '^ *+' conftest.er1 >conftest.err
42056 rm -f conftest.er1
42057 cat conftest.err >&5
42058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42059 (exit $ac_status); } &&
42060 { ac_try='test -z "$ac_cxx_werror_flag"
42061 || test ! -s conftest.err'
42062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42063 (eval $ac_try) 2>&5
42064 ac_status=$?
42065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42066 (exit $ac_status); }; } &&
42067 { ac_try='test -s conftest.$ac_objext'
42068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42069 (eval $ac_try) 2>&5
42070 ac_status=$?
42071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42072 (exit $ac_status); }; }; then
42073 glibcxx_cv_func_isnanl_use=yes
42074 else
42075 echo "$as_me: failed program was:" >&5
42076 sed 's/^/| /' conftest.$ac_ext >&5
42078 glibcxx_cv_func_isnanl_use=no
42080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42081 ac_ext=c
42082 ac_cpp='$CPP $CPPFLAGS'
42083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42091 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
42092 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
42094 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42096 for ac_func in isnanl
42098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42099 echo "$as_me:$LINENO: checking for $ac_func" >&5
42100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42101 if eval "test \"\${$as_ac_var+set}\" = set"; then
42102 echo $ECHO_N "(cached) $ECHO_C" >&6
42103 else
42104 if test x$gcc_no_link = xyes; then
42105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42107 { (exit 1); exit 1; }; }
42109 cat >conftest.$ac_ext <<_ACEOF
42110 /* confdefs.h. */
42111 _ACEOF
42112 cat confdefs.h >>conftest.$ac_ext
42113 cat >>conftest.$ac_ext <<_ACEOF
42114 /* end confdefs.h. */
42115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42117 #define $ac_func innocuous_$ac_func
42119 /* System header to define __stub macros and hopefully few prototypes,
42120 which can conflict with char $ac_func (); below.
42121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42122 <limits.h> exists even on freestanding compilers. */
42124 #ifdef __STDC__
42125 # include <limits.h>
42126 #else
42127 # include <assert.h>
42128 #endif
42130 #undef $ac_func
42132 /* Override any gcc2 internal prototype to avoid an error. */
42133 #ifdef __cplusplus
42134 extern "C"
42136 #endif
42137 /* We use char because int might match the return type of a gcc2
42138 builtin and then its argument prototype would still apply. */
42139 char $ac_func ();
42140 /* The GNU C library defines this for functions which it implements
42141 to always fail with ENOSYS. Some functions are actually named
42142 something starting with __ and the normal name is an alias. */
42143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42144 choke me
42145 #else
42146 char (*f) () = $ac_func;
42147 #endif
42148 #ifdef __cplusplus
42150 #endif
42153 main ()
42155 return f != $ac_func;
42157 return 0;
42159 _ACEOF
42160 rm -f conftest.$ac_objext conftest$ac_exeext
42161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42162 (eval $ac_link) 2>conftest.er1
42163 ac_status=$?
42164 grep -v '^ *+' conftest.er1 >conftest.err
42165 rm -f conftest.er1
42166 cat conftest.err >&5
42167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42168 (exit $ac_status); } &&
42169 { ac_try='test -z "$ac_c_werror_flag"
42170 || test ! -s conftest.err'
42171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42172 (eval $ac_try) 2>&5
42173 ac_status=$?
42174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42175 (exit $ac_status); }; } &&
42176 { ac_try='test -s conftest$ac_exeext'
42177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42178 (eval $ac_try) 2>&5
42179 ac_status=$?
42180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42181 (exit $ac_status); }; }; then
42182 eval "$as_ac_var=yes"
42183 else
42184 echo "$as_me: failed program was:" >&5
42185 sed 's/^/| /' conftest.$ac_ext >&5
42187 eval "$as_ac_var=no"
42189 rm -f conftest.err conftest.$ac_objext \
42190 conftest$ac_exeext conftest.$ac_ext
42192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42194 if test `eval echo '${'$as_ac_var'}'` = yes; then
42195 cat >>confdefs.h <<_ACEOF
42196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42197 _ACEOF
42200 done
42202 else
42204 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
42205 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
42206 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42207 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
42208 echo $ECHO_N "(cached) $ECHO_C" >&6
42209 else
42213 ac_ext=cc
42214 ac_cpp='$CXXCPP $CPPFLAGS'
42215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42219 cat >conftest.$ac_ext <<_ACEOF
42220 /* confdefs.h. */
42221 _ACEOF
42222 cat confdefs.h >>conftest.$ac_ext
42223 cat >>conftest.$ac_ext <<_ACEOF
42224 /* end confdefs.h. */
42225 #include <math.h>
42226 #ifdef HAVE_IEEEFP_H
42227 #include <ieeefp.h>
42228 #endif
42231 main ()
42233 _isnanl(0);
42235 return 0;
42237 _ACEOF
42238 rm -f conftest.$ac_objext
42239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42240 (eval $ac_compile) 2>conftest.er1
42241 ac_status=$?
42242 grep -v '^ *+' conftest.er1 >conftest.err
42243 rm -f conftest.er1
42244 cat conftest.err >&5
42245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42246 (exit $ac_status); } &&
42247 { ac_try='test -z "$ac_cxx_werror_flag"
42248 || test ! -s conftest.err'
42249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42250 (eval $ac_try) 2>&5
42251 ac_status=$?
42252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42253 (exit $ac_status); }; } &&
42254 { ac_try='test -s conftest.$ac_objext'
42255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42256 (eval $ac_try) 2>&5
42257 ac_status=$?
42258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42259 (exit $ac_status); }; }; then
42260 glibcxx_cv_func__isnanl_use=yes
42261 else
42262 echo "$as_me: failed program was:" >&5
42263 sed 's/^/| /' conftest.$ac_ext >&5
42265 glibcxx_cv_func__isnanl_use=no
42267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42268 ac_ext=c
42269 ac_cpp='$CPP $CPPFLAGS'
42270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42278 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
42279 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
42281 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42283 for ac_func in _isnanl
42285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42286 echo "$as_me:$LINENO: checking for $ac_func" >&5
42287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42288 if eval "test \"\${$as_ac_var+set}\" = set"; then
42289 echo $ECHO_N "(cached) $ECHO_C" >&6
42290 else
42291 if test x$gcc_no_link = xyes; then
42292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42294 { (exit 1); exit 1; }; }
42296 cat >conftest.$ac_ext <<_ACEOF
42297 /* confdefs.h. */
42298 _ACEOF
42299 cat confdefs.h >>conftest.$ac_ext
42300 cat >>conftest.$ac_ext <<_ACEOF
42301 /* end confdefs.h. */
42302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42304 #define $ac_func innocuous_$ac_func
42306 /* System header to define __stub macros and hopefully few prototypes,
42307 which can conflict with char $ac_func (); below.
42308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42309 <limits.h> exists even on freestanding compilers. */
42311 #ifdef __STDC__
42312 # include <limits.h>
42313 #else
42314 # include <assert.h>
42315 #endif
42317 #undef $ac_func
42319 /* Override any gcc2 internal prototype to avoid an error. */
42320 #ifdef __cplusplus
42321 extern "C"
42323 #endif
42324 /* We use char because int might match the return type of a gcc2
42325 builtin and then its argument prototype would still apply. */
42326 char $ac_func ();
42327 /* The GNU C library defines this for functions which it implements
42328 to always fail with ENOSYS. Some functions are actually named
42329 something starting with __ and the normal name is an alias. */
42330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42331 choke me
42332 #else
42333 char (*f) () = $ac_func;
42334 #endif
42335 #ifdef __cplusplus
42337 #endif
42340 main ()
42342 return f != $ac_func;
42344 return 0;
42346 _ACEOF
42347 rm -f conftest.$ac_objext conftest$ac_exeext
42348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42349 (eval $ac_link) 2>conftest.er1
42350 ac_status=$?
42351 grep -v '^ *+' conftest.er1 >conftest.err
42352 rm -f conftest.er1
42353 cat conftest.err >&5
42354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42355 (exit $ac_status); } &&
42356 { ac_try='test -z "$ac_c_werror_flag"
42357 || test ! -s conftest.err'
42358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42359 (eval $ac_try) 2>&5
42360 ac_status=$?
42361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42362 (exit $ac_status); }; } &&
42363 { ac_try='test -s conftest$ac_exeext'
42364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42365 (eval $ac_try) 2>&5
42366 ac_status=$?
42367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42368 (exit $ac_status); }; }; then
42369 eval "$as_ac_var=yes"
42370 else
42371 echo "$as_me: failed program was:" >&5
42372 sed 's/^/| /' conftest.$ac_ext >&5
42374 eval "$as_ac_var=no"
42376 rm -f conftest.err conftest.$ac_objext \
42377 conftest$ac_exeext conftest.$ac_ext
42379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42381 if test `eval echo '${'$as_ac_var'}'` = yes; then
42382 cat >>confdefs.h <<_ACEOF
42383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42384 _ACEOF
42387 done
42397 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
42398 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
42399 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42400 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
42401 echo $ECHO_N "(cached) $ECHO_C" >&6
42402 else
42406 ac_ext=cc
42407 ac_cpp='$CXXCPP $CPPFLAGS'
42408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42412 cat >conftest.$ac_ext <<_ACEOF
42413 /* confdefs.h. */
42414 _ACEOF
42415 cat confdefs.h >>conftest.$ac_ext
42416 cat >>conftest.$ac_ext <<_ACEOF
42417 /* end confdefs.h. */
42418 #include <math.h>
42419 #ifdef HAVE_IEEEFP_H
42420 #include <ieeefp.h>
42421 #endif
42424 main ()
42426 isinfl(0);
42428 return 0;
42430 _ACEOF
42431 rm -f conftest.$ac_objext
42432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42433 (eval $ac_compile) 2>conftest.er1
42434 ac_status=$?
42435 grep -v '^ *+' conftest.er1 >conftest.err
42436 rm -f conftest.er1
42437 cat conftest.err >&5
42438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42439 (exit $ac_status); } &&
42440 { ac_try='test -z "$ac_cxx_werror_flag"
42441 || test ! -s conftest.err'
42442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42443 (eval $ac_try) 2>&5
42444 ac_status=$?
42445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42446 (exit $ac_status); }; } &&
42447 { ac_try='test -s conftest.$ac_objext'
42448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42449 (eval $ac_try) 2>&5
42450 ac_status=$?
42451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42452 (exit $ac_status); }; }; then
42453 glibcxx_cv_func_isinfl_use=yes
42454 else
42455 echo "$as_me: failed program was:" >&5
42456 sed 's/^/| /' conftest.$ac_ext >&5
42458 glibcxx_cv_func_isinfl_use=no
42460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42461 ac_ext=c
42462 ac_cpp='$CPP $CPPFLAGS'
42463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42471 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
42472 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
42474 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42476 for ac_func in isinfl
42478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42479 echo "$as_me:$LINENO: checking for $ac_func" >&5
42480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42481 if eval "test \"\${$as_ac_var+set}\" = set"; then
42482 echo $ECHO_N "(cached) $ECHO_C" >&6
42483 else
42484 if test x$gcc_no_link = xyes; then
42485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42487 { (exit 1); exit 1; }; }
42489 cat >conftest.$ac_ext <<_ACEOF
42490 /* confdefs.h. */
42491 _ACEOF
42492 cat confdefs.h >>conftest.$ac_ext
42493 cat >>conftest.$ac_ext <<_ACEOF
42494 /* end confdefs.h. */
42495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42497 #define $ac_func innocuous_$ac_func
42499 /* System header to define __stub macros and hopefully few prototypes,
42500 which can conflict with char $ac_func (); below.
42501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42502 <limits.h> exists even on freestanding compilers. */
42504 #ifdef __STDC__
42505 # include <limits.h>
42506 #else
42507 # include <assert.h>
42508 #endif
42510 #undef $ac_func
42512 /* Override any gcc2 internal prototype to avoid an error. */
42513 #ifdef __cplusplus
42514 extern "C"
42516 #endif
42517 /* We use char because int might match the return type of a gcc2
42518 builtin and then its argument prototype would still apply. */
42519 char $ac_func ();
42520 /* The GNU C library defines this for functions which it implements
42521 to always fail with ENOSYS. Some functions are actually named
42522 something starting with __ and the normal name is an alias. */
42523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42524 choke me
42525 #else
42526 char (*f) () = $ac_func;
42527 #endif
42528 #ifdef __cplusplus
42530 #endif
42533 main ()
42535 return f != $ac_func;
42537 return 0;
42539 _ACEOF
42540 rm -f conftest.$ac_objext conftest$ac_exeext
42541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42542 (eval $ac_link) 2>conftest.er1
42543 ac_status=$?
42544 grep -v '^ *+' conftest.er1 >conftest.err
42545 rm -f conftest.er1
42546 cat conftest.err >&5
42547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42548 (exit $ac_status); } &&
42549 { ac_try='test -z "$ac_c_werror_flag"
42550 || test ! -s conftest.err'
42551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42552 (eval $ac_try) 2>&5
42553 ac_status=$?
42554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42555 (exit $ac_status); }; } &&
42556 { ac_try='test -s conftest$ac_exeext'
42557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42558 (eval $ac_try) 2>&5
42559 ac_status=$?
42560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42561 (exit $ac_status); }; }; then
42562 eval "$as_ac_var=yes"
42563 else
42564 echo "$as_me: failed program was:" >&5
42565 sed 's/^/| /' conftest.$ac_ext >&5
42567 eval "$as_ac_var=no"
42569 rm -f conftest.err conftest.$ac_objext \
42570 conftest$ac_exeext conftest.$ac_ext
42572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42574 if test `eval echo '${'$as_ac_var'}'` = yes; then
42575 cat >>confdefs.h <<_ACEOF
42576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42577 _ACEOF
42580 done
42582 else
42584 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
42585 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
42586 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42587 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
42588 echo $ECHO_N "(cached) $ECHO_C" >&6
42589 else
42593 ac_ext=cc
42594 ac_cpp='$CXXCPP $CPPFLAGS'
42595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42599 cat >conftest.$ac_ext <<_ACEOF
42600 /* confdefs.h. */
42601 _ACEOF
42602 cat confdefs.h >>conftest.$ac_ext
42603 cat >>conftest.$ac_ext <<_ACEOF
42604 /* end confdefs.h. */
42605 #include <math.h>
42606 #ifdef HAVE_IEEEFP_H
42607 #include <ieeefp.h>
42608 #endif
42611 main ()
42613 _isinfl(0);
42615 return 0;
42617 _ACEOF
42618 rm -f conftest.$ac_objext
42619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42620 (eval $ac_compile) 2>conftest.er1
42621 ac_status=$?
42622 grep -v '^ *+' conftest.er1 >conftest.err
42623 rm -f conftest.er1
42624 cat conftest.err >&5
42625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42626 (exit $ac_status); } &&
42627 { ac_try='test -z "$ac_cxx_werror_flag"
42628 || test ! -s conftest.err'
42629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42630 (eval $ac_try) 2>&5
42631 ac_status=$?
42632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42633 (exit $ac_status); }; } &&
42634 { ac_try='test -s conftest.$ac_objext'
42635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42636 (eval $ac_try) 2>&5
42637 ac_status=$?
42638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42639 (exit $ac_status); }; }; then
42640 glibcxx_cv_func__isinfl_use=yes
42641 else
42642 echo "$as_me: failed program was:" >&5
42643 sed 's/^/| /' conftest.$ac_ext >&5
42645 glibcxx_cv_func__isinfl_use=no
42647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42648 ac_ext=c
42649 ac_cpp='$CPP $CPPFLAGS'
42650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42658 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
42659 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
42661 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42663 for ac_func in _isinfl
42665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42666 echo "$as_me:$LINENO: checking for $ac_func" >&5
42667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42668 if eval "test \"\${$as_ac_var+set}\" = set"; then
42669 echo $ECHO_N "(cached) $ECHO_C" >&6
42670 else
42671 if test x$gcc_no_link = xyes; then
42672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42674 { (exit 1); exit 1; }; }
42676 cat >conftest.$ac_ext <<_ACEOF
42677 /* confdefs.h. */
42678 _ACEOF
42679 cat confdefs.h >>conftest.$ac_ext
42680 cat >>conftest.$ac_ext <<_ACEOF
42681 /* end confdefs.h. */
42682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42684 #define $ac_func innocuous_$ac_func
42686 /* System header to define __stub macros and hopefully few prototypes,
42687 which can conflict with char $ac_func (); below.
42688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42689 <limits.h> exists even on freestanding compilers. */
42691 #ifdef __STDC__
42692 # include <limits.h>
42693 #else
42694 # include <assert.h>
42695 #endif
42697 #undef $ac_func
42699 /* Override any gcc2 internal prototype to avoid an error. */
42700 #ifdef __cplusplus
42701 extern "C"
42703 #endif
42704 /* We use char because int might match the return type of a gcc2
42705 builtin and then its argument prototype would still apply. */
42706 char $ac_func ();
42707 /* The GNU C library defines this for functions which it implements
42708 to always fail with ENOSYS. Some functions are actually named
42709 something starting with __ and the normal name is an alias. */
42710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42711 choke me
42712 #else
42713 char (*f) () = $ac_func;
42714 #endif
42715 #ifdef __cplusplus
42717 #endif
42720 main ()
42722 return f != $ac_func;
42724 return 0;
42726 _ACEOF
42727 rm -f conftest.$ac_objext conftest$ac_exeext
42728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42729 (eval $ac_link) 2>conftest.er1
42730 ac_status=$?
42731 grep -v '^ *+' conftest.er1 >conftest.err
42732 rm -f conftest.er1
42733 cat conftest.err >&5
42734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42735 (exit $ac_status); } &&
42736 { ac_try='test -z "$ac_c_werror_flag"
42737 || test ! -s conftest.err'
42738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42739 (eval $ac_try) 2>&5
42740 ac_status=$?
42741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42742 (exit $ac_status); }; } &&
42743 { ac_try='test -s conftest$ac_exeext'
42744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42745 (eval $ac_try) 2>&5
42746 ac_status=$?
42747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42748 (exit $ac_status); }; }; then
42749 eval "$as_ac_var=yes"
42750 else
42751 echo "$as_me: failed program was:" >&5
42752 sed 's/^/| /' conftest.$ac_ext >&5
42754 eval "$as_ac_var=no"
42756 rm -f conftest.err conftest.$ac_objext \
42757 conftest$ac_exeext conftest.$ac_ext
42759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42761 if test `eval echo '${'$as_ac_var'}'` = yes; then
42762 cat >>confdefs.h <<_ACEOF
42763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42764 _ACEOF
42767 done
42777 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
42778 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
42779 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
42780 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
42781 echo $ECHO_N "(cached) $ECHO_C" >&6
42782 else
42786 ac_ext=cc
42787 ac_cpp='$CXXCPP $CPPFLAGS'
42788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42792 cat >conftest.$ac_ext <<_ACEOF
42793 /* confdefs.h. */
42794 _ACEOF
42795 cat confdefs.h >>conftest.$ac_ext
42796 cat >>conftest.$ac_ext <<_ACEOF
42797 /* end confdefs.h. */
42798 #include <math.h>
42800 main ()
42802 copysignl(0, 0);
42804 return 0;
42806 _ACEOF
42807 rm -f conftest.$ac_objext
42808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42809 (eval $ac_compile) 2>conftest.er1
42810 ac_status=$?
42811 grep -v '^ *+' conftest.er1 >conftest.err
42812 rm -f conftest.er1
42813 cat conftest.err >&5
42814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42815 (exit $ac_status); } &&
42816 { ac_try='test -z "$ac_cxx_werror_flag"
42817 || test ! -s conftest.err'
42818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42819 (eval $ac_try) 2>&5
42820 ac_status=$?
42821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42822 (exit $ac_status); }; } &&
42823 { ac_try='test -s conftest.$ac_objext'
42824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42825 (eval $ac_try) 2>&5
42826 ac_status=$?
42827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42828 (exit $ac_status); }; }; then
42829 glibcxx_cv_func_copysignl_use=yes
42830 else
42831 echo "$as_me: failed program was:" >&5
42832 sed 's/^/| /' conftest.$ac_ext >&5
42834 glibcxx_cv_func_copysignl_use=no
42836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42837 ac_ext=c
42838 ac_cpp='$CPP $CPPFLAGS'
42839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42847 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
42848 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
42850 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
42852 for ac_func in copysignl
42854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42855 echo "$as_me:$LINENO: checking for $ac_func" >&5
42856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42857 if eval "test \"\${$as_ac_var+set}\" = set"; then
42858 echo $ECHO_N "(cached) $ECHO_C" >&6
42859 else
42860 if test x$gcc_no_link = xyes; then
42861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42863 { (exit 1); exit 1; }; }
42865 cat >conftest.$ac_ext <<_ACEOF
42866 /* confdefs.h. */
42867 _ACEOF
42868 cat confdefs.h >>conftest.$ac_ext
42869 cat >>conftest.$ac_ext <<_ACEOF
42870 /* end confdefs.h. */
42871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42873 #define $ac_func innocuous_$ac_func
42875 /* System header to define __stub macros and hopefully few prototypes,
42876 which can conflict with char $ac_func (); below.
42877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42878 <limits.h> exists even on freestanding compilers. */
42880 #ifdef __STDC__
42881 # include <limits.h>
42882 #else
42883 # include <assert.h>
42884 #endif
42886 #undef $ac_func
42888 /* Override any gcc2 internal prototype to avoid an error. */
42889 #ifdef __cplusplus
42890 extern "C"
42892 #endif
42893 /* We use char because int might match the return type of a gcc2
42894 builtin and then its argument prototype would still apply. */
42895 char $ac_func ();
42896 /* The GNU C library defines this for functions which it implements
42897 to always fail with ENOSYS. Some functions are actually named
42898 something starting with __ and the normal name is an alias. */
42899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42900 choke me
42901 #else
42902 char (*f) () = $ac_func;
42903 #endif
42904 #ifdef __cplusplus
42906 #endif
42909 main ()
42911 return f != $ac_func;
42913 return 0;
42915 _ACEOF
42916 rm -f conftest.$ac_objext conftest$ac_exeext
42917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42918 (eval $ac_link) 2>conftest.er1
42919 ac_status=$?
42920 grep -v '^ *+' conftest.er1 >conftest.err
42921 rm -f conftest.er1
42922 cat conftest.err >&5
42923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42924 (exit $ac_status); } &&
42925 { ac_try='test -z "$ac_c_werror_flag"
42926 || test ! -s conftest.err'
42927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42928 (eval $ac_try) 2>&5
42929 ac_status=$?
42930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42931 (exit $ac_status); }; } &&
42932 { ac_try='test -s conftest$ac_exeext'
42933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42934 (eval $ac_try) 2>&5
42935 ac_status=$?
42936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42937 (exit $ac_status); }; }; then
42938 eval "$as_ac_var=yes"
42939 else
42940 echo "$as_me: failed program was:" >&5
42941 sed 's/^/| /' conftest.$ac_ext >&5
42943 eval "$as_ac_var=no"
42945 rm -f conftest.err conftest.$ac_objext \
42946 conftest$ac_exeext conftest.$ac_ext
42948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42950 if test `eval echo '${'$as_ac_var'}'` = yes; then
42951 cat >>confdefs.h <<_ACEOF
42952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42953 _ACEOF
42956 done
42958 else
42960 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
42961 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
42962 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
42963 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
42964 echo $ECHO_N "(cached) $ECHO_C" >&6
42965 else
42969 ac_ext=cc
42970 ac_cpp='$CXXCPP $CPPFLAGS'
42971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42975 cat >conftest.$ac_ext <<_ACEOF
42976 /* confdefs.h. */
42977 _ACEOF
42978 cat confdefs.h >>conftest.$ac_ext
42979 cat >>conftest.$ac_ext <<_ACEOF
42980 /* end confdefs.h. */
42981 #include <math.h>
42983 main ()
42985 _copysignl(0, 0);
42987 return 0;
42989 _ACEOF
42990 rm -f conftest.$ac_objext
42991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42992 (eval $ac_compile) 2>conftest.er1
42993 ac_status=$?
42994 grep -v '^ *+' conftest.er1 >conftest.err
42995 rm -f conftest.er1
42996 cat conftest.err >&5
42997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42998 (exit $ac_status); } &&
42999 { ac_try='test -z "$ac_cxx_werror_flag"
43000 || test ! -s conftest.err'
43001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43002 (eval $ac_try) 2>&5
43003 ac_status=$?
43004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43005 (exit $ac_status); }; } &&
43006 { ac_try='test -s conftest.$ac_objext'
43007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43008 (eval $ac_try) 2>&5
43009 ac_status=$?
43010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43011 (exit $ac_status); }; }; then
43012 glibcxx_cv_func__copysignl_use=yes
43013 else
43014 echo "$as_me: failed program was:" >&5
43015 sed 's/^/| /' conftest.$ac_ext >&5
43017 glibcxx_cv_func__copysignl_use=no
43019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43020 ac_ext=c
43021 ac_cpp='$CPP $CPPFLAGS'
43022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43030 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
43031 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
43033 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
43035 for ac_func in _copysignl
43037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43038 echo "$as_me:$LINENO: checking for $ac_func" >&5
43039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43040 if eval "test \"\${$as_ac_var+set}\" = set"; then
43041 echo $ECHO_N "(cached) $ECHO_C" >&6
43042 else
43043 if test x$gcc_no_link = xyes; then
43044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43046 { (exit 1); exit 1; }; }
43048 cat >conftest.$ac_ext <<_ACEOF
43049 /* confdefs.h. */
43050 _ACEOF
43051 cat confdefs.h >>conftest.$ac_ext
43052 cat >>conftest.$ac_ext <<_ACEOF
43053 /* end confdefs.h. */
43054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43056 #define $ac_func innocuous_$ac_func
43058 /* System header to define __stub macros and hopefully few prototypes,
43059 which can conflict with char $ac_func (); below.
43060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43061 <limits.h> exists even on freestanding compilers. */
43063 #ifdef __STDC__
43064 # include <limits.h>
43065 #else
43066 # include <assert.h>
43067 #endif
43069 #undef $ac_func
43071 /* Override any gcc2 internal prototype to avoid an error. */
43072 #ifdef __cplusplus
43073 extern "C"
43075 #endif
43076 /* We use char because int might match the return type of a gcc2
43077 builtin and then its argument prototype would still apply. */
43078 char $ac_func ();
43079 /* The GNU C library defines this for functions which it implements
43080 to always fail with ENOSYS. Some functions are actually named
43081 something starting with __ and the normal name is an alias. */
43082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43083 choke me
43084 #else
43085 char (*f) () = $ac_func;
43086 #endif
43087 #ifdef __cplusplus
43089 #endif
43092 main ()
43094 return f != $ac_func;
43096 return 0;
43098 _ACEOF
43099 rm -f conftest.$ac_objext conftest$ac_exeext
43100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43101 (eval $ac_link) 2>conftest.er1
43102 ac_status=$?
43103 grep -v '^ *+' conftest.er1 >conftest.err
43104 rm -f conftest.er1
43105 cat conftest.err >&5
43106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43107 (exit $ac_status); } &&
43108 { ac_try='test -z "$ac_c_werror_flag"
43109 || test ! -s conftest.err'
43110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43111 (eval $ac_try) 2>&5
43112 ac_status=$?
43113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43114 (exit $ac_status); }; } &&
43115 { ac_try='test -s conftest$ac_exeext'
43116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43117 (eval $ac_try) 2>&5
43118 ac_status=$?
43119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43120 (exit $ac_status); }; }; then
43121 eval "$as_ac_var=yes"
43122 else
43123 echo "$as_me: failed program was:" >&5
43124 sed 's/^/| /' conftest.$ac_ext >&5
43126 eval "$as_ac_var=no"
43128 rm -f conftest.err conftest.$ac_objext \
43129 conftest$ac_exeext conftest.$ac_ext
43131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43133 if test `eval echo '${'$as_ac_var'}'` = yes; then
43134 cat >>confdefs.h <<_ACEOF
43135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43136 _ACEOF
43139 done
43149 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
43150 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
43151 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43152 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
43153 echo $ECHO_N "(cached) $ECHO_C" >&6
43154 else
43158 ac_ext=cc
43159 ac_cpp='$CXXCPP $CPPFLAGS'
43160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43164 cat >conftest.$ac_ext <<_ACEOF
43165 /* confdefs.h. */
43166 _ACEOF
43167 cat confdefs.h >>conftest.$ac_ext
43168 cat >>conftest.$ac_ext <<_ACEOF
43169 /* end confdefs.h. */
43170 #include <math.h>
43172 main ()
43174 atan2l(0, 0);
43176 return 0;
43178 _ACEOF
43179 rm -f conftest.$ac_objext
43180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43181 (eval $ac_compile) 2>conftest.er1
43182 ac_status=$?
43183 grep -v '^ *+' conftest.er1 >conftest.err
43184 rm -f conftest.er1
43185 cat conftest.err >&5
43186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43187 (exit $ac_status); } &&
43188 { ac_try='test -z "$ac_cxx_werror_flag"
43189 || test ! -s conftest.err'
43190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43191 (eval $ac_try) 2>&5
43192 ac_status=$?
43193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43194 (exit $ac_status); }; } &&
43195 { ac_try='test -s conftest.$ac_objext'
43196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43197 (eval $ac_try) 2>&5
43198 ac_status=$?
43199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43200 (exit $ac_status); }; }; then
43201 glibcxx_cv_func_atan2l_use=yes
43202 else
43203 echo "$as_me: failed program was:" >&5
43204 sed 's/^/| /' conftest.$ac_ext >&5
43206 glibcxx_cv_func_atan2l_use=no
43208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43209 ac_ext=c
43210 ac_cpp='$CPP $CPPFLAGS'
43211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43219 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
43220 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
43222 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43224 for ac_func in atan2l
43226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43227 echo "$as_me:$LINENO: checking for $ac_func" >&5
43228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43229 if eval "test \"\${$as_ac_var+set}\" = set"; then
43230 echo $ECHO_N "(cached) $ECHO_C" >&6
43231 else
43232 if test x$gcc_no_link = xyes; then
43233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43235 { (exit 1); exit 1; }; }
43237 cat >conftest.$ac_ext <<_ACEOF
43238 /* confdefs.h. */
43239 _ACEOF
43240 cat confdefs.h >>conftest.$ac_ext
43241 cat >>conftest.$ac_ext <<_ACEOF
43242 /* end confdefs.h. */
43243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43245 #define $ac_func innocuous_$ac_func
43247 /* System header to define __stub macros and hopefully few prototypes,
43248 which can conflict with char $ac_func (); below.
43249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43250 <limits.h> exists even on freestanding compilers. */
43252 #ifdef __STDC__
43253 # include <limits.h>
43254 #else
43255 # include <assert.h>
43256 #endif
43258 #undef $ac_func
43260 /* Override any gcc2 internal prototype to avoid an error. */
43261 #ifdef __cplusplus
43262 extern "C"
43264 #endif
43265 /* We use char because int might match the return type of a gcc2
43266 builtin and then its argument prototype would still apply. */
43267 char $ac_func ();
43268 /* The GNU C library defines this for functions which it implements
43269 to always fail with ENOSYS. Some functions are actually named
43270 something starting with __ and the normal name is an alias. */
43271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43272 choke me
43273 #else
43274 char (*f) () = $ac_func;
43275 #endif
43276 #ifdef __cplusplus
43278 #endif
43281 main ()
43283 return f != $ac_func;
43285 return 0;
43287 _ACEOF
43288 rm -f conftest.$ac_objext conftest$ac_exeext
43289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43290 (eval $ac_link) 2>conftest.er1
43291 ac_status=$?
43292 grep -v '^ *+' conftest.er1 >conftest.err
43293 rm -f conftest.er1
43294 cat conftest.err >&5
43295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43296 (exit $ac_status); } &&
43297 { ac_try='test -z "$ac_c_werror_flag"
43298 || test ! -s conftest.err'
43299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43300 (eval $ac_try) 2>&5
43301 ac_status=$?
43302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43303 (exit $ac_status); }; } &&
43304 { ac_try='test -s conftest$ac_exeext'
43305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43306 (eval $ac_try) 2>&5
43307 ac_status=$?
43308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43309 (exit $ac_status); }; }; then
43310 eval "$as_ac_var=yes"
43311 else
43312 echo "$as_me: failed program was:" >&5
43313 sed 's/^/| /' conftest.$ac_ext >&5
43315 eval "$as_ac_var=no"
43317 rm -f conftest.err conftest.$ac_objext \
43318 conftest$ac_exeext conftest.$ac_ext
43320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43322 if test `eval echo '${'$as_ac_var'}'` = yes; then
43323 cat >>confdefs.h <<_ACEOF
43324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43325 _ACEOF
43328 done
43330 else
43332 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
43333 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
43334 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43335 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
43336 echo $ECHO_N "(cached) $ECHO_C" >&6
43337 else
43341 ac_ext=cc
43342 ac_cpp='$CXXCPP $CPPFLAGS'
43343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43347 cat >conftest.$ac_ext <<_ACEOF
43348 /* confdefs.h. */
43349 _ACEOF
43350 cat confdefs.h >>conftest.$ac_ext
43351 cat >>conftest.$ac_ext <<_ACEOF
43352 /* end confdefs.h. */
43353 #include <math.h>
43355 main ()
43357 _atan2l(0, 0);
43359 return 0;
43361 _ACEOF
43362 rm -f conftest.$ac_objext
43363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43364 (eval $ac_compile) 2>conftest.er1
43365 ac_status=$?
43366 grep -v '^ *+' conftest.er1 >conftest.err
43367 rm -f conftest.er1
43368 cat conftest.err >&5
43369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43370 (exit $ac_status); } &&
43371 { ac_try='test -z "$ac_cxx_werror_flag"
43372 || test ! -s conftest.err'
43373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43374 (eval $ac_try) 2>&5
43375 ac_status=$?
43376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43377 (exit $ac_status); }; } &&
43378 { ac_try='test -s conftest.$ac_objext'
43379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43380 (eval $ac_try) 2>&5
43381 ac_status=$?
43382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43383 (exit $ac_status); }; }; then
43384 glibcxx_cv_func__atan2l_use=yes
43385 else
43386 echo "$as_me: failed program was:" >&5
43387 sed 's/^/| /' conftest.$ac_ext >&5
43389 glibcxx_cv_func__atan2l_use=no
43391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43392 ac_ext=c
43393 ac_cpp='$CPP $CPPFLAGS'
43394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43402 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
43403 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
43405 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43407 for ac_func in _atan2l
43409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43410 echo "$as_me:$LINENO: checking for $ac_func" >&5
43411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43412 if eval "test \"\${$as_ac_var+set}\" = set"; then
43413 echo $ECHO_N "(cached) $ECHO_C" >&6
43414 else
43415 if test x$gcc_no_link = xyes; then
43416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43418 { (exit 1); exit 1; }; }
43420 cat >conftest.$ac_ext <<_ACEOF
43421 /* confdefs.h. */
43422 _ACEOF
43423 cat confdefs.h >>conftest.$ac_ext
43424 cat >>conftest.$ac_ext <<_ACEOF
43425 /* end confdefs.h. */
43426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43428 #define $ac_func innocuous_$ac_func
43430 /* System header to define __stub macros and hopefully few prototypes,
43431 which can conflict with char $ac_func (); below.
43432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43433 <limits.h> exists even on freestanding compilers. */
43435 #ifdef __STDC__
43436 # include <limits.h>
43437 #else
43438 # include <assert.h>
43439 #endif
43441 #undef $ac_func
43443 /* Override any gcc2 internal prototype to avoid an error. */
43444 #ifdef __cplusplus
43445 extern "C"
43447 #endif
43448 /* We use char because int might match the return type of a gcc2
43449 builtin and then its argument prototype would still apply. */
43450 char $ac_func ();
43451 /* The GNU C library defines this for functions which it implements
43452 to always fail with ENOSYS. Some functions are actually named
43453 something starting with __ and the normal name is an alias. */
43454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43455 choke me
43456 #else
43457 char (*f) () = $ac_func;
43458 #endif
43459 #ifdef __cplusplus
43461 #endif
43464 main ()
43466 return f != $ac_func;
43468 return 0;
43470 _ACEOF
43471 rm -f conftest.$ac_objext conftest$ac_exeext
43472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43473 (eval $ac_link) 2>conftest.er1
43474 ac_status=$?
43475 grep -v '^ *+' conftest.er1 >conftest.err
43476 rm -f conftest.er1
43477 cat conftest.err >&5
43478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43479 (exit $ac_status); } &&
43480 { ac_try='test -z "$ac_c_werror_flag"
43481 || test ! -s conftest.err'
43482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43483 (eval $ac_try) 2>&5
43484 ac_status=$?
43485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43486 (exit $ac_status); }; } &&
43487 { ac_try='test -s conftest$ac_exeext'
43488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43489 (eval $ac_try) 2>&5
43490 ac_status=$?
43491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43492 (exit $ac_status); }; }; then
43493 eval "$as_ac_var=yes"
43494 else
43495 echo "$as_me: failed program was:" >&5
43496 sed 's/^/| /' conftest.$ac_ext >&5
43498 eval "$as_ac_var=no"
43500 rm -f conftest.err conftest.$ac_objext \
43501 conftest$ac_exeext conftest.$ac_ext
43503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43505 if test `eval echo '${'$as_ac_var'}'` = yes; then
43506 cat >>confdefs.h <<_ACEOF
43507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43508 _ACEOF
43511 done
43521 echo "$as_me:$LINENO: checking for expl declaration" >&5
43522 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
43523 if test x${glibcxx_cv_func_expl_use+set} != xset; then
43524 if test "${glibcxx_cv_func_expl_use+set}" = set; then
43525 echo $ECHO_N "(cached) $ECHO_C" >&6
43526 else
43530 ac_ext=cc
43531 ac_cpp='$CXXCPP $CPPFLAGS'
43532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43536 cat >conftest.$ac_ext <<_ACEOF
43537 /* confdefs.h. */
43538 _ACEOF
43539 cat confdefs.h >>conftest.$ac_ext
43540 cat >>conftest.$ac_ext <<_ACEOF
43541 /* end confdefs.h. */
43542 #include <math.h>
43543 #ifdef HAVE_IEEEFP_H
43544 #include <ieeefp.h>
43545 #endif
43548 main ()
43550 expl(0);
43552 return 0;
43554 _ACEOF
43555 rm -f conftest.$ac_objext
43556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43557 (eval $ac_compile) 2>conftest.er1
43558 ac_status=$?
43559 grep -v '^ *+' conftest.er1 >conftest.err
43560 rm -f conftest.er1
43561 cat conftest.err >&5
43562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43563 (exit $ac_status); } &&
43564 { ac_try='test -z "$ac_cxx_werror_flag"
43565 || test ! -s conftest.err'
43566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43567 (eval $ac_try) 2>&5
43568 ac_status=$?
43569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43570 (exit $ac_status); }; } &&
43571 { ac_try='test -s conftest.$ac_objext'
43572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43573 (eval $ac_try) 2>&5
43574 ac_status=$?
43575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43576 (exit $ac_status); }; }; then
43577 glibcxx_cv_func_expl_use=yes
43578 else
43579 echo "$as_me: failed program was:" >&5
43580 sed 's/^/| /' conftest.$ac_ext >&5
43582 glibcxx_cv_func_expl_use=no
43584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43585 ac_ext=c
43586 ac_cpp='$CPP $CPPFLAGS'
43587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43595 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
43596 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
43598 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43600 for ac_func in expl
43602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43603 echo "$as_me:$LINENO: checking for $ac_func" >&5
43604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43605 if eval "test \"\${$as_ac_var+set}\" = set"; then
43606 echo $ECHO_N "(cached) $ECHO_C" >&6
43607 else
43608 if test x$gcc_no_link = xyes; then
43609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43611 { (exit 1); exit 1; }; }
43613 cat >conftest.$ac_ext <<_ACEOF
43614 /* confdefs.h. */
43615 _ACEOF
43616 cat confdefs.h >>conftest.$ac_ext
43617 cat >>conftest.$ac_ext <<_ACEOF
43618 /* end confdefs.h. */
43619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43621 #define $ac_func innocuous_$ac_func
43623 /* System header to define __stub macros and hopefully few prototypes,
43624 which can conflict with char $ac_func (); below.
43625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43626 <limits.h> exists even on freestanding compilers. */
43628 #ifdef __STDC__
43629 # include <limits.h>
43630 #else
43631 # include <assert.h>
43632 #endif
43634 #undef $ac_func
43636 /* Override any gcc2 internal prototype to avoid an error. */
43637 #ifdef __cplusplus
43638 extern "C"
43640 #endif
43641 /* We use char because int might match the return type of a gcc2
43642 builtin and then its argument prototype would still apply. */
43643 char $ac_func ();
43644 /* The GNU C library defines this for functions which it implements
43645 to always fail with ENOSYS. Some functions are actually named
43646 something starting with __ and the normal name is an alias. */
43647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43648 choke me
43649 #else
43650 char (*f) () = $ac_func;
43651 #endif
43652 #ifdef __cplusplus
43654 #endif
43657 main ()
43659 return f != $ac_func;
43661 return 0;
43663 _ACEOF
43664 rm -f conftest.$ac_objext conftest$ac_exeext
43665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43666 (eval $ac_link) 2>conftest.er1
43667 ac_status=$?
43668 grep -v '^ *+' conftest.er1 >conftest.err
43669 rm -f conftest.er1
43670 cat conftest.err >&5
43671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43672 (exit $ac_status); } &&
43673 { ac_try='test -z "$ac_c_werror_flag"
43674 || test ! -s conftest.err'
43675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43676 (eval $ac_try) 2>&5
43677 ac_status=$?
43678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43679 (exit $ac_status); }; } &&
43680 { ac_try='test -s conftest$ac_exeext'
43681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43682 (eval $ac_try) 2>&5
43683 ac_status=$?
43684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43685 (exit $ac_status); }; }; then
43686 eval "$as_ac_var=yes"
43687 else
43688 echo "$as_me: failed program was:" >&5
43689 sed 's/^/| /' conftest.$ac_ext >&5
43691 eval "$as_ac_var=no"
43693 rm -f conftest.err conftest.$ac_objext \
43694 conftest$ac_exeext conftest.$ac_ext
43696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43698 if test `eval echo '${'$as_ac_var'}'` = yes; then
43699 cat >>confdefs.h <<_ACEOF
43700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43701 _ACEOF
43704 done
43706 else
43708 echo "$as_me:$LINENO: checking for _expl declaration" >&5
43709 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
43710 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43711 if test "${glibcxx_cv_func__expl_use+set}" = set; then
43712 echo $ECHO_N "(cached) $ECHO_C" >&6
43713 else
43717 ac_ext=cc
43718 ac_cpp='$CXXCPP $CPPFLAGS'
43719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43723 cat >conftest.$ac_ext <<_ACEOF
43724 /* confdefs.h. */
43725 _ACEOF
43726 cat confdefs.h >>conftest.$ac_ext
43727 cat >>conftest.$ac_ext <<_ACEOF
43728 /* end confdefs.h. */
43729 #include <math.h>
43730 #ifdef HAVE_IEEEFP_H
43731 #include <ieeefp.h>
43732 #endif
43735 main ()
43737 _expl(0);
43739 return 0;
43741 _ACEOF
43742 rm -f conftest.$ac_objext
43743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43744 (eval $ac_compile) 2>conftest.er1
43745 ac_status=$?
43746 grep -v '^ *+' conftest.er1 >conftest.err
43747 rm -f conftest.er1
43748 cat conftest.err >&5
43749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43750 (exit $ac_status); } &&
43751 { ac_try='test -z "$ac_cxx_werror_flag"
43752 || test ! -s conftest.err'
43753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43754 (eval $ac_try) 2>&5
43755 ac_status=$?
43756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43757 (exit $ac_status); }; } &&
43758 { ac_try='test -s conftest.$ac_objext'
43759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43760 (eval $ac_try) 2>&5
43761 ac_status=$?
43762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43763 (exit $ac_status); }; }; then
43764 glibcxx_cv_func__expl_use=yes
43765 else
43766 echo "$as_me: failed program was:" >&5
43767 sed 's/^/| /' conftest.$ac_ext >&5
43769 glibcxx_cv_func__expl_use=no
43771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43772 ac_ext=c
43773 ac_cpp='$CPP $CPPFLAGS'
43774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43782 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
43783 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
43785 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43787 for ac_func in _expl
43789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43790 echo "$as_me:$LINENO: checking for $ac_func" >&5
43791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43792 if eval "test \"\${$as_ac_var+set}\" = set"; then
43793 echo $ECHO_N "(cached) $ECHO_C" >&6
43794 else
43795 if test x$gcc_no_link = xyes; then
43796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43798 { (exit 1); exit 1; }; }
43800 cat >conftest.$ac_ext <<_ACEOF
43801 /* confdefs.h. */
43802 _ACEOF
43803 cat confdefs.h >>conftest.$ac_ext
43804 cat >>conftest.$ac_ext <<_ACEOF
43805 /* end confdefs.h. */
43806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43808 #define $ac_func innocuous_$ac_func
43810 /* System header to define __stub macros and hopefully few prototypes,
43811 which can conflict with char $ac_func (); below.
43812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43813 <limits.h> exists even on freestanding compilers. */
43815 #ifdef __STDC__
43816 # include <limits.h>
43817 #else
43818 # include <assert.h>
43819 #endif
43821 #undef $ac_func
43823 /* Override any gcc2 internal prototype to avoid an error. */
43824 #ifdef __cplusplus
43825 extern "C"
43827 #endif
43828 /* We use char because int might match the return type of a gcc2
43829 builtin and then its argument prototype would still apply. */
43830 char $ac_func ();
43831 /* The GNU C library defines this for functions which it implements
43832 to always fail with ENOSYS. Some functions are actually named
43833 something starting with __ and the normal name is an alias. */
43834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43835 choke me
43836 #else
43837 char (*f) () = $ac_func;
43838 #endif
43839 #ifdef __cplusplus
43841 #endif
43844 main ()
43846 return f != $ac_func;
43848 return 0;
43850 _ACEOF
43851 rm -f conftest.$ac_objext conftest$ac_exeext
43852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43853 (eval $ac_link) 2>conftest.er1
43854 ac_status=$?
43855 grep -v '^ *+' conftest.er1 >conftest.err
43856 rm -f conftest.er1
43857 cat conftest.err >&5
43858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43859 (exit $ac_status); } &&
43860 { ac_try='test -z "$ac_c_werror_flag"
43861 || test ! -s conftest.err'
43862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43863 (eval $ac_try) 2>&5
43864 ac_status=$?
43865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43866 (exit $ac_status); }; } &&
43867 { ac_try='test -s conftest$ac_exeext'
43868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43869 (eval $ac_try) 2>&5
43870 ac_status=$?
43871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43872 (exit $ac_status); }; }; then
43873 eval "$as_ac_var=yes"
43874 else
43875 echo "$as_me: failed program was:" >&5
43876 sed 's/^/| /' conftest.$ac_ext >&5
43878 eval "$as_ac_var=no"
43880 rm -f conftest.err conftest.$ac_objext \
43881 conftest$ac_exeext conftest.$ac_ext
43883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43885 if test `eval echo '${'$as_ac_var'}'` = yes; then
43886 cat >>confdefs.h <<_ACEOF
43887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43888 _ACEOF
43891 done
43901 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
43902 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
43903 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43904 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
43905 echo $ECHO_N "(cached) $ECHO_C" >&6
43906 else
43910 ac_ext=cc
43911 ac_cpp='$CXXCPP $CPPFLAGS'
43912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43916 cat >conftest.$ac_ext <<_ACEOF
43917 /* confdefs.h. */
43918 _ACEOF
43919 cat confdefs.h >>conftest.$ac_ext
43920 cat >>conftest.$ac_ext <<_ACEOF
43921 /* end confdefs.h. */
43922 #include <math.h>
43923 #ifdef HAVE_IEEEFP_H
43924 #include <ieeefp.h>
43925 #endif
43928 main ()
43930 fabsl(0);
43932 return 0;
43934 _ACEOF
43935 rm -f conftest.$ac_objext
43936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43937 (eval $ac_compile) 2>conftest.er1
43938 ac_status=$?
43939 grep -v '^ *+' conftest.er1 >conftest.err
43940 rm -f conftest.er1
43941 cat conftest.err >&5
43942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43943 (exit $ac_status); } &&
43944 { ac_try='test -z "$ac_cxx_werror_flag"
43945 || test ! -s conftest.err'
43946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43947 (eval $ac_try) 2>&5
43948 ac_status=$?
43949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43950 (exit $ac_status); }; } &&
43951 { ac_try='test -s conftest.$ac_objext'
43952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43953 (eval $ac_try) 2>&5
43954 ac_status=$?
43955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43956 (exit $ac_status); }; }; then
43957 glibcxx_cv_func_fabsl_use=yes
43958 else
43959 echo "$as_me: failed program was:" >&5
43960 sed 's/^/| /' conftest.$ac_ext >&5
43962 glibcxx_cv_func_fabsl_use=no
43964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43965 ac_ext=c
43966 ac_cpp='$CPP $CPPFLAGS'
43967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43975 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
43976 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
43978 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43980 for ac_func in fabsl
43982 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43983 echo "$as_me:$LINENO: checking for $ac_func" >&5
43984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43985 if eval "test \"\${$as_ac_var+set}\" = set"; then
43986 echo $ECHO_N "(cached) $ECHO_C" >&6
43987 else
43988 if test x$gcc_no_link = xyes; then
43989 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43991 { (exit 1); exit 1; }; }
43993 cat >conftest.$ac_ext <<_ACEOF
43994 /* confdefs.h. */
43995 _ACEOF
43996 cat confdefs.h >>conftest.$ac_ext
43997 cat >>conftest.$ac_ext <<_ACEOF
43998 /* end confdefs.h. */
43999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44001 #define $ac_func innocuous_$ac_func
44003 /* System header to define __stub macros and hopefully few prototypes,
44004 which can conflict with char $ac_func (); below.
44005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44006 <limits.h> exists even on freestanding compilers. */
44008 #ifdef __STDC__
44009 # include <limits.h>
44010 #else
44011 # include <assert.h>
44012 #endif
44014 #undef $ac_func
44016 /* Override any gcc2 internal prototype to avoid an error. */
44017 #ifdef __cplusplus
44018 extern "C"
44020 #endif
44021 /* We use char because int might match the return type of a gcc2
44022 builtin and then its argument prototype would still apply. */
44023 char $ac_func ();
44024 /* The GNU C library defines this for functions which it implements
44025 to always fail with ENOSYS. Some functions are actually named
44026 something starting with __ and the normal name is an alias. */
44027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44028 choke me
44029 #else
44030 char (*f) () = $ac_func;
44031 #endif
44032 #ifdef __cplusplus
44034 #endif
44037 main ()
44039 return f != $ac_func;
44041 return 0;
44043 _ACEOF
44044 rm -f conftest.$ac_objext conftest$ac_exeext
44045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44046 (eval $ac_link) 2>conftest.er1
44047 ac_status=$?
44048 grep -v '^ *+' conftest.er1 >conftest.err
44049 rm -f conftest.er1
44050 cat conftest.err >&5
44051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44052 (exit $ac_status); } &&
44053 { ac_try='test -z "$ac_c_werror_flag"
44054 || test ! -s conftest.err'
44055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44056 (eval $ac_try) 2>&5
44057 ac_status=$?
44058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44059 (exit $ac_status); }; } &&
44060 { ac_try='test -s conftest$ac_exeext'
44061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44062 (eval $ac_try) 2>&5
44063 ac_status=$?
44064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44065 (exit $ac_status); }; }; then
44066 eval "$as_ac_var=yes"
44067 else
44068 echo "$as_me: failed program was:" >&5
44069 sed 's/^/| /' conftest.$ac_ext >&5
44071 eval "$as_ac_var=no"
44073 rm -f conftest.err conftest.$ac_objext \
44074 conftest$ac_exeext conftest.$ac_ext
44076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44078 if test `eval echo '${'$as_ac_var'}'` = yes; then
44079 cat >>confdefs.h <<_ACEOF
44080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44081 _ACEOF
44084 done
44086 else
44088 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
44089 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
44090 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44091 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
44092 echo $ECHO_N "(cached) $ECHO_C" >&6
44093 else
44097 ac_ext=cc
44098 ac_cpp='$CXXCPP $CPPFLAGS'
44099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44103 cat >conftest.$ac_ext <<_ACEOF
44104 /* confdefs.h. */
44105 _ACEOF
44106 cat confdefs.h >>conftest.$ac_ext
44107 cat >>conftest.$ac_ext <<_ACEOF
44108 /* end confdefs.h. */
44109 #include <math.h>
44110 #ifdef HAVE_IEEEFP_H
44111 #include <ieeefp.h>
44112 #endif
44115 main ()
44117 _fabsl(0);
44119 return 0;
44121 _ACEOF
44122 rm -f conftest.$ac_objext
44123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44124 (eval $ac_compile) 2>conftest.er1
44125 ac_status=$?
44126 grep -v '^ *+' conftest.er1 >conftest.err
44127 rm -f conftest.er1
44128 cat conftest.err >&5
44129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44130 (exit $ac_status); } &&
44131 { ac_try='test -z "$ac_cxx_werror_flag"
44132 || test ! -s conftest.err'
44133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44134 (eval $ac_try) 2>&5
44135 ac_status=$?
44136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44137 (exit $ac_status); }; } &&
44138 { ac_try='test -s conftest.$ac_objext'
44139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44140 (eval $ac_try) 2>&5
44141 ac_status=$?
44142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44143 (exit $ac_status); }; }; then
44144 glibcxx_cv_func__fabsl_use=yes
44145 else
44146 echo "$as_me: failed program was:" >&5
44147 sed 's/^/| /' conftest.$ac_ext >&5
44149 glibcxx_cv_func__fabsl_use=no
44151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44152 ac_ext=c
44153 ac_cpp='$CPP $CPPFLAGS'
44154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44162 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
44163 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
44165 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
44167 for ac_func in _fabsl
44169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44170 echo "$as_me:$LINENO: checking for $ac_func" >&5
44171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44172 if eval "test \"\${$as_ac_var+set}\" = set"; then
44173 echo $ECHO_N "(cached) $ECHO_C" >&6
44174 else
44175 if test x$gcc_no_link = xyes; then
44176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44178 { (exit 1); exit 1; }; }
44180 cat >conftest.$ac_ext <<_ACEOF
44181 /* confdefs.h. */
44182 _ACEOF
44183 cat confdefs.h >>conftest.$ac_ext
44184 cat >>conftest.$ac_ext <<_ACEOF
44185 /* end confdefs.h. */
44186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44188 #define $ac_func innocuous_$ac_func
44190 /* System header to define __stub macros and hopefully few prototypes,
44191 which can conflict with char $ac_func (); below.
44192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44193 <limits.h> exists even on freestanding compilers. */
44195 #ifdef __STDC__
44196 # include <limits.h>
44197 #else
44198 # include <assert.h>
44199 #endif
44201 #undef $ac_func
44203 /* Override any gcc2 internal prototype to avoid an error. */
44204 #ifdef __cplusplus
44205 extern "C"
44207 #endif
44208 /* We use char because int might match the return type of a gcc2
44209 builtin and then its argument prototype would still apply. */
44210 char $ac_func ();
44211 /* The GNU C library defines this for functions which it implements
44212 to always fail with ENOSYS. Some functions are actually named
44213 something starting with __ and the normal name is an alias. */
44214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44215 choke me
44216 #else
44217 char (*f) () = $ac_func;
44218 #endif
44219 #ifdef __cplusplus
44221 #endif
44224 main ()
44226 return f != $ac_func;
44228 return 0;
44230 _ACEOF
44231 rm -f conftest.$ac_objext conftest$ac_exeext
44232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44233 (eval $ac_link) 2>conftest.er1
44234 ac_status=$?
44235 grep -v '^ *+' conftest.er1 >conftest.err
44236 rm -f conftest.er1
44237 cat conftest.err >&5
44238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44239 (exit $ac_status); } &&
44240 { ac_try='test -z "$ac_c_werror_flag"
44241 || test ! -s conftest.err'
44242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44243 (eval $ac_try) 2>&5
44244 ac_status=$?
44245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44246 (exit $ac_status); }; } &&
44247 { ac_try='test -s conftest$ac_exeext'
44248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44249 (eval $ac_try) 2>&5
44250 ac_status=$?
44251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44252 (exit $ac_status); }; }; then
44253 eval "$as_ac_var=yes"
44254 else
44255 echo "$as_me: failed program was:" >&5
44256 sed 's/^/| /' conftest.$ac_ext >&5
44258 eval "$as_ac_var=no"
44260 rm -f conftest.err conftest.$ac_objext \
44261 conftest$ac_exeext conftest.$ac_ext
44263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44265 if test `eval echo '${'$as_ac_var'}'` = yes; then
44266 cat >>confdefs.h <<_ACEOF
44267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44268 _ACEOF
44271 done
44281 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
44282 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
44283 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
44284 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
44285 echo $ECHO_N "(cached) $ECHO_C" >&6
44286 else
44290 ac_ext=cc
44291 ac_cpp='$CXXCPP $CPPFLAGS'
44292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44296 cat >conftest.$ac_ext <<_ACEOF
44297 /* confdefs.h. */
44298 _ACEOF
44299 cat confdefs.h >>conftest.$ac_ext
44300 cat >>conftest.$ac_ext <<_ACEOF
44301 /* end confdefs.h. */
44302 #include <math.h>
44304 main ()
44306 fmodl(0, 0);
44308 return 0;
44310 _ACEOF
44311 rm -f conftest.$ac_objext
44312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44313 (eval $ac_compile) 2>conftest.er1
44314 ac_status=$?
44315 grep -v '^ *+' conftest.er1 >conftest.err
44316 rm -f conftest.er1
44317 cat conftest.err >&5
44318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44319 (exit $ac_status); } &&
44320 { ac_try='test -z "$ac_cxx_werror_flag"
44321 || test ! -s conftest.err'
44322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44323 (eval $ac_try) 2>&5
44324 ac_status=$?
44325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44326 (exit $ac_status); }; } &&
44327 { ac_try='test -s conftest.$ac_objext'
44328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44329 (eval $ac_try) 2>&5
44330 ac_status=$?
44331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44332 (exit $ac_status); }; }; then
44333 glibcxx_cv_func_fmodl_use=yes
44334 else
44335 echo "$as_me: failed program was:" >&5
44336 sed 's/^/| /' conftest.$ac_ext >&5
44338 glibcxx_cv_func_fmodl_use=no
44340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44341 ac_ext=c
44342 ac_cpp='$CPP $CPPFLAGS'
44343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44351 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
44352 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
44354 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44356 for ac_func in fmodl
44358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44359 echo "$as_me:$LINENO: checking for $ac_func" >&5
44360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44361 if eval "test \"\${$as_ac_var+set}\" = set"; then
44362 echo $ECHO_N "(cached) $ECHO_C" >&6
44363 else
44364 if test x$gcc_no_link = xyes; then
44365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44367 { (exit 1); exit 1; }; }
44369 cat >conftest.$ac_ext <<_ACEOF
44370 /* confdefs.h. */
44371 _ACEOF
44372 cat confdefs.h >>conftest.$ac_ext
44373 cat >>conftest.$ac_ext <<_ACEOF
44374 /* end confdefs.h. */
44375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44377 #define $ac_func innocuous_$ac_func
44379 /* System header to define __stub macros and hopefully few prototypes,
44380 which can conflict with char $ac_func (); below.
44381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44382 <limits.h> exists even on freestanding compilers. */
44384 #ifdef __STDC__
44385 # include <limits.h>
44386 #else
44387 # include <assert.h>
44388 #endif
44390 #undef $ac_func
44392 /* Override any gcc2 internal prototype to avoid an error. */
44393 #ifdef __cplusplus
44394 extern "C"
44396 #endif
44397 /* We use char because int might match the return type of a gcc2
44398 builtin and then its argument prototype would still apply. */
44399 char $ac_func ();
44400 /* The GNU C library defines this for functions which it implements
44401 to always fail with ENOSYS. Some functions are actually named
44402 something starting with __ and the normal name is an alias. */
44403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44404 choke me
44405 #else
44406 char (*f) () = $ac_func;
44407 #endif
44408 #ifdef __cplusplus
44410 #endif
44413 main ()
44415 return f != $ac_func;
44417 return 0;
44419 _ACEOF
44420 rm -f conftest.$ac_objext conftest$ac_exeext
44421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44422 (eval $ac_link) 2>conftest.er1
44423 ac_status=$?
44424 grep -v '^ *+' conftest.er1 >conftest.err
44425 rm -f conftest.er1
44426 cat conftest.err >&5
44427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44428 (exit $ac_status); } &&
44429 { ac_try='test -z "$ac_c_werror_flag"
44430 || test ! -s conftest.err'
44431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44432 (eval $ac_try) 2>&5
44433 ac_status=$?
44434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44435 (exit $ac_status); }; } &&
44436 { ac_try='test -s conftest$ac_exeext'
44437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44438 (eval $ac_try) 2>&5
44439 ac_status=$?
44440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44441 (exit $ac_status); }; }; then
44442 eval "$as_ac_var=yes"
44443 else
44444 echo "$as_me: failed program was:" >&5
44445 sed 's/^/| /' conftest.$ac_ext >&5
44447 eval "$as_ac_var=no"
44449 rm -f conftest.err conftest.$ac_objext \
44450 conftest$ac_exeext conftest.$ac_ext
44452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44454 if test `eval echo '${'$as_ac_var'}'` = yes; then
44455 cat >>confdefs.h <<_ACEOF
44456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44457 _ACEOF
44460 done
44462 else
44464 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
44465 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
44466 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44467 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
44468 echo $ECHO_N "(cached) $ECHO_C" >&6
44469 else
44473 ac_ext=cc
44474 ac_cpp='$CXXCPP $CPPFLAGS'
44475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44479 cat >conftest.$ac_ext <<_ACEOF
44480 /* confdefs.h. */
44481 _ACEOF
44482 cat confdefs.h >>conftest.$ac_ext
44483 cat >>conftest.$ac_ext <<_ACEOF
44484 /* end confdefs.h. */
44485 #include <math.h>
44487 main ()
44489 _fmodl(0, 0);
44491 return 0;
44493 _ACEOF
44494 rm -f conftest.$ac_objext
44495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44496 (eval $ac_compile) 2>conftest.er1
44497 ac_status=$?
44498 grep -v '^ *+' conftest.er1 >conftest.err
44499 rm -f conftest.er1
44500 cat conftest.err >&5
44501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44502 (exit $ac_status); } &&
44503 { ac_try='test -z "$ac_cxx_werror_flag"
44504 || test ! -s conftest.err'
44505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44506 (eval $ac_try) 2>&5
44507 ac_status=$?
44508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44509 (exit $ac_status); }; } &&
44510 { ac_try='test -s conftest.$ac_objext'
44511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44512 (eval $ac_try) 2>&5
44513 ac_status=$?
44514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44515 (exit $ac_status); }; }; then
44516 glibcxx_cv_func__fmodl_use=yes
44517 else
44518 echo "$as_me: failed program was:" >&5
44519 sed 's/^/| /' conftest.$ac_ext >&5
44521 glibcxx_cv_func__fmodl_use=no
44523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44524 ac_ext=c
44525 ac_cpp='$CPP $CPPFLAGS'
44526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44534 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
44535 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
44537 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44539 for ac_func in _fmodl
44541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44542 echo "$as_me:$LINENO: checking for $ac_func" >&5
44543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44544 if eval "test \"\${$as_ac_var+set}\" = set"; then
44545 echo $ECHO_N "(cached) $ECHO_C" >&6
44546 else
44547 if test x$gcc_no_link = xyes; then
44548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44550 { (exit 1); exit 1; }; }
44552 cat >conftest.$ac_ext <<_ACEOF
44553 /* confdefs.h. */
44554 _ACEOF
44555 cat confdefs.h >>conftest.$ac_ext
44556 cat >>conftest.$ac_ext <<_ACEOF
44557 /* end confdefs.h. */
44558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44560 #define $ac_func innocuous_$ac_func
44562 /* System header to define __stub macros and hopefully few prototypes,
44563 which can conflict with char $ac_func (); below.
44564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44565 <limits.h> exists even on freestanding compilers. */
44567 #ifdef __STDC__
44568 # include <limits.h>
44569 #else
44570 # include <assert.h>
44571 #endif
44573 #undef $ac_func
44575 /* Override any gcc2 internal prototype to avoid an error. */
44576 #ifdef __cplusplus
44577 extern "C"
44579 #endif
44580 /* We use char because int might match the return type of a gcc2
44581 builtin and then its argument prototype would still apply. */
44582 char $ac_func ();
44583 /* The GNU C library defines this for functions which it implements
44584 to always fail with ENOSYS. Some functions are actually named
44585 something starting with __ and the normal name is an alias. */
44586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44587 choke me
44588 #else
44589 char (*f) () = $ac_func;
44590 #endif
44591 #ifdef __cplusplus
44593 #endif
44596 main ()
44598 return f != $ac_func;
44600 return 0;
44602 _ACEOF
44603 rm -f conftest.$ac_objext conftest$ac_exeext
44604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44605 (eval $ac_link) 2>conftest.er1
44606 ac_status=$?
44607 grep -v '^ *+' conftest.er1 >conftest.err
44608 rm -f conftest.er1
44609 cat conftest.err >&5
44610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44611 (exit $ac_status); } &&
44612 { ac_try='test -z "$ac_c_werror_flag"
44613 || test ! -s conftest.err'
44614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44615 (eval $ac_try) 2>&5
44616 ac_status=$?
44617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44618 (exit $ac_status); }; } &&
44619 { ac_try='test -s conftest$ac_exeext'
44620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44621 (eval $ac_try) 2>&5
44622 ac_status=$?
44623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44624 (exit $ac_status); }; }; then
44625 eval "$as_ac_var=yes"
44626 else
44627 echo "$as_me: failed program was:" >&5
44628 sed 's/^/| /' conftest.$ac_ext >&5
44630 eval "$as_ac_var=no"
44632 rm -f conftest.err conftest.$ac_objext \
44633 conftest$ac_exeext conftest.$ac_ext
44635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44637 if test `eval echo '${'$as_ac_var'}'` = yes; then
44638 cat >>confdefs.h <<_ACEOF
44639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44640 _ACEOF
44643 done
44653 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
44654 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
44655 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44656 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
44657 echo $ECHO_N "(cached) $ECHO_C" >&6
44658 else
44662 ac_ext=cc
44663 ac_cpp='$CXXCPP $CPPFLAGS'
44664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44668 cat >conftest.$ac_ext <<_ACEOF
44669 /* confdefs.h. */
44670 _ACEOF
44671 cat confdefs.h >>conftest.$ac_ext
44672 cat >>conftest.$ac_ext <<_ACEOF
44673 /* end confdefs.h. */
44674 #include <math.h>
44676 main ()
44678 frexpl(0, 0);
44680 return 0;
44682 _ACEOF
44683 rm -f conftest.$ac_objext
44684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44685 (eval $ac_compile) 2>conftest.er1
44686 ac_status=$?
44687 grep -v '^ *+' conftest.er1 >conftest.err
44688 rm -f conftest.er1
44689 cat conftest.err >&5
44690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44691 (exit $ac_status); } &&
44692 { ac_try='test -z "$ac_cxx_werror_flag"
44693 || test ! -s conftest.err'
44694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44695 (eval $ac_try) 2>&5
44696 ac_status=$?
44697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44698 (exit $ac_status); }; } &&
44699 { ac_try='test -s conftest.$ac_objext'
44700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44701 (eval $ac_try) 2>&5
44702 ac_status=$?
44703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44704 (exit $ac_status); }; }; then
44705 glibcxx_cv_func_frexpl_use=yes
44706 else
44707 echo "$as_me: failed program was:" >&5
44708 sed 's/^/| /' conftest.$ac_ext >&5
44710 glibcxx_cv_func_frexpl_use=no
44712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44713 ac_ext=c
44714 ac_cpp='$CPP $CPPFLAGS'
44715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44723 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
44724 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
44726 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44728 for ac_func in frexpl
44730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44731 echo "$as_me:$LINENO: checking for $ac_func" >&5
44732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44733 if eval "test \"\${$as_ac_var+set}\" = set"; then
44734 echo $ECHO_N "(cached) $ECHO_C" >&6
44735 else
44736 if test x$gcc_no_link = xyes; then
44737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44739 { (exit 1); exit 1; }; }
44741 cat >conftest.$ac_ext <<_ACEOF
44742 /* confdefs.h. */
44743 _ACEOF
44744 cat confdefs.h >>conftest.$ac_ext
44745 cat >>conftest.$ac_ext <<_ACEOF
44746 /* end confdefs.h. */
44747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44749 #define $ac_func innocuous_$ac_func
44751 /* System header to define __stub macros and hopefully few prototypes,
44752 which can conflict with char $ac_func (); below.
44753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44754 <limits.h> exists even on freestanding compilers. */
44756 #ifdef __STDC__
44757 # include <limits.h>
44758 #else
44759 # include <assert.h>
44760 #endif
44762 #undef $ac_func
44764 /* Override any gcc2 internal prototype to avoid an error. */
44765 #ifdef __cplusplus
44766 extern "C"
44768 #endif
44769 /* We use char because int might match the return type of a gcc2
44770 builtin and then its argument prototype would still apply. */
44771 char $ac_func ();
44772 /* The GNU C library defines this for functions which it implements
44773 to always fail with ENOSYS. Some functions are actually named
44774 something starting with __ and the normal name is an alias. */
44775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44776 choke me
44777 #else
44778 char (*f) () = $ac_func;
44779 #endif
44780 #ifdef __cplusplus
44782 #endif
44785 main ()
44787 return f != $ac_func;
44789 return 0;
44791 _ACEOF
44792 rm -f conftest.$ac_objext conftest$ac_exeext
44793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44794 (eval $ac_link) 2>conftest.er1
44795 ac_status=$?
44796 grep -v '^ *+' conftest.er1 >conftest.err
44797 rm -f conftest.er1
44798 cat conftest.err >&5
44799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44800 (exit $ac_status); } &&
44801 { ac_try='test -z "$ac_c_werror_flag"
44802 || test ! -s conftest.err'
44803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44804 (eval $ac_try) 2>&5
44805 ac_status=$?
44806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44807 (exit $ac_status); }; } &&
44808 { ac_try='test -s conftest$ac_exeext'
44809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44810 (eval $ac_try) 2>&5
44811 ac_status=$?
44812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44813 (exit $ac_status); }; }; then
44814 eval "$as_ac_var=yes"
44815 else
44816 echo "$as_me: failed program was:" >&5
44817 sed 's/^/| /' conftest.$ac_ext >&5
44819 eval "$as_ac_var=no"
44821 rm -f conftest.err conftest.$ac_objext \
44822 conftest$ac_exeext conftest.$ac_ext
44824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44826 if test `eval echo '${'$as_ac_var'}'` = yes; then
44827 cat >>confdefs.h <<_ACEOF
44828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44829 _ACEOF
44832 done
44834 else
44836 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
44837 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
44838 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44839 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
44840 echo $ECHO_N "(cached) $ECHO_C" >&6
44841 else
44845 ac_ext=cc
44846 ac_cpp='$CXXCPP $CPPFLAGS'
44847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44851 cat >conftest.$ac_ext <<_ACEOF
44852 /* confdefs.h. */
44853 _ACEOF
44854 cat confdefs.h >>conftest.$ac_ext
44855 cat >>conftest.$ac_ext <<_ACEOF
44856 /* end confdefs.h. */
44857 #include <math.h>
44859 main ()
44861 _frexpl(0, 0);
44863 return 0;
44865 _ACEOF
44866 rm -f conftest.$ac_objext
44867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44868 (eval $ac_compile) 2>conftest.er1
44869 ac_status=$?
44870 grep -v '^ *+' conftest.er1 >conftest.err
44871 rm -f conftest.er1
44872 cat conftest.err >&5
44873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44874 (exit $ac_status); } &&
44875 { ac_try='test -z "$ac_cxx_werror_flag"
44876 || test ! -s conftest.err'
44877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44878 (eval $ac_try) 2>&5
44879 ac_status=$?
44880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44881 (exit $ac_status); }; } &&
44882 { ac_try='test -s conftest.$ac_objext'
44883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44884 (eval $ac_try) 2>&5
44885 ac_status=$?
44886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44887 (exit $ac_status); }; }; then
44888 glibcxx_cv_func__frexpl_use=yes
44889 else
44890 echo "$as_me: failed program was:" >&5
44891 sed 's/^/| /' conftest.$ac_ext >&5
44893 glibcxx_cv_func__frexpl_use=no
44895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44896 ac_ext=c
44897 ac_cpp='$CPP $CPPFLAGS'
44898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44906 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
44907 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
44909 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44911 for ac_func in _frexpl
44913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44914 echo "$as_me:$LINENO: checking for $ac_func" >&5
44915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44916 if eval "test \"\${$as_ac_var+set}\" = set"; then
44917 echo $ECHO_N "(cached) $ECHO_C" >&6
44918 else
44919 if test x$gcc_no_link = xyes; then
44920 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44922 { (exit 1); exit 1; }; }
44924 cat >conftest.$ac_ext <<_ACEOF
44925 /* confdefs.h. */
44926 _ACEOF
44927 cat confdefs.h >>conftest.$ac_ext
44928 cat >>conftest.$ac_ext <<_ACEOF
44929 /* end confdefs.h. */
44930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44932 #define $ac_func innocuous_$ac_func
44934 /* System header to define __stub macros and hopefully few prototypes,
44935 which can conflict with char $ac_func (); below.
44936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44937 <limits.h> exists even on freestanding compilers. */
44939 #ifdef __STDC__
44940 # include <limits.h>
44941 #else
44942 # include <assert.h>
44943 #endif
44945 #undef $ac_func
44947 /* Override any gcc2 internal prototype to avoid an error. */
44948 #ifdef __cplusplus
44949 extern "C"
44951 #endif
44952 /* We use char because int might match the return type of a gcc2
44953 builtin and then its argument prototype would still apply. */
44954 char $ac_func ();
44955 /* The GNU C library defines this for functions which it implements
44956 to always fail with ENOSYS. Some functions are actually named
44957 something starting with __ and the normal name is an alias. */
44958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44959 choke me
44960 #else
44961 char (*f) () = $ac_func;
44962 #endif
44963 #ifdef __cplusplus
44965 #endif
44968 main ()
44970 return f != $ac_func;
44972 return 0;
44974 _ACEOF
44975 rm -f conftest.$ac_objext conftest$ac_exeext
44976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44977 (eval $ac_link) 2>conftest.er1
44978 ac_status=$?
44979 grep -v '^ *+' conftest.er1 >conftest.err
44980 rm -f conftest.er1
44981 cat conftest.err >&5
44982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44983 (exit $ac_status); } &&
44984 { ac_try='test -z "$ac_c_werror_flag"
44985 || test ! -s conftest.err'
44986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44987 (eval $ac_try) 2>&5
44988 ac_status=$?
44989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44990 (exit $ac_status); }; } &&
44991 { ac_try='test -s conftest$ac_exeext'
44992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44993 (eval $ac_try) 2>&5
44994 ac_status=$?
44995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44996 (exit $ac_status); }; }; then
44997 eval "$as_ac_var=yes"
44998 else
44999 echo "$as_me: failed program was:" >&5
45000 sed 's/^/| /' conftest.$ac_ext >&5
45002 eval "$as_ac_var=no"
45004 rm -f conftest.err conftest.$ac_objext \
45005 conftest$ac_exeext conftest.$ac_ext
45007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45008 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45009 if test `eval echo '${'$as_ac_var'}'` = yes; then
45010 cat >>confdefs.h <<_ACEOF
45011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45012 _ACEOF
45015 done
45025 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
45026 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
45027 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45028 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
45029 echo $ECHO_N "(cached) $ECHO_C" >&6
45030 else
45034 ac_ext=cc
45035 ac_cpp='$CXXCPP $CPPFLAGS'
45036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45040 cat >conftest.$ac_ext <<_ACEOF
45041 /* confdefs.h. */
45042 _ACEOF
45043 cat confdefs.h >>conftest.$ac_ext
45044 cat >>conftest.$ac_ext <<_ACEOF
45045 /* end confdefs.h. */
45046 #include <math.h>
45048 main ()
45050 hypotl(0, 0);
45052 return 0;
45054 _ACEOF
45055 rm -f conftest.$ac_objext
45056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45057 (eval $ac_compile) 2>conftest.er1
45058 ac_status=$?
45059 grep -v '^ *+' conftest.er1 >conftest.err
45060 rm -f conftest.er1
45061 cat conftest.err >&5
45062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45063 (exit $ac_status); } &&
45064 { ac_try='test -z "$ac_cxx_werror_flag"
45065 || test ! -s conftest.err'
45066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45067 (eval $ac_try) 2>&5
45068 ac_status=$?
45069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45070 (exit $ac_status); }; } &&
45071 { ac_try='test -s conftest.$ac_objext'
45072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45073 (eval $ac_try) 2>&5
45074 ac_status=$?
45075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45076 (exit $ac_status); }; }; then
45077 glibcxx_cv_func_hypotl_use=yes
45078 else
45079 echo "$as_me: failed program was:" >&5
45080 sed 's/^/| /' conftest.$ac_ext >&5
45082 glibcxx_cv_func_hypotl_use=no
45084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45085 ac_ext=c
45086 ac_cpp='$CPP $CPPFLAGS'
45087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45095 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
45096 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
45098 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45100 for ac_func in hypotl
45102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45103 echo "$as_me:$LINENO: checking for $ac_func" >&5
45104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45105 if eval "test \"\${$as_ac_var+set}\" = set"; then
45106 echo $ECHO_N "(cached) $ECHO_C" >&6
45107 else
45108 if test x$gcc_no_link = xyes; then
45109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45111 { (exit 1); exit 1; }; }
45113 cat >conftest.$ac_ext <<_ACEOF
45114 /* confdefs.h. */
45115 _ACEOF
45116 cat confdefs.h >>conftest.$ac_ext
45117 cat >>conftest.$ac_ext <<_ACEOF
45118 /* end confdefs.h. */
45119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45121 #define $ac_func innocuous_$ac_func
45123 /* System header to define __stub macros and hopefully few prototypes,
45124 which can conflict with char $ac_func (); below.
45125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45126 <limits.h> exists even on freestanding compilers. */
45128 #ifdef __STDC__
45129 # include <limits.h>
45130 #else
45131 # include <assert.h>
45132 #endif
45134 #undef $ac_func
45136 /* Override any gcc2 internal prototype to avoid an error. */
45137 #ifdef __cplusplus
45138 extern "C"
45140 #endif
45141 /* We use char because int might match the return type of a gcc2
45142 builtin and then its argument prototype would still apply. */
45143 char $ac_func ();
45144 /* The GNU C library defines this for functions which it implements
45145 to always fail with ENOSYS. Some functions are actually named
45146 something starting with __ and the normal name is an alias. */
45147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45148 choke me
45149 #else
45150 char (*f) () = $ac_func;
45151 #endif
45152 #ifdef __cplusplus
45154 #endif
45157 main ()
45159 return f != $ac_func;
45161 return 0;
45163 _ACEOF
45164 rm -f conftest.$ac_objext conftest$ac_exeext
45165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45166 (eval $ac_link) 2>conftest.er1
45167 ac_status=$?
45168 grep -v '^ *+' conftest.er1 >conftest.err
45169 rm -f conftest.er1
45170 cat conftest.err >&5
45171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45172 (exit $ac_status); } &&
45173 { ac_try='test -z "$ac_c_werror_flag"
45174 || test ! -s conftest.err'
45175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45176 (eval $ac_try) 2>&5
45177 ac_status=$?
45178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45179 (exit $ac_status); }; } &&
45180 { ac_try='test -s conftest$ac_exeext'
45181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45182 (eval $ac_try) 2>&5
45183 ac_status=$?
45184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45185 (exit $ac_status); }; }; then
45186 eval "$as_ac_var=yes"
45187 else
45188 echo "$as_me: failed program was:" >&5
45189 sed 's/^/| /' conftest.$ac_ext >&5
45191 eval "$as_ac_var=no"
45193 rm -f conftest.err conftest.$ac_objext \
45194 conftest$ac_exeext conftest.$ac_ext
45196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45198 if test `eval echo '${'$as_ac_var'}'` = yes; then
45199 cat >>confdefs.h <<_ACEOF
45200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45201 _ACEOF
45204 done
45206 else
45208 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
45209 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
45210 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45211 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
45212 echo $ECHO_N "(cached) $ECHO_C" >&6
45213 else
45217 ac_ext=cc
45218 ac_cpp='$CXXCPP $CPPFLAGS'
45219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45223 cat >conftest.$ac_ext <<_ACEOF
45224 /* confdefs.h. */
45225 _ACEOF
45226 cat confdefs.h >>conftest.$ac_ext
45227 cat >>conftest.$ac_ext <<_ACEOF
45228 /* end confdefs.h. */
45229 #include <math.h>
45231 main ()
45233 _hypotl(0, 0);
45235 return 0;
45237 _ACEOF
45238 rm -f conftest.$ac_objext
45239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45240 (eval $ac_compile) 2>conftest.er1
45241 ac_status=$?
45242 grep -v '^ *+' conftest.er1 >conftest.err
45243 rm -f conftest.er1
45244 cat conftest.err >&5
45245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45246 (exit $ac_status); } &&
45247 { ac_try='test -z "$ac_cxx_werror_flag"
45248 || test ! -s conftest.err'
45249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45250 (eval $ac_try) 2>&5
45251 ac_status=$?
45252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45253 (exit $ac_status); }; } &&
45254 { ac_try='test -s conftest.$ac_objext'
45255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45256 (eval $ac_try) 2>&5
45257 ac_status=$?
45258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45259 (exit $ac_status); }; }; then
45260 glibcxx_cv_func__hypotl_use=yes
45261 else
45262 echo "$as_me: failed program was:" >&5
45263 sed 's/^/| /' conftest.$ac_ext >&5
45265 glibcxx_cv_func__hypotl_use=no
45267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45268 ac_ext=c
45269 ac_cpp='$CPP $CPPFLAGS'
45270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45278 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
45279 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
45281 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45283 for ac_func in _hypotl
45285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45286 echo "$as_me:$LINENO: checking for $ac_func" >&5
45287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45288 if eval "test \"\${$as_ac_var+set}\" = set"; then
45289 echo $ECHO_N "(cached) $ECHO_C" >&6
45290 else
45291 if test x$gcc_no_link = xyes; then
45292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45294 { (exit 1); exit 1; }; }
45296 cat >conftest.$ac_ext <<_ACEOF
45297 /* confdefs.h. */
45298 _ACEOF
45299 cat confdefs.h >>conftest.$ac_ext
45300 cat >>conftest.$ac_ext <<_ACEOF
45301 /* end confdefs.h. */
45302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45304 #define $ac_func innocuous_$ac_func
45306 /* System header to define __stub macros and hopefully few prototypes,
45307 which can conflict with char $ac_func (); below.
45308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45309 <limits.h> exists even on freestanding compilers. */
45311 #ifdef __STDC__
45312 # include <limits.h>
45313 #else
45314 # include <assert.h>
45315 #endif
45317 #undef $ac_func
45319 /* Override any gcc2 internal prototype to avoid an error. */
45320 #ifdef __cplusplus
45321 extern "C"
45323 #endif
45324 /* We use char because int might match the return type of a gcc2
45325 builtin and then its argument prototype would still apply. */
45326 char $ac_func ();
45327 /* The GNU C library defines this for functions which it implements
45328 to always fail with ENOSYS. Some functions are actually named
45329 something starting with __ and the normal name is an alias. */
45330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45331 choke me
45332 #else
45333 char (*f) () = $ac_func;
45334 #endif
45335 #ifdef __cplusplus
45337 #endif
45340 main ()
45342 return f != $ac_func;
45344 return 0;
45346 _ACEOF
45347 rm -f conftest.$ac_objext conftest$ac_exeext
45348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45349 (eval $ac_link) 2>conftest.er1
45350 ac_status=$?
45351 grep -v '^ *+' conftest.er1 >conftest.err
45352 rm -f conftest.er1
45353 cat conftest.err >&5
45354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45355 (exit $ac_status); } &&
45356 { ac_try='test -z "$ac_c_werror_flag"
45357 || test ! -s conftest.err'
45358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45359 (eval $ac_try) 2>&5
45360 ac_status=$?
45361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45362 (exit $ac_status); }; } &&
45363 { ac_try='test -s conftest$ac_exeext'
45364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45365 (eval $ac_try) 2>&5
45366 ac_status=$?
45367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45368 (exit $ac_status); }; }; then
45369 eval "$as_ac_var=yes"
45370 else
45371 echo "$as_me: failed program was:" >&5
45372 sed 's/^/| /' conftest.$ac_ext >&5
45374 eval "$as_ac_var=no"
45376 rm -f conftest.err conftest.$ac_objext \
45377 conftest$ac_exeext conftest.$ac_ext
45379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45381 if test `eval echo '${'$as_ac_var'}'` = yes; then
45382 cat >>confdefs.h <<_ACEOF
45383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45384 _ACEOF
45387 done
45397 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
45398 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
45399 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45400 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
45401 echo $ECHO_N "(cached) $ECHO_C" >&6
45402 else
45406 ac_ext=cc
45407 ac_cpp='$CXXCPP $CPPFLAGS'
45408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45412 cat >conftest.$ac_ext <<_ACEOF
45413 /* confdefs.h. */
45414 _ACEOF
45415 cat confdefs.h >>conftest.$ac_ext
45416 cat >>conftest.$ac_ext <<_ACEOF
45417 /* end confdefs.h. */
45418 #include <math.h>
45420 main ()
45422 ldexpl(0, 0);
45424 return 0;
45426 _ACEOF
45427 rm -f conftest.$ac_objext
45428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45429 (eval $ac_compile) 2>conftest.er1
45430 ac_status=$?
45431 grep -v '^ *+' conftest.er1 >conftest.err
45432 rm -f conftest.er1
45433 cat conftest.err >&5
45434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45435 (exit $ac_status); } &&
45436 { ac_try='test -z "$ac_cxx_werror_flag"
45437 || test ! -s conftest.err'
45438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45439 (eval $ac_try) 2>&5
45440 ac_status=$?
45441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45442 (exit $ac_status); }; } &&
45443 { ac_try='test -s conftest.$ac_objext'
45444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45445 (eval $ac_try) 2>&5
45446 ac_status=$?
45447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45448 (exit $ac_status); }; }; then
45449 glibcxx_cv_func_ldexpl_use=yes
45450 else
45451 echo "$as_me: failed program was:" >&5
45452 sed 's/^/| /' conftest.$ac_ext >&5
45454 glibcxx_cv_func_ldexpl_use=no
45456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45457 ac_ext=c
45458 ac_cpp='$CPP $CPPFLAGS'
45459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45467 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
45468 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
45470 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45472 for ac_func in ldexpl
45474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45475 echo "$as_me:$LINENO: checking for $ac_func" >&5
45476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45477 if eval "test \"\${$as_ac_var+set}\" = set"; then
45478 echo $ECHO_N "(cached) $ECHO_C" >&6
45479 else
45480 if test x$gcc_no_link = xyes; then
45481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45483 { (exit 1); exit 1; }; }
45485 cat >conftest.$ac_ext <<_ACEOF
45486 /* confdefs.h. */
45487 _ACEOF
45488 cat confdefs.h >>conftest.$ac_ext
45489 cat >>conftest.$ac_ext <<_ACEOF
45490 /* end confdefs.h. */
45491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45493 #define $ac_func innocuous_$ac_func
45495 /* System header to define __stub macros and hopefully few prototypes,
45496 which can conflict with char $ac_func (); below.
45497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45498 <limits.h> exists even on freestanding compilers. */
45500 #ifdef __STDC__
45501 # include <limits.h>
45502 #else
45503 # include <assert.h>
45504 #endif
45506 #undef $ac_func
45508 /* Override any gcc2 internal prototype to avoid an error. */
45509 #ifdef __cplusplus
45510 extern "C"
45512 #endif
45513 /* We use char because int might match the return type of a gcc2
45514 builtin and then its argument prototype would still apply. */
45515 char $ac_func ();
45516 /* The GNU C library defines this for functions which it implements
45517 to always fail with ENOSYS. Some functions are actually named
45518 something starting with __ and the normal name is an alias. */
45519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45520 choke me
45521 #else
45522 char (*f) () = $ac_func;
45523 #endif
45524 #ifdef __cplusplus
45526 #endif
45529 main ()
45531 return f != $ac_func;
45533 return 0;
45535 _ACEOF
45536 rm -f conftest.$ac_objext conftest$ac_exeext
45537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45538 (eval $ac_link) 2>conftest.er1
45539 ac_status=$?
45540 grep -v '^ *+' conftest.er1 >conftest.err
45541 rm -f conftest.er1
45542 cat conftest.err >&5
45543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45544 (exit $ac_status); } &&
45545 { ac_try='test -z "$ac_c_werror_flag"
45546 || test ! -s conftest.err'
45547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45548 (eval $ac_try) 2>&5
45549 ac_status=$?
45550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45551 (exit $ac_status); }; } &&
45552 { ac_try='test -s conftest$ac_exeext'
45553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45554 (eval $ac_try) 2>&5
45555 ac_status=$?
45556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45557 (exit $ac_status); }; }; then
45558 eval "$as_ac_var=yes"
45559 else
45560 echo "$as_me: failed program was:" >&5
45561 sed 's/^/| /' conftest.$ac_ext >&5
45563 eval "$as_ac_var=no"
45565 rm -f conftest.err conftest.$ac_objext \
45566 conftest$ac_exeext conftest.$ac_ext
45568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45570 if test `eval echo '${'$as_ac_var'}'` = yes; then
45571 cat >>confdefs.h <<_ACEOF
45572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45573 _ACEOF
45576 done
45578 else
45580 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
45581 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
45582 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45583 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
45584 echo $ECHO_N "(cached) $ECHO_C" >&6
45585 else
45589 ac_ext=cc
45590 ac_cpp='$CXXCPP $CPPFLAGS'
45591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45595 cat >conftest.$ac_ext <<_ACEOF
45596 /* confdefs.h. */
45597 _ACEOF
45598 cat confdefs.h >>conftest.$ac_ext
45599 cat >>conftest.$ac_ext <<_ACEOF
45600 /* end confdefs.h. */
45601 #include <math.h>
45603 main ()
45605 _ldexpl(0, 0);
45607 return 0;
45609 _ACEOF
45610 rm -f conftest.$ac_objext
45611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45612 (eval $ac_compile) 2>conftest.er1
45613 ac_status=$?
45614 grep -v '^ *+' conftest.er1 >conftest.err
45615 rm -f conftest.er1
45616 cat conftest.err >&5
45617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45618 (exit $ac_status); } &&
45619 { ac_try='test -z "$ac_cxx_werror_flag"
45620 || test ! -s conftest.err'
45621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45622 (eval $ac_try) 2>&5
45623 ac_status=$?
45624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45625 (exit $ac_status); }; } &&
45626 { ac_try='test -s conftest.$ac_objext'
45627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45628 (eval $ac_try) 2>&5
45629 ac_status=$?
45630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45631 (exit $ac_status); }; }; then
45632 glibcxx_cv_func__ldexpl_use=yes
45633 else
45634 echo "$as_me: failed program was:" >&5
45635 sed 's/^/| /' conftest.$ac_ext >&5
45637 glibcxx_cv_func__ldexpl_use=no
45639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45640 ac_ext=c
45641 ac_cpp='$CPP $CPPFLAGS'
45642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45650 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
45651 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
45653 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45655 for ac_func in _ldexpl
45657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45658 echo "$as_me:$LINENO: checking for $ac_func" >&5
45659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45660 if eval "test \"\${$as_ac_var+set}\" = set"; then
45661 echo $ECHO_N "(cached) $ECHO_C" >&6
45662 else
45663 if test x$gcc_no_link = xyes; then
45664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45666 { (exit 1); exit 1; }; }
45668 cat >conftest.$ac_ext <<_ACEOF
45669 /* confdefs.h. */
45670 _ACEOF
45671 cat confdefs.h >>conftest.$ac_ext
45672 cat >>conftest.$ac_ext <<_ACEOF
45673 /* end confdefs.h. */
45674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45676 #define $ac_func innocuous_$ac_func
45678 /* System header to define __stub macros and hopefully few prototypes,
45679 which can conflict with char $ac_func (); below.
45680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45681 <limits.h> exists even on freestanding compilers. */
45683 #ifdef __STDC__
45684 # include <limits.h>
45685 #else
45686 # include <assert.h>
45687 #endif
45689 #undef $ac_func
45691 /* Override any gcc2 internal prototype to avoid an error. */
45692 #ifdef __cplusplus
45693 extern "C"
45695 #endif
45696 /* We use char because int might match the return type of a gcc2
45697 builtin and then its argument prototype would still apply. */
45698 char $ac_func ();
45699 /* The GNU C library defines this for functions which it implements
45700 to always fail with ENOSYS. Some functions are actually named
45701 something starting with __ and the normal name is an alias. */
45702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45703 choke me
45704 #else
45705 char (*f) () = $ac_func;
45706 #endif
45707 #ifdef __cplusplus
45709 #endif
45712 main ()
45714 return f != $ac_func;
45716 return 0;
45718 _ACEOF
45719 rm -f conftest.$ac_objext conftest$ac_exeext
45720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45721 (eval $ac_link) 2>conftest.er1
45722 ac_status=$?
45723 grep -v '^ *+' conftest.er1 >conftest.err
45724 rm -f conftest.er1
45725 cat conftest.err >&5
45726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45727 (exit $ac_status); } &&
45728 { ac_try='test -z "$ac_c_werror_flag"
45729 || test ! -s conftest.err'
45730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45731 (eval $ac_try) 2>&5
45732 ac_status=$?
45733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45734 (exit $ac_status); }; } &&
45735 { ac_try='test -s conftest$ac_exeext'
45736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45737 (eval $ac_try) 2>&5
45738 ac_status=$?
45739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45740 (exit $ac_status); }; }; then
45741 eval "$as_ac_var=yes"
45742 else
45743 echo "$as_me: failed program was:" >&5
45744 sed 's/^/| /' conftest.$ac_ext >&5
45746 eval "$as_ac_var=no"
45748 rm -f conftest.err conftest.$ac_objext \
45749 conftest$ac_exeext conftest.$ac_ext
45751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45753 if test `eval echo '${'$as_ac_var'}'` = yes; then
45754 cat >>confdefs.h <<_ACEOF
45755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45756 _ACEOF
45759 done
45769 echo "$as_me:$LINENO: checking for logl declaration" >&5
45770 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
45771 if test x${glibcxx_cv_func_logl_use+set} != xset; then
45772 if test "${glibcxx_cv_func_logl_use+set}" = set; then
45773 echo $ECHO_N "(cached) $ECHO_C" >&6
45774 else
45778 ac_ext=cc
45779 ac_cpp='$CXXCPP $CPPFLAGS'
45780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45784 cat >conftest.$ac_ext <<_ACEOF
45785 /* confdefs.h. */
45786 _ACEOF
45787 cat confdefs.h >>conftest.$ac_ext
45788 cat >>conftest.$ac_ext <<_ACEOF
45789 /* end confdefs.h. */
45790 #include <math.h>
45791 #ifdef HAVE_IEEEFP_H
45792 #include <ieeefp.h>
45793 #endif
45796 main ()
45798 logl(0);
45800 return 0;
45802 _ACEOF
45803 rm -f conftest.$ac_objext
45804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45805 (eval $ac_compile) 2>conftest.er1
45806 ac_status=$?
45807 grep -v '^ *+' conftest.er1 >conftest.err
45808 rm -f conftest.er1
45809 cat conftest.err >&5
45810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45811 (exit $ac_status); } &&
45812 { ac_try='test -z "$ac_cxx_werror_flag"
45813 || test ! -s conftest.err'
45814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45815 (eval $ac_try) 2>&5
45816 ac_status=$?
45817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45818 (exit $ac_status); }; } &&
45819 { ac_try='test -s conftest.$ac_objext'
45820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45821 (eval $ac_try) 2>&5
45822 ac_status=$?
45823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45824 (exit $ac_status); }; }; then
45825 glibcxx_cv_func_logl_use=yes
45826 else
45827 echo "$as_me: failed program was:" >&5
45828 sed 's/^/| /' conftest.$ac_ext >&5
45830 glibcxx_cv_func_logl_use=no
45832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45833 ac_ext=c
45834 ac_cpp='$CPP $CPPFLAGS'
45835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45843 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
45844 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
45846 if test x$glibcxx_cv_func_logl_use = x"yes"; then
45848 for ac_func in logl
45850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45851 echo "$as_me:$LINENO: checking for $ac_func" >&5
45852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45853 if eval "test \"\${$as_ac_var+set}\" = set"; then
45854 echo $ECHO_N "(cached) $ECHO_C" >&6
45855 else
45856 if test x$gcc_no_link = xyes; then
45857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45859 { (exit 1); exit 1; }; }
45861 cat >conftest.$ac_ext <<_ACEOF
45862 /* confdefs.h. */
45863 _ACEOF
45864 cat confdefs.h >>conftest.$ac_ext
45865 cat >>conftest.$ac_ext <<_ACEOF
45866 /* end confdefs.h. */
45867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45869 #define $ac_func innocuous_$ac_func
45871 /* System header to define __stub macros and hopefully few prototypes,
45872 which can conflict with char $ac_func (); below.
45873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45874 <limits.h> exists even on freestanding compilers. */
45876 #ifdef __STDC__
45877 # include <limits.h>
45878 #else
45879 # include <assert.h>
45880 #endif
45882 #undef $ac_func
45884 /* Override any gcc2 internal prototype to avoid an error. */
45885 #ifdef __cplusplus
45886 extern "C"
45888 #endif
45889 /* We use char because int might match the return type of a gcc2
45890 builtin and then its argument prototype would still apply. */
45891 char $ac_func ();
45892 /* The GNU C library defines this for functions which it implements
45893 to always fail with ENOSYS. Some functions are actually named
45894 something starting with __ and the normal name is an alias. */
45895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45896 choke me
45897 #else
45898 char (*f) () = $ac_func;
45899 #endif
45900 #ifdef __cplusplus
45902 #endif
45905 main ()
45907 return f != $ac_func;
45909 return 0;
45911 _ACEOF
45912 rm -f conftest.$ac_objext conftest$ac_exeext
45913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45914 (eval $ac_link) 2>conftest.er1
45915 ac_status=$?
45916 grep -v '^ *+' conftest.er1 >conftest.err
45917 rm -f conftest.er1
45918 cat conftest.err >&5
45919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45920 (exit $ac_status); } &&
45921 { ac_try='test -z "$ac_c_werror_flag"
45922 || test ! -s conftest.err'
45923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45924 (eval $ac_try) 2>&5
45925 ac_status=$?
45926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45927 (exit $ac_status); }; } &&
45928 { ac_try='test -s conftest$ac_exeext'
45929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45930 (eval $ac_try) 2>&5
45931 ac_status=$?
45932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45933 (exit $ac_status); }; }; then
45934 eval "$as_ac_var=yes"
45935 else
45936 echo "$as_me: failed program was:" >&5
45937 sed 's/^/| /' conftest.$ac_ext >&5
45939 eval "$as_ac_var=no"
45941 rm -f conftest.err conftest.$ac_objext \
45942 conftest$ac_exeext conftest.$ac_ext
45944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45946 if test `eval echo '${'$as_ac_var'}'` = yes; then
45947 cat >>confdefs.h <<_ACEOF
45948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45949 _ACEOF
45952 done
45954 else
45956 echo "$as_me:$LINENO: checking for _logl declaration" >&5
45957 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
45958 if test x${glibcxx_cv_func__logl_use+set} != xset; then
45959 if test "${glibcxx_cv_func__logl_use+set}" = set; then
45960 echo $ECHO_N "(cached) $ECHO_C" >&6
45961 else
45965 ac_ext=cc
45966 ac_cpp='$CXXCPP $CPPFLAGS'
45967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45971 cat >conftest.$ac_ext <<_ACEOF
45972 /* confdefs.h. */
45973 _ACEOF
45974 cat confdefs.h >>conftest.$ac_ext
45975 cat >>conftest.$ac_ext <<_ACEOF
45976 /* end confdefs.h. */
45977 #include <math.h>
45978 #ifdef HAVE_IEEEFP_H
45979 #include <ieeefp.h>
45980 #endif
45983 main ()
45985 _logl(0);
45987 return 0;
45989 _ACEOF
45990 rm -f conftest.$ac_objext
45991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45992 (eval $ac_compile) 2>conftest.er1
45993 ac_status=$?
45994 grep -v '^ *+' conftest.er1 >conftest.err
45995 rm -f conftest.er1
45996 cat conftest.err >&5
45997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45998 (exit $ac_status); } &&
45999 { ac_try='test -z "$ac_cxx_werror_flag"
46000 || test ! -s conftest.err'
46001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46002 (eval $ac_try) 2>&5
46003 ac_status=$?
46004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46005 (exit $ac_status); }; } &&
46006 { ac_try='test -s conftest.$ac_objext'
46007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46008 (eval $ac_try) 2>&5
46009 ac_status=$?
46010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46011 (exit $ac_status); }; }; then
46012 glibcxx_cv_func__logl_use=yes
46013 else
46014 echo "$as_me: failed program was:" >&5
46015 sed 's/^/| /' conftest.$ac_ext >&5
46017 glibcxx_cv_func__logl_use=no
46019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46020 ac_ext=c
46021 ac_cpp='$CPP $CPPFLAGS'
46022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46030 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
46031 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
46033 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46035 for ac_func in _logl
46037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46038 echo "$as_me:$LINENO: checking for $ac_func" >&5
46039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46040 if eval "test \"\${$as_ac_var+set}\" = set"; then
46041 echo $ECHO_N "(cached) $ECHO_C" >&6
46042 else
46043 if test x$gcc_no_link = xyes; then
46044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46046 { (exit 1); exit 1; }; }
46048 cat >conftest.$ac_ext <<_ACEOF
46049 /* confdefs.h. */
46050 _ACEOF
46051 cat confdefs.h >>conftest.$ac_ext
46052 cat >>conftest.$ac_ext <<_ACEOF
46053 /* end confdefs.h. */
46054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46056 #define $ac_func innocuous_$ac_func
46058 /* System header to define __stub macros and hopefully few prototypes,
46059 which can conflict with char $ac_func (); below.
46060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46061 <limits.h> exists even on freestanding compilers. */
46063 #ifdef __STDC__
46064 # include <limits.h>
46065 #else
46066 # include <assert.h>
46067 #endif
46069 #undef $ac_func
46071 /* Override any gcc2 internal prototype to avoid an error. */
46072 #ifdef __cplusplus
46073 extern "C"
46075 #endif
46076 /* We use char because int might match the return type of a gcc2
46077 builtin and then its argument prototype would still apply. */
46078 char $ac_func ();
46079 /* The GNU C library defines this for functions which it implements
46080 to always fail with ENOSYS. Some functions are actually named
46081 something starting with __ and the normal name is an alias. */
46082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46083 choke me
46084 #else
46085 char (*f) () = $ac_func;
46086 #endif
46087 #ifdef __cplusplus
46089 #endif
46092 main ()
46094 return f != $ac_func;
46096 return 0;
46098 _ACEOF
46099 rm -f conftest.$ac_objext conftest$ac_exeext
46100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46101 (eval $ac_link) 2>conftest.er1
46102 ac_status=$?
46103 grep -v '^ *+' conftest.er1 >conftest.err
46104 rm -f conftest.er1
46105 cat conftest.err >&5
46106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46107 (exit $ac_status); } &&
46108 { ac_try='test -z "$ac_c_werror_flag"
46109 || test ! -s conftest.err'
46110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46111 (eval $ac_try) 2>&5
46112 ac_status=$?
46113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46114 (exit $ac_status); }; } &&
46115 { ac_try='test -s conftest$ac_exeext'
46116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46117 (eval $ac_try) 2>&5
46118 ac_status=$?
46119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46120 (exit $ac_status); }; }; then
46121 eval "$as_ac_var=yes"
46122 else
46123 echo "$as_me: failed program was:" >&5
46124 sed 's/^/| /' conftest.$ac_ext >&5
46126 eval "$as_ac_var=no"
46128 rm -f conftest.err conftest.$ac_objext \
46129 conftest$ac_exeext conftest.$ac_ext
46131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46133 if test `eval echo '${'$as_ac_var'}'` = yes; then
46134 cat >>confdefs.h <<_ACEOF
46135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46136 _ACEOF
46139 done
46149 echo "$as_me:$LINENO: checking for log10l declaration" >&5
46150 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
46151 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46152 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
46153 echo $ECHO_N "(cached) $ECHO_C" >&6
46154 else
46158 ac_ext=cc
46159 ac_cpp='$CXXCPP $CPPFLAGS'
46160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46164 cat >conftest.$ac_ext <<_ACEOF
46165 /* confdefs.h. */
46166 _ACEOF
46167 cat confdefs.h >>conftest.$ac_ext
46168 cat >>conftest.$ac_ext <<_ACEOF
46169 /* end confdefs.h. */
46170 #include <math.h>
46171 #ifdef HAVE_IEEEFP_H
46172 #include <ieeefp.h>
46173 #endif
46176 main ()
46178 log10l(0);
46180 return 0;
46182 _ACEOF
46183 rm -f conftest.$ac_objext
46184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46185 (eval $ac_compile) 2>conftest.er1
46186 ac_status=$?
46187 grep -v '^ *+' conftest.er1 >conftest.err
46188 rm -f conftest.er1
46189 cat conftest.err >&5
46190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46191 (exit $ac_status); } &&
46192 { ac_try='test -z "$ac_cxx_werror_flag"
46193 || test ! -s conftest.err'
46194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46195 (eval $ac_try) 2>&5
46196 ac_status=$?
46197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46198 (exit $ac_status); }; } &&
46199 { ac_try='test -s conftest.$ac_objext'
46200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46201 (eval $ac_try) 2>&5
46202 ac_status=$?
46203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46204 (exit $ac_status); }; }; then
46205 glibcxx_cv_func_log10l_use=yes
46206 else
46207 echo "$as_me: failed program was:" >&5
46208 sed 's/^/| /' conftest.$ac_ext >&5
46210 glibcxx_cv_func_log10l_use=no
46212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46213 ac_ext=c
46214 ac_cpp='$CPP $CPPFLAGS'
46215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46223 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
46224 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
46226 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46228 for ac_func in log10l
46230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46231 echo "$as_me:$LINENO: checking for $ac_func" >&5
46232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46233 if eval "test \"\${$as_ac_var+set}\" = set"; then
46234 echo $ECHO_N "(cached) $ECHO_C" >&6
46235 else
46236 if test x$gcc_no_link = xyes; then
46237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46239 { (exit 1); exit 1; }; }
46241 cat >conftest.$ac_ext <<_ACEOF
46242 /* confdefs.h. */
46243 _ACEOF
46244 cat confdefs.h >>conftest.$ac_ext
46245 cat >>conftest.$ac_ext <<_ACEOF
46246 /* end confdefs.h. */
46247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46249 #define $ac_func innocuous_$ac_func
46251 /* System header to define __stub macros and hopefully few prototypes,
46252 which can conflict with char $ac_func (); below.
46253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46254 <limits.h> exists even on freestanding compilers. */
46256 #ifdef __STDC__
46257 # include <limits.h>
46258 #else
46259 # include <assert.h>
46260 #endif
46262 #undef $ac_func
46264 /* Override any gcc2 internal prototype to avoid an error. */
46265 #ifdef __cplusplus
46266 extern "C"
46268 #endif
46269 /* We use char because int might match the return type of a gcc2
46270 builtin and then its argument prototype would still apply. */
46271 char $ac_func ();
46272 /* The GNU C library defines this for functions which it implements
46273 to always fail with ENOSYS. Some functions are actually named
46274 something starting with __ and the normal name is an alias. */
46275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46276 choke me
46277 #else
46278 char (*f) () = $ac_func;
46279 #endif
46280 #ifdef __cplusplus
46282 #endif
46285 main ()
46287 return f != $ac_func;
46289 return 0;
46291 _ACEOF
46292 rm -f conftest.$ac_objext conftest$ac_exeext
46293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46294 (eval $ac_link) 2>conftest.er1
46295 ac_status=$?
46296 grep -v '^ *+' conftest.er1 >conftest.err
46297 rm -f conftest.er1
46298 cat conftest.err >&5
46299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46300 (exit $ac_status); } &&
46301 { ac_try='test -z "$ac_c_werror_flag"
46302 || test ! -s conftest.err'
46303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46304 (eval $ac_try) 2>&5
46305 ac_status=$?
46306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46307 (exit $ac_status); }; } &&
46308 { ac_try='test -s conftest$ac_exeext'
46309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46310 (eval $ac_try) 2>&5
46311 ac_status=$?
46312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46313 (exit $ac_status); }; }; then
46314 eval "$as_ac_var=yes"
46315 else
46316 echo "$as_me: failed program was:" >&5
46317 sed 's/^/| /' conftest.$ac_ext >&5
46319 eval "$as_ac_var=no"
46321 rm -f conftest.err conftest.$ac_objext \
46322 conftest$ac_exeext conftest.$ac_ext
46324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46326 if test `eval echo '${'$as_ac_var'}'` = yes; then
46327 cat >>confdefs.h <<_ACEOF
46328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46329 _ACEOF
46332 done
46334 else
46336 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
46337 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
46338 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46339 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
46340 echo $ECHO_N "(cached) $ECHO_C" >&6
46341 else
46345 ac_ext=cc
46346 ac_cpp='$CXXCPP $CPPFLAGS'
46347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46351 cat >conftest.$ac_ext <<_ACEOF
46352 /* confdefs.h. */
46353 _ACEOF
46354 cat confdefs.h >>conftest.$ac_ext
46355 cat >>conftest.$ac_ext <<_ACEOF
46356 /* end confdefs.h. */
46357 #include <math.h>
46358 #ifdef HAVE_IEEEFP_H
46359 #include <ieeefp.h>
46360 #endif
46363 main ()
46365 _log10l(0);
46367 return 0;
46369 _ACEOF
46370 rm -f conftest.$ac_objext
46371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46372 (eval $ac_compile) 2>conftest.er1
46373 ac_status=$?
46374 grep -v '^ *+' conftest.er1 >conftest.err
46375 rm -f conftest.er1
46376 cat conftest.err >&5
46377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46378 (exit $ac_status); } &&
46379 { ac_try='test -z "$ac_cxx_werror_flag"
46380 || test ! -s conftest.err'
46381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46382 (eval $ac_try) 2>&5
46383 ac_status=$?
46384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46385 (exit $ac_status); }; } &&
46386 { ac_try='test -s conftest.$ac_objext'
46387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46388 (eval $ac_try) 2>&5
46389 ac_status=$?
46390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46391 (exit $ac_status); }; }; then
46392 glibcxx_cv_func__log10l_use=yes
46393 else
46394 echo "$as_me: failed program was:" >&5
46395 sed 's/^/| /' conftest.$ac_ext >&5
46397 glibcxx_cv_func__log10l_use=no
46399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46400 ac_ext=c
46401 ac_cpp='$CPP $CPPFLAGS'
46402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46410 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
46411 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
46413 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46415 for ac_func in _log10l
46417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46418 echo "$as_me:$LINENO: checking for $ac_func" >&5
46419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46420 if eval "test \"\${$as_ac_var+set}\" = set"; then
46421 echo $ECHO_N "(cached) $ECHO_C" >&6
46422 else
46423 if test x$gcc_no_link = xyes; then
46424 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46426 { (exit 1); exit 1; }; }
46428 cat >conftest.$ac_ext <<_ACEOF
46429 /* confdefs.h. */
46430 _ACEOF
46431 cat confdefs.h >>conftest.$ac_ext
46432 cat >>conftest.$ac_ext <<_ACEOF
46433 /* end confdefs.h. */
46434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46436 #define $ac_func innocuous_$ac_func
46438 /* System header to define __stub macros and hopefully few prototypes,
46439 which can conflict with char $ac_func (); below.
46440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46441 <limits.h> exists even on freestanding compilers. */
46443 #ifdef __STDC__
46444 # include <limits.h>
46445 #else
46446 # include <assert.h>
46447 #endif
46449 #undef $ac_func
46451 /* Override any gcc2 internal prototype to avoid an error. */
46452 #ifdef __cplusplus
46453 extern "C"
46455 #endif
46456 /* We use char because int might match the return type of a gcc2
46457 builtin and then its argument prototype would still apply. */
46458 char $ac_func ();
46459 /* The GNU C library defines this for functions which it implements
46460 to always fail with ENOSYS. Some functions are actually named
46461 something starting with __ and the normal name is an alias. */
46462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46463 choke me
46464 #else
46465 char (*f) () = $ac_func;
46466 #endif
46467 #ifdef __cplusplus
46469 #endif
46472 main ()
46474 return f != $ac_func;
46476 return 0;
46478 _ACEOF
46479 rm -f conftest.$ac_objext conftest$ac_exeext
46480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46481 (eval $ac_link) 2>conftest.er1
46482 ac_status=$?
46483 grep -v '^ *+' conftest.er1 >conftest.err
46484 rm -f conftest.er1
46485 cat conftest.err >&5
46486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46487 (exit $ac_status); } &&
46488 { ac_try='test -z "$ac_c_werror_flag"
46489 || test ! -s conftest.err'
46490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46491 (eval $ac_try) 2>&5
46492 ac_status=$?
46493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46494 (exit $ac_status); }; } &&
46495 { ac_try='test -s conftest$ac_exeext'
46496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46497 (eval $ac_try) 2>&5
46498 ac_status=$?
46499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46500 (exit $ac_status); }; }; then
46501 eval "$as_ac_var=yes"
46502 else
46503 echo "$as_me: failed program was:" >&5
46504 sed 's/^/| /' conftest.$ac_ext >&5
46506 eval "$as_ac_var=no"
46508 rm -f conftest.err conftest.$ac_objext \
46509 conftest$ac_exeext conftest.$ac_ext
46511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46513 if test `eval echo '${'$as_ac_var'}'` = yes; then
46514 cat >>confdefs.h <<_ACEOF
46515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46516 _ACEOF
46519 done
46529 echo "$as_me:$LINENO: checking for modfl declaration" >&5
46530 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
46531 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46532 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
46533 echo $ECHO_N "(cached) $ECHO_C" >&6
46534 else
46538 ac_ext=cc
46539 ac_cpp='$CXXCPP $CPPFLAGS'
46540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46544 cat >conftest.$ac_ext <<_ACEOF
46545 /* confdefs.h. */
46546 _ACEOF
46547 cat confdefs.h >>conftest.$ac_ext
46548 cat >>conftest.$ac_ext <<_ACEOF
46549 /* end confdefs.h. */
46550 #include <math.h>
46552 main ()
46554 modfl(0, 0);
46556 return 0;
46558 _ACEOF
46559 rm -f conftest.$ac_objext
46560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46561 (eval $ac_compile) 2>conftest.er1
46562 ac_status=$?
46563 grep -v '^ *+' conftest.er1 >conftest.err
46564 rm -f conftest.er1
46565 cat conftest.err >&5
46566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46567 (exit $ac_status); } &&
46568 { ac_try='test -z "$ac_cxx_werror_flag"
46569 || test ! -s conftest.err'
46570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46571 (eval $ac_try) 2>&5
46572 ac_status=$?
46573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46574 (exit $ac_status); }; } &&
46575 { ac_try='test -s conftest.$ac_objext'
46576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46577 (eval $ac_try) 2>&5
46578 ac_status=$?
46579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46580 (exit $ac_status); }; }; then
46581 glibcxx_cv_func_modfl_use=yes
46582 else
46583 echo "$as_me: failed program was:" >&5
46584 sed 's/^/| /' conftest.$ac_ext >&5
46586 glibcxx_cv_func_modfl_use=no
46588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46589 ac_ext=c
46590 ac_cpp='$CPP $CPPFLAGS'
46591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46599 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
46600 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
46602 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46604 for ac_func in modfl
46606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46607 echo "$as_me:$LINENO: checking for $ac_func" >&5
46608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46609 if eval "test \"\${$as_ac_var+set}\" = set"; then
46610 echo $ECHO_N "(cached) $ECHO_C" >&6
46611 else
46612 if test x$gcc_no_link = xyes; then
46613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46615 { (exit 1); exit 1; }; }
46617 cat >conftest.$ac_ext <<_ACEOF
46618 /* confdefs.h. */
46619 _ACEOF
46620 cat confdefs.h >>conftest.$ac_ext
46621 cat >>conftest.$ac_ext <<_ACEOF
46622 /* end confdefs.h. */
46623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46625 #define $ac_func innocuous_$ac_func
46627 /* System header to define __stub macros and hopefully few prototypes,
46628 which can conflict with char $ac_func (); below.
46629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46630 <limits.h> exists even on freestanding compilers. */
46632 #ifdef __STDC__
46633 # include <limits.h>
46634 #else
46635 # include <assert.h>
46636 #endif
46638 #undef $ac_func
46640 /* Override any gcc2 internal prototype to avoid an error. */
46641 #ifdef __cplusplus
46642 extern "C"
46644 #endif
46645 /* We use char because int might match the return type of a gcc2
46646 builtin and then its argument prototype would still apply. */
46647 char $ac_func ();
46648 /* The GNU C library defines this for functions which it implements
46649 to always fail with ENOSYS. Some functions are actually named
46650 something starting with __ and the normal name is an alias. */
46651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46652 choke me
46653 #else
46654 char (*f) () = $ac_func;
46655 #endif
46656 #ifdef __cplusplus
46658 #endif
46661 main ()
46663 return f != $ac_func;
46665 return 0;
46667 _ACEOF
46668 rm -f conftest.$ac_objext conftest$ac_exeext
46669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46670 (eval $ac_link) 2>conftest.er1
46671 ac_status=$?
46672 grep -v '^ *+' conftest.er1 >conftest.err
46673 rm -f conftest.er1
46674 cat conftest.err >&5
46675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46676 (exit $ac_status); } &&
46677 { ac_try='test -z "$ac_c_werror_flag"
46678 || test ! -s conftest.err'
46679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46680 (eval $ac_try) 2>&5
46681 ac_status=$?
46682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46683 (exit $ac_status); }; } &&
46684 { ac_try='test -s conftest$ac_exeext'
46685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46686 (eval $ac_try) 2>&5
46687 ac_status=$?
46688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46689 (exit $ac_status); }; }; then
46690 eval "$as_ac_var=yes"
46691 else
46692 echo "$as_me: failed program was:" >&5
46693 sed 's/^/| /' conftest.$ac_ext >&5
46695 eval "$as_ac_var=no"
46697 rm -f conftest.err conftest.$ac_objext \
46698 conftest$ac_exeext conftest.$ac_ext
46700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46702 if test `eval echo '${'$as_ac_var'}'` = yes; then
46703 cat >>confdefs.h <<_ACEOF
46704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46705 _ACEOF
46708 done
46710 else
46712 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
46713 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
46714 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46715 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
46716 echo $ECHO_N "(cached) $ECHO_C" >&6
46717 else
46721 ac_ext=cc
46722 ac_cpp='$CXXCPP $CPPFLAGS'
46723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46727 cat >conftest.$ac_ext <<_ACEOF
46728 /* confdefs.h. */
46729 _ACEOF
46730 cat confdefs.h >>conftest.$ac_ext
46731 cat >>conftest.$ac_ext <<_ACEOF
46732 /* end confdefs.h. */
46733 #include <math.h>
46735 main ()
46737 _modfl(0, 0);
46739 return 0;
46741 _ACEOF
46742 rm -f conftest.$ac_objext
46743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46744 (eval $ac_compile) 2>conftest.er1
46745 ac_status=$?
46746 grep -v '^ *+' conftest.er1 >conftest.err
46747 rm -f conftest.er1
46748 cat conftest.err >&5
46749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46750 (exit $ac_status); } &&
46751 { ac_try='test -z "$ac_cxx_werror_flag"
46752 || test ! -s conftest.err'
46753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46754 (eval $ac_try) 2>&5
46755 ac_status=$?
46756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46757 (exit $ac_status); }; } &&
46758 { ac_try='test -s conftest.$ac_objext'
46759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46760 (eval $ac_try) 2>&5
46761 ac_status=$?
46762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46763 (exit $ac_status); }; }; then
46764 glibcxx_cv_func__modfl_use=yes
46765 else
46766 echo "$as_me: failed program was:" >&5
46767 sed 's/^/| /' conftest.$ac_ext >&5
46769 glibcxx_cv_func__modfl_use=no
46771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46772 ac_ext=c
46773 ac_cpp='$CPP $CPPFLAGS'
46774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46782 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
46783 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
46785 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46787 for ac_func in _modfl
46789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46790 echo "$as_me:$LINENO: checking for $ac_func" >&5
46791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46792 if eval "test \"\${$as_ac_var+set}\" = set"; then
46793 echo $ECHO_N "(cached) $ECHO_C" >&6
46794 else
46795 if test x$gcc_no_link = xyes; then
46796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46798 { (exit 1); exit 1; }; }
46800 cat >conftest.$ac_ext <<_ACEOF
46801 /* confdefs.h. */
46802 _ACEOF
46803 cat confdefs.h >>conftest.$ac_ext
46804 cat >>conftest.$ac_ext <<_ACEOF
46805 /* end confdefs.h. */
46806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46808 #define $ac_func innocuous_$ac_func
46810 /* System header to define __stub macros and hopefully few prototypes,
46811 which can conflict with char $ac_func (); below.
46812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46813 <limits.h> exists even on freestanding compilers. */
46815 #ifdef __STDC__
46816 # include <limits.h>
46817 #else
46818 # include <assert.h>
46819 #endif
46821 #undef $ac_func
46823 /* Override any gcc2 internal prototype to avoid an error. */
46824 #ifdef __cplusplus
46825 extern "C"
46827 #endif
46828 /* We use char because int might match the return type of a gcc2
46829 builtin and then its argument prototype would still apply. */
46830 char $ac_func ();
46831 /* The GNU C library defines this for functions which it implements
46832 to always fail with ENOSYS. Some functions are actually named
46833 something starting with __ and the normal name is an alias. */
46834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46835 choke me
46836 #else
46837 char (*f) () = $ac_func;
46838 #endif
46839 #ifdef __cplusplus
46841 #endif
46844 main ()
46846 return f != $ac_func;
46848 return 0;
46850 _ACEOF
46851 rm -f conftest.$ac_objext conftest$ac_exeext
46852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46853 (eval $ac_link) 2>conftest.er1
46854 ac_status=$?
46855 grep -v '^ *+' conftest.er1 >conftest.err
46856 rm -f conftest.er1
46857 cat conftest.err >&5
46858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46859 (exit $ac_status); } &&
46860 { ac_try='test -z "$ac_c_werror_flag"
46861 || test ! -s conftest.err'
46862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46863 (eval $ac_try) 2>&5
46864 ac_status=$?
46865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46866 (exit $ac_status); }; } &&
46867 { ac_try='test -s conftest$ac_exeext'
46868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46869 (eval $ac_try) 2>&5
46870 ac_status=$?
46871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46872 (exit $ac_status); }; }; then
46873 eval "$as_ac_var=yes"
46874 else
46875 echo "$as_me: failed program was:" >&5
46876 sed 's/^/| /' conftest.$ac_ext >&5
46878 eval "$as_ac_var=no"
46880 rm -f conftest.err conftest.$ac_objext \
46881 conftest$ac_exeext conftest.$ac_ext
46883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46885 if test `eval echo '${'$as_ac_var'}'` = yes; then
46886 cat >>confdefs.h <<_ACEOF
46887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46888 _ACEOF
46891 done
46901 echo "$as_me:$LINENO: checking for powl declaration" >&5
46902 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
46903 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46904 if test "${glibcxx_cv_func_powl_use+set}" = set; then
46905 echo $ECHO_N "(cached) $ECHO_C" >&6
46906 else
46910 ac_ext=cc
46911 ac_cpp='$CXXCPP $CPPFLAGS'
46912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46916 cat >conftest.$ac_ext <<_ACEOF
46917 /* confdefs.h. */
46918 _ACEOF
46919 cat confdefs.h >>conftest.$ac_ext
46920 cat >>conftest.$ac_ext <<_ACEOF
46921 /* end confdefs.h. */
46922 #include <math.h>
46924 main ()
46926 powl(0, 0);
46928 return 0;
46930 _ACEOF
46931 rm -f conftest.$ac_objext
46932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46933 (eval $ac_compile) 2>conftest.er1
46934 ac_status=$?
46935 grep -v '^ *+' conftest.er1 >conftest.err
46936 rm -f conftest.er1
46937 cat conftest.err >&5
46938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46939 (exit $ac_status); } &&
46940 { ac_try='test -z "$ac_cxx_werror_flag"
46941 || test ! -s conftest.err'
46942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46943 (eval $ac_try) 2>&5
46944 ac_status=$?
46945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46946 (exit $ac_status); }; } &&
46947 { ac_try='test -s conftest.$ac_objext'
46948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46949 (eval $ac_try) 2>&5
46950 ac_status=$?
46951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46952 (exit $ac_status); }; }; then
46953 glibcxx_cv_func_powl_use=yes
46954 else
46955 echo "$as_me: failed program was:" >&5
46956 sed 's/^/| /' conftest.$ac_ext >&5
46958 glibcxx_cv_func_powl_use=no
46960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46961 ac_ext=c
46962 ac_cpp='$CPP $CPPFLAGS'
46963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46971 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
46972 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
46974 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46976 for ac_func in powl
46978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46979 echo "$as_me:$LINENO: checking for $ac_func" >&5
46980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46981 if eval "test \"\${$as_ac_var+set}\" = set"; then
46982 echo $ECHO_N "(cached) $ECHO_C" >&6
46983 else
46984 if test x$gcc_no_link = xyes; then
46985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46987 { (exit 1); exit 1; }; }
46989 cat >conftest.$ac_ext <<_ACEOF
46990 /* confdefs.h. */
46991 _ACEOF
46992 cat confdefs.h >>conftest.$ac_ext
46993 cat >>conftest.$ac_ext <<_ACEOF
46994 /* end confdefs.h. */
46995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46997 #define $ac_func innocuous_$ac_func
46999 /* System header to define __stub macros and hopefully few prototypes,
47000 which can conflict with char $ac_func (); below.
47001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47002 <limits.h> exists even on freestanding compilers. */
47004 #ifdef __STDC__
47005 # include <limits.h>
47006 #else
47007 # include <assert.h>
47008 #endif
47010 #undef $ac_func
47012 /* Override any gcc2 internal prototype to avoid an error. */
47013 #ifdef __cplusplus
47014 extern "C"
47016 #endif
47017 /* We use char because int might match the return type of a gcc2
47018 builtin and then its argument prototype would still apply. */
47019 char $ac_func ();
47020 /* The GNU C library defines this for functions which it implements
47021 to always fail with ENOSYS. Some functions are actually named
47022 something starting with __ and the normal name is an alias. */
47023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47024 choke me
47025 #else
47026 char (*f) () = $ac_func;
47027 #endif
47028 #ifdef __cplusplus
47030 #endif
47033 main ()
47035 return f != $ac_func;
47037 return 0;
47039 _ACEOF
47040 rm -f conftest.$ac_objext conftest$ac_exeext
47041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47042 (eval $ac_link) 2>conftest.er1
47043 ac_status=$?
47044 grep -v '^ *+' conftest.er1 >conftest.err
47045 rm -f conftest.er1
47046 cat conftest.err >&5
47047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47048 (exit $ac_status); } &&
47049 { ac_try='test -z "$ac_c_werror_flag"
47050 || test ! -s conftest.err'
47051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47052 (eval $ac_try) 2>&5
47053 ac_status=$?
47054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47055 (exit $ac_status); }; } &&
47056 { ac_try='test -s conftest$ac_exeext'
47057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47058 (eval $ac_try) 2>&5
47059 ac_status=$?
47060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47061 (exit $ac_status); }; }; then
47062 eval "$as_ac_var=yes"
47063 else
47064 echo "$as_me: failed program was:" >&5
47065 sed 's/^/| /' conftest.$ac_ext >&5
47067 eval "$as_ac_var=no"
47069 rm -f conftest.err conftest.$ac_objext \
47070 conftest$ac_exeext conftest.$ac_ext
47072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47074 if test `eval echo '${'$as_ac_var'}'` = yes; then
47075 cat >>confdefs.h <<_ACEOF
47076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47077 _ACEOF
47080 done
47082 else
47084 echo "$as_me:$LINENO: checking for _powl declaration" >&5
47085 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
47086 if test x${glibcxx_cv_func__powl_use+set} != xset; then
47087 if test "${glibcxx_cv_func__powl_use+set}" = set; then
47088 echo $ECHO_N "(cached) $ECHO_C" >&6
47089 else
47093 ac_ext=cc
47094 ac_cpp='$CXXCPP $CPPFLAGS'
47095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47099 cat >conftest.$ac_ext <<_ACEOF
47100 /* confdefs.h. */
47101 _ACEOF
47102 cat confdefs.h >>conftest.$ac_ext
47103 cat >>conftest.$ac_ext <<_ACEOF
47104 /* end confdefs.h. */
47105 #include <math.h>
47107 main ()
47109 _powl(0, 0);
47111 return 0;
47113 _ACEOF
47114 rm -f conftest.$ac_objext
47115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47116 (eval $ac_compile) 2>conftest.er1
47117 ac_status=$?
47118 grep -v '^ *+' conftest.er1 >conftest.err
47119 rm -f conftest.er1
47120 cat conftest.err >&5
47121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47122 (exit $ac_status); } &&
47123 { ac_try='test -z "$ac_cxx_werror_flag"
47124 || test ! -s conftest.err'
47125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47126 (eval $ac_try) 2>&5
47127 ac_status=$?
47128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47129 (exit $ac_status); }; } &&
47130 { ac_try='test -s conftest.$ac_objext'
47131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47132 (eval $ac_try) 2>&5
47133 ac_status=$?
47134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47135 (exit $ac_status); }; }; then
47136 glibcxx_cv_func__powl_use=yes
47137 else
47138 echo "$as_me: failed program was:" >&5
47139 sed 's/^/| /' conftest.$ac_ext >&5
47141 glibcxx_cv_func__powl_use=no
47143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47144 ac_ext=c
47145 ac_cpp='$CPP $CPPFLAGS'
47146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47154 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
47155 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
47157 if test x$glibcxx_cv_func__powl_use = x"yes"; then
47159 for ac_func in _powl
47161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47162 echo "$as_me:$LINENO: checking for $ac_func" >&5
47163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47164 if eval "test \"\${$as_ac_var+set}\" = set"; then
47165 echo $ECHO_N "(cached) $ECHO_C" >&6
47166 else
47167 if test x$gcc_no_link = xyes; then
47168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47170 { (exit 1); exit 1; }; }
47172 cat >conftest.$ac_ext <<_ACEOF
47173 /* confdefs.h. */
47174 _ACEOF
47175 cat confdefs.h >>conftest.$ac_ext
47176 cat >>conftest.$ac_ext <<_ACEOF
47177 /* end confdefs.h. */
47178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47180 #define $ac_func innocuous_$ac_func
47182 /* System header to define __stub macros and hopefully few prototypes,
47183 which can conflict with char $ac_func (); below.
47184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47185 <limits.h> exists even on freestanding compilers. */
47187 #ifdef __STDC__
47188 # include <limits.h>
47189 #else
47190 # include <assert.h>
47191 #endif
47193 #undef $ac_func
47195 /* Override any gcc2 internal prototype to avoid an error. */
47196 #ifdef __cplusplus
47197 extern "C"
47199 #endif
47200 /* We use char because int might match the return type of a gcc2
47201 builtin and then its argument prototype would still apply. */
47202 char $ac_func ();
47203 /* The GNU C library defines this for functions which it implements
47204 to always fail with ENOSYS. Some functions are actually named
47205 something starting with __ and the normal name is an alias. */
47206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47207 choke me
47208 #else
47209 char (*f) () = $ac_func;
47210 #endif
47211 #ifdef __cplusplus
47213 #endif
47216 main ()
47218 return f != $ac_func;
47220 return 0;
47222 _ACEOF
47223 rm -f conftest.$ac_objext conftest$ac_exeext
47224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47225 (eval $ac_link) 2>conftest.er1
47226 ac_status=$?
47227 grep -v '^ *+' conftest.er1 >conftest.err
47228 rm -f conftest.er1
47229 cat conftest.err >&5
47230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47231 (exit $ac_status); } &&
47232 { ac_try='test -z "$ac_c_werror_flag"
47233 || test ! -s conftest.err'
47234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47235 (eval $ac_try) 2>&5
47236 ac_status=$?
47237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47238 (exit $ac_status); }; } &&
47239 { ac_try='test -s conftest$ac_exeext'
47240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47241 (eval $ac_try) 2>&5
47242 ac_status=$?
47243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47244 (exit $ac_status); }; }; then
47245 eval "$as_ac_var=yes"
47246 else
47247 echo "$as_me: failed program was:" >&5
47248 sed 's/^/| /' conftest.$ac_ext >&5
47250 eval "$as_ac_var=no"
47252 rm -f conftest.err conftest.$ac_objext \
47253 conftest$ac_exeext conftest.$ac_ext
47255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47257 if test `eval echo '${'$as_ac_var'}'` = yes; then
47258 cat >>confdefs.h <<_ACEOF
47259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47260 _ACEOF
47263 done
47273 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
47274 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
47275 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
47276 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
47277 echo $ECHO_N "(cached) $ECHO_C" >&6
47278 else
47282 ac_ext=cc
47283 ac_cpp='$CXXCPP $CPPFLAGS'
47284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47288 cat >conftest.$ac_ext <<_ACEOF
47289 /* confdefs.h. */
47290 _ACEOF
47291 cat confdefs.h >>conftest.$ac_ext
47292 cat >>conftest.$ac_ext <<_ACEOF
47293 /* end confdefs.h. */
47294 #include <math.h>
47295 #ifdef HAVE_IEEEFP_H
47296 #include <ieeefp.h>
47297 #endif
47300 main ()
47302 sqrtl(0);
47304 return 0;
47306 _ACEOF
47307 rm -f conftest.$ac_objext
47308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47309 (eval $ac_compile) 2>conftest.er1
47310 ac_status=$?
47311 grep -v '^ *+' conftest.er1 >conftest.err
47312 rm -f conftest.er1
47313 cat conftest.err >&5
47314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47315 (exit $ac_status); } &&
47316 { ac_try='test -z "$ac_cxx_werror_flag"
47317 || test ! -s conftest.err'
47318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47319 (eval $ac_try) 2>&5
47320 ac_status=$?
47321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47322 (exit $ac_status); }; } &&
47323 { ac_try='test -s conftest.$ac_objext'
47324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47325 (eval $ac_try) 2>&5
47326 ac_status=$?
47327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47328 (exit $ac_status); }; }; then
47329 glibcxx_cv_func_sqrtl_use=yes
47330 else
47331 echo "$as_me: failed program was:" >&5
47332 sed 's/^/| /' conftest.$ac_ext >&5
47334 glibcxx_cv_func_sqrtl_use=no
47336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47337 ac_ext=c
47338 ac_cpp='$CPP $CPPFLAGS'
47339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47347 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
47348 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
47350 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
47352 for ac_func in sqrtl
47354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47355 echo "$as_me:$LINENO: checking for $ac_func" >&5
47356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47357 if eval "test \"\${$as_ac_var+set}\" = set"; then
47358 echo $ECHO_N "(cached) $ECHO_C" >&6
47359 else
47360 if test x$gcc_no_link = xyes; then
47361 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47363 { (exit 1); exit 1; }; }
47365 cat >conftest.$ac_ext <<_ACEOF
47366 /* confdefs.h. */
47367 _ACEOF
47368 cat confdefs.h >>conftest.$ac_ext
47369 cat >>conftest.$ac_ext <<_ACEOF
47370 /* end confdefs.h. */
47371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47373 #define $ac_func innocuous_$ac_func
47375 /* System header to define __stub macros and hopefully few prototypes,
47376 which can conflict with char $ac_func (); below.
47377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47378 <limits.h> exists even on freestanding compilers. */
47380 #ifdef __STDC__
47381 # include <limits.h>
47382 #else
47383 # include <assert.h>
47384 #endif
47386 #undef $ac_func
47388 /* Override any gcc2 internal prototype to avoid an error. */
47389 #ifdef __cplusplus
47390 extern "C"
47392 #endif
47393 /* We use char because int might match the return type of a gcc2
47394 builtin and then its argument prototype would still apply. */
47395 char $ac_func ();
47396 /* The GNU C library defines this for functions which it implements
47397 to always fail with ENOSYS. Some functions are actually named
47398 something starting with __ and the normal name is an alias. */
47399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47400 choke me
47401 #else
47402 char (*f) () = $ac_func;
47403 #endif
47404 #ifdef __cplusplus
47406 #endif
47409 main ()
47411 return f != $ac_func;
47413 return 0;
47415 _ACEOF
47416 rm -f conftest.$ac_objext conftest$ac_exeext
47417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47418 (eval $ac_link) 2>conftest.er1
47419 ac_status=$?
47420 grep -v '^ *+' conftest.er1 >conftest.err
47421 rm -f conftest.er1
47422 cat conftest.err >&5
47423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47424 (exit $ac_status); } &&
47425 { ac_try='test -z "$ac_c_werror_flag"
47426 || test ! -s conftest.err'
47427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47428 (eval $ac_try) 2>&5
47429 ac_status=$?
47430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47431 (exit $ac_status); }; } &&
47432 { ac_try='test -s conftest$ac_exeext'
47433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47434 (eval $ac_try) 2>&5
47435 ac_status=$?
47436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47437 (exit $ac_status); }; }; then
47438 eval "$as_ac_var=yes"
47439 else
47440 echo "$as_me: failed program was:" >&5
47441 sed 's/^/| /' conftest.$ac_ext >&5
47443 eval "$as_ac_var=no"
47445 rm -f conftest.err conftest.$ac_objext \
47446 conftest$ac_exeext conftest.$ac_ext
47448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47450 if test `eval echo '${'$as_ac_var'}'` = yes; then
47451 cat >>confdefs.h <<_ACEOF
47452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47453 _ACEOF
47456 done
47458 else
47460 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
47461 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
47462 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
47463 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
47464 echo $ECHO_N "(cached) $ECHO_C" >&6
47465 else
47469 ac_ext=cc
47470 ac_cpp='$CXXCPP $CPPFLAGS'
47471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47475 cat >conftest.$ac_ext <<_ACEOF
47476 /* confdefs.h. */
47477 _ACEOF
47478 cat confdefs.h >>conftest.$ac_ext
47479 cat >>conftest.$ac_ext <<_ACEOF
47480 /* end confdefs.h. */
47481 #include <math.h>
47482 #ifdef HAVE_IEEEFP_H
47483 #include <ieeefp.h>
47484 #endif
47487 main ()
47489 _sqrtl(0);
47491 return 0;
47493 _ACEOF
47494 rm -f conftest.$ac_objext
47495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47496 (eval $ac_compile) 2>conftest.er1
47497 ac_status=$?
47498 grep -v '^ *+' conftest.er1 >conftest.err
47499 rm -f conftest.er1
47500 cat conftest.err >&5
47501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47502 (exit $ac_status); } &&
47503 { ac_try='test -z "$ac_cxx_werror_flag"
47504 || test ! -s conftest.err'
47505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47506 (eval $ac_try) 2>&5
47507 ac_status=$?
47508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47509 (exit $ac_status); }; } &&
47510 { ac_try='test -s conftest.$ac_objext'
47511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47512 (eval $ac_try) 2>&5
47513 ac_status=$?
47514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47515 (exit $ac_status); }; }; then
47516 glibcxx_cv_func__sqrtl_use=yes
47517 else
47518 echo "$as_me: failed program was:" >&5
47519 sed 's/^/| /' conftest.$ac_ext >&5
47521 glibcxx_cv_func__sqrtl_use=no
47523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47524 ac_ext=c
47525 ac_cpp='$CPP $CPPFLAGS'
47526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47534 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
47535 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
47537 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
47539 for ac_func in _sqrtl
47541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47542 echo "$as_me:$LINENO: checking for $ac_func" >&5
47543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47544 if eval "test \"\${$as_ac_var+set}\" = set"; then
47545 echo $ECHO_N "(cached) $ECHO_C" >&6
47546 else
47547 if test x$gcc_no_link = xyes; then
47548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47550 { (exit 1); exit 1; }; }
47552 cat >conftest.$ac_ext <<_ACEOF
47553 /* confdefs.h. */
47554 _ACEOF
47555 cat confdefs.h >>conftest.$ac_ext
47556 cat >>conftest.$ac_ext <<_ACEOF
47557 /* end confdefs.h. */
47558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47560 #define $ac_func innocuous_$ac_func
47562 /* System header to define __stub macros and hopefully few prototypes,
47563 which can conflict with char $ac_func (); below.
47564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47565 <limits.h> exists even on freestanding compilers. */
47567 #ifdef __STDC__
47568 # include <limits.h>
47569 #else
47570 # include <assert.h>
47571 #endif
47573 #undef $ac_func
47575 /* Override any gcc2 internal prototype to avoid an error. */
47576 #ifdef __cplusplus
47577 extern "C"
47579 #endif
47580 /* We use char because int might match the return type of a gcc2
47581 builtin and then its argument prototype would still apply. */
47582 char $ac_func ();
47583 /* The GNU C library defines this for functions which it implements
47584 to always fail with ENOSYS. Some functions are actually named
47585 something starting with __ and the normal name is an alias. */
47586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47587 choke me
47588 #else
47589 char (*f) () = $ac_func;
47590 #endif
47591 #ifdef __cplusplus
47593 #endif
47596 main ()
47598 return f != $ac_func;
47600 return 0;
47602 _ACEOF
47603 rm -f conftest.$ac_objext conftest$ac_exeext
47604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47605 (eval $ac_link) 2>conftest.er1
47606 ac_status=$?
47607 grep -v '^ *+' conftest.er1 >conftest.err
47608 rm -f conftest.er1
47609 cat conftest.err >&5
47610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47611 (exit $ac_status); } &&
47612 { ac_try='test -z "$ac_c_werror_flag"
47613 || test ! -s conftest.err'
47614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47615 (eval $ac_try) 2>&5
47616 ac_status=$?
47617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47618 (exit $ac_status); }; } &&
47619 { ac_try='test -s conftest$ac_exeext'
47620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47621 (eval $ac_try) 2>&5
47622 ac_status=$?
47623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47624 (exit $ac_status); }; }; then
47625 eval "$as_ac_var=yes"
47626 else
47627 echo "$as_me: failed program was:" >&5
47628 sed 's/^/| /' conftest.$ac_ext >&5
47630 eval "$as_ac_var=no"
47632 rm -f conftest.err conftest.$ac_objext \
47633 conftest$ac_exeext conftest.$ac_ext
47635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47637 if test `eval echo '${'$as_ac_var'}'` = yes; then
47638 cat >>confdefs.h <<_ACEOF
47639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47640 _ACEOF
47643 done
47653 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
47654 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
47655 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
47656 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
47657 echo $ECHO_N "(cached) $ECHO_C" >&6
47658 else
47662 ac_ext=cc
47663 ac_cpp='$CXXCPP $CPPFLAGS'
47664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47668 cat >conftest.$ac_ext <<_ACEOF
47669 /* confdefs.h. */
47670 _ACEOF
47671 cat confdefs.h >>conftest.$ac_ext
47672 cat >>conftest.$ac_ext <<_ACEOF
47673 /* end confdefs.h. */
47674 #include <math.h>
47676 main ()
47678 sincosl(0, 0, 0);
47680 return 0;
47682 _ACEOF
47683 rm -f conftest.$ac_objext
47684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47685 (eval $ac_compile) 2>conftest.er1
47686 ac_status=$?
47687 grep -v '^ *+' conftest.er1 >conftest.err
47688 rm -f conftest.er1
47689 cat conftest.err >&5
47690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47691 (exit $ac_status); } &&
47692 { ac_try='test -z "$ac_cxx_werror_flag"
47693 || test ! -s conftest.err'
47694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47695 (eval $ac_try) 2>&5
47696 ac_status=$?
47697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47698 (exit $ac_status); }; } &&
47699 { ac_try='test -s conftest.$ac_objext'
47700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47701 (eval $ac_try) 2>&5
47702 ac_status=$?
47703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47704 (exit $ac_status); }; }; then
47705 glibcxx_cv_func_sincosl_use=yes
47706 else
47707 echo "$as_me: failed program was:" >&5
47708 sed 's/^/| /' conftest.$ac_ext >&5
47710 glibcxx_cv_func_sincosl_use=no
47712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47713 ac_ext=c
47714 ac_cpp='$CPP $CPPFLAGS'
47715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47723 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
47724 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
47726 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
47728 for ac_func in sincosl
47730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47731 echo "$as_me:$LINENO: checking for $ac_func" >&5
47732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47733 if eval "test \"\${$as_ac_var+set}\" = set"; then
47734 echo $ECHO_N "(cached) $ECHO_C" >&6
47735 else
47736 if test x$gcc_no_link = xyes; then
47737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47739 { (exit 1); exit 1; }; }
47741 cat >conftest.$ac_ext <<_ACEOF
47742 /* confdefs.h. */
47743 _ACEOF
47744 cat confdefs.h >>conftest.$ac_ext
47745 cat >>conftest.$ac_ext <<_ACEOF
47746 /* end confdefs.h. */
47747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47749 #define $ac_func innocuous_$ac_func
47751 /* System header to define __stub macros and hopefully few prototypes,
47752 which can conflict with char $ac_func (); below.
47753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47754 <limits.h> exists even on freestanding compilers. */
47756 #ifdef __STDC__
47757 # include <limits.h>
47758 #else
47759 # include <assert.h>
47760 #endif
47762 #undef $ac_func
47764 /* Override any gcc2 internal prototype to avoid an error. */
47765 #ifdef __cplusplus
47766 extern "C"
47768 #endif
47769 /* We use char because int might match the return type of a gcc2
47770 builtin and then its argument prototype would still apply. */
47771 char $ac_func ();
47772 /* The GNU C library defines this for functions which it implements
47773 to always fail with ENOSYS. Some functions are actually named
47774 something starting with __ and the normal name is an alias. */
47775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47776 choke me
47777 #else
47778 char (*f) () = $ac_func;
47779 #endif
47780 #ifdef __cplusplus
47782 #endif
47785 main ()
47787 return f != $ac_func;
47789 return 0;
47791 _ACEOF
47792 rm -f conftest.$ac_objext conftest$ac_exeext
47793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47794 (eval $ac_link) 2>conftest.er1
47795 ac_status=$?
47796 grep -v '^ *+' conftest.er1 >conftest.err
47797 rm -f conftest.er1
47798 cat conftest.err >&5
47799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47800 (exit $ac_status); } &&
47801 { ac_try='test -z "$ac_c_werror_flag"
47802 || test ! -s conftest.err'
47803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47804 (eval $ac_try) 2>&5
47805 ac_status=$?
47806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47807 (exit $ac_status); }; } &&
47808 { ac_try='test -s conftest$ac_exeext'
47809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47810 (eval $ac_try) 2>&5
47811 ac_status=$?
47812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47813 (exit $ac_status); }; }; then
47814 eval "$as_ac_var=yes"
47815 else
47816 echo "$as_me: failed program was:" >&5
47817 sed 's/^/| /' conftest.$ac_ext >&5
47819 eval "$as_ac_var=no"
47821 rm -f conftest.err conftest.$ac_objext \
47822 conftest$ac_exeext conftest.$ac_ext
47824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47826 if test `eval echo '${'$as_ac_var'}'` = yes; then
47827 cat >>confdefs.h <<_ACEOF
47828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47829 _ACEOF
47832 done
47834 else
47836 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
47837 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
47838 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
47839 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
47840 echo $ECHO_N "(cached) $ECHO_C" >&6
47841 else
47845 ac_ext=cc
47846 ac_cpp='$CXXCPP $CPPFLAGS'
47847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47851 cat >conftest.$ac_ext <<_ACEOF
47852 /* confdefs.h. */
47853 _ACEOF
47854 cat confdefs.h >>conftest.$ac_ext
47855 cat >>conftest.$ac_ext <<_ACEOF
47856 /* end confdefs.h. */
47857 #include <math.h>
47859 main ()
47861 _sincosl(0, 0, 0);
47863 return 0;
47865 _ACEOF
47866 rm -f conftest.$ac_objext
47867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47868 (eval $ac_compile) 2>conftest.er1
47869 ac_status=$?
47870 grep -v '^ *+' conftest.er1 >conftest.err
47871 rm -f conftest.er1
47872 cat conftest.err >&5
47873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47874 (exit $ac_status); } &&
47875 { ac_try='test -z "$ac_cxx_werror_flag"
47876 || test ! -s conftest.err'
47877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47878 (eval $ac_try) 2>&5
47879 ac_status=$?
47880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47881 (exit $ac_status); }; } &&
47882 { ac_try='test -s conftest.$ac_objext'
47883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47884 (eval $ac_try) 2>&5
47885 ac_status=$?
47886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47887 (exit $ac_status); }; }; then
47888 glibcxx_cv_func__sincosl_use=yes
47889 else
47890 echo "$as_me: failed program was:" >&5
47891 sed 's/^/| /' conftest.$ac_ext >&5
47893 glibcxx_cv_func__sincosl_use=no
47895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47896 ac_ext=c
47897 ac_cpp='$CPP $CPPFLAGS'
47898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47906 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
47907 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
47909 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
47911 for ac_func in _sincosl
47913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47914 echo "$as_me:$LINENO: checking for $ac_func" >&5
47915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47916 if eval "test \"\${$as_ac_var+set}\" = set"; then
47917 echo $ECHO_N "(cached) $ECHO_C" >&6
47918 else
47919 if test x$gcc_no_link = xyes; then
47920 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47922 { (exit 1); exit 1; }; }
47924 cat >conftest.$ac_ext <<_ACEOF
47925 /* confdefs.h. */
47926 _ACEOF
47927 cat confdefs.h >>conftest.$ac_ext
47928 cat >>conftest.$ac_ext <<_ACEOF
47929 /* end confdefs.h. */
47930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47932 #define $ac_func innocuous_$ac_func
47934 /* System header to define __stub macros and hopefully few prototypes,
47935 which can conflict with char $ac_func (); below.
47936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47937 <limits.h> exists even on freestanding compilers. */
47939 #ifdef __STDC__
47940 # include <limits.h>
47941 #else
47942 # include <assert.h>
47943 #endif
47945 #undef $ac_func
47947 /* Override any gcc2 internal prototype to avoid an error. */
47948 #ifdef __cplusplus
47949 extern "C"
47951 #endif
47952 /* We use char because int might match the return type of a gcc2
47953 builtin and then its argument prototype would still apply. */
47954 char $ac_func ();
47955 /* The GNU C library defines this for functions which it implements
47956 to always fail with ENOSYS. Some functions are actually named
47957 something starting with __ and the normal name is an alias. */
47958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47959 choke me
47960 #else
47961 char (*f) () = $ac_func;
47962 #endif
47963 #ifdef __cplusplus
47965 #endif
47968 main ()
47970 return f != $ac_func;
47972 return 0;
47974 _ACEOF
47975 rm -f conftest.$ac_objext conftest$ac_exeext
47976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47977 (eval $ac_link) 2>conftest.er1
47978 ac_status=$?
47979 grep -v '^ *+' conftest.er1 >conftest.err
47980 rm -f conftest.er1
47981 cat conftest.err >&5
47982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47983 (exit $ac_status); } &&
47984 { ac_try='test -z "$ac_c_werror_flag"
47985 || test ! -s conftest.err'
47986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47987 (eval $ac_try) 2>&5
47988 ac_status=$?
47989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47990 (exit $ac_status); }; } &&
47991 { ac_try='test -s conftest$ac_exeext'
47992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47993 (eval $ac_try) 2>&5
47994 ac_status=$?
47995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47996 (exit $ac_status); }; }; then
47997 eval "$as_ac_var=yes"
47998 else
47999 echo "$as_me: failed program was:" >&5
48000 sed 's/^/| /' conftest.$ac_ext >&5
48002 eval "$as_ac_var=no"
48004 rm -f conftest.err conftest.$ac_objext \
48005 conftest$ac_exeext conftest.$ac_ext
48007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48008 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48009 if test `eval echo '${'$as_ac_var'}'` = yes; then
48010 cat >>confdefs.h <<_ACEOF
48011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48012 _ACEOF
48015 done
48025 echo "$as_me:$LINENO: checking for finitel declaration" >&5
48026 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
48027 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
48028 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
48029 echo $ECHO_N "(cached) $ECHO_C" >&6
48030 else
48034 ac_ext=cc
48035 ac_cpp='$CXXCPP $CPPFLAGS'
48036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48040 cat >conftest.$ac_ext <<_ACEOF
48041 /* confdefs.h. */
48042 _ACEOF
48043 cat confdefs.h >>conftest.$ac_ext
48044 cat >>conftest.$ac_ext <<_ACEOF
48045 /* end confdefs.h. */
48046 #include <math.h>
48047 #ifdef HAVE_IEEEFP_H
48048 #include <ieeefp.h>
48049 #endif
48052 main ()
48054 finitel(0);
48056 return 0;
48058 _ACEOF
48059 rm -f conftest.$ac_objext
48060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48061 (eval $ac_compile) 2>conftest.er1
48062 ac_status=$?
48063 grep -v '^ *+' conftest.er1 >conftest.err
48064 rm -f conftest.er1
48065 cat conftest.err >&5
48066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48067 (exit $ac_status); } &&
48068 { ac_try='test -z "$ac_cxx_werror_flag"
48069 || test ! -s conftest.err'
48070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48071 (eval $ac_try) 2>&5
48072 ac_status=$?
48073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48074 (exit $ac_status); }; } &&
48075 { ac_try='test -s conftest.$ac_objext'
48076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48077 (eval $ac_try) 2>&5
48078 ac_status=$?
48079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48080 (exit $ac_status); }; }; then
48081 glibcxx_cv_func_finitel_use=yes
48082 else
48083 echo "$as_me: failed program was:" >&5
48084 sed 's/^/| /' conftest.$ac_ext >&5
48086 glibcxx_cv_func_finitel_use=no
48088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48089 ac_ext=c
48090 ac_cpp='$CPP $CPPFLAGS'
48091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48099 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
48100 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
48102 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
48104 for ac_func in finitel
48106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48107 echo "$as_me:$LINENO: checking for $ac_func" >&5
48108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48109 if eval "test \"\${$as_ac_var+set}\" = set"; then
48110 echo $ECHO_N "(cached) $ECHO_C" >&6
48111 else
48112 if test x$gcc_no_link = xyes; then
48113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48115 { (exit 1); exit 1; }; }
48117 cat >conftest.$ac_ext <<_ACEOF
48118 /* confdefs.h. */
48119 _ACEOF
48120 cat confdefs.h >>conftest.$ac_ext
48121 cat >>conftest.$ac_ext <<_ACEOF
48122 /* end confdefs.h. */
48123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48125 #define $ac_func innocuous_$ac_func
48127 /* System header to define __stub macros and hopefully few prototypes,
48128 which can conflict with char $ac_func (); below.
48129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48130 <limits.h> exists even on freestanding compilers. */
48132 #ifdef __STDC__
48133 # include <limits.h>
48134 #else
48135 # include <assert.h>
48136 #endif
48138 #undef $ac_func
48140 /* Override any gcc2 internal prototype to avoid an error. */
48141 #ifdef __cplusplus
48142 extern "C"
48144 #endif
48145 /* We use char because int might match the return type of a gcc2
48146 builtin and then its argument prototype would still apply. */
48147 char $ac_func ();
48148 /* The GNU C library defines this for functions which it implements
48149 to always fail with ENOSYS. Some functions are actually named
48150 something starting with __ and the normal name is an alias. */
48151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48152 choke me
48153 #else
48154 char (*f) () = $ac_func;
48155 #endif
48156 #ifdef __cplusplus
48158 #endif
48161 main ()
48163 return f != $ac_func;
48165 return 0;
48167 _ACEOF
48168 rm -f conftest.$ac_objext conftest$ac_exeext
48169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48170 (eval $ac_link) 2>conftest.er1
48171 ac_status=$?
48172 grep -v '^ *+' conftest.er1 >conftest.err
48173 rm -f conftest.er1
48174 cat conftest.err >&5
48175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48176 (exit $ac_status); } &&
48177 { ac_try='test -z "$ac_c_werror_flag"
48178 || test ! -s conftest.err'
48179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48180 (eval $ac_try) 2>&5
48181 ac_status=$?
48182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48183 (exit $ac_status); }; } &&
48184 { ac_try='test -s conftest$ac_exeext'
48185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48186 (eval $ac_try) 2>&5
48187 ac_status=$?
48188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48189 (exit $ac_status); }; }; then
48190 eval "$as_ac_var=yes"
48191 else
48192 echo "$as_me: failed program was:" >&5
48193 sed 's/^/| /' conftest.$ac_ext >&5
48195 eval "$as_ac_var=no"
48197 rm -f conftest.err conftest.$ac_objext \
48198 conftest$ac_exeext conftest.$ac_ext
48200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48202 if test `eval echo '${'$as_ac_var'}'` = yes; then
48203 cat >>confdefs.h <<_ACEOF
48204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48205 _ACEOF
48208 done
48210 else
48212 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
48213 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
48214 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
48215 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
48216 echo $ECHO_N "(cached) $ECHO_C" >&6
48217 else
48221 ac_ext=cc
48222 ac_cpp='$CXXCPP $CPPFLAGS'
48223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48227 cat >conftest.$ac_ext <<_ACEOF
48228 /* confdefs.h. */
48229 _ACEOF
48230 cat confdefs.h >>conftest.$ac_ext
48231 cat >>conftest.$ac_ext <<_ACEOF
48232 /* end confdefs.h. */
48233 #include <math.h>
48234 #ifdef HAVE_IEEEFP_H
48235 #include <ieeefp.h>
48236 #endif
48239 main ()
48241 _finitel(0);
48243 return 0;
48245 _ACEOF
48246 rm -f conftest.$ac_objext
48247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48248 (eval $ac_compile) 2>conftest.er1
48249 ac_status=$?
48250 grep -v '^ *+' conftest.er1 >conftest.err
48251 rm -f conftest.er1
48252 cat conftest.err >&5
48253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48254 (exit $ac_status); } &&
48255 { ac_try='test -z "$ac_cxx_werror_flag"
48256 || test ! -s conftest.err'
48257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48258 (eval $ac_try) 2>&5
48259 ac_status=$?
48260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48261 (exit $ac_status); }; } &&
48262 { ac_try='test -s conftest.$ac_objext'
48263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48264 (eval $ac_try) 2>&5
48265 ac_status=$?
48266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48267 (exit $ac_status); }; }; then
48268 glibcxx_cv_func__finitel_use=yes
48269 else
48270 echo "$as_me: failed program was:" >&5
48271 sed 's/^/| /' conftest.$ac_ext >&5
48273 glibcxx_cv_func__finitel_use=no
48275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48276 ac_ext=c
48277 ac_cpp='$CPP $CPPFLAGS'
48278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48286 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
48287 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
48289 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
48291 for ac_func in _finitel
48293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48294 echo "$as_me:$LINENO: checking for $ac_func" >&5
48295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48296 if eval "test \"\${$as_ac_var+set}\" = set"; then
48297 echo $ECHO_N "(cached) $ECHO_C" >&6
48298 else
48299 if test x$gcc_no_link = xyes; then
48300 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48302 { (exit 1); exit 1; }; }
48304 cat >conftest.$ac_ext <<_ACEOF
48305 /* confdefs.h. */
48306 _ACEOF
48307 cat confdefs.h >>conftest.$ac_ext
48308 cat >>conftest.$ac_ext <<_ACEOF
48309 /* end confdefs.h. */
48310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48312 #define $ac_func innocuous_$ac_func
48314 /* System header to define __stub macros and hopefully few prototypes,
48315 which can conflict with char $ac_func (); below.
48316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48317 <limits.h> exists even on freestanding compilers. */
48319 #ifdef __STDC__
48320 # include <limits.h>
48321 #else
48322 # include <assert.h>
48323 #endif
48325 #undef $ac_func
48327 /* Override any gcc2 internal prototype to avoid an error. */
48328 #ifdef __cplusplus
48329 extern "C"
48331 #endif
48332 /* We use char because int might match the return type of a gcc2
48333 builtin and then its argument prototype would still apply. */
48334 char $ac_func ();
48335 /* The GNU C library defines this for functions which it implements
48336 to always fail with ENOSYS. Some functions are actually named
48337 something starting with __ and the normal name is an alias. */
48338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48339 choke me
48340 #else
48341 char (*f) () = $ac_func;
48342 #endif
48343 #ifdef __cplusplus
48345 #endif
48348 main ()
48350 return f != $ac_func;
48352 return 0;
48354 _ACEOF
48355 rm -f conftest.$ac_objext conftest$ac_exeext
48356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48357 (eval $ac_link) 2>conftest.er1
48358 ac_status=$?
48359 grep -v '^ *+' conftest.er1 >conftest.err
48360 rm -f conftest.er1
48361 cat conftest.err >&5
48362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48363 (exit $ac_status); } &&
48364 { ac_try='test -z "$ac_c_werror_flag"
48365 || test ! -s conftest.err'
48366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48367 (eval $ac_try) 2>&5
48368 ac_status=$?
48369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48370 (exit $ac_status); }; } &&
48371 { ac_try='test -s conftest$ac_exeext'
48372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48373 (eval $ac_try) 2>&5
48374 ac_status=$?
48375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48376 (exit $ac_status); }; }; then
48377 eval "$as_ac_var=yes"
48378 else
48379 echo "$as_me: failed program was:" >&5
48380 sed 's/^/| /' conftest.$ac_ext >&5
48382 eval "$as_ac_var=no"
48384 rm -f conftest.err conftest.$ac_objext \
48385 conftest$ac_exeext conftest.$ac_ext
48387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48389 if test `eval echo '${'$as_ac_var'}'` = yes; then
48390 cat >>confdefs.h <<_ACEOF
48391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48392 _ACEOF
48395 done
48404 LIBS="$ac_save_LIBS"
48405 CXXFLAGS="$ac_save_CXXFLAGS"
48409 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
48410 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
48411 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
48412 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
48413 echo $ECHO_N "(cached) $ECHO_C" >&6
48414 else
48418 ac_ext=cc
48419 ac_cpp='$CXXCPP $CPPFLAGS'
48420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48424 cat >conftest.$ac_ext <<_ACEOF
48425 /* confdefs.h. */
48426 _ACEOF
48427 cat confdefs.h >>conftest.$ac_ext
48428 cat >>conftest.$ac_ext <<_ACEOF
48429 /* end confdefs.h. */
48430 #include <math.h>
48432 main ()
48434 __builtin_abs(0);
48436 return 0;
48438 _ACEOF
48439 rm -f conftest.$ac_objext
48440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48441 (eval $ac_compile) 2>conftest.er1
48442 ac_status=$?
48443 grep -v '^ *+' conftest.er1 >conftest.err
48444 rm -f conftest.er1
48445 cat conftest.err >&5
48446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48447 (exit $ac_status); } &&
48448 { ac_try='test -z "$ac_cxx_werror_flag"
48449 || test ! -s conftest.err'
48450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48451 (eval $ac_try) 2>&5
48452 ac_status=$?
48453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48454 (exit $ac_status); }; } &&
48455 { ac_try='test -s conftest.$ac_objext'
48456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48457 (eval $ac_try) 2>&5
48458 ac_status=$?
48459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48460 (exit $ac_status); }; }; then
48461 glibcxx_cv_func___builtin_abs_use=yes
48462 else
48463 echo "$as_me: failed program was:" >&5
48464 sed 's/^/| /' conftest.$ac_ext >&5
48466 glibcxx_cv_func___builtin_abs_use=no
48468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48469 ac_ext=c
48470 ac_cpp='$CPP $CPPFLAGS'
48471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48479 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
48480 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
48481 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
48482 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
48483 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
48484 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
48485 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
48486 echo $ECHO_N "(cached) $ECHO_C" >&6
48487 else
48489 if test x$gcc_no_link = xyes; then
48490 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48492 { (exit 1); exit 1; }; }
48494 cat >conftest.$ac_ext <<_ACEOF
48495 /* confdefs.h. */
48496 _ACEOF
48497 cat confdefs.h >>conftest.$ac_ext
48498 cat >>conftest.$ac_ext <<_ACEOF
48499 /* end confdefs.h. */
48500 #include <math.h>
48502 main ()
48504 __builtin_abs(0);
48506 return 0;
48508 _ACEOF
48509 rm -f conftest.$ac_objext conftest$ac_exeext
48510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48511 (eval $ac_link) 2>conftest.er1
48512 ac_status=$?
48513 grep -v '^ *+' conftest.er1 >conftest.err
48514 rm -f conftest.er1
48515 cat conftest.err >&5
48516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48517 (exit $ac_status); } &&
48518 { ac_try='test -z "$ac_c_werror_flag"
48519 || test ! -s conftest.err'
48520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48521 (eval $ac_try) 2>&5
48522 ac_status=$?
48523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48524 (exit $ac_status); }; } &&
48525 { ac_try='test -s conftest$ac_exeext'
48526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48527 (eval $ac_try) 2>&5
48528 ac_status=$?
48529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48530 (exit $ac_status); }; }; then
48531 glibcxx_cv_func___builtin_abs_link=yes
48532 else
48533 echo "$as_me: failed program was:" >&5
48534 sed 's/^/| /' conftest.$ac_ext >&5
48536 glibcxx_cv_func___builtin_abs_link=no
48538 rm -f conftest.err conftest.$ac_objext \
48539 conftest$ac_exeext conftest.$ac_ext
48544 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
48545 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
48547 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
48549 cat >>confdefs.h <<\_ACEOF
48550 #define HAVE___BUILTIN_ABS 1
48551 _ACEOF
48558 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
48559 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
48560 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
48561 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
48562 echo $ECHO_N "(cached) $ECHO_C" >&6
48563 else
48567 ac_ext=cc
48568 ac_cpp='$CXXCPP $CPPFLAGS'
48569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48573 cat >conftest.$ac_ext <<_ACEOF
48574 /* confdefs.h. */
48575 _ACEOF
48576 cat confdefs.h >>conftest.$ac_ext
48577 cat >>conftest.$ac_ext <<_ACEOF
48578 /* end confdefs.h. */
48579 #include <math.h>
48581 main ()
48583 __builtin_fabsf(0);
48585 return 0;
48587 _ACEOF
48588 rm -f conftest.$ac_objext
48589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48590 (eval $ac_compile) 2>conftest.er1
48591 ac_status=$?
48592 grep -v '^ *+' conftest.er1 >conftest.err
48593 rm -f conftest.er1
48594 cat conftest.err >&5
48595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48596 (exit $ac_status); } &&
48597 { ac_try='test -z "$ac_cxx_werror_flag"
48598 || test ! -s conftest.err'
48599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48600 (eval $ac_try) 2>&5
48601 ac_status=$?
48602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48603 (exit $ac_status); }; } &&
48604 { ac_try='test -s conftest.$ac_objext'
48605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48606 (eval $ac_try) 2>&5
48607 ac_status=$?
48608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48609 (exit $ac_status); }; }; then
48610 glibcxx_cv_func___builtin_fabsf_use=yes
48611 else
48612 echo "$as_me: failed program was:" >&5
48613 sed 's/^/| /' conftest.$ac_ext >&5
48615 glibcxx_cv_func___builtin_fabsf_use=no
48617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48618 ac_ext=c
48619 ac_cpp='$CPP $CPPFLAGS'
48620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48628 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
48629 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
48630 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
48631 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
48632 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
48633 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
48634 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
48635 echo $ECHO_N "(cached) $ECHO_C" >&6
48636 else
48638 if test x$gcc_no_link = xyes; then
48639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48641 { (exit 1); exit 1; }; }
48643 cat >conftest.$ac_ext <<_ACEOF
48644 /* confdefs.h. */
48645 _ACEOF
48646 cat confdefs.h >>conftest.$ac_ext
48647 cat >>conftest.$ac_ext <<_ACEOF
48648 /* end confdefs.h. */
48649 #include <math.h>
48651 main ()
48653 __builtin_fabsf(0);
48655 return 0;
48657 _ACEOF
48658 rm -f conftest.$ac_objext conftest$ac_exeext
48659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48660 (eval $ac_link) 2>conftest.er1
48661 ac_status=$?
48662 grep -v '^ *+' conftest.er1 >conftest.err
48663 rm -f conftest.er1
48664 cat conftest.err >&5
48665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48666 (exit $ac_status); } &&
48667 { ac_try='test -z "$ac_c_werror_flag"
48668 || test ! -s conftest.err'
48669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48670 (eval $ac_try) 2>&5
48671 ac_status=$?
48672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48673 (exit $ac_status); }; } &&
48674 { ac_try='test -s conftest$ac_exeext'
48675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48676 (eval $ac_try) 2>&5
48677 ac_status=$?
48678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48679 (exit $ac_status); }; }; then
48680 glibcxx_cv_func___builtin_fabsf_link=yes
48681 else
48682 echo "$as_me: failed program was:" >&5
48683 sed 's/^/| /' conftest.$ac_ext >&5
48685 glibcxx_cv_func___builtin_fabsf_link=no
48687 rm -f conftest.err conftest.$ac_objext \
48688 conftest$ac_exeext conftest.$ac_ext
48693 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
48694 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
48696 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
48698 cat >>confdefs.h <<\_ACEOF
48699 #define HAVE___BUILTIN_FABSF 1
48700 _ACEOF
48707 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
48708 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
48709 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
48710 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
48711 echo $ECHO_N "(cached) $ECHO_C" >&6
48712 else
48716 ac_ext=cc
48717 ac_cpp='$CXXCPP $CPPFLAGS'
48718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48722 cat >conftest.$ac_ext <<_ACEOF
48723 /* confdefs.h. */
48724 _ACEOF
48725 cat confdefs.h >>conftest.$ac_ext
48726 cat >>conftest.$ac_ext <<_ACEOF
48727 /* end confdefs.h. */
48728 #include <math.h>
48730 main ()
48732 __builtin_fabs(0);
48734 return 0;
48736 _ACEOF
48737 rm -f conftest.$ac_objext
48738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48739 (eval $ac_compile) 2>conftest.er1
48740 ac_status=$?
48741 grep -v '^ *+' conftest.er1 >conftest.err
48742 rm -f conftest.er1
48743 cat conftest.err >&5
48744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48745 (exit $ac_status); } &&
48746 { ac_try='test -z "$ac_cxx_werror_flag"
48747 || test ! -s conftest.err'
48748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48749 (eval $ac_try) 2>&5
48750 ac_status=$?
48751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48752 (exit $ac_status); }; } &&
48753 { ac_try='test -s conftest.$ac_objext'
48754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48755 (eval $ac_try) 2>&5
48756 ac_status=$?
48757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48758 (exit $ac_status); }; }; then
48759 glibcxx_cv_func___builtin_fabs_use=yes
48760 else
48761 echo "$as_me: failed program was:" >&5
48762 sed 's/^/| /' conftest.$ac_ext >&5
48764 glibcxx_cv_func___builtin_fabs_use=no
48766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48767 ac_ext=c
48768 ac_cpp='$CPP $CPPFLAGS'
48769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48777 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
48778 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
48779 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
48780 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
48781 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
48782 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
48783 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
48784 echo $ECHO_N "(cached) $ECHO_C" >&6
48785 else
48787 if test x$gcc_no_link = xyes; then
48788 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48790 { (exit 1); exit 1; }; }
48792 cat >conftest.$ac_ext <<_ACEOF
48793 /* confdefs.h. */
48794 _ACEOF
48795 cat confdefs.h >>conftest.$ac_ext
48796 cat >>conftest.$ac_ext <<_ACEOF
48797 /* end confdefs.h. */
48798 #include <math.h>
48800 main ()
48802 __builtin_fabs(0);
48804 return 0;
48806 _ACEOF
48807 rm -f conftest.$ac_objext conftest$ac_exeext
48808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48809 (eval $ac_link) 2>conftest.er1
48810 ac_status=$?
48811 grep -v '^ *+' conftest.er1 >conftest.err
48812 rm -f conftest.er1
48813 cat conftest.err >&5
48814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48815 (exit $ac_status); } &&
48816 { ac_try='test -z "$ac_c_werror_flag"
48817 || test ! -s conftest.err'
48818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48819 (eval $ac_try) 2>&5
48820 ac_status=$?
48821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48822 (exit $ac_status); }; } &&
48823 { ac_try='test -s conftest$ac_exeext'
48824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48825 (eval $ac_try) 2>&5
48826 ac_status=$?
48827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48828 (exit $ac_status); }; }; then
48829 glibcxx_cv_func___builtin_fabs_link=yes
48830 else
48831 echo "$as_me: failed program was:" >&5
48832 sed 's/^/| /' conftest.$ac_ext >&5
48834 glibcxx_cv_func___builtin_fabs_link=no
48836 rm -f conftest.err conftest.$ac_objext \
48837 conftest$ac_exeext conftest.$ac_ext
48842 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
48843 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
48845 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
48847 cat >>confdefs.h <<\_ACEOF
48848 #define HAVE___BUILTIN_FABS 1
48849 _ACEOF
48856 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
48857 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
48858 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
48859 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
48860 echo $ECHO_N "(cached) $ECHO_C" >&6
48861 else
48865 ac_ext=cc
48866 ac_cpp='$CXXCPP $CPPFLAGS'
48867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48871 cat >conftest.$ac_ext <<_ACEOF
48872 /* confdefs.h. */
48873 _ACEOF
48874 cat confdefs.h >>conftest.$ac_ext
48875 cat >>conftest.$ac_ext <<_ACEOF
48876 /* end confdefs.h. */
48877 #include <math.h>
48879 main ()
48881 __builtin_fabsl(0);
48883 return 0;
48885 _ACEOF
48886 rm -f conftest.$ac_objext
48887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48888 (eval $ac_compile) 2>conftest.er1
48889 ac_status=$?
48890 grep -v '^ *+' conftest.er1 >conftest.err
48891 rm -f conftest.er1
48892 cat conftest.err >&5
48893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48894 (exit $ac_status); } &&
48895 { ac_try='test -z "$ac_cxx_werror_flag"
48896 || test ! -s conftest.err'
48897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48898 (eval $ac_try) 2>&5
48899 ac_status=$?
48900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48901 (exit $ac_status); }; } &&
48902 { ac_try='test -s conftest.$ac_objext'
48903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48904 (eval $ac_try) 2>&5
48905 ac_status=$?
48906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48907 (exit $ac_status); }; }; then
48908 glibcxx_cv_func___builtin_fabsl_use=yes
48909 else
48910 echo "$as_me: failed program was:" >&5
48911 sed 's/^/| /' conftest.$ac_ext >&5
48913 glibcxx_cv_func___builtin_fabsl_use=no
48915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48916 ac_ext=c
48917 ac_cpp='$CPP $CPPFLAGS'
48918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48926 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
48927 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
48928 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
48929 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
48930 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
48931 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
48932 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
48933 echo $ECHO_N "(cached) $ECHO_C" >&6
48934 else
48936 if test x$gcc_no_link = xyes; then
48937 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48939 { (exit 1); exit 1; }; }
48941 cat >conftest.$ac_ext <<_ACEOF
48942 /* confdefs.h. */
48943 _ACEOF
48944 cat confdefs.h >>conftest.$ac_ext
48945 cat >>conftest.$ac_ext <<_ACEOF
48946 /* end confdefs.h. */
48947 #include <math.h>
48949 main ()
48951 __builtin_fabsl(0);
48953 return 0;
48955 _ACEOF
48956 rm -f conftest.$ac_objext conftest$ac_exeext
48957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48958 (eval $ac_link) 2>conftest.er1
48959 ac_status=$?
48960 grep -v '^ *+' conftest.er1 >conftest.err
48961 rm -f conftest.er1
48962 cat conftest.err >&5
48963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48964 (exit $ac_status); } &&
48965 { ac_try='test -z "$ac_c_werror_flag"
48966 || test ! -s conftest.err'
48967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48968 (eval $ac_try) 2>&5
48969 ac_status=$?
48970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48971 (exit $ac_status); }; } &&
48972 { ac_try='test -s conftest$ac_exeext'
48973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48974 (eval $ac_try) 2>&5
48975 ac_status=$?
48976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48977 (exit $ac_status); }; }; then
48978 glibcxx_cv_func___builtin_fabsl_link=yes
48979 else
48980 echo "$as_me: failed program was:" >&5
48981 sed 's/^/| /' conftest.$ac_ext >&5
48983 glibcxx_cv_func___builtin_fabsl_link=no
48985 rm -f conftest.err conftest.$ac_objext \
48986 conftest$ac_exeext conftest.$ac_ext
48991 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
48992 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
48994 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
48996 cat >>confdefs.h <<\_ACEOF
48997 #define HAVE___BUILTIN_FABSL 1
48998 _ACEOF
49005 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
49006 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
49007 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
49008 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
49009 echo $ECHO_N "(cached) $ECHO_C" >&6
49010 else
49014 ac_ext=cc
49015 ac_cpp='$CXXCPP $CPPFLAGS'
49016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49020 cat >conftest.$ac_ext <<_ACEOF
49021 /* confdefs.h. */
49022 _ACEOF
49023 cat confdefs.h >>conftest.$ac_ext
49024 cat >>conftest.$ac_ext <<_ACEOF
49025 /* end confdefs.h. */
49026 #include <math.h>
49028 main ()
49030 __builtin_labs(0);
49032 return 0;
49034 _ACEOF
49035 rm -f conftest.$ac_objext
49036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49037 (eval $ac_compile) 2>conftest.er1
49038 ac_status=$?
49039 grep -v '^ *+' conftest.er1 >conftest.err
49040 rm -f conftest.er1
49041 cat conftest.err >&5
49042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49043 (exit $ac_status); } &&
49044 { ac_try='test -z "$ac_cxx_werror_flag"
49045 || test ! -s conftest.err'
49046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49047 (eval $ac_try) 2>&5
49048 ac_status=$?
49049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49050 (exit $ac_status); }; } &&
49051 { ac_try='test -s conftest.$ac_objext'
49052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49053 (eval $ac_try) 2>&5
49054 ac_status=$?
49055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49056 (exit $ac_status); }; }; then
49057 glibcxx_cv_func___builtin_labs_use=yes
49058 else
49059 echo "$as_me: failed program was:" >&5
49060 sed 's/^/| /' conftest.$ac_ext >&5
49062 glibcxx_cv_func___builtin_labs_use=no
49064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49065 ac_ext=c
49066 ac_cpp='$CPP $CPPFLAGS'
49067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49075 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
49076 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
49077 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
49078 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
49079 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
49080 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
49081 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
49082 echo $ECHO_N "(cached) $ECHO_C" >&6
49083 else
49085 if test x$gcc_no_link = xyes; then
49086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49088 { (exit 1); exit 1; }; }
49090 cat >conftest.$ac_ext <<_ACEOF
49091 /* confdefs.h. */
49092 _ACEOF
49093 cat confdefs.h >>conftest.$ac_ext
49094 cat >>conftest.$ac_ext <<_ACEOF
49095 /* end confdefs.h. */
49096 #include <math.h>
49098 main ()
49100 __builtin_labs(0);
49102 return 0;
49104 _ACEOF
49105 rm -f conftest.$ac_objext conftest$ac_exeext
49106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49107 (eval $ac_link) 2>conftest.er1
49108 ac_status=$?
49109 grep -v '^ *+' conftest.er1 >conftest.err
49110 rm -f conftest.er1
49111 cat conftest.err >&5
49112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49113 (exit $ac_status); } &&
49114 { ac_try='test -z "$ac_c_werror_flag"
49115 || test ! -s conftest.err'
49116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49117 (eval $ac_try) 2>&5
49118 ac_status=$?
49119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49120 (exit $ac_status); }; } &&
49121 { ac_try='test -s conftest$ac_exeext'
49122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49123 (eval $ac_try) 2>&5
49124 ac_status=$?
49125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49126 (exit $ac_status); }; }; then
49127 glibcxx_cv_func___builtin_labs_link=yes
49128 else
49129 echo "$as_me: failed program was:" >&5
49130 sed 's/^/| /' conftest.$ac_ext >&5
49132 glibcxx_cv_func___builtin_labs_link=no
49134 rm -f conftest.err conftest.$ac_objext \
49135 conftest$ac_exeext conftest.$ac_ext
49140 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
49141 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
49143 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
49145 cat >>confdefs.h <<\_ACEOF
49146 #define HAVE___BUILTIN_LABS 1
49147 _ACEOF
49155 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
49156 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
49157 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
49158 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
49159 echo $ECHO_N "(cached) $ECHO_C" >&6
49160 else
49164 ac_ext=cc
49165 ac_cpp='$CXXCPP $CPPFLAGS'
49166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49170 cat >conftest.$ac_ext <<_ACEOF
49171 /* confdefs.h. */
49172 _ACEOF
49173 cat confdefs.h >>conftest.$ac_ext
49174 cat >>conftest.$ac_ext <<_ACEOF
49175 /* end confdefs.h. */
49176 #include <math.h>
49178 main ()
49180 __builtin_sqrtf(0);
49182 return 0;
49184 _ACEOF
49185 rm -f conftest.$ac_objext
49186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49187 (eval $ac_compile) 2>conftest.er1
49188 ac_status=$?
49189 grep -v '^ *+' conftest.er1 >conftest.err
49190 rm -f conftest.er1
49191 cat conftest.err >&5
49192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49193 (exit $ac_status); } &&
49194 { ac_try='test -z "$ac_cxx_werror_flag"
49195 || test ! -s conftest.err'
49196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49197 (eval $ac_try) 2>&5
49198 ac_status=$?
49199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49200 (exit $ac_status); }; } &&
49201 { ac_try='test -s conftest.$ac_objext'
49202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49203 (eval $ac_try) 2>&5
49204 ac_status=$?
49205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49206 (exit $ac_status); }; }; then
49207 glibcxx_cv_func___builtin_sqrtf_use=yes
49208 else
49209 echo "$as_me: failed program was:" >&5
49210 sed 's/^/| /' conftest.$ac_ext >&5
49212 glibcxx_cv_func___builtin_sqrtf_use=no
49214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49215 ac_ext=c
49216 ac_cpp='$CPP $CPPFLAGS'
49217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49225 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
49226 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
49227 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
49228 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
49229 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
49230 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
49231 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
49232 echo $ECHO_N "(cached) $ECHO_C" >&6
49233 else
49235 if test x$gcc_no_link = xyes; then
49236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49238 { (exit 1); exit 1; }; }
49240 cat >conftest.$ac_ext <<_ACEOF
49241 /* confdefs.h. */
49242 _ACEOF
49243 cat confdefs.h >>conftest.$ac_ext
49244 cat >>conftest.$ac_ext <<_ACEOF
49245 /* end confdefs.h. */
49246 #include <math.h>
49248 main ()
49250 __builtin_sqrtf(0);
49252 return 0;
49254 _ACEOF
49255 rm -f conftest.$ac_objext conftest$ac_exeext
49256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49257 (eval $ac_link) 2>conftest.er1
49258 ac_status=$?
49259 grep -v '^ *+' conftest.er1 >conftest.err
49260 rm -f conftest.er1
49261 cat conftest.err >&5
49262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49263 (exit $ac_status); } &&
49264 { ac_try='test -z "$ac_c_werror_flag"
49265 || test ! -s conftest.err'
49266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49267 (eval $ac_try) 2>&5
49268 ac_status=$?
49269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49270 (exit $ac_status); }; } &&
49271 { ac_try='test -s conftest$ac_exeext'
49272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49273 (eval $ac_try) 2>&5
49274 ac_status=$?
49275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49276 (exit $ac_status); }; }; then
49277 glibcxx_cv_func___builtin_sqrtf_link=yes
49278 else
49279 echo "$as_me: failed program was:" >&5
49280 sed 's/^/| /' conftest.$ac_ext >&5
49282 glibcxx_cv_func___builtin_sqrtf_link=no
49284 rm -f conftest.err conftest.$ac_objext \
49285 conftest$ac_exeext conftest.$ac_ext
49290 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
49291 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
49293 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
49295 cat >>confdefs.h <<\_ACEOF
49296 #define HAVE___BUILTIN_SQRTF 1
49297 _ACEOF
49304 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
49305 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
49306 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
49307 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
49308 echo $ECHO_N "(cached) $ECHO_C" >&6
49309 else
49313 ac_ext=cc
49314 ac_cpp='$CXXCPP $CPPFLAGS'
49315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49319 cat >conftest.$ac_ext <<_ACEOF
49320 /* confdefs.h. */
49321 _ACEOF
49322 cat confdefs.h >>conftest.$ac_ext
49323 cat >>conftest.$ac_ext <<_ACEOF
49324 /* end confdefs.h. */
49325 #include <math.h>
49327 main ()
49329 __builtin_sqrt(0);
49331 return 0;
49333 _ACEOF
49334 rm -f conftest.$ac_objext
49335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49336 (eval $ac_compile) 2>conftest.er1
49337 ac_status=$?
49338 grep -v '^ *+' conftest.er1 >conftest.err
49339 rm -f conftest.er1
49340 cat conftest.err >&5
49341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49342 (exit $ac_status); } &&
49343 { ac_try='test -z "$ac_cxx_werror_flag"
49344 || test ! -s conftest.err'
49345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49346 (eval $ac_try) 2>&5
49347 ac_status=$?
49348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49349 (exit $ac_status); }; } &&
49350 { ac_try='test -s conftest.$ac_objext'
49351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49352 (eval $ac_try) 2>&5
49353 ac_status=$?
49354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49355 (exit $ac_status); }; }; then
49356 glibcxx_cv_func___builtin_sqrt_use=yes
49357 else
49358 echo "$as_me: failed program was:" >&5
49359 sed 's/^/| /' conftest.$ac_ext >&5
49361 glibcxx_cv_func___builtin_sqrt_use=no
49363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49364 ac_ext=c
49365 ac_cpp='$CPP $CPPFLAGS'
49366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49374 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
49375 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
49376 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
49377 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
49378 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
49379 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
49380 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
49381 echo $ECHO_N "(cached) $ECHO_C" >&6
49382 else
49384 if test x$gcc_no_link = xyes; then
49385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49387 { (exit 1); exit 1; }; }
49389 cat >conftest.$ac_ext <<_ACEOF
49390 /* confdefs.h. */
49391 _ACEOF
49392 cat confdefs.h >>conftest.$ac_ext
49393 cat >>conftest.$ac_ext <<_ACEOF
49394 /* end confdefs.h. */
49395 #include <math.h>
49397 main ()
49399 __builtin_sqrt(0);
49401 return 0;
49403 _ACEOF
49404 rm -f conftest.$ac_objext conftest$ac_exeext
49405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49406 (eval $ac_link) 2>conftest.er1
49407 ac_status=$?
49408 grep -v '^ *+' conftest.er1 >conftest.err
49409 rm -f conftest.er1
49410 cat conftest.err >&5
49411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49412 (exit $ac_status); } &&
49413 { ac_try='test -z "$ac_c_werror_flag"
49414 || test ! -s conftest.err'
49415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49416 (eval $ac_try) 2>&5
49417 ac_status=$?
49418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49419 (exit $ac_status); }; } &&
49420 { ac_try='test -s conftest$ac_exeext'
49421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49422 (eval $ac_try) 2>&5
49423 ac_status=$?
49424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49425 (exit $ac_status); }; }; then
49426 glibcxx_cv_func___builtin_sqrt_link=yes
49427 else
49428 echo "$as_me: failed program was:" >&5
49429 sed 's/^/| /' conftest.$ac_ext >&5
49431 glibcxx_cv_func___builtin_sqrt_link=no
49433 rm -f conftest.err conftest.$ac_objext \
49434 conftest$ac_exeext conftest.$ac_ext
49439 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
49440 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
49442 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
49444 cat >>confdefs.h <<\_ACEOF
49445 #define HAVE___BUILTIN_SQRT 1
49446 _ACEOF
49453 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
49454 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
49455 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
49456 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
49457 echo $ECHO_N "(cached) $ECHO_C" >&6
49458 else
49462 ac_ext=cc
49463 ac_cpp='$CXXCPP $CPPFLAGS'
49464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49468 cat >conftest.$ac_ext <<_ACEOF
49469 /* confdefs.h. */
49470 _ACEOF
49471 cat confdefs.h >>conftest.$ac_ext
49472 cat >>conftest.$ac_ext <<_ACEOF
49473 /* end confdefs.h. */
49474 #include <math.h>
49476 main ()
49478 __builtin_sqrtl(0);
49480 return 0;
49482 _ACEOF
49483 rm -f conftest.$ac_objext
49484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49485 (eval $ac_compile) 2>conftest.er1
49486 ac_status=$?
49487 grep -v '^ *+' conftest.er1 >conftest.err
49488 rm -f conftest.er1
49489 cat conftest.err >&5
49490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49491 (exit $ac_status); } &&
49492 { ac_try='test -z "$ac_cxx_werror_flag"
49493 || test ! -s conftest.err'
49494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49495 (eval $ac_try) 2>&5
49496 ac_status=$?
49497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49498 (exit $ac_status); }; } &&
49499 { ac_try='test -s conftest.$ac_objext'
49500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49501 (eval $ac_try) 2>&5
49502 ac_status=$?
49503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49504 (exit $ac_status); }; }; then
49505 glibcxx_cv_func___builtin_sqrtl_use=yes
49506 else
49507 echo "$as_me: failed program was:" >&5
49508 sed 's/^/| /' conftest.$ac_ext >&5
49510 glibcxx_cv_func___builtin_sqrtl_use=no
49512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49513 ac_ext=c
49514 ac_cpp='$CPP $CPPFLAGS'
49515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49523 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
49524 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
49525 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
49526 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
49527 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
49528 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
49529 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
49530 echo $ECHO_N "(cached) $ECHO_C" >&6
49531 else
49533 if test x$gcc_no_link = xyes; then
49534 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49536 { (exit 1); exit 1; }; }
49538 cat >conftest.$ac_ext <<_ACEOF
49539 /* confdefs.h. */
49540 _ACEOF
49541 cat confdefs.h >>conftest.$ac_ext
49542 cat >>conftest.$ac_ext <<_ACEOF
49543 /* end confdefs.h. */
49544 #include <math.h>
49546 main ()
49548 __builtin_sqrtl(0);
49550 return 0;
49552 _ACEOF
49553 rm -f conftest.$ac_objext conftest$ac_exeext
49554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49555 (eval $ac_link) 2>conftest.er1
49556 ac_status=$?
49557 grep -v '^ *+' conftest.er1 >conftest.err
49558 rm -f conftest.er1
49559 cat conftest.err >&5
49560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49561 (exit $ac_status); } &&
49562 { ac_try='test -z "$ac_c_werror_flag"
49563 || test ! -s conftest.err'
49564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49565 (eval $ac_try) 2>&5
49566 ac_status=$?
49567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49568 (exit $ac_status); }; } &&
49569 { ac_try='test -s conftest$ac_exeext'
49570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49571 (eval $ac_try) 2>&5
49572 ac_status=$?
49573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49574 (exit $ac_status); }; }; then
49575 glibcxx_cv_func___builtin_sqrtl_link=yes
49576 else
49577 echo "$as_me: failed program was:" >&5
49578 sed 's/^/| /' conftest.$ac_ext >&5
49580 glibcxx_cv_func___builtin_sqrtl_link=no
49582 rm -f conftest.err conftest.$ac_objext \
49583 conftest$ac_exeext conftest.$ac_ext
49588 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
49589 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
49591 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
49593 cat >>confdefs.h <<\_ACEOF
49594 #define HAVE___BUILTIN_SQRTL 1
49595 _ACEOF
49603 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
49604 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
49605 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
49606 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
49607 echo $ECHO_N "(cached) $ECHO_C" >&6
49608 else
49612 ac_ext=cc
49613 ac_cpp='$CXXCPP $CPPFLAGS'
49614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49618 cat >conftest.$ac_ext <<_ACEOF
49619 /* confdefs.h. */
49620 _ACEOF
49621 cat confdefs.h >>conftest.$ac_ext
49622 cat >>conftest.$ac_ext <<_ACEOF
49623 /* end confdefs.h. */
49624 #include <math.h>
49626 main ()
49628 __builtin_sinf(0);
49630 return 0;
49632 _ACEOF
49633 rm -f conftest.$ac_objext
49634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49635 (eval $ac_compile) 2>conftest.er1
49636 ac_status=$?
49637 grep -v '^ *+' conftest.er1 >conftest.err
49638 rm -f conftest.er1
49639 cat conftest.err >&5
49640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49641 (exit $ac_status); } &&
49642 { ac_try='test -z "$ac_cxx_werror_flag"
49643 || test ! -s conftest.err'
49644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49645 (eval $ac_try) 2>&5
49646 ac_status=$?
49647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49648 (exit $ac_status); }; } &&
49649 { ac_try='test -s conftest.$ac_objext'
49650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49651 (eval $ac_try) 2>&5
49652 ac_status=$?
49653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49654 (exit $ac_status); }; }; then
49655 glibcxx_cv_func___builtin_sinf_use=yes
49656 else
49657 echo "$as_me: failed program was:" >&5
49658 sed 's/^/| /' conftest.$ac_ext >&5
49660 glibcxx_cv_func___builtin_sinf_use=no
49662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49663 ac_ext=c
49664 ac_cpp='$CPP $CPPFLAGS'
49665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49673 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
49674 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
49675 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
49676 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
49677 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
49678 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
49679 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
49680 echo $ECHO_N "(cached) $ECHO_C" >&6
49681 else
49683 if test x$gcc_no_link = xyes; then
49684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49686 { (exit 1); exit 1; }; }
49688 cat >conftest.$ac_ext <<_ACEOF
49689 /* confdefs.h. */
49690 _ACEOF
49691 cat confdefs.h >>conftest.$ac_ext
49692 cat >>conftest.$ac_ext <<_ACEOF
49693 /* end confdefs.h. */
49694 #include <math.h>
49696 main ()
49698 __builtin_sinf(0);
49700 return 0;
49702 _ACEOF
49703 rm -f conftest.$ac_objext conftest$ac_exeext
49704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49705 (eval $ac_link) 2>conftest.er1
49706 ac_status=$?
49707 grep -v '^ *+' conftest.er1 >conftest.err
49708 rm -f conftest.er1
49709 cat conftest.err >&5
49710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49711 (exit $ac_status); } &&
49712 { ac_try='test -z "$ac_c_werror_flag"
49713 || test ! -s conftest.err'
49714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49715 (eval $ac_try) 2>&5
49716 ac_status=$?
49717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49718 (exit $ac_status); }; } &&
49719 { ac_try='test -s conftest$ac_exeext'
49720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49721 (eval $ac_try) 2>&5
49722 ac_status=$?
49723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49724 (exit $ac_status); }; }; then
49725 glibcxx_cv_func___builtin_sinf_link=yes
49726 else
49727 echo "$as_me: failed program was:" >&5
49728 sed 's/^/| /' conftest.$ac_ext >&5
49730 glibcxx_cv_func___builtin_sinf_link=no
49732 rm -f conftest.err conftest.$ac_objext \
49733 conftest$ac_exeext conftest.$ac_ext
49738 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
49739 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
49741 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
49743 cat >>confdefs.h <<\_ACEOF
49744 #define HAVE___BUILTIN_SINF 1
49745 _ACEOF
49752 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
49753 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
49754 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
49755 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
49756 echo $ECHO_N "(cached) $ECHO_C" >&6
49757 else
49761 ac_ext=cc
49762 ac_cpp='$CXXCPP $CPPFLAGS'
49763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49767 cat >conftest.$ac_ext <<_ACEOF
49768 /* confdefs.h. */
49769 _ACEOF
49770 cat confdefs.h >>conftest.$ac_ext
49771 cat >>conftest.$ac_ext <<_ACEOF
49772 /* end confdefs.h. */
49773 #include <math.h>
49775 main ()
49777 __builtin_sin(0);
49779 return 0;
49781 _ACEOF
49782 rm -f conftest.$ac_objext
49783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49784 (eval $ac_compile) 2>conftest.er1
49785 ac_status=$?
49786 grep -v '^ *+' conftest.er1 >conftest.err
49787 rm -f conftest.er1
49788 cat conftest.err >&5
49789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49790 (exit $ac_status); } &&
49791 { ac_try='test -z "$ac_cxx_werror_flag"
49792 || test ! -s conftest.err'
49793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49794 (eval $ac_try) 2>&5
49795 ac_status=$?
49796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49797 (exit $ac_status); }; } &&
49798 { ac_try='test -s conftest.$ac_objext'
49799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49800 (eval $ac_try) 2>&5
49801 ac_status=$?
49802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49803 (exit $ac_status); }; }; then
49804 glibcxx_cv_func___builtin_sin_use=yes
49805 else
49806 echo "$as_me: failed program was:" >&5
49807 sed 's/^/| /' conftest.$ac_ext >&5
49809 glibcxx_cv_func___builtin_sin_use=no
49811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49812 ac_ext=c
49813 ac_cpp='$CPP $CPPFLAGS'
49814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49822 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
49823 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
49824 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
49825 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
49826 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
49827 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
49828 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
49829 echo $ECHO_N "(cached) $ECHO_C" >&6
49830 else
49832 if test x$gcc_no_link = xyes; then
49833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49835 { (exit 1); exit 1; }; }
49837 cat >conftest.$ac_ext <<_ACEOF
49838 /* confdefs.h. */
49839 _ACEOF
49840 cat confdefs.h >>conftest.$ac_ext
49841 cat >>conftest.$ac_ext <<_ACEOF
49842 /* end confdefs.h. */
49843 #include <math.h>
49845 main ()
49847 __builtin_sin(0);
49849 return 0;
49851 _ACEOF
49852 rm -f conftest.$ac_objext conftest$ac_exeext
49853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49854 (eval $ac_link) 2>conftest.er1
49855 ac_status=$?
49856 grep -v '^ *+' conftest.er1 >conftest.err
49857 rm -f conftest.er1
49858 cat conftest.err >&5
49859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49860 (exit $ac_status); } &&
49861 { ac_try='test -z "$ac_c_werror_flag"
49862 || test ! -s conftest.err'
49863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49864 (eval $ac_try) 2>&5
49865 ac_status=$?
49866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49867 (exit $ac_status); }; } &&
49868 { ac_try='test -s conftest$ac_exeext'
49869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49870 (eval $ac_try) 2>&5
49871 ac_status=$?
49872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49873 (exit $ac_status); }; }; then
49874 glibcxx_cv_func___builtin_sin_link=yes
49875 else
49876 echo "$as_me: failed program was:" >&5
49877 sed 's/^/| /' conftest.$ac_ext >&5
49879 glibcxx_cv_func___builtin_sin_link=no
49881 rm -f conftest.err conftest.$ac_objext \
49882 conftest$ac_exeext conftest.$ac_ext
49887 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
49888 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
49890 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
49892 cat >>confdefs.h <<\_ACEOF
49893 #define HAVE___BUILTIN_SIN 1
49894 _ACEOF
49901 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
49902 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
49903 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
49904 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
49905 echo $ECHO_N "(cached) $ECHO_C" >&6
49906 else
49910 ac_ext=cc
49911 ac_cpp='$CXXCPP $CPPFLAGS'
49912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49916 cat >conftest.$ac_ext <<_ACEOF
49917 /* confdefs.h. */
49918 _ACEOF
49919 cat confdefs.h >>conftest.$ac_ext
49920 cat >>conftest.$ac_ext <<_ACEOF
49921 /* end confdefs.h. */
49922 #include <math.h>
49924 main ()
49926 __builtin_sinl(0);
49928 return 0;
49930 _ACEOF
49931 rm -f conftest.$ac_objext
49932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49933 (eval $ac_compile) 2>conftest.er1
49934 ac_status=$?
49935 grep -v '^ *+' conftest.er1 >conftest.err
49936 rm -f conftest.er1
49937 cat conftest.err >&5
49938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49939 (exit $ac_status); } &&
49940 { ac_try='test -z "$ac_cxx_werror_flag"
49941 || test ! -s conftest.err'
49942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49943 (eval $ac_try) 2>&5
49944 ac_status=$?
49945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49946 (exit $ac_status); }; } &&
49947 { ac_try='test -s conftest.$ac_objext'
49948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49949 (eval $ac_try) 2>&5
49950 ac_status=$?
49951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49952 (exit $ac_status); }; }; then
49953 glibcxx_cv_func___builtin_sinl_use=yes
49954 else
49955 echo "$as_me: failed program was:" >&5
49956 sed 's/^/| /' conftest.$ac_ext >&5
49958 glibcxx_cv_func___builtin_sinl_use=no
49960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49961 ac_ext=c
49962 ac_cpp='$CPP $CPPFLAGS'
49963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49971 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
49972 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
49973 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
49974 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
49975 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
49976 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
49977 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
49978 echo $ECHO_N "(cached) $ECHO_C" >&6
49979 else
49981 if test x$gcc_no_link = xyes; then
49982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49984 { (exit 1); exit 1; }; }
49986 cat >conftest.$ac_ext <<_ACEOF
49987 /* confdefs.h. */
49988 _ACEOF
49989 cat confdefs.h >>conftest.$ac_ext
49990 cat >>conftest.$ac_ext <<_ACEOF
49991 /* end confdefs.h. */
49992 #include <math.h>
49994 main ()
49996 __builtin_sinl(0);
49998 return 0;
50000 _ACEOF
50001 rm -f conftest.$ac_objext conftest$ac_exeext
50002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50003 (eval $ac_link) 2>conftest.er1
50004 ac_status=$?
50005 grep -v '^ *+' conftest.er1 >conftest.err
50006 rm -f conftest.er1
50007 cat conftest.err >&5
50008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50009 (exit $ac_status); } &&
50010 { ac_try='test -z "$ac_c_werror_flag"
50011 || test ! -s conftest.err'
50012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50013 (eval $ac_try) 2>&5
50014 ac_status=$?
50015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50016 (exit $ac_status); }; } &&
50017 { ac_try='test -s conftest$ac_exeext'
50018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50019 (eval $ac_try) 2>&5
50020 ac_status=$?
50021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50022 (exit $ac_status); }; }; then
50023 glibcxx_cv_func___builtin_sinl_link=yes
50024 else
50025 echo "$as_me: failed program was:" >&5
50026 sed 's/^/| /' conftest.$ac_ext >&5
50028 glibcxx_cv_func___builtin_sinl_link=no
50030 rm -f conftest.err conftest.$ac_objext \
50031 conftest$ac_exeext conftest.$ac_ext
50036 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
50037 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
50039 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
50041 cat >>confdefs.h <<\_ACEOF
50042 #define HAVE___BUILTIN_SINL 1
50043 _ACEOF
50051 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
50052 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
50053 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
50054 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
50055 echo $ECHO_N "(cached) $ECHO_C" >&6
50056 else
50060 ac_ext=cc
50061 ac_cpp='$CXXCPP $CPPFLAGS'
50062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50066 cat >conftest.$ac_ext <<_ACEOF
50067 /* confdefs.h. */
50068 _ACEOF
50069 cat confdefs.h >>conftest.$ac_ext
50070 cat >>conftest.$ac_ext <<_ACEOF
50071 /* end confdefs.h. */
50072 #include <math.h>
50074 main ()
50076 __builtin_cosf(0);
50078 return 0;
50080 _ACEOF
50081 rm -f conftest.$ac_objext
50082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50083 (eval $ac_compile) 2>conftest.er1
50084 ac_status=$?
50085 grep -v '^ *+' conftest.er1 >conftest.err
50086 rm -f conftest.er1
50087 cat conftest.err >&5
50088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50089 (exit $ac_status); } &&
50090 { ac_try='test -z "$ac_cxx_werror_flag"
50091 || test ! -s conftest.err'
50092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50093 (eval $ac_try) 2>&5
50094 ac_status=$?
50095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50096 (exit $ac_status); }; } &&
50097 { ac_try='test -s conftest.$ac_objext'
50098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50099 (eval $ac_try) 2>&5
50100 ac_status=$?
50101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50102 (exit $ac_status); }; }; then
50103 glibcxx_cv_func___builtin_cosf_use=yes
50104 else
50105 echo "$as_me: failed program was:" >&5
50106 sed 's/^/| /' conftest.$ac_ext >&5
50108 glibcxx_cv_func___builtin_cosf_use=no
50110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50111 ac_ext=c
50112 ac_cpp='$CPP $CPPFLAGS'
50113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50121 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
50122 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
50123 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
50124 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
50125 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
50126 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
50127 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
50128 echo $ECHO_N "(cached) $ECHO_C" >&6
50129 else
50131 if test x$gcc_no_link = xyes; then
50132 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50134 { (exit 1); exit 1; }; }
50136 cat >conftest.$ac_ext <<_ACEOF
50137 /* confdefs.h. */
50138 _ACEOF
50139 cat confdefs.h >>conftest.$ac_ext
50140 cat >>conftest.$ac_ext <<_ACEOF
50141 /* end confdefs.h. */
50142 #include <math.h>
50144 main ()
50146 __builtin_cosf(0);
50148 return 0;
50150 _ACEOF
50151 rm -f conftest.$ac_objext conftest$ac_exeext
50152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50153 (eval $ac_link) 2>conftest.er1
50154 ac_status=$?
50155 grep -v '^ *+' conftest.er1 >conftest.err
50156 rm -f conftest.er1
50157 cat conftest.err >&5
50158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50159 (exit $ac_status); } &&
50160 { ac_try='test -z "$ac_c_werror_flag"
50161 || test ! -s conftest.err'
50162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50163 (eval $ac_try) 2>&5
50164 ac_status=$?
50165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50166 (exit $ac_status); }; } &&
50167 { ac_try='test -s conftest$ac_exeext'
50168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50169 (eval $ac_try) 2>&5
50170 ac_status=$?
50171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50172 (exit $ac_status); }; }; then
50173 glibcxx_cv_func___builtin_cosf_link=yes
50174 else
50175 echo "$as_me: failed program was:" >&5
50176 sed 's/^/| /' conftest.$ac_ext >&5
50178 glibcxx_cv_func___builtin_cosf_link=no
50180 rm -f conftest.err conftest.$ac_objext \
50181 conftest$ac_exeext conftest.$ac_ext
50186 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
50187 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
50189 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
50191 cat >>confdefs.h <<\_ACEOF
50192 #define HAVE___BUILTIN_COSF 1
50193 _ACEOF
50200 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
50201 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
50202 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
50203 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
50204 echo $ECHO_N "(cached) $ECHO_C" >&6
50205 else
50209 ac_ext=cc
50210 ac_cpp='$CXXCPP $CPPFLAGS'
50211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50215 cat >conftest.$ac_ext <<_ACEOF
50216 /* confdefs.h. */
50217 _ACEOF
50218 cat confdefs.h >>conftest.$ac_ext
50219 cat >>conftest.$ac_ext <<_ACEOF
50220 /* end confdefs.h. */
50221 #include <math.h>
50223 main ()
50225 __builtin_cos(0);
50227 return 0;
50229 _ACEOF
50230 rm -f conftest.$ac_objext
50231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50232 (eval $ac_compile) 2>conftest.er1
50233 ac_status=$?
50234 grep -v '^ *+' conftest.er1 >conftest.err
50235 rm -f conftest.er1
50236 cat conftest.err >&5
50237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50238 (exit $ac_status); } &&
50239 { ac_try='test -z "$ac_cxx_werror_flag"
50240 || test ! -s conftest.err'
50241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50242 (eval $ac_try) 2>&5
50243 ac_status=$?
50244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50245 (exit $ac_status); }; } &&
50246 { ac_try='test -s conftest.$ac_objext'
50247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50248 (eval $ac_try) 2>&5
50249 ac_status=$?
50250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50251 (exit $ac_status); }; }; then
50252 glibcxx_cv_func___builtin_cos_use=yes
50253 else
50254 echo "$as_me: failed program was:" >&5
50255 sed 's/^/| /' conftest.$ac_ext >&5
50257 glibcxx_cv_func___builtin_cos_use=no
50259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50260 ac_ext=c
50261 ac_cpp='$CPP $CPPFLAGS'
50262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50270 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
50271 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
50272 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
50273 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
50274 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
50275 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
50276 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
50277 echo $ECHO_N "(cached) $ECHO_C" >&6
50278 else
50280 if test x$gcc_no_link = xyes; then
50281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50283 { (exit 1); exit 1; }; }
50285 cat >conftest.$ac_ext <<_ACEOF
50286 /* confdefs.h. */
50287 _ACEOF
50288 cat confdefs.h >>conftest.$ac_ext
50289 cat >>conftest.$ac_ext <<_ACEOF
50290 /* end confdefs.h. */
50291 #include <math.h>
50293 main ()
50295 __builtin_cos(0);
50297 return 0;
50299 _ACEOF
50300 rm -f conftest.$ac_objext conftest$ac_exeext
50301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50302 (eval $ac_link) 2>conftest.er1
50303 ac_status=$?
50304 grep -v '^ *+' conftest.er1 >conftest.err
50305 rm -f conftest.er1
50306 cat conftest.err >&5
50307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50308 (exit $ac_status); } &&
50309 { ac_try='test -z "$ac_c_werror_flag"
50310 || test ! -s conftest.err'
50311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50312 (eval $ac_try) 2>&5
50313 ac_status=$?
50314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50315 (exit $ac_status); }; } &&
50316 { ac_try='test -s conftest$ac_exeext'
50317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50318 (eval $ac_try) 2>&5
50319 ac_status=$?
50320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50321 (exit $ac_status); }; }; then
50322 glibcxx_cv_func___builtin_cos_link=yes
50323 else
50324 echo "$as_me: failed program was:" >&5
50325 sed 's/^/| /' conftest.$ac_ext >&5
50327 glibcxx_cv_func___builtin_cos_link=no
50329 rm -f conftest.err conftest.$ac_objext \
50330 conftest$ac_exeext conftest.$ac_ext
50335 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
50336 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
50338 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
50340 cat >>confdefs.h <<\_ACEOF
50341 #define HAVE___BUILTIN_COS 1
50342 _ACEOF
50349 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
50350 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
50351 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
50352 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
50353 echo $ECHO_N "(cached) $ECHO_C" >&6
50354 else
50358 ac_ext=cc
50359 ac_cpp='$CXXCPP $CPPFLAGS'
50360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50364 cat >conftest.$ac_ext <<_ACEOF
50365 /* confdefs.h. */
50366 _ACEOF
50367 cat confdefs.h >>conftest.$ac_ext
50368 cat >>conftest.$ac_ext <<_ACEOF
50369 /* end confdefs.h. */
50370 #include <math.h>
50372 main ()
50374 __builtin_cosl(0);
50376 return 0;
50378 _ACEOF
50379 rm -f conftest.$ac_objext
50380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50381 (eval $ac_compile) 2>conftest.er1
50382 ac_status=$?
50383 grep -v '^ *+' conftest.er1 >conftest.err
50384 rm -f conftest.er1
50385 cat conftest.err >&5
50386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50387 (exit $ac_status); } &&
50388 { ac_try='test -z "$ac_cxx_werror_flag"
50389 || test ! -s conftest.err'
50390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50391 (eval $ac_try) 2>&5
50392 ac_status=$?
50393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50394 (exit $ac_status); }; } &&
50395 { ac_try='test -s conftest.$ac_objext'
50396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50397 (eval $ac_try) 2>&5
50398 ac_status=$?
50399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50400 (exit $ac_status); }; }; then
50401 glibcxx_cv_func___builtin_cosl_use=yes
50402 else
50403 echo "$as_me: failed program was:" >&5
50404 sed 's/^/| /' conftest.$ac_ext >&5
50406 glibcxx_cv_func___builtin_cosl_use=no
50408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50409 ac_ext=c
50410 ac_cpp='$CPP $CPPFLAGS'
50411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50419 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
50420 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
50421 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
50422 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
50423 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
50424 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
50425 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
50426 echo $ECHO_N "(cached) $ECHO_C" >&6
50427 else
50429 if test x$gcc_no_link = xyes; then
50430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50432 { (exit 1); exit 1; }; }
50434 cat >conftest.$ac_ext <<_ACEOF
50435 /* confdefs.h. */
50436 _ACEOF
50437 cat confdefs.h >>conftest.$ac_ext
50438 cat >>conftest.$ac_ext <<_ACEOF
50439 /* end confdefs.h. */
50440 #include <math.h>
50442 main ()
50444 __builtin_cosl(0);
50446 return 0;
50448 _ACEOF
50449 rm -f conftest.$ac_objext conftest$ac_exeext
50450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50451 (eval $ac_link) 2>conftest.er1
50452 ac_status=$?
50453 grep -v '^ *+' conftest.er1 >conftest.err
50454 rm -f conftest.er1
50455 cat conftest.err >&5
50456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50457 (exit $ac_status); } &&
50458 { ac_try='test -z "$ac_c_werror_flag"
50459 || test ! -s conftest.err'
50460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50461 (eval $ac_try) 2>&5
50462 ac_status=$?
50463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50464 (exit $ac_status); }; } &&
50465 { ac_try='test -s conftest$ac_exeext'
50466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50467 (eval $ac_try) 2>&5
50468 ac_status=$?
50469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50470 (exit $ac_status); }; }; then
50471 glibcxx_cv_func___builtin_cosl_link=yes
50472 else
50473 echo "$as_me: failed program was:" >&5
50474 sed 's/^/| /' conftest.$ac_ext >&5
50476 glibcxx_cv_func___builtin_cosl_link=no
50478 rm -f conftest.err conftest.$ac_objext \
50479 conftest$ac_exeext conftest.$ac_ext
50484 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
50485 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
50487 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
50489 cat >>confdefs.h <<\_ACEOF
50490 #define HAVE___BUILTIN_COSL 1
50491 _ACEOF
50500 echo "$as_me:$LINENO: checking for main in -lm" >&5
50501 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
50502 if test "${ac_cv_lib_m_main+set}" = set; then
50503 echo $ECHO_N "(cached) $ECHO_C" >&6
50504 else
50505 ac_check_lib_save_LIBS=$LIBS
50506 LIBS="-lm $LIBS"
50507 if test x$gcc_no_link = xyes; then
50508 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50510 { (exit 1); exit 1; }; }
50512 cat >conftest.$ac_ext <<_ACEOF
50513 /* confdefs.h. */
50514 _ACEOF
50515 cat confdefs.h >>conftest.$ac_ext
50516 cat >>conftest.$ac_ext <<_ACEOF
50517 /* end confdefs.h. */
50521 main ()
50523 main ();
50525 return 0;
50527 _ACEOF
50528 rm -f conftest.$ac_objext conftest$ac_exeext
50529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50530 (eval $ac_link) 2>conftest.er1
50531 ac_status=$?
50532 grep -v '^ *+' conftest.er1 >conftest.err
50533 rm -f conftest.er1
50534 cat conftest.err >&5
50535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50536 (exit $ac_status); } &&
50537 { ac_try='test -z "$ac_c_werror_flag"
50538 || test ! -s conftest.err'
50539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50540 (eval $ac_try) 2>&5
50541 ac_status=$?
50542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50543 (exit $ac_status); }; } &&
50544 { ac_try='test -s conftest$ac_exeext'
50545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50546 (eval $ac_try) 2>&5
50547 ac_status=$?
50548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50549 (exit $ac_status); }; }; then
50550 ac_cv_lib_m_main=yes
50551 else
50552 echo "$as_me: failed program was:" >&5
50553 sed 's/^/| /' conftest.$ac_ext >&5
50555 ac_cv_lib_m_main=no
50557 rm -f conftest.err conftest.$ac_objext \
50558 conftest$ac_exeext conftest.$ac_ext
50559 LIBS=$ac_check_lib_save_LIBS
50561 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
50562 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
50563 if test $ac_cv_lib_m_main = yes; then
50564 cat >>confdefs.h <<_ACEOF
50565 #define HAVE_LIBM 1
50566 _ACEOF
50568 LIBS="-lm $LIBS"
50573 for ac_func in copysignf
50575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50576 echo "$as_me:$LINENO: checking for $ac_func" >&5
50577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50578 if eval "test \"\${$as_ac_var+set}\" = set"; then
50579 echo $ECHO_N "(cached) $ECHO_C" >&6
50580 else
50581 if test x$gcc_no_link = xyes; then
50582 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50584 { (exit 1); exit 1; }; }
50586 cat >conftest.$ac_ext <<_ACEOF
50587 /* confdefs.h. */
50588 _ACEOF
50589 cat confdefs.h >>conftest.$ac_ext
50590 cat >>conftest.$ac_ext <<_ACEOF
50591 /* end confdefs.h. */
50592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50593 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50594 #define $ac_func innocuous_$ac_func
50596 /* System header to define __stub macros and hopefully few prototypes,
50597 which can conflict with char $ac_func (); below.
50598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50599 <limits.h> exists even on freestanding compilers. */
50601 #ifdef __STDC__
50602 # include <limits.h>
50603 #else
50604 # include <assert.h>
50605 #endif
50607 #undef $ac_func
50609 /* Override any gcc2 internal prototype to avoid an error. */
50610 #ifdef __cplusplus
50611 extern "C"
50613 #endif
50614 /* We use char because int might match the return type of a gcc2
50615 builtin and then its argument prototype would still apply. */
50616 char $ac_func ();
50617 /* The GNU C library defines this for functions which it implements
50618 to always fail with ENOSYS. Some functions are actually named
50619 something starting with __ and the normal name is an alias. */
50620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50621 choke me
50622 #else
50623 char (*f) () = $ac_func;
50624 #endif
50625 #ifdef __cplusplus
50627 #endif
50630 main ()
50632 return f != $ac_func;
50634 return 0;
50636 _ACEOF
50637 rm -f conftest.$ac_objext conftest$ac_exeext
50638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50639 (eval $ac_link) 2>conftest.er1
50640 ac_status=$?
50641 grep -v '^ *+' conftest.er1 >conftest.err
50642 rm -f conftest.er1
50643 cat conftest.err >&5
50644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50645 (exit $ac_status); } &&
50646 { ac_try='test -z "$ac_c_werror_flag"
50647 || test ! -s conftest.err'
50648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50649 (eval $ac_try) 2>&5
50650 ac_status=$?
50651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50652 (exit $ac_status); }; } &&
50653 { ac_try='test -s conftest$ac_exeext'
50654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50655 (eval $ac_try) 2>&5
50656 ac_status=$?
50657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50658 (exit $ac_status); }; }; then
50659 eval "$as_ac_var=yes"
50660 else
50661 echo "$as_me: failed program was:" >&5
50662 sed 's/^/| /' conftest.$ac_ext >&5
50664 eval "$as_ac_var=no"
50666 rm -f conftest.err conftest.$ac_objext \
50667 conftest$ac_exeext conftest.$ac_ext
50669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50671 if test `eval echo '${'$as_ac_var'}'` = yes; then
50672 cat >>confdefs.h <<_ACEOF
50673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50674 _ACEOF
50676 else
50677 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
50679 done
50683 for ac_func in __signbit
50685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50686 echo "$as_me:$LINENO: checking for $ac_func" >&5
50687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50688 if eval "test \"\${$as_ac_var+set}\" = set"; then
50689 echo $ECHO_N "(cached) $ECHO_C" >&6
50690 else
50691 if test x$gcc_no_link = xyes; then
50692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50694 { (exit 1); exit 1; }; }
50696 cat >conftest.$ac_ext <<_ACEOF
50697 /* confdefs.h. */
50698 _ACEOF
50699 cat confdefs.h >>conftest.$ac_ext
50700 cat >>conftest.$ac_ext <<_ACEOF
50701 /* end confdefs.h. */
50702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50704 #define $ac_func innocuous_$ac_func
50706 /* System header to define __stub macros and hopefully few prototypes,
50707 which can conflict with char $ac_func (); below.
50708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50709 <limits.h> exists even on freestanding compilers. */
50711 #ifdef __STDC__
50712 # include <limits.h>
50713 #else
50714 # include <assert.h>
50715 #endif
50717 #undef $ac_func
50719 /* Override any gcc2 internal prototype to avoid an error. */
50720 #ifdef __cplusplus
50721 extern "C"
50723 #endif
50724 /* We use char because int might match the return type of a gcc2
50725 builtin and then its argument prototype would still apply. */
50726 char $ac_func ();
50727 /* The GNU C library defines this for functions which it implements
50728 to always fail with ENOSYS. Some functions are actually named
50729 something starting with __ and the normal name is an alias. */
50730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50731 choke me
50732 #else
50733 char (*f) () = $ac_func;
50734 #endif
50735 #ifdef __cplusplus
50737 #endif
50740 main ()
50742 return f != $ac_func;
50744 return 0;
50746 _ACEOF
50747 rm -f conftest.$ac_objext conftest$ac_exeext
50748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50749 (eval $ac_link) 2>conftest.er1
50750 ac_status=$?
50751 grep -v '^ *+' conftest.er1 >conftest.err
50752 rm -f conftest.er1
50753 cat conftest.err >&5
50754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50755 (exit $ac_status); } &&
50756 { ac_try='test -z "$ac_c_werror_flag"
50757 || test ! -s conftest.err'
50758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50759 (eval $ac_try) 2>&5
50760 ac_status=$?
50761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50762 (exit $ac_status); }; } &&
50763 { ac_try='test -s conftest$ac_exeext'
50764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50765 (eval $ac_try) 2>&5
50766 ac_status=$?
50767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50768 (exit $ac_status); }; }; then
50769 eval "$as_ac_var=yes"
50770 else
50771 echo "$as_me: failed program was:" >&5
50772 sed 's/^/| /' conftest.$ac_ext >&5
50774 eval "$as_ac_var=no"
50776 rm -f conftest.err conftest.$ac_objext \
50777 conftest$ac_exeext conftest.$ac_ext
50779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50781 if test `eval echo '${'$as_ac_var'}'` = yes; then
50782 cat >>confdefs.h <<_ACEOF
50783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50784 _ACEOF
50786 else
50787 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
50789 done
50793 for ac_func in __signbitf
50795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50796 echo "$as_me:$LINENO: checking for $ac_func" >&5
50797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50798 if eval "test \"\${$as_ac_var+set}\" = set"; then
50799 echo $ECHO_N "(cached) $ECHO_C" >&6
50800 else
50801 if test x$gcc_no_link = xyes; then
50802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50804 { (exit 1); exit 1; }; }
50806 cat >conftest.$ac_ext <<_ACEOF
50807 /* confdefs.h. */
50808 _ACEOF
50809 cat confdefs.h >>conftest.$ac_ext
50810 cat >>conftest.$ac_ext <<_ACEOF
50811 /* end confdefs.h. */
50812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50814 #define $ac_func innocuous_$ac_func
50816 /* System header to define __stub macros and hopefully few prototypes,
50817 which can conflict with char $ac_func (); below.
50818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50819 <limits.h> exists even on freestanding compilers. */
50821 #ifdef __STDC__
50822 # include <limits.h>
50823 #else
50824 # include <assert.h>
50825 #endif
50827 #undef $ac_func
50829 /* Override any gcc2 internal prototype to avoid an error. */
50830 #ifdef __cplusplus
50831 extern "C"
50833 #endif
50834 /* We use char because int might match the return type of a gcc2
50835 builtin and then its argument prototype would still apply. */
50836 char $ac_func ();
50837 /* The GNU C library defines this for functions which it implements
50838 to always fail with ENOSYS. Some functions are actually named
50839 something starting with __ and the normal name is an alias. */
50840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50841 choke me
50842 #else
50843 char (*f) () = $ac_func;
50844 #endif
50845 #ifdef __cplusplus
50847 #endif
50850 main ()
50852 return f != $ac_func;
50854 return 0;
50856 _ACEOF
50857 rm -f conftest.$ac_objext conftest$ac_exeext
50858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50859 (eval $ac_link) 2>conftest.er1
50860 ac_status=$?
50861 grep -v '^ *+' conftest.er1 >conftest.err
50862 rm -f conftest.er1
50863 cat conftest.err >&5
50864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50865 (exit $ac_status); } &&
50866 { ac_try='test -z "$ac_c_werror_flag"
50867 || test ! -s conftest.err'
50868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50869 (eval $ac_try) 2>&5
50870 ac_status=$?
50871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50872 (exit $ac_status); }; } &&
50873 { ac_try='test -s conftest$ac_exeext'
50874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50875 (eval $ac_try) 2>&5
50876 ac_status=$?
50877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50878 (exit $ac_status); }; }; then
50879 eval "$as_ac_var=yes"
50880 else
50881 echo "$as_me: failed program was:" >&5
50882 sed 's/^/| /' conftest.$ac_ext >&5
50884 eval "$as_ac_var=no"
50886 rm -f conftest.err conftest.$ac_objext \
50887 conftest$ac_exeext conftest.$ac_ext
50889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50891 if test `eval echo '${'$as_ac_var'}'` = yes; then
50892 cat >>confdefs.h <<_ACEOF
50893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50894 _ACEOF
50896 else
50897 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
50899 done
50902 if test x$ac_cv_func_copysignl = x"yes"; then
50904 for ac_func in __signbitl
50906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50907 echo "$as_me:$LINENO: checking for $ac_func" >&5
50908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50909 if eval "test \"\${$as_ac_var+set}\" = set"; then
50910 echo $ECHO_N "(cached) $ECHO_C" >&6
50911 else
50912 if test x$gcc_no_link = xyes; then
50913 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50915 { (exit 1); exit 1; }; }
50917 cat >conftest.$ac_ext <<_ACEOF
50918 /* confdefs.h. */
50919 _ACEOF
50920 cat confdefs.h >>conftest.$ac_ext
50921 cat >>conftest.$ac_ext <<_ACEOF
50922 /* end confdefs.h. */
50923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50925 #define $ac_func innocuous_$ac_func
50927 /* System header to define __stub macros and hopefully few prototypes,
50928 which can conflict with char $ac_func (); below.
50929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50930 <limits.h> exists even on freestanding compilers. */
50932 #ifdef __STDC__
50933 # include <limits.h>
50934 #else
50935 # include <assert.h>
50936 #endif
50938 #undef $ac_func
50940 /* Override any gcc2 internal prototype to avoid an error. */
50941 #ifdef __cplusplus
50942 extern "C"
50944 #endif
50945 /* We use char because int might match the return type of a gcc2
50946 builtin and then its argument prototype would still apply. */
50947 char $ac_func ();
50948 /* The GNU C library defines this for functions which it implements
50949 to always fail with ENOSYS. Some functions are actually named
50950 something starting with __ and the normal name is an alias. */
50951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50952 choke me
50953 #else
50954 char (*f) () = $ac_func;
50955 #endif
50956 #ifdef __cplusplus
50958 #endif
50961 main ()
50963 return f != $ac_func;
50965 return 0;
50967 _ACEOF
50968 rm -f conftest.$ac_objext conftest$ac_exeext
50969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50970 (eval $ac_link) 2>conftest.er1
50971 ac_status=$?
50972 grep -v '^ *+' conftest.er1 >conftest.err
50973 rm -f conftest.er1
50974 cat conftest.err >&5
50975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50976 (exit $ac_status); } &&
50977 { ac_try='test -z "$ac_c_werror_flag"
50978 || test ! -s conftest.err'
50979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50980 (eval $ac_try) 2>&5
50981 ac_status=$?
50982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50983 (exit $ac_status); }; } &&
50984 { ac_try='test -s conftest$ac_exeext'
50985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50986 (eval $ac_try) 2>&5
50987 ac_status=$?
50988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50989 (exit $ac_status); }; }; then
50990 eval "$as_ac_var=yes"
50991 else
50992 echo "$as_me: failed program was:" >&5
50993 sed 's/^/| /' conftest.$ac_ext >&5
50995 eval "$as_ac_var=no"
50997 rm -f conftest.err conftest.$ac_objext \
50998 conftest$ac_exeext conftest.$ac_ext
51000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51002 if test `eval echo '${'$as_ac_var'}'` = yes; then
51003 cat >>confdefs.h <<_ACEOF
51004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51005 _ACEOF
51007 else
51008 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
51010 done
51014 # Used in libmath/Makefile.am.
51015 if test -n "$LIBMATHOBJS"; then
51016 need_libmath=yes
51022 enable_iconv=no
51023 # Only continue checking if the ISO C99 headers exist and support is on.
51024 if test x"$enable_wchar_t" = xyes; then
51026 # Use iconv for wchar_t to char conversions. As such, check for
51027 # X/Open Portability Guide, version 2 features (XPG2).
51028 if test "${ac_cv_header_iconv_h+set}" = set; then
51029 echo "$as_me:$LINENO: checking for iconv.h" >&5
51030 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51031 if test "${ac_cv_header_iconv_h+set}" = set; then
51032 echo $ECHO_N "(cached) $ECHO_C" >&6
51034 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51035 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51036 else
51037 # Is the header compilable?
51038 echo "$as_me:$LINENO: checking iconv.h usability" >&5
51039 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
51040 cat >conftest.$ac_ext <<_ACEOF
51041 /* confdefs.h. */
51042 _ACEOF
51043 cat confdefs.h >>conftest.$ac_ext
51044 cat >>conftest.$ac_ext <<_ACEOF
51045 /* end confdefs.h. */
51046 $ac_includes_default
51047 #include <iconv.h>
51048 _ACEOF
51049 rm -f conftest.$ac_objext
51050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51051 (eval $ac_compile) 2>conftest.er1
51052 ac_status=$?
51053 grep -v '^ *+' conftest.er1 >conftest.err
51054 rm -f conftest.er1
51055 cat conftest.err >&5
51056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51057 (exit $ac_status); } &&
51058 { ac_try='test -z "$ac_c_werror_flag"
51059 || test ! -s conftest.err'
51060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51061 (eval $ac_try) 2>&5
51062 ac_status=$?
51063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51064 (exit $ac_status); }; } &&
51065 { ac_try='test -s conftest.$ac_objext'
51066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51067 (eval $ac_try) 2>&5
51068 ac_status=$?
51069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51070 (exit $ac_status); }; }; then
51071 ac_header_compiler=yes
51072 else
51073 echo "$as_me: failed program was:" >&5
51074 sed 's/^/| /' conftest.$ac_ext >&5
51076 ac_header_compiler=no
51078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51079 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51080 echo "${ECHO_T}$ac_header_compiler" >&6
51082 # Is the header present?
51083 echo "$as_me:$LINENO: checking iconv.h presence" >&5
51084 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
51085 cat >conftest.$ac_ext <<_ACEOF
51086 /* confdefs.h. */
51087 _ACEOF
51088 cat confdefs.h >>conftest.$ac_ext
51089 cat >>conftest.$ac_ext <<_ACEOF
51090 /* end confdefs.h. */
51091 #include <iconv.h>
51092 _ACEOF
51093 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51094 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51095 ac_status=$?
51096 grep -v '^ *+' conftest.er1 >conftest.err
51097 rm -f conftest.er1
51098 cat conftest.err >&5
51099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51100 (exit $ac_status); } >/dev/null; then
51101 if test -s conftest.err; then
51102 ac_cpp_err=$ac_c_preproc_warn_flag
51103 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51104 else
51105 ac_cpp_err=
51107 else
51108 ac_cpp_err=yes
51110 if test -z "$ac_cpp_err"; then
51111 ac_header_preproc=yes
51112 else
51113 echo "$as_me: failed program was:" >&5
51114 sed 's/^/| /' conftest.$ac_ext >&5
51116 ac_header_preproc=no
51118 rm -f conftest.err conftest.$ac_ext
51119 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51120 echo "${ECHO_T}$ac_header_preproc" >&6
51122 # So? What about this header?
51123 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51124 yes:no: )
51125 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
51126 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51127 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
51128 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
51129 ac_header_preproc=yes
51131 no:yes:* )
51132 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
51133 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
51134 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
51135 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
51136 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
51137 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
51138 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
51139 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
51140 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
51141 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
51142 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
51143 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
51145 cat <<\_ASBOX
51146 ## ----------------------------------------- ##
51147 ## Report this to the package-unused lists. ##
51148 ## ----------------------------------------- ##
51149 _ASBOX
51151 sed "s/^/$as_me: WARNING: /" >&2
51153 esac
51154 echo "$as_me:$LINENO: checking for iconv.h" >&5
51155 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51156 if test "${ac_cv_header_iconv_h+set}" = set; then
51157 echo $ECHO_N "(cached) $ECHO_C" >&6
51158 else
51159 ac_cv_header_iconv_h=$ac_header_preproc
51161 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51162 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51165 if test $ac_cv_header_iconv_h = yes; then
51166 ac_has_iconv_h=yes
51167 else
51168 ac_has_iconv_h=no
51172 if test "${ac_cv_header_langinfo_h+set}" = set; then
51173 echo "$as_me:$LINENO: checking for langinfo.h" >&5
51174 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51175 if test "${ac_cv_header_langinfo_h+set}" = set; then
51176 echo $ECHO_N "(cached) $ECHO_C" >&6
51178 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51179 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51180 else
51181 # Is the header compilable?
51182 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
51183 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
51184 cat >conftest.$ac_ext <<_ACEOF
51185 /* confdefs.h. */
51186 _ACEOF
51187 cat confdefs.h >>conftest.$ac_ext
51188 cat >>conftest.$ac_ext <<_ACEOF
51189 /* end confdefs.h. */
51190 $ac_includes_default
51191 #include <langinfo.h>
51192 _ACEOF
51193 rm -f conftest.$ac_objext
51194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51195 (eval $ac_compile) 2>conftest.er1
51196 ac_status=$?
51197 grep -v '^ *+' conftest.er1 >conftest.err
51198 rm -f conftest.er1
51199 cat conftest.err >&5
51200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51201 (exit $ac_status); } &&
51202 { ac_try='test -z "$ac_c_werror_flag"
51203 || test ! -s conftest.err'
51204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51205 (eval $ac_try) 2>&5
51206 ac_status=$?
51207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51208 (exit $ac_status); }; } &&
51209 { ac_try='test -s conftest.$ac_objext'
51210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51211 (eval $ac_try) 2>&5
51212 ac_status=$?
51213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51214 (exit $ac_status); }; }; then
51215 ac_header_compiler=yes
51216 else
51217 echo "$as_me: failed program was:" >&5
51218 sed 's/^/| /' conftest.$ac_ext >&5
51220 ac_header_compiler=no
51222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51223 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51224 echo "${ECHO_T}$ac_header_compiler" >&6
51226 # Is the header present?
51227 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
51228 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
51229 cat >conftest.$ac_ext <<_ACEOF
51230 /* confdefs.h. */
51231 _ACEOF
51232 cat confdefs.h >>conftest.$ac_ext
51233 cat >>conftest.$ac_ext <<_ACEOF
51234 /* end confdefs.h. */
51235 #include <langinfo.h>
51236 _ACEOF
51237 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51238 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51239 ac_status=$?
51240 grep -v '^ *+' conftest.er1 >conftest.err
51241 rm -f conftest.er1
51242 cat conftest.err >&5
51243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51244 (exit $ac_status); } >/dev/null; then
51245 if test -s conftest.err; then
51246 ac_cpp_err=$ac_c_preproc_warn_flag
51247 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51248 else
51249 ac_cpp_err=
51251 else
51252 ac_cpp_err=yes
51254 if test -z "$ac_cpp_err"; then
51255 ac_header_preproc=yes
51256 else
51257 echo "$as_me: failed program was:" >&5
51258 sed 's/^/| /' conftest.$ac_ext >&5
51260 ac_header_preproc=no
51262 rm -f conftest.err conftest.$ac_ext
51263 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51264 echo "${ECHO_T}$ac_header_preproc" >&6
51266 # So? What about this header?
51267 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51268 yes:no: )
51269 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
51270 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51271 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
51272 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
51273 ac_header_preproc=yes
51275 no:yes:* )
51276 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
51277 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
51278 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
51279 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
51280 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
51281 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
51282 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
51283 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
51284 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
51285 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
51286 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
51287 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
51289 cat <<\_ASBOX
51290 ## ----------------------------------------- ##
51291 ## Report this to the package-unused lists. ##
51292 ## ----------------------------------------- ##
51293 _ASBOX
51295 sed "s/^/$as_me: WARNING: /" >&2
51297 esac
51298 echo "$as_me:$LINENO: checking for langinfo.h" >&5
51299 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51300 if test "${ac_cv_header_langinfo_h+set}" = set; then
51301 echo $ECHO_N "(cached) $ECHO_C" >&6
51302 else
51303 ac_cv_header_langinfo_h=$ac_header_preproc
51305 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51306 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51309 if test $ac_cv_header_langinfo_h = yes; then
51310 ac_has_langinfo_h=yes
51311 else
51312 ac_has_langinfo_h=no
51317 # Check for existence of libiconv.a providing XPG2 wchar_t support.
51318 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
51319 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
51320 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
51321 echo $ECHO_N "(cached) $ECHO_C" >&6
51322 else
51323 ac_check_lib_save_LIBS=$LIBS
51324 LIBS="-liconv $LIBS"
51325 if test x$gcc_no_link = xyes; then
51326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51328 { (exit 1); exit 1; }; }
51330 cat >conftest.$ac_ext <<_ACEOF
51331 /* confdefs.h. */
51332 _ACEOF
51333 cat confdefs.h >>conftest.$ac_ext
51334 cat >>conftest.$ac_ext <<_ACEOF
51335 /* end confdefs.h. */
51337 /* Override any gcc2 internal prototype to avoid an error. */
51338 #ifdef __cplusplus
51339 extern "C"
51340 #endif
51341 /* We use char because int might match the return type of a gcc2
51342 builtin and then its argument prototype would still apply. */
51343 char iconv ();
51345 main ()
51347 iconv ();
51349 return 0;
51351 _ACEOF
51352 rm -f conftest.$ac_objext conftest$ac_exeext
51353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51354 (eval $ac_link) 2>conftest.er1
51355 ac_status=$?
51356 grep -v '^ *+' conftest.er1 >conftest.err
51357 rm -f conftest.er1
51358 cat conftest.err >&5
51359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51360 (exit $ac_status); } &&
51361 { ac_try='test -z "$ac_c_werror_flag"
51362 || test ! -s conftest.err'
51363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51364 (eval $ac_try) 2>&5
51365 ac_status=$?
51366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51367 (exit $ac_status); }; } &&
51368 { ac_try='test -s conftest$ac_exeext'
51369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51370 (eval $ac_try) 2>&5
51371 ac_status=$?
51372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51373 (exit $ac_status); }; }; then
51374 ac_cv_lib_iconv_iconv=yes
51375 else
51376 echo "$as_me: failed program was:" >&5
51377 sed 's/^/| /' conftest.$ac_ext >&5
51379 ac_cv_lib_iconv_iconv=no
51381 rm -f conftest.err conftest.$ac_objext \
51382 conftest$ac_exeext conftest.$ac_ext
51383 LIBS=$ac_check_lib_save_LIBS
51385 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
51386 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
51387 if test $ac_cv_lib_iconv_iconv = yes; then
51388 LIBICONV="-liconv"
51391 ac_save_LIBS="$LIBS"
51392 LIBS="$LIBS $LIBICONV"
51399 for ac_func in iconv_open iconv_close iconv nl_langinfo
51401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51402 echo "$as_me:$LINENO: checking for $ac_func" >&5
51403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51404 if eval "test \"\${$as_ac_var+set}\" = set"; then
51405 echo $ECHO_N "(cached) $ECHO_C" >&6
51406 else
51407 if test x$gcc_no_link = xyes; then
51408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51410 { (exit 1); exit 1; }; }
51412 cat >conftest.$ac_ext <<_ACEOF
51413 /* confdefs.h. */
51414 _ACEOF
51415 cat confdefs.h >>conftest.$ac_ext
51416 cat >>conftest.$ac_ext <<_ACEOF
51417 /* end confdefs.h. */
51418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51420 #define $ac_func innocuous_$ac_func
51422 /* System header to define __stub macros and hopefully few prototypes,
51423 which can conflict with char $ac_func (); below.
51424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51425 <limits.h> exists even on freestanding compilers. */
51427 #ifdef __STDC__
51428 # include <limits.h>
51429 #else
51430 # include <assert.h>
51431 #endif
51433 #undef $ac_func
51435 /* Override any gcc2 internal prototype to avoid an error. */
51436 #ifdef __cplusplus
51437 extern "C"
51439 #endif
51440 /* We use char because int might match the return type of a gcc2
51441 builtin and then its argument prototype would still apply. */
51442 char $ac_func ();
51443 /* The GNU C library defines this for functions which it implements
51444 to always fail with ENOSYS. Some functions are actually named
51445 something starting with __ and the normal name is an alias. */
51446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51447 choke me
51448 #else
51449 char (*f) () = $ac_func;
51450 #endif
51451 #ifdef __cplusplus
51453 #endif
51456 main ()
51458 return f != $ac_func;
51460 return 0;
51462 _ACEOF
51463 rm -f conftest.$ac_objext conftest$ac_exeext
51464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51465 (eval $ac_link) 2>conftest.er1
51466 ac_status=$?
51467 grep -v '^ *+' conftest.er1 >conftest.err
51468 rm -f conftest.er1
51469 cat conftest.err >&5
51470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51471 (exit $ac_status); } &&
51472 { ac_try='test -z "$ac_c_werror_flag"
51473 || test ! -s conftest.err'
51474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51475 (eval $ac_try) 2>&5
51476 ac_status=$?
51477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51478 (exit $ac_status); }; } &&
51479 { ac_try='test -s conftest$ac_exeext'
51480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51481 (eval $ac_try) 2>&5
51482 ac_status=$?
51483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51484 (exit $ac_status); }; }; then
51485 eval "$as_ac_var=yes"
51486 else
51487 echo "$as_me: failed program was:" >&5
51488 sed 's/^/| /' conftest.$ac_ext >&5
51490 eval "$as_ac_var=no"
51492 rm -f conftest.err conftest.$ac_objext \
51493 conftest$ac_exeext conftest.$ac_ext
51495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51497 if test `eval echo '${'$as_ac_var'}'` = yes; then
51498 cat >>confdefs.h <<_ACEOF
51499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51500 _ACEOF
51501 ac_XPG2funcs=yes
51502 else
51503 ac_XPG2funcs=no
51505 done
51508 LIBS="$ac_save_LIBS"
51510 if test x"$ac_has_iconv_h" = xyes &&
51511 test x"$ac_has_langinfo_h" = xyes &&
51512 test x"$ac_XPG2funcs" = xyes;
51513 then
51515 cat >>confdefs.h <<\_ACEOF
51516 #define _GLIBCXX_USE_ICONV 1
51517 _ACEOF
51519 enable_iconv=yes
51522 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
51523 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
51524 echo "$as_me:$LINENO: result: $enable_iconv" >&5
51525 echo "${ECHO_T}$enable_iconv" >&6
51528 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51529 ac_save_CXXFLAGS="$CXXFLAGS"
51530 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51533 echo "$as_me:$LINENO: checking for strtold declaration" >&5
51534 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
51535 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51536 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
51537 echo $ECHO_N "(cached) $ECHO_C" >&6
51538 else
51542 ac_ext=cc
51543 ac_cpp='$CXXCPP $CPPFLAGS'
51544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51548 cat >conftest.$ac_ext <<_ACEOF
51549 /* confdefs.h. */
51550 _ACEOF
51551 cat confdefs.h >>conftest.$ac_ext
51552 cat >>conftest.$ac_ext <<_ACEOF
51553 /* end confdefs.h. */
51554 #include <stdlib.h>
51556 main ()
51558 strtold(0, 0);
51560 return 0;
51562 _ACEOF
51563 rm -f conftest.$ac_objext
51564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51565 (eval $ac_compile) 2>conftest.er1
51566 ac_status=$?
51567 grep -v '^ *+' conftest.er1 >conftest.err
51568 rm -f conftest.er1
51569 cat conftest.err >&5
51570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51571 (exit $ac_status); } &&
51572 { ac_try='test -z "$ac_cxx_werror_flag"
51573 || test ! -s conftest.err'
51574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51575 (eval $ac_try) 2>&5
51576 ac_status=$?
51577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51578 (exit $ac_status); }; } &&
51579 { ac_try='test -s conftest.$ac_objext'
51580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51581 (eval $ac_try) 2>&5
51582 ac_status=$?
51583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51584 (exit $ac_status); }; }; then
51585 glibcxx_cv_func_strtold_use=yes
51586 else
51587 echo "$as_me: failed program was:" >&5
51588 sed 's/^/| /' conftest.$ac_ext >&5
51590 glibcxx_cv_func_strtold_use=no
51592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51593 ac_ext=c
51594 ac_cpp='$CPP $CPPFLAGS'
51595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51603 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
51604 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
51605 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51607 for ac_func in strtold
51609 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51610 echo "$as_me:$LINENO: checking for $ac_func" >&5
51611 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51612 if eval "test \"\${$as_ac_var+set}\" = set"; then
51613 echo $ECHO_N "(cached) $ECHO_C" >&6
51614 else
51615 if test x$gcc_no_link = xyes; then
51616 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51618 { (exit 1); exit 1; }; }
51620 cat >conftest.$ac_ext <<_ACEOF
51621 /* confdefs.h. */
51622 _ACEOF
51623 cat confdefs.h >>conftest.$ac_ext
51624 cat >>conftest.$ac_ext <<_ACEOF
51625 /* end confdefs.h. */
51626 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51628 #define $ac_func innocuous_$ac_func
51630 /* System header to define __stub macros and hopefully few prototypes,
51631 which can conflict with char $ac_func (); below.
51632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51633 <limits.h> exists even on freestanding compilers. */
51635 #ifdef __STDC__
51636 # include <limits.h>
51637 #else
51638 # include <assert.h>
51639 #endif
51641 #undef $ac_func
51643 /* Override any gcc2 internal prototype to avoid an error. */
51644 #ifdef __cplusplus
51645 extern "C"
51647 #endif
51648 /* We use char because int might match the return type of a gcc2
51649 builtin and then its argument prototype would still apply. */
51650 char $ac_func ();
51651 /* The GNU C library defines this for functions which it implements
51652 to always fail with ENOSYS. Some functions are actually named
51653 something starting with __ and the normal name is an alias. */
51654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51655 choke me
51656 #else
51657 char (*f) () = $ac_func;
51658 #endif
51659 #ifdef __cplusplus
51661 #endif
51664 main ()
51666 return f != $ac_func;
51668 return 0;
51670 _ACEOF
51671 rm -f conftest.$ac_objext conftest$ac_exeext
51672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51673 (eval $ac_link) 2>conftest.er1
51674 ac_status=$?
51675 grep -v '^ *+' conftest.er1 >conftest.err
51676 rm -f conftest.er1
51677 cat conftest.err >&5
51678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51679 (exit $ac_status); } &&
51680 { ac_try='test -z "$ac_c_werror_flag"
51681 || test ! -s conftest.err'
51682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51683 (eval $ac_try) 2>&5
51684 ac_status=$?
51685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51686 (exit $ac_status); }; } &&
51687 { ac_try='test -s conftest$ac_exeext'
51688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51689 (eval $ac_try) 2>&5
51690 ac_status=$?
51691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51692 (exit $ac_status); }; }; then
51693 eval "$as_ac_var=yes"
51694 else
51695 echo "$as_me: failed program was:" >&5
51696 sed 's/^/| /' conftest.$ac_ext >&5
51698 eval "$as_ac_var=no"
51700 rm -f conftest.err conftest.$ac_objext \
51701 conftest$ac_exeext conftest.$ac_ext
51703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51704 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51705 if test `eval echo '${'$as_ac_var'}'` = yes; then
51706 cat >>confdefs.h <<_ACEOF
51707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51708 _ACEOF
51711 done
51719 echo "$as_me:$LINENO: checking for strtof declaration" >&5
51720 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
51721 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51722 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
51723 echo $ECHO_N "(cached) $ECHO_C" >&6
51724 else
51728 ac_ext=cc
51729 ac_cpp='$CXXCPP $CPPFLAGS'
51730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51734 cat >conftest.$ac_ext <<_ACEOF
51735 /* confdefs.h. */
51736 _ACEOF
51737 cat confdefs.h >>conftest.$ac_ext
51738 cat >>conftest.$ac_ext <<_ACEOF
51739 /* end confdefs.h. */
51740 #include <stdlib.h>
51742 main ()
51744 strtof(0, 0);
51746 return 0;
51748 _ACEOF
51749 rm -f conftest.$ac_objext
51750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51751 (eval $ac_compile) 2>conftest.er1
51752 ac_status=$?
51753 grep -v '^ *+' conftest.er1 >conftest.err
51754 rm -f conftest.er1
51755 cat conftest.err >&5
51756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51757 (exit $ac_status); } &&
51758 { ac_try='test -z "$ac_cxx_werror_flag"
51759 || test ! -s conftest.err'
51760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51761 (eval $ac_try) 2>&5
51762 ac_status=$?
51763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51764 (exit $ac_status); }; } &&
51765 { ac_try='test -s conftest.$ac_objext'
51766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51767 (eval $ac_try) 2>&5
51768 ac_status=$?
51769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51770 (exit $ac_status); }; }; then
51771 glibcxx_cv_func_strtof_use=yes
51772 else
51773 echo "$as_me: failed program was:" >&5
51774 sed 's/^/| /' conftest.$ac_ext >&5
51776 glibcxx_cv_func_strtof_use=no
51778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51779 ac_ext=c
51780 ac_cpp='$CPP $CPPFLAGS'
51781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51789 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
51790 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
51791 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51793 for ac_func in strtof
51795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51796 echo "$as_me:$LINENO: checking for $ac_func" >&5
51797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51798 if eval "test \"\${$as_ac_var+set}\" = set"; then
51799 echo $ECHO_N "(cached) $ECHO_C" >&6
51800 else
51801 if test x$gcc_no_link = xyes; then
51802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51804 { (exit 1); exit 1; }; }
51806 cat >conftest.$ac_ext <<_ACEOF
51807 /* confdefs.h. */
51808 _ACEOF
51809 cat confdefs.h >>conftest.$ac_ext
51810 cat >>conftest.$ac_ext <<_ACEOF
51811 /* end confdefs.h. */
51812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51814 #define $ac_func innocuous_$ac_func
51816 /* System header to define __stub macros and hopefully few prototypes,
51817 which can conflict with char $ac_func (); below.
51818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51819 <limits.h> exists even on freestanding compilers. */
51821 #ifdef __STDC__
51822 # include <limits.h>
51823 #else
51824 # include <assert.h>
51825 #endif
51827 #undef $ac_func
51829 /* Override any gcc2 internal prototype to avoid an error. */
51830 #ifdef __cplusplus
51831 extern "C"
51833 #endif
51834 /* We use char because int might match the return type of a gcc2
51835 builtin and then its argument prototype would still apply. */
51836 char $ac_func ();
51837 /* The GNU C library defines this for functions which it implements
51838 to always fail with ENOSYS. Some functions are actually named
51839 something starting with __ and the normal name is an alias. */
51840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51841 choke me
51842 #else
51843 char (*f) () = $ac_func;
51844 #endif
51845 #ifdef __cplusplus
51847 #endif
51850 main ()
51852 return f != $ac_func;
51854 return 0;
51856 _ACEOF
51857 rm -f conftest.$ac_objext conftest$ac_exeext
51858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51859 (eval $ac_link) 2>conftest.er1
51860 ac_status=$?
51861 grep -v '^ *+' conftest.er1 >conftest.err
51862 rm -f conftest.er1
51863 cat conftest.err >&5
51864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51865 (exit $ac_status); } &&
51866 { ac_try='test -z "$ac_c_werror_flag"
51867 || test ! -s conftest.err'
51868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51869 (eval $ac_try) 2>&5
51870 ac_status=$?
51871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51872 (exit $ac_status); }; } &&
51873 { ac_try='test -s conftest$ac_exeext'
51874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51875 (eval $ac_try) 2>&5
51876 ac_status=$?
51877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51878 (exit $ac_status); }; }; then
51879 eval "$as_ac_var=yes"
51880 else
51881 echo "$as_me: failed program was:" >&5
51882 sed 's/^/| /' conftest.$ac_ext >&5
51884 eval "$as_ac_var=no"
51886 rm -f conftest.err conftest.$ac_objext \
51887 conftest$ac_exeext conftest.$ac_ext
51889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51891 if test `eval echo '${'$as_ac_var'}'` = yes; then
51892 cat >>confdefs.h <<_ACEOF
51893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51894 _ACEOF
51897 done
51905 CXXFLAGS="$ac_save_CXXFLAGS"
51908 # For showmanyc_helper().
51911 for ac_header in sys/ioctl.h sys/filio.h
51913 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51914 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51915 echo "$as_me:$LINENO: checking for $ac_header" >&5
51916 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51917 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51918 echo $ECHO_N "(cached) $ECHO_C" >&6
51920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51921 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51922 else
51923 # Is the header compilable?
51924 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51925 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51926 cat >conftest.$ac_ext <<_ACEOF
51927 /* confdefs.h. */
51928 _ACEOF
51929 cat confdefs.h >>conftest.$ac_ext
51930 cat >>conftest.$ac_ext <<_ACEOF
51931 /* end confdefs.h. */
51932 $ac_includes_default
51933 #include <$ac_header>
51934 _ACEOF
51935 rm -f conftest.$ac_objext
51936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51937 (eval $ac_compile) 2>conftest.er1
51938 ac_status=$?
51939 grep -v '^ *+' conftest.er1 >conftest.err
51940 rm -f conftest.er1
51941 cat conftest.err >&5
51942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51943 (exit $ac_status); } &&
51944 { ac_try='test -z "$ac_c_werror_flag"
51945 || test ! -s conftest.err'
51946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51947 (eval $ac_try) 2>&5
51948 ac_status=$?
51949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51950 (exit $ac_status); }; } &&
51951 { ac_try='test -s conftest.$ac_objext'
51952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51953 (eval $ac_try) 2>&5
51954 ac_status=$?
51955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51956 (exit $ac_status); }; }; then
51957 ac_header_compiler=yes
51958 else
51959 echo "$as_me: failed program was:" >&5
51960 sed 's/^/| /' conftest.$ac_ext >&5
51962 ac_header_compiler=no
51964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51965 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51966 echo "${ECHO_T}$ac_header_compiler" >&6
51968 # Is the header present?
51969 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51970 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51971 cat >conftest.$ac_ext <<_ACEOF
51972 /* confdefs.h. */
51973 _ACEOF
51974 cat confdefs.h >>conftest.$ac_ext
51975 cat >>conftest.$ac_ext <<_ACEOF
51976 /* end confdefs.h. */
51977 #include <$ac_header>
51978 _ACEOF
51979 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51980 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51981 ac_status=$?
51982 grep -v '^ *+' conftest.er1 >conftest.err
51983 rm -f conftest.er1
51984 cat conftest.err >&5
51985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51986 (exit $ac_status); } >/dev/null; then
51987 if test -s conftest.err; then
51988 ac_cpp_err=$ac_c_preproc_warn_flag
51989 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51990 else
51991 ac_cpp_err=
51993 else
51994 ac_cpp_err=yes
51996 if test -z "$ac_cpp_err"; then
51997 ac_header_preproc=yes
51998 else
51999 echo "$as_me: failed program was:" >&5
52000 sed 's/^/| /' conftest.$ac_ext >&5
52002 ac_header_preproc=no
52004 rm -f conftest.err conftest.$ac_ext
52005 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52006 echo "${ECHO_T}$ac_header_preproc" >&6
52008 # So? What about this header?
52009 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52010 yes:no: )
52011 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52012 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52013 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52014 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52015 ac_header_preproc=yes
52017 no:yes:* )
52018 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52019 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52020 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52021 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52022 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52023 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52024 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52025 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52026 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52027 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52028 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52029 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52031 cat <<\_ASBOX
52032 ## ----------------------------------------- ##
52033 ## Report this to the package-unused lists. ##
52034 ## ----------------------------------------- ##
52035 _ASBOX
52037 sed "s/^/$as_me: WARNING: /" >&2
52039 esac
52040 echo "$as_me:$LINENO: checking for $ac_header" >&5
52041 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52042 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52043 echo $ECHO_N "(cached) $ECHO_C" >&6
52044 else
52045 eval "$as_ac_Header=\$ac_header_preproc"
52047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52048 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52051 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52052 cat >>confdefs.h <<_ACEOF
52053 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52054 _ACEOF
52058 done
52061 if test "${glibcxx_cv_POLL+set}" = set; then
52062 echo $ECHO_N "(cached) $ECHO_C" >&6
52063 else
52065 if test x$gcc_no_link = xyes; then
52066 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52068 { (exit 1); exit 1; }; }
52070 cat >conftest.$ac_ext <<_ACEOF
52071 /* confdefs.h. */
52072 _ACEOF
52073 cat confdefs.h >>conftest.$ac_ext
52074 cat >>conftest.$ac_ext <<_ACEOF
52075 /* end confdefs.h. */
52076 #include <poll.h>
52078 main ()
52080 struct pollfd pfd[1];
52081 pfd[0].events = POLLIN;
52082 poll(pfd, 1, 0);
52084 return 0;
52086 _ACEOF
52087 rm -f conftest.$ac_objext conftest$ac_exeext
52088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52089 (eval $ac_link) 2>conftest.er1
52090 ac_status=$?
52091 grep -v '^ *+' conftest.er1 >conftest.err
52092 rm -f conftest.er1
52093 cat conftest.err >&5
52094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52095 (exit $ac_status); } &&
52096 { ac_try='test -z "$ac_c_werror_flag"
52097 || test ! -s conftest.err'
52098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52099 (eval $ac_try) 2>&5
52100 ac_status=$?
52101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52102 (exit $ac_status); }; } &&
52103 { ac_try='test -s conftest$ac_exeext'
52104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52105 (eval $ac_try) 2>&5
52106 ac_status=$?
52107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52108 (exit $ac_status); }; }; then
52109 glibcxx_cv_POLL=yes
52110 else
52111 echo "$as_me: failed program was:" >&5
52112 sed 's/^/| /' conftest.$ac_ext >&5
52114 glibcxx_cv_POLL=no
52116 rm -f conftest.err conftest.$ac_objext \
52117 conftest$ac_exeext conftest.$ac_ext
52121 if test $glibcxx_cv_POLL = yes; then
52123 cat >>confdefs.h <<\_ACEOF
52124 #define HAVE_POLL 1
52125 _ACEOF
52130 if test "${glibcxx_cv_S_ISREG+set}" = set; then
52131 echo $ECHO_N "(cached) $ECHO_C" >&6
52132 else
52134 if test x$gcc_no_link = xyes; then
52135 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52137 { (exit 1); exit 1; }; }
52139 cat >conftest.$ac_ext <<_ACEOF
52140 /* confdefs.h. */
52141 _ACEOF
52142 cat confdefs.h >>conftest.$ac_ext
52143 cat >>conftest.$ac_ext <<_ACEOF
52144 /* end confdefs.h. */
52145 #include <sys/stat.h>
52147 main ()
52149 struct stat buffer;
52150 fstat(0, &buffer);
52151 S_ISREG(buffer.st_mode);
52153 return 0;
52155 _ACEOF
52156 rm -f conftest.$ac_objext conftest$ac_exeext
52157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52158 (eval $ac_link) 2>conftest.er1
52159 ac_status=$?
52160 grep -v '^ *+' conftest.er1 >conftest.err
52161 rm -f conftest.er1
52162 cat conftest.err >&5
52163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52164 (exit $ac_status); } &&
52165 { ac_try='test -z "$ac_c_werror_flag"
52166 || test ! -s conftest.err'
52167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52168 (eval $ac_try) 2>&5
52169 ac_status=$?
52170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52171 (exit $ac_status); }; } &&
52172 { ac_try='test -s conftest$ac_exeext'
52173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52174 (eval $ac_try) 2>&5
52175 ac_status=$?
52176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52177 (exit $ac_status); }; }; then
52178 glibcxx_cv_S_ISREG=yes
52179 else
52180 echo "$as_me: failed program was:" >&5
52181 sed 's/^/| /' conftest.$ac_ext >&5
52183 glibcxx_cv_S_ISREG=no
52185 rm -f conftest.err conftest.$ac_objext \
52186 conftest$ac_exeext conftest.$ac_ext
52190 if test "${glibcxx_cv_S_IFREG+set}" = set; then
52191 echo $ECHO_N "(cached) $ECHO_C" >&6
52192 else
52194 if test x$gcc_no_link = xyes; then
52195 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52197 { (exit 1); exit 1; }; }
52199 cat >conftest.$ac_ext <<_ACEOF
52200 /* confdefs.h. */
52201 _ACEOF
52202 cat confdefs.h >>conftest.$ac_ext
52203 cat >>conftest.$ac_ext <<_ACEOF
52204 /* end confdefs.h. */
52205 #include <sys/stat.h>
52207 main ()
52209 struct stat buffer;
52210 fstat(0, &buffer);
52211 S_IFREG & buffer.st_mode;
52213 return 0;
52215 _ACEOF
52216 rm -f conftest.$ac_objext conftest$ac_exeext
52217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52218 (eval $ac_link) 2>conftest.er1
52219 ac_status=$?
52220 grep -v '^ *+' conftest.er1 >conftest.err
52221 rm -f conftest.er1
52222 cat conftest.err >&5
52223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52224 (exit $ac_status); } &&
52225 { ac_try='test -z "$ac_c_werror_flag"
52226 || test ! -s conftest.err'
52227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52228 (eval $ac_try) 2>&5
52229 ac_status=$?
52230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52231 (exit $ac_status); }; } &&
52232 { ac_try='test -s conftest$ac_exeext'
52233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52234 (eval $ac_try) 2>&5
52235 ac_status=$?
52236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52237 (exit $ac_status); }; }; then
52238 glibcxx_cv_S_IFREG=yes
52239 else
52240 echo "$as_me: failed program was:" >&5
52241 sed 's/^/| /' conftest.$ac_ext >&5
52243 glibcxx_cv_S_IFREG=no
52245 rm -f conftest.err conftest.$ac_objext \
52246 conftest$ac_exeext conftest.$ac_ext
52250 if test $glibcxx_cv_S_ISREG = yes; then
52252 cat >>confdefs.h <<\_ACEOF
52253 #define HAVE_S_ISREG 1
52254 _ACEOF
52256 elif test $glibcxx_cv_S_IFREG = yes; then
52258 cat >>confdefs.h <<\_ACEOF
52259 #define HAVE_S_IFREG 1
52260 _ACEOF
52265 # For xsputn_2().
52267 for ac_header in sys/uio.h
52269 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52270 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52271 echo "$as_me:$LINENO: checking for $ac_header" >&5
52272 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52273 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52274 echo $ECHO_N "(cached) $ECHO_C" >&6
52276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52277 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52278 else
52279 # Is the header compilable?
52280 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52281 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52282 cat >conftest.$ac_ext <<_ACEOF
52283 /* confdefs.h. */
52284 _ACEOF
52285 cat confdefs.h >>conftest.$ac_ext
52286 cat >>conftest.$ac_ext <<_ACEOF
52287 /* end confdefs.h. */
52288 $ac_includes_default
52289 #include <$ac_header>
52290 _ACEOF
52291 rm -f conftest.$ac_objext
52292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52293 (eval $ac_compile) 2>conftest.er1
52294 ac_status=$?
52295 grep -v '^ *+' conftest.er1 >conftest.err
52296 rm -f conftest.er1
52297 cat conftest.err >&5
52298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52299 (exit $ac_status); } &&
52300 { ac_try='test -z "$ac_c_werror_flag"
52301 || test ! -s conftest.err'
52302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52303 (eval $ac_try) 2>&5
52304 ac_status=$?
52305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52306 (exit $ac_status); }; } &&
52307 { ac_try='test -s conftest.$ac_objext'
52308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52309 (eval $ac_try) 2>&5
52310 ac_status=$?
52311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52312 (exit $ac_status); }; }; then
52313 ac_header_compiler=yes
52314 else
52315 echo "$as_me: failed program was:" >&5
52316 sed 's/^/| /' conftest.$ac_ext >&5
52318 ac_header_compiler=no
52320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52321 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52322 echo "${ECHO_T}$ac_header_compiler" >&6
52324 # Is the header present?
52325 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52326 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52327 cat >conftest.$ac_ext <<_ACEOF
52328 /* confdefs.h. */
52329 _ACEOF
52330 cat confdefs.h >>conftest.$ac_ext
52331 cat >>conftest.$ac_ext <<_ACEOF
52332 /* end confdefs.h. */
52333 #include <$ac_header>
52334 _ACEOF
52335 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52336 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52337 ac_status=$?
52338 grep -v '^ *+' conftest.er1 >conftest.err
52339 rm -f conftest.er1
52340 cat conftest.err >&5
52341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52342 (exit $ac_status); } >/dev/null; then
52343 if test -s conftest.err; then
52344 ac_cpp_err=$ac_c_preproc_warn_flag
52345 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52346 else
52347 ac_cpp_err=
52349 else
52350 ac_cpp_err=yes
52352 if test -z "$ac_cpp_err"; then
52353 ac_header_preproc=yes
52354 else
52355 echo "$as_me: failed program was:" >&5
52356 sed 's/^/| /' conftest.$ac_ext >&5
52358 ac_header_preproc=no
52360 rm -f conftest.err conftest.$ac_ext
52361 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52362 echo "${ECHO_T}$ac_header_preproc" >&6
52364 # So? What about this header?
52365 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52366 yes:no: )
52367 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52368 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52369 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52370 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52371 ac_header_preproc=yes
52373 no:yes:* )
52374 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52375 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52376 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52377 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52378 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52379 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52380 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52381 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52382 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52383 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52384 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52385 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52387 cat <<\_ASBOX
52388 ## ----------------------------------------- ##
52389 ## Report this to the package-unused lists. ##
52390 ## ----------------------------------------- ##
52391 _ASBOX
52393 sed "s/^/$as_me: WARNING: /" >&2
52395 esac
52396 echo "$as_me:$LINENO: checking for $ac_header" >&5
52397 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52398 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52399 echo $ECHO_N "(cached) $ECHO_C" >&6
52400 else
52401 eval "$as_ac_Header=\$ac_header_preproc"
52403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52404 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52407 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52408 cat >>confdefs.h <<_ACEOF
52409 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52410 _ACEOF
52414 done
52417 if test "${glibcxx_cv_WRITEV+set}" = set; then
52418 echo $ECHO_N "(cached) $ECHO_C" >&6
52419 else
52421 if test x$gcc_no_link = xyes; then
52422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52424 { (exit 1); exit 1; }; }
52426 cat >conftest.$ac_ext <<_ACEOF
52427 /* confdefs.h. */
52428 _ACEOF
52429 cat confdefs.h >>conftest.$ac_ext
52430 cat >>conftest.$ac_ext <<_ACEOF
52431 /* end confdefs.h. */
52432 #include <sys/uio.h>
52434 main ()
52436 struct iovec iov[2];
52437 writev(0, iov, 0);
52439 return 0;
52441 _ACEOF
52442 rm -f conftest.$ac_objext conftest$ac_exeext
52443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52444 (eval $ac_link) 2>conftest.er1
52445 ac_status=$?
52446 grep -v '^ *+' conftest.er1 >conftest.err
52447 rm -f conftest.er1
52448 cat conftest.err >&5
52449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52450 (exit $ac_status); } &&
52451 { ac_try='test -z "$ac_c_werror_flag"
52452 || test ! -s conftest.err'
52453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52454 (eval $ac_try) 2>&5
52455 ac_status=$?
52456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52457 (exit $ac_status); }; } &&
52458 { ac_try='test -s conftest$ac_exeext'
52459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52460 (eval $ac_try) 2>&5
52461 ac_status=$?
52462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52463 (exit $ac_status); }; }; then
52464 glibcxx_cv_WRITEV=yes
52465 else
52466 echo "$as_me: failed program was:" >&5
52467 sed 's/^/| /' conftest.$ac_ext >&5
52469 glibcxx_cv_WRITEV=no
52471 rm -f conftest.err conftest.$ac_objext \
52472 conftest$ac_exeext conftest.$ac_ext
52476 if test $glibcxx_cv_WRITEV = yes; then
52478 cat >>confdefs.h <<\_ACEOF
52479 #define HAVE_WRITEV 1
52480 _ACEOF
52485 cat >>confdefs.h <<\_ACEOF
52486 #define HAVE_LC_MESSAGES 1
52487 _ACEOF
52490 cat >conftest.$ac_ext <<_ACEOF
52491 /* confdefs.h. */
52492 _ACEOF
52493 cat confdefs.h >>conftest.$ac_ext
52494 cat >>conftest.$ac_ext <<_ACEOF
52495 /* end confdefs.h. */
52496 #include <setjmp.h>
52498 main ()
52500 sigjmp_buf env;
52501 while (! sigsetjmp (env, 1))
52502 siglongjmp (env, 1);
52505 return 0;
52507 _ACEOF
52508 rm -f conftest.$ac_objext
52509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52510 (eval $ac_compile) 2>conftest.er1
52511 ac_status=$?
52512 grep -v '^ *+' conftest.er1 >conftest.err
52513 rm -f conftest.er1
52514 cat conftest.err >&5
52515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52516 (exit $ac_status); } &&
52517 { ac_try='test -z "$ac_c_werror_flag"
52518 || test ! -s conftest.err'
52519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52520 (eval $ac_try) 2>&5
52521 ac_status=$?
52522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52523 (exit $ac_status); }; } &&
52524 { ac_try='test -s conftest.$ac_objext'
52525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52526 (eval $ac_try) 2>&5
52527 ac_status=$?
52528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52529 (exit $ac_status); }; }; then
52531 cat >>confdefs.h <<\_ACEOF
52532 #define HAVE_SIGSETJMP 1
52533 _ACEOF
52535 else
52536 echo "$as_me: failed program was:" >&5
52537 sed 's/^/| /' conftest.$ac_ext >&5
52540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52542 cat >>confdefs.h <<\_ACEOF
52543 #define HAVE_MMAP 1
52544 _ACEOF
52548 *djgpp)
52569 for ac_header in float.h ieeefp.h inttypes.h locale.h \
52570 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
52571 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
52572 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
52574 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52575 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52576 echo "$as_me:$LINENO: checking for $ac_header" >&5
52577 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52578 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52579 echo $ECHO_N "(cached) $ECHO_C" >&6
52581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52582 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52583 else
52584 # Is the header compilable?
52585 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52586 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52587 cat >conftest.$ac_ext <<_ACEOF
52588 /* confdefs.h. */
52589 _ACEOF
52590 cat confdefs.h >>conftest.$ac_ext
52591 cat >>conftest.$ac_ext <<_ACEOF
52592 /* end confdefs.h. */
52593 $ac_includes_default
52594 #include <$ac_header>
52595 _ACEOF
52596 rm -f conftest.$ac_objext
52597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52598 (eval $ac_compile) 2>conftest.er1
52599 ac_status=$?
52600 grep -v '^ *+' conftest.er1 >conftest.err
52601 rm -f conftest.er1
52602 cat conftest.err >&5
52603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52604 (exit $ac_status); } &&
52605 { ac_try='test -z "$ac_c_werror_flag"
52606 || test ! -s conftest.err'
52607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52608 (eval $ac_try) 2>&5
52609 ac_status=$?
52610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52611 (exit $ac_status); }; } &&
52612 { ac_try='test -s conftest.$ac_objext'
52613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52614 (eval $ac_try) 2>&5
52615 ac_status=$?
52616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52617 (exit $ac_status); }; }; then
52618 ac_header_compiler=yes
52619 else
52620 echo "$as_me: failed program was:" >&5
52621 sed 's/^/| /' conftest.$ac_ext >&5
52623 ac_header_compiler=no
52625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52626 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52627 echo "${ECHO_T}$ac_header_compiler" >&6
52629 # Is the header present?
52630 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52631 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52632 cat >conftest.$ac_ext <<_ACEOF
52633 /* confdefs.h. */
52634 _ACEOF
52635 cat confdefs.h >>conftest.$ac_ext
52636 cat >>conftest.$ac_ext <<_ACEOF
52637 /* end confdefs.h. */
52638 #include <$ac_header>
52639 _ACEOF
52640 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52641 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52642 ac_status=$?
52643 grep -v '^ *+' conftest.er1 >conftest.err
52644 rm -f conftest.er1
52645 cat conftest.err >&5
52646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52647 (exit $ac_status); } >/dev/null; then
52648 if test -s conftest.err; then
52649 ac_cpp_err=$ac_c_preproc_warn_flag
52650 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52651 else
52652 ac_cpp_err=
52654 else
52655 ac_cpp_err=yes
52657 if test -z "$ac_cpp_err"; then
52658 ac_header_preproc=yes
52659 else
52660 echo "$as_me: failed program was:" >&5
52661 sed 's/^/| /' conftest.$ac_ext >&5
52663 ac_header_preproc=no
52665 rm -f conftest.err conftest.$ac_ext
52666 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52667 echo "${ECHO_T}$ac_header_preproc" >&6
52669 # So? What about this header?
52670 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52671 yes:no: )
52672 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52673 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52674 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52675 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52676 ac_header_preproc=yes
52678 no:yes:* )
52679 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52680 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52681 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52682 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52683 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52684 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52685 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52686 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52687 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52688 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52689 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52690 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52692 cat <<\_ASBOX
52693 ## ----------------------------------------- ##
52694 ## Report this to the package-unused lists. ##
52695 ## ----------------------------------------- ##
52696 _ASBOX
52698 sed "s/^/$as_me: WARNING: /" >&2
52700 esac
52701 echo "$as_me:$LINENO: checking for $ac_header" >&5
52702 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52703 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52704 echo $ECHO_N "(cached) $ECHO_C" >&6
52705 else
52706 eval "$as_ac_Header=\$ac_header_preproc"
52708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52709 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52712 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52713 cat >>confdefs.h <<_ACEOF
52714 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52715 _ACEOF
52719 done
52722 # All these tests are for C++; save the language and the compiler flags.
52723 # The CXXFLAGS thing is suspicious, but based on similar bits previously
52724 # found in GLIBCXX_CONFIGURE.
52727 ac_ext=cc
52728 ac_cpp='$CXXCPP $CPPFLAGS'
52729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52733 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52734 ac_save_CXXFLAGS="$CXXFLAGS"
52736 # Check for maintainer-mode bits.
52737 if test x"$USE_MAINTAINER_MODE" = xno; then
52738 WERROR=''
52739 else
52740 WERROR='-Werror'
52743 # Check for -ffunction-sections -fdata-sections
52744 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
52745 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
52746 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
52747 cat >conftest.$ac_ext <<_ACEOF
52748 /* confdefs.h. */
52749 _ACEOF
52750 cat confdefs.h >>conftest.$ac_ext
52751 cat >>conftest.$ac_ext <<_ACEOF
52752 /* end confdefs.h. */
52755 main ()
52757 int foo;
52759 return 0;
52761 _ACEOF
52762 rm -f conftest.$ac_objext
52763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52764 (eval $ac_compile) 2>conftest.er1
52765 ac_status=$?
52766 grep -v '^ *+' conftest.er1 >conftest.err
52767 rm -f conftest.er1
52768 cat conftest.err >&5
52769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52770 (exit $ac_status); } &&
52771 { ac_try='test -z "$ac_cxx_werror_flag"
52772 || test ! -s conftest.err'
52773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52774 (eval $ac_try) 2>&5
52775 ac_status=$?
52776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52777 (exit $ac_status); }; } &&
52778 { ac_try='test -s conftest.$ac_objext'
52779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52780 (eval $ac_try) 2>&5
52781 ac_status=$?
52782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52783 (exit $ac_status); }; }; then
52784 ac_fdsections=yes
52785 else
52786 echo "$as_me: failed program was:" >&5
52787 sed 's/^/| /' conftest.$ac_ext >&5
52789 ac_fdsections=no
52791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52792 if test "$ac_test_CXXFLAGS" = set; then
52793 CXXFLAGS="$ac_save_CXXFLAGS"
52794 else
52795 # this is the suspicious part
52796 CXXFLAGS=''
52798 if test x"$ac_fdsections" = x"yes"; then
52799 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52801 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
52802 echo "${ECHO_T}$ac_fdsections" >&6
52804 ac_ext=c
52805 ac_cpp='$CPP $CPPFLAGS'
52806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52814 # If we're not using GNU ld, then there's no point in even trying these
52815 # tests. Check for that first. We should have already tested for gld
52816 # by now (in libtool), but require it now just to be safe...
52817 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52818 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52822 # The name set by libtool depends on the version of libtool. Shame on us
52823 # for depending on an impl detail, but c'est la vie. Older versions used
52824 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52825 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52826 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52827 # set (hence we're using an older libtool), then set it.
52828 if test x${with_gnu_ld+set} != xset; then
52829 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52830 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52831 with_gnu_ld=no
52832 else
52833 with_gnu_ld=$ac_cv_prog_gnu_ld
52837 # Start by getting the version number. I think the libtool test already
52838 # does some of this, but throws away the result.
52840 ldver=`$LD --version 2>/dev/null | head -1 | \
52841 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
52843 glibcxx_gnu_ld_version=`echo $ldver | \
52844 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52846 # Set --gc-sections.
52847 if test "$with_gnu_ld" = "notbroken"; then
52848 # GNU ld it is! Joy and bunny rabbits!
52850 # All these tests are for C++; save the language and the compiler flags.
52851 # Need to do this so that g++ won't try to link in libstdc++
52852 ac_test_CFLAGS="${CFLAGS+set}"
52853 ac_save_CFLAGS="$CFLAGS"
52854 CFLAGS='-x c++ -Wl,--gc-sections'
52856 # Check for -Wl,--gc-sections
52857 # XXX This test is broken at the moment, as symbols required for linking
52858 # are now in libsupc++ (not built yet). In addition, this test has
52859 # cored on solaris in the past. In addition, --gc-sections doesn't
52860 # really work at the moment (keeps on discarding used sections, first
52861 # .eh_frame and now some of the glibc sections for iconv).
52862 # Bzzzzt. Thanks for playing, maybe next time.
52863 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
52864 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
52865 if test "$cross_compiling" = yes; then
52866 ac_sectionLDflags=yes
52867 else
52868 cat >conftest.$ac_ext <<_ACEOF
52869 /* confdefs.h. */
52870 _ACEOF
52871 cat confdefs.h >>conftest.$ac_ext
52872 cat >>conftest.$ac_ext <<_ACEOF
52873 /* end confdefs.h. */
52875 int main(void)
52877 try { throw 1; }
52878 catch (...) { };
52879 return 0;
52882 _ACEOF
52883 rm -f conftest$ac_exeext
52884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52885 (eval $ac_link) 2>&5
52886 ac_status=$?
52887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52888 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
52889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52890 (eval $ac_try) 2>&5
52891 ac_status=$?
52892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52893 (exit $ac_status); }; }; then
52894 ac_sectionLDflags=yes
52895 else
52896 echo "$as_me: program exited with status $ac_status" >&5
52897 echo "$as_me: failed program was:" >&5
52898 sed 's/^/| /' conftest.$ac_ext >&5
52900 ( exit $ac_status )
52901 ac_sectionLDflags=no
52903 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
52905 if test "$ac_test_CFLAGS" = set; then
52906 CFLAGS="$ac_save_CFLAGS"
52907 else
52908 # this is the suspicious part
52909 CFLAGS=''
52911 if test "$ac_sectionLDflags" = "yes"; then
52912 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52914 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
52915 echo "${ECHO_T}$ac_sectionLDflags" >&6
52918 # Set linker optimization flags.
52919 if test x"$with_gnu_ld" = x"yes"; then
52920 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52927 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52928 ac_save_CXXFLAGS="$CXXFLAGS"
52929 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52931 echo "$as_me:$LINENO: checking for sin in -lm" >&5
52932 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
52933 if test "${ac_cv_lib_m_sin+set}" = set; then
52934 echo $ECHO_N "(cached) $ECHO_C" >&6
52935 else
52936 ac_check_lib_save_LIBS=$LIBS
52937 LIBS="-lm $LIBS"
52938 if test x$gcc_no_link = xyes; then
52939 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52941 { (exit 1); exit 1; }; }
52943 cat >conftest.$ac_ext <<_ACEOF
52944 /* confdefs.h. */
52945 _ACEOF
52946 cat confdefs.h >>conftest.$ac_ext
52947 cat >>conftest.$ac_ext <<_ACEOF
52948 /* end confdefs.h. */
52950 /* Override any gcc2 internal prototype to avoid an error. */
52951 #ifdef __cplusplus
52952 extern "C"
52953 #endif
52954 /* We use char because int might match the return type of a gcc2
52955 builtin and then its argument prototype would still apply. */
52956 char sin ();
52958 main ()
52960 sin ();
52962 return 0;
52964 _ACEOF
52965 rm -f conftest.$ac_objext conftest$ac_exeext
52966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52967 (eval $ac_link) 2>conftest.er1
52968 ac_status=$?
52969 grep -v '^ *+' conftest.er1 >conftest.err
52970 rm -f conftest.er1
52971 cat conftest.err >&5
52972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52973 (exit $ac_status); } &&
52974 { ac_try='test -z "$ac_c_werror_flag"
52975 || test ! -s conftest.err'
52976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52977 (eval $ac_try) 2>&5
52978 ac_status=$?
52979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52980 (exit $ac_status); }; } &&
52981 { ac_try='test -s conftest$ac_exeext'
52982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52983 (eval $ac_try) 2>&5
52984 ac_status=$?
52985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52986 (exit $ac_status); }; }; then
52987 ac_cv_lib_m_sin=yes
52988 else
52989 echo "$as_me: failed program was:" >&5
52990 sed 's/^/| /' conftest.$ac_ext >&5
52992 ac_cv_lib_m_sin=no
52994 rm -f conftest.err conftest.$ac_objext \
52995 conftest$ac_exeext conftest.$ac_ext
52996 LIBS=$ac_check_lib_save_LIBS
52998 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
52999 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
53000 if test $ac_cv_lib_m_sin = yes; then
53001 libm="-lm"
53004 ac_save_LIBS="$LIBS"
53005 LIBS="$LIBS $libm"
53009 echo "$as_me:$LINENO: checking for isinf declaration" >&5
53010 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
53011 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
53012 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
53013 echo $ECHO_N "(cached) $ECHO_C" >&6
53014 else
53018 ac_ext=cc
53019 ac_cpp='$CXXCPP $CPPFLAGS'
53020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53024 cat >conftest.$ac_ext <<_ACEOF
53025 /* confdefs.h. */
53026 _ACEOF
53027 cat confdefs.h >>conftest.$ac_ext
53028 cat >>conftest.$ac_ext <<_ACEOF
53029 /* end confdefs.h. */
53030 #include <math.h>
53031 #ifdef HAVE_IEEEFP_H
53032 #include <ieeefp.h>
53033 #endif
53036 main ()
53038 isinf(0);
53040 return 0;
53042 _ACEOF
53043 rm -f conftest.$ac_objext
53044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53045 (eval $ac_compile) 2>conftest.er1
53046 ac_status=$?
53047 grep -v '^ *+' conftest.er1 >conftest.err
53048 rm -f conftest.er1
53049 cat conftest.err >&5
53050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53051 (exit $ac_status); } &&
53052 { ac_try='test -z "$ac_cxx_werror_flag"
53053 || test ! -s conftest.err'
53054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53055 (eval $ac_try) 2>&5
53056 ac_status=$?
53057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53058 (exit $ac_status); }; } &&
53059 { ac_try='test -s conftest.$ac_objext'
53060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53061 (eval $ac_try) 2>&5
53062 ac_status=$?
53063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53064 (exit $ac_status); }; }; then
53065 glibcxx_cv_func_isinf_use=yes
53066 else
53067 echo "$as_me: failed program was:" >&5
53068 sed 's/^/| /' conftest.$ac_ext >&5
53070 glibcxx_cv_func_isinf_use=no
53072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53073 ac_ext=c
53074 ac_cpp='$CPP $CPPFLAGS'
53075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53083 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
53084 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
53086 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
53088 for ac_func in isinf
53090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53091 echo "$as_me:$LINENO: checking for $ac_func" >&5
53092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53093 if eval "test \"\${$as_ac_var+set}\" = set"; then
53094 echo $ECHO_N "(cached) $ECHO_C" >&6
53095 else
53096 if test x$gcc_no_link = xyes; then
53097 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53099 { (exit 1); exit 1; }; }
53101 cat >conftest.$ac_ext <<_ACEOF
53102 /* confdefs.h. */
53103 _ACEOF
53104 cat confdefs.h >>conftest.$ac_ext
53105 cat >>conftest.$ac_ext <<_ACEOF
53106 /* end confdefs.h. */
53107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53109 #define $ac_func innocuous_$ac_func
53111 /* System header to define __stub macros and hopefully few prototypes,
53112 which can conflict with char $ac_func (); below.
53113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53114 <limits.h> exists even on freestanding compilers. */
53116 #ifdef __STDC__
53117 # include <limits.h>
53118 #else
53119 # include <assert.h>
53120 #endif
53122 #undef $ac_func
53124 /* Override any gcc2 internal prototype to avoid an error. */
53125 #ifdef __cplusplus
53126 extern "C"
53128 #endif
53129 /* We use char because int might match the return type of a gcc2
53130 builtin and then its argument prototype would still apply. */
53131 char $ac_func ();
53132 /* The GNU C library defines this for functions which it implements
53133 to always fail with ENOSYS. Some functions are actually named
53134 something starting with __ and the normal name is an alias. */
53135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53136 choke me
53137 #else
53138 char (*f) () = $ac_func;
53139 #endif
53140 #ifdef __cplusplus
53142 #endif
53145 main ()
53147 return f != $ac_func;
53149 return 0;
53151 _ACEOF
53152 rm -f conftest.$ac_objext conftest$ac_exeext
53153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53154 (eval $ac_link) 2>conftest.er1
53155 ac_status=$?
53156 grep -v '^ *+' conftest.er1 >conftest.err
53157 rm -f conftest.er1
53158 cat conftest.err >&5
53159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53160 (exit $ac_status); } &&
53161 { ac_try='test -z "$ac_c_werror_flag"
53162 || test ! -s conftest.err'
53163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53164 (eval $ac_try) 2>&5
53165 ac_status=$?
53166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53167 (exit $ac_status); }; } &&
53168 { ac_try='test -s conftest$ac_exeext'
53169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53170 (eval $ac_try) 2>&5
53171 ac_status=$?
53172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53173 (exit $ac_status); }; }; then
53174 eval "$as_ac_var=yes"
53175 else
53176 echo "$as_me: failed program was:" >&5
53177 sed 's/^/| /' conftest.$ac_ext >&5
53179 eval "$as_ac_var=no"
53181 rm -f conftest.err conftest.$ac_objext \
53182 conftest$ac_exeext conftest.$ac_ext
53184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53186 if test `eval echo '${'$as_ac_var'}'` = yes; then
53187 cat >>confdefs.h <<_ACEOF
53188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53189 _ACEOF
53192 done
53194 else
53196 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
53197 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
53198 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
53199 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
53200 echo $ECHO_N "(cached) $ECHO_C" >&6
53201 else
53205 ac_ext=cc
53206 ac_cpp='$CXXCPP $CPPFLAGS'
53207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53211 cat >conftest.$ac_ext <<_ACEOF
53212 /* confdefs.h. */
53213 _ACEOF
53214 cat confdefs.h >>conftest.$ac_ext
53215 cat >>conftest.$ac_ext <<_ACEOF
53216 /* end confdefs.h. */
53217 #include <math.h>
53218 #ifdef HAVE_IEEEFP_H
53219 #include <ieeefp.h>
53220 #endif
53223 main ()
53225 _isinf(0);
53227 return 0;
53229 _ACEOF
53230 rm -f conftest.$ac_objext
53231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53232 (eval $ac_compile) 2>conftest.er1
53233 ac_status=$?
53234 grep -v '^ *+' conftest.er1 >conftest.err
53235 rm -f conftest.er1
53236 cat conftest.err >&5
53237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53238 (exit $ac_status); } &&
53239 { ac_try='test -z "$ac_cxx_werror_flag"
53240 || test ! -s conftest.err'
53241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53242 (eval $ac_try) 2>&5
53243 ac_status=$?
53244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53245 (exit $ac_status); }; } &&
53246 { ac_try='test -s conftest.$ac_objext'
53247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53248 (eval $ac_try) 2>&5
53249 ac_status=$?
53250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53251 (exit $ac_status); }; }; then
53252 glibcxx_cv_func__isinf_use=yes
53253 else
53254 echo "$as_me: failed program was:" >&5
53255 sed 's/^/| /' conftest.$ac_ext >&5
53257 glibcxx_cv_func__isinf_use=no
53259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53260 ac_ext=c
53261 ac_cpp='$CPP $CPPFLAGS'
53262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53270 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
53271 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
53273 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
53275 for ac_func in _isinf
53277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53278 echo "$as_me:$LINENO: checking for $ac_func" >&5
53279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53280 if eval "test \"\${$as_ac_var+set}\" = set"; then
53281 echo $ECHO_N "(cached) $ECHO_C" >&6
53282 else
53283 if test x$gcc_no_link = xyes; then
53284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53286 { (exit 1); exit 1; }; }
53288 cat >conftest.$ac_ext <<_ACEOF
53289 /* confdefs.h. */
53290 _ACEOF
53291 cat confdefs.h >>conftest.$ac_ext
53292 cat >>conftest.$ac_ext <<_ACEOF
53293 /* end confdefs.h. */
53294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53296 #define $ac_func innocuous_$ac_func
53298 /* System header to define __stub macros and hopefully few prototypes,
53299 which can conflict with char $ac_func (); below.
53300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53301 <limits.h> exists even on freestanding compilers. */
53303 #ifdef __STDC__
53304 # include <limits.h>
53305 #else
53306 # include <assert.h>
53307 #endif
53309 #undef $ac_func
53311 /* Override any gcc2 internal prototype to avoid an error. */
53312 #ifdef __cplusplus
53313 extern "C"
53315 #endif
53316 /* We use char because int might match the return type of a gcc2
53317 builtin and then its argument prototype would still apply. */
53318 char $ac_func ();
53319 /* The GNU C library defines this for functions which it implements
53320 to always fail with ENOSYS. Some functions are actually named
53321 something starting with __ and the normal name is an alias. */
53322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53323 choke me
53324 #else
53325 char (*f) () = $ac_func;
53326 #endif
53327 #ifdef __cplusplus
53329 #endif
53332 main ()
53334 return f != $ac_func;
53336 return 0;
53338 _ACEOF
53339 rm -f conftest.$ac_objext conftest$ac_exeext
53340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53341 (eval $ac_link) 2>conftest.er1
53342 ac_status=$?
53343 grep -v '^ *+' conftest.er1 >conftest.err
53344 rm -f conftest.er1
53345 cat conftest.err >&5
53346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53347 (exit $ac_status); } &&
53348 { ac_try='test -z "$ac_c_werror_flag"
53349 || test ! -s conftest.err'
53350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53351 (eval $ac_try) 2>&5
53352 ac_status=$?
53353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53354 (exit $ac_status); }; } &&
53355 { ac_try='test -s conftest$ac_exeext'
53356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53357 (eval $ac_try) 2>&5
53358 ac_status=$?
53359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53360 (exit $ac_status); }; }; then
53361 eval "$as_ac_var=yes"
53362 else
53363 echo "$as_me: failed program was:" >&5
53364 sed 's/^/| /' conftest.$ac_ext >&5
53366 eval "$as_ac_var=no"
53368 rm -f conftest.err conftest.$ac_objext \
53369 conftest$ac_exeext conftest.$ac_ext
53371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53373 if test `eval echo '${'$as_ac_var'}'` = yes; then
53374 cat >>confdefs.h <<_ACEOF
53375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53376 _ACEOF
53379 done
53389 echo "$as_me:$LINENO: checking for isnan declaration" >&5
53390 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
53391 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
53392 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
53393 echo $ECHO_N "(cached) $ECHO_C" >&6
53394 else
53398 ac_ext=cc
53399 ac_cpp='$CXXCPP $CPPFLAGS'
53400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53404 cat >conftest.$ac_ext <<_ACEOF
53405 /* confdefs.h. */
53406 _ACEOF
53407 cat confdefs.h >>conftest.$ac_ext
53408 cat >>conftest.$ac_ext <<_ACEOF
53409 /* end confdefs.h. */
53410 #include <math.h>
53411 #ifdef HAVE_IEEEFP_H
53412 #include <ieeefp.h>
53413 #endif
53416 main ()
53418 isnan(0);
53420 return 0;
53422 _ACEOF
53423 rm -f conftest.$ac_objext
53424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53425 (eval $ac_compile) 2>conftest.er1
53426 ac_status=$?
53427 grep -v '^ *+' conftest.er1 >conftest.err
53428 rm -f conftest.er1
53429 cat conftest.err >&5
53430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53431 (exit $ac_status); } &&
53432 { ac_try='test -z "$ac_cxx_werror_flag"
53433 || test ! -s conftest.err'
53434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53435 (eval $ac_try) 2>&5
53436 ac_status=$?
53437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53438 (exit $ac_status); }; } &&
53439 { ac_try='test -s conftest.$ac_objext'
53440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53441 (eval $ac_try) 2>&5
53442 ac_status=$?
53443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53444 (exit $ac_status); }; }; then
53445 glibcxx_cv_func_isnan_use=yes
53446 else
53447 echo "$as_me: failed program was:" >&5
53448 sed 's/^/| /' conftest.$ac_ext >&5
53450 glibcxx_cv_func_isnan_use=no
53452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53453 ac_ext=c
53454 ac_cpp='$CPP $CPPFLAGS'
53455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53463 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
53464 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
53466 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
53468 for ac_func in isnan
53470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53471 echo "$as_me:$LINENO: checking for $ac_func" >&5
53472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53473 if eval "test \"\${$as_ac_var+set}\" = set"; then
53474 echo $ECHO_N "(cached) $ECHO_C" >&6
53475 else
53476 if test x$gcc_no_link = xyes; then
53477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53479 { (exit 1); exit 1; }; }
53481 cat >conftest.$ac_ext <<_ACEOF
53482 /* confdefs.h. */
53483 _ACEOF
53484 cat confdefs.h >>conftest.$ac_ext
53485 cat >>conftest.$ac_ext <<_ACEOF
53486 /* end confdefs.h. */
53487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53489 #define $ac_func innocuous_$ac_func
53491 /* System header to define __stub macros and hopefully few prototypes,
53492 which can conflict with char $ac_func (); below.
53493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53494 <limits.h> exists even on freestanding compilers. */
53496 #ifdef __STDC__
53497 # include <limits.h>
53498 #else
53499 # include <assert.h>
53500 #endif
53502 #undef $ac_func
53504 /* Override any gcc2 internal prototype to avoid an error. */
53505 #ifdef __cplusplus
53506 extern "C"
53508 #endif
53509 /* We use char because int might match the return type of a gcc2
53510 builtin and then its argument prototype would still apply. */
53511 char $ac_func ();
53512 /* The GNU C library defines this for functions which it implements
53513 to always fail with ENOSYS. Some functions are actually named
53514 something starting with __ and the normal name is an alias. */
53515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53516 choke me
53517 #else
53518 char (*f) () = $ac_func;
53519 #endif
53520 #ifdef __cplusplus
53522 #endif
53525 main ()
53527 return f != $ac_func;
53529 return 0;
53531 _ACEOF
53532 rm -f conftest.$ac_objext conftest$ac_exeext
53533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53534 (eval $ac_link) 2>conftest.er1
53535 ac_status=$?
53536 grep -v '^ *+' conftest.er1 >conftest.err
53537 rm -f conftest.er1
53538 cat conftest.err >&5
53539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53540 (exit $ac_status); } &&
53541 { ac_try='test -z "$ac_c_werror_flag"
53542 || test ! -s conftest.err'
53543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53544 (eval $ac_try) 2>&5
53545 ac_status=$?
53546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53547 (exit $ac_status); }; } &&
53548 { ac_try='test -s conftest$ac_exeext'
53549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53550 (eval $ac_try) 2>&5
53551 ac_status=$?
53552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53553 (exit $ac_status); }; }; then
53554 eval "$as_ac_var=yes"
53555 else
53556 echo "$as_me: failed program was:" >&5
53557 sed 's/^/| /' conftest.$ac_ext >&5
53559 eval "$as_ac_var=no"
53561 rm -f conftest.err conftest.$ac_objext \
53562 conftest$ac_exeext conftest.$ac_ext
53564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53566 if test `eval echo '${'$as_ac_var'}'` = yes; then
53567 cat >>confdefs.h <<_ACEOF
53568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53569 _ACEOF
53572 done
53574 else
53576 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
53577 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
53578 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
53579 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
53580 echo $ECHO_N "(cached) $ECHO_C" >&6
53581 else
53585 ac_ext=cc
53586 ac_cpp='$CXXCPP $CPPFLAGS'
53587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53591 cat >conftest.$ac_ext <<_ACEOF
53592 /* confdefs.h. */
53593 _ACEOF
53594 cat confdefs.h >>conftest.$ac_ext
53595 cat >>conftest.$ac_ext <<_ACEOF
53596 /* end confdefs.h. */
53597 #include <math.h>
53598 #ifdef HAVE_IEEEFP_H
53599 #include <ieeefp.h>
53600 #endif
53603 main ()
53605 _isnan(0);
53607 return 0;
53609 _ACEOF
53610 rm -f conftest.$ac_objext
53611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53612 (eval $ac_compile) 2>conftest.er1
53613 ac_status=$?
53614 grep -v '^ *+' conftest.er1 >conftest.err
53615 rm -f conftest.er1
53616 cat conftest.err >&5
53617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53618 (exit $ac_status); } &&
53619 { ac_try='test -z "$ac_cxx_werror_flag"
53620 || test ! -s conftest.err'
53621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53622 (eval $ac_try) 2>&5
53623 ac_status=$?
53624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53625 (exit $ac_status); }; } &&
53626 { ac_try='test -s conftest.$ac_objext'
53627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53628 (eval $ac_try) 2>&5
53629 ac_status=$?
53630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53631 (exit $ac_status); }; }; then
53632 glibcxx_cv_func__isnan_use=yes
53633 else
53634 echo "$as_me: failed program was:" >&5
53635 sed 's/^/| /' conftest.$ac_ext >&5
53637 glibcxx_cv_func__isnan_use=no
53639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53640 ac_ext=c
53641 ac_cpp='$CPP $CPPFLAGS'
53642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53650 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
53651 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
53653 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
53655 for ac_func in _isnan
53657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53658 echo "$as_me:$LINENO: checking for $ac_func" >&5
53659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53660 if eval "test \"\${$as_ac_var+set}\" = set"; then
53661 echo $ECHO_N "(cached) $ECHO_C" >&6
53662 else
53663 if test x$gcc_no_link = xyes; then
53664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53666 { (exit 1); exit 1; }; }
53668 cat >conftest.$ac_ext <<_ACEOF
53669 /* confdefs.h. */
53670 _ACEOF
53671 cat confdefs.h >>conftest.$ac_ext
53672 cat >>conftest.$ac_ext <<_ACEOF
53673 /* end confdefs.h. */
53674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53676 #define $ac_func innocuous_$ac_func
53678 /* System header to define __stub macros and hopefully few prototypes,
53679 which can conflict with char $ac_func (); below.
53680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53681 <limits.h> exists even on freestanding compilers. */
53683 #ifdef __STDC__
53684 # include <limits.h>
53685 #else
53686 # include <assert.h>
53687 #endif
53689 #undef $ac_func
53691 /* Override any gcc2 internal prototype to avoid an error. */
53692 #ifdef __cplusplus
53693 extern "C"
53695 #endif
53696 /* We use char because int might match the return type of a gcc2
53697 builtin and then its argument prototype would still apply. */
53698 char $ac_func ();
53699 /* The GNU C library defines this for functions which it implements
53700 to always fail with ENOSYS. Some functions are actually named
53701 something starting with __ and the normal name is an alias. */
53702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53703 choke me
53704 #else
53705 char (*f) () = $ac_func;
53706 #endif
53707 #ifdef __cplusplus
53709 #endif
53712 main ()
53714 return f != $ac_func;
53716 return 0;
53718 _ACEOF
53719 rm -f conftest.$ac_objext conftest$ac_exeext
53720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53721 (eval $ac_link) 2>conftest.er1
53722 ac_status=$?
53723 grep -v '^ *+' conftest.er1 >conftest.err
53724 rm -f conftest.er1
53725 cat conftest.err >&5
53726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53727 (exit $ac_status); } &&
53728 { ac_try='test -z "$ac_c_werror_flag"
53729 || test ! -s conftest.err'
53730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53731 (eval $ac_try) 2>&5
53732 ac_status=$?
53733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53734 (exit $ac_status); }; } &&
53735 { ac_try='test -s conftest$ac_exeext'
53736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53737 (eval $ac_try) 2>&5
53738 ac_status=$?
53739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53740 (exit $ac_status); }; }; then
53741 eval "$as_ac_var=yes"
53742 else
53743 echo "$as_me: failed program was:" >&5
53744 sed 's/^/| /' conftest.$ac_ext >&5
53746 eval "$as_ac_var=no"
53748 rm -f conftest.err conftest.$ac_objext \
53749 conftest$ac_exeext conftest.$ac_ext
53751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53753 if test `eval echo '${'$as_ac_var'}'` = yes; then
53754 cat >>confdefs.h <<_ACEOF
53755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53756 _ACEOF
53759 done
53769 echo "$as_me:$LINENO: checking for finite declaration" >&5
53770 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
53771 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53772 if test "${glibcxx_cv_func_finite_use+set}" = set; then
53773 echo $ECHO_N "(cached) $ECHO_C" >&6
53774 else
53778 ac_ext=cc
53779 ac_cpp='$CXXCPP $CPPFLAGS'
53780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53784 cat >conftest.$ac_ext <<_ACEOF
53785 /* confdefs.h. */
53786 _ACEOF
53787 cat confdefs.h >>conftest.$ac_ext
53788 cat >>conftest.$ac_ext <<_ACEOF
53789 /* end confdefs.h. */
53790 #include <math.h>
53791 #ifdef HAVE_IEEEFP_H
53792 #include <ieeefp.h>
53793 #endif
53796 main ()
53798 finite(0);
53800 return 0;
53802 _ACEOF
53803 rm -f conftest.$ac_objext
53804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53805 (eval $ac_compile) 2>conftest.er1
53806 ac_status=$?
53807 grep -v '^ *+' conftest.er1 >conftest.err
53808 rm -f conftest.er1
53809 cat conftest.err >&5
53810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53811 (exit $ac_status); } &&
53812 { ac_try='test -z "$ac_cxx_werror_flag"
53813 || test ! -s conftest.err'
53814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53815 (eval $ac_try) 2>&5
53816 ac_status=$?
53817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53818 (exit $ac_status); }; } &&
53819 { ac_try='test -s conftest.$ac_objext'
53820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53821 (eval $ac_try) 2>&5
53822 ac_status=$?
53823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53824 (exit $ac_status); }; }; then
53825 glibcxx_cv_func_finite_use=yes
53826 else
53827 echo "$as_me: failed program was:" >&5
53828 sed 's/^/| /' conftest.$ac_ext >&5
53830 glibcxx_cv_func_finite_use=no
53832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53833 ac_ext=c
53834 ac_cpp='$CPP $CPPFLAGS'
53835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53843 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
53844 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
53846 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53848 for ac_func in finite
53850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53851 echo "$as_me:$LINENO: checking for $ac_func" >&5
53852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53853 if eval "test \"\${$as_ac_var+set}\" = set"; then
53854 echo $ECHO_N "(cached) $ECHO_C" >&6
53855 else
53856 if test x$gcc_no_link = xyes; then
53857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53859 { (exit 1); exit 1; }; }
53861 cat >conftest.$ac_ext <<_ACEOF
53862 /* confdefs.h. */
53863 _ACEOF
53864 cat confdefs.h >>conftest.$ac_ext
53865 cat >>conftest.$ac_ext <<_ACEOF
53866 /* end confdefs.h. */
53867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53869 #define $ac_func innocuous_$ac_func
53871 /* System header to define __stub macros and hopefully few prototypes,
53872 which can conflict with char $ac_func (); below.
53873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53874 <limits.h> exists even on freestanding compilers. */
53876 #ifdef __STDC__
53877 # include <limits.h>
53878 #else
53879 # include <assert.h>
53880 #endif
53882 #undef $ac_func
53884 /* Override any gcc2 internal prototype to avoid an error. */
53885 #ifdef __cplusplus
53886 extern "C"
53888 #endif
53889 /* We use char because int might match the return type of a gcc2
53890 builtin and then its argument prototype would still apply. */
53891 char $ac_func ();
53892 /* The GNU C library defines this for functions which it implements
53893 to always fail with ENOSYS. Some functions are actually named
53894 something starting with __ and the normal name is an alias. */
53895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53896 choke me
53897 #else
53898 char (*f) () = $ac_func;
53899 #endif
53900 #ifdef __cplusplus
53902 #endif
53905 main ()
53907 return f != $ac_func;
53909 return 0;
53911 _ACEOF
53912 rm -f conftest.$ac_objext conftest$ac_exeext
53913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53914 (eval $ac_link) 2>conftest.er1
53915 ac_status=$?
53916 grep -v '^ *+' conftest.er1 >conftest.err
53917 rm -f conftest.er1
53918 cat conftest.err >&5
53919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53920 (exit $ac_status); } &&
53921 { ac_try='test -z "$ac_c_werror_flag"
53922 || test ! -s conftest.err'
53923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53924 (eval $ac_try) 2>&5
53925 ac_status=$?
53926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53927 (exit $ac_status); }; } &&
53928 { ac_try='test -s conftest$ac_exeext'
53929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53930 (eval $ac_try) 2>&5
53931 ac_status=$?
53932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53933 (exit $ac_status); }; }; then
53934 eval "$as_ac_var=yes"
53935 else
53936 echo "$as_me: failed program was:" >&5
53937 sed 's/^/| /' conftest.$ac_ext >&5
53939 eval "$as_ac_var=no"
53941 rm -f conftest.err conftest.$ac_objext \
53942 conftest$ac_exeext conftest.$ac_ext
53944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53946 if test `eval echo '${'$as_ac_var'}'` = yes; then
53947 cat >>confdefs.h <<_ACEOF
53948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53949 _ACEOF
53952 done
53954 else
53956 echo "$as_me:$LINENO: checking for _finite declaration" >&5
53957 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
53958 if test x${glibcxx_cv_func__finite_use+set} != xset; then
53959 if test "${glibcxx_cv_func__finite_use+set}" = set; then
53960 echo $ECHO_N "(cached) $ECHO_C" >&6
53961 else
53965 ac_ext=cc
53966 ac_cpp='$CXXCPP $CPPFLAGS'
53967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53971 cat >conftest.$ac_ext <<_ACEOF
53972 /* confdefs.h. */
53973 _ACEOF
53974 cat confdefs.h >>conftest.$ac_ext
53975 cat >>conftest.$ac_ext <<_ACEOF
53976 /* end confdefs.h. */
53977 #include <math.h>
53978 #ifdef HAVE_IEEEFP_H
53979 #include <ieeefp.h>
53980 #endif
53983 main ()
53985 _finite(0);
53987 return 0;
53989 _ACEOF
53990 rm -f conftest.$ac_objext
53991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53992 (eval $ac_compile) 2>conftest.er1
53993 ac_status=$?
53994 grep -v '^ *+' conftest.er1 >conftest.err
53995 rm -f conftest.er1
53996 cat conftest.err >&5
53997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53998 (exit $ac_status); } &&
53999 { ac_try='test -z "$ac_cxx_werror_flag"
54000 || test ! -s conftest.err'
54001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54002 (eval $ac_try) 2>&5
54003 ac_status=$?
54004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54005 (exit $ac_status); }; } &&
54006 { ac_try='test -s conftest.$ac_objext'
54007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54008 (eval $ac_try) 2>&5
54009 ac_status=$?
54010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54011 (exit $ac_status); }; }; then
54012 glibcxx_cv_func__finite_use=yes
54013 else
54014 echo "$as_me: failed program was:" >&5
54015 sed 's/^/| /' conftest.$ac_ext >&5
54017 glibcxx_cv_func__finite_use=no
54019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54020 ac_ext=c
54021 ac_cpp='$CPP $CPPFLAGS'
54022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54030 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
54031 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
54033 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54035 for ac_func in _finite
54037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54038 echo "$as_me:$LINENO: checking for $ac_func" >&5
54039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54040 if eval "test \"\${$as_ac_var+set}\" = set"; then
54041 echo $ECHO_N "(cached) $ECHO_C" >&6
54042 else
54043 if test x$gcc_no_link = xyes; then
54044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54046 { (exit 1); exit 1; }; }
54048 cat >conftest.$ac_ext <<_ACEOF
54049 /* confdefs.h. */
54050 _ACEOF
54051 cat confdefs.h >>conftest.$ac_ext
54052 cat >>conftest.$ac_ext <<_ACEOF
54053 /* end confdefs.h. */
54054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54056 #define $ac_func innocuous_$ac_func
54058 /* System header to define __stub macros and hopefully few prototypes,
54059 which can conflict with char $ac_func (); below.
54060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54061 <limits.h> exists even on freestanding compilers. */
54063 #ifdef __STDC__
54064 # include <limits.h>
54065 #else
54066 # include <assert.h>
54067 #endif
54069 #undef $ac_func
54071 /* Override any gcc2 internal prototype to avoid an error. */
54072 #ifdef __cplusplus
54073 extern "C"
54075 #endif
54076 /* We use char because int might match the return type of a gcc2
54077 builtin and then its argument prototype would still apply. */
54078 char $ac_func ();
54079 /* The GNU C library defines this for functions which it implements
54080 to always fail with ENOSYS. Some functions are actually named
54081 something starting with __ and the normal name is an alias. */
54082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54083 choke me
54084 #else
54085 char (*f) () = $ac_func;
54086 #endif
54087 #ifdef __cplusplus
54089 #endif
54092 main ()
54094 return f != $ac_func;
54096 return 0;
54098 _ACEOF
54099 rm -f conftest.$ac_objext conftest$ac_exeext
54100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54101 (eval $ac_link) 2>conftest.er1
54102 ac_status=$?
54103 grep -v '^ *+' conftest.er1 >conftest.err
54104 rm -f conftest.er1
54105 cat conftest.err >&5
54106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54107 (exit $ac_status); } &&
54108 { ac_try='test -z "$ac_c_werror_flag"
54109 || test ! -s conftest.err'
54110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54111 (eval $ac_try) 2>&5
54112 ac_status=$?
54113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54114 (exit $ac_status); }; } &&
54115 { ac_try='test -s conftest$ac_exeext'
54116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54117 (eval $ac_try) 2>&5
54118 ac_status=$?
54119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54120 (exit $ac_status); }; }; then
54121 eval "$as_ac_var=yes"
54122 else
54123 echo "$as_me: failed program was:" >&5
54124 sed 's/^/| /' conftest.$ac_ext >&5
54126 eval "$as_ac_var=no"
54128 rm -f conftest.err conftest.$ac_objext \
54129 conftest$ac_exeext conftest.$ac_ext
54131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54133 if test `eval echo '${'$as_ac_var'}'` = yes; then
54134 cat >>confdefs.h <<_ACEOF
54135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54136 _ACEOF
54139 done
54149 echo "$as_me:$LINENO: checking for copysign declaration" >&5
54150 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
54151 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
54152 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
54153 echo $ECHO_N "(cached) $ECHO_C" >&6
54154 else
54158 ac_ext=cc
54159 ac_cpp='$CXXCPP $CPPFLAGS'
54160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54164 cat >conftest.$ac_ext <<_ACEOF
54165 /* confdefs.h. */
54166 _ACEOF
54167 cat confdefs.h >>conftest.$ac_ext
54168 cat >>conftest.$ac_ext <<_ACEOF
54169 /* end confdefs.h. */
54170 #include <math.h>
54172 main ()
54174 copysign(0, 0);
54176 return 0;
54178 _ACEOF
54179 rm -f conftest.$ac_objext
54180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54181 (eval $ac_compile) 2>conftest.er1
54182 ac_status=$?
54183 grep -v '^ *+' conftest.er1 >conftest.err
54184 rm -f conftest.er1
54185 cat conftest.err >&5
54186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54187 (exit $ac_status); } &&
54188 { ac_try='test -z "$ac_cxx_werror_flag"
54189 || test ! -s conftest.err'
54190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54191 (eval $ac_try) 2>&5
54192 ac_status=$?
54193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54194 (exit $ac_status); }; } &&
54195 { ac_try='test -s conftest.$ac_objext'
54196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54197 (eval $ac_try) 2>&5
54198 ac_status=$?
54199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54200 (exit $ac_status); }; }; then
54201 glibcxx_cv_func_copysign_use=yes
54202 else
54203 echo "$as_me: failed program was:" >&5
54204 sed 's/^/| /' conftest.$ac_ext >&5
54206 glibcxx_cv_func_copysign_use=no
54208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54209 ac_ext=c
54210 ac_cpp='$CPP $CPPFLAGS'
54211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54219 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
54220 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
54222 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
54224 for ac_func in copysign
54226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54227 echo "$as_me:$LINENO: checking for $ac_func" >&5
54228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54229 if eval "test \"\${$as_ac_var+set}\" = set"; then
54230 echo $ECHO_N "(cached) $ECHO_C" >&6
54231 else
54232 if test x$gcc_no_link = xyes; then
54233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54235 { (exit 1); exit 1; }; }
54237 cat >conftest.$ac_ext <<_ACEOF
54238 /* confdefs.h. */
54239 _ACEOF
54240 cat confdefs.h >>conftest.$ac_ext
54241 cat >>conftest.$ac_ext <<_ACEOF
54242 /* end confdefs.h. */
54243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54245 #define $ac_func innocuous_$ac_func
54247 /* System header to define __stub macros and hopefully few prototypes,
54248 which can conflict with char $ac_func (); below.
54249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54250 <limits.h> exists even on freestanding compilers. */
54252 #ifdef __STDC__
54253 # include <limits.h>
54254 #else
54255 # include <assert.h>
54256 #endif
54258 #undef $ac_func
54260 /* Override any gcc2 internal prototype to avoid an error. */
54261 #ifdef __cplusplus
54262 extern "C"
54264 #endif
54265 /* We use char because int might match the return type of a gcc2
54266 builtin and then its argument prototype would still apply. */
54267 char $ac_func ();
54268 /* The GNU C library defines this for functions which it implements
54269 to always fail with ENOSYS. Some functions are actually named
54270 something starting with __ and the normal name is an alias. */
54271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54272 choke me
54273 #else
54274 char (*f) () = $ac_func;
54275 #endif
54276 #ifdef __cplusplus
54278 #endif
54281 main ()
54283 return f != $ac_func;
54285 return 0;
54287 _ACEOF
54288 rm -f conftest.$ac_objext conftest$ac_exeext
54289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54290 (eval $ac_link) 2>conftest.er1
54291 ac_status=$?
54292 grep -v '^ *+' conftest.er1 >conftest.err
54293 rm -f conftest.er1
54294 cat conftest.err >&5
54295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54296 (exit $ac_status); } &&
54297 { ac_try='test -z "$ac_c_werror_flag"
54298 || test ! -s conftest.err'
54299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54300 (eval $ac_try) 2>&5
54301 ac_status=$?
54302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54303 (exit $ac_status); }; } &&
54304 { ac_try='test -s conftest$ac_exeext'
54305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54306 (eval $ac_try) 2>&5
54307 ac_status=$?
54308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54309 (exit $ac_status); }; }; then
54310 eval "$as_ac_var=yes"
54311 else
54312 echo "$as_me: failed program was:" >&5
54313 sed 's/^/| /' conftest.$ac_ext >&5
54315 eval "$as_ac_var=no"
54317 rm -f conftest.err conftest.$ac_objext \
54318 conftest$ac_exeext conftest.$ac_ext
54320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54322 if test `eval echo '${'$as_ac_var'}'` = yes; then
54323 cat >>confdefs.h <<_ACEOF
54324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54325 _ACEOF
54328 done
54330 else
54332 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
54333 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
54334 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
54335 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
54336 echo $ECHO_N "(cached) $ECHO_C" >&6
54337 else
54341 ac_ext=cc
54342 ac_cpp='$CXXCPP $CPPFLAGS'
54343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54347 cat >conftest.$ac_ext <<_ACEOF
54348 /* confdefs.h. */
54349 _ACEOF
54350 cat confdefs.h >>conftest.$ac_ext
54351 cat >>conftest.$ac_ext <<_ACEOF
54352 /* end confdefs.h. */
54353 #include <math.h>
54355 main ()
54357 _copysign(0, 0);
54359 return 0;
54361 _ACEOF
54362 rm -f conftest.$ac_objext
54363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54364 (eval $ac_compile) 2>conftest.er1
54365 ac_status=$?
54366 grep -v '^ *+' conftest.er1 >conftest.err
54367 rm -f conftest.er1
54368 cat conftest.err >&5
54369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54370 (exit $ac_status); } &&
54371 { ac_try='test -z "$ac_cxx_werror_flag"
54372 || test ! -s conftest.err'
54373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54374 (eval $ac_try) 2>&5
54375 ac_status=$?
54376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54377 (exit $ac_status); }; } &&
54378 { ac_try='test -s conftest.$ac_objext'
54379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54380 (eval $ac_try) 2>&5
54381 ac_status=$?
54382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54383 (exit $ac_status); }; }; then
54384 glibcxx_cv_func__copysign_use=yes
54385 else
54386 echo "$as_me: failed program was:" >&5
54387 sed 's/^/| /' conftest.$ac_ext >&5
54389 glibcxx_cv_func__copysign_use=no
54391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54392 ac_ext=c
54393 ac_cpp='$CPP $CPPFLAGS'
54394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54402 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
54403 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
54405 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
54407 for ac_func in _copysign
54409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54410 echo "$as_me:$LINENO: checking for $ac_func" >&5
54411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54412 if eval "test \"\${$as_ac_var+set}\" = set"; then
54413 echo $ECHO_N "(cached) $ECHO_C" >&6
54414 else
54415 if test x$gcc_no_link = xyes; then
54416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54418 { (exit 1); exit 1; }; }
54420 cat >conftest.$ac_ext <<_ACEOF
54421 /* confdefs.h. */
54422 _ACEOF
54423 cat confdefs.h >>conftest.$ac_ext
54424 cat >>conftest.$ac_ext <<_ACEOF
54425 /* end confdefs.h. */
54426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54428 #define $ac_func innocuous_$ac_func
54430 /* System header to define __stub macros and hopefully few prototypes,
54431 which can conflict with char $ac_func (); below.
54432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54433 <limits.h> exists even on freestanding compilers. */
54435 #ifdef __STDC__
54436 # include <limits.h>
54437 #else
54438 # include <assert.h>
54439 #endif
54441 #undef $ac_func
54443 /* Override any gcc2 internal prototype to avoid an error. */
54444 #ifdef __cplusplus
54445 extern "C"
54447 #endif
54448 /* We use char because int might match the return type of a gcc2
54449 builtin and then its argument prototype would still apply. */
54450 char $ac_func ();
54451 /* The GNU C library defines this for functions which it implements
54452 to always fail with ENOSYS. Some functions are actually named
54453 something starting with __ and the normal name is an alias. */
54454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54455 choke me
54456 #else
54457 char (*f) () = $ac_func;
54458 #endif
54459 #ifdef __cplusplus
54461 #endif
54464 main ()
54466 return f != $ac_func;
54468 return 0;
54470 _ACEOF
54471 rm -f conftest.$ac_objext conftest$ac_exeext
54472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54473 (eval $ac_link) 2>conftest.er1
54474 ac_status=$?
54475 grep -v '^ *+' conftest.er1 >conftest.err
54476 rm -f conftest.er1
54477 cat conftest.err >&5
54478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54479 (exit $ac_status); } &&
54480 { ac_try='test -z "$ac_c_werror_flag"
54481 || test ! -s conftest.err'
54482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54483 (eval $ac_try) 2>&5
54484 ac_status=$?
54485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54486 (exit $ac_status); }; } &&
54487 { ac_try='test -s conftest$ac_exeext'
54488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54489 (eval $ac_try) 2>&5
54490 ac_status=$?
54491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54492 (exit $ac_status); }; }; then
54493 eval "$as_ac_var=yes"
54494 else
54495 echo "$as_me: failed program was:" >&5
54496 sed 's/^/| /' conftest.$ac_ext >&5
54498 eval "$as_ac_var=no"
54500 rm -f conftest.err conftest.$ac_objext \
54501 conftest$ac_exeext conftest.$ac_ext
54503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54505 if test `eval echo '${'$as_ac_var'}'` = yes; then
54506 cat >>confdefs.h <<_ACEOF
54507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54508 _ACEOF
54511 done
54521 echo "$as_me:$LINENO: checking for sincos declaration" >&5
54522 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
54523 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54524 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
54525 echo $ECHO_N "(cached) $ECHO_C" >&6
54526 else
54530 ac_ext=cc
54531 ac_cpp='$CXXCPP $CPPFLAGS'
54532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54536 cat >conftest.$ac_ext <<_ACEOF
54537 /* confdefs.h. */
54538 _ACEOF
54539 cat confdefs.h >>conftest.$ac_ext
54540 cat >>conftest.$ac_ext <<_ACEOF
54541 /* end confdefs.h. */
54542 #include <math.h>
54544 main ()
54546 sincos(0, 0, 0);
54548 return 0;
54550 _ACEOF
54551 rm -f conftest.$ac_objext
54552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54553 (eval $ac_compile) 2>conftest.er1
54554 ac_status=$?
54555 grep -v '^ *+' conftest.er1 >conftest.err
54556 rm -f conftest.er1
54557 cat conftest.err >&5
54558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54559 (exit $ac_status); } &&
54560 { ac_try='test -z "$ac_cxx_werror_flag"
54561 || test ! -s conftest.err'
54562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54563 (eval $ac_try) 2>&5
54564 ac_status=$?
54565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54566 (exit $ac_status); }; } &&
54567 { ac_try='test -s conftest.$ac_objext'
54568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54569 (eval $ac_try) 2>&5
54570 ac_status=$?
54571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54572 (exit $ac_status); }; }; then
54573 glibcxx_cv_func_sincos_use=yes
54574 else
54575 echo "$as_me: failed program was:" >&5
54576 sed 's/^/| /' conftest.$ac_ext >&5
54578 glibcxx_cv_func_sincos_use=no
54580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54581 ac_ext=c
54582 ac_cpp='$CPP $CPPFLAGS'
54583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54591 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
54592 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
54594 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54596 for ac_func in sincos
54598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54599 echo "$as_me:$LINENO: checking for $ac_func" >&5
54600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54601 if eval "test \"\${$as_ac_var+set}\" = set"; then
54602 echo $ECHO_N "(cached) $ECHO_C" >&6
54603 else
54604 if test x$gcc_no_link = xyes; then
54605 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54607 { (exit 1); exit 1; }; }
54609 cat >conftest.$ac_ext <<_ACEOF
54610 /* confdefs.h. */
54611 _ACEOF
54612 cat confdefs.h >>conftest.$ac_ext
54613 cat >>conftest.$ac_ext <<_ACEOF
54614 /* end confdefs.h. */
54615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54617 #define $ac_func innocuous_$ac_func
54619 /* System header to define __stub macros and hopefully few prototypes,
54620 which can conflict with char $ac_func (); below.
54621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54622 <limits.h> exists even on freestanding compilers. */
54624 #ifdef __STDC__
54625 # include <limits.h>
54626 #else
54627 # include <assert.h>
54628 #endif
54630 #undef $ac_func
54632 /* Override any gcc2 internal prototype to avoid an error. */
54633 #ifdef __cplusplus
54634 extern "C"
54636 #endif
54637 /* We use char because int might match the return type of a gcc2
54638 builtin and then its argument prototype would still apply. */
54639 char $ac_func ();
54640 /* The GNU C library defines this for functions which it implements
54641 to always fail with ENOSYS. Some functions are actually named
54642 something starting with __ and the normal name is an alias. */
54643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54644 choke me
54645 #else
54646 char (*f) () = $ac_func;
54647 #endif
54648 #ifdef __cplusplus
54650 #endif
54653 main ()
54655 return f != $ac_func;
54657 return 0;
54659 _ACEOF
54660 rm -f conftest.$ac_objext conftest$ac_exeext
54661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54662 (eval $ac_link) 2>conftest.er1
54663 ac_status=$?
54664 grep -v '^ *+' conftest.er1 >conftest.err
54665 rm -f conftest.er1
54666 cat conftest.err >&5
54667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54668 (exit $ac_status); } &&
54669 { ac_try='test -z "$ac_c_werror_flag"
54670 || test ! -s conftest.err'
54671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54672 (eval $ac_try) 2>&5
54673 ac_status=$?
54674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54675 (exit $ac_status); }; } &&
54676 { ac_try='test -s conftest$ac_exeext'
54677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54678 (eval $ac_try) 2>&5
54679 ac_status=$?
54680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54681 (exit $ac_status); }; }; then
54682 eval "$as_ac_var=yes"
54683 else
54684 echo "$as_me: failed program was:" >&5
54685 sed 's/^/| /' conftest.$ac_ext >&5
54687 eval "$as_ac_var=no"
54689 rm -f conftest.err conftest.$ac_objext \
54690 conftest$ac_exeext conftest.$ac_ext
54692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54694 if test `eval echo '${'$as_ac_var'}'` = yes; then
54695 cat >>confdefs.h <<_ACEOF
54696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54697 _ACEOF
54700 done
54702 else
54704 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
54705 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
54706 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54707 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
54708 echo $ECHO_N "(cached) $ECHO_C" >&6
54709 else
54713 ac_ext=cc
54714 ac_cpp='$CXXCPP $CPPFLAGS'
54715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54719 cat >conftest.$ac_ext <<_ACEOF
54720 /* confdefs.h. */
54721 _ACEOF
54722 cat confdefs.h >>conftest.$ac_ext
54723 cat >>conftest.$ac_ext <<_ACEOF
54724 /* end confdefs.h. */
54725 #include <math.h>
54727 main ()
54729 _sincos(0, 0, 0);
54731 return 0;
54733 _ACEOF
54734 rm -f conftest.$ac_objext
54735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54736 (eval $ac_compile) 2>conftest.er1
54737 ac_status=$?
54738 grep -v '^ *+' conftest.er1 >conftest.err
54739 rm -f conftest.er1
54740 cat conftest.err >&5
54741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54742 (exit $ac_status); } &&
54743 { ac_try='test -z "$ac_cxx_werror_flag"
54744 || test ! -s conftest.err'
54745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54746 (eval $ac_try) 2>&5
54747 ac_status=$?
54748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54749 (exit $ac_status); }; } &&
54750 { ac_try='test -s conftest.$ac_objext'
54751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54752 (eval $ac_try) 2>&5
54753 ac_status=$?
54754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54755 (exit $ac_status); }; }; then
54756 glibcxx_cv_func__sincos_use=yes
54757 else
54758 echo "$as_me: failed program was:" >&5
54759 sed 's/^/| /' conftest.$ac_ext >&5
54761 glibcxx_cv_func__sincos_use=no
54763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54764 ac_ext=c
54765 ac_cpp='$CPP $CPPFLAGS'
54766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54774 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
54775 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
54777 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54779 for ac_func in _sincos
54781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54782 echo "$as_me:$LINENO: checking for $ac_func" >&5
54783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54784 if eval "test \"\${$as_ac_var+set}\" = set"; then
54785 echo $ECHO_N "(cached) $ECHO_C" >&6
54786 else
54787 if test x$gcc_no_link = xyes; then
54788 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54790 { (exit 1); exit 1; }; }
54792 cat >conftest.$ac_ext <<_ACEOF
54793 /* confdefs.h. */
54794 _ACEOF
54795 cat confdefs.h >>conftest.$ac_ext
54796 cat >>conftest.$ac_ext <<_ACEOF
54797 /* end confdefs.h. */
54798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54800 #define $ac_func innocuous_$ac_func
54802 /* System header to define __stub macros and hopefully few prototypes,
54803 which can conflict with char $ac_func (); below.
54804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54805 <limits.h> exists even on freestanding compilers. */
54807 #ifdef __STDC__
54808 # include <limits.h>
54809 #else
54810 # include <assert.h>
54811 #endif
54813 #undef $ac_func
54815 /* Override any gcc2 internal prototype to avoid an error. */
54816 #ifdef __cplusplus
54817 extern "C"
54819 #endif
54820 /* We use char because int might match the return type of a gcc2
54821 builtin and then its argument prototype would still apply. */
54822 char $ac_func ();
54823 /* The GNU C library defines this for functions which it implements
54824 to always fail with ENOSYS. Some functions are actually named
54825 something starting with __ and the normal name is an alias. */
54826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54827 choke me
54828 #else
54829 char (*f) () = $ac_func;
54830 #endif
54831 #ifdef __cplusplus
54833 #endif
54836 main ()
54838 return f != $ac_func;
54840 return 0;
54842 _ACEOF
54843 rm -f conftest.$ac_objext conftest$ac_exeext
54844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54845 (eval $ac_link) 2>conftest.er1
54846 ac_status=$?
54847 grep -v '^ *+' conftest.er1 >conftest.err
54848 rm -f conftest.er1
54849 cat conftest.err >&5
54850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54851 (exit $ac_status); } &&
54852 { ac_try='test -z "$ac_c_werror_flag"
54853 || test ! -s conftest.err'
54854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54855 (eval $ac_try) 2>&5
54856 ac_status=$?
54857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54858 (exit $ac_status); }; } &&
54859 { ac_try='test -s conftest$ac_exeext'
54860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54861 (eval $ac_try) 2>&5
54862 ac_status=$?
54863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54864 (exit $ac_status); }; }; then
54865 eval "$as_ac_var=yes"
54866 else
54867 echo "$as_me: failed program was:" >&5
54868 sed 's/^/| /' conftest.$ac_ext >&5
54870 eval "$as_ac_var=no"
54872 rm -f conftest.err conftest.$ac_objext \
54873 conftest$ac_exeext conftest.$ac_ext
54875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54877 if test `eval echo '${'$as_ac_var'}'` = yes; then
54878 cat >>confdefs.h <<_ACEOF
54879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54880 _ACEOF
54883 done
54893 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
54894 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
54895 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54896 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
54897 echo $ECHO_N "(cached) $ECHO_C" >&6
54898 else
54902 ac_ext=cc
54903 ac_cpp='$CXXCPP $CPPFLAGS'
54904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54908 cat >conftest.$ac_ext <<_ACEOF
54909 /* confdefs.h. */
54910 _ACEOF
54911 cat confdefs.h >>conftest.$ac_ext
54912 cat >>conftest.$ac_ext <<_ACEOF
54913 /* end confdefs.h. */
54914 #include <math.h>
54915 #ifdef HAVE_IEEEFP_H
54916 #include <ieeefp.h>
54917 #endif
54920 main ()
54922 fpclass(0);
54924 return 0;
54926 _ACEOF
54927 rm -f conftest.$ac_objext
54928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54929 (eval $ac_compile) 2>conftest.er1
54930 ac_status=$?
54931 grep -v '^ *+' conftest.er1 >conftest.err
54932 rm -f conftest.er1
54933 cat conftest.err >&5
54934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54935 (exit $ac_status); } &&
54936 { ac_try='test -z "$ac_cxx_werror_flag"
54937 || test ! -s conftest.err'
54938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54939 (eval $ac_try) 2>&5
54940 ac_status=$?
54941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54942 (exit $ac_status); }; } &&
54943 { ac_try='test -s conftest.$ac_objext'
54944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54945 (eval $ac_try) 2>&5
54946 ac_status=$?
54947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54948 (exit $ac_status); }; }; then
54949 glibcxx_cv_func_fpclass_use=yes
54950 else
54951 echo "$as_me: failed program was:" >&5
54952 sed 's/^/| /' conftest.$ac_ext >&5
54954 glibcxx_cv_func_fpclass_use=no
54956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54957 ac_ext=c
54958 ac_cpp='$CPP $CPPFLAGS'
54959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54967 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
54968 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
54970 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54972 for ac_func in fpclass
54974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54975 echo "$as_me:$LINENO: checking for $ac_func" >&5
54976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54977 if eval "test \"\${$as_ac_var+set}\" = set"; then
54978 echo $ECHO_N "(cached) $ECHO_C" >&6
54979 else
54980 if test x$gcc_no_link = xyes; then
54981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54983 { (exit 1); exit 1; }; }
54985 cat >conftest.$ac_ext <<_ACEOF
54986 /* confdefs.h. */
54987 _ACEOF
54988 cat confdefs.h >>conftest.$ac_ext
54989 cat >>conftest.$ac_ext <<_ACEOF
54990 /* end confdefs.h. */
54991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54993 #define $ac_func innocuous_$ac_func
54995 /* System header to define __stub macros and hopefully few prototypes,
54996 which can conflict with char $ac_func (); below.
54997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54998 <limits.h> exists even on freestanding compilers. */
55000 #ifdef __STDC__
55001 # include <limits.h>
55002 #else
55003 # include <assert.h>
55004 #endif
55006 #undef $ac_func
55008 /* Override any gcc2 internal prototype to avoid an error. */
55009 #ifdef __cplusplus
55010 extern "C"
55012 #endif
55013 /* We use char because int might match the return type of a gcc2
55014 builtin and then its argument prototype would still apply. */
55015 char $ac_func ();
55016 /* The GNU C library defines this for functions which it implements
55017 to always fail with ENOSYS. Some functions are actually named
55018 something starting with __ and the normal name is an alias. */
55019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55020 choke me
55021 #else
55022 char (*f) () = $ac_func;
55023 #endif
55024 #ifdef __cplusplus
55026 #endif
55029 main ()
55031 return f != $ac_func;
55033 return 0;
55035 _ACEOF
55036 rm -f conftest.$ac_objext conftest$ac_exeext
55037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55038 (eval $ac_link) 2>conftest.er1
55039 ac_status=$?
55040 grep -v '^ *+' conftest.er1 >conftest.err
55041 rm -f conftest.er1
55042 cat conftest.err >&5
55043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55044 (exit $ac_status); } &&
55045 { ac_try='test -z "$ac_c_werror_flag"
55046 || test ! -s conftest.err'
55047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55048 (eval $ac_try) 2>&5
55049 ac_status=$?
55050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55051 (exit $ac_status); }; } &&
55052 { ac_try='test -s conftest$ac_exeext'
55053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55054 (eval $ac_try) 2>&5
55055 ac_status=$?
55056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55057 (exit $ac_status); }; }; then
55058 eval "$as_ac_var=yes"
55059 else
55060 echo "$as_me: failed program was:" >&5
55061 sed 's/^/| /' conftest.$ac_ext >&5
55063 eval "$as_ac_var=no"
55065 rm -f conftest.err conftest.$ac_objext \
55066 conftest$ac_exeext conftest.$ac_ext
55068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55070 if test `eval echo '${'$as_ac_var'}'` = yes; then
55071 cat >>confdefs.h <<_ACEOF
55072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55073 _ACEOF
55076 done
55078 else
55080 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
55081 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
55082 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55083 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
55084 echo $ECHO_N "(cached) $ECHO_C" >&6
55085 else
55089 ac_ext=cc
55090 ac_cpp='$CXXCPP $CPPFLAGS'
55091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55095 cat >conftest.$ac_ext <<_ACEOF
55096 /* confdefs.h. */
55097 _ACEOF
55098 cat confdefs.h >>conftest.$ac_ext
55099 cat >>conftest.$ac_ext <<_ACEOF
55100 /* end confdefs.h. */
55101 #include <math.h>
55102 #ifdef HAVE_IEEEFP_H
55103 #include <ieeefp.h>
55104 #endif
55107 main ()
55109 _fpclass(0);
55111 return 0;
55113 _ACEOF
55114 rm -f conftest.$ac_objext
55115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55116 (eval $ac_compile) 2>conftest.er1
55117 ac_status=$?
55118 grep -v '^ *+' conftest.er1 >conftest.err
55119 rm -f conftest.er1
55120 cat conftest.err >&5
55121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55122 (exit $ac_status); } &&
55123 { ac_try='test -z "$ac_cxx_werror_flag"
55124 || test ! -s conftest.err'
55125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55126 (eval $ac_try) 2>&5
55127 ac_status=$?
55128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55129 (exit $ac_status); }; } &&
55130 { ac_try='test -s conftest.$ac_objext'
55131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55132 (eval $ac_try) 2>&5
55133 ac_status=$?
55134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55135 (exit $ac_status); }; }; then
55136 glibcxx_cv_func__fpclass_use=yes
55137 else
55138 echo "$as_me: failed program was:" >&5
55139 sed 's/^/| /' conftest.$ac_ext >&5
55141 glibcxx_cv_func__fpclass_use=no
55143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55144 ac_ext=c
55145 ac_cpp='$CPP $CPPFLAGS'
55146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55154 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
55155 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
55157 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55159 for ac_func in _fpclass
55161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55162 echo "$as_me:$LINENO: checking for $ac_func" >&5
55163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55164 if eval "test \"\${$as_ac_var+set}\" = set"; then
55165 echo $ECHO_N "(cached) $ECHO_C" >&6
55166 else
55167 if test x$gcc_no_link = xyes; then
55168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55170 { (exit 1); exit 1; }; }
55172 cat >conftest.$ac_ext <<_ACEOF
55173 /* confdefs.h. */
55174 _ACEOF
55175 cat confdefs.h >>conftest.$ac_ext
55176 cat >>conftest.$ac_ext <<_ACEOF
55177 /* end confdefs.h. */
55178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55180 #define $ac_func innocuous_$ac_func
55182 /* System header to define __stub macros and hopefully few prototypes,
55183 which can conflict with char $ac_func (); below.
55184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55185 <limits.h> exists even on freestanding compilers. */
55187 #ifdef __STDC__
55188 # include <limits.h>
55189 #else
55190 # include <assert.h>
55191 #endif
55193 #undef $ac_func
55195 /* Override any gcc2 internal prototype to avoid an error. */
55196 #ifdef __cplusplus
55197 extern "C"
55199 #endif
55200 /* We use char because int might match the return type of a gcc2
55201 builtin and then its argument prototype would still apply. */
55202 char $ac_func ();
55203 /* The GNU C library defines this for functions which it implements
55204 to always fail with ENOSYS. Some functions are actually named
55205 something starting with __ and the normal name is an alias. */
55206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55207 choke me
55208 #else
55209 char (*f) () = $ac_func;
55210 #endif
55211 #ifdef __cplusplus
55213 #endif
55216 main ()
55218 return f != $ac_func;
55220 return 0;
55222 _ACEOF
55223 rm -f conftest.$ac_objext conftest$ac_exeext
55224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55225 (eval $ac_link) 2>conftest.er1
55226 ac_status=$?
55227 grep -v '^ *+' conftest.er1 >conftest.err
55228 rm -f conftest.er1
55229 cat conftest.err >&5
55230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55231 (exit $ac_status); } &&
55232 { ac_try='test -z "$ac_c_werror_flag"
55233 || test ! -s conftest.err'
55234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55235 (eval $ac_try) 2>&5
55236 ac_status=$?
55237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55238 (exit $ac_status); }; } &&
55239 { ac_try='test -s conftest$ac_exeext'
55240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55241 (eval $ac_try) 2>&5
55242 ac_status=$?
55243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55244 (exit $ac_status); }; }; then
55245 eval "$as_ac_var=yes"
55246 else
55247 echo "$as_me: failed program was:" >&5
55248 sed 's/^/| /' conftest.$ac_ext >&5
55250 eval "$as_ac_var=no"
55252 rm -f conftest.err conftest.$ac_objext \
55253 conftest$ac_exeext conftest.$ac_ext
55255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55257 if test `eval echo '${'$as_ac_var'}'` = yes; then
55258 cat >>confdefs.h <<_ACEOF
55259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55260 _ACEOF
55263 done
55273 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
55274 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
55275 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55276 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
55277 echo $ECHO_N "(cached) $ECHO_C" >&6
55278 else
55282 ac_ext=cc
55283 ac_cpp='$CXXCPP $CPPFLAGS'
55284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55288 cat >conftest.$ac_ext <<_ACEOF
55289 /* confdefs.h. */
55290 _ACEOF
55291 cat confdefs.h >>conftest.$ac_ext
55292 cat >>conftest.$ac_ext <<_ACEOF
55293 /* end confdefs.h. */
55294 #include <math.h>
55295 #ifdef HAVE_IEEEFP_H
55296 #include <ieeefp.h>
55297 #endif
55300 main ()
55302 qfpclass(0);
55304 return 0;
55306 _ACEOF
55307 rm -f conftest.$ac_objext
55308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55309 (eval $ac_compile) 2>conftest.er1
55310 ac_status=$?
55311 grep -v '^ *+' conftest.er1 >conftest.err
55312 rm -f conftest.er1
55313 cat conftest.err >&5
55314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55315 (exit $ac_status); } &&
55316 { ac_try='test -z "$ac_cxx_werror_flag"
55317 || test ! -s conftest.err'
55318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55319 (eval $ac_try) 2>&5
55320 ac_status=$?
55321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55322 (exit $ac_status); }; } &&
55323 { ac_try='test -s conftest.$ac_objext'
55324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55325 (eval $ac_try) 2>&5
55326 ac_status=$?
55327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55328 (exit $ac_status); }; }; then
55329 glibcxx_cv_func_qfpclass_use=yes
55330 else
55331 echo "$as_me: failed program was:" >&5
55332 sed 's/^/| /' conftest.$ac_ext >&5
55334 glibcxx_cv_func_qfpclass_use=no
55336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55337 ac_ext=c
55338 ac_cpp='$CPP $CPPFLAGS'
55339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55347 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
55348 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
55350 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55352 for ac_func in qfpclass
55354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55355 echo "$as_me:$LINENO: checking for $ac_func" >&5
55356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55357 if eval "test \"\${$as_ac_var+set}\" = set"; then
55358 echo $ECHO_N "(cached) $ECHO_C" >&6
55359 else
55360 if test x$gcc_no_link = xyes; then
55361 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55363 { (exit 1); exit 1; }; }
55365 cat >conftest.$ac_ext <<_ACEOF
55366 /* confdefs.h. */
55367 _ACEOF
55368 cat confdefs.h >>conftest.$ac_ext
55369 cat >>conftest.$ac_ext <<_ACEOF
55370 /* end confdefs.h. */
55371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55373 #define $ac_func innocuous_$ac_func
55375 /* System header to define __stub macros and hopefully few prototypes,
55376 which can conflict with char $ac_func (); below.
55377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55378 <limits.h> exists even on freestanding compilers. */
55380 #ifdef __STDC__
55381 # include <limits.h>
55382 #else
55383 # include <assert.h>
55384 #endif
55386 #undef $ac_func
55388 /* Override any gcc2 internal prototype to avoid an error. */
55389 #ifdef __cplusplus
55390 extern "C"
55392 #endif
55393 /* We use char because int might match the return type of a gcc2
55394 builtin and then its argument prototype would still apply. */
55395 char $ac_func ();
55396 /* The GNU C library defines this for functions which it implements
55397 to always fail with ENOSYS. Some functions are actually named
55398 something starting with __ and the normal name is an alias. */
55399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55400 choke me
55401 #else
55402 char (*f) () = $ac_func;
55403 #endif
55404 #ifdef __cplusplus
55406 #endif
55409 main ()
55411 return f != $ac_func;
55413 return 0;
55415 _ACEOF
55416 rm -f conftest.$ac_objext conftest$ac_exeext
55417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55418 (eval $ac_link) 2>conftest.er1
55419 ac_status=$?
55420 grep -v '^ *+' conftest.er1 >conftest.err
55421 rm -f conftest.er1
55422 cat conftest.err >&5
55423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55424 (exit $ac_status); } &&
55425 { ac_try='test -z "$ac_c_werror_flag"
55426 || test ! -s conftest.err'
55427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55428 (eval $ac_try) 2>&5
55429 ac_status=$?
55430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55431 (exit $ac_status); }; } &&
55432 { ac_try='test -s conftest$ac_exeext'
55433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55434 (eval $ac_try) 2>&5
55435 ac_status=$?
55436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55437 (exit $ac_status); }; }; then
55438 eval "$as_ac_var=yes"
55439 else
55440 echo "$as_me: failed program was:" >&5
55441 sed 's/^/| /' conftest.$ac_ext >&5
55443 eval "$as_ac_var=no"
55445 rm -f conftest.err conftest.$ac_objext \
55446 conftest$ac_exeext conftest.$ac_ext
55448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55450 if test `eval echo '${'$as_ac_var'}'` = yes; then
55451 cat >>confdefs.h <<_ACEOF
55452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55453 _ACEOF
55456 done
55458 else
55460 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
55461 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
55462 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55463 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
55464 echo $ECHO_N "(cached) $ECHO_C" >&6
55465 else
55469 ac_ext=cc
55470 ac_cpp='$CXXCPP $CPPFLAGS'
55471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55475 cat >conftest.$ac_ext <<_ACEOF
55476 /* confdefs.h. */
55477 _ACEOF
55478 cat confdefs.h >>conftest.$ac_ext
55479 cat >>conftest.$ac_ext <<_ACEOF
55480 /* end confdefs.h. */
55481 #include <math.h>
55482 #ifdef HAVE_IEEEFP_H
55483 #include <ieeefp.h>
55484 #endif
55487 main ()
55489 _qfpclass(0);
55491 return 0;
55493 _ACEOF
55494 rm -f conftest.$ac_objext
55495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55496 (eval $ac_compile) 2>conftest.er1
55497 ac_status=$?
55498 grep -v '^ *+' conftest.er1 >conftest.err
55499 rm -f conftest.er1
55500 cat conftest.err >&5
55501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55502 (exit $ac_status); } &&
55503 { ac_try='test -z "$ac_cxx_werror_flag"
55504 || test ! -s conftest.err'
55505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55506 (eval $ac_try) 2>&5
55507 ac_status=$?
55508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55509 (exit $ac_status); }; } &&
55510 { ac_try='test -s conftest.$ac_objext'
55511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55512 (eval $ac_try) 2>&5
55513 ac_status=$?
55514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55515 (exit $ac_status); }; }; then
55516 glibcxx_cv_func__qfpclass_use=yes
55517 else
55518 echo "$as_me: failed program was:" >&5
55519 sed 's/^/| /' conftest.$ac_ext >&5
55521 glibcxx_cv_func__qfpclass_use=no
55523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55524 ac_ext=c
55525 ac_cpp='$CPP $CPPFLAGS'
55526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55534 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
55535 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
55537 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55539 for ac_func in _qfpclass
55541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55542 echo "$as_me:$LINENO: checking for $ac_func" >&5
55543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55544 if eval "test \"\${$as_ac_var+set}\" = set"; then
55545 echo $ECHO_N "(cached) $ECHO_C" >&6
55546 else
55547 if test x$gcc_no_link = xyes; then
55548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55550 { (exit 1); exit 1; }; }
55552 cat >conftest.$ac_ext <<_ACEOF
55553 /* confdefs.h. */
55554 _ACEOF
55555 cat confdefs.h >>conftest.$ac_ext
55556 cat >>conftest.$ac_ext <<_ACEOF
55557 /* end confdefs.h. */
55558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55560 #define $ac_func innocuous_$ac_func
55562 /* System header to define __stub macros and hopefully few prototypes,
55563 which can conflict with char $ac_func (); below.
55564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55565 <limits.h> exists even on freestanding compilers. */
55567 #ifdef __STDC__
55568 # include <limits.h>
55569 #else
55570 # include <assert.h>
55571 #endif
55573 #undef $ac_func
55575 /* Override any gcc2 internal prototype to avoid an error. */
55576 #ifdef __cplusplus
55577 extern "C"
55579 #endif
55580 /* We use char because int might match the return type of a gcc2
55581 builtin and then its argument prototype would still apply. */
55582 char $ac_func ();
55583 /* The GNU C library defines this for functions which it implements
55584 to always fail with ENOSYS. Some functions are actually named
55585 something starting with __ and the normal name is an alias. */
55586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55587 choke me
55588 #else
55589 char (*f) () = $ac_func;
55590 #endif
55591 #ifdef __cplusplus
55593 #endif
55596 main ()
55598 return f != $ac_func;
55600 return 0;
55602 _ACEOF
55603 rm -f conftest.$ac_objext conftest$ac_exeext
55604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55605 (eval $ac_link) 2>conftest.er1
55606 ac_status=$?
55607 grep -v '^ *+' conftest.er1 >conftest.err
55608 rm -f conftest.er1
55609 cat conftest.err >&5
55610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55611 (exit $ac_status); } &&
55612 { ac_try='test -z "$ac_c_werror_flag"
55613 || test ! -s conftest.err'
55614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55615 (eval $ac_try) 2>&5
55616 ac_status=$?
55617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55618 (exit $ac_status); }; } &&
55619 { ac_try='test -s conftest$ac_exeext'
55620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55621 (eval $ac_try) 2>&5
55622 ac_status=$?
55623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55624 (exit $ac_status); }; }; then
55625 eval "$as_ac_var=yes"
55626 else
55627 echo "$as_me: failed program was:" >&5
55628 sed 's/^/| /' conftest.$ac_ext >&5
55630 eval "$as_ac_var=no"
55632 rm -f conftest.err conftest.$ac_objext \
55633 conftest$ac_exeext conftest.$ac_ext
55635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55637 if test `eval echo '${'$as_ac_var'}'` = yes; then
55638 cat >>confdefs.h <<_ACEOF
55639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55640 _ACEOF
55643 done
55653 echo "$as_me:$LINENO: checking for hypot declaration" >&5
55654 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
55655 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55656 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
55657 echo $ECHO_N "(cached) $ECHO_C" >&6
55658 else
55662 ac_ext=cc
55663 ac_cpp='$CXXCPP $CPPFLAGS'
55664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55668 cat >conftest.$ac_ext <<_ACEOF
55669 /* confdefs.h. */
55670 _ACEOF
55671 cat confdefs.h >>conftest.$ac_ext
55672 cat >>conftest.$ac_ext <<_ACEOF
55673 /* end confdefs.h. */
55674 #include <math.h>
55676 main ()
55678 hypot(0, 0);
55680 return 0;
55682 _ACEOF
55683 rm -f conftest.$ac_objext
55684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55685 (eval $ac_compile) 2>conftest.er1
55686 ac_status=$?
55687 grep -v '^ *+' conftest.er1 >conftest.err
55688 rm -f conftest.er1
55689 cat conftest.err >&5
55690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55691 (exit $ac_status); } &&
55692 { ac_try='test -z "$ac_cxx_werror_flag"
55693 || test ! -s conftest.err'
55694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55695 (eval $ac_try) 2>&5
55696 ac_status=$?
55697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55698 (exit $ac_status); }; } &&
55699 { ac_try='test -s conftest.$ac_objext'
55700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55701 (eval $ac_try) 2>&5
55702 ac_status=$?
55703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55704 (exit $ac_status); }; }; then
55705 glibcxx_cv_func_hypot_use=yes
55706 else
55707 echo "$as_me: failed program was:" >&5
55708 sed 's/^/| /' conftest.$ac_ext >&5
55710 glibcxx_cv_func_hypot_use=no
55712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55713 ac_ext=c
55714 ac_cpp='$CPP $CPPFLAGS'
55715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55723 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
55724 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
55726 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55728 for ac_func in hypot
55730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55731 echo "$as_me:$LINENO: checking for $ac_func" >&5
55732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55733 if eval "test \"\${$as_ac_var+set}\" = set"; then
55734 echo $ECHO_N "(cached) $ECHO_C" >&6
55735 else
55736 if test x$gcc_no_link = xyes; then
55737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55739 { (exit 1); exit 1; }; }
55741 cat >conftest.$ac_ext <<_ACEOF
55742 /* confdefs.h. */
55743 _ACEOF
55744 cat confdefs.h >>conftest.$ac_ext
55745 cat >>conftest.$ac_ext <<_ACEOF
55746 /* end confdefs.h. */
55747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55749 #define $ac_func innocuous_$ac_func
55751 /* System header to define __stub macros and hopefully few prototypes,
55752 which can conflict with char $ac_func (); below.
55753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55754 <limits.h> exists even on freestanding compilers. */
55756 #ifdef __STDC__
55757 # include <limits.h>
55758 #else
55759 # include <assert.h>
55760 #endif
55762 #undef $ac_func
55764 /* Override any gcc2 internal prototype to avoid an error. */
55765 #ifdef __cplusplus
55766 extern "C"
55768 #endif
55769 /* We use char because int might match the return type of a gcc2
55770 builtin and then its argument prototype would still apply. */
55771 char $ac_func ();
55772 /* The GNU C library defines this for functions which it implements
55773 to always fail with ENOSYS. Some functions are actually named
55774 something starting with __ and the normal name is an alias. */
55775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55776 choke me
55777 #else
55778 char (*f) () = $ac_func;
55779 #endif
55780 #ifdef __cplusplus
55782 #endif
55785 main ()
55787 return f != $ac_func;
55789 return 0;
55791 _ACEOF
55792 rm -f conftest.$ac_objext conftest$ac_exeext
55793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55794 (eval $ac_link) 2>conftest.er1
55795 ac_status=$?
55796 grep -v '^ *+' conftest.er1 >conftest.err
55797 rm -f conftest.er1
55798 cat conftest.err >&5
55799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55800 (exit $ac_status); } &&
55801 { ac_try='test -z "$ac_c_werror_flag"
55802 || test ! -s conftest.err'
55803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55804 (eval $ac_try) 2>&5
55805 ac_status=$?
55806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55807 (exit $ac_status); }; } &&
55808 { ac_try='test -s conftest$ac_exeext'
55809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55810 (eval $ac_try) 2>&5
55811 ac_status=$?
55812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55813 (exit $ac_status); }; }; then
55814 eval "$as_ac_var=yes"
55815 else
55816 echo "$as_me: failed program was:" >&5
55817 sed 's/^/| /' conftest.$ac_ext >&5
55819 eval "$as_ac_var=no"
55821 rm -f conftest.err conftest.$ac_objext \
55822 conftest$ac_exeext conftest.$ac_ext
55824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55826 if test `eval echo '${'$as_ac_var'}'` = yes; then
55827 cat >>confdefs.h <<_ACEOF
55828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55829 _ACEOF
55832 done
55834 else
55836 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
55837 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
55838 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55839 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
55840 echo $ECHO_N "(cached) $ECHO_C" >&6
55841 else
55845 ac_ext=cc
55846 ac_cpp='$CXXCPP $CPPFLAGS'
55847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55851 cat >conftest.$ac_ext <<_ACEOF
55852 /* confdefs.h. */
55853 _ACEOF
55854 cat confdefs.h >>conftest.$ac_ext
55855 cat >>conftest.$ac_ext <<_ACEOF
55856 /* end confdefs.h. */
55857 #include <math.h>
55859 main ()
55861 _hypot(0, 0);
55863 return 0;
55865 _ACEOF
55866 rm -f conftest.$ac_objext
55867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55868 (eval $ac_compile) 2>conftest.er1
55869 ac_status=$?
55870 grep -v '^ *+' conftest.er1 >conftest.err
55871 rm -f conftest.er1
55872 cat conftest.err >&5
55873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55874 (exit $ac_status); } &&
55875 { ac_try='test -z "$ac_cxx_werror_flag"
55876 || test ! -s conftest.err'
55877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55878 (eval $ac_try) 2>&5
55879 ac_status=$?
55880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55881 (exit $ac_status); }; } &&
55882 { ac_try='test -s conftest.$ac_objext'
55883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55884 (eval $ac_try) 2>&5
55885 ac_status=$?
55886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55887 (exit $ac_status); }; }; then
55888 glibcxx_cv_func__hypot_use=yes
55889 else
55890 echo "$as_me: failed program was:" >&5
55891 sed 's/^/| /' conftest.$ac_ext >&5
55893 glibcxx_cv_func__hypot_use=no
55895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55896 ac_ext=c
55897 ac_cpp='$CPP $CPPFLAGS'
55898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55906 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
55907 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
55909 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
55911 for ac_func in _hypot
55913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55914 echo "$as_me:$LINENO: checking for $ac_func" >&5
55915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55916 if eval "test \"\${$as_ac_var+set}\" = set"; then
55917 echo $ECHO_N "(cached) $ECHO_C" >&6
55918 else
55919 if test x$gcc_no_link = xyes; then
55920 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55922 { (exit 1); exit 1; }; }
55924 cat >conftest.$ac_ext <<_ACEOF
55925 /* confdefs.h. */
55926 _ACEOF
55927 cat confdefs.h >>conftest.$ac_ext
55928 cat >>conftest.$ac_ext <<_ACEOF
55929 /* end confdefs.h. */
55930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55932 #define $ac_func innocuous_$ac_func
55934 /* System header to define __stub macros and hopefully few prototypes,
55935 which can conflict with char $ac_func (); below.
55936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55937 <limits.h> exists even on freestanding compilers. */
55939 #ifdef __STDC__
55940 # include <limits.h>
55941 #else
55942 # include <assert.h>
55943 #endif
55945 #undef $ac_func
55947 /* Override any gcc2 internal prototype to avoid an error. */
55948 #ifdef __cplusplus
55949 extern "C"
55951 #endif
55952 /* We use char because int might match the return type of a gcc2
55953 builtin and then its argument prototype would still apply. */
55954 char $ac_func ();
55955 /* The GNU C library defines this for functions which it implements
55956 to always fail with ENOSYS. Some functions are actually named
55957 something starting with __ and the normal name is an alias. */
55958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55959 choke me
55960 #else
55961 char (*f) () = $ac_func;
55962 #endif
55963 #ifdef __cplusplus
55965 #endif
55968 main ()
55970 return f != $ac_func;
55972 return 0;
55974 _ACEOF
55975 rm -f conftest.$ac_objext conftest$ac_exeext
55976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55977 (eval $ac_link) 2>conftest.er1
55978 ac_status=$?
55979 grep -v '^ *+' conftest.er1 >conftest.err
55980 rm -f conftest.er1
55981 cat conftest.err >&5
55982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55983 (exit $ac_status); } &&
55984 { ac_try='test -z "$ac_c_werror_flag"
55985 || test ! -s conftest.err'
55986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55987 (eval $ac_try) 2>&5
55988 ac_status=$?
55989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55990 (exit $ac_status); }; } &&
55991 { ac_try='test -s conftest$ac_exeext'
55992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55993 (eval $ac_try) 2>&5
55994 ac_status=$?
55995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55996 (exit $ac_status); }; }; then
55997 eval "$as_ac_var=yes"
55998 else
55999 echo "$as_me: failed program was:" >&5
56000 sed 's/^/| /' conftest.$ac_ext >&5
56002 eval "$as_ac_var=no"
56004 rm -f conftest.err conftest.$ac_objext \
56005 conftest$ac_exeext conftest.$ac_ext
56007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56008 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56009 if test `eval echo '${'$as_ac_var'}'` = yes; then
56010 cat >>confdefs.h <<_ACEOF
56011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56012 _ACEOF
56015 done
56025 echo "$as_me:$LINENO: checking for float trig functions" >&5
56026 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
56027 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
56028 echo $ECHO_N "(cached) $ECHO_C" >&6
56029 else
56033 ac_ext=cc
56034 ac_cpp='$CXXCPP $CPPFLAGS'
56035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56039 cat >conftest.$ac_ext <<_ACEOF
56040 /* confdefs.h. */
56041 _ACEOF
56042 cat confdefs.h >>conftest.$ac_ext
56043 cat >>conftest.$ac_ext <<_ACEOF
56044 /* end confdefs.h. */
56045 #include <math.h>
56047 main ()
56049 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
56051 return 0;
56053 _ACEOF
56054 rm -f conftest.$ac_objext
56055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56056 (eval $ac_compile) 2>conftest.er1
56057 ac_status=$?
56058 grep -v '^ *+' conftest.er1 >conftest.err
56059 rm -f conftest.er1
56060 cat conftest.err >&5
56061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56062 (exit $ac_status); } &&
56063 { ac_try='test -z "$ac_cxx_werror_flag"
56064 || test ! -s conftest.err'
56065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56066 (eval $ac_try) 2>&5
56067 ac_status=$?
56068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56069 (exit $ac_status); }; } &&
56070 { ac_try='test -s conftest.$ac_objext'
56071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56072 (eval $ac_try) 2>&5
56073 ac_status=$?
56074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56075 (exit $ac_status); }; }; then
56076 glibcxx_cv_func_float_trig_use=yes
56077 else
56078 echo "$as_me: failed program was:" >&5
56079 sed 's/^/| /' conftest.$ac_ext >&5
56081 glibcxx_cv_func_float_trig_use=no
56083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56084 ac_ext=c
56085 ac_cpp='$CPP $CPPFLAGS'
56086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56092 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
56093 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
56094 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
56104 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
56106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56107 echo "$as_me:$LINENO: checking for $ac_func" >&5
56108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56109 if eval "test \"\${$as_ac_var+set}\" = set"; then
56110 echo $ECHO_N "(cached) $ECHO_C" >&6
56111 else
56112 if test x$gcc_no_link = xyes; then
56113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56115 { (exit 1); exit 1; }; }
56117 cat >conftest.$ac_ext <<_ACEOF
56118 /* confdefs.h. */
56119 _ACEOF
56120 cat confdefs.h >>conftest.$ac_ext
56121 cat >>conftest.$ac_ext <<_ACEOF
56122 /* end confdefs.h. */
56123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56125 #define $ac_func innocuous_$ac_func
56127 /* System header to define __stub macros and hopefully few prototypes,
56128 which can conflict with char $ac_func (); below.
56129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56130 <limits.h> exists even on freestanding compilers. */
56132 #ifdef __STDC__
56133 # include <limits.h>
56134 #else
56135 # include <assert.h>
56136 #endif
56138 #undef $ac_func
56140 /* Override any gcc2 internal prototype to avoid an error. */
56141 #ifdef __cplusplus
56142 extern "C"
56144 #endif
56145 /* We use char because int might match the return type of a gcc2
56146 builtin and then its argument prototype would still apply. */
56147 char $ac_func ();
56148 /* The GNU C library defines this for functions which it implements
56149 to always fail with ENOSYS. Some functions are actually named
56150 something starting with __ and the normal name is an alias. */
56151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56152 choke me
56153 #else
56154 char (*f) () = $ac_func;
56155 #endif
56156 #ifdef __cplusplus
56158 #endif
56161 main ()
56163 return f != $ac_func;
56165 return 0;
56167 _ACEOF
56168 rm -f conftest.$ac_objext conftest$ac_exeext
56169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56170 (eval $ac_link) 2>conftest.er1
56171 ac_status=$?
56172 grep -v '^ *+' conftest.er1 >conftest.err
56173 rm -f conftest.er1
56174 cat conftest.err >&5
56175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56176 (exit $ac_status); } &&
56177 { ac_try='test -z "$ac_c_werror_flag"
56178 || test ! -s conftest.err'
56179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56180 (eval $ac_try) 2>&5
56181 ac_status=$?
56182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56183 (exit $ac_status); }; } &&
56184 { ac_try='test -s conftest$ac_exeext'
56185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56186 (eval $ac_try) 2>&5
56187 ac_status=$?
56188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56189 (exit $ac_status); }; }; then
56190 eval "$as_ac_var=yes"
56191 else
56192 echo "$as_me: failed program was:" >&5
56193 sed 's/^/| /' conftest.$ac_ext >&5
56195 eval "$as_ac_var=no"
56197 rm -f conftest.err conftest.$ac_objext \
56198 conftest$ac_exeext conftest.$ac_ext
56200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56202 if test `eval echo '${'$as_ac_var'}'` = yes; then
56203 cat >>confdefs.h <<_ACEOF
56204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56205 _ACEOF
56208 done
56210 else
56211 echo "$as_me:$LINENO: checking for _float trig functions" >&5
56212 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
56213 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
56214 echo $ECHO_N "(cached) $ECHO_C" >&6
56215 else
56219 ac_ext=cc
56220 ac_cpp='$CXXCPP $CPPFLAGS'
56221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56225 cat >conftest.$ac_ext <<_ACEOF
56226 /* confdefs.h. */
56227 _ACEOF
56228 cat confdefs.h >>conftest.$ac_ext
56229 cat >>conftest.$ac_ext <<_ACEOF
56230 /* end confdefs.h. */
56231 #include <math.h>
56233 main ()
56235 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
56237 return 0;
56239 _ACEOF
56240 rm -f conftest.$ac_objext
56241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56242 (eval $ac_compile) 2>conftest.er1
56243 ac_status=$?
56244 grep -v '^ *+' conftest.er1 >conftest.err
56245 rm -f conftest.er1
56246 cat conftest.err >&5
56247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56248 (exit $ac_status); } &&
56249 { ac_try='test -z "$ac_cxx_werror_flag"
56250 || test ! -s conftest.err'
56251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56252 (eval $ac_try) 2>&5
56253 ac_status=$?
56254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56255 (exit $ac_status); }; } &&
56256 { ac_try='test -s conftest.$ac_objext'
56257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56258 (eval $ac_try) 2>&5
56259 ac_status=$?
56260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56261 (exit $ac_status); }; }; then
56262 glibcxx_cv_func__float_trig_use=yes
56263 else
56264 echo "$as_me: failed program was:" >&5
56265 sed 's/^/| /' conftest.$ac_ext >&5
56267 glibcxx_cv_func__float_trig_use=no
56269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56270 ac_ext=c
56271 ac_cpp='$CPP $CPPFLAGS'
56272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56278 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
56279 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
56280 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
56290 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
56292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56293 echo "$as_me:$LINENO: checking for $ac_func" >&5
56294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56295 if eval "test \"\${$as_ac_var+set}\" = set"; then
56296 echo $ECHO_N "(cached) $ECHO_C" >&6
56297 else
56298 if test x$gcc_no_link = xyes; then
56299 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56301 { (exit 1); exit 1; }; }
56303 cat >conftest.$ac_ext <<_ACEOF
56304 /* confdefs.h. */
56305 _ACEOF
56306 cat confdefs.h >>conftest.$ac_ext
56307 cat >>conftest.$ac_ext <<_ACEOF
56308 /* end confdefs.h. */
56309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56311 #define $ac_func innocuous_$ac_func
56313 /* System header to define __stub macros and hopefully few prototypes,
56314 which can conflict with char $ac_func (); below.
56315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56316 <limits.h> exists even on freestanding compilers. */
56318 #ifdef __STDC__
56319 # include <limits.h>
56320 #else
56321 # include <assert.h>
56322 #endif
56324 #undef $ac_func
56326 /* Override any gcc2 internal prototype to avoid an error. */
56327 #ifdef __cplusplus
56328 extern "C"
56330 #endif
56331 /* We use char because int might match the return type of a gcc2
56332 builtin and then its argument prototype would still apply. */
56333 char $ac_func ();
56334 /* The GNU C library defines this for functions which it implements
56335 to always fail with ENOSYS. Some functions are actually named
56336 something starting with __ and the normal name is an alias. */
56337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56338 choke me
56339 #else
56340 char (*f) () = $ac_func;
56341 #endif
56342 #ifdef __cplusplus
56344 #endif
56347 main ()
56349 return f != $ac_func;
56351 return 0;
56353 _ACEOF
56354 rm -f conftest.$ac_objext conftest$ac_exeext
56355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56356 (eval $ac_link) 2>conftest.er1
56357 ac_status=$?
56358 grep -v '^ *+' conftest.er1 >conftest.err
56359 rm -f conftest.er1
56360 cat conftest.err >&5
56361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56362 (exit $ac_status); } &&
56363 { ac_try='test -z "$ac_c_werror_flag"
56364 || test ! -s conftest.err'
56365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56366 (eval $ac_try) 2>&5
56367 ac_status=$?
56368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56369 (exit $ac_status); }; } &&
56370 { ac_try='test -s conftest$ac_exeext'
56371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56372 (eval $ac_try) 2>&5
56373 ac_status=$?
56374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56375 (exit $ac_status); }; }; then
56376 eval "$as_ac_var=yes"
56377 else
56378 echo "$as_me: failed program was:" >&5
56379 sed 's/^/| /' conftest.$ac_ext >&5
56381 eval "$as_ac_var=no"
56383 rm -f conftest.err conftest.$ac_objext \
56384 conftest$ac_exeext conftest.$ac_ext
56386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56388 if test `eval echo '${'$as_ac_var'}'` = yes; then
56389 cat >>confdefs.h <<_ACEOF
56390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56391 _ACEOF
56394 done
56412 echo "$as_me:$LINENO: checking for float round functions" >&5
56413 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
56414 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
56415 echo $ECHO_N "(cached) $ECHO_C" >&6
56416 else
56420 ac_ext=cc
56421 ac_cpp='$CXXCPP $CPPFLAGS'
56422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56426 cat >conftest.$ac_ext <<_ACEOF
56427 /* confdefs.h. */
56428 _ACEOF
56429 cat confdefs.h >>conftest.$ac_ext
56430 cat >>conftest.$ac_ext <<_ACEOF
56431 /* end confdefs.h. */
56432 #include <math.h>
56434 main ()
56436 ceilf (0); floorf (0);
56438 return 0;
56440 _ACEOF
56441 rm -f conftest.$ac_objext
56442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56443 (eval $ac_compile) 2>conftest.er1
56444 ac_status=$?
56445 grep -v '^ *+' conftest.er1 >conftest.err
56446 rm -f conftest.er1
56447 cat conftest.err >&5
56448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56449 (exit $ac_status); } &&
56450 { ac_try='test -z "$ac_cxx_werror_flag"
56451 || test ! -s conftest.err'
56452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56453 (eval $ac_try) 2>&5
56454 ac_status=$?
56455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56456 (exit $ac_status); }; } &&
56457 { ac_try='test -s conftest.$ac_objext'
56458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56459 (eval $ac_try) 2>&5
56460 ac_status=$?
56461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56462 (exit $ac_status); }; }; then
56463 glibcxx_cv_func_float_round_use=yes
56464 else
56465 echo "$as_me: failed program was:" >&5
56466 sed 's/^/| /' conftest.$ac_ext >&5
56468 glibcxx_cv_func_float_round_use=no
56470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56471 ac_ext=c
56472 ac_cpp='$CPP $CPPFLAGS'
56473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56479 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
56480 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
56481 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
56484 for ac_func in ceilf floorf
56486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56487 echo "$as_me:$LINENO: checking for $ac_func" >&5
56488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56489 if eval "test \"\${$as_ac_var+set}\" = set"; then
56490 echo $ECHO_N "(cached) $ECHO_C" >&6
56491 else
56492 if test x$gcc_no_link = xyes; then
56493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56495 { (exit 1); exit 1; }; }
56497 cat >conftest.$ac_ext <<_ACEOF
56498 /* confdefs.h. */
56499 _ACEOF
56500 cat confdefs.h >>conftest.$ac_ext
56501 cat >>conftest.$ac_ext <<_ACEOF
56502 /* end confdefs.h. */
56503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56505 #define $ac_func innocuous_$ac_func
56507 /* System header to define __stub macros and hopefully few prototypes,
56508 which can conflict with char $ac_func (); below.
56509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56510 <limits.h> exists even on freestanding compilers. */
56512 #ifdef __STDC__
56513 # include <limits.h>
56514 #else
56515 # include <assert.h>
56516 #endif
56518 #undef $ac_func
56520 /* Override any gcc2 internal prototype to avoid an error. */
56521 #ifdef __cplusplus
56522 extern "C"
56524 #endif
56525 /* We use char because int might match the return type of a gcc2
56526 builtin and then its argument prototype would still apply. */
56527 char $ac_func ();
56528 /* The GNU C library defines this for functions which it implements
56529 to always fail with ENOSYS. Some functions are actually named
56530 something starting with __ and the normal name is an alias. */
56531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56532 choke me
56533 #else
56534 char (*f) () = $ac_func;
56535 #endif
56536 #ifdef __cplusplus
56538 #endif
56541 main ()
56543 return f != $ac_func;
56545 return 0;
56547 _ACEOF
56548 rm -f conftest.$ac_objext conftest$ac_exeext
56549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56550 (eval $ac_link) 2>conftest.er1
56551 ac_status=$?
56552 grep -v '^ *+' conftest.er1 >conftest.err
56553 rm -f conftest.er1
56554 cat conftest.err >&5
56555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56556 (exit $ac_status); } &&
56557 { ac_try='test -z "$ac_c_werror_flag"
56558 || test ! -s conftest.err'
56559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56560 (eval $ac_try) 2>&5
56561 ac_status=$?
56562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56563 (exit $ac_status); }; } &&
56564 { ac_try='test -s conftest$ac_exeext'
56565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56566 (eval $ac_try) 2>&5
56567 ac_status=$?
56568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56569 (exit $ac_status); }; }; then
56570 eval "$as_ac_var=yes"
56571 else
56572 echo "$as_me: failed program was:" >&5
56573 sed 's/^/| /' conftest.$ac_ext >&5
56575 eval "$as_ac_var=no"
56577 rm -f conftest.err conftest.$ac_objext \
56578 conftest$ac_exeext conftest.$ac_ext
56580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56582 if test `eval echo '${'$as_ac_var'}'` = yes; then
56583 cat >>confdefs.h <<_ACEOF
56584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56585 _ACEOF
56588 done
56590 else
56591 echo "$as_me:$LINENO: checking for _float round functions" >&5
56592 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
56593 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
56594 echo $ECHO_N "(cached) $ECHO_C" >&6
56595 else
56599 ac_ext=cc
56600 ac_cpp='$CXXCPP $CPPFLAGS'
56601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56605 cat >conftest.$ac_ext <<_ACEOF
56606 /* confdefs.h. */
56607 _ACEOF
56608 cat confdefs.h >>conftest.$ac_ext
56609 cat >>conftest.$ac_ext <<_ACEOF
56610 /* end confdefs.h. */
56611 #include <math.h>
56613 main ()
56615 _ceilf (0); _floorf (0);
56617 return 0;
56619 _ACEOF
56620 rm -f conftest.$ac_objext
56621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56622 (eval $ac_compile) 2>conftest.er1
56623 ac_status=$?
56624 grep -v '^ *+' conftest.er1 >conftest.err
56625 rm -f conftest.er1
56626 cat conftest.err >&5
56627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56628 (exit $ac_status); } &&
56629 { ac_try='test -z "$ac_cxx_werror_flag"
56630 || test ! -s conftest.err'
56631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56632 (eval $ac_try) 2>&5
56633 ac_status=$?
56634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56635 (exit $ac_status); }; } &&
56636 { ac_try='test -s conftest.$ac_objext'
56637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56638 (eval $ac_try) 2>&5
56639 ac_status=$?
56640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56641 (exit $ac_status); }; }; then
56642 glibcxx_cv_func__float_round_use=yes
56643 else
56644 echo "$as_me: failed program was:" >&5
56645 sed 's/^/| /' conftest.$ac_ext >&5
56647 glibcxx_cv_func__float_round_use=no
56649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56650 ac_ext=c
56651 ac_cpp='$CPP $CPPFLAGS'
56652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56658 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
56659 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
56660 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
56663 for ac_func in _ceilf _floorf
56665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56666 echo "$as_me:$LINENO: checking for $ac_func" >&5
56667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56668 if eval "test \"\${$as_ac_var+set}\" = set"; then
56669 echo $ECHO_N "(cached) $ECHO_C" >&6
56670 else
56671 if test x$gcc_no_link = xyes; then
56672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56674 { (exit 1); exit 1; }; }
56676 cat >conftest.$ac_ext <<_ACEOF
56677 /* confdefs.h. */
56678 _ACEOF
56679 cat confdefs.h >>conftest.$ac_ext
56680 cat >>conftest.$ac_ext <<_ACEOF
56681 /* end confdefs.h. */
56682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56684 #define $ac_func innocuous_$ac_func
56686 /* System header to define __stub macros and hopefully few prototypes,
56687 which can conflict with char $ac_func (); below.
56688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56689 <limits.h> exists even on freestanding compilers. */
56691 #ifdef __STDC__
56692 # include <limits.h>
56693 #else
56694 # include <assert.h>
56695 #endif
56697 #undef $ac_func
56699 /* Override any gcc2 internal prototype to avoid an error. */
56700 #ifdef __cplusplus
56701 extern "C"
56703 #endif
56704 /* We use char because int might match the return type of a gcc2
56705 builtin and then its argument prototype would still apply. */
56706 char $ac_func ();
56707 /* The GNU C library defines this for functions which it implements
56708 to always fail with ENOSYS. Some functions are actually named
56709 something starting with __ and the normal name is an alias. */
56710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56711 choke me
56712 #else
56713 char (*f) () = $ac_func;
56714 #endif
56715 #ifdef __cplusplus
56717 #endif
56720 main ()
56722 return f != $ac_func;
56724 return 0;
56726 _ACEOF
56727 rm -f conftest.$ac_objext conftest$ac_exeext
56728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56729 (eval $ac_link) 2>conftest.er1
56730 ac_status=$?
56731 grep -v '^ *+' conftest.er1 >conftest.err
56732 rm -f conftest.er1
56733 cat conftest.err >&5
56734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56735 (exit $ac_status); } &&
56736 { ac_try='test -z "$ac_c_werror_flag"
56737 || test ! -s conftest.err'
56738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56739 (eval $ac_try) 2>&5
56740 ac_status=$?
56741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56742 (exit $ac_status); }; } &&
56743 { ac_try='test -s conftest$ac_exeext'
56744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56745 (eval $ac_try) 2>&5
56746 ac_status=$?
56747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56748 (exit $ac_status); }; }; then
56749 eval "$as_ac_var=yes"
56750 else
56751 echo "$as_me: failed program was:" >&5
56752 sed 's/^/| /' conftest.$ac_ext >&5
56754 eval "$as_ac_var=no"
56756 rm -f conftest.err conftest.$ac_objext \
56757 conftest$ac_exeext conftest.$ac_ext
56759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56761 if test `eval echo '${'$as_ac_var'}'` = yes; then
56762 cat >>confdefs.h <<_ACEOF
56763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56764 _ACEOF
56767 done
56779 echo "$as_me:$LINENO: checking for expf declaration" >&5
56780 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
56781 if test x${glibcxx_cv_func_expf_use+set} != xset; then
56782 if test "${glibcxx_cv_func_expf_use+set}" = set; then
56783 echo $ECHO_N "(cached) $ECHO_C" >&6
56784 else
56788 ac_ext=cc
56789 ac_cpp='$CXXCPP $CPPFLAGS'
56790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56794 cat >conftest.$ac_ext <<_ACEOF
56795 /* confdefs.h. */
56796 _ACEOF
56797 cat confdefs.h >>conftest.$ac_ext
56798 cat >>conftest.$ac_ext <<_ACEOF
56799 /* end confdefs.h. */
56800 #include <math.h>
56801 #ifdef HAVE_IEEEFP_H
56802 #include <ieeefp.h>
56803 #endif
56806 main ()
56808 expf(0);
56810 return 0;
56812 _ACEOF
56813 rm -f conftest.$ac_objext
56814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56815 (eval $ac_compile) 2>conftest.er1
56816 ac_status=$?
56817 grep -v '^ *+' conftest.er1 >conftest.err
56818 rm -f conftest.er1
56819 cat conftest.err >&5
56820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56821 (exit $ac_status); } &&
56822 { ac_try='test -z "$ac_cxx_werror_flag"
56823 || test ! -s conftest.err'
56824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56825 (eval $ac_try) 2>&5
56826 ac_status=$?
56827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56828 (exit $ac_status); }; } &&
56829 { ac_try='test -s conftest.$ac_objext'
56830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56831 (eval $ac_try) 2>&5
56832 ac_status=$?
56833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56834 (exit $ac_status); }; }; then
56835 glibcxx_cv_func_expf_use=yes
56836 else
56837 echo "$as_me: failed program was:" >&5
56838 sed 's/^/| /' conftest.$ac_ext >&5
56840 glibcxx_cv_func_expf_use=no
56842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56843 ac_ext=c
56844 ac_cpp='$CPP $CPPFLAGS'
56845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56853 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
56854 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
56856 if test x$glibcxx_cv_func_expf_use = x"yes"; then
56858 for ac_func in expf
56860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56861 echo "$as_me:$LINENO: checking for $ac_func" >&5
56862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56863 if eval "test \"\${$as_ac_var+set}\" = set"; then
56864 echo $ECHO_N "(cached) $ECHO_C" >&6
56865 else
56866 if test x$gcc_no_link = xyes; then
56867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56869 { (exit 1); exit 1; }; }
56871 cat >conftest.$ac_ext <<_ACEOF
56872 /* confdefs.h. */
56873 _ACEOF
56874 cat confdefs.h >>conftest.$ac_ext
56875 cat >>conftest.$ac_ext <<_ACEOF
56876 /* end confdefs.h. */
56877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56879 #define $ac_func innocuous_$ac_func
56881 /* System header to define __stub macros and hopefully few prototypes,
56882 which can conflict with char $ac_func (); below.
56883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56884 <limits.h> exists even on freestanding compilers. */
56886 #ifdef __STDC__
56887 # include <limits.h>
56888 #else
56889 # include <assert.h>
56890 #endif
56892 #undef $ac_func
56894 /* Override any gcc2 internal prototype to avoid an error. */
56895 #ifdef __cplusplus
56896 extern "C"
56898 #endif
56899 /* We use char because int might match the return type of a gcc2
56900 builtin and then its argument prototype would still apply. */
56901 char $ac_func ();
56902 /* The GNU C library defines this for functions which it implements
56903 to always fail with ENOSYS. Some functions are actually named
56904 something starting with __ and the normal name is an alias. */
56905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56906 choke me
56907 #else
56908 char (*f) () = $ac_func;
56909 #endif
56910 #ifdef __cplusplus
56912 #endif
56915 main ()
56917 return f != $ac_func;
56919 return 0;
56921 _ACEOF
56922 rm -f conftest.$ac_objext conftest$ac_exeext
56923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56924 (eval $ac_link) 2>conftest.er1
56925 ac_status=$?
56926 grep -v '^ *+' conftest.er1 >conftest.err
56927 rm -f conftest.er1
56928 cat conftest.err >&5
56929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56930 (exit $ac_status); } &&
56931 { ac_try='test -z "$ac_c_werror_flag"
56932 || test ! -s conftest.err'
56933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56934 (eval $ac_try) 2>&5
56935 ac_status=$?
56936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56937 (exit $ac_status); }; } &&
56938 { ac_try='test -s conftest$ac_exeext'
56939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56940 (eval $ac_try) 2>&5
56941 ac_status=$?
56942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56943 (exit $ac_status); }; }; then
56944 eval "$as_ac_var=yes"
56945 else
56946 echo "$as_me: failed program was:" >&5
56947 sed 's/^/| /' conftest.$ac_ext >&5
56949 eval "$as_ac_var=no"
56951 rm -f conftest.err conftest.$ac_objext \
56952 conftest$ac_exeext conftest.$ac_ext
56954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56956 if test `eval echo '${'$as_ac_var'}'` = yes; then
56957 cat >>confdefs.h <<_ACEOF
56958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56959 _ACEOF
56962 done
56964 else
56966 echo "$as_me:$LINENO: checking for _expf declaration" >&5
56967 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
56968 if test x${glibcxx_cv_func__expf_use+set} != xset; then
56969 if test "${glibcxx_cv_func__expf_use+set}" = set; then
56970 echo $ECHO_N "(cached) $ECHO_C" >&6
56971 else
56975 ac_ext=cc
56976 ac_cpp='$CXXCPP $CPPFLAGS'
56977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56981 cat >conftest.$ac_ext <<_ACEOF
56982 /* confdefs.h. */
56983 _ACEOF
56984 cat confdefs.h >>conftest.$ac_ext
56985 cat >>conftest.$ac_ext <<_ACEOF
56986 /* end confdefs.h. */
56987 #include <math.h>
56988 #ifdef HAVE_IEEEFP_H
56989 #include <ieeefp.h>
56990 #endif
56993 main ()
56995 _expf(0);
56997 return 0;
56999 _ACEOF
57000 rm -f conftest.$ac_objext
57001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57002 (eval $ac_compile) 2>conftest.er1
57003 ac_status=$?
57004 grep -v '^ *+' conftest.er1 >conftest.err
57005 rm -f conftest.er1
57006 cat conftest.err >&5
57007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57008 (exit $ac_status); } &&
57009 { ac_try='test -z "$ac_cxx_werror_flag"
57010 || test ! -s conftest.err'
57011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57012 (eval $ac_try) 2>&5
57013 ac_status=$?
57014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57015 (exit $ac_status); }; } &&
57016 { ac_try='test -s conftest.$ac_objext'
57017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57018 (eval $ac_try) 2>&5
57019 ac_status=$?
57020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57021 (exit $ac_status); }; }; then
57022 glibcxx_cv_func__expf_use=yes
57023 else
57024 echo "$as_me: failed program was:" >&5
57025 sed 's/^/| /' conftest.$ac_ext >&5
57027 glibcxx_cv_func__expf_use=no
57029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57030 ac_ext=c
57031 ac_cpp='$CPP $CPPFLAGS'
57032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57040 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
57041 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
57043 if test x$glibcxx_cv_func__expf_use = x"yes"; then
57045 for ac_func in _expf
57047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57048 echo "$as_me:$LINENO: checking for $ac_func" >&5
57049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57050 if eval "test \"\${$as_ac_var+set}\" = set"; then
57051 echo $ECHO_N "(cached) $ECHO_C" >&6
57052 else
57053 if test x$gcc_no_link = xyes; then
57054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57056 { (exit 1); exit 1; }; }
57058 cat >conftest.$ac_ext <<_ACEOF
57059 /* confdefs.h. */
57060 _ACEOF
57061 cat confdefs.h >>conftest.$ac_ext
57062 cat >>conftest.$ac_ext <<_ACEOF
57063 /* end confdefs.h. */
57064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57066 #define $ac_func innocuous_$ac_func
57068 /* System header to define __stub macros and hopefully few prototypes,
57069 which can conflict with char $ac_func (); below.
57070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57071 <limits.h> exists even on freestanding compilers. */
57073 #ifdef __STDC__
57074 # include <limits.h>
57075 #else
57076 # include <assert.h>
57077 #endif
57079 #undef $ac_func
57081 /* Override any gcc2 internal prototype to avoid an error. */
57082 #ifdef __cplusplus
57083 extern "C"
57085 #endif
57086 /* We use char because int might match the return type of a gcc2
57087 builtin and then its argument prototype would still apply. */
57088 char $ac_func ();
57089 /* The GNU C library defines this for functions which it implements
57090 to always fail with ENOSYS. Some functions are actually named
57091 something starting with __ and the normal name is an alias. */
57092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57093 choke me
57094 #else
57095 char (*f) () = $ac_func;
57096 #endif
57097 #ifdef __cplusplus
57099 #endif
57102 main ()
57104 return f != $ac_func;
57106 return 0;
57108 _ACEOF
57109 rm -f conftest.$ac_objext conftest$ac_exeext
57110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57111 (eval $ac_link) 2>conftest.er1
57112 ac_status=$?
57113 grep -v '^ *+' conftest.er1 >conftest.err
57114 rm -f conftest.er1
57115 cat conftest.err >&5
57116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57117 (exit $ac_status); } &&
57118 { ac_try='test -z "$ac_c_werror_flag"
57119 || test ! -s conftest.err'
57120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57121 (eval $ac_try) 2>&5
57122 ac_status=$?
57123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57124 (exit $ac_status); }; } &&
57125 { ac_try='test -s conftest$ac_exeext'
57126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57127 (eval $ac_try) 2>&5
57128 ac_status=$?
57129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57130 (exit $ac_status); }; }; then
57131 eval "$as_ac_var=yes"
57132 else
57133 echo "$as_me: failed program was:" >&5
57134 sed 's/^/| /' conftest.$ac_ext >&5
57136 eval "$as_ac_var=no"
57138 rm -f conftest.err conftest.$ac_objext \
57139 conftest$ac_exeext conftest.$ac_ext
57141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57143 if test `eval echo '${'$as_ac_var'}'` = yes; then
57144 cat >>confdefs.h <<_ACEOF
57145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57146 _ACEOF
57149 done
57159 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
57160 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
57161 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
57162 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
57163 echo $ECHO_N "(cached) $ECHO_C" >&6
57164 else
57168 ac_ext=cc
57169 ac_cpp='$CXXCPP $CPPFLAGS'
57170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57174 cat >conftest.$ac_ext <<_ACEOF
57175 /* confdefs.h. */
57176 _ACEOF
57177 cat confdefs.h >>conftest.$ac_ext
57178 cat >>conftest.$ac_ext <<_ACEOF
57179 /* end confdefs.h. */
57180 #include <math.h>
57181 #ifdef HAVE_IEEEFP_H
57182 #include <ieeefp.h>
57183 #endif
57186 main ()
57188 isnanf(0);
57190 return 0;
57192 _ACEOF
57193 rm -f conftest.$ac_objext
57194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57195 (eval $ac_compile) 2>conftest.er1
57196 ac_status=$?
57197 grep -v '^ *+' conftest.er1 >conftest.err
57198 rm -f conftest.er1
57199 cat conftest.err >&5
57200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57201 (exit $ac_status); } &&
57202 { ac_try='test -z "$ac_cxx_werror_flag"
57203 || test ! -s conftest.err'
57204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57205 (eval $ac_try) 2>&5
57206 ac_status=$?
57207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57208 (exit $ac_status); }; } &&
57209 { ac_try='test -s conftest.$ac_objext'
57210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57211 (eval $ac_try) 2>&5
57212 ac_status=$?
57213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57214 (exit $ac_status); }; }; then
57215 glibcxx_cv_func_isnanf_use=yes
57216 else
57217 echo "$as_me: failed program was:" >&5
57218 sed 's/^/| /' conftest.$ac_ext >&5
57220 glibcxx_cv_func_isnanf_use=no
57222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57223 ac_ext=c
57224 ac_cpp='$CPP $CPPFLAGS'
57225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57233 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
57234 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
57236 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
57238 for ac_func in isnanf
57240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57241 echo "$as_me:$LINENO: checking for $ac_func" >&5
57242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57243 if eval "test \"\${$as_ac_var+set}\" = set"; then
57244 echo $ECHO_N "(cached) $ECHO_C" >&6
57245 else
57246 if test x$gcc_no_link = xyes; then
57247 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57249 { (exit 1); exit 1; }; }
57251 cat >conftest.$ac_ext <<_ACEOF
57252 /* confdefs.h. */
57253 _ACEOF
57254 cat confdefs.h >>conftest.$ac_ext
57255 cat >>conftest.$ac_ext <<_ACEOF
57256 /* end confdefs.h. */
57257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57259 #define $ac_func innocuous_$ac_func
57261 /* System header to define __stub macros and hopefully few prototypes,
57262 which can conflict with char $ac_func (); below.
57263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57264 <limits.h> exists even on freestanding compilers. */
57266 #ifdef __STDC__
57267 # include <limits.h>
57268 #else
57269 # include <assert.h>
57270 #endif
57272 #undef $ac_func
57274 /* Override any gcc2 internal prototype to avoid an error. */
57275 #ifdef __cplusplus
57276 extern "C"
57278 #endif
57279 /* We use char because int might match the return type of a gcc2
57280 builtin and then its argument prototype would still apply. */
57281 char $ac_func ();
57282 /* The GNU C library defines this for functions which it implements
57283 to always fail with ENOSYS. Some functions are actually named
57284 something starting with __ and the normal name is an alias. */
57285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57286 choke me
57287 #else
57288 char (*f) () = $ac_func;
57289 #endif
57290 #ifdef __cplusplus
57292 #endif
57295 main ()
57297 return f != $ac_func;
57299 return 0;
57301 _ACEOF
57302 rm -f conftest.$ac_objext conftest$ac_exeext
57303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57304 (eval $ac_link) 2>conftest.er1
57305 ac_status=$?
57306 grep -v '^ *+' conftest.er1 >conftest.err
57307 rm -f conftest.er1
57308 cat conftest.err >&5
57309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57310 (exit $ac_status); } &&
57311 { ac_try='test -z "$ac_c_werror_flag"
57312 || test ! -s conftest.err'
57313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57314 (eval $ac_try) 2>&5
57315 ac_status=$?
57316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57317 (exit $ac_status); }; } &&
57318 { ac_try='test -s conftest$ac_exeext'
57319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57320 (eval $ac_try) 2>&5
57321 ac_status=$?
57322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57323 (exit $ac_status); }; }; then
57324 eval "$as_ac_var=yes"
57325 else
57326 echo "$as_me: failed program was:" >&5
57327 sed 's/^/| /' conftest.$ac_ext >&5
57329 eval "$as_ac_var=no"
57331 rm -f conftest.err conftest.$ac_objext \
57332 conftest$ac_exeext conftest.$ac_ext
57334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57336 if test `eval echo '${'$as_ac_var'}'` = yes; then
57337 cat >>confdefs.h <<_ACEOF
57338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57339 _ACEOF
57342 done
57344 else
57346 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
57347 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
57348 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
57349 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
57350 echo $ECHO_N "(cached) $ECHO_C" >&6
57351 else
57355 ac_ext=cc
57356 ac_cpp='$CXXCPP $CPPFLAGS'
57357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57361 cat >conftest.$ac_ext <<_ACEOF
57362 /* confdefs.h. */
57363 _ACEOF
57364 cat confdefs.h >>conftest.$ac_ext
57365 cat >>conftest.$ac_ext <<_ACEOF
57366 /* end confdefs.h. */
57367 #include <math.h>
57368 #ifdef HAVE_IEEEFP_H
57369 #include <ieeefp.h>
57370 #endif
57373 main ()
57375 _isnanf(0);
57377 return 0;
57379 _ACEOF
57380 rm -f conftest.$ac_objext
57381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57382 (eval $ac_compile) 2>conftest.er1
57383 ac_status=$?
57384 grep -v '^ *+' conftest.er1 >conftest.err
57385 rm -f conftest.er1
57386 cat conftest.err >&5
57387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57388 (exit $ac_status); } &&
57389 { ac_try='test -z "$ac_cxx_werror_flag"
57390 || test ! -s conftest.err'
57391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57392 (eval $ac_try) 2>&5
57393 ac_status=$?
57394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57395 (exit $ac_status); }; } &&
57396 { ac_try='test -s conftest.$ac_objext'
57397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57398 (eval $ac_try) 2>&5
57399 ac_status=$?
57400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57401 (exit $ac_status); }; }; then
57402 glibcxx_cv_func__isnanf_use=yes
57403 else
57404 echo "$as_me: failed program was:" >&5
57405 sed 's/^/| /' conftest.$ac_ext >&5
57407 glibcxx_cv_func__isnanf_use=no
57409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57410 ac_ext=c
57411 ac_cpp='$CPP $CPPFLAGS'
57412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57420 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
57421 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
57423 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
57425 for ac_func in _isnanf
57427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57428 echo "$as_me:$LINENO: checking for $ac_func" >&5
57429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57430 if eval "test \"\${$as_ac_var+set}\" = set"; then
57431 echo $ECHO_N "(cached) $ECHO_C" >&6
57432 else
57433 if test x$gcc_no_link = xyes; then
57434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57436 { (exit 1); exit 1; }; }
57438 cat >conftest.$ac_ext <<_ACEOF
57439 /* confdefs.h. */
57440 _ACEOF
57441 cat confdefs.h >>conftest.$ac_ext
57442 cat >>conftest.$ac_ext <<_ACEOF
57443 /* end confdefs.h. */
57444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57446 #define $ac_func innocuous_$ac_func
57448 /* System header to define __stub macros and hopefully few prototypes,
57449 which can conflict with char $ac_func (); below.
57450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57451 <limits.h> exists even on freestanding compilers. */
57453 #ifdef __STDC__
57454 # include <limits.h>
57455 #else
57456 # include <assert.h>
57457 #endif
57459 #undef $ac_func
57461 /* Override any gcc2 internal prototype to avoid an error. */
57462 #ifdef __cplusplus
57463 extern "C"
57465 #endif
57466 /* We use char because int might match the return type of a gcc2
57467 builtin and then its argument prototype would still apply. */
57468 char $ac_func ();
57469 /* The GNU C library defines this for functions which it implements
57470 to always fail with ENOSYS. Some functions are actually named
57471 something starting with __ and the normal name is an alias. */
57472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57473 choke me
57474 #else
57475 char (*f) () = $ac_func;
57476 #endif
57477 #ifdef __cplusplus
57479 #endif
57482 main ()
57484 return f != $ac_func;
57486 return 0;
57488 _ACEOF
57489 rm -f conftest.$ac_objext conftest$ac_exeext
57490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57491 (eval $ac_link) 2>conftest.er1
57492 ac_status=$?
57493 grep -v '^ *+' conftest.er1 >conftest.err
57494 rm -f conftest.er1
57495 cat conftest.err >&5
57496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57497 (exit $ac_status); } &&
57498 { ac_try='test -z "$ac_c_werror_flag"
57499 || test ! -s conftest.err'
57500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57501 (eval $ac_try) 2>&5
57502 ac_status=$?
57503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57504 (exit $ac_status); }; } &&
57505 { ac_try='test -s conftest$ac_exeext'
57506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57507 (eval $ac_try) 2>&5
57508 ac_status=$?
57509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57510 (exit $ac_status); }; }; then
57511 eval "$as_ac_var=yes"
57512 else
57513 echo "$as_me: failed program was:" >&5
57514 sed 's/^/| /' conftest.$ac_ext >&5
57516 eval "$as_ac_var=no"
57518 rm -f conftest.err conftest.$ac_objext \
57519 conftest$ac_exeext conftest.$ac_ext
57521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57523 if test `eval echo '${'$as_ac_var'}'` = yes; then
57524 cat >>confdefs.h <<_ACEOF
57525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57526 _ACEOF
57529 done
57539 echo "$as_me:$LINENO: checking for isinff declaration" >&5
57540 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
57541 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
57542 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
57543 echo $ECHO_N "(cached) $ECHO_C" >&6
57544 else
57548 ac_ext=cc
57549 ac_cpp='$CXXCPP $CPPFLAGS'
57550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57554 cat >conftest.$ac_ext <<_ACEOF
57555 /* confdefs.h. */
57556 _ACEOF
57557 cat confdefs.h >>conftest.$ac_ext
57558 cat >>conftest.$ac_ext <<_ACEOF
57559 /* end confdefs.h. */
57560 #include <math.h>
57561 #ifdef HAVE_IEEEFP_H
57562 #include <ieeefp.h>
57563 #endif
57566 main ()
57568 isinff(0);
57570 return 0;
57572 _ACEOF
57573 rm -f conftest.$ac_objext
57574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57575 (eval $ac_compile) 2>conftest.er1
57576 ac_status=$?
57577 grep -v '^ *+' conftest.er1 >conftest.err
57578 rm -f conftest.er1
57579 cat conftest.err >&5
57580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57581 (exit $ac_status); } &&
57582 { ac_try='test -z "$ac_cxx_werror_flag"
57583 || test ! -s conftest.err'
57584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57585 (eval $ac_try) 2>&5
57586 ac_status=$?
57587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57588 (exit $ac_status); }; } &&
57589 { ac_try='test -s conftest.$ac_objext'
57590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57591 (eval $ac_try) 2>&5
57592 ac_status=$?
57593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57594 (exit $ac_status); }; }; then
57595 glibcxx_cv_func_isinff_use=yes
57596 else
57597 echo "$as_me: failed program was:" >&5
57598 sed 's/^/| /' conftest.$ac_ext >&5
57600 glibcxx_cv_func_isinff_use=no
57602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57603 ac_ext=c
57604 ac_cpp='$CPP $CPPFLAGS'
57605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57613 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
57614 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
57616 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
57618 for ac_func in isinff
57620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57621 echo "$as_me:$LINENO: checking for $ac_func" >&5
57622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57623 if eval "test \"\${$as_ac_var+set}\" = set"; then
57624 echo $ECHO_N "(cached) $ECHO_C" >&6
57625 else
57626 if test x$gcc_no_link = xyes; then
57627 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57629 { (exit 1); exit 1; }; }
57631 cat >conftest.$ac_ext <<_ACEOF
57632 /* confdefs.h. */
57633 _ACEOF
57634 cat confdefs.h >>conftest.$ac_ext
57635 cat >>conftest.$ac_ext <<_ACEOF
57636 /* end confdefs.h. */
57637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57639 #define $ac_func innocuous_$ac_func
57641 /* System header to define __stub macros and hopefully few prototypes,
57642 which can conflict with char $ac_func (); below.
57643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57644 <limits.h> exists even on freestanding compilers. */
57646 #ifdef __STDC__
57647 # include <limits.h>
57648 #else
57649 # include <assert.h>
57650 #endif
57652 #undef $ac_func
57654 /* Override any gcc2 internal prototype to avoid an error. */
57655 #ifdef __cplusplus
57656 extern "C"
57658 #endif
57659 /* We use char because int might match the return type of a gcc2
57660 builtin and then its argument prototype would still apply. */
57661 char $ac_func ();
57662 /* The GNU C library defines this for functions which it implements
57663 to always fail with ENOSYS. Some functions are actually named
57664 something starting with __ and the normal name is an alias. */
57665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57666 choke me
57667 #else
57668 char (*f) () = $ac_func;
57669 #endif
57670 #ifdef __cplusplus
57672 #endif
57675 main ()
57677 return f != $ac_func;
57679 return 0;
57681 _ACEOF
57682 rm -f conftest.$ac_objext conftest$ac_exeext
57683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57684 (eval $ac_link) 2>conftest.er1
57685 ac_status=$?
57686 grep -v '^ *+' conftest.er1 >conftest.err
57687 rm -f conftest.er1
57688 cat conftest.err >&5
57689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57690 (exit $ac_status); } &&
57691 { ac_try='test -z "$ac_c_werror_flag"
57692 || test ! -s conftest.err'
57693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57694 (eval $ac_try) 2>&5
57695 ac_status=$?
57696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57697 (exit $ac_status); }; } &&
57698 { ac_try='test -s conftest$ac_exeext'
57699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57700 (eval $ac_try) 2>&5
57701 ac_status=$?
57702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57703 (exit $ac_status); }; }; then
57704 eval "$as_ac_var=yes"
57705 else
57706 echo "$as_me: failed program was:" >&5
57707 sed 's/^/| /' conftest.$ac_ext >&5
57709 eval "$as_ac_var=no"
57711 rm -f conftest.err conftest.$ac_objext \
57712 conftest$ac_exeext conftest.$ac_ext
57714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57716 if test `eval echo '${'$as_ac_var'}'` = yes; then
57717 cat >>confdefs.h <<_ACEOF
57718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57719 _ACEOF
57722 done
57724 else
57726 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
57727 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
57728 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
57729 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
57730 echo $ECHO_N "(cached) $ECHO_C" >&6
57731 else
57735 ac_ext=cc
57736 ac_cpp='$CXXCPP $CPPFLAGS'
57737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57741 cat >conftest.$ac_ext <<_ACEOF
57742 /* confdefs.h. */
57743 _ACEOF
57744 cat confdefs.h >>conftest.$ac_ext
57745 cat >>conftest.$ac_ext <<_ACEOF
57746 /* end confdefs.h. */
57747 #include <math.h>
57748 #ifdef HAVE_IEEEFP_H
57749 #include <ieeefp.h>
57750 #endif
57753 main ()
57755 _isinff(0);
57757 return 0;
57759 _ACEOF
57760 rm -f conftest.$ac_objext
57761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57762 (eval $ac_compile) 2>conftest.er1
57763 ac_status=$?
57764 grep -v '^ *+' conftest.er1 >conftest.err
57765 rm -f conftest.er1
57766 cat conftest.err >&5
57767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57768 (exit $ac_status); } &&
57769 { ac_try='test -z "$ac_cxx_werror_flag"
57770 || test ! -s conftest.err'
57771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57772 (eval $ac_try) 2>&5
57773 ac_status=$?
57774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57775 (exit $ac_status); }; } &&
57776 { ac_try='test -s conftest.$ac_objext'
57777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57778 (eval $ac_try) 2>&5
57779 ac_status=$?
57780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57781 (exit $ac_status); }; }; then
57782 glibcxx_cv_func__isinff_use=yes
57783 else
57784 echo "$as_me: failed program was:" >&5
57785 sed 's/^/| /' conftest.$ac_ext >&5
57787 glibcxx_cv_func__isinff_use=no
57789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57790 ac_ext=c
57791 ac_cpp='$CPP $CPPFLAGS'
57792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57800 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
57801 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
57803 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
57805 for ac_func in _isinff
57807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57808 echo "$as_me:$LINENO: checking for $ac_func" >&5
57809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57810 if eval "test \"\${$as_ac_var+set}\" = set"; then
57811 echo $ECHO_N "(cached) $ECHO_C" >&6
57812 else
57813 if test x$gcc_no_link = xyes; then
57814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57816 { (exit 1); exit 1; }; }
57818 cat >conftest.$ac_ext <<_ACEOF
57819 /* confdefs.h. */
57820 _ACEOF
57821 cat confdefs.h >>conftest.$ac_ext
57822 cat >>conftest.$ac_ext <<_ACEOF
57823 /* end confdefs.h. */
57824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57826 #define $ac_func innocuous_$ac_func
57828 /* System header to define __stub macros and hopefully few prototypes,
57829 which can conflict with char $ac_func (); below.
57830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57831 <limits.h> exists even on freestanding compilers. */
57833 #ifdef __STDC__
57834 # include <limits.h>
57835 #else
57836 # include <assert.h>
57837 #endif
57839 #undef $ac_func
57841 /* Override any gcc2 internal prototype to avoid an error. */
57842 #ifdef __cplusplus
57843 extern "C"
57845 #endif
57846 /* We use char because int might match the return type of a gcc2
57847 builtin and then its argument prototype would still apply. */
57848 char $ac_func ();
57849 /* The GNU C library defines this for functions which it implements
57850 to always fail with ENOSYS. Some functions are actually named
57851 something starting with __ and the normal name is an alias. */
57852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57853 choke me
57854 #else
57855 char (*f) () = $ac_func;
57856 #endif
57857 #ifdef __cplusplus
57859 #endif
57862 main ()
57864 return f != $ac_func;
57866 return 0;
57868 _ACEOF
57869 rm -f conftest.$ac_objext conftest$ac_exeext
57870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57871 (eval $ac_link) 2>conftest.er1
57872 ac_status=$?
57873 grep -v '^ *+' conftest.er1 >conftest.err
57874 rm -f conftest.er1
57875 cat conftest.err >&5
57876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57877 (exit $ac_status); } &&
57878 { ac_try='test -z "$ac_c_werror_flag"
57879 || test ! -s conftest.err'
57880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57881 (eval $ac_try) 2>&5
57882 ac_status=$?
57883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57884 (exit $ac_status); }; } &&
57885 { ac_try='test -s conftest$ac_exeext'
57886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57887 (eval $ac_try) 2>&5
57888 ac_status=$?
57889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57890 (exit $ac_status); }; }; then
57891 eval "$as_ac_var=yes"
57892 else
57893 echo "$as_me: failed program was:" >&5
57894 sed 's/^/| /' conftest.$ac_ext >&5
57896 eval "$as_ac_var=no"
57898 rm -f conftest.err conftest.$ac_objext \
57899 conftest$ac_exeext conftest.$ac_ext
57901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57903 if test `eval echo '${'$as_ac_var'}'` = yes; then
57904 cat >>confdefs.h <<_ACEOF
57905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57906 _ACEOF
57909 done
57919 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
57920 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
57921 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
57922 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
57923 echo $ECHO_N "(cached) $ECHO_C" >&6
57924 else
57928 ac_ext=cc
57929 ac_cpp='$CXXCPP $CPPFLAGS'
57930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57934 cat >conftest.$ac_ext <<_ACEOF
57935 /* confdefs.h. */
57936 _ACEOF
57937 cat confdefs.h >>conftest.$ac_ext
57938 cat >>conftest.$ac_ext <<_ACEOF
57939 /* end confdefs.h. */
57940 #include <math.h>
57942 main ()
57944 atan2f(0, 0);
57946 return 0;
57948 _ACEOF
57949 rm -f conftest.$ac_objext
57950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57951 (eval $ac_compile) 2>conftest.er1
57952 ac_status=$?
57953 grep -v '^ *+' conftest.er1 >conftest.err
57954 rm -f conftest.er1
57955 cat conftest.err >&5
57956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57957 (exit $ac_status); } &&
57958 { ac_try='test -z "$ac_cxx_werror_flag"
57959 || test ! -s conftest.err'
57960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57961 (eval $ac_try) 2>&5
57962 ac_status=$?
57963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57964 (exit $ac_status); }; } &&
57965 { ac_try='test -s conftest.$ac_objext'
57966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57967 (eval $ac_try) 2>&5
57968 ac_status=$?
57969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57970 (exit $ac_status); }; }; then
57971 glibcxx_cv_func_atan2f_use=yes
57972 else
57973 echo "$as_me: failed program was:" >&5
57974 sed 's/^/| /' conftest.$ac_ext >&5
57976 glibcxx_cv_func_atan2f_use=no
57978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57979 ac_ext=c
57980 ac_cpp='$CPP $CPPFLAGS'
57981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57989 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
57990 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
57992 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
57994 for ac_func in atan2f
57996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57997 echo "$as_me:$LINENO: checking for $ac_func" >&5
57998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57999 if eval "test \"\${$as_ac_var+set}\" = set"; then
58000 echo $ECHO_N "(cached) $ECHO_C" >&6
58001 else
58002 if test x$gcc_no_link = xyes; then
58003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58005 { (exit 1); exit 1; }; }
58007 cat >conftest.$ac_ext <<_ACEOF
58008 /* confdefs.h. */
58009 _ACEOF
58010 cat confdefs.h >>conftest.$ac_ext
58011 cat >>conftest.$ac_ext <<_ACEOF
58012 /* end confdefs.h. */
58013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58015 #define $ac_func innocuous_$ac_func
58017 /* System header to define __stub macros and hopefully few prototypes,
58018 which can conflict with char $ac_func (); below.
58019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58020 <limits.h> exists even on freestanding compilers. */
58022 #ifdef __STDC__
58023 # include <limits.h>
58024 #else
58025 # include <assert.h>
58026 #endif
58028 #undef $ac_func
58030 /* Override any gcc2 internal prototype to avoid an error. */
58031 #ifdef __cplusplus
58032 extern "C"
58034 #endif
58035 /* We use char because int might match the return type of a gcc2
58036 builtin and then its argument prototype would still apply. */
58037 char $ac_func ();
58038 /* The GNU C library defines this for functions which it implements
58039 to always fail with ENOSYS. Some functions are actually named
58040 something starting with __ and the normal name is an alias. */
58041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58042 choke me
58043 #else
58044 char (*f) () = $ac_func;
58045 #endif
58046 #ifdef __cplusplus
58048 #endif
58051 main ()
58053 return f != $ac_func;
58055 return 0;
58057 _ACEOF
58058 rm -f conftest.$ac_objext conftest$ac_exeext
58059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58060 (eval $ac_link) 2>conftest.er1
58061 ac_status=$?
58062 grep -v '^ *+' conftest.er1 >conftest.err
58063 rm -f conftest.er1
58064 cat conftest.err >&5
58065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58066 (exit $ac_status); } &&
58067 { ac_try='test -z "$ac_c_werror_flag"
58068 || test ! -s conftest.err'
58069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58070 (eval $ac_try) 2>&5
58071 ac_status=$?
58072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58073 (exit $ac_status); }; } &&
58074 { ac_try='test -s conftest$ac_exeext'
58075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58076 (eval $ac_try) 2>&5
58077 ac_status=$?
58078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58079 (exit $ac_status); }; }; then
58080 eval "$as_ac_var=yes"
58081 else
58082 echo "$as_me: failed program was:" >&5
58083 sed 's/^/| /' conftest.$ac_ext >&5
58085 eval "$as_ac_var=no"
58087 rm -f conftest.err conftest.$ac_objext \
58088 conftest$ac_exeext conftest.$ac_ext
58090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58092 if test `eval echo '${'$as_ac_var'}'` = yes; then
58093 cat >>confdefs.h <<_ACEOF
58094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58095 _ACEOF
58098 done
58100 else
58102 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
58103 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
58104 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
58105 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
58106 echo $ECHO_N "(cached) $ECHO_C" >&6
58107 else
58111 ac_ext=cc
58112 ac_cpp='$CXXCPP $CPPFLAGS'
58113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58117 cat >conftest.$ac_ext <<_ACEOF
58118 /* confdefs.h. */
58119 _ACEOF
58120 cat confdefs.h >>conftest.$ac_ext
58121 cat >>conftest.$ac_ext <<_ACEOF
58122 /* end confdefs.h. */
58123 #include <math.h>
58125 main ()
58127 _atan2f(0, 0);
58129 return 0;
58131 _ACEOF
58132 rm -f conftest.$ac_objext
58133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58134 (eval $ac_compile) 2>conftest.er1
58135 ac_status=$?
58136 grep -v '^ *+' conftest.er1 >conftest.err
58137 rm -f conftest.er1
58138 cat conftest.err >&5
58139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58140 (exit $ac_status); } &&
58141 { ac_try='test -z "$ac_cxx_werror_flag"
58142 || test ! -s conftest.err'
58143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58144 (eval $ac_try) 2>&5
58145 ac_status=$?
58146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58147 (exit $ac_status); }; } &&
58148 { ac_try='test -s conftest.$ac_objext'
58149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58150 (eval $ac_try) 2>&5
58151 ac_status=$?
58152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58153 (exit $ac_status); }; }; then
58154 glibcxx_cv_func__atan2f_use=yes
58155 else
58156 echo "$as_me: failed program was:" >&5
58157 sed 's/^/| /' conftest.$ac_ext >&5
58159 glibcxx_cv_func__atan2f_use=no
58161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58162 ac_ext=c
58163 ac_cpp='$CPP $CPPFLAGS'
58164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58172 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
58173 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
58175 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
58177 for ac_func in _atan2f
58179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58180 echo "$as_me:$LINENO: checking for $ac_func" >&5
58181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58182 if eval "test \"\${$as_ac_var+set}\" = set"; then
58183 echo $ECHO_N "(cached) $ECHO_C" >&6
58184 else
58185 if test x$gcc_no_link = xyes; then
58186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58188 { (exit 1); exit 1; }; }
58190 cat >conftest.$ac_ext <<_ACEOF
58191 /* confdefs.h. */
58192 _ACEOF
58193 cat confdefs.h >>conftest.$ac_ext
58194 cat >>conftest.$ac_ext <<_ACEOF
58195 /* end confdefs.h. */
58196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58198 #define $ac_func innocuous_$ac_func
58200 /* System header to define __stub macros and hopefully few prototypes,
58201 which can conflict with char $ac_func (); below.
58202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58203 <limits.h> exists even on freestanding compilers. */
58205 #ifdef __STDC__
58206 # include <limits.h>
58207 #else
58208 # include <assert.h>
58209 #endif
58211 #undef $ac_func
58213 /* Override any gcc2 internal prototype to avoid an error. */
58214 #ifdef __cplusplus
58215 extern "C"
58217 #endif
58218 /* We use char because int might match the return type of a gcc2
58219 builtin and then its argument prototype would still apply. */
58220 char $ac_func ();
58221 /* The GNU C library defines this for functions which it implements
58222 to always fail with ENOSYS. Some functions are actually named
58223 something starting with __ and the normal name is an alias. */
58224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58225 choke me
58226 #else
58227 char (*f) () = $ac_func;
58228 #endif
58229 #ifdef __cplusplus
58231 #endif
58234 main ()
58236 return f != $ac_func;
58238 return 0;
58240 _ACEOF
58241 rm -f conftest.$ac_objext conftest$ac_exeext
58242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58243 (eval $ac_link) 2>conftest.er1
58244 ac_status=$?
58245 grep -v '^ *+' conftest.er1 >conftest.err
58246 rm -f conftest.er1
58247 cat conftest.err >&5
58248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58249 (exit $ac_status); } &&
58250 { ac_try='test -z "$ac_c_werror_flag"
58251 || test ! -s conftest.err'
58252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58253 (eval $ac_try) 2>&5
58254 ac_status=$?
58255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58256 (exit $ac_status); }; } &&
58257 { ac_try='test -s conftest$ac_exeext'
58258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58259 (eval $ac_try) 2>&5
58260 ac_status=$?
58261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58262 (exit $ac_status); }; }; then
58263 eval "$as_ac_var=yes"
58264 else
58265 echo "$as_me: failed program was:" >&5
58266 sed 's/^/| /' conftest.$ac_ext >&5
58268 eval "$as_ac_var=no"
58270 rm -f conftest.err conftest.$ac_objext \
58271 conftest$ac_exeext conftest.$ac_ext
58273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58275 if test `eval echo '${'$as_ac_var'}'` = yes; then
58276 cat >>confdefs.h <<_ACEOF
58277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58278 _ACEOF
58281 done
58291 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
58292 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
58293 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
58294 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
58295 echo $ECHO_N "(cached) $ECHO_C" >&6
58296 else
58300 ac_ext=cc
58301 ac_cpp='$CXXCPP $CPPFLAGS'
58302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58306 cat >conftest.$ac_ext <<_ACEOF
58307 /* confdefs.h. */
58308 _ACEOF
58309 cat confdefs.h >>conftest.$ac_ext
58310 cat >>conftest.$ac_ext <<_ACEOF
58311 /* end confdefs.h. */
58312 #include <math.h>
58313 #ifdef HAVE_IEEEFP_H
58314 #include <ieeefp.h>
58315 #endif
58318 main ()
58320 fabsf(0);
58322 return 0;
58324 _ACEOF
58325 rm -f conftest.$ac_objext
58326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58327 (eval $ac_compile) 2>conftest.er1
58328 ac_status=$?
58329 grep -v '^ *+' conftest.er1 >conftest.err
58330 rm -f conftest.er1
58331 cat conftest.err >&5
58332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58333 (exit $ac_status); } &&
58334 { ac_try='test -z "$ac_cxx_werror_flag"
58335 || test ! -s conftest.err'
58336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58337 (eval $ac_try) 2>&5
58338 ac_status=$?
58339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58340 (exit $ac_status); }; } &&
58341 { ac_try='test -s conftest.$ac_objext'
58342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58343 (eval $ac_try) 2>&5
58344 ac_status=$?
58345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58346 (exit $ac_status); }; }; then
58347 glibcxx_cv_func_fabsf_use=yes
58348 else
58349 echo "$as_me: failed program was:" >&5
58350 sed 's/^/| /' conftest.$ac_ext >&5
58352 glibcxx_cv_func_fabsf_use=no
58354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58355 ac_ext=c
58356 ac_cpp='$CPP $CPPFLAGS'
58357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58365 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
58366 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
58368 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
58370 for ac_func in fabsf
58372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58373 echo "$as_me:$LINENO: checking for $ac_func" >&5
58374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58375 if eval "test \"\${$as_ac_var+set}\" = set"; then
58376 echo $ECHO_N "(cached) $ECHO_C" >&6
58377 else
58378 if test x$gcc_no_link = xyes; then
58379 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58381 { (exit 1); exit 1; }; }
58383 cat >conftest.$ac_ext <<_ACEOF
58384 /* confdefs.h. */
58385 _ACEOF
58386 cat confdefs.h >>conftest.$ac_ext
58387 cat >>conftest.$ac_ext <<_ACEOF
58388 /* end confdefs.h. */
58389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58390 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58391 #define $ac_func innocuous_$ac_func
58393 /* System header to define __stub macros and hopefully few prototypes,
58394 which can conflict with char $ac_func (); below.
58395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58396 <limits.h> exists even on freestanding compilers. */
58398 #ifdef __STDC__
58399 # include <limits.h>
58400 #else
58401 # include <assert.h>
58402 #endif
58404 #undef $ac_func
58406 /* Override any gcc2 internal prototype to avoid an error. */
58407 #ifdef __cplusplus
58408 extern "C"
58410 #endif
58411 /* We use char because int might match the return type of a gcc2
58412 builtin and then its argument prototype would still apply. */
58413 char $ac_func ();
58414 /* The GNU C library defines this for functions which it implements
58415 to always fail with ENOSYS. Some functions are actually named
58416 something starting with __ and the normal name is an alias. */
58417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58418 choke me
58419 #else
58420 char (*f) () = $ac_func;
58421 #endif
58422 #ifdef __cplusplus
58424 #endif
58427 main ()
58429 return f != $ac_func;
58431 return 0;
58433 _ACEOF
58434 rm -f conftest.$ac_objext conftest$ac_exeext
58435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58436 (eval $ac_link) 2>conftest.er1
58437 ac_status=$?
58438 grep -v '^ *+' conftest.er1 >conftest.err
58439 rm -f conftest.er1
58440 cat conftest.err >&5
58441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58442 (exit $ac_status); } &&
58443 { ac_try='test -z "$ac_c_werror_flag"
58444 || test ! -s conftest.err'
58445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58446 (eval $ac_try) 2>&5
58447 ac_status=$?
58448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58449 (exit $ac_status); }; } &&
58450 { ac_try='test -s conftest$ac_exeext'
58451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58452 (eval $ac_try) 2>&5
58453 ac_status=$?
58454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58455 (exit $ac_status); }; }; then
58456 eval "$as_ac_var=yes"
58457 else
58458 echo "$as_me: failed program was:" >&5
58459 sed 's/^/| /' conftest.$ac_ext >&5
58461 eval "$as_ac_var=no"
58463 rm -f conftest.err conftest.$ac_objext \
58464 conftest$ac_exeext conftest.$ac_ext
58466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58468 if test `eval echo '${'$as_ac_var'}'` = yes; then
58469 cat >>confdefs.h <<_ACEOF
58470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58471 _ACEOF
58474 done
58476 else
58478 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
58479 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
58480 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
58481 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
58482 echo $ECHO_N "(cached) $ECHO_C" >&6
58483 else
58487 ac_ext=cc
58488 ac_cpp='$CXXCPP $CPPFLAGS'
58489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58493 cat >conftest.$ac_ext <<_ACEOF
58494 /* confdefs.h. */
58495 _ACEOF
58496 cat confdefs.h >>conftest.$ac_ext
58497 cat >>conftest.$ac_ext <<_ACEOF
58498 /* end confdefs.h. */
58499 #include <math.h>
58500 #ifdef HAVE_IEEEFP_H
58501 #include <ieeefp.h>
58502 #endif
58505 main ()
58507 _fabsf(0);
58509 return 0;
58511 _ACEOF
58512 rm -f conftest.$ac_objext
58513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58514 (eval $ac_compile) 2>conftest.er1
58515 ac_status=$?
58516 grep -v '^ *+' conftest.er1 >conftest.err
58517 rm -f conftest.er1
58518 cat conftest.err >&5
58519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58520 (exit $ac_status); } &&
58521 { ac_try='test -z "$ac_cxx_werror_flag"
58522 || test ! -s conftest.err'
58523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58524 (eval $ac_try) 2>&5
58525 ac_status=$?
58526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58527 (exit $ac_status); }; } &&
58528 { ac_try='test -s conftest.$ac_objext'
58529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58530 (eval $ac_try) 2>&5
58531 ac_status=$?
58532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58533 (exit $ac_status); }; }; then
58534 glibcxx_cv_func__fabsf_use=yes
58535 else
58536 echo "$as_me: failed program was:" >&5
58537 sed 's/^/| /' conftest.$ac_ext >&5
58539 glibcxx_cv_func__fabsf_use=no
58541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58542 ac_ext=c
58543 ac_cpp='$CPP $CPPFLAGS'
58544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58552 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
58553 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
58555 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
58557 for ac_func in _fabsf
58559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58560 echo "$as_me:$LINENO: checking for $ac_func" >&5
58561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58562 if eval "test \"\${$as_ac_var+set}\" = set"; then
58563 echo $ECHO_N "(cached) $ECHO_C" >&6
58564 else
58565 if test x$gcc_no_link = xyes; then
58566 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58568 { (exit 1); exit 1; }; }
58570 cat >conftest.$ac_ext <<_ACEOF
58571 /* confdefs.h. */
58572 _ACEOF
58573 cat confdefs.h >>conftest.$ac_ext
58574 cat >>conftest.$ac_ext <<_ACEOF
58575 /* end confdefs.h. */
58576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58578 #define $ac_func innocuous_$ac_func
58580 /* System header to define __stub macros and hopefully few prototypes,
58581 which can conflict with char $ac_func (); below.
58582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58583 <limits.h> exists even on freestanding compilers. */
58585 #ifdef __STDC__
58586 # include <limits.h>
58587 #else
58588 # include <assert.h>
58589 #endif
58591 #undef $ac_func
58593 /* Override any gcc2 internal prototype to avoid an error. */
58594 #ifdef __cplusplus
58595 extern "C"
58597 #endif
58598 /* We use char because int might match the return type of a gcc2
58599 builtin and then its argument prototype would still apply. */
58600 char $ac_func ();
58601 /* The GNU C library defines this for functions which it implements
58602 to always fail with ENOSYS. Some functions are actually named
58603 something starting with __ and the normal name is an alias. */
58604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58605 choke me
58606 #else
58607 char (*f) () = $ac_func;
58608 #endif
58609 #ifdef __cplusplus
58611 #endif
58614 main ()
58616 return f != $ac_func;
58618 return 0;
58620 _ACEOF
58621 rm -f conftest.$ac_objext conftest$ac_exeext
58622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58623 (eval $ac_link) 2>conftest.er1
58624 ac_status=$?
58625 grep -v '^ *+' conftest.er1 >conftest.err
58626 rm -f conftest.er1
58627 cat conftest.err >&5
58628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58629 (exit $ac_status); } &&
58630 { ac_try='test -z "$ac_c_werror_flag"
58631 || test ! -s conftest.err'
58632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58633 (eval $ac_try) 2>&5
58634 ac_status=$?
58635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58636 (exit $ac_status); }; } &&
58637 { ac_try='test -s conftest$ac_exeext'
58638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58639 (eval $ac_try) 2>&5
58640 ac_status=$?
58641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58642 (exit $ac_status); }; }; then
58643 eval "$as_ac_var=yes"
58644 else
58645 echo "$as_me: failed program was:" >&5
58646 sed 's/^/| /' conftest.$ac_ext >&5
58648 eval "$as_ac_var=no"
58650 rm -f conftest.err conftest.$ac_objext \
58651 conftest$ac_exeext conftest.$ac_ext
58653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58654 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58655 if test `eval echo '${'$as_ac_var'}'` = yes; then
58656 cat >>confdefs.h <<_ACEOF
58657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58658 _ACEOF
58661 done
58671 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
58672 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
58673 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
58674 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
58675 echo $ECHO_N "(cached) $ECHO_C" >&6
58676 else
58680 ac_ext=cc
58681 ac_cpp='$CXXCPP $CPPFLAGS'
58682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58686 cat >conftest.$ac_ext <<_ACEOF
58687 /* confdefs.h. */
58688 _ACEOF
58689 cat confdefs.h >>conftest.$ac_ext
58690 cat >>conftest.$ac_ext <<_ACEOF
58691 /* end confdefs.h. */
58692 #include <math.h>
58694 main ()
58696 fmodf(0, 0);
58698 return 0;
58700 _ACEOF
58701 rm -f conftest.$ac_objext
58702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58703 (eval $ac_compile) 2>conftest.er1
58704 ac_status=$?
58705 grep -v '^ *+' conftest.er1 >conftest.err
58706 rm -f conftest.er1
58707 cat conftest.err >&5
58708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58709 (exit $ac_status); } &&
58710 { ac_try='test -z "$ac_cxx_werror_flag"
58711 || test ! -s conftest.err'
58712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58713 (eval $ac_try) 2>&5
58714 ac_status=$?
58715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58716 (exit $ac_status); }; } &&
58717 { ac_try='test -s conftest.$ac_objext'
58718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58719 (eval $ac_try) 2>&5
58720 ac_status=$?
58721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58722 (exit $ac_status); }; }; then
58723 glibcxx_cv_func_fmodf_use=yes
58724 else
58725 echo "$as_me: failed program was:" >&5
58726 sed 's/^/| /' conftest.$ac_ext >&5
58728 glibcxx_cv_func_fmodf_use=no
58730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58731 ac_ext=c
58732 ac_cpp='$CPP $CPPFLAGS'
58733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58741 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
58742 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
58744 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
58746 for ac_func in fmodf
58748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58749 echo "$as_me:$LINENO: checking for $ac_func" >&5
58750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58751 if eval "test \"\${$as_ac_var+set}\" = set"; then
58752 echo $ECHO_N "(cached) $ECHO_C" >&6
58753 else
58754 if test x$gcc_no_link = xyes; then
58755 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58757 { (exit 1); exit 1; }; }
58759 cat >conftest.$ac_ext <<_ACEOF
58760 /* confdefs.h. */
58761 _ACEOF
58762 cat confdefs.h >>conftest.$ac_ext
58763 cat >>conftest.$ac_ext <<_ACEOF
58764 /* end confdefs.h. */
58765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58767 #define $ac_func innocuous_$ac_func
58769 /* System header to define __stub macros and hopefully few prototypes,
58770 which can conflict with char $ac_func (); below.
58771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58772 <limits.h> exists even on freestanding compilers. */
58774 #ifdef __STDC__
58775 # include <limits.h>
58776 #else
58777 # include <assert.h>
58778 #endif
58780 #undef $ac_func
58782 /* Override any gcc2 internal prototype to avoid an error. */
58783 #ifdef __cplusplus
58784 extern "C"
58786 #endif
58787 /* We use char because int might match the return type of a gcc2
58788 builtin and then its argument prototype would still apply. */
58789 char $ac_func ();
58790 /* The GNU C library defines this for functions which it implements
58791 to always fail with ENOSYS. Some functions are actually named
58792 something starting with __ and the normal name is an alias. */
58793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58794 choke me
58795 #else
58796 char (*f) () = $ac_func;
58797 #endif
58798 #ifdef __cplusplus
58800 #endif
58803 main ()
58805 return f != $ac_func;
58807 return 0;
58809 _ACEOF
58810 rm -f conftest.$ac_objext conftest$ac_exeext
58811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58812 (eval $ac_link) 2>conftest.er1
58813 ac_status=$?
58814 grep -v '^ *+' conftest.er1 >conftest.err
58815 rm -f conftest.er1
58816 cat conftest.err >&5
58817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58818 (exit $ac_status); } &&
58819 { ac_try='test -z "$ac_c_werror_flag"
58820 || test ! -s conftest.err'
58821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58822 (eval $ac_try) 2>&5
58823 ac_status=$?
58824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58825 (exit $ac_status); }; } &&
58826 { ac_try='test -s conftest$ac_exeext'
58827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58828 (eval $ac_try) 2>&5
58829 ac_status=$?
58830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58831 (exit $ac_status); }; }; then
58832 eval "$as_ac_var=yes"
58833 else
58834 echo "$as_me: failed program was:" >&5
58835 sed 's/^/| /' conftest.$ac_ext >&5
58837 eval "$as_ac_var=no"
58839 rm -f conftest.err conftest.$ac_objext \
58840 conftest$ac_exeext conftest.$ac_ext
58842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58844 if test `eval echo '${'$as_ac_var'}'` = yes; then
58845 cat >>confdefs.h <<_ACEOF
58846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58847 _ACEOF
58850 done
58852 else
58854 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
58855 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
58856 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
58857 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
58858 echo $ECHO_N "(cached) $ECHO_C" >&6
58859 else
58863 ac_ext=cc
58864 ac_cpp='$CXXCPP $CPPFLAGS'
58865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58869 cat >conftest.$ac_ext <<_ACEOF
58870 /* confdefs.h. */
58871 _ACEOF
58872 cat confdefs.h >>conftest.$ac_ext
58873 cat >>conftest.$ac_ext <<_ACEOF
58874 /* end confdefs.h. */
58875 #include <math.h>
58877 main ()
58879 _fmodf(0, 0);
58881 return 0;
58883 _ACEOF
58884 rm -f conftest.$ac_objext
58885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58886 (eval $ac_compile) 2>conftest.er1
58887 ac_status=$?
58888 grep -v '^ *+' conftest.er1 >conftest.err
58889 rm -f conftest.er1
58890 cat conftest.err >&5
58891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58892 (exit $ac_status); } &&
58893 { ac_try='test -z "$ac_cxx_werror_flag"
58894 || test ! -s conftest.err'
58895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58896 (eval $ac_try) 2>&5
58897 ac_status=$?
58898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58899 (exit $ac_status); }; } &&
58900 { ac_try='test -s conftest.$ac_objext'
58901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58902 (eval $ac_try) 2>&5
58903 ac_status=$?
58904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58905 (exit $ac_status); }; }; then
58906 glibcxx_cv_func__fmodf_use=yes
58907 else
58908 echo "$as_me: failed program was:" >&5
58909 sed 's/^/| /' conftest.$ac_ext >&5
58911 glibcxx_cv_func__fmodf_use=no
58913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58914 ac_ext=c
58915 ac_cpp='$CPP $CPPFLAGS'
58916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58924 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
58925 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
58927 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
58929 for ac_func in _fmodf
58931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58932 echo "$as_me:$LINENO: checking for $ac_func" >&5
58933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58934 if eval "test \"\${$as_ac_var+set}\" = set"; then
58935 echo $ECHO_N "(cached) $ECHO_C" >&6
58936 else
58937 if test x$gcc_no_link = xyes; then
58938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58940 { (exit 1); exit 1; }; }
58942 cat >conftest.$ac_ext <<_ACEOF
58943 /* confdefs.h. */
58944 _ACEOF
58945 cat confdefs.h >>conftest.$ac_ext
58946 cat >>conftest.$ac_ext <<_ACEOF
58947 /* end confdefs.h. */
58948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58950 #define $ac_func innocuous_$ac_func
58952 /* System header to define __stub macros and hopefully few prototypes,
58953 which can conflict with char $ac_func (); below.
58954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58955 <limits.h> exists even on freestanding compilers. */
58957 #ifdef __STDC__
58958 # include <limits.h>
58959 #else
58960 # include <assert.h>
58961 #endif
58963 #undef $ac_func
58965 /* Override any gcc2 internal prototype to avoid an error. */
58966 #ifdef __cplusplus
58967 extern "C"
58969 #endif
58970 /* We use char because int might match the return type of a gcc2
58971 builtin and then its argument prototype would still apply. */
58972 char $ac_func ();
58973 /* The GNU C library defines this for functions which it implements
58974 to always fail with ENOSYS. Some functions are actually named
58975 something starting with __ and the normal name is an alias. */
58976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58977 choke me
58978 #else
58979 char (*f) () = $ac_func;
58980 #endif
58981 #ifdef __cplusplus
58983 #endif
58986 main ()
58988 return f != $ac_func;
58990 return 0;
58992 _ACEOF
58993 rm -f conftest.$ac_objext conftest$ac_exeext
58994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58995 (eval $ac_link) 2>conftest.er1
58996 ac_status=$?
58997 grep -v '^ *+' conftest.er1 >conftest.err
58998 rm -f conftest.er1
58999 cat conftest.err >&5
59000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59001 (exit $ac_status); } &&
59002 { ac_try='test -z "$ac_c_werror_flag"
59003 || test ! -s conftest.err'
59004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59005 (eval $ac_try) 2>&5
59006 ac_status=$?
59007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59008 (exit $ac_status); }; } &&
59009 { ac_try='test -s conftest$ac_exeext'
59010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59011 (eval $ac_try) 2>&5
59012 ac_status=$?
59013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59014 (exit $ac_status); }; }; then
59015 eval "$as_ac_var=yes"
59016 else
59017 echo "$as_me: failed program was:" >&5
59018 sed 's/^/| /' conftest.$ac_ext >&5
59020 eval "$as_ac_var=no"
59022 rm -f conftest.err conftest.$ac_objext \
59023 conftest$ac_exeext conftest.$ac_ext
59025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59027 if test `eval echo '${'$as_ac_var'}'` = yes; then
59028 cat >>confdefs.h <<_ACEOF
59029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59030 _ACEOF
59033 done
59043 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
59044 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
59045 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59046 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
59047 echo $ECHO_N "(cached) $ECHO_C" >&6
59048 else
59052 ac_ext=cc
59053 ac_cpp='$CXXCPP $CPPFLAGS'
59054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59058 cat >conftest.$ac_ext <<_ACEOF
59059 /* confdefs.h. */
59060 _ACEOF
59061 cat confdefs.h >>conftest.$ac_ext
59062 cat >>conftest.$ac_ext <<_ACEOF
59063 /* end confdefs.h. */
59064 #include <math.h>
59066 main ()
59068 frexpf(0, 0);
59070 return 0;
59072 _ACEOF
59073 rm -f conftest.$ac_objext
59074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59075 (eval $ac_compile) 2>conftest.er1
59076 ac_status=$?
59077 grep -v '^ *+' conftest.er1 >conftest.err
59078 rm -f conftest.er1
59079 cat conftest.err >&5
59080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59081 (exit $ac_status); } &&
59082 { ac_try='test -z "$ac_cxx_werror_flag"
59083 || test ! -s conftest.err'
59084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59085 (eval $ac_try) 2>&5
59086 ac_status=$?
59087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59088 (exit $ac_status); }; } &&
59089 { ac_try='test -s conftest.$ac_objext'
59090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59091 (eval $ac_try) 2>&5
59092 ac_status=$?
59093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59094 (exit $ac_status); }; }; then
59095 glibcxx_cv_func_frexpf_use=yes
59096 else
59097 echo "$as_me: failed program was:" >&5
59098 sed 's/^/| /' conftest.$ac_ext >&5
59100 glibcxx_cv_func_frexpf_use=no
59102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59103 ac_ext=c
59104 ac_cpp='$CPP $CPPFLAGS'
59105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59113 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
59114 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
59116 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59118 for ac_func in frexpf
59120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59121 echo "$as_me:$LINENO: checking for $ac_func" >&5
59122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59123 if eval "test \"\${$as_ac_var+set}\" = set"; then
59124 echo $ECHO_N "(cached) $ECHO_C" >&6
59125 else
59126 if test x$gcc_no_link = xyes; then
59127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59129 { (exit 1); exit 1; }; }
59131 cat >conftest.$ac_ext <<_ACEOF
59132 /* confdefs.h. */
59133 _ACEOF
59134 cat confdefs.h >>conftest.$ac_ext
59135 cat >>conftest.$ac_ext <<_ACEOF
59136 /* end confdefs.h. */
59137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59139 #define $ac_func innocuous_$ac_func
59141 /* System header to define __stub macros and hopefully few prototypes,
59142 which can conflict with char $ac_func (); below.
59143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59144 <limits.h> exists even on freestanding compilers. */
59146 #ifdef __STDC__
59147 # include <limits.h>
59148 #else
59149 # include <assert.h>
59150 #endif
59152 #undef $ac_func
59154 /* Override any gcc2 internal prototype to avoid an error. */
59155 #ifdef __cplusplus
59156 extern "C"
59158 #endif
59159 /* We use char because int might match the return type of a gcc2
59160 builtin and then its argument prototype would still apply. */
59161 char $ac_func ();
59162 /* The GNU C library defines this for functions which it implements
59163 to always fail with ENOSYS. Some functions are actually named
59164 something starting with __ and the normal name is an alias. */
59165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59166 choke me
59167 #else
59168 char (*f) () = $ac_func;
59169 #endif
59170 #ifdef __cplusplus
59172 #endif
59175 main ()
59177 return f != $ac_func;
59179 return 0;
59181 _ACEOF
59182 rm -f conftest.$ac_objext conftest$ac_exeext
59183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59184 (eval $ac_link) 2>conftest.er1
59185 ac_status=$?
59186 grep -v '^ *+' conftest.er1 >conftest.err
59187 rm -f conftest.er1
59188 cat conftest.err >&5
59189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59190 (exit $ac_status); } &&
59191 { ac_try='test -z "$ac_c_werror_flag"
59192 || test ! -s conftest.err'
59193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59194 (eval $ac_try) 2>&5
59195 ac_status=$?
59196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59197 (exit $ac_status); }; } &&
59198 { ac_try='test -s conftest$ac_exeext'
59199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59200 (eval $ac_try) 2>&5
59201 ac_status=$?
59202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59203 (exit $ac_status); }; }; then
59204 eval "$as_ac_var=yes"
59205 else
59206 echo "$as_me: failed program was:" >&5
59207 sed 's/^/| /' conftest.$ac_ext >&5
59209 eval "$as_ac_var=no"
59211 rm -f conftest.err conftest.$ac_objext \
59212 conftest$ac_exeext conftest.$ac_ext
59214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59216 if test `eval echo '${'$as_ac_var'}'` = yes; then
59217 cat >>confdefs.h <<_ACEOF
59218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59219 _ACEOF
59222 done
59224 else
59226 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
59227 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
59228 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59229 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
59230 echo $ECHO_N "(cached) $ECHO_C" >&6
59231 else
59235 ac_ext=cc
59236 ac_cpp='$CXXCPP $CPPFLAGS'
59237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59241 cat >conftest.$ac_ext <<_ACEOF
59242 /* confdefs.h. */
59243 _ACEOF
59244 cat confdefs.h >>conftest.$ac_ext
59245 cat >>conftest.$ac_ext <<_ACEOF
59246 /* end confdefs.h. */
59247 #include <math.h>
59249 main ()
59251 _frexpf(0, 0);
59253 return 0;
59255 _ACEOF
59256 rm -f conftest.$ac_objext
59257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59258 (eval $ac_compile) 2>conftest.er1
59259 ac_status=$?
59260 grep -v '^ *+' conftest.er1 >conftest.err
59261 rm -f conftest.er1
59262 cat conftest.err >&5
59263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59264 (exit $ac_status); } &&
59265 { ac_try='test -z "$ac_cxx_werror_flag"
59266 || test ! -s conftest.err'
59267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59268 (eval $ac_try) 2>&5
59269 ac_status=$?
59270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59271 (exit $ac_status); }; } &&
59272 { ac_try='test -s conftest.$ac_objext'
59273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59274 (eval $ac_try) 2>&5
59275 ac_status=$?
59276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59277 (exit $ac_status); }; }; then
59278 glibcxx_cv_func__frexpf_use=yes
59279 else
59280 echo "$as_me: failed program was:" >&5
59281 sed 's/^/| /' conftest.$ac_ext >&5
59283 glibcxx_cv_func__frexpf_use=no
59285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59286 ac_ext=c
59287 ac_cpp='$CPP $CPPFLAGS'
59288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59296 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
59297 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
59299 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59301 for ac_func in _frexpf
59303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59304 echo "$as_me:$LINENO: checking for $ac_func" >&5
59305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59306 if eval "test \"\${$as_ac_var+set}\" = set"; then
59307 echo $ECHO_N "(cached) $ECHO_C" >&6
59308 else
59309 if test x$gcc_no_link = xyes; then
59310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59312 { (exit 1); exit 1; }; }
59314 cat >conftest.$ac_ext <<_ACEOF
59315 /* confdefs.h. */
59316 _ACEOF
59317 cat confdefs.h >>conftest.$ac_ext
59318 cat >>conftest.$ac_ext <<_ACEOF
59319 /* end confdefs.h. */
59320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59322 #define $ac_func innocuous_$ac_func
59324 /* System header to define __stub macros and hopefully few prototypes,
59325 which can conflict with char $ac_func (); below.
59326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59327 <limits.h> exists even on freestanding compilers. */
59329 #ifdef __STDC__
59330 # include <limits.h>
59331 #else
59332 # include <assert.h>
59333 #endif
59335 #undef $ac_func
59337 /* Override any gcc2 internal prototype to avoid an error. */
59338 #ifdef __cplusplus
59339 extern "C"
59341 #endif
59342 /* We use char because int might match the return type of a gcc2
59343 builtin and then its argument prototype would still apply. */
59344 char $ac_func ();
59345 /* The GNU C library defines this for functions which it implements
59346 to always fail with ENOSYS. Some functions are actually named
59347 something starting with __ and the normal name is an alias. */
59348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59349 choke me
59350 #else
59351 char (*f) () = $ac_func;
59352 #endif
59353 #ifdef __cplusplus
59355 #endif
59358 main ()
59360 return f != $ac_func;
59362 return 0;
59364 _ACEOF
59365 rm -f conftest.$ac_objext conftest$ac_exeext
59366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59367 (eval $ac_link) 2>conftest.er1
59368 ac_status=$?
59369 grep -v '^ *+' conftest.er1 >conftest.err
59370 rm -f conftest.er1
59371 cat conftest.err >&5
59372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59373 (exit $ac_status); } &&
59374 { ac_try='test -z "$ac_c_werror_flag"
59375 || test ! -s conftest.err'
59376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59377 (eval $ac_try) 2>&5
59378 ac_status=$?
59379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59380 (exit $ac_status); }; } &&
59381 { ac_try='test -s conftest$ac_exeext'
59382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59383 (eval $ac_try) 2>&5
59384 ac_status=$?
59385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59386 (exit $ac_status); }; }; then
59387 eval "$as_ac_var=yes"
59388 else
59389 echo "$as_me: failed program was:" >&5
59390 sed 's/^/| /' conftest.$ac_ext >&5
59392 eval "$as_ac_var=no"
59394 rm -f conftest.err conftest.$ac_objext \
59395 conftest$ac_exeext conftest.$ac_ext
59397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59399 if test `eval echo '${'$as_ac_var'}'` = yes; then
59400 cat >>confdefs.h <<_ACEOF
59401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59402 _ACEOF
59405 done
59415 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
59416 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
59417 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59418 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
59419 echo $ECHO_N "(cached) $ECHO_C" >&6
59420 else
59424 ac_ext=cc
59425 ac_cpp='$CXXCPP $CPPFLAGS'
59426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59430 cat >conftest.$ac_ext <<_ACEOF
59431 /* confdefs.h. */
59432 _ACEOF
59433 cat confdefs.h >>conftest.$ac_ext
59434 cat >>conftest.$ac_ext <<_ACEOF
59435 /* end confdefs.h. */
59436 #include <math.h>
59438 main ()
59440 hypotf(0, 0);
59442 return 0;
59444 _ACEOF
59445 rm -f conftest.$ac_objext
59446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59447 (eval $ac_compile) 2>conftest.er1
59448 ac_status=$?
59449 grep -v '^ *+' conftest.er1 >conftest.err
59450 rm -f conftest.er1
59451 cat conftest.err >&5
59452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59453 (exit $ac_status); } &&
59454 { ac_try='test -z "$ac_cxx_werror_flag"
59455 || test ! -s conftest.err'
59456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59457 (eval $ac_try) 2>&5
59458 ac_status=$?
59459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59460 (exit $ac_status); }; } &&
59461 { ac_try='test -s conftest.$ac_objext'
59462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59463 (eval $ac_try) 2>&5
59464 ac_status=$?
59465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59466 (exit $ac_status); }; }; then
59467 glibcxx_cv_func_hypotf_use=yes
59468 else
59469 echo "$as_me: failed program was:" >&5
59470 sed 's/^/| /' conftest.$ac_ext >&5
59472 glibcxx_cv_func_hypotf_use=no
59474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59475 ac_ext=c
59476 ac_cpp='$CPP $CPPFLAGS'
59477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59485 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
59486 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
59488 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59490 for ac_func in hypotf
59492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59493 echo "$as_me:$LINENO: checking for $ac_func" >&5
59494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59495 if eval "test \"\${$as_ac_var+set}\" = set"; then
59496 echo $ECHO_N "(cached) $ECHO_C" >&6
59497 else
59498 if test x$gcc_no_link = xyes; then
59499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59501 { (exit 1); exit 1; }; }
59503 cat >conftest.$ac_ext <<_ACEOF
59504 /* confdefs.h. */
59505 _ACEOF
59506 cat confdefs.h >>conftest.$ac_ext
59507 cat >>conftest.$ac_ext <<_ACEOF
59508 /* end confdefs.h. */
59509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59511 #define $ac_func innocuous_$ac_func
59513 /* System header to define __stub macros and hopefully few prototypes,
59514 which can conflict with char $ac_func (); below.
59515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59516 <limits.h> exists even on freestanding compilers. */
59518 #ifdef __STDC__
59519 # include <limits.h>
59520 #else
59521 # include <assert.h>
59522 #endif
59524 #undef $ac_func
59526 /* Override any gcc2 internal prototype to avoid an error. */
59527 #ifdef __cplusplus
59528 extern "C"
59530 #endif
59531 /* We use char because int might match the return type of a gcc2
59532 builtin and then its argument prototype would still apply. */
59533 char $ac_func ();
59534 /* The GNU C library defines this for functions which it implements
59535 to always fail with ENOSYS. Some functions are actually named
59536 something starting with __ and the normal name is an alias. */
59537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59538 choke me
59539 #else
59540 char (*f) () = $ac_func;
59541 #endif
59542 #ifdef __cplusplus
59544 #endif
59547 main ()
59549 return f != $ac_func;
59551 return 0;
59553 _ACEOF
59554 rm -f conftest.$ac_objext conftest$ac_exeext
59555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59556 (eval $ac_link) 2>conftest.er1
59557 ac_status=$?
59558 grep -v '^ *+' conftest.er1 >conftest.err
59559 rm -f conftest.er1
59560 cat conftest.err >&5
59561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59562 (exit $ac_status); } &&
59563 { ac_try='test -z "$ac_c_werror_flag"
59564 || test ! -s conftest.err'
59565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59566 (eval $ac_try) 2>&5
59567 ac_status=$?
59568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59569 (exit $ac_status); }; } &&
59570 { ac_try='test -s conftest$ac_exeext'
59571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59572 (eval $ac_try) 2>&5
59573 ac_status=$?
59574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59575 (exit $ac_status); }; }; then
59576 eval "$as_ac_var=yes"
59577 else
59578 echo "$as_me: failed program was:" >&5
59579 sed 's/^/| /' conftest.$ac_ext >&5
59581 eval "$as_ac_var=no"
59583 rm -f conftest.err conftest.$ac_objext \
59584 conftest$ac_exeext conftest.$ac_ext
59586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59588 if test `eval echo '${'$as_ac_var'}'` = yes; then
59589 cat >>confdefs.h <<_ACEOF
59590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59591 _ACEOF
59594 done
59596 else
59598 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
59599 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
59600 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59601 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
59602 echo $ECHO_N "(cached) $ECHO_C" >&6
59603 else
59607 ac_ext=cc
59608 ac_cpp='$CXXCPP $CPPFLAGS'
59609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59613 cat >conftest.$ac_ext <<_ACEOF
59614 /* confdefs.h. */
59615 _ACEOF
59616 cat confdefs.h >>conftest.$ac_ext
59617 cat >>conftest.$ac_ext <<_ACEOF
59618 /* end confdefs.h. */
59619 #include <math.h>
59621 main ()
59623 _hypotf(0, 0);
59625 return 0;
59627 _ACEOF
59628 rm -f conftest.$ac_objext
59629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59630 (eval $ac_compile) 2>conftest.er1
59631 ac_status=$?
59632 grep -v '^ *+' conftest.er1 >conftest.err
59633 rm -f conftest.er1
59634 cat conftest.err >&5
59635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59636 (exit $ac_status); } &&
59637 { ac_try='test -z "$ac_cxx_werror_flag"
59638 || test ! -s conftest.err'
59639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59640 (eval $ac_try) 2>&5
59641 ac_status=$?
59642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59643 (exit $ac_status); }; } &&
59644 { ac_try='test -s conftest.$ac_objext'
59645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59646 (eval $ac_try) 2>&5
59647 ac_status=$?
59648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59649 (exit $ac_status); }; }; then
59650 glibcxx_cv_func__hypotf_use=yes
59651 else
59652 echo "$as_me: failed program was:" >&5
59653 sed 's/^/| /' conftest.$ac_ext >&5
59655 glibcxx_cv_func__hypotf_use=no
59657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59658 ac_ext=c
59659 ac_cpp='$CPP $CPPFLAGS'
59660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59668 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
59669 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
59671 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59673 for ac_func in _hypotf
59675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59676 echo "$as_me:$LINENO: checking for $ac_func" >&5
59677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59678 if eval "test \"\${$as_ac_var+set}\" = set"; then
59679 echo $ECHO_N "(cached) $ECHO_C" >&6
59680 else
59681 if test x$gcc_no_link = xyes; then
59682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59684 { (exit 1); exit 1; }; }
59686 cat >conftest.$ac_ext <<_ACEOF
59687 /* confdefs.h. */
59688 _ACEOF
59689 cat confdefs.h >>conftest.$ac_ext
59690 cat >>conftest.$ac_ext <<_ACEOF
59691 /* end confdefs.h. */
59692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59694 #define $ac_func innocuous_$ac_func
59696 /* System header to define __stub macros and hopefully few prototypes,
59697 which can conflict with char $ac_func (); below.
59698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59699 <limits.h> exists even on freestanding compilers. */
59701 #ifdef __STDC__
59702 # include <limits.h>
59703 #else
59704 # include <assert.h>
59705 #endif
59707 #undef $ac_func
59709 /* Override any gcc2 internal prototype to avoid an error. */
59710 #ifdef __cplusplus
59711 extern "C"
59713 #endif
59714 /* We use char because int might match the return type of a gcc2
59715 builtin and then its argument prototype would still apply. */
59716 char $ac_func ();
59717 /* The GNU C library defines this for functions which it implements
59718 to always fail with ENOSYS. Some functions are actually named
59719 something starting with __ and the normal name is an alias. */
59720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59721 choke me
59722 #else
59723 char (*f) () = $ac_func;
59724 #endif
59725 #ifdef __cplusplus
59727 #endif
59730 main ()
59732 return f != $ac_func;
59734 return 0;
59736 _ACEOF
59737 rm -f conftest.$ac_objext conftest$ac_exeext
59738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59739 (eval $ac_link) 2>conftest.er1
59740 ac_status=$?
59741 grep -v '^ *+' conftest.er1 >conftest.err
59742 rm -f conftest.er1
59743 cat conftest.err >&5
59744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59745 (exit $ac_status); } &&
59746 { ac_try='test -z "$ac_c_werror_flag"
59747 || test ! -s conftest.err'
59748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59749 (eval $ac_try) 2>&5
59750 ac_status=$?
59751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59752 (exit $ac_status); }; } &&
59753 { ac_try='test -s conftest$ac_exeext'
59754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59755 (eval $ac_try) 2>&5
59756 ac_status=$?
59757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59758 (exit $ac_status); }; }; then
59759 eval "$as_ac_var=yes"
59760 else
59761 echo "$as_me: failed program was:" >&5
59762 sed 's/^/| /' conftest.$ac_ext >&5
59764 eval "$as_ac_var=no"
59766 rm -f conftest.err conftest.$ac_objext \
59767 conftest$ac_exeext conftest.$ac_ext
59769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59771 if test `eval echo '${'$as_ac_var'}'` = yes; then
59772 cat >>confdefs.h <<_ACEOF
59773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59774 _ACEOF
59777 done
59787 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
59788 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
59789 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
59790 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
59791 echo $ECHO_N "(cached) $ECHO_C" >&6
59792 else
59796 ac_ext=cc
59797 ac_cpp='$CXXCPP $CPPFLAGS'
59798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59802 cat >conftest.$ac_ext <<_ACEOF
59803 /* confdefs.h. */
59804 _ACEOF
59805 cat confdefs.h >>conftest.$ac_ext
59806 cat >>conftest.$ac_ext <<_ACEOF
59807 /* end confdefs.h. */
59808 #include <math.h>
59810 main ()
59812 ldexpf(0, 0);
59814 return 0;
59816 _ACEOF
59817 rm -f conftest.$ac_objext
59818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59819 (eval $ac_compile) 2>conftest.er1
59820 ac_status=$?
59821 grep -v '^ *+' conftest.er1 >conftest.err
59822 rm -f conftest.er1
59823 cat conftest.err >&5
59824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59825 (exit $ac_status); } &&
59826 { ac_try='test -z "$ac_cxx_werror_flag"
59827 || test ! -s conftest.err'
59828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59829 (eval $ac_try) 2>&5
59830 ac_status=$?
59831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59832 (exit $ac_status); }; } &&
59833 { ac_try='test -s conftest.$ac_objext'
59834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59835 (eval $ac_try) 2>&5
59836 ac_status=$?
59837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59838 (exit $ac_status); }; }; then
59839 glibcxx_cv_func_ldexpf_use=yes
59840 else
59841 echo "$as_me: failed program was:" >&5
59842 sed 's/^/| /' conftest.$ac_ext >&5
59844 glibcxx_cv_func_ldexpf_use=no
59846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59847 ac_ext=c
59848 ac_cpp='$CPP $CPPFLAGS'
59849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59857 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
59858 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
59860 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
59862 for ac_func in ldexpf
59864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59865 echo "$as_me:$LINENO: checking for $ac_func" >&5
59866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59867 if eval "test \"\${$as_ac_var+set}\" = set"; then
59868 echo $ECHO_N "(cached) $ECHO_C" >&6
59869 else
59870 if test x$gcc_no_link = xyes; then
59871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59873 { (exit 1); exit 1; }; }
59875 cat >conftest.$ac_ext <<_ACEOF
59876 /* confdefs.h. */
59877 _ACEOF
59878 cat confdefs.h >>conftest.$ac_ext
59879 cat >>conftest.$ac_ext <<_ACEOF
59880 /* end confdefs.h. */
59881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59883 #define $ac_func innocuous_$ac_func
59885 /* System header to define __stub macros and hopefully few prototypes,
59886 which can conflict with char $ac_func (); below.
59887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59888 <limits.h> exists even on freestanding compilers. */
59890 #ifdef __STDC__
59891 # include <limits.h>
59892 #else
59893 # include <assert.h>
59894 #endif
59896 #undef $ac_func
59898 /* Override any gcc2 internal prototype to avoid an error. */
59899 #ifdef __cplusplus
59900 extern "C"
59902 #endif
59903 /* We use char because int might match the return type of a gcc2
59904 builtin and then its argument prototype would still apply. */
59905 char $ac_func ();
59906 /* The GNU C library defines this for functions which it implements
59907 to always fail with ENOSYS. Some functions are actually named
59908 something starting with __ and the normal name is an alias. */
59909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59910 choke me
59911 #else
59912 char (*f) () = $ac_func;
59913 #endif
59914 #ifdef __cplusplus
59916 #endif
59919 main ()
59921 return f != $ac_func;
59923 return 0;
59925 _ACEOF
59926 rm -f conftest.$ac_objext conftest$ac_exeext
59927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59928 (eval $ac_link) 2>conftest.er1
59929 ac_status=$?
59930 grep -v '^ *+' conftest.er1 >conftest.err
59931 rm -f conftest.er1
59932 cat conftest.err >&5
59933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59934 (exit $ac_status); } &&
59935 { ac_try='test -z "$ac_c_werror_flag"
59936 || test ! -s conftest.err'
59937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59938 (eval $ac_try) 2>&5
59939 ac_status=$?
59940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59941 (exit $ac_status); }; } &&
59942 { ac_try='test -s conftest$ac_exeext'
59943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59944 (eval $ac_try) 2>&5
59945 ac_status=$?
59946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59947 (exit $ac_status); }; }; then
59948 eval "$as_ac_var=yes"
59949 else
59950 echo "$as_me: failed program was:" >&5
59951 sed 's/^/| /' conftest.$ac_ext >&5
59953 eval "$as_ac_var=no"
59955 rm -f conftest.err conftest.$ac_objext \
59956 conftest$ac_exeext conftest.$ac_ext
59958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59960 if test `eval echo '${'$as_ac_var'}'` = yes; then
59961 cat >>confdefs.h <<_ACEOF
59962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59963 _ACEOF
59966 done
59968 else
59970 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
59971 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
59972 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
59973 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
59974 echo $ECHO_N "(cached) $ECHO_C" >&6
59975 else
59979 ac_ext=cc
59980 ac_cpp='$CXXCPP $CPPFLAGS'
59981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59985 cat >conftest.$ac_ext <<_ACEOF
59986 /* confdefs.h. */
59987 _ACEOF
59988 cat confdefs.h >>conftest.$ac_ext
59989 cat >>conftest.$ac_ext <<_ACEOF
59990 /* end confdefs.h. */
59991 #include <math.h>
59993 main ()
59995 _ldexpf(0, 0);
59997 return 0;
59999 _ACEOF
60000 rm -f conftest.$ac_objext
60001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60002 (eval $ac_compile) 2>conftest.er1
60003 ac_status=$?
60004 grep -v '^ *+' conftest.er1 >conftest.err
60005 rm -f conftest.er1
60006 cat conftest.err >&5
60007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60008 (exit $ac_status); } &&
60009 { ac_try='test -z "$ac_cxx_werror_flag"
60010 || test ! -s conftest.err'
60011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60012 (eval $ac_try) 2>&5
60013 ac_status=$?
60014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60015 (exit $ac_status); }; } &&
60016 { ac_try='test -s conftest.$ac_objext'
60017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60018 (eval $ac_try) 2>&5
60019 ac_status=$?
60020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60021 (exit $ac_status); }; }; then
60022 glibcxx_cv_func__ldexpf_use=yes
60023 else
60024 echo "$as_me: failed program was:" >&5
60025 sed 's/^/| /' conftest.$ac_ext >&5
60027 glibcxx_cv_func__ldexpf_use=no
60029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60030 ac_ext=c
60031 ac_cpp='$CPP $CPPFLAGS'
60032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60040 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
60041 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
60043 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60045 for ac_func in _ldexpf
60047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60048 echo "$as_me:$LINENO: checking for $ac_func" >&5
60049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60050 if eval "test \"\${$as_ac_var+set}\" = set"; then
60051 echo $ECHO_N "(cached) $ECHO_C" >&6
60052 else
60053 if test x$gcc_no_link = xyes; then
60054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60056 { (exit 1); exit 1; }; }
60058 cat >conftest.$ac_ext <<_ACEOF
60059 /* confdefs.h. */
60060 _ACEOF
60061 cat confdefs.h >>conftest.$ac_ext
60062 cat >>conftest.$ac_ext <<_ACEOF
60063 /* end confdefs.h. */
60064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60066 #define $ac_func innocuous_$ac_func
60068 /* System header to define __stub macros and hopefully few prototypes,
60069 which can conflict with char $ac_func (); below.
60070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60071 <limits.h> exists even on freestanding compilers. */
60073 #ifdef __STDC__
60074 # include <limits.h>
60075 #else
60076 # include <assert.h>
60077 #endif
60079 #undef $ac_func
60081 /* Override any gcc2 internal prototype to avoid an error. */
60082 #ifdef __cplusplus
60083 extern "C"
60085 #endif
60086 /* We use char because int might match the return type of a gcc2
60087 builtin and then its argument prototype would still apply. */
60088 char $ac_func ();
60089 /* The GNU C library defines this for functions which it implements
60090 to always fail with ENOSYS. Some functions are actually named
60091 something starting with __ and the normal name is an alias. */
60092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60093 choke me
60094 #else
60095 char (*f) () = $ac_func;
60096 #endif
60097 #ifdef __cplusplus
60099 #endif
60102 main ()
60104 return f != $ac_func;
60106 return 0;
60108 _ACEOF
60109 rm -f conftest.$ac_objext conftest$ac_exeext
60110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60111 (eval $ac_link) 2>conftest.er1
60112 ac_status=$?
60113 grep -v '^ *+' conftest.er1 >conftest.err
60114 rm -f conftest.er1
60115 cat conftest.err >&5
60116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60117 (exit $ac_status); } &&
60118 { ac_try='test -z "$ac_c_werror_flag"
60119 || test ! -s conftest.err'
60120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60121 (eval $ac_try) 2>&5
60122 ac_status=$?
60123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60124 (exit $ac_status); }; } &&
60125 { ac_try='test -s conftest$ac_exeext'
60126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60127 (eval $ac_try) 2>&5
60128 ac_status=$?
60129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60130 (exit $ac_status); }; }; then
60131 eval "$as_ac_var=yes"
60132 else
60133 echo "$as_me: failed program was:" >&5
60134 sed 's/^/| /' conftest.$ac_ext >&5
60136 eval "$as_ac_var=no"
60138 rm -f conftest.err conftest.$ac_objext \
60139 conftest$ac_exeext conftest.$ac_ext
60141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60143 if test `eval echo '${'$as_ac_var'}'` = yes; then
60144 cat >>confdefs.h <<_ACEOF
60145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60146 _ACEOF
60149 done
60159 echo "$as_me:$LINENO: checking for logf declaration" >&5
60160 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
60161 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60162 if test "${glibcxx_cv_func_logf_use+set}" = set; then
60163 echo $ECHO_N "(cached) $ECHO_C" >&6
60164 else
60168 ac_ext=cc
60169 ac_cpp='$CXXCPP $CPPFLAGS'
60170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60174 cat >conftest.$ac_ext <<_ACEOF
60175 /* confdefs.h. */
60176 _ACEOF
60177 cat confdefs.h >>conftest.$ac_ext
60178 cat >>conftest.$ac_ext <<_ACEOF
60179 /* end confdefs.h. */
60180 #include <math.h>
60181 #ifdef HAVE_IEEEFP_H
60182 #include <ieeefp.h>
60183 #endif
60186 main ()
60188 logf(0);
60190 return 0;
60192 _ACEOF
60193 rm -f conftest.$ac_objext
60194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60195 (eval $ac_compile) 2>conftest.er1
60196 ac_status=$?
60197 grep -v '^ *+' conftest.er1 >conftest.err
60198 rm -f conftest.er1
60199 cat conftest.err >&5
60200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60201 (exit $ac_status); } &&
60202 { ac_try='test -z "$ac_cxx_werror_flag"
60203 || test ! -s conftest.err'
60204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60205 (eval $ac_try) 2>&5
60206 ac_status=$?
60207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60208 (exit $ac_status); }; } &&
60209 { ac_try='test -s conftest.$ac_objext'
60210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60211 (eval $ac_try) 2>&5
60212 ac_status=$?
60213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60214 (exit $ac_status); }; }; then
60215 glibcxx_cv_func_logf_use=yes
60216 else
60217 echo "$as_me: failed program was:" >&5
60218 sed 's/^/| /' conftest.$ac_ext >&5
60220 glibcxx_cv_func_logf_use=no
60222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60223 ac_ext=c
60224 ac_cpp='$CPP $CPPFLAGS'
60225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60233 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
60234 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
60236 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60238 for ac_func in logf
60240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60241 echo "$as_me:$LINENO: checking for $ac_func" >&5
60242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60243 if eval "test \"\${$as_ac_var+set}\" = set"; then
60244 echo $ECHO_N "(cached) $ECHO_C" >&6
60245 else
60246 if test x$gcc_no_link = xyes; then
60247 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60249 { (exit 1); exit 1; }; }
60251 cat >conftest.$ac_ext <<_ACEOF
60252 /* confdefs.h. */
60253 _ACEOF
60254 cat confdefs.h >>conftest.$ac_ext
60255 cat >>conftest.$ac_ext <<_ACEOF
60256 /* end confdefs.h. */
60257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60259 #define $ac_func innocuous_$ac_func
60261 /* System header to define __stub macros and hopefully few prototypes,
60262 which can conflict with char $ac_func (); below.
60263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60264 <limits.h> exists even on freestanding compilers. */
60266 #ifdef __STDC__
60267 # include <limits.h>
60268 #else
60269 # include <assert.h>
60270 #endif
60272 #undef $ac_func
60274 /* Override any gcc2 internal prototype to avoid an error. */
60275 #ifdef __cplusplus
60276 extern "C"
60278 #endif
60279 /* We use char because int might match the return type of a gcc2
60280 builtin and then its argument prototype would still apply. */
60281 char $ac_func ();
60282 /* The GNU C library defines this for functions which it implements
60283 to always fail with ENOSYS. Some functions are actually named
60284 something starting with __ and the normal name is an alias. */
60285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60286 choke me
60287 #else
60288 char (*f) () = $ac_func;
60289 #endif
60290 #ifdef __cplusplus
60292 #endif
60295 main ()
60297 return f != $ac_func;
60299 return 0;
60301 _ACEOF
60302 rm -f conftest.$ac_objext conftest$ac_exeext
60303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60304 (eval $ac_link) 2>conftest.er1
60305 ac_status=$?
60306 grep -v '^ *+' conftest.er1 >conftest.err
60307 rm -f conftest.er1
60308 cat conftest.err >&5
60309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60310 (exit $ac_status); } &&
60311 { ac_try='test -z "$ac_c_werror_flag"
60312 || test ! -s conftest.err'
60313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60314 (eval $ac_try) 2>&5
60315 ac_status=$?
60316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60317 (exit $ac_status); }; } &&
60318 { ac_try='test -s conftest$ac_exeext'
60319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60320 (eval $ac_try) 2>&5
60321 ac_status=$?
60322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60323 (exit $ac_status); }; }; then
60324 eval "$as_ac_var=yes"
60325 else
60326 echo "$as_me: failed program was:" >&5
60327 sed 's/^/| /' conftest.$ac_ext >&5
60329 eval "$as_ac_var=no"
60331 rm -f conftest.err conftest.$ac_objext \
60332 conftest$ac_exeext conftest.$ac_ext
60334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60336 if test `eval echo '${'$as_ac_var'}'` = yes; then
60337 cat >>confdefs.h <<_ACEOF
60338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60339 _ACEOF
60342 done
60344 else
60346 echo "$as_me:$LINENO: checking for _logf declaration" >&5
60347 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
60348 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60349 if test "${glibcxx_cv_func__logf_use+set}" = set; then
60350 echo $ECHO_N "(cached) $ECHO_C" >&6
60351 else
60355 ac_ext=cc
60356 ac_cpp='$CXXCPP $CPPFLAGS'
60357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60361 cat >conftest.$ac_ext <<_ACEOF
60362 /* confdefs.h. */
60363 _ACEOF
60364 cat confdefs.h >>conftest.$ac_ext
60365 cat >>conftest.$ac_ext <<_ACEOF
60366 /* end confdefs.h. */
60367 #include <math.h>
60368 #ifdef HAVE_IEEEFP_H
60369 #include <ieeefp.h>
60370 #endif
60373 main ()
60375 _logf(0);
60377 return 0;
60379 _ACEOF
60380 rm -f conftest.$ac_objext
60381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60382 (eval $ac_compile) 2>conftest.er1
60383 ac_status=$?
60384 grep -v '^ *+' conftest.er1 >conftest.err
60385 rm -f conftest.er1
60386 cat conftest.err >&5
60387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60388 (exit $ac_status); } &&
60389 { ac_try='test -z "$ac_cxx_werror_flag"
60390 || test ! -s conftest.err'
60391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60392 (eval $ac_try) 2>&5
60393 ac_status=$?
60394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60395 (exit $ac_status); }; } &&
60396 { ac_try='test -s conftest.$ac_objext'
60397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60398 (eval $ac_try) 2>&5
60399 ac_status=$?
60400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60401 (exit $ac_status); }; }; then
60402 glibcxx_cv_func__logf_use=yes
60403 else
60404 echo "$as_me: failed program was:" >&5
60405 sed 's/^/| /' conftest.$ac_ext >&5
60407 glibcxx_cv_func__logf_use=no
60409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60410 ac_ext=c
60411 ac_cpp='$CPP $CPPFLAGS'
60412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60420 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
60421 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
60423 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60425 for ac_func in _logf
60427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60428 echo "$as_me:$LINENO: checking for $ac_func" >&5
60429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60430 if eval "test \"\${$as_ac_var+set}\" = set"; then
60431 echo $ECHO_N "(cached) $ECHO_C" >&6
60432 else
60433 if test x$gcc_no_link = xyes; then
60434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60436 { (exit 1); exit 1; }; }
60438 cat >conftest.$ac_ext <<_ACEOF
60439 /* confdefs.h. */
60440 _ACEOF
60441 cat confdefs.h >>conftest.$ac_ext
60442 cat >>conftest.$ac_ext <<_ACEOF
60443 /* end confdefs.h. */
60444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60446 #define $ac_func innocuous_$ac_func
60448 /* System header to define __stub macros and hopefully few prototypes,
60449 which can conflict with char $ac_func (); below.
60450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60451 <limits.h> exists even on freestanding compilers. */
60453 #ifdef __STDC__
60454 # include <limits.h>
60455 #else
60456 # include <assert.h>
60457 #endif
60459 #undef $ac_func
60461 /* Override any gcc2 internal prototype to avoid an error. */
60462 #ifdef __cplusplus
60463 extern "C"
60465 #endif
60466 /* We use char because int might match the return type of a gcc2
60467 builtin and then its argument prototype would still apply. */
60468 char $ac_func ();
60469 /* The GNU C library defines this for functions which it implements
60470 to always fail with ENOSYS. Some functions are actually named
60471 something starting with __ and the normal name is an alias. */
60472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60473 choke me
60474 #else
60475 char (*f) () = $ac_func;
60476 #endif
60477 #ifdef __cplusplus
60479 #endif
60482 main ()
60484 return f != $ac_func;
60486 return 0;
60488 _ACEOF
60489 rm -f conftest.$ac_objext conftest$ac_exeext
60490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60491 (eval $ac_link) 2>conftest.er1
60492 ac_status=$?
60493 grep -v '^ *+' conftest.er1 >conftest.err
60494 rm -f conftest.er1
60495 cat conftest.err >&5
60496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60497 (exit $ac_status); } &&
60498 { ac_try='test -z "$ac_c_werror_flag"
60499 || test ! -s conftest.err'
60500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60501 (eval $ac_try) 2>&5
60502 ac_status=$?
60503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60504 (exit $ac_status); }; } &&
60505 { ac_try='test -s conftest$ac_exeext'
60506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60507 (eval $ac_try) 2>&5
60508 ac_status=$?
60509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60510 (exit $ac_status); }; }; then
60511 eval "$as_ac_var=yes"
60512 else
60513 echo "$as_me: failed program was:" >&5
60514 sed 's/^/| /' conftest.$ac_ext >&5
60516 eval "$as_ac_var=no"
60518 rm -f conftest.err conftest.$ac_objext \
60519 conftest$ac_exeext conftest.$ac_ext
60521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60523 if test `eval echo '${'$as_ac_var'}'` = yes; then
60524 cat >>confdefs.h <<_ACEOF
60525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60526 _ACEOF
60529 done
60539 echo "$as_me:$LINENO: checking for log10f declaration" >&5
60540 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
60541 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60542 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
60543 echo $ECHO_N "(cached) $ECHO_C" >&6
60544 else
60548 ac_ext=cc
60549 ac_cpp='$CXXCPP $CPPFLAGS'
60550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60554 cat >conftest.$ac_ext <<_ACEOF
60555 /* confdefs.h. */
60556 _ACEOF
60557 cat confdefs.h >>conftest.$ac_ext
60558 cat >>conftest.$ac_ext <<_ACEOF
60559 /* end confdefs.h. */
60560 #include <math.h>
60561 #ifdef HAVE_IEEEFP_H
60562 #include <ieeefp.h>
60563 #endif
60566 main ()
60568 log10f(0);
60570 return 0;
60572 _ACEOF
60573 rm -f conftest.$ac_objext
60574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60575 (eval $ac_compile) 2>conftest.er1
60576 ac_status=$?
60577 grep -v '^ *+' conftest.er1 >conftest.err
60578 rm -f conftest.er1
60579 cat conftest.err >&5
60580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60581 (exit $ac_status); } &&
60582 { ac_try='test -z "$ac_cxx_werror_flag"
60583 || test ! -s conftest.err'
60584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60585 (eval $ac_try) 2>&5
60586 ac_status=$?
60587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60588 (exit $ac_status); }; } &&
60589 { ac_try='test -s conftest.$ac_objext'
60590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60591 (eval $ac_try) 2>&5
60592 ac_status=$?
60593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60594 (exit $ac_status); }; }; then
60595 glibcxx_cv_func_log10f_use=yes
60596 else
60597 echo "$as_me: failed program was:" >&5
60598 sed 's/^/| /' conftest.$ac_ext >&5
60600 glibcxx_cv_func_log10f_use=no
60602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60603 ac_ext=c
60604 ac_cpp='$CPP $CPPFLAGS'
60605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60613 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
60614 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
60616 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60618 for ac_func in log10f
60620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60621 echo "$as_me:$LINENO: checking for $ac_func" >&5
60622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60623 if eval "test \"\${$as_ac_var+set}\" = set"; then
60624 echo $ECHO_N "(cached) $ECHO_C" >&6
60625 else
60626 if test x$gcc_no_link = xyes; then
60627 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60629 { (exit 1); exit 1; }; }
60631 cat >conftest.$ac_ext <<_ACEOF
60632 /* confdefs.h. */
60633 _ACEOF
60634 cat confdefs.h >>conftest.$ac_ext
60635 cat >>conftest.$ac_ext <<_ACEOF
60636 /* end confdefs.h. */
60637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60639 #define $ac_func innocuous_$ac_func
60641 /* System header to define __stub macros and hopefully few prototypes,
60642 which can conflict with char $ac_func (); below.
60643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60644 <limits.h> exists even on freestanding compilers. */
60646 #ifdef __STDC__
60647 # include <limits.h>
60648 #else
60649 # include <assert.h>
60650 #endif
60652 #undef $ac_func
60654 /* Override any gcc2 internal prototype to avoid an error. */
60655 #ifdef __cplusplus
60656 extern "C"
60658 #endif
60659 /* We use char because int might match the return type of a gcc2
60660 builtin and then its argument prototype would still apply. */
60661 char $ac_func ();
60662 /* The GNU C library defines this for functions which it implements
60663 to always fail with ENOSYS. Some functions are actually named
60664 something starting with __ and the normal name is an alias. */
60665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60666 choke me
60667 #else
60668 char (*f) () = $ac_func;
60669 #endif
60670 #ifdef __cplusplus
60672 #endif
60675 main ()
60677 return f != $ac_func;
60679 return 0;
60681 _ACEOF
60682 rm -f conftest.$ac_objext conftest$ac_exeext
60683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60684 (eval $ac_link) 2>conftest.er1
60685 ac_status=$?
60686 grep -v '^ *+' conftest.er1 >conftest.err
60687 rm -f conftest.er1
60688 cat conftest.err >&5
60689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60690 (exit $ac_status); } &&
60691 { ac_try='test -z "$ac_c_werror_flag"
60692 || test ! -s conftest.err'
60693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60694 (eval $ac_try) 2>&5
60695 ac_status=$?
60696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60697 (exit $ac_status); }; } &&
60698 { ac_try='test -s conftest$ac_exeext'
60699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60700 (eval $ac_try) 2>&5
60701 ac_status=$?
60702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60703 (exit $ac_status); }; }; then
60704 eval "$as_ac_var=yes"
60705 else
60706 echo "$as_me: failed program was:" >&5
60707 sed 's/^/| /' conftest.$ac_ext >&5
60709 eval "$as_ac_var=no"
60711 rm -f conftest.err conftest.$ac_objext \
60712 conftest$ac_exeext conftest.$ac_ext
60714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60716 if test `eval echo '${'$as_ac_var'}'` = yes; then
60717 cat >>confdefs.h <<_ACEOF
60718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60719 _ACEOF
60722 done
60724 else
60726 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
60727 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
60728 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60729 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
60730 echo $ECHO_N "(cached) $ECHO_C" >&6
60731 else
60735 ac_ext=cc
60736 ac_cpp='$CXXCPP $CPPFLAGS'
60737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60741 cat >conftest.$ac_ext <<_ACEOF
60742 /* confdefs.h. */
60743 _ACEOF
60744 cat confdefs.h >>conftest.$ac_ext
60745 cat >>conftest.$ac_ext <<_ACEOF
60746 /* end confdefs.h. */
60747 #include <math.h>
60748 #ifdef HAVE_IEEEFP_H
60749 #include <ieeefp.h>
60750 #endif
60753 main ()
60755 _log10f(0);
60757 return 0;
60759 _ACEOF
60760 rm -f conftest.$ac_objext
60761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60762 (eval $ac_compile) 2>conftest.er1
60763 ac_status=$?
60764 grep -v '^ *+' conftest.er1 >conftest.err
60765 rm -f conftest.er1
60766 cat conftest.err >&5
60767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60768 (exit $ac_status); } &&
60769 { ac_try='test -z "$ac_cxx_werror_flag"
60770 || test ! -s conftest.err'
60771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60772 (eval $ac_try) 2>&5
60773 ac_status=$?
60774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60775 (exit $ac_status); }; } &&
60776 { ac_try='test -s conftest.$ac_objext'
60777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60778 (eval $ac_try) 2>&5
60779 ac_status=$?
60780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60781 (exit $ac_status); }; }; then
60782 glibcxx_cv_func__log10f_use=yes
60783 else
60784 echo "$as_me: failed program was:" >&5
60785 sed 's/^/| /' conftest.$ac_ext >&5
60787 glibcxx_cv_func__log10f_use=no
60789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60790 ac_ext=c
60791 ac_cpp='$CPP $CPPFLAGS'
60792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60800 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
60801 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
60803 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60805 for ac_func in _log10f
60807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60808 echo "$as_me:$LINENO: checking for $ac_func" >&5
60809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60810 if eval "test \"\${$as_ac_var+set}\" = set"; then
60811 echo $ECHO_N "(cached) $ECHO_C" >&6
60812 else
60813 if test x$gcc_no_link = xyes; then
60814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60816 { (exit 1); exit 1; }; }
60818 cat >conftest.$ac_ext <<_ACEOF
60819 /* confdefs.h. */
60820 _ACEOF
60821 cat confdefs.h >>conftest.$ac_ext
60822 cat >>conftest.$ac_ext <<_ACEOF
60823 /* end confdefs.h. */
60824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60826 #define $ac_func innocuous_$ac_func
60828 /* System header to define __stub macros and hopefully few prototypes,
60829 which can conflict with char $ac_func (); below.
60830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60831 <limits.h> exists even on freestanding compilers. */
60833 #ifdef __STDC__
60834 # include <limits.h>
60835 #else
60836 # include <assert.h>
60837 #endif
60839 #undef $ac_func
60841 /* Override any gcc2 internal prototype to avoid an error. */
60842 #ifdef __cplusplus
60843 extern "C"
60845 #endif
60846 /* We use char because int might match the return type of a gcc2
60847 builtin and then its argument prototype would still apply. */
60848 char $ac_func ();
60849 /* The GNU C library defines this for functions which it implements
60850 to always fail with ENOSYS. Some functions are actually named
60851 something starting with __ and the normal name is an alias. */
60852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60853 choke me
60854 #else
60855 char (*f) () = $ac_func;
60856 #endif
60857 #ifdef __cplusplus
60859 #endif
60862 main ()
60864 return f != $ac_func;
60866 return 0;
60868 _ACEOF
60869 rm -f conftest.$ac_objext conftest$ac_exeext
60870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60871 (eval $ac_link) 2>conftest.er1
60872 ac_status=$?
60873 grep -v '^ *+' conftest.er1 >conftest.err
60874 rm -f conftest.er1
60875 cat conftest.err >&5
60876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60877 (exit $ac_status); } &&
60878 { ac_try='test -z "$ac_c_werror_flag"
60879 || test ! -s conftest.err'
60880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60881 (eval $ac_try) 2>&5
60882 ac_status=$?
60883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60884 (exit $ac_status); }; } &&
60885 { ac_try='test -s conftest$ac_exeext'
60886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60887 (eval $ac_try) 2>&5
60888 ac_status=$?
60889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60890 (exit $ac_status); }; }; then
60891 eval "$as_ac_var=yes"
60892 else
60893 echo "$as_me: failed program was:" >&5
60894 sed 's/^/| /' conftest.$ac_ext >&5
60896 eval "$as_ac_var=no"
60898 rm -f conftest.err conftest.$ac_objext \
60899 conftest$ac_exeext conftest.$ac_ext
60901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60903 if test `eval echo '${'$as_ac_var'}'` = yes; then
60904 cat >>confdefs.h <<_ACEOF
60905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60906 _ACEOF
60909 done
60919 echo "$as_me:$LINENO: checking for modff declaration" >&5
60920 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
60921 if test x${glibcxx_cv_func_modff_use+set} != xset; then
60922 if test "${glibcxx_cv_func_modff_use+set}" = set; then
60923 echo $ECHO_N "(cached) $ECHO_C" >&6
60924 else
60928 ac_ext=cc
60929 ac_cpp='$CXXCPP $CPPFLAGS'
60930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60934 cat >conftest.$ac_ext <<_ACEOF
60935 /* confdefs.h. */
60936 _ACEOF
60937 cat confdefs.h >>conftest.$ac_ext
60938 cat >>conftest.$ac_ext <<_ACEOF
60939 /* end confdefs.h. */
60940 #include <math.h>
60942 main ()
60944 modff(0, 0);
60946 return 0;
60948 _ACEOF
60949 rm -f conftest.$ac_objext
60950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60951 (eval $ac_compile) 2>conftest.er1
60952 ac_status=$?
60953 grep -v '^ *+' conftest.er1 >conftest.err
60954 rm -f conftest.er1
60955 cat conftest.err >&5
60956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60957 (exit $ac_status); } &&
60958 { ac_try='test -z "$ac_cxx_werror_flag"
60959 || test ! -s conftest.err'
60960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60961 (eval $ac_try) 2>&5
60962 ac_status=$?
60963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60964 (exit $ac_status); }; } &&
60965 { ac_try='test -s conftest.$ac_objext'
60966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60967 (eval $ac_try) 2>&5
60968 ac_status=$?
60969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60970 (exit $ac_status); }; }; then
60971 glibcxx_cv_func_modff_use=yes
60972 else
60973 echo "$as_me: failed program was:" >&5
60974 sed 's/^/| /' conftest.$ac_ext >&5
60976 glibcxx_cv_func_modff_use=no
60978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60979 ac_ext=c
60980 ac_cpp='$CPP $CPPFLAGS'
60981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60989 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
60990 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
60992 if test x$glibcxx_cv_func_modff_use = x"yes"; then
60994 for ac_func in modff
60996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60997 echo "$as_me:$LINENO: checking for $ac_func" >&5
60998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60999 if eval "test \"\${$as_ac_var+set}\" = set"; then
61000 echo $ECHO_N "(cached) $ECHO_C" >&6
61001 else
61002 if test x$gcc_no_link = xyes; then
61003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61005 { (exit 1); exit 1; }; }
61007 cat >conftest.$ac_ext <<_ACEOF
61008 /* confdefs.h. */
61009 _ACEOF
61010 cat confdefs.h >>conftest.$ac_ext
61011 cat >>conftest.$ac_ext <<_ACEOF
61012 /* end confdefs.h. */
61013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61015 #define $ac_func innocuous_$ac_func
61017 /* System header to define __stub macros and hopefully few prototypes,
61018 which can conflict with char $ac_func (); below.
61019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61020 <limits.h> exists even on freestanding compilers. */
61022 #ifdef __STDC__
61023 # include <limits.h>
61024 #else
61025 # include <assert.h>
61026 #endif
61028 #undef $ac_func
61030 /* Override any gcc2 internal prototype to avoid an error. */
61031 #ifdef __cplusplus
61032 extern "C"
61034 #endif
61035 /* We use char because int might match the return type of a gcc2
61036 builtin and then its argument prototype would still apply. */
61037 char $ac_func ();
61038 /* The GNU C library defines this for functions which it implements
61039 to always fail with ENOSYS. Some functions are actually named
61040 something starting with __ and the normal name is an alias. */
61041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61042 choke me
61043 #else
61044 char (*f) () = $ac_func;
61045 #endif
61046 #ifdef __cplusplus
61048 #endif
61051 main ()
61053 return f != $ac_func;
61055 return 0;
61057 _ACEOF
61058 rm -f conftest.$ac_objext conftest$ac_exeext
61059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61060 (eval $ac_link) 2>conftest.er1
61061 ac_status=$?
61062 grep -v '^ *+' conftest.er1 >conftest.err
61063 rm -f conftest.er1
61064 cat conftest.err >&5
61065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61066 (exit $ac_status); } &&
61067 { ac_try='test -z "$ac_c_werror_flag"
61068 || test ! -s conftest.err'
61069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61070 (eval $ac_try) 2>&5
61071 ac_status=$?
61072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61073 (exit $ac_status); }; } &&
61074 { ac_try='test -s conftest$ac_exeext'
61075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61076 (eval $ac_try) 2>&5
61077 ac_status=$?
61078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61079 (exit $ac_status); }; }; then
61080 eval "$as_ac_var=yes"
61081 else
61082 echo "$as_me: failed program was:" >&5
61083 sed 's/^/| /' conftest.$ac_ext >&5
61085 eval "$as_ac_var=no"
61087 rm -f conftest.err conftest.$ac_objext \
61088 conftest$ac_exeext conftest.$ac_ext
61090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61092 if test `eval echo '${'$as_ac_var'}'` = yes; then
61093 cat >>confdefs.h <<_ACEOF
61094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61095 _ACEOF
61098 done
61100 else
61102 echo "$as_me:$LINENO: checking for _modff declaration" >&5
61103 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
61104 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61105 if test "${glibcxx_cv_func__modff_use+set}" = set; then
61106 echo $ECHO_N "(cached) $ECHO_C" >&6
61107 else
61111 ac_ext=cc
61112 ac_cpp='$CXXCPP $CPPFLAGS'
61113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61117 cat >conftest.$ac_ext <<_ACEOF
61118 /* confdefs.h. */
61119 _ACEOF
61120 cat confdefs.h >>conftest.$ac_ext
61121 cat >>conftest.$ac_ext <<_ACEOF
61122 /* end confdefs.h. */
61123 #include <math.h>
61125 main ()
61127 _modff(0, 0);
61129 return 0;
61131 _ACEOF
61132 rm -f conftest.$ac_objext
61133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61134 (eval $ac_compile) 2>conftest.er1
61135 ac_status=$?
61136 grep -v '^ *+' conftest.er1 >conftest.err
61137 rm -f conftest.er1
61138 cat conftest.err >&5
61139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61140 (exit $ac_status); } &&
61141 { ac_try='test -z "$ac_cxx_werror_flag"
61142 || test ! -s conftest.err'
61143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61144 (eval $ac_try) 2>&5
61145 ac_status=$?
61146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61147 (exit $ac_status); }; } &&
61148 { ac_try='test -s conftest.$ac_objext'
61149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61150 (eval $ac_try) 2>&5
61151 ac_status=$?
61152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61153 (exit $ac_status); }; }; then
61154 glibcxx_cv_func__modff_use=yes
61155 else
61156 echo "$as_me: failed program was:" >&5
61157 sed 's/^/| /' conftest.$ac_ext >&5
61159 glibcxx_cv_func__modff_use=no
61161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61162 ac_ext=c
61163 ac_cpp='$CPP $CPPFLAGS'
61164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61172 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
61173 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
61175 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61177 for ac_func in _modff
61179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61180 echo "$as_me:$LINENO: checking for $ac_func" >&5
61181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61182 if eval "test \"\${$as_ac_var+set}\" = set"; then
61183 echo $ECHO_N "(cached) $ECHO_C" >&6
61184 else
61185 if test x$gcc_no_link = xyes; then
61186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61188 { (exit 1); exit 1; }; }
61190 cat >conftest.$ac_ext <<_ACEOF
61191 /* confdefs.h. */
61192 _ACEOF
61193 cat confdefs.h >>conftest.$ac_ext
61194 cat >>conftest.$ac_ext <<_ACEOF
61195 /* end confdefs.h. */
61196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61198 #define $ac_func innocuous_$ac_func
61200 /* System header to define __stub macros and hopefully few prototypes,
61201 which can conflict with char $ac_func (); below.
61202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61203 <limits.h> exists even on freestanding compilers. */
61205 #ifdef __STDC__
61206 # include <limits.h>
61207 #else
61208 # include <assert.h>
61209 #endif
61211 #undef $ac_func
61213 /* Override any gcc2 internal prototype to avoid an error. */
61214 #ifdef __cplusplus
61215 extern "C"
61217 #endif
61218 /* We use char because int might match the return type of a gcc2
61219 builtin and then its argument prototype would still apply. */
61220 char $ac_func ();
61221 /* The GNU C library defines this for functions which it implements
61222 to always fail with ENOSYS. Some functions are actually named
61223 something starting with __ and the normal name is an alias. */
61224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61225 choke me
61226 #else
61227 char (*f) () = $ac_func;
61228 #endif
61229 #ifdef __cplusplus
61231 #endif
61234 main ()
61236 return f != $ac_func;
61238 return 0;
61240 _ACEOF
61241 rm -f conftest.$ac_objext conftest$ac_exeext
61242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61243 (eval $ac_link) 2>conftest.er1
61244 ac_status=$?
61245 grep -v '^ *+' conftest.er1 >conftest.err
61246 rm -f conftest.er1
61247 cat conftest.err >&5
61248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61249 (exit $ac_status); } &&
61250 { ac_try='test -z "$ac_c_werror_flag"
61251 || test ! -s conftest.err'
61252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61253 (eval $ac_try) 2>&5
61254 ac_status=$?
61255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61256 (exit $ac_status); }; } &&
61257 { ac_try='test -s conftest$ac_exeext'
61258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61259 (eval $ac_try) 2>&5
61260 ac_status=$?
61261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61262 (exit $ac_status); }; }; then
61263 eval "$as_ac_var=yes"
61264 else
61265 echo "$as_me: failed program was:" >&5
61266 sed 's/^/| /' conftest.$ac_ext >&5
61268 eval "$as_ac_var=no"
61270 rm -f conftest.err conftest.$ac_objext \
61271 conftest$ac_exeext conftest.$ac_ext
61273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61275 if test `eval echo '${'$as_ac_var'}'` = yes; then
61276 cat >>confdefs.h <<_ACEOF
61277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61278 _ACEOF
61281 done
61291 echo "$as_me:$LINENO: checking for modf declaration" >&5
61292 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
61293 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61294 if test "${glibcxx_cv_func_modf_use+set}" = set; then
61295 echo $ECHO_N "(cached) $ECHO_C" >&6
61296 else
61300 ac_ext=cc
61301 ac_cpp='$CXXCPP $CPPFLAGS'
61302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61306 cat >conftest.$ac_ext <<_ACEOF
61307 /* confdefs.h. */
61308 _ACEOF
61309 cat confdefs.h >>conftest.$ac_ext
61310 cat >>conftest.$ac_ext <<_ACEOF
61311 /* end confdefs.h. */
61312 #include <math.h>
61314 main ()
61316 modf(0, 0);
61318 return 0;
61320 _ACEOF
61321 rm -f conftest.$ac_objext
61322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61323 (eval $ac_compile) 2>conftest.er1
61324 ac_status=$?
61325 grep -v '^ *+' conftest.er1 >conftest.err
61326 rm -f conftest.er1
61327 cat conftest.err >&5
61328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61329 (exit $ac_status); } &&
61330 { ac_try='test -z "$ac_cxx_werror_flag"
61331 || test ! -s conftest.err'
61332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61333 (eval $ac_try) 2>&5
61334 ac_status=$?
61335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61336 (exit $ac_status); }; } &&
61337 { ac_try='test -s conftest.$ac_objext'
61338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61339 (eval $ac_try) 2>&5
61340 ac_status=$?
61341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61342 (exit $ac_status); }; }; then
61343 glibcxx_cv_func_modf_use=yes
61344 else
61345 echo "$as_me: failed program was:" >&5
61346 sed 's/^/| /' conftest.$ac_ext >&5
61348 glibcxx_cv_func_modf_use=no
61350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61351 ac_ext=c
61352 ac_cpp='$CPP $CPPFLAGS'
61353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61361 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
61362 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
61364 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61366 for ac_func in modf
61368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61369 echo "$as_me:$LINENO: checking for $ac_func" >&5
61370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61371 if eval "test \"\${$as_ac_var+set}\" = set"; then
61372 echo $ECHO_N "(cached) $ECHO_C" >&6
61373 else
61374 if test x$gcc_no_link = xyes; then
61375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61377 { (exit 1); exit 1; }; }
61379 cat >conftest.$ac_ext <<_ACEOF
61380 /* confdefs.h. */
61381 _ACEOF
61382 cat confdefs.h >>conftest.$ac_ext
61383 cat >>conftest.$ac_ext <<_ACEOF
61384 /* end confdefs.h. */
61385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61387 #define $ac_func innocuous_$ac_func
61389 /* System header to define __stub macros and hopefully few prototypes,
61390 which can conflict with char $ac_func (); below.
61391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61392 <limits.h> exists even on freestanding compilers. */
61394 #ifdef __STDC__
61395 # include <limits.h>
61396 #else
61397 # include <assert.h>
61398 #endif
61400 #undef $ac_func
61402 /* Override any gcc2 internal prototype to avoid an error. */
61403 #ifdef __cplusplus
61404 extern "C"
61406 #endif
61407 /* We use char because int might match the return type of a gcc2
61408 builtin and then its argument prototype would still apply. */
61409 char $ac_func ();
61410 /* The GNU C library defines this for functions which it implements
61411 to always fail with ENOSYS. Some functions are actually named
61412 something starting with __ and the normal name is an alias. */
61413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61414 choke me
61415 #else
61416 char (*f) () = $ac_func;
61417 #endif
61418 #ifdef __cplusplus
61420 #endif
61423 main ()
61425 return f != $ac_func;
61427 return 0;
61429 _ACEOF
61430 rm -f conftest.$ac_objext conftest$ac_exeext
61431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61432 (eval $ac_link) 2>conftest.er1
61433 ac_status=$?
61434 grep -v '^ *+' conftest.er1 >conftest.err
61435 rm -f conftest.er1
61436 cat conftest.err >&5
61437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61438 (exit $ac_status); } &&
61439 { ac_try='test -z "$ac_c_werror_flag"
61440 || test ! -s conftest.err'
61441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61442 (eval $ac_try) 2>&5
61443 ac_status=$?
61444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61445 (exit $ac_status); }; } &&
61446 { ac_try='test -s conftest$ac_exeext'
61447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61448 (eval $ac_try) 2>&5
61449 ac_status=$?
61450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61451 (exit $ac_status); }; }; then
61452 eval "$as_ac_var=yes"
61453 else
61454 echo "$as_me: failed program was:" >&5
61455 sed 's/^/| /' conftest.$ac_ext >&5
61457 eval "$as_ac_var=no"
61459 rm -f conftest.err conftest.$ac_objext \
61460 conftest$ac_exeext conftest.$ac_ext
61462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61464 if test `eval echo '${'$as_ac_var'}'` = yes; then
61465 cat >>confdefs.h <<_ACEOF
61466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61467 _ACEOF
61470 done
61472 else
61474 echo "$as_me:$LINENO: checking for _modf declaration" >&5
61475 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
61476 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61477 if test "${glibcxx_cv_func__modf_use+set}" = set; then
61478 echo $ECHO_N "(cached) $ECHO_C" >&6
61479 else
61483 ac_ext=cc
61484 ac_cpp='$CXXCPP $CPPFLAGS'
61485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61489 cat >conftest.$ac_ext <<_ACEOF
61490 /* confdefs.h. */
61491 _ACEOF
61492 cat confdefs.h >>conftest.$ac_ext
61493 cat >>conftest.$ac_ext <<_ACEOF
61494 /* end confdefs.h. */
61495 #include <math.h>
61497 main ()
61499 _modf(0, 0);
61501 return 0;
61503 _ACEOF
61504 rm -f conftest.$ac_objext
61505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61506 (eval $ac_compile) 2>conftest.er1
61507 ac_status=$?
61508 grep -v '^ *+' conftest.er1 >conftest.err
61509 rm -f conftest.er1
61510 cat conftest.err >&5
61511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61512 (exit $ac_status); } &&
61513 { ac_try='test -z "$ac_cxx_werror_flag"
61514 || test ! -s conftest.err'
61515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61516 (eval $ac_try) 2>&5
61517 ac_status=$?
61518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61519 (exit $ac_status); }; } &&
61520 { ac_try='test -s conftest.$ac_objext'
61521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61522 (eval $ac_try) 2>&5
61523 ac_status=$?
61524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61525 (exit $ac_status); }; }; then
61526 glibcxx_cv_func__modf_use=yes
61527 else
61528 echo "$as_me: failed program was:" >&5
61529 sed 's/^/| /' conftest.$ac_ext >&5
61531 glibcxx_cv_func__modf_use=no
61533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61534 ac_ext=c
61535 ac_cpp='$CPP $CPPFLAGS'
61536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61544 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
61545 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
61547 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61549 for ac_func in _modf
61551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61552 echo "$as_me:$LINENO: checking for $ac_func" >&5
61553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61554 if eval "test \"\${$as_ac_var+set}\" = set"; then
61555 echo $ECHO_N "(cached) $ECHO_C" >&6
61556 else
61557 if test x$gcc_no_link = xyes; then
61558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61560 { (exit 1); exit 1; }; }
61562 cat >conftest.$ac_ext <<_ACEOF
61563 /* confdefs.h. */
61564 _ACEOF
61565 cat confdefs.h >>conftest.$ac_ext
61566 cat >>conftest.$ac_ext <<_ACEOF
61567 /* end confdefs.h. */
61568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61570 #define $ac_func innocuous_$ac_func
61572 /* System header to define __stub macros and hopefully few prototypes,
61573 which can conflict with char $ac_func (); below.
61574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61575 <limits.h> exists even on freestanding compilers. */
61577 #ifdef __STDC__
61578 # include <limits.h>
61579 #else
61580 # include <assert.h>
61581 #endif
61583 #undef $ac_func
61585 /* Override any gcc2 internal prototype to avoid an error. */
61586 #ifdef __cplusplus
61587 extern "C"
61589 #endif
61590 /* We use char because int might match the return type of a gcc2
61591 builtin and then its argument prototype would still apply. */
61592 char $ac_func ();
61593 /* The GNU C library defines this for functions which it implements
61594 to always fail with ENOSYS. Some functions are actually named
61595 something starting with __ and the normal name is an alias. */
61596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61597 choke me
61598 #else
61599 char (*f) () = $ac_func;
61600 #endif
61601 #ifdef __cplusplus
61603 #endif
61606 main ()
61608 return f != $ac_func;
61610 return 0;
61612 _ACEOF
61613 rm -f conftest.$ac_objext conftest$ac_exeext
61614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61615 (eval $ac_link) 2>conftest.er1
61616 ac_status=$?
61617 grep -v '^ *+' conftest.er1 >conftest.err
61618 rm -f conftest.er1
61619 cat conftest.err >&5
61620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61621 (exit $ac_status); } &&
61622 { ac_try='test -z "$ac_c_werror_flag"
61623 || test ! -s conftest.err'
61624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61625 (eval $ac_try) 2>&5
61626 ac_status=$?
61627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61628 (exit $ac_status); }; } &&
61629 { ac_try='test -s conftest$ac_exeext'
61630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61631 (eval $ac_try) 2>&5
61632 ac_status=$?
61633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61634 (exit $ac_status); }; }; then
61635 eval "$as_ac_var=yes"
61636 else
61637 echo "$as_me: failed program was:" >&5
61638 sed 's/^/| /' conftest.$ac_ext >&5
61640 eval "$as_ac_var=no"
61642 rm -f conftest.err conftest.$ac_objext \
61643 conftest$ac_exeext conftest.$ac_ext
61645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61647 if test `eval echo '${'$as_ac_var'}'` = yes; then
61648 cat >>confdefs.h <<_ACEOF
61649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61650 _ACEOF
61653 done
61663 echo "$as_me:$LINENO: checking for powf declaration" >&5
61664 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
61665 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61666 if test "${glibcxx_cv_func_powf_use+set}" = set; then
61667 echo $ECHO_N "(cached) $ECHO_C" >&6
61668 else
61672 ac_ext=cc
61673 ac_cpp='$CXXCPP $CPPFLAGS'
61674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61678 cat >conftest.$ac_ext <<_ACEOF
61679 /* confdefs.h. */
61680 _ACEOF
61681 cat confdefs.h >>conftest.$ac_ext
61682 cat >>conftest.$ac_ext <<_ACEOF
61683 /* end confdefs.h. */
61684 #include <math.h>
61686 main ()
61688 powf(0, 0);
61690 return 0;
61692 _ACEOF
61693 rm -f conftest.$ac_objext
61694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61695 (eval $ac_compile) 2>conftest.er1
61696 ac_status=$?
61697 grep -v '^ *+' conftest.er1 >conftest.err
61698 rm -f conftest.er1
61699 cat conftest.err >&5
61700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61701 (exit $ac_status); } &&
61702 { ac_try='test -z "$ac_cxx_werror_flag"
61703 || test ! -s conftest.err'
61704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61705 (eval $ac_try) 2>&5
61706 ac_status=$?
61707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61708 (exit $ac_status); }; } &&
61709 { ac_try='test -s conftest.$ac_objext'
61710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61711 (eval $ac_try) 2>&5
61712 ac_status=$?
61713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61714 (exit $ac_status); }; }; then
61715 glibcxx_cv_func_powf_use=yes
61716 else
61717 echo "$as_me: failed program was:" >&5
61718 sed 's/^/| /' conftest.$ac_ext >&5
61720 glibcxx_cv_func_powf_use=no
61722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61723 ac_ext=c
61724 ac_cpp='$CPP $CPPFLAGS'
61725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61733 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
61734 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
61736 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61738 for ac_func in powf
61740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61741 echo "$as_me:$LINENO: checking for $ac_func" >&5
61742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61743 if eval "test \"\${$as_ac_var+set}\" = set"; then
61744 echo $ECHO_N "(cached) $ECHO_C" >&6
61745 else
61746 if test x$gcc_no_link = xyes; then
61747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61749 { (exit 1); exit 1; }; }
61751 cat >conftest.$ac_ext <<_ACEOF
61752 /* confdefs.h. */
61753 _ACEOF
61754 cat confdefs.h >>conftest.$ac_ext
61755 cat >>conftest.$ac_ext <<_ACEOF
61756 /* end confdefs.h. */
61757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61759 #define $ac_func innocuous_$ac_func
61761 /* System header to define __stub macros and hopefully few prototypes,
61762 which can conflict with char $ac_func (); below.
61763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61764 <limits.h> exists even on freestanding compilers. */
61766 #ifdef __STDC__
61767 # include <limits.h>
61768 #else
61769 # include <assert.h>
61770 #endif
61772 #undef $ac_func
61774 /* Override any gcc2 internal prototype to avoid an error. */
61775 #ifdef __cplusplus
61776 extern "C"
61778 #endif
61779 /* We use char because int might match the return type of a gcc2
61780 builtin and then its argument prototype would still apply. */
61781 char $ac_func ();
61782 /* The GNU C library defines this for functions which it implements
61783 to always fail with ENOSYS. Some functions are actually named
61784 something starting with __ and the normal name is an alias. */
61785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61786 choke me
61787 #else
61788 char (*f) () = $ac_func;
61789 #endif
61790 #ifdef __cplusplus
61792 #endif
61795 main ()
61797 return f != $ac_func;
61799 return 0;
61801 _ACEOF
61802 rm -f conftest.$ac_objext conftest$ac_exeext
61803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61804 (eval $ac_link) 2>conftest.er1
61805 ac_status=$?
61806 grep -v '^ *+' conftest.er1 >conftest.err
61807 rm -f conftest.er1
61808 cat conftest.err >&5
61809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61810 (exit $ac_status); } &&
61811 { ac_try='test -z "$ac_c_werror_flag"
61812 || test ! -s conftest.err'
61813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61814 (eval $ac_try) 2>&5
61815 ac_status=$?
61816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61817 (exit $ac_status); }; } &&
61818 { ac_try='test -s conftest$ac_exeext'
61819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61820 (eval $ac_try) 2>&5
61821 ac_status=$?
61822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61823 (exit $ac_status); }; }; then
61824 eval "$as_ac_var=yes"
61825 else
61826 echo "$as_me: failed program was:" >&5
61827 sed 's/^/| /' conftest.$ac_ext >&5
61829 eval "$as_ac_var=no"
61831 rm -f conftest.err conftest.$ac_objext \
61832 conftest$ac_exeext conftest.$ac_ext
61834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61836 if test `eval echo '${'$as_ac_var'}'` = yes; then
61837 cat >>confdefs.h <<_ACEOF
61838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61839 _ACEOF
61842 done
61844 else
61846 echo "$as_me:$LINENO: checking for _powf declaration" >&5
61847 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
61848 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61849 if test "${glibcxx_cv_func__powf_use+set}" = set; then
61850 echo $ECHO_N "(cached) $ECHO_C" >&6
61851 else
61855 ac_ext=cc
61856 ac_cpp='$CXXCPP $CPPFLAGS'
61857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61861 cat >conftest.$ac_ext <<_ACEOF
61862 /* confdefs.h. */
61863 _ACEOF
61864 cat confdefs.h >>conftest.$ac_ext
61865 cat >>conftest.$ac_ext <<_ACEOF
61866 /* end confdefs.h. */
61867 #include <math.h>
61869 main ()
61871 _powf(0, 0);
61873 return 0;
61875 _ACEOF
61876 rm -f conftest.$ac_objext
61877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61878 (eval $ac_compile) 2>conftest.er1
61879 ac_status=$?
61880 grep -v '^ *+' conftest.er1 >conftest.err
61881 rm -f conftest.er1
61882 cat conftest.err >&5
61883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61884 (exit $ac_status); } &&
61885 { ac_try='test -z "$ac_cxx_werror_flag"
61886 || test ! -s conftest.err'
61887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61888 (eval $ac_try) 2>&5
61889 ac_status=$?
61890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61891 (exit $ac_status); }; } &&
61892 { ac_try='test -s conftest.$ac_objext'
61893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61894 (eval $ac_try) 2>&5
61895 ac_status=$?
61896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61897 (exit $ac_status); }; }; then
61898 glibcxx_cv_func__powf_use=yes
61899 else
61900 echo "$as_me: failed program was:" >&5
61901 sed 's/^/| /' conftest.$ac_ext >&5
61903 glibcxx_cv_func__powf_use=no
61905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61906 ac_ext=c
61907 ac_cpp='$CPP $CPPFLAGS'
61908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61916 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
61917 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
61919 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61921 for ac_func in _powf
61923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61924 echo "$as_me:$LINENO: checking for $ac_func" >&5
61925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61926 if eval "test \"\${$as_ac_var+set}\" = set"; then
61927 echo $ECHO_N "(cached) $ECHO_C" >&6
61928 else
61929 if test x$gcc_no_link = xyes; then
61930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61932 { (exit 1); exit 1; }; }
61934 cat >conftest.$ac_ext <<_ACEOF
61935 /* confdefs.h. */
61936 _ACEOF
61937 cat confdefs.h >>conftest.$ac_ext
61938 cat >>conftest.$ac_ext <<_ACEOF
61939 /* end confdefs.h. */
61940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61942 #define $ac_func innocuous_$ac_func
61944 /* System header to define __stub macros and hopefully few prototypes,
61945 which can conflict with char $ac_func (); below.
61946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61947 <limits.h> exists even on freestanding compilers. */
61949 #ifdef __STDC__
61950 # include <limits.h>
61951 #else
61952 # include <assert.h>
61953 #endif
61955 #undef $ac_func
61957 /* Override any gcc2 internal prototype to avoid an error. */
61958 #ifdef __cplusplus
61959 extern "C"
61961 #endif
61962 /* We use char because int might match the return type of a gcc2
61963 builtin and then its argument prototype would still apply. */
61964 char $ac_func ();
61965 /* The GNU C library defines this for functions which it implements
61966 to always fail with ENOSYS. Some functions are actually named
61967 something starting with __ and the normal name is an alias. */
61968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61969 choke me
61970 #else
61971 char (*f) () = $ac_func;
61972 #endif
61973 #ifdef __cplusplus
61975 #endif
61978 main ()
61980 return f != $ac_func;
61982 return 0;
61984 _ACEOF
61985 rm -f conftest.$ac_objext conftest$ac_exeext
61986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61987 (eval $ac_link) 2>conftest.er1
61988 ac_status=$?
61989 grep -v '^ *+' conftest.er1 >conftest.err
61990 rm -f conftest.er1
61991 cat conftest.err >&5
61992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61993 (exit $ac_status); } &&
61994 { ac_try='test -z "$ac_c_werror_flag"
61995 || test ! -s conftest.err'
61996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61997 (eval $ac_try) 2>&5
61998 ac_status=$?
61999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62000 (exit $ac_status); }; } &&
62001 { ac_try='test -s conftest$ac_exeext'
62002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62003 (eval $ac_try) 2>&5
62004 ac_status=$?
62005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62006 (exit $ac_status); }; }; then
62007 eval "$as_ac_var=yes"
62008 else
62009 echo "$as_me: failed program was:" >&5
62010 sed 's/^/| /' conftest.$ac_ext >&5
62012 eval "$as_ac_var=no"
62014 rm -f conftest.err conftest.$ac_objext \
62015 conftest$ac_exeext conftest.$ac_ext
62017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62019 if test `eval echo '${'$as_ac_var'}'` = yes; then
62020 cat >>confdefs.h <<_ACEOF
62021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62022 _ACEOF
62025 done
62035 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
62036 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
62037 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
62038 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
62039 echo $ECHO_N "(cached) $ECHO_C" >&6
62040 else
62044 ac_ext=cc
62045 ac_cpp='$CXXCPP $CPPFLAGS'
62046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62050 cat >conftest.$ac_ext <<_ACEOF
62051 /* confdefs.h. */
62052 _ACEOF
62053 cat confdefs.h >>conftest.$ac_ext
62054 cat >>conftest.$ac_ext <<_ACEOF
62055 /* end confdefs.h. */
62056 #include <math.h>
62057 #ifdef HAVE_IEEEFP_H
62058 #include <ieeefp.h>
62059 #endif
62062 main ()
62064 sqrtf(0);
62066 return 0;
62068 _ACEOF
62069 rm -f conftest.$ac_objext
62070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62071 (eval $ac_compile) 2>conftest.er1
62072 ac_status=$?
62073 grep -v '^ *+' conftest.er1 >conftest.err
62074 rm -f conftest.er1
62075 cat conftest.err >&5
62076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62077 (exit $ac_status); } &&
62078 { ac_try='test -z "$ac_cxx_werror_flag"
62079 || test ! -s conftest.err'
62080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62081 (eval $ac_try) 2>&5
62082 ac_status=$?
62083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62084 (exit $ac_status); }; } &&
62085 { ac_try='test -s conftest.$ac_objext'
62086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62087 (eval $ac_try) 2>&5
62088 ac_status=$?
62089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62090 (exit $ac_status); }; }; then
62091 glibcxx_cv_func_sqrtf_use=yes
62092 else
62093 echo "$as_me: failed program was:" >&5
62094 sed 's/^/| /' conftest.$ac_ext >&5
62096 glibcxx_cv_func_sqrtf_use=no
62098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62099 ac_ext=c
62100 ac_cpp='$CPP $CPPFLAGS'
62101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62109 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
62110 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
62112 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
62114 for ac_func in sqrtf
62116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62117 echo "$as_me:$LINENO: checking for $ac_func" >&5
62118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62119 if eval "test \"\${$as_ac_var+set}\" = set"; then
62120 echo $ECHO_N "(cached) $ECHO_C" >&6
62121 else
62122 if test x$gcc_no_link = xyes; then
62123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62125 { (exit 1); exit 1; }; }
62127 cat >conftest.$ac_ext <<_ACEOF
62128 /* confdefs.h. */
62129 _ACEOF
62130 cat confdefs.h >>conftest.$ac_ext
62131 cat >>conftest.$ac_ext <<_ACEOF
62132 /* end confdefs.h. */
62133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62135 #define $ac_func innocuous_$ac_func
62137 /* System header to define __stub macros and hopefully few prototypes,
62138 which can conflict with char $ac_func (); below.
62139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62140 <limits.h> exists even on freestanding compilers. */
62142 #ifdef __STDC__
62143 # include <limits.h>
62144 #else
62145 # include <assert.h>
62146 #endif
62148 #undef $ac_func
62150 /* Override any gcc2 internal prototype to avoid an error. */
62151 #ifdef __cplusplus
62152 extern "C"
62154 #endif
62155 /* We use char because int might match the return type of a gcc2
62156 builtin and then its argument prototype would still apply. */
62157 char $ac_func ();
62158 /* The GNU C library defines this for functions which it implements
62159 to always fail with ENOSYS. Some functions are actually named
62160 something starting with __ and the normal name is an alias. */
62161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62162 choke me
62163 #else
62164 char (*f) () = $ac_func;
62165 #endif
62166 #ifdef __cplusplus
62168 #endif
62171 main ()
62173 return f != $ac_func;
62175 return 0;
62177 _ACEOF
62178 rm -f conftest.$ac_objext conftest$ac_exeext
62179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62180 (eval $ac_link) 2>conftest.er1
62181 ac_status=$?
62182 grep -v '^ *+' conftest.er1 >conftest.err
62183 rm -f conftest.er1
62184 cat conftest.err >&5
62185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62186 (exit $ac_status); } &&
62187 { ac_try='test -z "$ac_c_werror_flag"
62188 || test ! -s conftest.err'
62189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62190 (eval $ac_try) 2>&5
62191 ac_status=$?
62192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62193 (exit $ac_status); }; } &&
62194 { ac_try='test -s conftest$ac_exeext'
62195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62196 (eval $ac_try) 2>&5
62197 ac_status=$?
62198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62199 (exit $ac_status); }; }; then
62200 eval "$as_ac_var=yes"
62201 else
62202 echo "$as_me: failed program was:" >&5
62203 sed 's/^/| /' conftest.$ac_ext >&5
62205 eval "$as_ac_var=no"
62207 rm -f conftest.err conftest.$ac_objext \
62208 conftest$ac_exeext conftest.$ac_ext
62210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62212 if test `eval echo '${'$as_ac_var'}'` = yes; then
62213 cat >>confdefs.h <<_ACEOF
62214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62215 _ACEOF
62218 done
62220 else
62222 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
62223 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
62224 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62225 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
62226 echo $ECHO_N "(cached) $ECHO_C" >&6
62227 else
62231 ac_ext=cc
62232 ac_cpp='$CXXCPP $CPPFLAGS'
62233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62237 cat >conftest.$ac_ext <<_ACEOF
62238 /* confdefs.h. */
62239 _ACEOF
62240 cat confdefs.h >>conftest.$ac_ext
62241 cat >>conftest.$ac_ext <<_ACEOF
62242 /* end confdefs.h. */
62243 #include <math.h>
62244 #ifdef HAVE_IEEEFP_H
62245 #include <ieeefp.h>
62246 #endif
62249 main ()
62251 _sqrtf(0);
62253 return 0;
62255 _ACEOF
62256 rm -f conftest.$ac_objext
62257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62258 (eval $ac_compile) 2>conftest.er1
62259 ac_status=$?
62260 grep -v '^ *+' conftest.er1 >conftest.err
62261 rm -f conftest.er1
62262 cat conftest.err >&5
62263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62264 (exit $ac_status); } &&
62265 { ac_try='test -z "$ac_cxx_werror_flag"
62266 || test ! -s conftest.err'
62267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62268 (eval $ac_try) 2>&5
62269 ac_status=$?
62270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62271 (exit $ac_status); }; } &&
62272 { ac_try='test -s conftest.$ac_objext'
62273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62274 (eval $ac_try) 2>&5
62275 ac_status=$?
62276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62277 (exit $ac_status); }; }; then
62278 glibcxx_cv_func__sqrtf_use=yes
62279 else
62280 echo "$as_me: failed program was:" >&5
62281 sed 's/^/| /' conftest.$ac_ext >&5
62283 glibcxx_cv_func__sqrtf_use=no
62285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62286 ac_ext=c
62287 ac_cpp='$CPP $CPPFLAGS'
62288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62296 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
62297 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
62299 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62301 for ac_func in _sqrtf
62303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62304 echo "$as_me:$LINENO: checking for $ac_func" >&5
62305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62306 if eval "test \"\${$as_ac_var+set}\" = set"; then
62307 echo $ECHO_N "(cached) $ECHO_C" >&6
62308 else
62309 if test x$gcc_no_link = xyes; then
62310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62312 { (exit 1); exit 1; }; }
62314 cat >conftest.$ac_ext <<_ACEOF
62315 /* confdefs.h. */
62316 _ACEOF
62317 cat confdefs.h >>conftest.$ac_ext
62318 cat >>conftest.$ac_ext <<_ACEOF
62319 /* end confdefs.h. */
62320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62322 #define $ac_func innocuous_$ac_func
62324 /* System header to define __stub macros and hopefully few prototypes,
62325 which can conflict with char $ac_func (); below.
62326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62327 <limits.h> exists even on freestanding compilers. */
62329 #ifdef __STDC__
62330 # include <limits.h>
62331 #else
62332 # include <assert.h>
62333 #endif
62335 #undef $ac_func
62337 /* Override any gcc2 internal prototype to avoid an error. */
62338 #ifdef __cplusplus
62339 extern "C"
62341 #endif
62342 /* We use char because int might match the return type of a gcc2
62343 builtin and then its argument prototype would still apply. */
62344 char $ac_func ();
62345 /* The GNU C library defines this for functions which it implements
62346 to always fail with ENOSYS. Some functions are actually named
62347 something starting with __ and the normal name is an alias. */
62348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62349 choke me
62350 #else
62351 char (*f) () = $ac_func;
62352 #endif
62353 #ifdef __cplusplus
62355 #endif
62358 main ()
62360 return f != $ac_func;
62362 return 0;
62364 _ACEOF
62365 rm -f conftest.$ac_objext conftest$ac_exeext
62366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62367 (eval $ac_link) 2>conftest.er1
62368 ac_status=$?
62369 grep -v '^ *+' conftest.er1 >conftest.err
62370 rm -f conftest.er1
62371 cat conftest.err >&5
62372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62373 (exit $ac_status); } &&
62374 { ac_try='test -z "$ac_c_werror_flag"
62375 || test ! -s conftest.err'
62376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62377 (eval $ac_try) 2>&5
62378 ac_status=$?
62379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62380 (exit $ac_status); }; } &&
62381 { ac_try='test -s conftest$ac_exeext'
62382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62383 (eval $ac_try) 2>&5
62384 ac_status=$?
62385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62386 (exit $ac_status); }; }; then
62387 eval "$as_ac_var=yes"
62388 else
62389 echo "$as_me: failed program was:" >&5
62390 sed 's/^/| /' conftest.$ac_ext >&5
62392 eval "$as_ac_var=no"
62394 rm -f conftest.err conftest.$ac_objext \
62395 conftest$ac_exeext conftest.$ac_ext
62397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62399 if test `eval echo '${'$as_ac_var'}'` = yes; then
62400 cat >>confdefs.h <<_ACEOF
62401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62402 _ACEOF
62405 done
62415 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
62416 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
62417 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62418 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
62419 echo $ECHO_N "(cached) $ECHO_C" >&6
62420 else
62424 ac_ext=cc
62425 ac_cpp='$CXXCPP $CPPFLAGS'
62426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62430 cat >conftest.$ac_ext <<_ACEOF
62431 /* confdefs.h. */
62432 _ACEOF
62433 cat confdefs.h >>conftest.$ac_ext
62434 cat >>conftest.$ac_ext <<_ACEOF
62435 /* end confdefs.h. */
62436 #include <math.h>
62438 main ()
62440 sincosf(0, 0, 0);
62442 return 0;
62444 _ACEOF
62445 rm -f conftest.$ac_objext
62446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62447 (eval $ac_compile) 2>conftest.er1
62448 ac_status=$?
62449 grep -v '^ *+' conftest.er1 >conftest.err
62450 rm -f conftest.er1
62451 cat conftest.err >&5
62452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62453 (exit $ac_status); } &&
62454 { ac_try='test -z "$ac_cxx_werror_flag"
62455 || test ! -s conftest.err'
62456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62457 (eval $ac_try) 2>&5
62458 ac_status=$?
62459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62460 (exit $ac_status); }; } &&
62461 { ac_try='test -s conftest.$ac_objext'
62462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62463 (eval $ac_try) 2>&5
62464 ac_status=$?
62465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62466 (exit $ac_status); }; }; then
62467 glibcxx_cv_func_sincosf_use=yes
62468 else
62469 echo "$as_me: failed program was:" >&5
62470 sed 's/^/| /' conftest.$ac_ext >&5
62472 glibcxx_cv_func_sincosf_use=no
62474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62475 ac_ext=c
62476 ac_cpp='$CPP $CPPFLAGS'
62477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62485 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
62486 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
62488 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62490 for ac_func in sincosf
62492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62493 echo "$as_me:$LINENO: checking for $ac_func" >&5
62494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62495 if eval "test \"\${$as_ac_var+set}\" = set"; then
62496 echo $ECHO_N "(cached) $ECHO_C" >&6
62497 else
62498 if test x$gcc_no_link = xyes; then
62499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62501 { (exit 1); exit 1; }; }
62503 cat >conftest.$ac_ext <<_ACEOF
62504 /* confdefs.h. */
62505 _ACEOF
62506 cat confdefs.h >>conftest.$ac_ext
62507 cat >>conftest.$ac_ext <<_ACEOF
62508 /* end confdefs.h. */
62509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62511 #define $ac_func innocuous_$ac_func
62513 /* System header to define __stub macros and hopefully few prototypes,
62514 which can conflict with char $ac_func (); below.
62515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62516 <limits.h> exists even on freestanding compilers. */
62518 #ifdef __STDC__
62519 # include <limits.h>
62520 #else
62521 # include <assert.h>
62522 #endif
62524 #undef $ac_func
62526 /* Override any gcc2 internal prototype to avoid an error. */
62527 #ifdef __cplusplus
62528 extern "C"
62530 #endif
62531 /* We use char because int might match the return type of a gcc2
62532 builtin and then its argument prototype would still apply. */
62533 char $ac_func ();
62534 /* The GNU C library defines this for functions which it implements
62535 to always fail with ENOSYS. Some functions are actually named
62536 something starting with __ and the normal name is an alias. */
62537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62538 choke me
62539 #else
62540 char (*f) () = $ac_func;
62541 #endif
62542 #ifdef __cplusplus
62544 #endif
62547 main ()
62549 return f != $ac_func;
62551 return 0;
62553 _ACEOF
62554 rm -f conftest.$ac_objext conftest$ac_exeext
62555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62556 (eval $ac_link) 2>conftest.er1
62557 ac_status=$?
62558 grep -v '^ *+' conftest.er1 >conftest.err
62559 rm -f conftest.er1
62560 cat conftest.err >&5
62561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62562 (exit $ac_status); } &&
62563 { ac_try='test -z "$ac_c_werror_flag"
62564 || test ! -s conftest.err'
62565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62566 (eval $ac_try) 2>&5
62567 ac_status=$?
62568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62569 (exit $ac_status); }; } &&
62570 { ac_try='test -s conftest$ac_exeext'
62571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62572 (eval $ac_try) 2>&5
62573 ac_status=$?
62574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62575 (exit $ac_status); }; }; then
62576 eval "$as_ac_var=yes"
62577 else
62578 echo "$as_me: failed program was:" >&5
62579 sed 's/^/| /' conftest.$ac_ext >&5
62581 eval "$as_ac_var=no"
62583 rm -f conftest.err conftest.$ac_objext \
62584 conftest$ac_exeext conftest.$ac_ext
62586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62588 if test `eval echo '${'$as_ac_var'}'` = yes; then
62589 cat >>confdefs.h <<_ACEOF
62590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62591 _ACEOF
62594 done
62596 else
62598 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
62599 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
62600 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62601 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
62602 echo $ECHO_N "(cached) $ECHO_C" >&6
62603 else
62607 ac_ext=cc
62608 ac_cpp='$CXXCPP $CPPFLAGS'
62609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62613 cat >conftest.$ac_ext <<_ACEOF
62614 /* confdefs.h. */
62615 _ACEOF
62616 cat confdefs.h >>conftest.$ac_ext
62617 cat >>conftest.$ac_ext <<_ACEOF
62618 /* end confdefs.h. */
62619 #include <math.h>
62621 main ()
62623 _sincosf(0, 0, 0);
62625 return 0;
62627 _ACEOF
62628 rm -f conftest.$ac_objext
62629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62630 (eval $ac_compile) 2>conftest.er1
62631 ac_status=$?
62632 grep -v '^ *+' conftest.er1 >conftest.err
62633 rm -f conftest.er1
62634 cat conftest.err >&5
62635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62636 (exit $ac_status); } &&
62637 { ac_try='test -z "$ac_cxx_werror_flag"
62638 || test ! -s conftest.err'
62639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62640 (eval $ac_try) 2>&5
62641 ac_status=$?
62642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62643 (exit $ac_status); }; } &&
62644 { ac_try='test -s conftest.$ac_objext'
62645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62646 (eval $ac_try) 2>&5
62647 ac_status=$?
62648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62649 (exit $ac_status); }; }; then
62650 glibcxx_cv_func__sincosf_use=yes
62651 else
62652 echo "$as_me: failed program was:" >&5
62653 sed 's/^/| /' conftest.$ac_ext >&5
62655 glibcxx_cv_func__sincosf_use=no
62657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62658 ac_ext=c
62659 ac_cpp='$CPP $CPPFLAGS'
62660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62668 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
62669 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
62671 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62673 for ac_func in _sincosf
62675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62676 echo "$as_me:$LINENO: checking for $ac_func" >&5
62677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62678 if eval "test \"\${$as_ac_var+set}\" = set"; then
62679 echo $ECHO_N "(cached) $ECHO_C" >&6
62680 else
62681 if test x$gcc_no_link = xyes; then
62682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62684 { (exit 1); exit 1; }; }
62686 cat >conftest.$ac_ext <<_ACEOF
62687 /* confdefs.h. */
62688 _ACEOF
62689 cat confdefs.h >>conftest.$ac_ext
62690 cat >>conftest.$ac_ext <<_ACEOF
62691 /* end confdefs.h. */
62692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62694 #define $ac_func innocuous_$ac_func
62696 /* System header to define __stub macros and hopefully few prototypes,
62697 which can conflict with char $ac_func (); below.
62698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62699 <limits.h> exists even on freestanding compilers. */
62701 #ifdef __STDC__
62702 # include <limits.h>
62703 #else
62704 # include <assert.h>
62705 #endif
62707 #undef $ac_func
62709 /* Override any gcc2 internal prototype to avoid an error. */
62710 #ifdef __cplusplus
62711 extern "C"
62713 #endif
62714 /* We use char because int might match the return type of a gcc2
62715 builtin and then its argument prototype would still apply. */
62716 char $ac_func ();
62717 /* The GNU C library defines this for functions which it implements
62718 to always fail with ENOSYS. Some functions are actually named
62719 something starting with __ and the normal name is an alias. */
62720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62721 choke me
62722 #else
62723 char (*f) () = $ac_func;
62724 #endif
62725 #ifdef __cplusplus
62727 #endif
62730 main ()
62732 return f != $ac_func;
62734 return 0;
62736 _ACEOF
62737 rm -f conftest.$ac_objext conftest$ac_exeext
62738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62739 (eval $ac_link) 2>conftest.er1
62740 ac_status=$?
62741 grep -v '^ *+' conftest.er1 >conftest.err
62742 rm -f conftest.er1
62743 cat conftest.err >&5
62744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62745 (exit $ac_status); } &&
62746 { ac_try='test -z "$ac_c_werror_flag"
62747 || test ! -s conftest.err'
62748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62749 (eval $ac_try) 2>&5
62750 ac_status=$?
62751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62752 (exit $ac_status); }; } &&
62753 { ac_try='test -s conftest$ac_exeext'
62754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62755 (eval $ac_try) 2>&5
62756 ac_status=$?
62757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62758 (exit $ac_status); }; }; then
62759 eval "$as_ac_var=yes"
62760 else
62761 echo "$as_me: failed program was:" >&5
62762 sed 's/^/| /' conftest.$ac_ext >&5
62764 eval "$as_ac_var=no"
62766 rm -f conftest.err conftest.$ac_objext \
62767 conftest$ac_exeext conftest.$ac_ext
62769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62771 if test `eval echo '${'$as_ac_var'}'` = yes; then
62772 cat >>confdefs.h <<_ACEOF
62773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62774 _ACEOF
62777 done
62787 echo "$as_me:$LINENO: checking for finitef declaration" >&5
62788 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
62789 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62790 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
62791 echo $ECHO_N "(cached) $ECHO_C" >&6
62792 else
62796 ac_ext=cc
62797 ac_cpp='$CXXCPP $CPPFLAGS'
62798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62802 cat >conftest.$ac_ext <<_ACEOF
62803 /* confdefs.h. */
62804 _ACEOF
62805 cat confdefs.h >>conftest.$ac_ext
62806 cat >>conftest.$ac_ext <<_ACEOF
62807 /* end confdefs.h. */
62808 #include <math.h>
62809 #ifdef HAVE_IEEEFP_H
62810 #include <ieeefp.h>
62811 #endif
62814 main ()
62816 finitef(0);
62818 return 0;
62820 _ACEOF
62821 rm -f conftest.$ac_objext
62822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62823 (eval $ac_compile) 2>conftest.er1
62824 ac_status=$?
62825 grep -v '^ *+' conftest.er1 >conftest.err
62826 rm -f conftest.er1
62827 cat conftest.err >&5
62828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62829 (exit $ac_status); } &&
62830 { ac_try='test -z "$ac_cxx_werror_flag"
62831 || test ! -s conftest.err'
62832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62833 (eval $ac_try) 2>&5
62834 ac_status=$?
62835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62836 (exit $ac_status); }; } &&
62837 { ac_try='test -s conftest.$ac_objext'
62838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62839 (eval $ac_try) 2>&5
62840 ac_status=$?
62841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62842 (exit $ac_status); }; }; then
62843 glibcxx_cv_func_finitef_use=yes
62844 else
62845 echo "$as_me: failed program was:" >&5
62846 sed 's/^/| /' conftest.$ac_ext >&5
62848 glibcxx_cv_func_finitef_use=no
62850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62851 ac_ext=c
62852 ac_cpp='$CPP $CPPFLAGS'
62853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62861 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
62862 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
62864 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62866 for ac_func in finitef
62868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62869 echo "$as_me:$LINENO: checking for $ac_func" >&5
62870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62871 if eval "test \"\${$as_ac_var+set}\" = set"; then
62872 echo $ECHO_N "(cached) $ECHO_C" >&6
62873 else
62874 if test x$gcc_no_link = xyes; then
62875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62877 { (exit 1); exit 1; }; }
62879 cat >conftest.$ac_ext <<_ACEOF
62880 /* confdefs.h. */
62881 _ACEOF
62882 cat confdefs.h >>conftest.$ac_ext
62883 cat >>conftest.$ac_ext <<_ACEOF
62884 /* end confdefs.h. */
62885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62887 #define $ac_func innocuous_$ac_func
62889 /* System header to define __stub macros and hopefully few prototypes,
62890 which can conflict with char $ac_func (); below.
62891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62892 <limits.h> exists even on freestanding compilers. */
62894 #ifdef __STDC__
62895 # include <limits.h>
62896 #else
62897 # include <assert.h>
62898 #endif
62900 #undef $ac_func
62902 /* Override any gcc2 internal prototype to avoid an error. */
62903 #ifdef __cplusplus
62904 extern "C"
62906 #endif
62907 /* We use char because int might match the return type of a gcc2
62908 builtin and then its argument prototype would still apply. */
62909 char $ac_func ();
62910 /* The GNU C library defines this for functions which it implements
62911 to always fail with ENOSYS. Some functions are actually named
62912 something starting with __ and the normal name is an alias. */
62913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62914 choke me
62915 #else
62916 char (*f) () = $ac_func;
62917 #endif
62918 #ifdef __cplusplus
62920 #endif
62923 main ()
62925 return f != $ac_func;
62927 return 0;
62929 _ACEOF
62930 rm -f conftest.$ac_objext conftest$ac_exeext
62931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62932 (eval $ac_link) 2>conftest.er1
62933 ac_status=$?
62934 grep -v '^ *+' conftest.er1 >conftest.err
62935 rm -f conftest.er1
62936 cat conftest.err >&5
62937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62938 (exit $ac_status); } &&
62939 { ac_try='test -z "$ac_c_werror_flag"
62940 || test ! -s conftest.err'
62941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62942 (eval $ac_try) 2>&5
62943 ac_status=$?
62944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62945 (exit $ac_status); }; } &&
62946 { ac_try='test -s conftest$ac_exeext'
62947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62948 (eval $ac_try) 2>&5
62949 ac_status=$?
62950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62951 (exit $ac_status); }; }; then
62952 eval "$as_ac_var=yes"
62953 else
62954 echo "$as_me: failed program was:" >&5
62955 sed 's/^/| /' conftest.$ac_ext >&5
62957 eval "$as_ac_var=no"
62959 rm -f conftest.err conftest.$ac_objext \
62960 conftest$ac_exeext conftest.$ac_ext
62962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62964 if test `eval echo '${'$as_ac_var'}'` = yes; then
62965 cat >>confdefs.h <<_ACEOF
62966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62967 _ACEOF
62970 done
62972 else
62974 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
62975 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
62976 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62977 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
62978 echo $ECHO_N "(cached) $ECHO_C" >&6
62979 else
62983 ac_ext=cc
62984 ac_cpp='$CXXCPP $CPPFLAGS'
62985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62989 cat >conftest.$ac_ext <<_ACEOF
62990 /* confdefs.h. */
62991 _ACEOF
62992 cat confdefs.h >>conftest.$ac_ext
62993 cat >>conftest.$ac_ext <<_ACEOF
62994 /* end confdefs.h. */
62995 #include <math.h>
62996 #ifdef HAVE_IEEEFP_H
62997 #include <ieeefp.h>
62998 #endif
63001 main ()
63003 _finitef(0);
63005 return 0;
63007 _ACEOF
63008 rm -f conftest.$ac_objext
63009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63010 (eval $ac_compile) 2>conftest.er1
63011 ac_status=$?
63012 grep -v '^ *+' conftest.er1 >conftest.err
63013 rm -f conftest.er1
63014 cat conftest.err >&5
63015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63016 (exit $ac_status); } &&
63017 { ac_try='test -z "$ac_cxx_werror_flag"
63018 || test ! -s conftest.err'
63019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63020 (eval $ac_try) 2>&5
63021 ac_status=$?
63022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63023 (exit $ac_status); }; } &&
63024 { ac_try='test -s conftest.$ac_objext'
63025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63026 (eval $ac_try) 2>&5
63027 ac_status=$?
63028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63029 (exit $ac_status); }; }; then
63030 glibcxx_cv_func__finitef_use=yes
63031 else
63032 echo "$as_me: failed program was:" >&5
63033 sed 's/^/| /' conftest.$ac_ext >&5
63035 glibcxx_cv_func__finitef_use=no
63037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63038 ac_ext=c
63039 ac_cpp='$CPP $CPPFLAGS'
63040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63048 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
63049 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
63051 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63053 for ac_func in _finitef
63055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63056 echo "$as_me:$LINENO: checking for $ac_func" >&5
63057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63058 if eval "test \"\${$as_ac_var+set}\" = set"; then
63059 echo $ECHO_N "(cached) $ECHO_C" >&6
63060 else
63061 if test x$gcc_no_link = xyes; then
63062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63064 { (exit 1); exit 1; }; }
63066 cat >conftest.$ac_ext <<_ACEOF
63067 /* confdefs.h. */
63068 _ACEOF
63069 cat confdefs.h >>conftest.$ac_ext
63070 cat >>conftest.$ac_ext <<_ACEOF
63071 /* end confdefs.h. */
63072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63074 #define $ac_func innocuous_$ac_func
63076 /* System header to define __stub macros and hopefully few prototypes,
63077 which can conflict with char $ac_func (); below.
63078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63079 <limits.h> exists even on freestanding compilers. */
63081 #ifdef __STDC__
63082 # include <limits.h>
63083 #else
63084 # include <assert.h>
63085 #endif
63087 #undef $ac_func
63089 /* Override any gcc2 internal prototype to avoid an error. */
63090 #ifdef __cplusplus
63091 extern "C"
63093 #endif
63094 /* We use char because int might match the return type of a gcc2
63095 builtin and then its argument prototype would still apply. */
63096 char $ac_func ();
63097 /* The GNU C library defines this for functions which it implements
63098 to always fail with ENOSYS. Some functions are actually named
63099 something starting with __ and the normal name is an alias. */
63100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63101 choke me
63102 #else
63103 char (*f) () = $ac_func;
63104 #endif
63105 #ifdef __cplusplus
63107 #endif
63110 main ()
63112 return f != $ac_func;
63114 return 0;
63116 _ACEOF
63117 rm -f conftest.$ac_objext conftest$ac_exeext
63118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63119 (eval $ac_link) 2>conftest.er1
63120 ac_status=$?
63121 grep -v '^ *+' conftest.er1 >conftest.err
63122 rm -f conftest.er1
63123 cat conftest.err >&5
63124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63125 (exit $ac_status); } &&
63126 { ac_try='test -z "$ac_c_werror_flag"
63127 || test ! -s conftest.err'
63128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63129 (eval $ac_try) 2>&5
63130 ac_status=$?
63131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63132 (exit $ac_status); }; } &&
63133 { ac_try='test -s conftest$ac_exeext'
63134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63135 (eval $ac_try) 2>&5
63136 ac_status=$?
63137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63138 (exit $ac_status); }; }; then
63139 eval "$as_ac_var=yes"
63140 else
63141 echo "$as_me: failed program was:" >&5
63142 sed 's/^/| /' conftest.$ac_ext >&5
63144 eval "$as_ac_var=no"
63146 rm -f conftest.err conftest.$ac_objext \
63147 conftest$ac_exeext conftest.$ac_ext
63149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63151 if test `eval echo '${'$as_ac_var'}'` = yes; then
63152 cat >>confdefs.h <<_ACEOF
63153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63154 _ACEOF
63157 done
63167 echo "$as_me:$LINENO: checking for long double trig functions" >&5
63168 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
63169 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
63170 echo $ECHO_N "(cached) $ECHO_C" >&6
63171 else
63175 ac_ext=cc
63176 ac_cpp='$CXXCPP $CPPFLAGS'
63177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63181 cat >conftest.$ac_ext <<_ACEOF
63182 /* confdefs.h. */
63183 _ACEOF
63184 cat confdefs.h >>conftest.$ac_ext
63185 cat >>conftest.$ac_ext <<_ACEOF
63186 /* end confdefs.h. */
63187 #include <math.h>
63189 main ()
63191 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63193 return 0;
63195 _ACEOF
63196 rm -f conftest.$ac_objext
63197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63198 (eval $ac_compile) 2>conftest.er1
63199 ac_status=$?
63200 grep -v '^ *+' conftest.er1 >conftest.err
63201 rm -f conftest.er1
63202 cat conftest.err >&5
63203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63204 (exit $ac_status); } &&
63205 { ac_try='test -z "$ac_cxx_werror_flag"
63206 || test ! -s conftest.err'
63207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63208 (eval $ac_try) 2>&5
63209 ac_status=$?
63210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63211 (exit $ac_status); }; } &&
63212 { ac_try='test -s conftest.$ac_objext'
63213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63214 (eval $ac_try) 2>&5
63215 ac_status=$?
63216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63217 (exit $ac_status); }; }; then
63218 glibcxx_cv_func_long_double_trig_use=yes
63219 else
63220 echo "$as_me: failed program was:" >&5
63221 sed 's/^/| /' conftest.$ac_ext >&5
63223 glibcxx_cv_func_long_double_trig_use=no
63225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63226 ac_ext=c
63227 ac_cpp='$CPP $CPPFLAGS'
63228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63234 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
63235 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
63236 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63246 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63249 echo "$as_me:$LINENO: checking for $ac_func" >&5
63250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63251 if eval "test \"\${$as_ac_var+set}\" = set"; then
63252 echo $ECHO_N "(cached) $ECHO_C" >&6
63253 else
63254 if test x$gcc_no_link = xyes; then
63255 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63257 { (exit 1); exit 1; }; }
63259 cat >conftest.$ac_ext <<_ACEOF
63260 /* confdefs.h. */
63261 _ACEOF
63262 cat confdefs.h >>conftest.$ac_ext
63263 cat >>conftest.$ac_ext <<_ACEOF
63264 /* end confdefs.h. */
63265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63267 #define $ac_func innocuous_$ac_func
63269 /* System header to define __stub macros and hopefully few prototypes,
63270 which can conflict with char $ac_func (); below.
63271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63272 <limits.h> exists even on freestanding compilers. */
63274 #ifdef __STDC__
63275 # include <limits.h>
63276 #else
63277 # include <assert.h>
63278 #endif
63280 #undef $ac_func
63282 /* Override any gcc2 internal prototype to avoid an error. */
63283 #ifdef __cplusplus
63284 extern "C"
63286 #endif
63287 /* We use char because int might match the return type of a gcc2
63288 builtin and then its argument prototype would still apply. */
63289 char $ac_func ();
63290 /* The GNU C library defines this for functions which it implements
63291 to always fail with ENOSYS. Some functions are actually named
63292 something starting with __ and the normal name is an alias. */
63293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63294 choke me
63295 #else
63296 char (*f) () = $ac_func;
63297 #endif
63298 #ifdef __cplusplus
63300 #endif
63303 main ()
63305 return f != $ac_func;
63307 return 0;
63309 _ACEOF
63310 rm -f conftest.$ac_objext conftest$ac_exeext
63311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63312 (eval $ac_link) 2>conftest.er1
63313 ac_status=$?
63314 grep -v '^ *+' conftest.er1 >conftest.err
63315 rm -f conftest.er1
63316 cat conftest.err >&5
63317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63318 (exit $ac_status); } &&
63319 { ac_try='test -z "$ac_c_werror_flag"
63320 || test ! -s conftest.err'
63321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63322 (eval $ac_try) 2>&5
63323 ac_status=$?
63324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63325 (exit $ac_status); }; } &&
63326 { ac_try='test -s conftest$ac_exeext'
63327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63328 (eval $ac_try) 2>&5
63329 ac_status=$?
63330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63331 (exit $ac_status); }; }; then
63332 eval "$as_ac_var=yes"
63333 else
63334 echo "$as_me: failed program was:" >&5
63335 sed 's/^/| /' conftest.$ac_ext >&5
63337 eval "$as_ac_var=no"
63339 rm -f conftest.err conftest.$ac_objext \
63340 conftest$ac_exeext conftest.$ac_ext
63342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63344 if test `eval echo '${'$as_ac_var'}'` = yes; then
63345 cat >>confdefs.h <<_ACEOF
63346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63347 _ACEOF
63350 done
63352 else
63353 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
63354 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
63355 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
63356 echo $ECHO_N "(cached) $ECHO_C" >&6
63357 else
63361 ac_ext=cc
63362 ac_cpp='$CXXCPP $CPPFLAGS'
63363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63367 cat >conftest.$ac_ext <<_ACEOF
63368 /* confdefs.h. */
63369 _ACEOF
63370 cat confdefs.h >>conftest.$ac_ext
63371 cat >>conftest.$ac_ext <<_ACEOF
63372 /* end confdefs.h. */
63373 #include <math.h>
63375 main ()
63377 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63379 return 0;
63381 _ACEOF
63382 rm -f conftest.$ac_objext
63383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63384 (eval $ac_compile) 2>conftest.er1
63385 ac_status=$?
63386 grep -v '^ *+' conftest.er1 >conftest.err
63387 rm -f conftest.er1
63388 cat conftest.err >&5
63389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63390 (exit $ac_status); } &&
63391 { ac_try='test -z "$ac_cxx_werror_flag"
63392 || test ! -s conftest.err'
63393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63394 (eval $ac_try) 2>&5
63395 ac_status=$?
63396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63397 (exit $ac_status); }; } &&
63398 { ac_try='test -s conftest.$ac_objext'
63399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63400 (eval $ac_try) 2>&5
63401 ac_status=$?
63402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63403 (exit $ac_status); }; }; then
63404 glibcxx_cv_func__long_double_trig_use=yes
63405 else
63406 echo "$as_me: failed program was:" >&5
63407 sed 's/^/| /' conftest.$ac_ext >&5
63409 glibcxx_cv_func__long_double_trig_use=no
63411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63412 ac_ext=c
63413 ac_cpp='$CPP $CPPFLAGS'
63414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63420 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
63421 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
63422 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63432 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63435 echo "$as_me:$LINENO: checking for $ac_func" >&5
63436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63437 if eval "test \"\${$as_ac_var+set}\" = set"; then
63438 echo $ECHO_N "(cached) $ECHO_C" >&6
63439 else
63440 if test x$gcc_no_link = xyes; then
63441 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63443 { (exit 1); exit 1; }; }
63445 cat >conftest.$ac_ext <<_ACEOF
63446 /* confdefs.h. */
63447 _ACEOF
63448 cat confdefs.h >>conftest.$ac_ext
63449 cat >>conftest.$ac_ext <<_ACEOF
63450 /* end confdefs.h. */
63451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63453 #define $ac_func innocuous_$ac_func
63455 /* System header to define __stub macros and hopefully few prototypes,
63456 which can conflict with char $ac_func (); below.
63457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63458 <limits.h> exists even on freestanding compilers. */
63460 #ifdef __STDC__
63461 # include <limits.h>
63462 #else
63463 # include <assert.h>
63464 #endif
63466 #undef $ac_func
63468 /* Override any gcc2 internal prototype to avoid an error. */
63469 #ifdef __cplusplus
63470 extern "C"
63472 #endif
63473 /* We use char because int might match the return type of a gcc2
63474 builtin and then its argument prototype would still apply. */
63475 char $ac_func ();
63476 /* The GNU C library defines this for functions which it implements
63477 to always fail with ENOSYS. Some functions are actually named
63478 something starting with __ and the normal name is an alias. */
63479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63480 choke me
63481 #else
63482 char (*f) () = $ac_func;
63483 #endif
63484 #ifdef __cplusplus
63486 #endif
63489 main ()
63491 return f != $ac_func;
63493 return 0;
63495 _ACEOF
63496 rm -f conftest.$ac_objext conftest$ac_exeext
63497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63498 (eval $ac_link) 2>conftest.er1
63499 ac_status=$?
63500 grep -v '^ *+' conftest.er1 >conftest.err
63501 rm -f conftest.er1
63502 cat conftest.err >&5
63503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63504 (exit $ac_status); } &&
63505 { ac_try='test -z "$ac_c_werror_flag"
63506 || test ! -s conftest.err'
63507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63508 (eval $ac_try) 2>&5
63509 ac_status=$?
63510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63511 (exit $ac_status); }; } &&
63512 { ac_try='test -s conftest$ac_exeext'
63513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63514 (eval $ac_try) 2>&5
63515 ac_status=$?
63516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63517 (exit $ac_status); }; }; then
63518 eval "$as_ac_var=yes"
63519 else
63520 echo "$as_me: failed program was:" >&5
63521 sed 's/^/| /' conftest.$ac_ext >&5
63523 eval "$as_ac_var=no"
63525 rm -f conftest.err conftest.$ac_objext \
63526 conftest$ac_exeext conftest.$ac_ext
63528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63530 if test `eval echo '${'$as_ac_var'}'` = yes; then
63531 cat >>confdefs.h <<_ACEOF
63532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63533 _ACEOF
63536 done
63554 echo "$as_me:$LINENO: checking for long double round functions" >&5
63555 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
63556 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
63557 echo $ECHO_N "(cached) $ECHO_C" >&6
63558 else
63562 ac_ext=cc
63563 ac_cpp='$CXXCPP $CPPFLAGS'
63564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63568 cat >conftest.$ac_ext <<_ACEOF
63569 /* confdefs.h. */
63570 _ACEOF
63571 cat confdefs.h >>conftest.$ac_ext
63572 cat >>conftest.$ac_ext <<_ACEOF
63573 /* end confdefs.h. */
63574 #include <math.h>
63576 main ()
63578 ceill (0); floorl (0);
63580 return 0;
63582 _ACEOF
63583 rm -f conftest.$ac_objext
63584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63585 (eval $ac_compile) 2>conftest.er1
63586 ac_status=$?
63587 grep -v '^ *+' conftest.er1 >conftest.err
63588 rm -f conftest.er1
63589 cat conftest.err >&5
63590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63591 (exit $ac_status); } &&
63592 { ac_try='test -z "$ac_cxx_werror_flag"
63593 || test ! -s conftest.err'
63594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63595 (eval $ac_try) 2>&5
63596 ac_status=$?
63597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63598 (exit $ac_status); }; } &&
63599 { ac_try='test -s conftest.$ac_objext'
63600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63601 (eval $ac_try) 2>&5
63602 ac_status=$?
63603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63604 (exit $ac_status); }; }; then
63605 glibcxx_cv_func_long_double_round_use=yes
63606 else
63607 echo "$as_me: failed program was:" >&5
63608 sed 's/^/| /' conftest.$ac_ext >&5
63610 glibcxx_cv_func_long_double_round_use=no
63612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63613 ac_ext=c
63614 ac_cpp='$CPP $CPPFLAGS'
63615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63621 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
63622 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
63623 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63626 for ac_func in ceill floorl
63628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63629 echo "$as_me:$LINENO: checking for $ac_func" >&5
63630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63631 if eval "test \"\${$as_ac_var+set}\" = set"; then
63632 echo $ECHO_N "(cached) $ECHO_C" >&6
63633 else
63634 if test x$gcc_no_link = xyes; then
63635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63637 { (exit 1); exit 1; }; }
63639 cat >conftest.$ac_ext <<_ACEOF
63640 /* confdefs.h. */
63641 _ACEOF
63642 cat confdefs.h >>conftest.$ac_ext
63643 cat >>conftest.$ac_ext <<_ACEOF
63644 /* end confdefs.h. */
63645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63647 #define $ac_func innocuous_$ac_func
63649 /* System header to define __stub macros and hopefully few prototypes,
63650 which can conflict with char $ac_func (); below.
63651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63652 <limits.h> exists even on freestanding compilers. */
63654 #ifdef __STDC__
63655 # include <limits.h>
63656 #else
63657 # include <assert.h>
63658 #endif
63660 #undef $ac_func
63662 /* Override any gcc2 internal prototype to avoid an error. */
63663 #ifdef __cplusplus
63664 extern "C"
63666 #endif
63667 /* We use char because int might match the return type of a gcc2
63668 builtin and then its argument prototype would still apply. */
63669 char $ac_func ();
63670 /* The GNU C library defines this for functions which it implements
63671 to always fail with ENOSYS. Some functions are actually named
63672 something starting with __ and the normal name is an alias. */
63673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63674 choke me
63675 #else
63676 char (*f) () = $ac_func;
63677 #endif
63678 #ifdef __cplusplus
63680 #endif
63683 main ()
63685 return f != $ac_func;
63687 return 0;
63689 _ACEOF
63690 rm -f conftest.$ac_objext conftest$ac_exeext
63691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63692 (eval $ac_link) 2>conftest.er1
63693 ac_status=$?
63694 grep -v '^ *+' conftest.er1 >conftest.err
63695 rm -f conftest.er1
63696 cat conftest.err >&5
63697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63698 (exit $ac_status); } &&
63699 { ac_try='test -z "$ac_c_werror_flag"
63700 || test ! -s conftest.err'
63701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63702 (eval $ac_try) 2>&5
63703 ac_status=$?
63704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63705 (exit $ac_status); }; } &&
63706 { ac_try='test -s conftest$ac_exeext'
63707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63708 (eval $ac_try) 2>&5
63709 ac_status=$?
63710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63711 (exit $ac_status); }; }; then
63712 eval "$as_ac_var=yes"
63713 else
63714 echo "$as_me: failed program was:" >&5
63715 sed 's/^/| /' conftest.$ac_ext >&5
63717 eval "$as_ac_var=no"
63719 rm -f conftest.err conftest.$ac_objext \
63720 conftest$ac_exeext conftest.$ac_ext
63722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63724 if test `eval echo '${'$as_ac_var'}'` = yes; then
63725 cat >>confdefs.h <<_ACEOF
63726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63727 _ACEOF
63730 done
63732 else
63733 echo "$as_me:$LINENO: checking for _long double round functions" >&5
63734 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
63735 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
63736 echo $ECHO_N "(cached) $ECHO_C" >&6
63737 else
63741 ac_ext=cc
63742 ac_cpp='$CXXCPP $CPPFLAGS'
63743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63747 cat >conftest.$ac_ext <<_ACEOF
63748 /* confdefs.h. */
63749 _ACEOF
63750 cat confdefs.h >>conftest.$ac_ext
63751 cat >>conftest.$ac_ext <<_ACEOF
63752 /* end confdefs.h. */
63753 #include <math.h>
63755 main ()
63757 _ceill (0); _floorl (0);
63759 return 0;
63761 _ACEOF
63762 rm -f conftest.$ac_objext
63763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63764 (eval $ac_compile) 2>conftest.er1
63765 ac_status=$?
63766 grep -v '^ *+' conftest.er1 >conftest.err
63767 rm -f conftest.er1
63768 cat conftest.err >&5
63769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63770 (exit $ac_status); } &&
63771 { ac_try='test -z "$ac_cxx_werror_flag"
63772 || test ! -s conftest.err'
63773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63774 (eval $ac_try) 2>&5
63775 ac_status=$?
63776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63777 (exit $ac_status); }; } &&
63778 { ac_try='test -s conftest.$ac_objext'
63779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63780 (eval $ac_try) 2>&5
63781 ac_status=$?
63782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63783 (exit $ac_status); }; }; then
63784 glibcxx_cv_func__long_double_round_use=yes
63785 else
63786 echo "$as_me: failed program was:" >&5
63787 sed 's/^/| /' conftest.$ac_ext >&5
63789 glibcxx_cv_func__long_double_round_use=no
63791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63792 ac_ext=c
63793 ac_cpp='$CPP $CPPFLAGS'
63794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63800 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
63801 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
63802 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
63805 for ac_func in _ceill _floorl
63807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63808 echo "$as_me:$LINENO: checking for $ac_func" >&5
63809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63810 if eval "test \"\${$as_ac_var+set}\" = set"; then
63811 echo $ECHO_N "(cached) $ECHO_C" >&6
63812 else
63813 if test x$gcc_no_link = xyes; then
63814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63816 { (exit 1); exit 1; }; }
63818 cat >conftest.$ac_ext <<_ACEOF
63819 /* confdefs.h. */
63820 _ACEOF
63821 cat confdefs.h >>conftest.$ac_ext
63822 cat >>conftest.$ac_ext <<_ACEOF
63823 /* end confdefs.h. */
63824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63826 #define $ac_func innocuous_$ac_func
63828 /* System header to define __stub macros and hopefully few prototypes,
63829 which can conflict with char $ac_func (); below.
63830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63831 <limits.h> exists even on freestanding compilers. */
63833 #ifdef __STDC__
63834 # include <limits.h>
63835 #else
63836 # include <assert.h>
63837 #endif
63839 #undef $ac_func
63841 /* Override any gcc2 internal prototype to avoid an error. */
63842 #ifdef __cplusplus
63843 extern "C"
63845 #endif
63846 /* We use char because int might match the return type of a gcc2
63847 builtin and then its argument prototype would still apply. */
63848 char $ac_func ();
63849 /* The GNU C library defines this for functions which it implements
63850 to always fail with ENOSYS. Some functions are actually named
63851 something starting with __ and the normal name is an alias. */
63852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63853 choke me
63854 #else
63855 char (*f) () = $ac_func;
63856 #endif
63857 #ifdef __cplusplus
63859 #endif
63862 main ()
63864 return f != $ac_func;
63866 return 0;
63868 _ACEOF
63869 rm -f conftest.$ac_objext conftest$ac_exeext
63870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63871 (eval $ac_link) 2>conftest.er1
63872 ac_status=$?
63873 grep -v '^ *+' conftest.er1 >conftest.err
63874 rm -f conftest.er1
63875 cat conftest.err >&5
63876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63877 (exit $ac_status); } &&
63878 { ac_try='test -z "$ac_c_werror_flag"
63879 || test ! -s conftest.err'
63880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63881 (eval $ac_try) 2>&5
63882 ac_status=$?
63883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63884 (exit $ac_status); }; } &&
63885 { ac_try='test -s conftest$ac_exeext'
63886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63887 (eval $ac_try) 2>&5
63888 ac_status=$?
63889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63890 (exit $ac_status); }; }; then
63891 eval "$as_ac_var=yes"
63892 else
63893 echo "$as_me: failed program was:" >&5
63894 sed 's/^/| /' conftest.$ac_ext >&5
63896 eval "$as_ac_var=no"
63898 rm -f conftest.err conftest.$ac_objext \
63899 conftest$ac_exeext conftest.$ac_ext
63901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63903 if test `eval echo '${'$as_ac_var'}'` = yes; then
63904 cat >>confdefs.h <<_ACEOF
63905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63906 _ACEOF
63909 done
63921 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
63922 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
63923 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63924 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
63925 echo $ECHO_N "(cached) $ECHO_C" >&6
63926 else
63930 ac_ext=cc
63931 ac_cpp='$CXXCPP $CPPFLAGS'
63932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63936 cat >conftest.$ac_ext <<_ACEOF
63937 /* confdefs.h. */
63938 _ACEOF
63939 cat confdefs.h >>conftest.$ac_ext
63940 cat >>conftest.$ac_ext <<_ACEOF
63941 /* end confdefs.h. */
63942 #include <math.h>
63943 #ifdef HAVE_IEEEFP_H
63944 #include <ieeefp.h>
63945 #endif
63948 main ()
63950 isnanl(0);
63952 return 0;
63954 _ACEOF
63955 rm -f conftest.$ac_objext
63956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63957 (eval $ac_compile) 2>conftest.er1
63958 ac_status=$?
63959 grep -v '^ *+' conftest.er1 >conftest.err
63960 rm -f conftest.er1
63961 cat conftest.err >&5
63962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63963 (exit $ac_status); } &&
63964 { ac_try='test -z "$ac_cxx_werror_flag"
63965 || test ! -s conftest.err'
63966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63967 (eval $ac_try) 2>&5
63968 ac_status=$?
63969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63970 (exit $ac_status); }; } &&
63971 { ac_try='test -s conftest.$ac_objext'
63972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63973 (eval $ac_try) 2>&5
63974 ac_status=$?
63975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63976 (exit $ac_status); }; }; then
63977 glibcxx_cv_func_isnanl_use=yes
63978 else
63979 echo "$as_me: failed program was:" >&5
63980 sed 's/^/| /' conftest.$ac_ext >&5
63982 glibcxx_cv_func_isnanl_use=no
63984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63985 ac_ext=c
63986 ac_cpp='$CPP $CPPFLAGS'
63987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63995 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
63996 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
63998 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64000 for ac_func in isnanl
64002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64003 echo "$as_me:$LINENO: checking for $ac_func" >&5
64004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64005 if eval "test \"\${$as_ac_var+set}\" = set"; then
64006 echo $ECHO_N "(cached) $ECHO_C" >&6
64007 else
64008 if test x$gcc_no_link = xyes; then
64009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64011 { (exit 1); exit 1; }; }
64013 cat >conftest.$ac_ext <<_ACEOF
64014 /* confdefs.h. */
64015 _ACEOF
64016 cat confdefs.h >>conftest.$ac_ext
64017 cat >>conftest.$ac_ext <<_ACEOF
64018 /* end confdefs.h. */
64019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64021 #define $ac_func innocuous_$ac_func
64023 /* System header to define __stub macros and hopefully few prototypes,
64024 which can conflict with char $ac_func (); below.
64025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64026 <limits.h> exists even on freestanding compilers. */
64028 #ifdef __STDC__
64029 # include <limits.h>
64030 #else
64031 # include <assert.h>
64032 #endif
64034 #undef $ac_func
64036 /* Override any gcc2 internal prototype to avoid an error. */
64037 #ifdef __cplusplus
64038 extern "C"
64040 #endif
64041 /* We use char because int might match the return type of a gcc2
64042 builtin and then its argument prototype would still apply. */
64043 char $ac_func ();
64044 /* The GNU C library defines this for functions which it implements
64045 to always fail with ENOSYS. Some functions are actually named
64046 something starting with __ and the normal name is an alias. */
64047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64048 choke me
64049 #else
64050 char (*f) () = $ac_func;
64051 #endif
64052 #ifdef __cplusplus
64054 #endif
64057 main ()
64059 return f != $ac_func;
64061 return 0;
64063 _ACEOF
64064 rm -f conftest.$ac_objext conftest$ac_exeext
64065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64066 (eval $ac_link) 2>conftest.er1
64067 ac_status=$?
64068 grep -v '^ *+' conftest.er1 >conftest.err
64069 rm -f conftest.er1
64070 cat conftest.err >&5
64071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64072 (exit $ac_status); } &&
64073 { ac_try='test -z "$ac_c_werror_flag"
64074 || test ! -s conftest.err'
64075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64076 (eval $ac_try) 2>&5
64077 ac_status=$?
64078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64079 (exit $ac_status); }; } &&
64080 { ac_try='test -s conftest$ac_exeext'
64081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64082 (eval $ac_try) 2>&5
64083 ac_status=$?
64084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64085 (exit $ac_status); }; }; then
64086 eval "$as_ac_var=yes"
64087 else
64088 echo "$as_me: failed program was:" >&5
64089 sed 's/^/| /' conftest.$ac_ext >&5
64091 eval "$as_ac_var=no"
64093 rm -f conftest.err conftest.$ac_objext \
64094 conftest$ac_exeext conftest.$ac_ext
64096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64098 if test `eval echo '${'$as_ac_var'}'` = yes; then
64099 cat >>confdefs.h <<_ACEOF
64100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64101 _ACEOF
64104 done
64106 else
64108 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
64109 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
64110 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64111 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
64112 echo $ECHO_N "(cached) $ECHO_C" >&6
64113 else
64117 ac_ext=cc
64118 ac_cpp='$CXXCPP $CPPFLAGS'
64119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64123 cat >conftest.$ac_ext <<_ACEOF
64124 /* confdefs.h. */
64125 _ACEOF
64126 cat confdefs.h >>conftest.$ac_ext
64127 cat >>conftest.$ac_ext <<_ACEOF
64128 /* end confdefs.h. */
64129 #include <math.h>
64130 #ifdef HAVE_IEEEFP_H
64131 #include <ieeefp.h>
64132 #endif
64135 main ()
64137 _isnanl(0);
64139 return 0;
64141 _ACEOF
64142 rm -f conftest.$ac_objext
64143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64144 (eval $ac_compile) 2>conftest.er1
64145 ac_status=$?
64146 grep -v '^ *+' conftest.er1 >conftest.err
64147 rm -f conftest.er1
64148 cat conftest.err >&5
64149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64150 (exit $ac_status); } &&
64151 { ac_try='test -z "$ac_cxx_werror_flag"
64152 || test ! -s conftest.err'
64153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64154 (eval $ac_try) 2>&5
64155 ac_status=$?
64156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64157 (exit $ac_status); }; } &&
64158 { ac_try='test -s conftest.$ac_objext'
64159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64160 (eval $ac_try) 2>&5
64161 ac_status=$?
64162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64163 (exit $ac_status); }; }; then
64164 glibcxx_cv_func__isnanl_use=yes
64165 else
64166 echo "$as_me: failed program was:" >&5
64167 sed 's/^/| /' conftest.$ac_ext >&5
64169 glibcxx_cv_func__isnanl_use=no
64171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64172 ac_ext=c
64173 ac_cpp='$CPP $CPPFLAGS'
64174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64182 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
64183 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
64185 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64187 for ac_func in _isnanl
64189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64190 echo "$as_me:$LINENO: checking for $ac_func" >&5
64191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64192 if eval "test \"\${$as_ac_var+set}\" = set"; then
64193 echo $ECHO_N "(cached) $ECHO_C" >&6
64194 else
64195 if test x$gcc_no_link = xyes; then
64196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64198 { (exit 1); exit 1; }; }
64200 cat >conftest.$ac_ext <<_ACEOF
64201 /* confdefs.h. */
64202 _ACEOF
64203 cat confdefs.h >>conftest.$ac_ext
64204 cat >>conftest.$ac_ext <<_ACEOF
64205 /* end confdefs.h. */
64206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64208 #define $ac_func innocuous_$ac_func
64210 /* System header to define __stub macros and hopefully few prototypes,
64211 which can conflict with char $ac_func (); below.
64212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64213 <limits.h> exists even on freestanding compilers. */
64215 #ifdef __STDC__
64216 # include <limits.h>
64217 #else
64218 # include <assert.h>
64219 #endif
64221 #undef $ac_func
64223 /* Override any gcc2 internal prototype to avoid an error. */
64224 #ifdef __cplusplus
64225 extern "C"
64227 #endif
64228 /* We use char because int might match the return type of a gcc2
64229 builtin and then its argument prototype would still apply. */
64230 char $ac_func ();
64231 /* The GNU C library defines this for functions which it implements
64232 to always fail with ENOSYS. Some functions are actually named
64233 something starting with __ and the normal name is an alias. */
64234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64235 choke me
64236 #else
64237 char (*f) () = $ac_func;
64238 #endif
64239 #ifdef __cplusplus
64241 #endif
64244 main ()
64246 return f != $ac_func;
64248 return 0;
64250 _ACEOF
64251 rm -f conftest.$ac_objext conftest$ac_exeext
64252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64253 (eval $ac_link) 2>conftest.er1
64254 ac_status=$?
64255 grep -v '^ *+' conftest.er1 >conftest.err
64256 rm -f conftest.er1
64257 cat conftest.err >&5
64258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64259 (exit $ac_status); } &&
64260 { ac_try='test -z "$ac_c_werror_flag"
64261 || test ! -s conftest.err'
64262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64263 (eval $ac_try) 2>&5
64264 ac_status=$?
64265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64266 (exit $ac_status); }; } &&
64267 { ac_try='test -s conftest$ac_exeext'
64268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64269 (eval $ac_try) 2>&5
64270 ac_status=$?
64271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64272 (exit $ac_status); }; }; then
64273 eval "$as_ac_var=yes"
64274 else
64275 echo "$as_me: failed program was:" >&5
64276 sed 's/^/| /' conftest.$ac_ext >&5
64278 eval "$as_ac_var=no"
64280 rm -f conftest.err conftest.$ac_objext \
64281 conftest$ac_exeext conftest.$ac_ext
64283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64285 if test `eval echo '${'$as_ac_var'}'` = yes; then
64286 cat >>confdefs.h <<_ACEOF
64287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64288 _ACEOF
64291 done
64301 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
64302 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
64303 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64304 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
64305 echo $ECHO_N "(cached) $ECHO_C" >&6
64306 else
64310 ac_ext=cc
64311 ac_cpp='$CXXCPP $CPPFLAGS'
64312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64316 cat >conftest.$ac_ext <<_ACEOF
64317 /* confdefs.h. */
64318 _ACEOF
64319 cat confdefs.h >>conftest.$ac_ext
64320 cat >>conftest.$ac_ext <<_ACEOF
64321 /* end confdefs.h. */
64322 #include <math.h>
64323 #ifdef HAVE_IEEEFP_H
64324 #include <ieeefp.h>
64325 #endif
64328 main ()
64330 isinfl(0);
64332 return 0;
64334 _ACEOF
64335 rm -f conftest.$ac_objext
64336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64337 (eval $ac_compile) 2>conftest.er1
64338 ac_status=$?
64339 grep -v '^ *+' conftest.er1 >conftest.err
64340 rm -f conftest.er1
64341 cat conftest.err >&5
64342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64343 (exit $ac_status); } &&
64344 { ac_try='test -z "$ac_cxx_werror_flag"
64345 || test ! -s conftest.err'
64346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64347 (eval $ac_try) 2>&5
64348 ac_status=$?
64349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64350 (exit $ac_status); }; } &&
64351 { ac_try='test -s conftest.$ac_objext'
64352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64353 (eval $ac_try) 2>&5
64354 ac_status=$?
64355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64356 (exit $ac_status); }; }; then
64357 glibcxx_cv_func_isinfl_use=yes
64358 else
64359 echo "$as_me: failed program was:" >&5
64360 sed 's/^/| /' conftest.$ac_ext >&5
64362 glibcxx_cv_func_isinfl_use=no
64364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64365 ac_ext=c
64366 ac_cpp='$CPP $CPPFLAGS'
64367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64375 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
64376 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
64378 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64380 for ac_func in isinfl
64382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64383 echo "$as_me:$LINENO: checking for $ac_func" >&5
64384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64385 if eval "test \"\${$as_ac_var+set}\" = set"; then
64386 echo $ECHO_N "(cached) $ECHO_C" >&6
64387 else
64388 if test x$gcc_no_link = xyes; then
64389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64391 { (exit 1); exit 1; }; }
64393 cat >conftest.$ac_ext <<_ACEOF
64394 /* confdefs.h. */
64395 _ACEOF
64396 cat confdefs.h >>conftest.$ac_ext
64397 cat >>conftest.$ac_ext <<_ACEOF
64398 /* end confdefs.h. */
64399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64401 #define $ac_func innocuous_$ac_func
64403 /* System header to define __stub macros and hopefully few prototypes,
64404 which can conflict with char $ac_func (); below.
64405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64406 <limits.h> exists even on freestanding compilers. */
64408 #ifdef __STDC__
64409 # include <limits.h>
64410 #else
64411 # include <assert.h>
64412 #endif
64414 #undef $ac_func
64416 /* Override any gcc2 internal prototype to avoid an error. */
64417 #ifdef __cplusplus
64418 extern "C"
64420 #endif
64421 /* We use char because int might match the return type of a gcc2
64422 builtin and then its argument prototype would still apply. */
64423 char $ac_func ();
64424 /* The GNU C library defines this for functions which it implements
64425 to always fail with ENOSYS. Some functions are actually named
64426 something starting with __ and the normal name is an alias. */
64427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64428 choke me
64429 #else
64430 char (*f) () = $ac_func;
64431 #endif
64432 #ifdef __cplusplus
64434 #endif
64437 main ()
64439 return f != $ac_func;
64441 return 0;
64443 _ACEOF
64444 rm -f conftest.$ac_objext conftest$ac_exeext
64445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64446 (eval $ac_link) 2>conftest.er1
64447 ac_status=$?
64448 grep -v '^ *+' conftest.er1 >conftest.err
64449 rm -f conftest.er1
64450 cat conftest.err >&5
64451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64452 (exit $ac_status); } &&
64453 { ac_try='test -z "$ac_c_werror_flag"
64454 || test ! -s conftest.err'
64455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64456 (eval $ac_try) 2>&5
64457 ac_status=$?
64458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64459 (exit $ac_status); }; } &&
64460 { ac_try='test -s conftest$ac_exeext'
64461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64462 (eval $ac_try) 2>&5
64463 ac_status=$?
64464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64465 (exit $ac_status); }; }; then
64466 eval "$as_ac_var=yes"
64467 else
64468 echo "$as_me: failed program was:" >&5
64469 sed 's/^/| /' conftest.$ac_ext >&5
64471 eval "$as_ac_var=no"
64473 rm -f conftest.err conftest.$ac_objext \
64474 conftest$ac_exeext conftest.$ac_ext
64476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64478 if test `eval echo '${'$as_ac_var'}'` = yes; then
64479 cat >>confdefs.h <<_ACEOF
64480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64481 _ACEOF
64484 done
64486 else
64488 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
64489 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
64490 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64491 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
64492 echo $ECHO_N "(cached) $ECHO_C" >&6
64493 else
64497 ac_ext=cc
64498 ac_cpp='$CXXCPP $CPPFLAGS'
64499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64503 cat >conftest.$ac_ext <<_ACEOF
64504 /* confdefs.h. */
64505 _ACEOF
64506 cat confdefs.h >>conftest.$ac_ext
64507 cat >>conftest.$ac_ext <<_ACEOF
64508 /* end confdefs.h. */
64509 #include <math.h>
64510 #ifdef HAVE_IEEEFP_H
64511 #include <ieeefp.h>
64512 #endif
64515 main ()
64517 _isinfl(0);
64519 return 0;
64521 _ACEOF
64522 rm -f conftest.$ac_objext
64523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64524 (eval $ac_compile) 2>conftest.er1
64525 ac_status=$?
64526 grep -v '^ *+' conftest.er1 >conftest.err
64527 rm -f conftest.er1
64528 cat conftest.err >&5
64529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64530 (exit $ac_status); } &&
64531 { ac_try='test -z "$ac_cxx_werror_flag"
64532 || test ! -s conftest.err'
64533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64534 (eval $ac_try) 2>&5
64535 ac_status=$?
64536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64537 (exit $ac_status); }; } &&
64538 { ac_try='test -s conftest.$ac_objext'
64539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64540 (eval $ac_try) 2>&5
64541 ac_status=$?
64542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64543 (exit $ac_status); }; }; then
64544 glibcxx_cv_func__isinfl_use=yes
64545 else
64546 echo "$as_me: failed program was:" >&5
64547 sed 's/^/| /' conftest.$ac_ext >&5
64549 glibcxx_cv_func__isinfl_use=no
64551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64552 ac_ext=c
64553 ac_cpp='$CPP $CPPFLAGS'
64554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64562 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
64563 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
64565 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64567 for ac_func in _isinfl
64569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64570 echo "$as_me:$LINENO: checking for $ac_func" >&5
64571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64572 if eval "test \"\${$as_ac_var+set}\" = set"; then
64573 echo $ECHO_N "(cached) $ECHO_C" >&6
64574 else
64575 if test x$gcc_no_link = xyes; then
64576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64578 { (exit 1); exit 1; }; }
64580 cat >conftest.$ac_ext <<_ACEOF
64581 /* confdefs.h. */
64582 _ACEOF
64583 cat confdefs.h >>conftest.$ac_ext
64584 cat >>conftest.$ac_ext <<_ACEOF
64585 /* end confdefs.h. */
64586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64588 #define $ac_func innocuous_$ac_func
64590 /* System header to define __stub macros and hopefully few prototypes,
64591 which can conflict with char $ac_func (); below.
64592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64593 <limits.h> exists even on freestanding compilers. */
64595 #ifdef __STDC__
64596 # include <limits.h>
64597 #else
64598 # include <assert.h>
64599 #endif
64601 #undef $ac_func
64603 /* Override any gcc2 internal prototype to avoid an error. */
64604 #ifdef __cplusplus
64605 extern "C"
64607 #endif
64608 /* We use char because int might match the return type of a gcc2
64609 builtin and then its argument prototype would still apply. */
64610 char $ac_func ();
64611 /* The GNU C library defines this for functions which it implements
64612 to always fail with ENOSYS. Some functions are actually named
64613 something starting with __ and the normal name is an alias. */
64614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64615 choke me
64616 #else
64617 char (*f) () = $ac_func;
64618 #endif
64619 #ifdef __cplusplus
64621 #endif
64624 main ()
64626 return f != $ac_func;
64628 return 0;
64630 _ACEOF
64631 rm -f conftest.$ac_objext conftest$ac_exeext
64632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64633 (eval $ac_link) 2>conftest.er1
64634 ac_status=$?
64635 grep -v '^ *+' conftest.er1 >conftest.err
64636 rm -f conftest.er1
64637 cat conftest.err >&5
64638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64639 (exit $ac_status); } &&
64640 { ac_try='test -z "$ac_c_werror_flag"
64641 || test ! -s conftest.err'
64642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64643 (eval $ac_try) 2>&5
64644 ac_status=$?
64645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64646 (exit $ac_status); }; } &&
64647 { ac_try='test -s conftest$ac_exeext'
64648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64649 (eval $ac_try) 2>&5
64650 ac_status=$?
64651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64652 (exit $ac_status); }; }; then
64653 eval "$as_ac_var=yes"
64654 else
64655 echo "$as_me: failed program was:" >&5
64656 sed 's/^/| /' conftest.$ac_ext >&5
64658 eval "$as_ac_var=no"
64660 rm -f conftest.err conftest.$ac_objext \
64661 conftest$ac_exeext conftest.$ac_ext
64663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64665 if test `eval echo '${'$as_ac_var'}'` = yes; then
64666 cat >>confdefs.h <<_ACEOF
64667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64668 _ACEOF
64671 done
64681 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
64682 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
64683 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
64684 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
64685 echo $ECHO_N "(cached) $ECHO_C" >&6
64686 else
64690 ac_ext=cc
64691 ac_cpp='$CXXCPP $CPPFLAGS'
64692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64696 cat >conftest.$ac_ext <<_ACEOF
64697 /* confdefs.h. */
64698 _ACEOF
64699 cat confdefs.h >>conftest.$ac_ext
64700 cat >>conftest.$ac_ext <<_ACEOF
64701 /* end confdefs.h. */
64702 #include <math.h>
64704 main ()
64706 copysignl(0, 0);
64708 return 0;
64710 _ACEOF
64711 rm -f conftest.$ac_objext
64712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64713 (eval $ac_compile) 2>conftest.er1
64714 ac_status=$?
64715 grep -v '^ *+' conftest.er1 >conftest.err
64716 rm -f conftest.er1
64717 cat conftest.err >&5
64718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64719 (exit $ac_status); } &&
64720 { ac_try='test -z "$ac_cxx_werror_flag"
64721 || test ! -s conftest.err'
64722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64723 (eval $ac_try) 2>&5
64724 ac_status=$?
64725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64726 (exit $ac_status); }; } &&
64727 { ac_try='test -s conftest.$ac_objext'
64728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64729 (eval $ac_try) 2>&5
64730 ac_status=$?
64731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64732 (exit $ac_status); }; }; then
64733 glibcxx_cv_func_copysignl_use=yes
64734 else
64735 echo "$as_me: failed program was:" >&5
64736 sed 's/^/| /' conftest.$ac_ext >&5
64738 glibcxx_cv_func_copysignl_use=no
64740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64741 ac_ext=c
64742 ac_cpp='$CPP $CPPFLAGS'
64743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64751 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
64752 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
64754 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
64756 for ac_func in copysignl
64758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64759 echo "$as_me:$LINENO: checking for $ac_func" >&5
64760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64761 if eval "test \"\${$as_ac_var+set}\" = set"; then
64762 echo $ECHO_N "(cached) $ECHO_C" >&6
64763 else
64764 if test x$gcc_no_link = xyes; then
64765 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64767 { (exit 1); exit 1; }; }
64769 cat >conftest.$ac_ext <<_ACEOF
64770 /* confdefs.h. */
64771 _ACEOF
64772 cat confdefs.h >>conftest.$ac_ext
64773 cat >>conftest.$ac_ext <<_ACEOF
64774 /* end confdefs.h. */
64775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64777 #define $ac_func innocuous_$ac_func
64779 /* System header to define __stub macros and hopefully few prototypes,
64780 which can conflict with char $ac_func (); below.
64781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64782 <limits.h> exists even on freestanding compilers. */
64784 #ifdef __STDC__
64785 # include <limits.h>
64786 #else
64787 # include <assert.h>
64788 #endif
64790 #undef $ac_func
64792 /* Override any gcc2 internal prototype to avoid an error. */
64793 #ifdef __cplusplus
64794 extern "C"
64796 #endif
64797 /* We use char because int might match the return type of a gcc2
64798 builtin and then its argument prototype would still apply. */
64799 char $ac_func ();
64800 /* The GNU C library defines this for functions which it implements
64801 to always fail with ENOSYS. Some functions are actually named
64802 something starting with __ and the normal name is an alias. */
64803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64804 choke me
64805 #else
64806 char (*f) () = $ac_func;
64807 #endif
64808 #ifdef __cplusplus
64810 #endif
64813 main ()
64815 return f != $ac_func;
64817 return 0;
64819 _ACEOF
64820 rm -f conftest.$ac_objext conftest$ac_exeext
64821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64822 (eval $ac_link) 2>conftest.er1
64823 ac_status=$?
64824 grep -v '^ *+' conftest.er1 >conftest.err
64825 rm -f conftest.er1
64826 cat conftest.err >&5
64827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64828 (exit $ac_status); } &&
64829 { ac_try='test -z "$ac_c_werror_flag"
64830 || test ! -s conftest.err'
64831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64832 (eval $ac_try) 2>&5
64833 ac_status=$?
64834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64835 (exit $ac_status); }; } &&
64836 { ac_try='test -s conftest$ac_exeext'
64837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64838 (eval $ac_try) 2>&5
64839 ac_status=$?
64840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64841 (exit $ac_status); }; }; then
64842 eval "$as_ac_var=yes"
64843 else
64844 echo "$as_me: failed program was:" >&5
64845 sed 's/^/| /' conftest.$ac_ext >&5
64847 eval "$as_ac_var=no"
64849 rm -f conftest.err conftest.$ac_objext \
64850 conftest$ac_exeext conftest.$ac_ext
64852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64854 if test `eval echo '${'$as_ac_var'}'` = yes; then
64855 cat >>confdefs.h <<_ACEOF
64856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64857 _ACEOF
64860 done
64862 else
64864 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
64865 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
64866 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
64867 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
64868 echo $ECHO_N "(cached) $ECHO_C" >&6
64869 else
64873 ac_ext=cc
64874 ac_cpp='$CXXCPP $CPPFLAGS'
64875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64879 cat >conftest.$ac_ext <<_ACEOF
64880 /* confdefs.h. */
64881 _ACEOF
64882 cat confdefs.h >>conftest.$ac_ext
64883 cat >>conftest.$ac_ext <<_ACEOF
64884 /* end confdefs.h. */
64885 #include <math.h>
64887 main ()
64889 _copysignl(0, 0);
64891 return 0;
64893 _ACEOF
64894 rm -f conftest.$ac_objext
64895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64896 (eval $ac_compile) 2>conftest.er1
64897 ac_status=$?
64898 grep -v '^ *+' conftest.er1 >conftest.err
64899 rm -f conftest.er1
64900 cat conftest.err >&5
64901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64902 (exit $ac_status); } &&
64903 { ac_try='test -z "$ac_cxx_werror_flag"
64904 || test ! -s conftest.err'
64905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64906 (eval $ac_try) 2>&5
64907 ac_status=$?
64908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64909 (exit $ac_status); }; } &&
64910 { ac_try='test -s conftest.$ac_objext'
64911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64912 (eval $ac_try) 2>&5
64913 ac_status=$?
64914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64915 (exit $ac_status); }; }; then
64916 glibcxx_cv_func__copysignl_use=yes
64917 else
64918 echo "$as_me: failed program was:" >&5
64919 sed 's/^/| /' conftest.$ac_ext >&5
64921 glibcxx_cv_func__copysignl_use=no
64923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64924 ac_ext=c
64925 ac_cpp='$CPP $CPPFLAGS'
64926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64934 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
64935 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
64937 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
64939 for ac_func in _copysignl
64941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64942 echo "$as_me:$LINENO: checking for $ac_func" >&5
64943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64944 if eval "test \"\${$as_ac_var+set}\" = set"; then
64945 echo $ECHO_N "(cached) $ECHO_C" >&6
64946 else
64947 if test x$gcc_no_link = xyes; then
64948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64950 { (exit 1); exit 1; }; }
64952 cat >conftest.$ac_ext <<_ACEOF
64953 /* confdefs.h. */
64954 _ACEOF
64955 cat confdefs.h >>conftest.$ac_ext
64956 cat >>conftest.$ac_ext <<_ACEOF
64957 /* end confdefs.h. */
64958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64960 #define $ac_func innocuous_$ac_func
64962 /* System header to define __stub macros and hopefully few prototypes,
64963 which can conflict with char $ac_func (); below.
64964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64965 <limits.h> exists even on freestanding compilers. */
64967 #ifdef __STDC__
64968 # include <limits.h>
64969 #else
64970 # include <assert.h>
64971 #endif
64973 #undef $ac_func
64975 /* Override any gcc2 internal prototype to avoid an error. */
64976 #ifdef __cplusplus
64977 extern "C"
64979 #endif
64980 /* We use char because int might match the return type of a gcc2
64981 builtin and then its argument prototype would still apply. */
64982 char $ac_func ();
64983 /* The GNU C library defines this for functions which it implements
64984 to always fail with ENOSYS. Some functions are actually named
64985 something starting with __ and the normal name is an alias. */
64986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64987 choke me
64988 #else
64989 char (*f) () = $ac_func;
64990 #endif
64991 #ifdef __cplusplus
64993 #endif
64996 main ()
64998 return f != $ac_func;
65000 return 0;
65002 _ACEOF
65003 rm -f conftest.$ac_objext conftest$ac_exeext
65004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65005 (eval $ac_link) 2>conftest.er1
65006 ac_status=$?
65007 grep -v '^ *+' conftest.er1 >conftest.err
65008 rm -f conftest.er1
65009 cat conftest.err >&5
65010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65011 (exit $ac_status); } &&
65012 { ac_try='test -z "$ac_c_werror_flag"
65013 || test ! -s conftest.err'
65014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65015 (eval $ac_try) 2>&5
65016 ac_status=$?
65017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65018 (exit $ac_status); }; } &&
65019 { ac_try='test -s conftest$ac_exeext'
65020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65021 (eval $ac_try) 2>&5
65022 ac_status=$?
65023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65024 (exit $ac_status); }; }; then
65025 eval "$as_ac_var=yes"
65026 else
65027 echo "$as_me: failed program was:" >&5
65028 sed 's/^/| /' conftest.$ac_ext >&5
65030 eval "$as_ac_var=no"
65032 rm -f conftest.err conftest.$ac_objext \
65033 conftest$ac_exeext conftest.$ac_ext
65035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65037 if test `eval echo '${'$as_ac_var'}'` = yes; then
65038 cat >>confdefs.h <<_ACEOF
65039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65040 _ACEOF
65043 done
65053 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
65054 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
65055 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
65056 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
65057 echo $ECHO_N "(cached) $ECHO_C" >&6
65058 else
65062 ac_ext=cc
65063 ac_cpp='$CXXCPP $CPPFLAGS'
65064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65068 cat >conftest.$ac_ext <<_ACEOF
65069 /* confdefs.h. */
65070 _ACEOF
65071 cat confdefs.h >>conftest.$ac_ext
65072 cat >>conftest.$ac_ext <<_ACEOF
65073 /* end confdefs.h. */
65074 #include <math.h>
65076 main ()
65078 atan2l(0, 0);
65080 return 0;
65082 _ACEOF
65083 rm -f conftest.$ac_objext
65084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65085 (eval $ac_compile) 2>conftest.er1
65086 ac_status=$?
65087 grep -v '^ *+' conftest.er1 >conftest.err
65088 rm -f conftest.er1
65089 cat conftest.err >&5
65090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65091 (exit $ac_status); } &&
65092 { ac_try='test -z "$ac_cxx_werror_flag"
65093 || test ! -s conftest.err'
65094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65095 (eval $ac_try) 2>&5
65096 ac_status=$?
65097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65098 (exit $ac_status); }; } &&
65099 { ac_try='test -s conftest.$ac_objext'
65100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65101 (eval $ac_try) 2>&5
65102 ac_status=$?
65103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65104 (exit $ac_status); }; }; then
65105 glibcxx_cv_func_atan2l_use=yes
65106 else
65107 echo "$as_me: failed program was:" >&5
65108 sed 's/^/| /' conftest.$ac_ext >&5
65110 glibcxx_cv_func_atan2l_use=no
65112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65113 ac_ext=c
65114 ac_cpp='$CPP $CPPFLAGS'
65115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65123 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
65124 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
65126 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
65128 for ac_func in atan2l
65130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65131 echo "$as_me:$LINENO: checking for $ac_func" >&5
65132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65133 if eval "test \"\${$as_ac_var+set}\" = set"; then
65134 echo $ECHO_N "(cached) $ECHO_C" >&6
65135 else
65136 if test x$gcc_no_link = xyes; then
65137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65139 { (exit 1); exit 1; }; }
65141 cat >conftest.$ac_ext <<_ACEOF
65142 /* confdefs.h. */
65143 _ACEOF
65144 cat confdefs.h >>conftest.$ac_ext
65145 cat >>conftest.$ac_ext <<_ACEOF
65146 /* end confdefs.h. */
65147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65149 #define $ac_func innocuous_$ac_func
65151 /* System header to define __stub macros and hopefully few prototypes,
65152 which can conflict with char $ac_func (); below.
65153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65154 <limits.h> exists even on freestanding compilers. */
65156 #ifdef __STDC__
65157 # include <limits.h>
65158 #else
65159 # include <assert.h>
65160 #endif
65162 #undef $ac_func
65164 /* Override any gcc2 internal prototype to avoid an error. */
65165 #ifdef __cplusplus
65166 extern "C"
65168 #endif
65169 /* We use char because int might match the return type of a gcc2
65170 builtin and then its argument prototype would still apply. */
65171 char $ac_func ();
65172 /* The GNU C library defines this for functions which it implements
65173 to always fail with ENOSYS. Some functions are actually named
65174 something starting with __ and the normal name is an alias. */
65175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65176 choke me
65177 #else
65178 char (*f) () = $ac_func;
65179 #endif
65180 #ifdef __cplusplus
65182 #endif
65185 main ()
65187 return f != $ac_func;
65189 return 0;
65191 _ACEOF
65192 rm -f conftest.$ac_objext conftest$ac_exeext
65193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65194 (eval $ac_link) 2>conftest.er1
65195 ac_status=$?
65196 grep -v '^ *+' conftest.er1 >conftest.err
65197 rm -f conftest.er1
65198 cat conftest.err >&5
65199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65200 (exit $ac_status); } &&
65201 { ac_try='test -z "$ac_c_werror_flag"
65202 || test ! -s conftest.err'
65203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65204 (eval $ac_try) 2>&5
65205 ac_status=$?
65206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65207 (exit $ac_status); }; } &&
65208 { ac_try='test -s conftest$ac_exeext'
65209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65210 (eval $ac_try) 2>&5
65211 ac_status=$?
65212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65213 (exit $ac_status); }; }; then
65214 eval "$as_ac_var=yes"
65215 else
65216 echo "$as_me: failed program was:" >&5
65217 sed 's/^/| /' conftest.$ac_ext >&5
65219 eval "$as_ac_var=no"
65221 rm -f conftest.err conftest.$ac_objext \
65222 conftest$ac_exeext conftest.$ac_ext
65224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65226 if test `eval echo '${'$as_ac_var'}'` = yes; then
65227 cat >>confdefs.h <<_ACEOF
65228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65229 _ACEOF
65232 done
65234 else
65236 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
65237 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
65238 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
65239 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
65240 echo $ECHO_N "(cached) $ECHO_C" >&6
65241 else
65245 ac_ext=cc
65246 ac_cpp='$CXXCPP $CPPFLAGS'
65247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65251 cat >conftest.$ac_ext <<_ACEOF
65252 /* confdefs.h. */
65253 _ACEOF
65254 cat confdefs.h >>conftest.$ac_ext
65255 cat >>conftest.$ac_ext <<_ACEOF
65256 /* end confdefs.h. */
65257 #include <math.h>
65259 main ()
65261 _atan2l(0, 0);
65263 return 0;
65265 _ACEOF
65266 rm -f conftest.$ac_objext
65267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65268 (eval $ac_compile) 2>conftest.er1
65269 ac_status=$?
65270 grep -v '^ *+' conftest.er1 >conftest.err
65271 rm -f conftest.er1
65272 cat conftest.err >&5
65273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65274 (exit $ac_status); } &&
65275 { ac_try='test -z "$ac_cxx_werror_flag"
65276 || test ! -s conftest.err'
65277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65278 (eval $ac_try) 2>&5
65279 ac_status=$?
65280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65281 (exit $ac_status); }; } &&
65282 { ac_try='test -s conftest.$ac_objext'
65283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65284 (eval $ac_try) 2>&5
65285 ac_status=$?
65286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65287 (exit $ac_status); }; }; then
65288 glibcxx_cv_func__atan2l_use=yes
65289 else
65290 echo "$as_me: failed program was:" >&5
65291 sed 's/^/| /' conftest.$ac_ext >&5
65293 glibcxx_cv_func__atan2l_use=no
65295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65296 ac_ext=c
65297 ac_cpp='$CPP $CPPFLAGS'
65298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65306 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
65307 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
65309 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
65311 for ac_func in _atan2l
65313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65314 echo "$as_me:$LINENO: checking for $ac_func" >&5
65315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65316 if eval "test \"\${$as_ac_var+set}\" = set"; then
65317 echo $ECHO_N "(cached) $ECHO_C" >&6
65318 else
65319 if test x$gcc_no_link = xyes; then
65320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65322 { (exit 1); exit 1; }; }
65324 cat >conftest.$ac_ext <<_ACEOF
65325 /* confdefs.h. */
65326 _ACEOF
65327 cat confdefs.h >>conftest.$ac_ext
65328 cat >>conftest.$ac_ext <<_ACEOF
65329 /* end confdefs.h. */
65330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65332 #define $ac_func innocuous_$ac_func
65334 /* System header to define __stub macros and hopefully few prototypes,
65335 which can conflict with char $ac_func (); below.
65336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65337 <limits.h> exists even on freestanding compilers. */
65339 #ifdef __STDC__
65340 # include <limits.h>
65341 #else
65342 # include <assert.h>
65343 #endif
65345 #undef $ac_func
65347 /* Override any gcc2 internal prototype to avoid an error. */
65348 #ifdef __cplusplus
65349 extern "C"
65351 #endif
65352 /* We use char because int might match the return type of a gcc2
65353 builtin and then its argument prototype would still apply. */
65354 char $ac_func ();
65355 /* The GNU C library defines this for functions which it implements
65356 to always fail with ENOSYS. Some functions are actually named
65357 something starting with __ and the normal name is an alias. */
65358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65359 choke me
65360 #else
65361 char (*f) () = $ac_func;
65362 #endif
65363 #ifdef __cplusplus
65365 #endif
65368 main ()
65370 return f != $ac_func;
65372 return 0;
65374 _ACEOF
65375 rm -f conftest.$ac_objext conftest$ac_exeext
65376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65377 (eval $ac_link) 2>conftest.er1
65378 ac_status=$?
65379 grep -v '^ *+' conftest.er1 >conftest.err
65380 rm -f conftest.er1
65381 cat conftest.err >&5
65382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65383 (exit $ac_status); } &&
65384 { ac_try='test -z "$ac_c_werror_flag"
65385 || test ! -s conftest.err'
65386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65387 (eval $ac_try) 2>&5
65388 ac_status=$?
65389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65390 (exit $ac_status); }; } &&
65391 { ac_try='test -s conftest$ac_exeext'
65392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65393 (eval $ac_try) 2>&5
65394 ac_status=$?
65395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65396 (exit $ac_status); }; }; then
65397 eval "$as_ac_var=yes"
65398 else
65399 echo "$as_me: failed program was:" >&5
65400 sed 's/^/| /' conftest.$ac_ext >&5
65402 eval "$as_ac_var=no"
65404 rm -f conftest.err conftest.$ac_objext \
65405 conftest$ac_exeext conftest.$ac_ext
65407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65409 if test `eval echo '${'$as_ac_var'}'` = yes; then
65410 cat >>confdefs.h <<_ACEOF
65411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65412 _ACEOF
65415 done
65425 echo "$as_me:$LINENO: checking for expl declaration" >&5
65426 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
65427 if test x${glibcxx_cv_func_expl_use+set} != xset; then
65428 if test "${glibcxx_cv_func_expl_use+set}" = set; then
65429 echo $ECHO_N "(cached) $ECHO_C" >&6
65430 else
65434 ac_ext=cc
65435 ac_cpp='$CXXCPP $CPPFLAGS'
65436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65440 cat >conftest.$ac_ext <<_ACEOF
65441 /* confdefs.h. */
65442 _ACEOF
65443 cat confdefs.h >>conftest.$ac_ext
65444 cat >>conftest.$ac_ext <<_ACEOF
65445 /* end confdefs.h. */
65446 #include <math.h>
65447 #ifdef HAVE_IEEEFP_H
65448 #include <ieeefp.h>
65449 #endif
65452 main ()
65454 expl(0);
65456 return 0;
65458 _ACEOF
65459 rm -f conftest.$ac_objext
65460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65461 (eval $ac_compile) 2>conftest.er1
65462 ac_status=$?
65463 grep -v '^ *+' conftest.er1 >conftest.err
65464 rm -f conftest.er1
65465 cat conftest.err >&5
65466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65467 (exit $ac_status); } &&
65468 { ac_try='test -z "$ac_cxx_werror_flag"
65469 || test ! -s conftest.err'
65470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65471 (eval $ac_try) 2>&5
65472 ac_status=$?
65473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65474 (exit $ac_status); }; } &&
65475 { ac_try='test -s conftest.$ac_objext'
65476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65477 (eval $ac_try) 2>&5
65478 ac_status=$?
65479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65480 (exit $ac_status); }; }; then
65481 glibcxx_cv_func_expl_use=yes
65482 else
65483 echo "$as_me: failed program was:" >&5
65484 sed 's/^/| /' conftest.$ac_ext >&5
65486 glibcxx_cv_func_expl_use=no
65488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65489 ac_ext=c
65490 ac_cpp='$CPP $CPPFLAGS'
65491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65499 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
65500 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
65502 if test x$glibcxx_cv_func_expl_use = x"yes"; then
65504 for ac_func in expl
65506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65507 echo "$as_me:$LINENO: checking for $ac_func" >&5
65508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65509 if eval "test \"\${$as_ac_var+set}\" = set"; then
65510 echo $ECHO_N "(cached) $ECHO_C" >&6
65511 else
65512 if test x$gcc_no_link = xyes; then
65513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65515 { (exit 1); exit 1; }; }
65517 cat >conftest.$ac_ext <<_ACEOF
65518 /* confdefs.h. */
65519 _ACEOF
65520 cat confdefs.h >>conftest.$ac_ext
65521 cat >>conftest.$ac_ext <<_ACEOF
65522 /* end confdefs.h. */
65523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65525 #define $ac_func innocuous_$ac_func
65527 /* System header to define __stub macros and hopefully few prototypes,
65528 which can conflict with char $ac_func (); below.
65529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65530 <limits.h> exists even on freestanding compilers. */
65532 #ifdef __STDC__
65533 # include <limits.h>
65534 #else
65535 # include <assert.h>
65536 #endif
65538 #undef $ac_func
65540 /* Override any gcc2 internal prototype to avoid an error. */
65541 #ifdef __cplusplus
65542 extern "C"
65544 #endif
65545 /* We use char because int might match the return type of a gcc2
65546 builtin and then its argument prototype would still apply. */
65547 char $ac_func ();
65548 /* The GNU C library defines this for functions which it implements
65549 to always fail with ENOSYS. Some functions are actually named
65550 something starting with __ and the normal name is an alias. */
65551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65552 choke me
65553 #else
65554 char (*f) () = $ac_func;
65555 #endif
65556 #ifdef __cplusplus
65558 #endif
65561 main ()
65563 return f != $ac_func;
65565 return 0;
65567 _ACEOF
65568 rm -f conftest.$ac_objext conftest$ac_exeext
65569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65570 (eval $ac_link) 2>conftest.er1
65571 ac_status=$?
65572 grep -v '^ *+' conftest.er1 >conftest.err
65573 rm -f conftest.er1
65574 cat conftest.err >&5
65575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65576 (exit $ac_status); } &&
65577 { ac_try='test -z "$ac_c_werror_flag"
65578 || test ! -s conftest.err'
65579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65580 (eval $ac_try) 2>&5
65581 ac_status=$?
65582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65583 (exit $ac_status); }; } &&
65584 { ac_try='test -s conftest$ac_exeext'
65585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65586 (eval $ac_try) 2>&5
65587 ac_status=$?
65588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65589 (exit $ac_status); }; }; then
65590 eval "$as_ac_var=yes"
65591 else
65592 echo "$as_me: failed program was:" >&5
65593 sed 's/^/| /' conftest.$ac_ext >&5
65595 eval "$as_ac_var=no"
65597 rm -f conftest.err conftest.$ac_objext \
65598 conftest$ac_exeext conftest.$ac_ext
65600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65602 if test `eval echo '${'$as_ac_var'}'` = yes; then
65603 cat >>confdefs.h <<_ACEOF
65604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65605 _ACEOF
65608 done
65610 else
65612 echo "$as_me:$LINENO: checking for _expl declaration" >&5
65613 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
65614 if test x${glibcxx_cv_func__expl_use+set} != xset; then
65615 if test "${glibcxx_cv_func__expl_use+set}" = set; then
65616 echo $ECHO_N "(cached) $ECHO_C" >&6
65617 else
65621 ac_ext=cc
65622 ac_cpp='$CXXCPP $CPPFLAGS'
65623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65627 cat >conftest.$ac_ext <<_ACEOF
65628 /* confdefs.h. */
65629 _ACEOF
65630 cat confdefs.h >>conftest.$ac_ext
65631 cat >>conftest.$ac_ext <<_ACEOF
65632 /* end confdefs.h. */
65633 #include <math.h>
65634 #ifdef HAVE_IEEEFP_H
65635 #include <ieeefp.h>
65636 #endif
65639 main ()
65641 _expl(0);
65643 return 0;
65645 _ACEOF
65646 rm -f conftest.$ac_objext
65647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65648 (eval $ac_compile) 2>conftest.er1
65649 ac_status=$?
65650 grep -v '^ *+' conftest.er1 >conftest.err
65651 rm -f conftest.er1
65652 cat conftest.err >&5
65653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65654 (exit $ac_status); } &&
65655 { ac_try='test -z "$ac_cxx_werror_flag"
65656 || test ! -s conftest.err'
65657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65658 (eval $ac_try) 2>&5
65659 ac_status=$?
65660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65661 (exit $ac_status); }; } &&
65662 { ac_try='test -s conftest.$ac_objext'
65663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65664 (eval $ac_try) 2>&5
65665 ac_status=$?
65666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65667 (exit $ac_status); }; }; then
65668 glibcxx_cv_func__expl_use=yes
65669 else
65670 echo "$as_me: failed program was:" >&5
65671 sed 's/^/| /' conftest.$ac_ext >&5
65673 glibcxx_cv_func__expl_use=no
65675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65676 ac_ext=c
65677 ac_cpp='$CPP $CPPFLAGS'
65678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65686 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
65687 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
65689 if test x$glibcxx_cv_func__expl_use = x"yes"; then
65691 for ac_func in _expl
65693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65694 echo "$as_me:$LINENO: checking for $ac_func" >&5
65695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65696 if eval "test \"\${$as_ac_var+set}\" = set"; then
65697 echo $ECHO_N "(cached) $ECHO_C" >&6
65698 else
65699 if test x$gcc_no_link = xyes; then
65700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65702 { (exit 1); exit 1; }; }
65704 cat >conftest.$ac_ext <<_ACEOF
65705 /* confdefs.h. */
65706 _ACEOF
65707 cat confdefs.h >>conftest.$ac_ext
65708 cat >>conftest.$ac_ext <<_ACEOF
65709 /* end confdefs.h. */
65710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65712 #define $ac_func innocuous_$ac_func
65714 /* System header to define __stub macros and hopefully few prototypes,
65715 which can conflict with char $ac_func (); below.
65716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65717 <limits.h> exists even on freestanding compilers. */
65719 #ifdef __STDC__
65720 # include <limits.h>
65721 #else
65722 # include <assert.h>
65723 #endif
65725 #undef $ac_func
65727 /* Override any gcc2 internal prototype to avoid an error. */
65728 #ifdef __cplusplus
65729 extern "C"
65731 #endif
65732 /* We use char because int might match the return type of a gcc2
65733 builtin and then its argument prototype would still apply. */
65734 char $ac_func ();
65735 /* The GNU C library defines this for functions which it implements
65736 to always fail with ENOSYS. Some functions are actually named
65737 something starting with __ and the normal name is an alias. */
65738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65739 choke me
65740 #else
65741 char (*f) () = $ac_func;
65742 #endif
65743 #ifdef __cplusplus
65745 #endif
65748 main ()
65750 return f != $ac_func;
65752 return 0;
65754 _ACEOF
65755 rm -f conftest.$ac_objext conftest$ac_exeext
65756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65757 (eval $ac_link) 2>conftest.er1
65758 ac_status=$?
65759 grep -v '^ *+' conftest.er1 >conftest.err
65760 rm -f conftest.er1
65761 cat conftest.err >&5
65762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65763 (exit $ac_status); } &&
65764 { ac_try='test -z "$ac_c_werror_flag"
65765 || test ! -s conftest.err'
65766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65767 (eval $ac_try) 2>&5
65768 ac_status=$?
65769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65770 (exit $ac_status); }; } &&
65771 { ac_try='test -s conftest$ac_exeext'
65772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65773 (eval $ac_try) 2>&5
65774 ac_status=$?
65775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65776 (exit $ac_status); }; }; then
65777 eval "$as_ac_var=yes"
65778 else
65779 echo "$as_me: failed program was:" >&5
65780 sed 's/^/| /' conftest.$ac_ext >&5
65782 eval "$as_ac_var=no"
65784 rm -f conftest.err conftest.$ac_objext \
65785 conftest$ac_exeext conftest.$ac_ext
65787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65789 if test `eval echo '${'$as_ac_var'}'` = yes; then
65790 cat >>confdefs.h <<_ACEOF
65791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65792 _ACEOF
65795 done
65805 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
65806 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
65807 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
65808 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
65809 echo $ECHO_N "(cached) $ECHO_C" >&6
65810 else
65814 ac_ext=cc
65815 ac_cpp='$CXXCPP $CPPFLAGS'
65816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65820 cat >conftest.$ac_ext <<_ACEOF
65821 /* confdefs.h. */
65822 _ACEOF
65823 cat confdefs.h >>conftest.$ac_ext
65824 cat >>conftest.$ac_ext <<_ACEOF
65825 /* end confdefs.h. */
65826 #include <math.h>
65827 #ifdef HAVE_IEEEFP_H
65828 #include <ieeefp.h>
65829 #endif
65832 main ()
65834 fabsl(0);
65836 return 0;
65838 _ACEOF
65839 rm -f conftest.$ac_objext
65840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65841 (eval $ac_compile) 2>conftest.er1
65842 ac_status=$?
65843 grep -v '^ *+' conftest.er1 >conftest.err
65844 rm -f conftest.er1
65845 cat conftest.err >&5
65846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65847 (exit $ac_status); } &&
65848 { ac_try='test -z "$ac_cxx_werror_flag"
65849 || test ! -s conftest.err'
65850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65851 (eval $ac_try) 2>&5
65852 ac_status=$?
65853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65854 (exit $ac_status); }; } &&
65855 { ac_try='test -s conftest.$ac_objext'
65856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65857 (eval $ac_try) 2>&5
65858 ac_status=$?
65859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65860 (exit $ac_status); }; }; then
65861 glibcxx_cv_func_fabsl_use=yes
65862 else
65863 echo "$as_me: failed program was:" >&5
65864 sed 's/^/| /' conftest.$ac_ext >&5
65866 glibcxx_cv_func_fabsl_use=no
65868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65869 ac_ext=c
65870 ac_cpp='$CPP $CPPFLAGS'
65871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65879 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
65880 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
65882 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65884 for ac_func in fabsl
65886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65887 echo "$as_me:$LINENO: checking for $ac_func" >&5
65888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65889 if eval "test \"\${$as_ac_var+set}\" = set"; then
65890 echo $ECHO_N "(cached) $ECHO_C" >&6
65891 else
65892 if test x$gcc_no_link = xyes; then
65893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65895 { (exit 1); exit 1; }; }
65897 cat >conftest.$ac_ext <<_ACEOF
65898 /* confdefs.h. */
65899 _ACEOF
65900 cat confdefs.h >>conftest.$ac_ext
65901 cat >>conftest.$ac_ext <<_ACEOF
65902 /* end confdefs.h. */
65903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65905 #define $ac_func innocuous_$ac_func
65907 /* System header to define __stub macros and hopefully few prototypes,
65908 which can conflict with char $ac_func (); below.
65909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65910 <limits.h> exists even on freestanding compilers. */
65912 #ifdef __STDC__
65913 # include <limits.h>
65914 #else
65915 # include <assert.h>
65916 #endif
65918 #undef $ac_func
65920 /* Override any gcc2 internal prototype to avoid an error. */
65921 #ifdef __cplusplus
65922 extern "C"
65924 #endif
65925 /* We use char because int might match the return type of a gcc2
65926 builtin and then its argument prototype would still apply. */
65927 char $ac_func ();
65928 /* The GNU C library defines this for functions which it implements
65929 to always fail with ENOSYS. Some functions are actually named
65930 something starting with __ and the normal name is an alias. */
65931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65932 choke me
65933 #else
65934 char (*f) () = $ac_func;
65935 #endif
65936 #ifdef __cplusplus
65938 #endif
65941 main ()
65943 return f != $ac_func;
65945 return 0;
65947 _ACEOF
65948 rm -f conftest.$ac_objext conftest$ac_exeext
65949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65950 (eval $ac_link) 2>conftest.er1
65951 ac_status=$?
65952 grep -v '^ *+' conftest.er1 >conftest.err
65953 rm -f conftest.er1
65954 cat conftest.err >&5
65955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65956 (exit $ac_status); } &&
65957 { ac_try='test -z "$ac_c_werror_flag"
65958 || test ! -s conftest.err'
65959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65960 (eval $ac_try) 2>&5
65961 ac_status=$?
65962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65963 (exit $ac_status); }; } &&
65964 { ac_try='test -s conftest$ac_exeext'
65965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65966 (eval $ac_try) 2>&5
65967 ac_status=$?
65968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65969 (exit $ac_status); }; }; then
65970 eval "$as_ac_var=yes"
65971 else
65972 echo "$as_me: failed program was:" >&5
65973 sed 's/^/| /' conftest.$ac_ext >&5
65975 eval "$as_ac_var=no"
65977 rm -f conftest.err conftest.$ac_objext \
65978 conftest$ac_exeext conftest.$ac_ext
65980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65982 if test `eval echo '${'$as_ac_var'}'` = yes; then
65983 cat >>confdefs.h <<_ACEOF
65984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65985 _ACEOF
65988 done
65990 else
65992 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
65993 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
65994 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
65995 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
65996 echo $ECHO_N "(cached) $ECHO_C" >&6
65997 else
66001 ac_ext=cc
66002 ac_cpp='$CXXCPP $CPPFLAGS'
66003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66007 cat >conftest.$ac_ext <<_ACEOF
66008 /* confdefs.h. */
66009 _ACEOF
66010 cat confdefs.h >>conftest.$ac_ext
66011 cat >>conftest.$ac_ext <<_ACEOF
66012 /* end confdefs.h. */
66013 #include <math.h>
66014 #ifdef HAVE_IEEEFP_H
66015 #include <ieeefp.h>
66016 #endif
66019 main ()
66021 _fabsl(0);
66023 return 0;
66025 _ACEOF
66026 rm -f conftest.$ac_objext
66027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66028 (eval $ac_compile) 2>conftest.er1
66029 ac_status=$?
66030 grep -v '^ *+' conftest.er1 >conftest.err
66031 rm -f conftest.er1
66032 cat conftest.err >&5
66033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66034 (exit $ac_status); } &&
66035 { ac_try='test -z "$ac_cxx_werror_flag"
66036 || test ! -s conftest.err'
66037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66038 (eval $ac_try) 2>&5
66039 ac_status=$?
66040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66041 (exit $ac_status); }; } &&
66042 { ac_try='test -s conftest.$ac_objext'
66043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66044 (eval $ac_try) 2>&5
66045 ac_status=$?
66046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66047 (exit $ac_status); }; }; then
66048 glibcxx_cv_func__fabsl_use=yes
66049 else
66050 echo "$as_me: failed program was:" >&5
66051 sed 's/^/| /' conftest.$ac_ext >&5
66053 glibcxx_cv_func__fabsl_use=no
66055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66056 ac_ext=c
66057 ac_cpp='$CPP $CPPFLAGS'
66058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66066 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
66067 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
66069 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
66071 for ac_func in _fabsl
66073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66074 echo "$as_me:$LINENO: checking for $ac_func" >&5
66075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66076 if eval "test \"\${$as_ac_var+set}\" = set"; then
66077 echo $ECHO_N "(cached) $ECHO_C" >&6
66078 else
66079 if test x$gcc_no_link = xyes; then
66080 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66082 { (exit 1); exit 1; }; }
66084 cat >conftest.$ac_ext <<_ACEOF
66085 /* confdefs.h. */
66086 _ACEOF
66087 cat confdefs.h >>conftest.$ac_ext
66088 cat >>conftest.$ac_ext <<_ACEOF
66089 /* end confdefs.h. */
66090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66092 #define $ac_func innocuous_$ac_func
66094 /* System header to define __stub macros and hopefully few prototypes,
66095 which can conflict with char $ac_func (); below.
66096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66097 <limits.h> exists even on freestanding compilers. */
66099 #ifdef __STDC__
66100 # include <limits.h>
66101 #else
66102 # include <assert.h>
66103 #endif
66105 #undef $ac_func
66107 /* Override any gcc2 internal prototype to avoid an error. */
66108 #ifdef __cplusplus
66109 extern "C"
66111 #endif
66112 /* We use char because int might match the return type of a gcc2
66113 builtin and then its argument prototype would still apply. */
66114 char $ac_func ();
66115 /* The GNU C library defines this for functions which it implements
66116 to always fail with ENOSYS. Some functions are actually named
66117 something starting with __ and the normal name is an alias. */
66118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66119 choke me
66120 #else
66121 char (*f) () = $ac_func;
66122 #endif
66123 #ifdef __cplusplus
66125 #endif
66128 main ()
66130 return f != $ac_func;
66132 return 0;
66134 _ACEOF
66135 rm -f conftest.$ac_objext conftest$ac_exeext
66136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66137 (eval $ac_link) 2>conftest.er1
66138 ac_status=$?
66139 grep -v '^ *+' conftest.er1 >conftest.err
66140 rm -f conftest.er1
66141 cat conftest.err >&5
66142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66143 (exit $ac_status); } &&
66144 { ac_try='test -z "$ac_c_werror_flag"
66145 || test ! -s conftest.err'
66146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66147 (eval $ac_try) 2>&5
66148 ac_status=$?
66149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66150 (exit $ac_status); }; } &&
66151 { ac_try='test -s conftest$ac_exeext'
66152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66153 (eval $ac_try) 2>&5
66154 ac_status=$?
66155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66156 (exit $ac_status); }; }; then
66157 eval "$as_ac_var=yes"
66158 else
66159 echo "$as_me: failed program was:" >&5
66160 sed 's/^/| /' conftest.$ac_ext >&5
66162 eval "$as_ac_var=no"
66164 rm -f conftest.err conftest.$ac_objext \
66165 conftest$ac_exeext conftest.$ac_ext
66167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66169 if test `eval echo '${'$as_ac_var'}'` = yes; then
66170 cat >>confdefs.h <<_ACEOF
66171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66172 _ACEOF
66175 done
66185 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
66186 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
66187 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
66188 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
66189 echo $ECHO_N "(cached) $ECHO_C" >&6
66190 else
66194 ac_ext=cc
66195 ac_cpp='$CXXCPP $CPPFLAGS'
66196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66200 cat >conftest.$ac_ext <<_ACEOF
66201 /* confdefs.h. */
66202 _ACEOF
66203 cat confdefs.h >>conftest.$ac_ext
66204 cat >>conftest.$ac_ext <<_ACEOF
66205 /* end confdefs.h. */
66206 #include <math.h>
66208 main ()
66210 fmodl(0, 0);
66212 return 0;
66214 _ACEOF
66215 rm -f conftest.$ac_objext
66216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66217 (eval $ac_compile) 2>conftest.er1
66218 ac_status=$?
66219 grep -v '^ *+' conftest.er1 >conftest.err
66220 rm -f conftest.er1
66221 cat conftest.err >&5
66222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66223 (exit $ac_status); } &&
66224 { ac_try='test -z "$ac_cxx_werror_flag"
66225 || test ! -s conftest.err'
66226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66227 (eval $ac_try) 2>&5
66228 ac_status=$?
66229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66230 (exit $ac_status); }; } &&
66231 { ac_try='test -s conftest.$ac_objext'
66232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66233 (eval $ac_try) 2>&5
66234 ac_status=$?
66235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66236 (exit $ac_status); }; }; then
66237 glibcxx_cv_func_fmodl_use=yes
66238 else
66239 echo "$as_me: failed program was:" >&5
66240 sed 's/^/| /' conftest.$ac_ext >&5
66242 glibcxx_cv_func_fmodl_use=no
66244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66245 ac_ext=c
66246 ac_cpp='$CPP $CPPFLAGS'
66247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66255 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
66256 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
66258 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
66260 for ac_func in fmodl
66262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66263 echo "$as_me:$LINENO: checking for $ac_func" >&5
66264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66265 if eval "test \"\${$as_ac_var+set}\" = set"; then
66266 echo $ECHO_N "(cached) $ECHO_C" >&6
66267 else
66268 if test x$gcc_no_link = xyes; then
66269 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66271 { (exit 1); exit 1; }; }
66273 cat >conftest.$ac_ext <<_ACEOF
66274 /* confdefs.h. */
66275 _ACEOF
66276 cat confdefs.h >>conftest.$ac_ext
66277 cat >>conftest.$ac_ext <<_ACEOF
66278 /* end confdefs.h. */
66279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66281 #define $ac_func innocuous_$ac_func
66283 /* System header to define __stub macros and hopefully few prototypes,
66284 which can conflict with char $ac_func (); below.
66285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66286 <limits.h> exists even on freestanding compilers. */
66288 #ifdef __STDC__
66289 # include <limits.h>
66290 #else
66291 # include <assert.h>
66292 #endif
66294 #undef $ac_func
66296 /* Override any gcc2 internal prototype to avoid an error. */
66297 #ifdef __cplusplus
66298 extern "C"
66300 #endif
66301 /* We use char because int might match the return type of a gcc2
66302 builtin and then its argument prototype would still apply. */
66303 char $ac_func ();
66304 /* The GNU C library defines this for functions which it implements
66305 to always fail with ENOSYS. Some functions are actually named
66306 something starting with __ and the normal name is an alias. */
66307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66308 choke me
66309 #else
66310 char (*f) () = $ac_func;
66311 #endif
66312 #ifdef __cplusplus
66314 #endif
66317 main ()
66319 return f != $ac_func;
66321 return 0;
66323 _ACEOF
66324 rm -f conftest.$ac_objext conftest$ac_exeext
66325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66326 (eval $ac_link) 2>conftest.er1
66327 ac_status=$?
66328 grep -v '^ *+' conftest.er1 >conftest.err
66329 rm -f conftest.er1
66330 cat conftest.err >&5
66331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66332 (exit $ac_status); } &&
66333 { ac_try='test -z "$ac_c_werror_flag"
66334 || test ! -s conftest.err'
66335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66336 (eval $ac_try) 2>&5
66337 ac_status=$?
66338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66339 (exit $ac_status); }; } &&
66340 { ac_try='test -s conftest$ac_exeext'
66341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66342 (eval $ac_try) 2>&5
66343 ac_status=$?
66344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66345 (exit $ac_status); }; }; then
66346 eval "$as_ac_var=yes"
66347 else
66348 echo "$as_me: failed program was:" >&5
66349 sed 's/^/| /' conftest.$ac_ext >&5
66351 eval "$as_ac_var=no"
66353 rm -f conftest.err conftest.$ac_objext \
66354 conftest$ac_exeext conftest.$ac_ext
66356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66357 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66358 if test `eval echo '${'$as_ac_var'}'` = yes; then
66359 cat >>confdefs.h <<_ACEOF
66360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66361 _ACEOF
66364 done
66366 else
66368 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
66369 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
66370 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
66371 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
66372 echo $ECHO_N "(cached) $ECHO_C" >&6
66373 else
66377 ac_ext=cc
66378 ac_cpp='$CXXCPP $CPPFLAGS'
66379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66383 cat >conftest.$ac_ext <<_ACEOF
66384 /* confdefs.h. */
66385 _ACEOF
66386 cat confdefs.h >>conftest.$ac_ext
66387 cat >>conftest.$ac_ext <<_ACEOF
66388 /* end confdefs.h. */
66389 #include <math.h>
66391 main ()
66393 _fmodl(0, 0);
66395 return 0;
66397 _ACEOF
66398 rm -f conftest.$ac_objext
66399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66400 (eval $ac_compile) 2>conftest.er1
66401 ac_status=$?
66402 grep -v '^ *+' conftest.er1 >conftest.err
66403 rm -f conftest.er1
66404 cat conftest.err >&5
66405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66406 (exit $ac_status); } &&
66407 { ac_try='test -z "$ac_cxx_werror_flag"
66408 || test ! -s conftest.err'
66409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66410 (eval $ac_try) 2>&5
66411 ac_status=$?
66412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66413 (exit $ac_status); }; } &&
66414 { ac_try='test -s conftest.$ac_objext'
66415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66416 (eval $ac_try) 2>&5
66417 ac_status=$?
66418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66419 (exit $ac_status); }; }; then
66420 glibcxx_cv_func__fmodl_use=yes
66421 else
66422 echo "$as_me: failed program was:" >&5
66423 sed 's/^/| /' conftest.$ac_ext >&5
66425 glibcxx_cv_func__fmodl_use=no
66427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66428 ac_ext=c
66429 ac_cpp='$CPP $CPPFLAGS'
66430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66438 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
66439 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
66441 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
66443 for ac_func in _fmodl
66445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66446 echo "$as_me:$LINENO: checking for $ac_func" >&5
66447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66448 if eval "test \"\${$as_ac_var+set}\" = set"; then
66449 echo $ECHO_N "(cached) $ECHO_C" >&6
66450 else
66451 if test x$gcc_no_link = xyes; then
66452 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66454 { (exit 1); exit 1; }; }
66456 cat >conftest.$ac_ext <<_ACEOF
66457 /* confdefs.h. */
66458 _ACEOF
66459 cat confdefs.h >>conftest.$ac_ext
66460 cat >>conftest.$ac_ext <<_ACEOF
66461 /* end confdefs.h. */
66462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66464 #define $ac_func innocuous_$ac_func
66466 /* System header to define __stub macros and hopefully few prototypes,
66467 which can conflict with char $ac_func (); below.
66468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66469 <limits.h> exists even on freestanding compilers. */
66471 #ifdef __STDC__
66472 # include <limits.h>
66473 #else
66474 # include <assert.h>
66475 #endif
66477 #undef $ac_func
66479 /* Override any gcc2 internal prototype to avoid an error. */
66480 #ifdef __cplusplus
66481 extern "C"
66483 #endif
66484 /* We use char because int might match the return type of a gcc2
66485 builtin and then its argument prototype would still apply. */
66486 char $ac_func ();
66487 /* The GNU C library defines this for functions which it implements
66488 to always fail with ENOSYS. Some functions are actually named
66489 something starting with __ and the normal name is an alias. */
66490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66491 choke me
66492 #else
66493 char (*f) () = $ac_func;
66494 #endif
66495 #ifdef __cplusplus
66497 #endif
66500 main ()
66502 return f != $ac_func;
66504 return 0;
66506 _ACEOF
66507 rm -f conftest.$ac_objext conftest$ac_exeext
66508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66509 (eval $ac_link) 2>conftest.er1
66510 ac_status=$?
66511 grep -v '^ *+' conftest.er1 >conftest.err
66512 rm -f conftest.er1
66513 cat conftest.err >&5
66514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66515 (exit $ac_status); } &&
66516 { ac_try='test -z "$ac_c_werror_flag"
66517 || test ! -s conftest.err'
66518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66519 (eval $ac_try) 2>&5
66520 ac_status=$?
66521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66522 (exit $ac_status); }; } &&
66523 { ac_try='test -s conftest$ac_exeext'
66524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66525 (eval $ac_try) 2>&5
66526 ac_status=$?
66527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66528 (exit $ac_status); }; }; then
66529 eval "$as_ac_var=yes"
66530 else
66531 echo "$as_me: failed program was:" >&5
66532 sed 's/^/| /' conftest.$ac_ext >&5
66534 eval "$as_ac_var=no"
66536 rm -f conftest.err conftest.$ac_objext \
66537 conftest$ac_exeext conftest.$ac_ext
66539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66541 if test `eval echo '${'$as_ac_var'}'` = yes; then
66542 cat >>confdefs.h <<_ACEOF
66543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66544 _ACEOF
66547 done
66557 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
66558 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
66559 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
66560 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
66561 echo $ECHO_N "(cached) $ECHO_C" >&6
66562 else
66566 ac_ext=cc
66567 ac_cpp='$CXXCPP $CPPFLAGS'
66568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66572 cat >conftest.$ac_ext <<_ACEOF
66573 /* confdefs.h. */
66574 _ACEOF
66575 cat confdefs.h >>conftest.$ac_ext
66576 cat >>conftest.$ac_ext <<_ACEOF
66577 /* end confdefs.h. */
66578 #include <math.h>
66580 main ()
66582 frexpl(0, 0);
66584 return 0;
66586 _ACEOF
66587 rm -f conftest.$ac_objext
66588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66589 (eval $ac_compile) 2>conftest.er1
66590 ac_status=$?
66591 grep -v '^ *+' conftest.er1 >conftest.err
66592 rm -f conftest.er1
66593 cat conftest.err >&5
66594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66595 (exit $ac_status); } &&
66596 { ac_try='test -z "$ac_cxx_werror_flag"
66597 || test ! -s conftest.err'
66598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66599 (eval $ac_try) 2>&5
66600 ac_status=$?
66601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66602 (exit $ac_status); }; } &&
66603 { ac_try='test -s conftest.$ac_objext'
66604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66605 (eval $ac_try) 2>&5
66606 ac_status=$?
66607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66608 (exit $ac_status); }; }; then
66609 glibcxx_cv_func_frexpl_use=yes
66610 else
66611 echo "$as_me: failed program was:" >&5
66612 sed 's/^/| /' conftest.$ac_ext >&5
66614 glibcxx_cv_func_frexpl_use=no
66616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66617 ac_ext=c
66618 ac_cpp='$CPP $CPPFLAGS'
66619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66627 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
66628 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
66630 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
66632 for ac_func in frexpl
66634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66635 echo "$as_me:$LINENO: checking for $ac_func" >&5
66636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66637 if eval "test \"\${$as_ac_var+set}\" = set"; then
66638 echo $ECHO_N "(cached) $ECHO_C" >&6
66639 else
66640 if test x$gcc_no_link = xyes; then
66641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66643 { (exit 1); exit 1; }; }
66645 cat >conftest.$ac_ext <<_ACEOF
66646 /* confdefs.h. */
66647 _ACEOF
66648 cat confdefs.h >>conftest.$ac_ext
66649 cat >>conftest.$ac_ext <<_ACEOF
66650 /* end confdefs.h. */
66651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66653 #define $ac_func innocuous_$ac_func
66655 /* System header to define __stub macros and hopefully few prototypes,
66656 which can conflict with char $ac_func (); below.
66657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66658 <limits.h> exists even on freestanding compilers. */
66660 #ifdef __STDC__
66661 # include <limits.h>
66662 #else
66663 # include <assert.h>
66664 #endif
66666 #undef $ac_func
66668 /* Override any gcc2 internal prototype to avoid an error. */
66669 #ifdef __cplusplus
66670 extern "C"
66672 #endif
66673 /* We use char because int might match the return type of a gcc2
66674 builtin and then its argument prototype would still apply. */
66675 char $ac_func ();
66676 /* The GNU C library defines this for functions which it implements
66677 to always fail with ENOSYS. Some functions are actually named
66678 something starting with __ and the normal name is an alias. */
66679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66680 choke me
66681 #else
66682 char (*f) () = $ac_func;
66683 #endif
66684 #ifdef __cplusplus
66686 #endif
66689 main ()
66691 return f != $ac_func;
66693 return 0;
66695 _ACEOF
66696 rm -f conftest.$ac_objext conftest$ac_exeext
66697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66698 (eval $ac_link) 2>conftest.er1
66699 ac_status=$?
66700 grep -v '^ *+' conftest.er1 >conftest.err
66701 rm -f conftest.er1
66702 cat conftest.err >&5
66703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66704 (exit $ac_status); } &&
66705 { ac_try='test -z "$ac_c_werror_flag"
66706 || test ! -s conftest.err'
66707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66708 (eval $ac_try) 2>&5
66709 ac_status=$?
66710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66711 (exit $ac_status); }; } &&
66712 { ac_try='test -s conftest$ac_exeext'
66713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66714 (eval $ac_try) 2>&5
66715 ac_status=$?
66716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66717 (exit $ac_status); }; }; then
66718 eval "$as_ac_var=yes"
66719 else
66720 echo "$as_me: failed program was:" >&5
66721 sed 's/^/| /' conftest.$ac_ext >&5
66723 eval "$as_ac_var=no"
66725 rm -f conftest.err conftest.$ac_objext \
66726 conftest$ac_exeext conftest.$ac_ext
66728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66730 if test `eval echo '${'$as_ac_var'}'` = yes; then
66731 cat >>confdefs.h <<_ACEOF
66732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66733 _ACEOF
66736 done
66738 else
66740 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
66741 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
66742 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
66743 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
66744 echo $ECHO_N "(cached) $ECHO_C" >&6
66745 else
66749 ac_ext=cc
66750 ac_cpp='$CXXCPP $CPPFLAGS'
66751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66755 cat >conftest.$ac_ext <<_ACEOF
66756 /* confdefs.h. */
66757 _ACEOF
66758 cat confdefs.h >>conftest.$ac_ext
66759 cat >>conftest.$ac_ext <<_ACEOF
66760 /* end confdefs.h. */
66761 #include <math.h>
66763 main ()
66765 _frexpl(0, 0);
66767 return 0;
66769 _ACEOF
66770 rm -f conftest.$ac_objext
66771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66772 (eval $ac_compile) 2>conftest.er1
66773 ac_status=$?
66774 grep -v '^ *+' conftest.er1 >conftest.err
66775 rm -f conftest.er1
66776 cat conftest.err >&5
66777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66778 (exit $ac_status); } &&
66779 { ac_try='test -z "$ac_cxx_werror_flag"
66780 || test ! -s conftest.err'
66781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66782 (eval $ac_try) 2>&5
66783 ac_status=$?
66784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66785 (exit $ac_status); }; } &&
66786 { ac_try='test -s conftest.$ac_objext'
66787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66788 (eval $ac_try) 2>&5
66789 ac_status=$?
66790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66791 (exit $ac_status); }; }; then
66792 glibcxx_cv_func__frexpl_use=yes
66793 else
66794 echo "$as_me: failed program was:" >&5
66795 sed 's/^/| /' conftest.$ac_ext >&5
66797 glibcxx_cv_func__frexpl_use=no
66799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66800 ac_ext=c
66801 ac_cpp='$CPP $CPPFLAGS'
66802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66810 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
66811 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
66813 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
66815 for ac_func in _frexpl
66817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66818 echo "$as_me:$LINENO: checking for $ac_func" >&5
66819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66820 if eval "test \"\${$as_ac_var+set}\" = set"; then
66821 echo $ECHO_N "(cached) $ECHO_C" >&6
66822 else
66823 if test x$gcc_no_link = xyes; then
66824 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66826 { (exit 1); exit 1; }; }
66828 cat >conftest.$ac_ext <<_ACEOF
66829 /* confdefs.h. */
66830 _ACEOF
66831 cat confdefs.h >>conftest.$ac_ext
66832 cat >>conftest.$ac_ext <<_ACEOF
66833 /* end confdefs.h. */
66834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66836 #define $ac_func innocuous_$ac_func
66838 /* System header to define __stub macros and hopefully few prototypes,
66839 which can conflict with char $ac_func (); below.
66840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66841 <limits.h> exists even on freestanding compilers. */
66843 #ifdef __STDC__
66844 # include <limits.h>
66845 #else
66846 # include <assert.h>
66847 #endif
66849 #undef $ac_func
66851 /* Override any gcc2 internal prototype to avoid an error. */
66852 #ifdef __cplusplus
66853 extern "C"
66855 #endif
66856 /* We use char because int might match the return type of a gcc2
66857 builtin and then its argument prototype would still apply. */
66858 char $ac_func ();
66859 /* The GNU C library defines this for functions which it implements
66860 to always fail with ENOSYS. Some functions are actually named
66861 something starting with __ and the normal name is an alias. */
66862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66863 choke me
66864 #else
66865 char (*f) () = $ac_func;
66866 #endif
66867 #ifdef __cplusplus
66869 #endif
66872 main ()
66874 return f != $ac_func;
66876 return 0;
66878 _ACEOF
66879 rm -f conftest.$ac_objext conftest$ac_exeext
66880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66881 (eval $ac_link) 2>conftest.er1
66882 ac_status=$?
66883 grep -v '^ *+' conftest.er1 >conftest.err
66884 rm -f conftest.er1
66885 cat conftest.err >&5
66886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66887 (exit $ac_status); } &&
66888 { ac_try='test -z "$ac_c_werror_flag"
66889 || test ! -s conftest.err'
66890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66891 (eval $ac_try) 2>&5
66892 ac_status=$?
66893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66894 (exit $ac_status); }; } &&
66895 { ac_try='test -s conftest$ac_exeext'
66896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66897 (eval $ac_try) 2>&5
66898 ac_status=$?
66899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66900 (exit $ac_status); }; }; then
66901 eval "$as_ac_var=yes"
66902 else
66903 echo "$as_me: failed program was:" >&5
66904 sed 's/^/| /' conftest.$ac_ext >&5
66906 eval "$as_ac_var=no"
66908 rm -f conftest.err conftest.$ac_objext \
66909 conftest$ac_exeext conftest.$ac_ext
66911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66913 if test `eval echo '${'$as_ac_var'}'` = yes; then
66914 cat >>confdefs.h <<_ACEOF
66915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66916 _ACEOF
66919 done
66929 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
66930 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
66931 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
66932 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
66933 echo $ECHO_N "(cached) $ECHO_C" >&6
66934 else
66938 ac_ext=cc
66939 ac_cpp='$CXXCPP $CPPFLAGS'
66940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66944 cat >conftest.$ac_ext <<_ACEOF
66945 /* confdefs.h. */
66946 _ACEOF
66947 cat confdefs.h >>conftest.$ac_ext
66948 cat >>conftest.$ac_ext <<_ACEOF
66949 /* end confdefs.h. */
66950 #include <math.h>
66952 main ()
66954 hypotl(0, 0);
66956 return 0;
66958 _ACEOF
66959 rm -f conftest.$ac_objext
66960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66961 (eval $ac_compile) 2>conftest.er1
66962 ac_status=$?
66963 grep -v '^ *+' conftest.er1 >conftest.err
66964 rm -f conftest.er1
66965 cat conftest.err >&5
66966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66967 (exit $ac_status); } &&
66968 { ac_try='test -z "$ac_cxx_werror_flag"
66969 || test ! -s conftest.err'
66970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66971 (eval $ac_try) 2>&5
66972 ac_status=$?
66973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66974 (exit $ac_status); }; } &&
66975 { ac_try='test -s conftest.$ac_objext'
66976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66977 (eval $ac_try) 2>&5
66978 ac_status=$?
66979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66980 (exit $ac_status); }; }; then
66981 glibcxx_cv_func_hypotl_use=yes
66982 else
66983 echo "$as_me: failed program was:" >&5
66984 sed 's/^/| /' conftest.$ac_ext >&5
66986 glibcxx_cv_func_hypotl_use=no
66988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66989 ac_ext=c
66990 ac_cpp='$CPP $CPPFLAGS'
66991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66999 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
67000 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
67002 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
67004 for ac_func in hypotl
67006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67007 echo "$as_me:$LINENO: checking for $ac_func" >&5
67008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67009 if eval "test \"\${$as_ac_var+set}\" = set"; then
67010 echo $ECHO_N "(cached) $ECHO_C" >&6
67011 else
67012 if test x$gcc_no_link = xyes; then
67013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67015 { (exit 1); exit 1; }; }
67017 cat >conftest.$ac_ext <<_ACEOF
67018 /* confdefs.h. */
67019 _ACEOF
67020 cat confdefs.h >>conftest.$ac_ext
67021 cat >>conftest.$ac_ext <<_ACEOF
67022 /* end confdefs.h. */
67023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67025 #define $ac_func innocuous_$ac_func
67027 /* System header to define __stub macros and hopefully few prototypes,
67028 which can conflict with char $ac_func (); below.
67029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67030 <limits.h> exists even on freestanding compilers. */
67032 #ifdef __STDC__
67033 # include <limits.h>
67034 #else
67035 # include <assert.h>
67036 #endif
67038 #undef $ac_func
67040 /* Override any gcc2 internal prototype to avoid an error. */
67041 #ifdef __cplusplus
67042 extern "C"
67044 #endif
67045 /* We use char because int might match the return type of a gcc2
67046 builtin and then its argument prototype would still apply. */
67047 char $ac_func ();
67048 /* The GNU C library defines this for functions which it implements
67049 to always fail with ENOSYS. Some functions are actually named
67050 something starting with __ and the normal name is an alias. */
67051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67052 choke me
67053 #else
67054 char (*f) () = $ac_func;
67055 #endif
67056 #ifdef __cplusplus
67058 #endif
67061 main ()
67063 return f != $ac_func;
67065 return 0;
67067 _ACEOF
67068 rm -f conftest.$ac_objext conftest$ac_exeext
67069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67070 (eval $ac_link) 2>conftest.er1
67071 ac_status=$?
67072 grep -v '^ *+' conftest.er1 >conftest.err
67073 rm -f conftest.er1
67074 cat conftest.err >&5
67075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67076 (exit $ac_status); } &&
67077 { ac_try='test -z "$ac_c_werror_flag"
67078 || test ! -s conftest.err'
67079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67080 (eval $ac_try) 2>&5
67081 ac_status=$?
67082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67083 (exit $ac_status); }; } &&
67084 { ac_try='test -s conftest$ac_exeext'
67085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67086 (eval $ac_try) 2>&5
67087 ac_status=$?
67088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67089 (exit $ac_status); }; }; then
67090 eval "$as_ac_var=yes"
67091 else
67092 echo "$as_me: failed program was:" >&5
67093 sed 's/^/| /' conftest.$ac_ext >&5
67095 eval "$as_ac_var=no"
67097 rm -f conftest.err conftest.$ac_objext \
67098 conftest$ac_exeext conftest.$ac_ext
67100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67102 if test `eval echo '${'$as_ac_var'}'` = yes; then
67103 cat >>confdefs.h <<_ACEOF
67104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67105 _ACEOF
67108 done
67110 else
67112 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
67113 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
67114 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
67115 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
67116 echo $ECHO_N "(cached) $ECHO_C" >&6
67117 else
67121 ac_ext=cc
67122 ac_cpp='$CXXCPP $CPPFLAGS'
67123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67127 cat >conftest.$ac_ext <<_ACEOF
67128 /* confdefs.h. */
67129 _ACEOF
67130 cat confdefs.h >>conftest.$ac_ext
67131 cat >>conftest.$ac_ext <<_ACEOF
67132 /* end confdefs.h. */
67133 #include <math.h>
67135 main ()
67137 _hypotl(0, 0);
67139 return 0;
67141 _ACEOF
67142 rm -f conftest.$ac_objext
67143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67144 (eval $ac_compile) 2>conftest.er1
67145 ac_status=$?
67146 grep -v '^ *+' conftest.er1 >conftest.err
67147 rm -f conftest.er1
67148 cat conftest.err >&5
67149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67150 (exit $ac_status); } &&
67151 { ac_try='test -z "$ac_cxx_werror_flag"
67152 || test ! -s conftest.err'
67153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67154 (eval $ac_try) 2>&5
67155 ac_status=$?
67156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67157 (exit $ac_status); }; } &&
67158 { ac_try='test -s conftest.$ac_objext'
67159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67160 (eval $ac_try) 2>&5
67161 ac_status=$?
67162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67163 (exit $ac_status); }; }; then
67164 glibcxx_cv_func__hypotl_use=yes
67165 else
67166 echo "$as_me: failed program was:" >&5
67167 sed 's/^/| /' conftest.$ac_ext >&5
67169 glibcxx_cv_func__hypotl_use=no
67171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67172 ac_ext=c
67173 ac_cpp='$CPP $CPPFLAGS'
67174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67182 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
67183 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
67185 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
67187 for ac_func in _hypotl
67189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67190 echo "$as_me:$LINENO: checking for $ac_func" >&5
67191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67192 if eval "test \"\${$as_ac_var+set}\" = set"; then
67193 echo $ECHO_N "(cached) $ECHO_C" >&6
67194 else
67195 if test x$gcc_no_link = xyes; then
67196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67198 { (exit 1); exit 1; }; }
67200 cat >conftest.$ac_ext <<_ACEOF
67201 /* confdefs.h. */
67202 _ACEOF
67203 cat confdefs.h >>conftest.$ac_ext
67204 cat >>conftest.$ac_ext <<_ACEOF
67205 /* end confdefs.h. */
67206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67208 #define $ac_func innocuous_$ac_func
67210 /* System header to define __stub macros and hopefully few prototypes,
67211 which can conflict with char $ac_func (); below.
67212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67213 <limits.h> exists even on freestanding compilers. */
67215 #ifdef __STDC__
67216 # include <limits.h>
67217 #else
67218 # include <assert.h>
67219 #endif
67221 #undef $ac_func
67223 /* Override any gcc2 internal prototype to avoid an error. */
67224 #ifdef __cplusplus
67225 extern "C"
67227 #endif
67228 /* We use char because int might match the return type of a gcc2
67229 builtin and then its argument prototype would still apply. */
67230 char $ac_func ();
67231 /* The GNU C library defines this for functions which it implements
67232 to always fail with ENOSYS. Some functions are actually named
67233 something starting with __ and the normal name is an alias. */
67234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67235 choke me
67236 #else
67237 char (*f) () = $ac_func;
67238 #endif
67239 #ifdef __cplusplus
67241 #endif
67244 main ()
67246 return f != $ac_func;
67248 return 0;
67250 _ACEOF
67251 rm -f conftest.$ac_objext conftest$ac_exeext
67252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67253 (eval $ac_link) 2>conftest.er1
67254 ac_status=$?
67255 grep -v '^ *+' conftest.er1 >conftest.err
67256 rm -f conftest.er1
67257 cat conftest.err >&5
67258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67259 (exit $ac_status); } &&
67260 { ac_try='test -z "$ac_c_werror_flag"
67261 || test ! -s conftest.err'
67262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67263 (eval $ac_try) 2>&5
67264 ac_status=$?
67265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67266 (exit $ac_status); }; } &&
67267 { ac_try='test -s conftest$ac_exeext'
67268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67269 (eval $ac_try) 2>&5
67270 ac_status=$?
67271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67272 (exit $ac_status); }; }; then
67273 eval "$as_ac_var=yes"
67274 else
67275 echo "$as_me: failed program was:" >&5
67276 sed 's/^/| /' conftest.$ac_ext >&5
67278 eval "$as_ac_var=no"
67280 rm -f conftest.err conftest.$ac_objext \
67281 conftest$ac_exeext conftest.$ac_ext
67283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67285 if test `eval echo '${'$as_ac_var'}'` = yes; then
67286 cat >>confdefs.h <<_ACEOF
67287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67288 _ACEOF
67291 done
67301 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
67302 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
67303 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
67304 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
67305 echo $ECHO_N "(cached) $ECHO_C" >&6
67306 else
67310 ac_ext=cc
67311 ac_cpp='$CXXCPP $CPPFLAGS'
67312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67316 cat >conftest.$ac_ext <<_ACEOF
67317 /* confdefs.h. */
67318 _ACEOF
67319 cat confdefs.h >>conftest.$ac_ext
67320 cat >>conftest.$ac_ext <<_ACEOF
67321 /* end confdefs.h. */
67322 #include <math.h>
67324 main ()
67326 ldexpl(0, 0);
67328 return 0;
67330 _ACEOF
67331 rm -f conftest.$ac_objext
67332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67333 (eval $ac_compile) 2>conftest.er1
67334 ac_status=$?
67335 grep -v '^ *+' conftest.er1 >conftest.err
67336 rm -f conftest.er1
67337 cat conftest.err >&5
67338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67339 (exit $ac_status); } &&
67340 { ac_try='test -z "$ac_cxx_werror_flag"
67341 || test ! -s conftest.err'
67342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67343 (eval $ac_try) 2>&5
67344 ac_status=$?
67345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67346 (exit $ac_status); }; } &&
67347 { ac_try='test -s conftest.$ac_objext'
67348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67349 (eval $ac_try) 2>&5
67350 ac_status=$?
67351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67352 (exit $ac_status); }; }; then
67353 glibcxx_cv_func_ldexpl_use=yes
67354 else
67355 echo "$as_me: failed program was:" >&5
67356 sed 's/^/| /' conftest.$ac_ext >&5
67358 glibcxx_cv_func_ldexpl_use=no
67360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67361 ac_ext=c
67362 ac_cpp='$CPP $CPPFLAGS'
67363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67371 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
67372 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
67374 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
67376 for ac_func in ldexpl
67378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67379 echo "$as_me:$LINENO: checking for $ac_func" >&5
67380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67381 if eval "test \"\${$as_ac_var+set}\" = set"; then
67382 echo $ECHO_N "(cached) $ECHO_C" >&6
67383 else
67384 if test x$gcc_no_link = xyes; then
67385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67387 { (exit 1); exit 1; }; }
67389 cat >conftest.$ac_ext <<_ACEOF
67390 /* confdefs.h. */
67391 _ACEOF
67392 cat confdefs.h >>conftest.$ac_ext
67393 cat >>conftest.$ac_ext <<_ACEOF
67394 /* end confdefs.h. */
67395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67397 #define $ac_func innocuous_$ac_func
67399 /* System header to define __stub macros and hopefully few prototypes,
67400 which can conflict with char $ac_func (); below.
67401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67402 <limits.h> exists even on freestanding compilers. */
67404 #ifdef __STDC__
67405 # include <limits.h>
67406 #else
67407 # include <assert.h>
67408 #endif
67410 #undef $ac_func
67412 /* Override any gcc2 internal prototype to avoid an error. */
67413 #ifdef __cplusplus
67414 extern "C"
67416 #endif
67417 /* We use char because int might match the return type of a gcc2
67418 builtin and then its argument prototype would still apply. */
67419 char $ac_func ();
67420 /* The GNU C library defines this for functions which it implements
67421 to always fail with ENOSYS. Some functions are actually named
67422 something starting with __ and the normal name is an alias. */
67423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67424 choke me
67425 #else
67426 char (*f) () = $ac_func;
67427 #endif
67428 #ifdef __cplusplus
67430 #endif
67433 main ()
67435 return f != $ac_func;
67437 return 0;
67439 _ACEOF
67440 rm -f conftest.$ac_objext conftest$ac_exeext
67441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67442 (eval $ac_link) 2>conftest.er1
67443 ac_status=$?
67444 grep -v '^ *+' conftest.er1 >conftest.err
67445 rm -f conftest.er1
67446 cat conftest.err >&5
67447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67448 (exit $ac_status); } &&
67449 { ac_try='test -z "$ac_c_werror_flag"
67450 || test ! -s conftest.err'
67451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67452 (eval $ac_try) 2>&5
67453 ac_status=$?
67454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67455 (exit $ac_status); }; } &&
67456 { ac_try='test -s conftest$ac_exeext'
67457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67458 (eval $ac_try) 2>&5
67459 ac_status=$?
67460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67461 (exit $ac_status); }; }; then
67462 eval "$as_ac_var=yes"
67463 else
67464 echo "$as_me: failed program was:" >&5
67465 sed 's/^/| /' conftest.$ac_ext >&5
67467 eval "$as_ac_var=no"
67469 rm -f conftest.err conftest.$ac_objext \
67470 conftest$ac_exeext conftest.$ac_ext
67472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67474 if test `eval echo '${'$as_ac_var'}'` = yes; then
67475 cat >>confdefs.h <<_ACEOF
67476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67477 _ACEOF
67480 done
67482 else
67484 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
67485 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
67486 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
67487 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
67488 echo $ECHO_N "(cached) $ECHO_C" >&6
67489 else
67493 ac_ext=cc
67494 ac_cpp='$CXXCPP $CPPFLAGS'
67495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67499 cat >conftest.$ac_ext <<_ACEOF
67500 /* confdefs.h. */
67501 _ACEOF
67502 cat confdefs.h >>conftest.$ac_ext
67503 cat >>conftest.$ac_ext <<_ACEOF
67504 /* end confdefs.h. */
67505 #include <math.h>
67507 main ()
67509 _ldexpl(0, 0);
67511 return 0;
67513 _ACEOF
67514 rm -f conftest.$ac_objext
67515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67516 (eval $ac_compile) 2>conftest.er1
67517 ac_status=$?
67518 grep -v '^ *+' conftest.er1 >conftest.err
67519 rm -f conftest.er1
67520 cat conftest.err >&5
67521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67522 (exit $ac_status); } &&
67523 { ac_try='test -z "$ac_cxx_werror_flag"
67524 || test ! -s conftest.err'
67525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67526 (eval $ac_try) 2>&5
67527 ac_status=$?
67528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67529 (exit $ac_status); }; } &&
67530 { ac_try='test -s conftest.$ac_objext'
67531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67532 (eval $ac_try) 2>&5
67533 ac_status=$?
67534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67535 (exit $ac_status); }; }; then
67536 glibcxx_cv_func__ldexpl_use=yes
67537 else
67538 echo "$as_me: failed program was:" >&5
67539 sed 's/^/| /' conftest.$ac_ext >&5
67541 glibcxx_cv_func__ldexpl_use=no
67543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67544 ac_ext=c
67545 ac_cpp='$CPP $CPPFLAGS'
67546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67554 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
67555 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
67557 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
67559 for ac_func in _ldexpl
67561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67562 echo "$as_me:$LINENO: checking for $ac_func" >&5
67563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67564 if eval "test \"\${$as_ac_var+set}\" = set"; then
67565 echo $ECHO_N "(cached) $ECHO_C" >&6
67566 else
67567 if test x$gcc_no_link = xyes; then
67568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67570 { (exit 1); exit 1; }; }
67572 cat >conftest.$ac_ext <<_ACEOF
67573 /* confdefs.h. */
67574 _ACEOF
67575 cat confdefs.h >>conftest.$ac_ext
67576 cat >>conftest.$ac_ext <<_ACEOF
67577 /* end confdefs.h. */
67578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67580 #define $ac_func innocuous_$ac_func
67582 /* System header to define __stub macros and hopefully few prototypes,
67583 which can conflict with char $ac_func (); below.
67584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67585 <limits.h> exists even on freestanding compilers. */
67587 #ifdef __STDC__
67588 # include <limits.h>
67589 #else
67590 # include <assert.h>
67591 #endif
67593 #undef $ac_func
67595 /* Override any gcc2 internal prototype to avoid an error. */
67596 #ifdef __cplusplus
67597 extern "C"
67599 #endif
67600 /* We use char because int might match the return type of a gcc2
67601 builtin and then its argument prototype would still apply. */
67602 char $ac_func ();
67603 /* The GNU C library defines this for functions which it implements
67604 to always fail with ENOSYS. Some functions are actually named
67605 something starting with __ and the normal name is an alias. */
67606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67607 choke me
67608 #else
67609 char (*f) () = $ac_func;
67610 #endif
67611 #ifdef __cplusplus
67613 #endif
67616 main ()
67618 return f != $ac_func;
67620 return 0;
67622 _ACEOF
67623 rm -f conftest.$ac_objext conftest$ac_exeext
67624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67625 (eval $ac_link) 2>conftest.er1
67626 ac_status=$?
67627 grep -v '^ *+' conftest.er1 >conftest.err
67628 rm -f conftest.er1
67629 cat conftest.err >&5
67630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67631 (exit $ac_status); } &&
67632 { ac_try='test -z "$ac_c_werror_flag"
67633 || test ! -s conftest.err'
67634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67635 (eval $ac_try) 2>&5
67636 ac_status=$?
67637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67638 (exit $ac_status); }; } &&
67639 { ac_try='test -s conftest$ac_exeext'
67640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67641 (eval $ac_try) 2>&5
67642 ac_status=$?
67643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67644 (exit $ac_status); }; }; then
67645 eval "$as_ac_var=yes"
67646 else
67647 echo "$as_me: failed program was:" >&5
67648 sed 's/^/| /' conftest.$ac_ext >&5
67650 eval "$as_ac_var=no"
67652 rm -f conftest.err conftest.$ac_objext \
67653 conftest$ac_exeext conftest.$ac_ext
67655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67657 if test `eval echo '${'$as_ac_var'}'` = yes; then
67658 cat >>confdefs.h <<_ACEOF
67659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67660 _ACEOF
67663 done
67673 echo "$as_me:$LINENO: checking for logl declaration" >&5
67674 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
67675 if test x${glibcxx_cv_func_logl_use+set} != xset; then
67676 if test "${glibcxx_cv_func_logl_use+set}" = set; then
67677 echo $ECHO_N "(cached) $ECHO_C" >&6
67678 else
67682 ac_ext=cc
67683 ac_cpp='$CXXCPP $CPPFLAGS'
67684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67688 cat >conftest.$ac_ext <<_ACEOF
67689 /* confdefs.h. */
67690 _ACEOF
67691 cat confdefs.h >>conftest.$ac_ext
67692 cat >>conftest.$ac_ext <<_ACEOF
67693 /* end confdefs.h. */
67694 #include <math.h>
67695 #ifdef HAVE_IEEEFP_H
67696 #include <ieeefp.h>
67697 #endif
67700 main ()
67702 logl(0);
67704 return 0;
67706 _ACEOF
67707 rm -f conftest.$ac_objext
67708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67709 (eval $ac_compile) 2>conftest.er1
67710 ac_status=$?
67711 grep -v '^ *+' conftest.er1 >conftest.err
67712 rm -f conftest.er1
67713 cat conftest.err >&5
67714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67715 (exit $ac_status); } &&
67716 { ac_try='test -z "$ac_cxx_werror_flag"
67717 || test ! -s conftest.err'
67718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67719 (eval $ac_try) 2>&5
67720 ac_status=$?
67721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67722 (exit $ac_status); }; } &&
67723 { ac_try='test -s conftest.$ac_objext'
67724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67725 (eval $ac_try) 2>&5
67726 ac_status=$?
67727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67728 (exit $ac_status); }; }; then
67729 glibcxx_cv_func_logl_use=yes
67730 else
67731 echo "$as_me: failed program was:" >&5
67732 sed 's/^/| /' conftest.$ac_ext >&5
67734 glibcxx_cv_func_logl_use=no
67736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67737 ac_ext=c
67738 ac_cpp='$CPP $CPPFLAGS'
67739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67747 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
67748 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
67750 if test x$glibcxx_cv_func_logl_use = x"yes"; then
67752 for ac_func in logl
67754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67755 echo "$as_me:$LINENO: checking for $ac_func" >&5
67756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67757 if eval "test \"\${$as_ac_var+set}\" = set"; then
67758 echo $ECHO_N "(cached) $ECHO_C" >&6
67759 else
67760 if test x$gcc_no_link = xyes; then
67761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67763 { (exit 1); exit 1; }; }
67765 cat >conftest.$ac_ext <<_ACEOF
67766 /* confdefs.h. */
67767 _ACEOF
67768 cat confdefs.h >>conftest.$ac_ext
67769 cat >>conftest.$ac_ext <<_ACEOF
67770 /* end confdefs.h. */
67771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67773 #define $ac_func innocuous_$ac_func
67775 /* System header to define __stub macros and hopefully few prototypes,
67776 which can conflict with char $ac_func (); below.
67777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67778 <limits.h> exists even on freestanding compilers. */
67780 #ifdef __STDC__
67781 # include <limits.h>
67782 #else
67783 # include <assert.h>
67784 #endif
67786 #undef $ac_func
67788 /* Override any gcc2 internal prototype to avoid an error. */
67789 #ifdef __cplusplus
67790 extern "C"
67792 #endif
67793 /* We use char because int might match the return type of a gcc2
67794 builtin and then its argument prototype would still apply. */
67795 char $ac_func ();
67796 /* The GNU C library defines this for functions which it implements
67797 to always fail with ENOSYS. Some functions are actually named
67798 something starting with __ and the normal name is an alias. */
67799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67800 choke me
67801 #else
67802 char (*f) () = $ac_func;
67803 #endif
67804 #ifdef __cplusplus
67806 #endif
67809 main ()
67811 return f != $ac_func;
67813 return 0;
67815 _ACEOF
67816 rm -f conftest.$ac_objext conftest$ac_exeext
67817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67818 (eval $ac_link) 2>conftest.er1
67819 ac_status=$?
67820 grep -v '^ *+' conftest.er1 >conftest.err
67821 rm -f conftest.er1
67822 cat conftest.err >&5
67823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67824 (exit $ac_status); } &&
67825 { ac_try='test -z "$ac_c_werror_flag"
67826 || test ! -s conftest.err'
67827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67828 (eval $ac_try) 2>&5
67829 ac_status=$?
67830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67831 (exit $ac_status); }; } &&
67832 { ac_try='test -s conftest$ac_exeext'
67833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67834 (eval $ac_try) 2>&5
67835 ac_status=$?
67836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67837 (exit $ac_status); }; }; then
67838 eval "$as_ac_var=yes"
67839 else
67840 echo "$as_me: failed program was:" >&5
67841 sed 's/^/| /' conftest.$ac_ext >&5
67843 eval "$as_ac_var=no"
67845 rm -f conftest.err conftest.$ac_objext \
67846 conftest$ac_exeext conftest.$ac_ext
67848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67850 if test `eval echo '${'$as_ac_var'}'` = yes; then
67851 cat >>confdefs.h <<_ACEOF
67852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67853 _ACEOF
67856 done
67858 else
67860 echo "$as_me:$LINENO: checking for _logl declaration" >&5
67861 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
67862 if test x${glibcxx_cv_func__logl_use+set} != xset; then
67863 if test "${glibcxx_cv_func__logl_use+set}" = set; then
67864 echo $ECHO_N "(cached) $ECHO_C" >&6
67865 else
67869 ac_ext=cc
67870 ac_cpp='$CXXCPP $CPPFLAGS'
67871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67875 cat >conftest.$ac_ext <<_ACEOF
67876 /* confdefs.h. */
67877 _ACEOF
67878 cat confdefs.h >>conftest.$ac_ext
67879 cat >>conftest.$ac_ext <<_ACEOF
67880 /* end confdefs.h. */
67881 #include <math.h>
67882 #ifdef HAVE_IEEEFP_H
67883 #include <ieeefp.h>
67884 #endif
67887 main ()
67889 _logl(0);
67891 return 0;
67893 _ACEOF
67894 rm -f conftest.$ac_objext
67895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67896 (eval $ac_compile) 2>conftest.er1
67897 ac_status=$?
67898 grep -v '^ *+' conftest.er1 >conftest.err
67899 rm -f conftest.er1
67900 cat conftest.err >&5
67901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67902 (exit $ac_status); } &&
67903 { ac_try='test -z "$ac_cxx_werror_flag"
67904 || test ! -s conftest.err'
67905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67906 (eval $ac_try) 2>&5
67907 ac_status=$?
67908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67909 (exit $ac_status); }; } &&
67910 { ac_try='test -s conftest.$ac_objext'
67911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67912 (eval $ac_try) 2>&5
67913 ac_status=$?
67914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67915 (exit $ac_status); }; }; then
67916 glibcxx_cv_func__logl_use=yes
67917 else
67918 echo "$as_me: failed program was:" >&5
67919 sed 's/^/| /' conftest.$ac_ext >&5
67921 glibcxx_cv_func__logl_use=no
67923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67924 ac_ext=c
67925 ac_cpp='$CPP $CPPFLAGS'
67926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67934 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
67935 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
67937 if test x$glibcxx_cv_func__logl_use = x"yes"; then
67939 for ac_func in _logl
67941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67942 echo "$as_me:$LINENO: checking for $ac_func" >&5
67943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67944 if eval "test \"\${$as_ac_var+set}\" = set"; then
67945 echo $ECHO_N "(cached) $ECHO_C" >&6
67946 else
67947 if test x$gcc_no_link = xyes; then
67948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67950 { (exit 1); exit 1; }; }
67952 cat >conftest.$ac_ext <<_ACEOF
67953 /* confdefs.h. */
67954 _ACEOF
67955 cat confdefs.h >>conftest.$ac_ext
67956 cat >>conftest.$ac_ext <<_ACEOF
67957 /* end confdefs.h. */
67958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67960 #define $ac_func innocuous_$ac_func
67962 /* System header to define __stub macros and hopefully few prototypes,
67963 which can conflict with char $ac_func (); below.
67964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67965 <limits.h> exists even on freestanding compilers. */
67967 #ifdef __STDC__
67968 # include <limits.h>
67969 #else
67970 # include <assert.h>
67971 #endif
67973 #undef $ac_func
67975 /* Override any gcc2 internal prototype to avoid an error. */
67976 #ifdef __cplusplus
67977 extern "C"
67979 #endif
67980 /* We use char because int might match the return type of a gcc2
67981 builtin and then its argument prototype would still apply. */
67982 char $ac_func ();
67983 /* The GNU C library defines this for functions which it implements
67984 to always fail with ENOSYS. Some functions are actually named
67985 something starting with __ and the normal name is an alias. */
67986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67987 choke me
67988 #else
67989 char (*f) () = $ac_func;
67990 #endif
67991 #ifdef __cplusplus
67993 #endif
67996 main ()
67998 return f != $ac_func;
68000 return 0;
68002 _ACEOF
68003 rm -f conftest.$ac_objext conftest$ac_exeext
68004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68005 (eval $ac_link) 2>conftest.er1
68006 ac_status=$?
68007 grep -v '^ *+' conftest.er1 >conftest.err
68008 rm -f conftest.er1
68009 cat conftest.err >&5
68010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68011 (exit $ac_status); } &&
68012 { ac_try='test -z "$ac_c_werror_flag"
68013 || test ! -s conftest.err'
68014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68015 (eval $ac_try) 2>&5
68016 ac_status=$?
68017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68018 (exit $ac_status); }; } &&
68019 { ac_try='test -s conftest$ac_exeext'
68020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68021 (eval $ac_try) 2>&5
68022 ac_status=$?
68023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68024 (exit $ac_status); }; }; then
68025 eval "$as_ac_var=yes"
68026 else
68027 echo "$as_me: failed program was:" >&5
68028 sed 's/^/| /' conftest.$ac_ext >&5
68030 eval "$as_ac_var=no"
68032 rm -f conftest.err conftest.$ac_objext \
68033 conftest$ac_exeext conftest.$ac_ext
68035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68037 if test `eval echo '${'$as_ac_var'}'` = yes; then
68038 cat >>confdefs.h <<_ACEOF
68039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68040 _ACEOF
68043 done
68053 echo "$as_me:$LINENO: checking for log10l declaration" >&5
68054 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
68055 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
68056 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
68057 echo $ECHO_N "(cached) $ECHO_C" >&6
68058 else
68062 ac_ext=cc
68063 ac_cpp='$CXXCPP $CPPFLAGS'
68064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68068 cat >conftest.$ac_ext <<_ACEOF
68069 /* confdefs.h. */
68070 _ACEOF
68071 cat confdefs.h >>conftest.$ac_ext
68072 cat >>conftest.$ac_ext <<_ACEOF
68073 /* end confdefs.h. */
68074 #include <math.h>
68075 #ifdef HAVE_IEEEFP_H
68076 #include <ieeefp.h>
68077 #endif
68080 main ()
68082 log10l(0);
68084 return 0;
68086 _ACEOF
68087 rm -f conftest.$ac_objext
68088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68089 (eval $ac_compile) 2>conftest.er1
68090 ac_status=$?
68091 grep -v '^ *+' conftest.er1 >conftest.err
68092 rm -f conftest.er1
68093 cat conftest.err >&5
68094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68095 (exit $ac_status); } &&
68096 { ac_try='test -z "$ac_cxx_werror_flag"
68097 || test ! -s conftest.err'
68098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68099 (eval $ac_try) 2>&5
68100 ac_status=$?
68101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68102 (exit $ac_status); }; } &&
68103 { ac_try='test -s conftest.$ac_objext'
68104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68105 (eval $ac_try) 2>&5
68106 ac_status=$?
68107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68108 (exit $ac_status); }; }; then
68109 glibcxx_cv_func_log10l_use=yes
68110 else
68111 echo "$as_me: failed program was:" >&5
68112 sed 's/^/| /' conftest.$ac_ext >&5
68114 glibcxx_cv_func_log10l_use=no
68116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68117 ac_ext=c
68118 ac_cpp='$CPP $CPPFLAGS'
68119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68127 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
68128 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
68130 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
68132 for ac_func in log10l
68134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68135 echo "$as_me:$LINENO: checking for $ac_func" >&5
68136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68137 if eval "test \"\${$as_ac_var+set}\" = set"; then
68138 echo $ECHO_N "(cached) $ECHO_C" >&6
68139 else
68140 if test x$gcc_no_link = xyes; then
68141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68143 { (exit 1); exit 1; }; }
68145 cat >conftest.$ac_ext <<_ACEOF
68146 /* confdefs.h. */
68147 _ACEOF
68148 cat confdefs.h >>conftest.$ac_ext
68149 cat >>conftest.$ac_ext <<_ACEOF
68150 /* end confdefs.h. */
68151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68153 #define $ac_func innocuous_$ac_func
68155 /* System header to define __stub macros and hopefully few prototypes,
68156 which can conflict with char $ac_func (); below.
68157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68158 <limits.h> exists even on freestanding compilers. */
68160 #ifdef __STDC__
68161 # include <limits.h>
68162 #else
68163 # include <assert.h>
68164 #endif
68166 #undef $ac_func
68168 /* Override any gcc2 internal prototype to avoid an error. */
68169 #ifdef __cplusplus
68170 extern "C"
68172 #endif
68173 /* We use char because int might match the return type of a gcc2
68174 builtin and then its argument prototype would still apply. */
68175 char $ac_func ();
68176 /* The GNU C library defines this for functions which it implements
68177 to always fail with ENOSYS. Some functions are actually named
68178 something starting with __ and the normal name is an alias. */
68179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68180 choke me
68181 #else
68182 char (*f) () = $ac_func;
68183 #endif
68184 #ifdef __cplusplus
68186 #endif
68189 main ()
68191 return f != $ac_func;
68193 return 0;
68195 _ACEOF
68196 rm -f conftest.$ac_objext conftest$ac_exeext
68197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68198 (eval $ac_link) 2>conftest.er1
68199 ac_status=$?
68200 grep -v '^ *+' conftest.er1 >conftest.err
68201 rm -f conftest.er1
68202 cat conftest.err >&5
68203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68204 (exit $ac_status); } &&
68205 { ac_try='test -z "$ac_c_werror_flag"
68206 || test ! -s conftest.err'
68207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68208 (eval $ac_try) 2>&5
68209 ac_status=$?
68210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68211 (exit $ac_status); }; } &&
68212 { ac_try='test -s conftest$ac_exeext'
68213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68214 (eval $ac_try) 2>&5
68215 ac_status=$?
68216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68217 (exit $ac_status); }; }; then
68218 eval "$as_ac_var=yes"
68219 else
68220 echo "$as_me: failed program was:" >&5
68221 sed 's/^/| /' conftest.$ac_ext >&5
68223 eval "$as_ac_var=no"
68225 rm -f conftest.err conftest.$ac_objext \
68226 conftest$ac_exeext conftest.$ac_ext
68228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68230 if test `eval echo '${'$as_ac_var'}'` = yes; then
68231 cat >>confdefs.h <<_ACEOF
68232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68233 _ACEOF
68236 done
68238 else
68240 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
68241 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
68242 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
68243 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
68244 echo $ECHO_N "(cached) $ECHO_C" >&6
68245 else
68249 ac_ext=cc
68250 ac_cpp='$CXXCPP $CPPFLAGS'
68251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68255 cat >conftest.$ac_ext <<_ACEOF
68256 /* confdefs.h. */
68257 _ACEOF
68258 cat confdefs.h >>conftest.$ac_ext
68259 cat >>conftest.$ac_ext <<_ACEOF
68260 /* end confdefs.h. */
68261 #include <math.h>
68262 #ifdef HAVE_IEEEFP_H
68263 #include <ieeefp.h>
68264 #endif
68267 main ()
68269 _log10l(0);
68271 return 0;
68273 _ACEOF
68274 rm -f conftest.$ac_objext
68275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68276 (eval $ac_compile) 2>conftest.er1
68277 ac_status=$?
68278 grep -v '^ *+' conftest.er1 >conftest.err
68279 rm -f conftest.er1
68280 cat conftest.err >&5
68281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68282 (exit $ac_status); } &&
68283 { ac_try='test -z "$ac_cxx_werror_flag"
68284 || test ! -s conftest.err'
68285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68286 (eval $ac_try) 2>&5
68287 ac_status=$?
68288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68289 (exit $ac_status); }; } &&
68290 { ac_try='test -s conftest.$ac_objext'
68291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68292 (eval $ac_try) 2>&5
68293 ac_status=$?
68294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68295 (exit $ac_status); }; }; then
68296 glibcxx_cv_func__log10l_use=yes
68297 else
68298 echo "$as_me: failed program was:" >&5
68299 sed 's/^/| /' conftest.$ac_ext >&5
68301 glibcxx_cv_func__log10l_use=no
68303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68304 ac_ext=c
68305 ac_cpp='$CPP $CPPFLAGS'
68306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68314 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
68315 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
68317 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
68319 for ac_func in _log10l
68321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68322 echo "$as_me:$LINENO: checking for $ac_func" >&5
68323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68324 if eval "test \"\${$as_ac_var+set}\" = set"; then
68325 echo $ECHO_N "(cached) $ECHO_C" >&6
68326 else
68327 if test x$gcc_no_link = xyes; then
68328 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68330 { (exit 1); exit 1; }; }
68332 cat >conftest.$ac_ext <<_ACEOF
68333 /* confdefs.h. */
68334 _ACEOF
68335 cat confdefs.h >>conftest.$ac_ext
68336 cat >>conftest.$ac_ext <<_ACEOF
68337 /* end confdefs.h. */
68338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68340 #define $ac_func innocuous_$ac_func
68342 /* System header to define __stub macros and hopefully few prototypes,
68343 which can conflict with char $ac_func (); below.
68344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68345 <limits.h> exists even on freestanding compilers. */
68347 #ifdef __STDC__
68348 # include <limits.h>
68349 #else
68350 # include <assert.h>
68351 #endif
68353 #undef $ac_func
68355 /* Override any gcc2 internal prototype to avoid an error. */
68356 #ifdef __cplusplus
68357 extern "C"
68359 #endif
68360 /* We use char because int might match the return type of a gcc2
68361 builtin and then its argument prototype would still apply. */
68362 char $ac_func ();
68363 /* The GNU C library defines this for functions which it implements
68364 to always fail with ENOSYS. Some functions are actually named
68365 something starting with __ and the normal name is an alias. */
68366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68367 choke me
68368 #else
68369 char (*f) () = $ac_func;
68370 #endif
68371 #ifdef __cplusplus
68373 #endif
68376 main ()
68378 return f != $ac_func;
68380 return 0;
68382 _ACEOF
68383 rm -f conftest.$ac_objext conftest$ac_exeext
68384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68385 (eval $ac_link) 2>conftest.er1
68386 ac_status=$?
68387 grep -v '^ *+' conftest.er1 >conftest.err
68388 rm -f conftest.er1
68389 cat conftest.err >&5
68390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68391 (exit $ac_status); } &&
68392 { ac_try='test -z "$ac_c_werror_flag"
68393 || test ! -s conftest.err'
68394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68395 (eval $ac_try) 2>&5
68396 ac_status=$?
68397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68398 (exit $ac_status); }; } &&
68399 { ac_try='test -s conftest$ac_exeext'
68400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68401 (eval $ac_try) 2>&5
68402 ac_status=$?
68403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68404 (exit $ac_status); }; }; then
68405 eval "$as_ac_var=yes"
68406 else
68407 echo "$as_me: failed program was:" >&5
68408 sed 's/^/| /' conftest.$ac_ext >&5
68410 eval "$as_ac_var=no"
68412 rm -f conftest.err conftest.$ac_objext \
68413 conftest$ac_exeext conftest.$ac_ext
68415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68417 if test `eval echo '${'$as_ac_var'}'` = yes; then
68418 cat >>confdefs.h <<_ACEOF
68419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68420 _ACEOF
68423 done
68433 echo "$as_me:$LINENO: checking for modfl declaration" >&5
68434 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
68435 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
68436 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
68437 echo $ECHO_N "(cached) $ECHO_C" >&6
68438 else
68442 ac_ext=cc
68443 ac_cpp='$CXXCPP $CPPFLAGS'
68444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68448 cat >conftest.$ac_ext <<_ACEOF
68449 /* confdefs.h. */
68450 _ACEOF
68451 cat confdefs.h >>conftest.$ac_ext
68452 cat >>conftest.$ac_ext <<_ACEOF
68453 /* end confdefs.h. */
68454 #include <math.h>
68456 main ()
68458 modfl(0, 0);
68460 return 0;
68462 _ACEOF
68463 rm -f conftest.$ac_objext
68464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68465 (eval $ac_compile) 2>conftest.er1
68466 ac_status=$?
68467 grep -v '^ *+' conftest.er1 >conftest.err
68468 rm -f conftest.er1
68469 cat conftest.err >&5
68470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68471 (exit $ac_status); } &&
68472 { ac_try='test -z "$ac_cxx_werror_flag"
68473 || test ! -s conftest.err'
68474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68475 (eval $ac_try) 2>&5
68476 ac_status=$?
68477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68478 (exit $ac_status); }; } &&
68479 { ac_try='test -s conftest.$ac_objext'
68480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68481 (eval $ac_try) 2>&5
68482 ac_status=$?
68483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68484 (exit $ac_status); }; }; then
68485 glibcxx_cv_func_modfl_use=yes
68486 else
68487 echo "$as_me: failed program was:" >&5
68488 sed 's/^/| /' conftest.$ac_ext >&5
68490 glibcxx_cv_func_modfl_use=no
68492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68493 ac_ext=c
68494 ac_cpp='$CPP $CPPFLAGS'
68495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68503 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
68504 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
68506 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
68508 for ac_func in modfl
68510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68511 echo "$as_me:$LINENO: checking for $ac_func" >&5
68512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68513 if eval "test \"\${$as_ac_var+set}\" = set"; then
68514 echo $ECHO_N "(cached) $ECHO_C" >&6
68515 else
68516 if test x$gcc_no_link = xyes; then
68517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68519 { (exit 1); exit 1; }; }
68521 cat >conftest.$ac_ext <<_ACEOF
68522 /* confdefs.h. */
68523 _ACEOF
68524 cat confdefs.h >>conftest.$ac_ext
68525 cat >>conftest.$ac_ext <<_ACEOF
68526 /* end confdefs.h. */
68527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68529 #define $ac_func innocuous_$ac_func
68531 /* System header to define __stub macros and hopefully few prototypes,
68532 which can conflict with char $ac_func (); below.
68533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68534 <limits.h> exists even on freestanding compilers. */
68536 #ifdef __STDC__
68537 # include <limits.h>
68538 #else
68539 # include <assert.h>
68540 #endif
68542 #undef $ac_func
68544 /* Override any gcc2 internal prototype to avoid an error. */
68545 #ifdef __cplusplus
68546 extern "C"
68548 #endif
68549 /* We use char because int might match the return type of a gcc2
68550 builtin and then its argument prototype would still apply. */
68551 char $ac_func ();
68552 /* The GNU C library defines this for functions which it implements
68553 to always fail with ENOSYS. Some functions are actually named
68554 something starting with __ and the normal name is an alias. */
68555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68556 choke me
68557 #else
68558 char (*f) () = $ac_func;
68559 #endif
68560 #ifdef __cplusplus
68562 #endif
68565 main ()
68567 return f != $ac_func;
68569 return 0;
68571 _ACEOF
68572 rm -f conftest.$ac_objext conftest$ac_exeext
68573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68574 (eval $ac_link) 2>conftest.er1
68575 ac_status=$?
68576 grep -v '^ *+' conftest.er1 >conftest.err
68577 rm -f conftest.er1
68578 cat conftest.err >&5
68579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68580 (exit $ac_status); } &&
68581 { ac_try='test -z "$ac_c_werror_flag"
68582 || test ! -s conftest.err'
68583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68584 (eval $ac_try) 2>&5
68585 ac_status=$?
68586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68587 (exit $ac_status); }; } &&
68588 { ac_try='test -s conftest$ac_exeext'
68589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68590 (eval $ac_try) 2>&5
68591 ac_status=$?
68592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68593 (exit $ac_status); }; }; then
68594 eval "$as_ac_var=yes"
68595 else
68596 echo "$as_me: failed program was:" >&5
68597 sed 's/^/| /' conftest.$ac_ext >&5
68599 eval "$as_ac_var=no"
68601 rm -f conftest.err conftest.$ac_objext \
68602 conftest$ac_exeext conftest.$ac_ext
68604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68606 if test `eval echo '${'$as_ac_var'}'` = yes; then
68607 cat >>confdefs.h <<_ACEOF
68608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68609 _ACEOF
68612 done
68614 else
68616 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
68617 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
68618 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68619 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
68620 echo $ECHO_N "(cached) $ECHO_C" >&6
68621 else
68625 ac_ext=cc
68626 ac_cpp='$CXXCPP $CPPFLAGS'
68627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68631 cat >conftest.$ac_ext <<_ACEOF
68632 /* confdefs.h. */
68633 _ACEOF
68634 cat confdefs.h >>conftest.$ac_ext
68635 cat >>conftest.$ac_ext <<_ACEOF
68636 /* end confdefs.h. */
68637 #include <math.h>
68639 main ()
68641 _modfl(0, 0);
68643 return 0;
68645 _ACEOF
68646 rm -f conftest.$ac_objext
68647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68648 (eval $ac_compile) 2>conftest.er1
68649 ac_status=$?
68650 grep -v '^ *+' conftest.er1 >conftest.err
68651 rm -f conftest.er1
68652 cat conftest.err >&5
68653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68654 (exit $ac_status); } &&
68655 { ac_try='test -z "$ac_cxx_werror_flag"
68656 || test ! -s conftest.err'
68657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68658 (eval $ac_try) 2>&5
68659 ac_status=$?
68660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68661 (exit $ac_status); }; } &&
68662 { ac_try='test -s conftest.$ac_objext'
68663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68664 (eval $ac_try) 2>&5
68665 ac_status=$?
68666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68667 (exit $ac_status); }; }; then
68668 glibcxx_cv_func__modfl_use=yes
68669 else
68670 echo "$as_me: failed program was:" >&5
68671 sed 's/^/| /' conftest.$ac_ext >&5
68673 glibcxx_cv_func__modfl_use=no
68675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68676 ac_ext=c
68677 ac_cpp='$CPP $CPPFLAGS'
68678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68686 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
68687 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
68689 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68691 for ac_func in _modfl
68693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68694 echo "$as_me:$LINENO: checking for $ac_func" >&5
68695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68696 if eval "test \"\${$as_ac_var+set}\" = set"; then
68697 echo $ECHO_N "(cached) $ECHO_C" >&6
68698 else
68699 if test x$gcc_no_link = xyes; then
68700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68702 { (exit 1); exit 1; }; }
68704 cat >conftest.$ac_ext <<_ACEOF
68705 /* confdefs.h. */
68706 _ACEOF
68707 cat confdefs.h >>conftest.$ac_ext
68708 cat >>conftest.$ac_ext <<_ACEOF
68709 /* end confdefs.h. */
68710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68712 #define $ac_func innocuous_$ac_func
68714 /* System header to define __stub macros and hopefully few prototypes,
68715 which can conflict with char $ac_func (); below.
68716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68717 <limits.h> exists even on freestanding compilers. */
68719 #ifdef __STDC__
68720 # include <limits.h>
68721 #else
68722 # include <assert.h>
68723 #endif
68725 #undef $ac_func
68727 /* Override any gcc2 internal prototype to avoid an error. */
68728 #ifdef __cplusplus
68729 extern "C"
68731 #endif
68732 /* We use char because int might match the return type of a gcc2
68733 builtin and then its argument prototype would still apply. */
68734 char $ac_func ();
68735 /* The GNU C library defines this for functions which it implements
68736 to always fail with ENOSYS. Some functions are actually named
68737 something starting with __ and the normal name is an alias. */
68738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68739 choke me
68740 #else
68741 char (*f) () = $ac_func;
68742 #endif
68743 #ifdef __cplusplus
68745 #endif
68748 main ()
68750 return f != $ac_func;
68752 return 0;
68754 _ACEOF
68755 rm -f conftest.$ac_objext conftest$ac_exeext
68756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68757 (eval $ac_link) 2>conftest.er1
68758 ac_status=$?
68759 grep -v '^ *+' conftest.er1 >conftest.err
68760 rm -f conftest.er1
68761 cat conftest.err >&5
68762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68763 (exit $ac_status); } &&
68764 { ac_try='test -z "$ac_c_werror_flag"
68765 || test ! -s conftest.err'
68766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68767 (eval $ac_try) 2>&5
68768 ac_status=$?
68769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68770 (exit $ac_status); }; } &&
68771 { ac_try='test -s conftest$ac_exeext'
68772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68773 (eval $ac_try) 2>&5
68774 ac_status=$?
68775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68776 (exit $ac_status); }; }; then
68777 eval "$as_ac_var=yes"
68778 else
68779 echo "$as_me: failed program was:" >&5
68780 sed 's/^/| /' conftest.$ac_ext >&5
68782 eval "$as_ac_var=no"
68784 rm -f conftest.err conftest.$ac_objext \
68785 conftest$ac_exeext conftest.$ac_ext
68787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68789 if test `eval echo '${'$as_ac_var'}'` = yes; then
68790 cat >>confdefs.h <<_ACEOF
68791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68792 _ACEOF
68795 done
68805 echo "$as_me:$LINENO: checking for powl declaration" >&5
68806 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
68807 if test x${glibcxx_cv_func_powl_use+set} != xset; then
68808 if test "${glibcxx_cv_func_powl_use+set}" = set; then
68809 echo $ECHO_N "(cached) $ECHO_C" >&6
68810 else
68814 ac_ext=cc
68815 ac_cpp='$CXXCPP $CPPFLAGS'
68816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68820 cat >conftest.$ac_ext <<_ACEOF
68821 /* confdefs.h. */
68822 _ACEOF
68823 cat confdefs.h >>conftest.$ac_ext
68824 cat >>conftest.$ac_ext <<_ACEOF
68825 /* end confdefs.h. */
68826 #include <math.h>
68828 main ()
68830 powl(0, 0);
68832 return 0;
68834 _ACEOF
68835 rm -f conftest.$ac_objext
68836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68837 (eval $ac_compile) 2>conftest.er1
68838 ac_status=$?
68839 grep -v '^ *+' conftest.er1 >conftest.err
68840 rm -f conftest.er1
68841 cat conftest.err >&5
68842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68843 (exit $ac_status); } &&
68844 { ac_try='test -z "$ac_cxx_werror_flag"
68845 || test ! -s conftest.err'
68846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68847 (eval $ac_try) 2>&5
68848 ac_status=$?
68849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68850 (exit $ac_status); }; } &&
68851 { ac_try='test -s conftest.$ac_objext'
68852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68853 (eval $ac_try) 2>&5
68854 ac_status=$?
68855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68856 (exit $ac_status); }; }; then
68857 glibcxx_cv_func_powl_use=yes
68858 else
68859 echo "$as_me: failed program was:" >&5
68860 sed 's/^/| /' conftest.$ac_ext >&5
68862 glibcxx_cv_func_powl_use=no
68864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68865 ac_ext=c
68866 ac_cpp='$CPP $CPPFLAGS'
68867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68875 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
68876 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
68878 if test x$glibcxx_cv_func_powl_use = x"yes"; then
68880 for ac_func in powl
68882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68883 echo "$as_me:$LINENO: checking for $ac_func" >&5
68884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68885 if eval "test \"\${$as_ac_var+set}\" = set"; then
68886 echo $ECHO_N "(cached) $ECHO_C" >&6
68887 else
68888 if test x$gcc_no_link = xyes; then
68889 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68891 { (exit 1); exit 1; }; }
68893 cat >conftest.$ac_ext <<_ACEOF
68894 /* confdefs.h. */
68895 _ACEOF
68896 cat confdefs.h >>conftest.$ac_ext
68897 cat >>conftest.$ac_ext <<_ACEOF
68898 /* end confdefs.h. */
68899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68901 #define $ac_func innocuous_$ac_func
68903 /* System header to define __stub macros and hopefully few prototypes,
68904 which can conflict with char $ac_func (); below.
68905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68906 <limits.h> exists even on freestanding compilers. */
68908 #ifdef __STDC__
68909 # include <limits.h>
68910 #else
68911 # include <assert.h>
68912 #endif
68914 #undef $ac_func
68916 /* Override any gcc2 internal prototype to avoid an error. */
68917 #ifdef __cplusplus
68918 extern "C"
68920 #endif
68921 /* We use char because int might match the return type of a gcc2
68922 builtin and then its argument prototype would still apply. */
68923 char $ac_func ();
68924 /* The GNU C library defines this for functions which it implements
68925 to always fail with ENOSYS. Some functions are actually named
68926 something starting with __ and the normal name is an alias. */
68927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68928 choke me
68929 #else
68930 char (*f) () = $ac_func;
68931 #endif
68932 #ifdef __cplusplus
68934 #endif
68937 main ()
68939 return f != $ac_func;
68941 return 0;
68943 _ACEOF
68944 rm -f conftest.$ac_objext conftest$ac_exeext
68945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68946 (eval $ac_link) 2>conftest.er1
68947 ac_status=$?
68948 grep -v '^ *+' conftest.er1 >conftest.err
68949 rm -f conftest.er1
68950 cat conftest.err >&5
68951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68952 (exit $ac_status); } &&
68953 { ac_try='test -z "$ac_c_werror_flag"
68954 || test ! -s conftest.err'
68955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68956 (eval $ac_try) 2>&5
68957 ac_status=$?
68958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68959 (exit $ac_status); }; } &&
68960 { ac_try='test -s conftest$ac_exeext'
68961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68962 (eval $ac_try) 2>&5
68963 ac_status=$?
68964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68965 (exit $ac_status); }; }; then
68966 eval "$as_ac_var=yes"
68967 else
68968 echo "$as_me: failed program was:" >&5
68969 sed 's/^/| /' conftest.$ac_ext >&5
68971 eval "$as_ac_var=no"
68973 rm -f conftest.err conftest.$ac_objext \
68974 conftest$ac_exeext conftest.$ac_ext
68976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68978 if test `eval echo '${'$as_ac_var'}'` = yes; then
68979 cat >>confdefs.h <<_ACEOF
68980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68981 _ACEOF
68984 done
68986 else
68988 echo "$as_me:$LINENO: checking for _powl declaration" >&5
68989 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
68990 if test x${glibcxx_cv_func__powl_use+set} != xset; then
68991 if test "${glibcxx_cv_func__powl_use+set}" = set; then
68992 echo $ECHO_N "(cached) $ECHO_C" >&6
68993 else
68997 ac_ext=cc
68998 ac_cpp='$CXXCPP $CPPFLAGS'
68999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69003 cat >conftest.$ac_ext <<_ACEOF
69004 /* confdefs.h. */
69005 _ACEOF
69006 cat confdefs.h >>conftest.$ac_ext
69007 cat >>conftest.$ac_ext <<_ACEOF
69008 /* end confdefs.h. */
69009 #include <math.h>
69011 main ()
69013 _powl(0, 0);
69015 return 0;
69017 _ACEOF
69018 rm -f conftest.$ac_objext
69019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69020 (eval $ac_compile) 2>conftest.er1
69021 ac_status=$?
69022 grep -v '^ *+' conftest.er1 >conftest.err
69023 rm -f conftest.er1
69024 cat conftest.err >&5
69025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69026 (exit $ac_status); } &&
69027 { ac_try='test -z "$ac_cxx_werror_flag"
69028 || test ! -s conftest.err'
69029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69030 (eval $ac_try) 2>&5
69031 ac_status=$?
69032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69033 (exit $ac_status); }; } &&
69034 { ac_try='test -s conftest.$ac_objext'
69035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69036 (eval $ac_try) 2>&5
69037 ac_status=$?
69038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69039 (exit $ac_status); }; }; then
69040 glibcxx_cv_func__powl_use=yes
69041 else
69042 echo "$as_me: failed program was:" >&5
69043 sed 's/^/| /' conftest.$ac_ext >&5
69045 glibcxx_cv_func__powl_use=no
69047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69048 ac_ext=c
69049 ac_cpp='$CPP $CPPFLAGS'
69050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69058 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
69059 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
69061 if test x$glibcxx_cv_func__powl_use = x"yes"; then
69063 for ac_func in _powl
69065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69066 echo "$as_me:$LINENO: checking for $ac_func" >&5
69067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69068 if eval "test \"\${$as_ac_var+set}\" = set"; then
69069 echo $ECHO_N "(cached) $ECHO_C" >&6
69070 else
69071 if test x$gcc_no_link = xyes; then
69072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69074 { (exit 1); exit 1; }; }
69076 cat >conftest.$ac_ext <<_ACEOF
69077 /* confdefs.h. */
69078 _ACEOF
69079 cat confdefs.h >>conftest.$ac_ext
69080 cat >>conftest.$ac_ext <<_ACEOF
69081 /* end confdefs.h. */
69082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69084 #define $ac_func innocuous_$ac_func
69086 /* System header to define __stub macros and hopefully few prototypes,
69087 which can conflict with char $ac_func (); below.
69088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69089 <limits.h> exists even on freestanding compilers. */
69091 #ifdef __STDC__
69092 # include <limits.h>
69093 #else
69094 # include <assert.h>
69095 #endif
69097 #undef $ac_func
69099 /* Override any gcc2 internal prototype to avoid an error. */
69100 #ifdef __cplusplus
69101 extern "C"
69103 #endif
69104 /* We use char because int might match the return type of a gcc2
69105 builtin and then its argument prototype would still apply. */
69106 char $ac_func ();
69107 /* The GNU C library defines this for functions which it implements
69108 to always fail with ENOSYS. Some functions are actually named
69109 something starting with __ and the normal name is an alias. */
69110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69111 choke me
69112 #else
69113 char (*f) () = $ac_func;
69114 #endif
69115 #ifdef __cplusplus
69117 #endif
69120 main ()
69122 return f != $ac_func;
69124 return 0;
69126 _ACEOF
69127 rm -f conftest.$ac_objext conftest$ac_exeext
69128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69129 (eval $ac_link) 2>conftest.er1
69130 ac_status=$?
69131 grep -v '^ *+' conftest.er1 >conftest.err
69132 rm -f conftest.er1
69133 cat conftest.err >&5
69134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69135 (exit $ac_status); } &&
69136 { ac_try='test -z "$ac_c_werror_flag"
69137 || test ! -s conftest.err'
69138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69139 (eval $ac_try) 2>&5
69140 ac_status=$?
69141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69142 (exit $ac_status); }; } &&
69143 { ac_try='test -s conftest$ac_exeext'
69144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69145 (eval $ac_try) 2>&5
69146 ac_status=$?
69147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69148 (exit $ac_status); }; }; then
69149 eval "$as_ac_var=yes"
69150 else
69151 echo "$as_me: failed program was:" >&5
69152 sed 's/^/| /' conftest.$ac_ext >&5
69154 eval "$as_ac_var=no"
69156 rm -f conftest.err conftest.$ac_objext \
69157 conftest$ac_exeext conftest.$ac_ext
69159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69161 if test `eval echo '${'$as_ac_var'}'` = yes; then
69162 cat >>confdefs.h <<_ACEOF
69163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69164 _ACEOF
69167 done
69177 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
69178 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
69179 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
69180 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
69181 echo $ECHO_N "(cached) $ECHO_C" >&6
69182 else
69186 ac_ext=cc
69187 ac_cpp='$CXXCPP $CPPFLAGS'
69188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69192 cat >conftest.$ac_ext <<_ACEOF
69193 /* confdefs.h. */
69194 _ACEOF
69195 cat confdefs.h >>conftest.$ac_ext
69196 cat >>conftest.$ac_ext <<_ACEOF
69197 /* end confdefs.h. */
69198 #include <math.h>
69199 #ifdef HAVE_IEEEFP_H
69200 #include <ieeefp.h>
69201 #endif
69204 main ()
69206 sqrtl(0);
69208 return 0;
69210 _ACEOF
69211 rm -f conftest.$ac_objext
69212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69213 (eval $ac_compile) 2>conftest.er1
69214 ac_status=$?
69215 grep -v '^ *+' conftest.er1 >conftest.err
69216 rm -f conftest.er1
69217 cat conftest.err >&5
69218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69219 (exit $ac_status); } &&
69220 { ac_try='test -z "$ac_cxx_werror_flag"
69221 || test ! -s conftest.err'
69222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69223 (eval $ac_try) 2>&5
69224 ac_status=$?
69225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69226 (exit $ac_status); }; } &&
69227 { ac_try='test -s conftest.$ac_objext'
69228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69229 (eval $ac_try) 2>&5
69230 ac_status=$?
69231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69232 (exit $ac_status); }; }; then
69233 glibcxx_cv_func_sqrtl_use=yes
69234 else
69235 echo "$as_me: failed program was:" >&5
69236 sed 's/^/| /' conftest.$ac_ext >&5
69238 glibcxx_cv_func_sqrtl_use=no
69240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69241 ac_ext=c
69242 ac_cpp='$CPP $CPPFLAGS'
69243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69251 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
69252 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
69254 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
69256 for ac_func in sqrtl
69258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69259 echo "$as_me:$LINENO: checking for $ac_func" >&5
69260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69261 if eval "test \"\${$as_ac_var+set}\" = set"; then
69262 echo $ECHO_N "(cached) $ECHO_C" >&6
69263 else
69264 if test x$gcc_no_link = xyes; then
69265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69267 { (exit 1); exit 1; }; }
69269 cat >conftest.$ac_ext <<_ACEOF
69270 /* confdefs.h. */
69271 _ACEOF
69272 cat confdefs.h >>conftest.$ac_ext
69273 cat >>conftest.$ac_ext <<_ACEOF
69274 /* end confdefs.h. */
69275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69277 #define $ac_func innocuous_$ac_func
69279 /* System header to define __stub macros and hopefully few prototypes,
69280 which can conflict with char $ac_func (); below.
69281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69282 <limits.h> exists even on freestanding compilers. */
69284 #ifdef __STDC__
69285 # include <limits.h>
69286 #else
69287 # include <assert.h>
69288 #endif
69290 #undef $ac_func
69292 /* Override any gcc2 internal prototype to avoid an error. */
69293 #ifdef __cplusplus
69294 extern "C"
69296 #endif
69297 /* We use char because int might match the return type of a gcc2
69298 builtin and then its argument prototype would still apply. */
69299 char $ac_func ();
69300 /* The GNU C library defines this for functions which it implements
69301 to always fail with ENOSYS. Some functions are actually named
69302 something starting with __ and the normal name is an alias. */
69303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69304 choke me
69305 #else
69306 char (*f) () = $ac_func;
69307 #endif
69308 #ifdef __cplusplus
69310 #endif
69313 main ()
69315 return f != $ac_func;
69317 return 0;
69319 _ACEOF
69320 rm -f conftest.$ac_objext conftest$ac_exeext
69321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69322 (eval $ac_link) 2>conftest.er1
69323 ac_status=$?
69324 grep -v '^ *+' conftest.er1 >conftest.err
69325 rm -f conftest.er1
69326 cat conftest.err >&5
69327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69328 (exit $ac_status); } &&
69329 { ac_try='test -z "$ac_c_werror_flag"
69330 || test ! -s conftest.err'
69331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69332 (eval $ac_try) 2>&5
69333 ac_status=$?
69334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69335 (exit $ac_status); }; } &&
69336 { ac_try='test -s conftest$ac_exeext'
69337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69338 (eval $ac_try) 2>&5
69339 ac_status=$?
69340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69341 (exit $ac_status); }; }; then
69342 eval "$as_ac_var=yes"
69343 else
69344 echo "$as_me: failed program was:" >&5
69345 sed 's/^/| /' conftest.$ac_ext >&5
69347 eval "$as_ac_var=no"
69349 rm -f conftest.err conftest.$ac_objext \
69350 conftest$ac_exeext conftest.$ac_ext
69352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69354 if test `eval echo '${'$as_ac_var'}'` = yes; then
69355 cat >>confdefs.h <<_ACEOF
69356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69357 _ACEOF
69360 done
69362 else
69364 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
69365 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
69366 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
69367 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
69368 echo $ECHO_N "(cached) $ECHO_C" >&6
69369 else
69373 ac_ext=cc
69374 ac_cpp='$CXXCPP $CPPFLAGS'
69375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69379 cat >conftest.$ac_ext <<_ACEOF
69380 /* confdefs.h. */
69381 _ACEOF
69382 cat confdefs.h >>conftest.$ac_ext
69383 cat >>conftest.$ac_ext <<_ACEOF
69384 /* end confdefs.h. */
69385 #include <math.h>
69386 #ifdef HAVE_IEEEFP_H
69387 #include <ieeefp.h>
69388 #endif
69391 main ()
69393 _sqrtl(0);
69395 return 0;
69397 _ACEOF
69398 rm -f conftest.$ac_objext
69399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69400 (eval $ac_compile) 2>conftest.er1
69401 ac_status=$?
69402 grep -v '^ *+' conftest.er1 >conftest.err
69403 rm -f conftest.er1
69404 cat conftest.err >&5
69405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69406 (exit $ac_status); } &&
69407 { ac_try='test -z "$ac_cxx_werror_flag"
69408 || test ! -s conftest.err'
69409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69410 (eval $ac_try) 2>&5
69411 ac_status=$?
69412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69413 (exit $ac_status); }; } &&
69414 { ac_try='test -s conftest.$ac_objext'
69415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69416 (eval $ac_try) 2>&5
69417 ac_status=$?
69418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69419 (exit $ac_status); }; }; then
69420 glibcxx_cv_func__sqrtl_use=yes
69421 else
69422 echo "$as_me: failed program was:" >&5
69423 sed 's/^/| /' conftest.$ac_ext >&5
69425 glibcxx_cv_func__sqrtl_use=no
69427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69428 ac_ext=c
69429 ac_cpp='$CPP $CPPFLAGS'
69430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69438 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
69439 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
69441 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
69443 for ac_func in _sqrtl
69445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69446 echo "$as_me:$LINENO: checking for $ac_func" >&5
69447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69448 if eval "test \"\${$as_ac_var+set}\" = set"; then
69449 echo $ECHO_N "(cached) $ECHO_C" >&6
69450 else
69451 if test x$gcc_no_link = xyes; then
69452 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69454 { (exit 1); exit 1; }; }
69456 cat >conftest.$ac_ext <<_ACEOF
69457 /* confdefs.h. */
69458 _ACEOF
69459 cat confdefs.h >>conftest.$ac_ext
69460 cat >>conftest.$ac_ext <<_ACEOF
69461 /* end confdefs.h. */
69462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69464 #define $ac_func innocuous_$ac_func
69466 /* System header to define __stub macros and hopefully few prototypes,
69467 which can conflict with char $ac_func (); below.
69468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69469 <limits.h> exists even on freestanding compilers. */
69471 #ifdef __STDC__
69472 # include <limits.h>
69473 #else
69474 # include <assert.h>
69475 #endif
69477 #undef $ac_func
69479 /* Override any gcc2 internal prototype to avoid an error. */
69480 #ifdef __cplusplus
69481 extern "C"
69483 #endif
69484 /* We use char because int might match the return type of a gcc2
69485 builtin and then its argument prototype would still apply. */
69486 char $ac_func ();
69487 /* The GNU C library defines this for functions which it implements
69488 to always fail with ENOSYS. Some functions are actually named
69489 something starting with __ and the normal name is an alias. */
69490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69491 choke me
69492 #else
69493 char (*f) () = $ac_func;
69494 #endif
69495 #ifdef __cplusplus
69497 #endif
69500 main ()
69502 return f != $ac_func;
69504 return 0;
69506 _ACEOF
69507 rm -f conftest.$ac_objext conftest$ac_exeext
69508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69509 (eval $ac_link) 2>conftest.er1
69510 ac_status=$?
69511 grep -v '^ *+' conftest.er1 >conftest.err
69512 rm -f conftest.er1
69513 cat conftest.err >&5
69514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69515 (exit $ac_status); } &&
69516 { ac_try='test -z "$ac_c_werror_flag"
69517 || test ! -s conftest.err'
69518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69519 (eval $ac_try) 2>&5
69520 ac_status=$?
69521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69522 (exit $ac_status); }; } &&
69523 { ac_try='test -s conftest$ac_exeext'
69524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69525 (eval $ac_try) 2>&5
69526 ac_status=$?
69527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69528 (exit $ac_status); }; }; then
69529 eval "$as_ac_var=yes"
69530 else
69531 echo "$as_me: failed program was:" >&5
69532 sed 's/^/| /' conftest.$ac_ext >&5
69534 eval "$as_ac_var=no"
69536 rm -f conftest.err conftest.$ac_objext \
69537 conftest$ac_exeext conftest.$ac_ext
69539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69541 if test `eval echo '${'$as_ac_var'}'` = yes; then
69542 cat >>confdefs.h <<_ACEOF
69543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69544 _ACEOF
69547 done
69557 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
69558 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
69559 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
69560 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
69561 echo $ECHO_N "(cached) $ECHO_C" >&6
69562 else
69566 ac_ext=cc
69567 ac_cpp='$CXXCPP $CPPFLAGS'
69568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69572 cat >conftest.$ac_ext <<_ACEOF
69573 /* confdefs.h. */
69574 _ACEOF
69575 cat confdefs.h >>conftest.$ac_ext
69576 cat >>conftest.$ac_ext <<_ACEOF
69577 /* end confdefs.h. */
69578 #include <math.h>
69580 main ()
69582 sincosl(0, 0, 0);
69584 return 0;
69586 _ACEOF
69587 rm -f conftest.$ac_objext
69588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69589 (eval $ac_compile) 2>conftest.er1
69590 ac_status=$?
69591 grep -v '^ *+' conftest.er1 >conftest.err
69592 rm -f conftest.er1
69593 cat conftest.err >&5
69594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69595 (exit $ac_status); } &&
69596 { ac_try='test -z "$ac_cxx_werror_flag"
69597 || test ! -s conftest.err'
69598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69599 (eval $ac_try) 2>&5
69600 ac_status=$?
69601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69602 (exit $ac_status); }; } &&
69603 { ac_try='test -s conftest.$ac_objext'
69604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69605 (eval $ac_try) 2>&5
69606 ac_status=$?
69607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69608 (exit $ac_status); }; }; then
69609 glibcxx_cv_func_sincosl_use=yes
69610 else
69611 echo "$as_me: failed program was:" >&5
69612 sed 's/^/| /' conftest.$ac_ext >&5
69614 glibcxx_cv_func_sincosl_use=no
69616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69617 ac_ext=c
69618 ac_cpp='$CPP $CPPFLAGS'
69619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69627 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
69628 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
69630 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69632 for ac_func in sincosl
69634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69635 echo "$as_me:$LINENO: checking for $ac_func" >&5
69636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69637 if eval "test \"\${$as_ac_var+set}\" = set"; then
69638 echo $ECHO_N "(cached) $ECHO_C" >&6
69639 else
69640 if test x$gcc_no_link = xyes; then
69641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69643 { (exit 1); exit 1; }; }
69645 cat >conftest.$ac_ext <<_ACEOF
69646 /* confdefs.h. */
69647 _ACEOF
69648 cat confdefs.h >>conftest.$ac_ext
69649 cat >>conftest.$ac_ext <<_ACEOF
69650 /* end confdefs.h. */
69651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69653 #define $ac_func innocuous_$ac_func
69655 /* System header to define __stub macros and hopefully few prototypes,
69656 which can conflict with char $ac_func (); below.
69657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69658 <limits.h> exists even on freestanding compilers. */
69660 #ifdef __STDC__
69661 # include <limits.h>
69662 #else
69663 # include <assert.h>
69664 #endif
69666 #undef $ac_func
69668 /* Override any gcc2 internal prototype to avoid an error. */
69669 #ifdef __cplusplus
69670 extern "C"
69672 #endif
69673 /* We use char because int might match the return type of a gcc2
69674 builtin and then its argument prototype would still apply. */
69675 char $ac_func ();
69676 /* The GNU C library defines this for functions which it implements
69677 to always fail with ENOSYS. Some functions are actually named
69678 something starting with __ and the normal name is an alias. */
69679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69680 choke me
69681 #else
69682 char (*f) () = $ac_func;
69683 #endif
69684 #ifdef __cplusplus
69686 #endif
69689 main ()
69691 return f != $ac_func;
69693 return 0;
69695 _ACEOF
69696 rm -f conftest.$ac_objext conftest$ac_exeext
69697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69698 (eval $ac_link) 2>conftest.er1
69699 ac_status=$?
69700 grep -v '^ *+' conftest.er1 >conftest.err
69701 rm -f conftest.er1
69702 cat conftest.err >&5
69703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69704 (exit $ac_status); } &&
69705 { ac_try='test -z "$ac_c_werror_flag"
69706 || test ! -s conftest.err'
69707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69708 (eval $ac_try) 2>&5
69709 ac_status=$?
69710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69711 (exit $ac_status); }; } &&
69712 { ac_try='test -s conftest$ac_exeext'
69713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69714 (eval $ac_try) 2>&5
69715 ac_status=$?
69716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69717 (exit $ac_status); }; }; then
69718 eval "$as_ac_var=yes"
69719 else
69720 echo "$as_me: failed program was:" >&5
69721 sed 's/^/| /' conftest.$ac_ext >&5
69723 eval "$as_ac_var=no"
69725 rm -f conftest.err conftest.$ac_objext \
69726 conftest$ac_exeext conftest.$ac_ext
69728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69730 if test `eval echo '${'$as_ac_var'}'` = yes; then
69731 cat >>confdefs.h <<_ACEOF
69732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69733 _ACEOF
69736 done
69738 else
69740 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
69741 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
69742 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69743 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
69744 echo $ECHO_N "(cached) $ECHO_C" >&6
69745 else
69749 ac_ext=cc
69750 ac_cpp='$CXXCPP $CPPFLAGS'
69751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69755 cat >conftest.$ac_ext <<_ACEOF
69756 /* confdefs.h. */
69757 _ACEOF
69758 cat confdefs.h >>conftest.$ac_ext
69759 cat >>conftest.$ac_ext <<_ACEOF
69760 /* end confdefs.h. */
69761 #include <math.h>
69763 main ()
69765 _sincosl(0, 0, 0);
69767 return 0;
69769 _ACEOF
69770 rm -f conftest.$ac_objext
69771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69772 (eval $ac_compile) 2>conftest.er1
69773 ac_status=$?
69774 grep -v '^ *+' conftest.er1 >conftest.err
69775 rm -f conftest.er1
69776 cat conftest.err >&5
69777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69778 (exit $ac_status); } &&
69779 { ac_try='test -z "$ac_cxx_werror_flag"
69780 || test ! -s conftest.err'
69781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69782 (eval $ac_try) 2>&5
69783 ac_status=$?
69784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69785 (exit $ac_status); }; } &&
69786 { ac_try='test -s conftest.$ac_objext'
69787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69788 (eval $ac_try) 2>&5
69789 ac_status=$?
69790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69791 (exit $ac_status); }; }; then
69792 glibcxx_cv_func__sincosl_use=yes
69793 else
69794 echo "$as_me: failed program was:" >&5
69795 sed 's/^/| /' conftest.$ac_ext >&5
69797 glibcxx_cv_func__sincosl_use=no
69799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69800 ac_ext=c
69801 ac_cpp='$CPP $CPPFLAGS'
69802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69810 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
69811 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
69813 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
69815 for ac_func in _sincosl
69817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69818 echo "$as_me:$LINENO: checking for $ac_func" >&5
69819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69820 if eval "test \"\${$as_ac_var+set}\" = set"; then
69821 echo $ECHO_N "(cached) $ECHO_C" >&6
69822 else
69823 if test x$gcc_no_link = xyes; then
69824 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69826 { (exit 1); exit 1; }; }
69828 cat >conftest.$ac_ext <<_ACEOF
69829 /* confdefs.h. */
69830 _ACEOF
69831 cat confdefs.h >>conftest.$ac_ext
69832 cat >>conftest.$ac_ext <<_ACEOF
69833 /* end confdefs.h. */
69834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69836 #define $ac_func innocuous_$ac_func
69838 /* System header to define __stub macros and hopefully few prototypes,
69839 which can conflict with char $ac_func (); below.
69840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69841 <limits.h> exists even on freestanding compilers. */
69843 #ifdef __STDC__
69844 # include <limits.h>
69845 #else
69846 # include <assert.h>
69847 #endif
69849 #undef $ac_func
69851 /* Override any gcc2 internal prototype to avoid an error. */
69852 #ifdef __cplusplus
69853 extern "C"
69855 #endif
69856 /* We use char because int might match the return type of a gcc2
69857 builtin and then its argument prototype would still apply. */
69858 char $ac_func ();
69859 /* The GNU C library defines this for functions which it implements
69860 to always fail with ENOSYS. Some functions are actually named
69861 something starting with __ and the normal name is an alias. */
69862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69863 choke me
69864 #else
69865 char (*f) () = $ac_func;
69866 #endif
69867 #ifdef __cplusplus
69869 #endif
69872 main ()
69874 return f != $ac_func;
69876 return 0;
69878 _ACEOF
69879 rm -f conftest.$ac_objext conftest$ac_exeext
69880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69881 (eval $ac_link) 2>conftest.er1
69882 ac_status=$?
69883 grep -v '^ *+' conftest.er1 >conftest.err
69884 rm -f conftest.er1
69885 cat conftest.err >&5
69886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69887 (exit $ac_status); } &&
69888 { ac_try='test -z "$ac_c_werror_flag"
69889 || test ! -s conftest.err'
69890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69891 (eval $ac_try) 2>&5
69892 ac_status=$?
69893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69894 (exit $ac_status); }; } &&
69895 { ac_try='test -s conftest$ac_exeext'
69896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69897 (eval $ac_try) 2>&5
69898 ac_status=$?
69899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69900 (exit $ac_status); }; }; then
69901 eval "$as_ac_var=yes"
69902 else
69903 echo "$as_me: failed program was:" >&5
69904 sed 's/^/| /' conftest.$ac_ext >&5
69906 eval "$as_ac_var=no"
69908 rm -f conftest.err conftest.$ac_objext \
69909 conftest$ac_exeext conftest.$ac_ext
69911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69913 if test `eval echo '${'$as_ac_var'}'` = yes; then
69914 cat >>confdefs.h <<_ACEOF
69915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69916 _ACEOF
69919 done
69929 echo "$as_me:$LINENO: checking for finitel declaration" >&5
69930 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
69931 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
69932 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
69933 echo $ECHO_N "(cached) $ECHO_C" >&6
69934 else
69938 ac_ext=cc
69939 ac_cpp='$CXXCPP $CPPFLAGS'
69940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69944 cat >conftest.$ac_ext <<_ACEOF
69945 /* confdefs.h. */
69946 _ACEOF
69947 cat confdefs.h >>conftest.$ac_ext
69948 cat >>conftest.$ac_ext <<_ACEOF
69949 /* end confdefs.h. */
69950 #include <math.h>
69951 #ifdef HAVE_IEEEFP_H
69952 #include <ieeefp.h>
69953 #endif
69956 main ()
69958 finitel(0);
69960 return 0;
69962 _ACEOF
69963 rm -f conftest.$ac_objext
69964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69965 (eval $ac_compile) 2>conftest.er1
69966 ac_status=$?
69967 grep -v '^ *+' conftest.er1 >conftest.err
69968 rm -f conftest.er1
69969 cat conftest.err >&5
69970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69971 (exit $ac_status); } &&
69972 { ac_try='test -z "$ac_cxx_werror_flag"
69973 || test ! -s conftest.err'
69974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69975 (eval $ac_try) 2>&5
69976 ac_status=$?
69977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69978 (exit $ac_status); }; } &&
69979 { ac_try='test -s conftest.$ac_objext'
69980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69981 (eval $ac_try) 2>&5
69982 ac_status=$?
69983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69984 (exit $ac_status); }; }; then
69985 glibcxx_cv_func_finitel_use=yes
69986 else
69987 echo "$as_me: failed program was:" >&5
69988 sed 's/^/| /' conftest.$ac_ext >&5
69990 glibcxx_cv_func_finitel_use=no
69992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69993 ac_ext=c
69994 ac_cpp='$CPP $CPPFLAGS'
69995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70003 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
70004 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
70006 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70008 for ac_func in finitel
70010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70011 echo "$as_me:$LINENO: checking for $ac_func" >&5
70012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70013 if eval "test \"\${$as_ac_var+set}\" = set"; then
70014 echo $ECHO_N "(cached) $ECHO_C" >&6
70015 else
70016 if test x$gcc_no_link = xyes; then
70017 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70019 { (exit 1); exit 1; }; }
70021 cat >conftest.$ac_ext <<_ACEOF
70022 /* confdefs.h. */
70023 _ACEOF
70024 cat confdefs.h >>conftest.$ac_ext
70025 cat >>conftest.$ac_ext <<_ACEOF
70026 /* end confdefs.h. */
70027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70029 #define $ac_func innocuous_$ac_func
70031 /* System header to define __stub macros and hopefully few prototypes,
70032 which can conflict with char $ac_func (); below.
70033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70034 <limits.h> exists even on freestanding compilers. */
70036 #ifdef __STDC__
70037 # include <limits.h>
70038 #else
70039 # include <assert.h>
70040 #endif
70042 #undef $ac_func
70044 /* Override any gcc2 internal prototype to avoid an error. */
70045 #ifdef __cplusplus
70046 extern "C"
70048 #endif
70049 /* We use char because int might match the return type of a gcc2
70050 builtin and then its argument prototype would still apply. */
70051 char $ac_func ();
70052 /* The GNU C library defines this for functions which it implements
70053 to always fail with ENOSYS. Some functions are actually named
70054 something starting with __ and the normal name is an alias. */
70055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70056 choke me
70057 #else
70058 char (*f) () = $ac_func;
70059 #endif
70060 #ifdef __cplusplus
70062 #endif
70065 main ()
70067 return f != $ac_func;
70069 return 0;
70071 _ACEOF
70072 rm -f conftest.$ac_objext conftest$ac_exeext
70073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70074 (eval $ac_link) 2>conftest.er1
70075 ac_status=$?
70076 grep -v '^ *+' conftest.er1 >conftest.err
70077 rm -f conftest.er1
70078 cat conftest.err >&5
70079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70080 (exit $ac_status); } &&
70081 { ac_try='test -z "$ac_c_werror_flag"
70082 || test ! -s conftest.err'
70083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70084 (eval $ac_try) 2>&5
70085 ac_status=$?
70086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70087 (exit $ac_status); }; } &&
70088 { ac_try='test -s conftest$ac_exeext'
70089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70090 (eval $ac_try) 2>&5
70091 ac_status=$?
70092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70093 (exit $ac_status); }; }; then
70094 eval "$as_ac_var=yes"
70095 else
70096 echo "$as_me: failed program was:" >&5
70097 sed 's/^/| /' conftest.$ac_ext >&5
70099 eval "$as_ac_var=no"
70101 rm -f conftest.err conftest.$ac_objext \
70102 conftest$ac_exeext conftest.$ac_ext
70104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70106 if test `eval echo '${'$as_ac_var'}'` = yes; then
70107 cat >>confdefs.h <<_ACEOF
70108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70109 _ACEOF
70112 done
70114 else
70116 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
70117 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
70118 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70119 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
70120 echo $ECHO_N "(cached) $ECHO_C" >&6
70121 else
70125 ac_ext=cc
70126 ac_cpp='$CXXCPP $CPPFLAGS'
70127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70131 cat >conftest.$ac_ext <<_ACEOF
70132 /* confdefs.h. */
70133 _ACEOF
70134 cat confdefs.h >>conftest.$ac_ext
70135 cat >>conftest.$ac_ext <<_ACEOF
70136 /* end confdefs.h. */
70137 #include <math.h>
70138 #ifdef HAVE_IEEEFP_H
70139 #include <ieeefp.h>
70140 #endif
70143 main ()
70145 _finitel(0);
70147 return 0;
70149 _ACEOF
70150 rm -f conftest.$ac_objext
70151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70152 (eval $ac_compile) 2>conftest.er1
70153 ac_status=$?
70154 grep -v '^ *+' conftest.er1 >conftest.err
70155 rm -f conftest.er1
70156 cat conftest.err >&5
70157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70158 (exit $ac_status); } &&
70159 { ac_try='test -z "$ac_cxx_werror_flag"
70160 || test ! -s conftest.err'
70161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70162 (eval $ac_try) 2>&5
70163 ac_status=$?
70164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70165 (exit $ac_status); }; } &&
70166 { ac_try='test -s conftest.$ac_objext'
70167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70168 (eval $ac_try) 2>&5
70169 ac_status=$?
70170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70171 (exit $ac_status); }; }; then
70172 glibcxx_cv_func__finitel_use=yes
70173 else
70174 echo "$as_me: failed program was:" >&5
70175 sed 's/^/| /' conftest.$ac_ext >&5
70177 glibcxx_cv_func__finitel_use=no
70179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70180 ac_ext=c
70181 ac_cpp='$CPP $CPPFLAGS'
70182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70190 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
70191 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
70193 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70195 for ac_func in _finitel
70197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70198 echo "$as_me:$LINENO: checking for $ac_func" >&5
70199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70200 if eval "test \"\${$as_ac_var+set}\" = set"; then
70201 echo $ECHO_N "(cached) $ECHO_C" >&6
70202 else
70203 if test x$gcc_no_link = xyes; then
70204 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70206 { (exit 1); exit 1; }; }
70208 cat >conftest.$ac_ext <<_ACEOF
70209 /* confdefs.h. */
70210 _ACEOF
70211 cat confdefs.h >>conftest.$ac_ext
70212 cat >>conftest.$ac_ext <<_ACEOF
70213 /* end confdefs.h. */
70214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70216 #define $ac_func innocuous_$ac_func
70218 /* System header to define __stub macros and hopefully few prototypes,
70219 which can conflict with char $ac_func (); below.
70220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70221 <limits.h> exists even on freestanding compilers. */
70223 #ifdef __STDC__
70224 # include <limits.h>
70225 #else
70226 # include <assert.h>
70227 #endif
70229 #undef $ac_func
70231 /* Override any gcc2 internal prototype to avoid an error. */
70232 #ifdef __cplusplus
70233 extern "C"
70235 #endif
70236 /* We use char because int might match the return type of a gcc2
70237 builtin and then its argument prototype would still apply. */
70238 char $ac_func ();
70239 /* The GNU C library defines this for functions which it implements
70240 to always fail with ENOSYS. Some functions are actually named
70241 something starting with __ and the normal name is an alias. */
70242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70243 choke me
70244 #else
70245 char (*f) () = $ac_func;
70246 #endif
70247 #ifdef __cplusplus
70249 #endif
70252 main ()
70254 return f != $ac_func;
70256 return 0;
70258 _ACEOF
70259 rm -f conftest.$ac_objext conftest$ac_exeext
70260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70261 (eval $ac_link) 2>conftest.er1
70262 ac_status=$?
70263 grep -v '^ *+' conftest.er1 >conftest.err
70264 rm -f conftest.er1
70265 cat conftest.err >&5
70266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70267 (exit $ac_status); } &&
70268 { ac_try='test -z "$ac_c_werror_flag"
70269 || test ! -s conftest.err'
70270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70271 (eval $ac_try) 2>&5
70272 ac_status=$?
70273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70274 (exit $ac_status); }; } &&
70275 { ac_try='test -s conftest$ac_exeext'
70276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70277 (eval $ac_try) 2>&5
70278 ac_status=$?
70279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70280 (exit $ac_status); }; }; then
70281 eval "$as_ac_var=yes"
70282 else
70283 echo "$as_me: failed program was:" >&5
70284 sed 's/^/| /' conftest.$ac_ext >&5
70286 eval "$as_ac_var=no"
70288 rm -f conftest.err conftest.$ac_objext \
70289 conftest$ac_exeext conftest.$ac_ext
70291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70293 if test `eval echo '${'$as_ac_var'}'` = yes; then
70294 cat >>confdefs.h <<_ACEOF
70295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70296 _ACEOF
70299 done
70308 LIBS="$ac_save_LIBS"
70309 CXXFLAGS="$ac_save_CXXFLAGS"
70313 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
70314 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
70315 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
70316 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
70317 echo $ECHO_N "(cached) $ECHO_C" >&6
70318 else
70322 ac_ext=cc
70323 ac_cpp='$CXXCPP $CPPFLAGS'
70324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70328 cat >conftest.$ac_ext <<_ACEOF
70329 /* confdefs.h. */
70330 _ACEOF
70331 cat confdefs.h >>conftest.$ac_ext
70332 cat >>conftest.$ac_ext <<_ACEOF
70333 /* end confdefs.h. */
70334 #include <math.h>
70336 main ()
70338 __builtin_abs(0);
70340 return 0;
70342 _ACEOF
70343 rm -f conftest.$ac_objext
70344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70345 (eval $ac_compile) 2>conftest.er1
70346 ac_status=$?
70347 grep -v '^ *+' conftest.er1 >conftest.err
70348 rm -f conftest.er1
70349 cat conftest.err >&5
70350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70351 (exit $ac_status); } &&
70352 { ac_try='test -z "$ac_cxx_werror_flag"
70353 || test ! -s conftest.err'
70354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70355 (eval $ac_try) 2>&5
70356 ac_status=$?
70357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70358 (exit $ac_status); }; } &&
70359 { ac_try='test -s conftest.$ac_objext'
70360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70361 (eval $ac_try) 2>&5
70362 ac_status=$?
70363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70364 (exit $ac_status); }; }; then
70365 glibcxx_cv_func___builtin_abs_use=yes
70366 else
70367 echo "$as_me: failed program was:" >&5
70368 sed 's/^/| /' conftest.$ac_ext >&5
70370 glibcxx_cv_func___builtin_abs_use=no
70372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70373 ac_ext=c
70374 ac_cpp='$CPP $CPPFLAGS'
70375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70383 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
70384 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
70385 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
70386 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
70387 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
70388 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
70389 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
70390 echo $ECHO_N "(cached) $ECHO_C" >&6
70391 else
70393 if test x$gcc_no_link = xyes; then
70394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70396 { (exit 1); exit 1; }; }
70398 cat >conftest.$ac_ext <<_ACEOF
70399 /* confdefs.h. */
70400 _ACEOF
70401 cat confdefs.h >>conftest.$ac_ext
70402 cat >>conftest.$ac_ext <<_ACEOF
70403 /* end confdefs.h. */
70404 #include <math.h>
70406 main ()
70408 __builtin_abs(0);
70410 return 0;
70412 _ACEOF
70413 rm -f conftest.$ac_objext conftest$ac_exeext
70414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70415 (eval $ac_link) 2>conftest.er1
70416 ac_status=$?
70417 grep -v '^ *+' conftest.er1 >conftest.err
70418 rm -f conftest.er1
70419 cat conftest.err >&5
70420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70421 (exit $ac_status); } &&
70422 { ac_try='test -z "$ac_c_werror_flag"
70423 || test ! -s conftest.err'
70424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70425 (eval $ac_try) 2>&5
70426 ac_status=$?
70427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70428 (exit $ac_status); }; } &&
70429 { ac_try='test -s conftest$ac_exeext'
70430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70431 (eval $ac_try) 2>&5
70432 ac_status=$?
70433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70434 (exit $ac_status); }; }; then
70435 glibcxx_cv_func___builtin_abs_link=yes
70436 else
70437 echo "$as_me: failed program was:" >&5
70438 sed 's/^/| /' conftest.$ac_ext >&5
70440 glibcxx_cv_func___builtin_abs_link=no
70442 rm -f conftest.err conftest.$ac_objext \
70443 conftest$ac_exeext conftest.$ac_ext
70448 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
70449 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
70451 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
70453 cat >>confdefs.h <<\_ACEOF
70454 #define HAVE___BUILTIN_ABS 1
70455 _ACEOF
70462 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
70463 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
70464 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
70465 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
70466 echo $ECHO_N "(cached) $ECHO_C" >&6
70467 else
70471 ac_ext=cc
70472 ac_cpp='$CXXCPP $CPPFLAGS'
70473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70477 cat >conftest.$ac_ext <<_ACEOF
70478 /* confdefs.h. */
70479 _ACEOF
70480 cat confdefs.h >>conftest.$ac_ext
70481 cat >>conftest.$ac_ext <<_ACEOF
70482 /* end confdefs.h. */
70483 #include <math.h>
70485 main ()
70487 __builtin_fabsf(0);
70489 return 0;
70491 _ACEOF
70492 rm -f conftest.$ac_objext
70493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70494 (eval $ac_compile) 2>conftest.er1
70495 ac_status=$?
70496 grep -v '^ *+' conftest.er1 >conftest.err
70497 rm -f conftest.er1
70498 cat conftest.err >&5
70499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70500 (exit $ac_status); } &&
70501 { ac_try='test -z "$ac_cxx_werror_flag"
70502 || test ! -s conftest.err'
70503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70504 (eval $ac_try) 2>&5
70505 ac_status=$?
70506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70507 (exit $ac_status); }; } &&
70508 { ac_try='test -s conftest.$ac_objext'
70509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70510 (eval $ac_try) 2>&5
70511 ac_status=$?
70512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70513 (exit $ac_status); }; }; then
70514 glibcxx_cv_func___builtin_fabsf_use=yes
70515 else
70516 echo "$as_me: failed program was:" >&5
70517 sed 's/^/| /' conftest.$ac_ext >&5
70519 glibcxx_cv_func___builtin_fabsf_use=no
70521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70522 ac_ext=c
70523 ac_cpp='$CPP $CPPFLAGS'
70524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70532 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
70533 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
70534 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
70535 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
70536 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
70537 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
70538 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
70539 echo $ECHO_N "(cached) $ECHO_C" >&6
70540 else
70542 if test x$gcc_no_link = xyes; then
70543 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70545 { (exit 1); exit 1; }; }
70547 cat >conftest.$ac_ext <<_ACEOF
70548 /* confdefs.h. */
70549 _ACEOF
70550 cat confdefs.h >>conftest.$ac_ext
70551 cat >>conftest.$ac_ext <<_ACEOF
70552 /* end confdefs.h. */
70553 #include <math.h>
70555 main ()
70557 __builtin_fabsf(0);
70559 return 0;
70561 _ACEOF
70562 rm -f conftest.$ac_objext conftest$ac_exeext
70563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70564 (eval $ac_link) 2>conftest.er1
70565 ac_status=$?
70566 grep -v '^ *+' conftest.er1 >conftest.err
70567 rm -f conftest.er1
70568 cat conftest.err >&5
70569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70570 (exit $ac_status); } &&
70571 { ac_try='test -z "$ac_c_werror_flag"
70572 || test ! -s conftest.err'
70573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70574 (eval $ac_try) 2>&5
70575 ac_status=$?
70576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70577 (exit $ac_status); }; } &&
70578 { ac_try='test -s conftest$ac_exeext'
70579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70580 (eval $ac_try) 2>&5
70581 ac_status=$?
70582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70583 (exit $ac_status); }; }; then
70584 glibcxx_cv_func___builtin_fabsf_link=yes
70585 else
70586 echo "$as_me: failed program was:" >&5
70587 sed 's/^/| /' conftest.$ac_ext >&5
70589 glibcxx_cv_func___builtin_fabsf_link=no
70591 rm -f conftest.err conftest.$ac_objext \
70592 conftest$ac_exeext conftest.$ac_ext
70597 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
70598 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
70600 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
70602 cat >>confdefs.h <<\_ACEOF
70603 #define HAVE___BUILTIN_FABSF 1
70604 _ACEOF
70611 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
70612 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
70613 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
70614 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
70615 echo $ECHO_N "(cached) $ECHO_C" >&6
70616 else
70620 ac_ext=cc
70621 ac_cpp='$CXXCPP $CPPFLAGS'
70622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70626 cat >conftest.$ac_ext <<_ACEOF
70627 /* confdefs.h. */
70628 _ACEOF
70629 cat confdefs.h >>conftest.$ac_ext
70630 cat >>conftest.$ac_ext <<_ACEOF
70631 /* end confdefs.h. */
70632 #include <math.h>
70634 main ()
70636 __builtin_fabs(0);
70638 return 0;
70640 _ACEOF
70641 rm -f conftest.$ac_objext
70642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70643 (eval $ac_compile) 2>conftest.er1
70644 ac_status=$?
70645 grep -v '^ *+' conftest.er1 >conftest.err
70646 rm -f conftest.er1
70647 cat conftest.err >&5
70648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70649 (exit $ac_status); } &&
70650 { ac_try='test -z "$ac_cxx_werror_flag"
70651 || test ! -s conftest.err'
70652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70653 (eval $ac_try) 2>&5
70654 ac_status=$?
70655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70656 (exit $ac_status); }; } &&
70657 { ac_try='test -s conftest.$ac_objext'
70658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70659 (eval $ac_try) 2>&5
70660 ac_status=$?
70661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70662 (exit $ac_status); }; }; then
70663 glibcxx_cv_func___builtin_fabs_use=yes
70664 else
70665 echo "$as_me: failed program was:" >&5
70666 sed 's/^/| /' conftest.$ac_ext >&5
70668 glibcxx_cv_func___builtin_fabs_use=no
70670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70671 ac_ext=c
70672 ac_cpp='$CPP $CPPFLAGS'
70673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70681 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
70682 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
70683 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
70684 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
70685 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
70686 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
70687 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
70688 echo $ECHO_N "(cached) $ECHO_C" >&6
70689 else
70691 if test x$gcc_no_link = xyes; then
70692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70694 { (exit 1); exit 1; }; }
70696 cat >conftest.$ac_ext <<_ACEOF
70697 /* confdefs.h. */
70698 _ACEOF
70699 cat confdefs.h >>conftest.$ac_ext
70700 cat >>conftest.$ac_ext <<_ACEOF
70701 /* end confdefs.h. */
70702 #include <math.h>
70704 main ()
70706 __builtin_fabs(0);
70708 return 0;
70710 _ACEOF
70711 rm -f conftest.$ac_objext conftest$ac_exeext
70712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70713 (eval $ac_link) 2>conftest.er1
70714 ac_status=$?
70715 grep -v '^ *+' conftest.er1 >conftest.err
70716 rm -f conftest.er1
70717 cat conftest.err >&5
70718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70719 (exit $ac_status); } &&
70720 { ac_try='test -z "$ac_c_werror_flag"
70721 || test ! -s conftest.err'
70722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70723 (eval $ac_try) 2>&5
70724 ac_status=$?
70725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70726 (exit $ac_status); }; } &&
70727 { ac_try='test -s conftest$ac_exeext'
70728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70729 (eval $ac_try) 2>&5
70730 ac_status=$?
70731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70732 (exit $ac_status); }; }; then
70733 glibcxx_cv_func___builtin_fabs_link=yes
70734 else
70735 echo "$as_me: failed program was:" >&5
70736 sed 's/^/| /' conftest.$ac_ext >&5
70738 glibcxx_cv_func___builtin_fabs_link=no
70740 rm -f conftest.err conftest.$ac_objext \
70741 conftest$ac_exeext conftest.$ac_ext
70746 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
70747 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
70749 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
70751 cat >>confdefs.h <<\_ACEOF
70752 #define HAVE___BUILTIN_FABS 1
70753 _ACEOF
70760 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
70761 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
70762 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
70763 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
70764 echo $ECHO_N "(cached) $ECHO_C" >&6
70765 else
70769 ac_ext=cc
70770 ac_cpp='$CXXCPP $CPPFLAGS'
70771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70775 cat >conftest.$ac_ext <<_ACEOF
70776 /* confdefs.h. */
70777 _ACEOF
70778 cat confdefs.h >>conftest.$ac_ext
70779 cat >>conftest.$ac_ext <<_ACEOF
70780 /* end confdefs.h. */
70781 #include <math.h>
70783 main ()
70785 __builtin_fabsl(0);
70787 return 0;
70789 _ACEOF
70790 rm -f conftest.$ac_objext
70791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70792 (eval $ac_compile) 2>conftest.er1
70793 ac_status=$?
70794 grep -v '^ *+' conftest.er1 >conftest.err
70795 rm -f conftest.er1
70796 cat conftest.err >&5
70797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70798 (exit $ac_status); } &&
70799 { ac_try='test -z "$ac_cxx_werror_flag"
70800 || test ! -s conftest.err'
70801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70802 (eval $ac_try) 2>&5
70803 ac_status=$?
70804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70805 (exit $ac_status); }; } &&
70806 { ac_try='test -s conftest.$ac_objext'
70807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70808 (eval $ac_try) 2>&5
70809 ac_status=$?
70810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70811 (exit $ac_status); }; }; then
70812 glibcxx_cv_func___builtin_fabsl_use=yes
70813 else
70814 echo "$as_me: failed program was:" >&5
70815 sed 's/^/| /' conftest.$ac_ext >&5
70817 glibcxx_cv_func___builtin_fabsl_use=no
70819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70820 ac_ext=c
70821 ac_cpp='$CPP $CPPFLAGS'
70822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70830 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
70831 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
70832 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
70833 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
70834 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
70835 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
70836 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
70837 echo $ECHO_N "(cached) $ECHO_C" >&6
70838 else
70840 if test x$gcc_no_link = xyes; then
70841 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70843 { (exit 1); exit 1; }; }
70845 cat >conftest.$ac_ext <<_ACEOF
70846 /* confdefs.h. */
70847 _ACEOF
70848 cat confdefs.h >>conftest.$ac_ext
70849 cat >>conftest.$ac_ext <<_ACEOF
70850 /* end confdefs.h. */
70851 #include <math.h>
70853 main ()
70855 __builtin_fabsl(0);
70857 return 0;
70859 _ACEOF
70860 rm -f conftest.$ac_objext conftest$ac_exeext
70861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70862 (eval $ac_link) 2>conftest.er1
70863 ac_status=$?
70864 grep -v '^ *+' conftest.er1 >conftest.err
70865 rm -f conftest.er1
70866 cat conftest.err >&5
70867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70868 (exit $ac_status); } &&
70869 { ac_try='test -z "$ac_c_werror_flag"
70870 || test ! -s conftest.err'
70871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70872 (eval $ac_try) 2>&5
70873 ac_status=$?
70874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70875 (exit $ac_status); }; } &&
70876 { ac_try='test -s conftest$ac_exeext'
70877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70878 (eval $ac_try) 2>&5
70879 ac_status=$?
70880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70881 (exit $ac_status); }; }; then
70882 glibcxx_cv_func___builtin_fabsl_link=yes
70883 else
70884 echo "$as_me: failed program was:" >&5
70885 sed 's/^/| /' conftest.$ac_ext >&5
70887 glibcxx_cv_func___builtin_fabsl_link=no
70889 rm -f conftest.err conftest.$ac_objext \
70890 conftest$ac_exeext conftest.$ac_ext
70895 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
70896 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
70898 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
70900 cat >>confdefs.h <<\_ACEOF
70901 #define HAVE___BUILTIN_FABSL 1
70902 _ACEOF
70909 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
70910 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
70911 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
70912 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
70913 echo $ECHO_N "(cached) $ECHO_C" >&6
70914 else
70918 ac_ext=cc
70919 ac_cpp='$CXXCPP $CPPFLAGS'
70920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70924 cat >conftest.$ac_ext <<_ACEOF
70925 /* confdefs.h. */
70926 _ACEOF
70927 cat confdefs.h >>conftest.$ac_ext
70928 cat >>conftest.$ac_ext <<_ACEOF
70929 /* end confdefs.h. */
70930 #include <math.h>
70932 main ()
70934 __builtin_labs(0);
70936 return 0;
70938 _ACEOF
70939 rm -f conftest.$ac_objext
70940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70941 (eval $ac_compile) 2>conftest.er1
70942 ac_status=$?
70943 grep -v '^ *+' conftest.er1 >conftest.err
70944 rm -f conftest.er1
70945 cat conftest.err >&5
70946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70947 (exit $ac_status); } &&
70948 { ac_try='test -z "$ac_cxx_werror_flag"
70949 || test ! -s conftest.err'
70950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70951 (eval $ac_try) 2>&5
70952 ac_status=$?
70953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70954 (exit $ac_status); }; } &&
70955 { ac_try='test -s conftest.$ac_objext'
70956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70957 (eval $ac_try) 2>&5
70958 ac_status=$?
70959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70960 (exit $ac_status); }; }; then
70961 glibcxx_cv_func___builtin_labs_use=yes
70962 else
70963 echo "$as_me: failed program was:" >&5
70964 sed 's/^/| /' conftest.$ac_ext >&5
70966 glibcxx_cv_func___builtin_labs_use=no
70968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70969 ac_ext=c
70970 ac_cpp='$CPP $CPPFLAGS'
70971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70979 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
70980 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
70981 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
70982 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
70983 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
70984 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
70985 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
70986 echo $ECHO_N "(cached) $ECHO_C" >&6
70987 else
70989 if test x$gcc_no_link = xyes; then
70990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70992 { (exit 1); exit 1; }; }
70994 cat >conftest.$ac_ext <<_ACEOF
70995 /* confdefs.h. */
70996 _ACEOF
70997 cat confdefs.h >>conftest.$ac_ext
70998 cat >>conftest.$ac_ext <<_ACEOF
70999 /* end confdefs.h. */
71000 #include <math.h>
71002 main ()
71004 __builtin_labs(0);
71006 return 0;
71008 _ACEOF
71009 rm -f conftest.$ac_objext conftest$ac_exeext
71010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71011 (eval $ac_link) 2>conftest.er1
71012 ac_status=$?
71013 grep -v '^ *+' conftest.er1 >conftest.err
71014 rm -f conftest.er1
71015 cat conftest.err >&5
71016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71017 (exit $ac_status); } &&
71018 { ac_try='test -z "$ac_c_werror_flag"
71019 || test ! -s conftest.err'
71020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71021 (eval $ac_try) 2>&5
71022 ac_status=$?
71023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71024 (exit $ac_status); }; } &&
71025 { ac_try='test -s conftest$ac_exeext'
71026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71027 (eval $ac_try) 2>&5
71028 ac_status=$?
71029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71030 (exit $ac_status); }; }; then
71031 glibcxx_cv_func___builtin_labs_link=yes
71032 else
71033 echo "$as_me: failed program was:" >&5
71034 sed 's/^/| /' conftest.$ac_ext >&5
71036 glibcxx_cv_func___builtin_labs_link=no
71038 rm -f conftest.err conftest.$ac_objext \
71039 conftest$ac_exeext conftest.$ac_ext
71044 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
71045 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
71047 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
71049 cat >>confdefs.h <<\_ACEOF
71050 #define HAVE___BUILTIN_LABS 1
71051 _ACEOF
71059 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
71060 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
71061 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
71062 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
71063 echo $ECHO_N "(cached) $ECHO_C" >&6
71064 else
71068 ac_ext=cc
71069 ac_cpp='$CXXCPP $CPPFLAGS'
71070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71074 cat >conftest.$ac_ext <<_ACEOF
71075 /* confdefs.h. */
71076 _ACEOF
71077 cat confdefs.h >>conftest.$ac_ext
71078 cat >>conftest.$ac_ext <<_ACEOF
71079 /* end confdefs.h. */
71080 #include <math.h>
71082 main ()
71084 __builtin_sqrtf(0);
71086 return 0;
71088 _ACEOF
71089 rm -f conftest.$ac_objext
71090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71091 (eval $ac_compile) 2>conftest.er1
71092 ac_status=$?
71093 grep -v '^ *+' conftest.er1 >conftest.err
71094 rm -f conftest.er1
71095 cat conftest.err >&5
71096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71097 (exit $ac_status); } &&
71098 { ac_try='test -z "$ac_cxx_werror_flag"
71099 || test ! -s conftest.err'
71100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71101 (eval $ac_try) 2>&5
71102 ac_status=$?
71103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71104 (exit $ac_status); }; } &&
71105 { ac_try='test -s conftest.$ac_objext'
71106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71107 (eval $ac_try) 2>&5
71108 ac_status=$?
71109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71110 (exit $ac_status); }; }; then
71111 glibcxx_cv_func___builtin_sqrtf_use=yes
71112 else
71113 echo "$as_me: failed program was:" >&5
71114 sed 's/^/| /' conftest.$ac_ext >&5
71116 glibcxx_cv_func___builtin_sqrtf_use=no
71118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71119 ac_ext=c
71120 ac_cpp='$CPP $CPPFLAGS'
71121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71129 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
71130 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
71131 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
71132 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
71133 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
71134 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
71135 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
71136 echo $ECHO_N "(cached) $ECHO_C" >&6
71137 else
71139 if test x$gcc_no_link = xyes; then
71140 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71142 { (exit 1); exit 1; }; }
71144 cat >conftest.$ac_ext <<_ACEOF
71145 /* confdefs.h. */
71146 _ACEOF
71147 cat confdefs.h >>conftest.$ac_ext
71148 cat >>conftest.$ac_ext <<_ACEOF
71149 /* end confdefs.h. */
71150 #include <math.h>
71152 main ()
71154 __builtin_sqrtf(0);
71156 return 0;
71158 _ACEOF
71159 rm -f conftest.$ac_objext conftest$ac_exeext
71160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71161 (eval $ac_link) 2>conftest.er1
71162 ac_status=$?
71163 grep -v '^ *+' conftest.er1 >conftest.err
71164 rm -f conftest.er1
71165 cat conftest.err >&5
71166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71167 (exit $ac_status); } &&
71168 { ac_try='test -z "$ac_c_werror_flag"
71169 || test ! -s conftest.err'
71170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71171 (eval $ac_try) 2>&5
71172 ac_status=$?
71173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71174 (exit $ac_status); }; } &&
71175 { ac_try='test -s conftest$ac_exeext'
71176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71177 (eval $ac_try) 2>&5
71178 ac_status=$?
71179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71180 (exit $ac_status); }; }; then
71181 glibcxx_cv_func___builtin_sqrtf_link=yes
71182 else
71183 echo "$as_me: failed program was:" >&5
71184 sed 's/^/| /' conftest.$ac_ext >&5
71186 glibcxx_cv_func___builtin_sqrtf_link=no
71188 rm -f conftest.err conftest.$ac_objext \
71189 conftest$ac_exeext conftest.$ac_ext
71194 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
71195 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
71197 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
71199 cat >>confdefs.h <<\_ACEOF
71200 #define HAVE___BUILTIN_SQRTF 1
71201 _ACEOF
71208 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
71209 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
71210 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
71211 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
71212 echo $ECHO_N "(cached) $ECHO_C" >&6
71213 else
71217 ac_ext=cc
71218 ac_cpp='$CXXCPP $CPPFLAGS'
71219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71223 cat >conftest.$ac_ext <<_ACEOF
71224 /* confdefs.h. */
71225 _ACEOF
71226 cat confdefs.h >>conftest.$ac_ext
71227 cat >>conftest.$ac_ext <<_ACEOF
71228 /* end confdefs.h. */
71229 #include <math.h>
71231 main ()
71233 __builtin_sqrt(0);
71235 return 0;
71237 _ACEOF
71238 rm -f conftest.$ac_objext
71239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71240 (eval $ac_compile) 2>conftest.er1
71241 ac_status=$?
71242 grep -v '^ *+' conftest.er1 >conftest.err
71243 rm -f conftest.er1
71244 cat conftest.err >&5
71245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71246 (exit $ac_status); } &&
71247 { ac_try='test -z "$ac_cxx_werror_flag"
71248 || test ! -s conftest.err'
71249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71250 (eval $ac_try) 2>&5
71251 ac_status=$?
71252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71253 (exit $ac_status); }; } &&
71254 { ac_try='test -s conftest.$ac_objext'
71255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71256 (eval $ac_try) 2>&5
71257 ac_status=$?
71258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71259 (exit $ac_status); }; }; then
71260 glibcxx_cv_func___builtin_sqrt_use=yes
71261 else
71262 echo "$as_me: failed program was:" >&5
71263 sed 's/^/| /' conftest.$ac_ext >&5
71265 glibcxx_cv_func___builtin_sqrt_use=no
71267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71268 ac_ext=c
71269 ac_cpp='$CPP $CPPFLAGS'
71270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71278 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
71279 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
71280 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
71281 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
71282 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
71283 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
71284 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
71285 echo $ECHO_N "(cached) $ECHO_C" >&6
71286 else
71288 if test x$gcc_no_link = xyes; then
71289 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71291 { (exit 1); exit 1; }; }
71293 cat >conftest.$ac_ext <<_ACEOF
71294 /* confdefs.h. */
71295 _ACEOF
71296 cat confdefs.h >>conftest.$ac_ext
71297 cat >>conftest.$ac_ext <<_ACEOF
71298 /* end confdefs.h. */
71299 #include <math.h>
71301 main ()
71303 __builtin_sqrt(0);
71305 return 0;
71307 _ACEOF
71308 rm -f conftest.$ac_objext conftest$ac_exeext
71309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71310 (eval $ac_link) 2>conftest.er1
71311 ac_status=$?
71312 grep -v '^ *+' conftest.er1 >conftest.err
71313 rm -f conftest.er1
71314 cat conftest.err >&5
71315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71316 (exit $ac_status); } &&
71317 { ac_try='test -z "$ac_c_werror_flag"
71318 || test ! -s conftest.err'
71319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71320 (eval $ac_try) 2>&5
71321 ac_status=$?
71322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71323 (exit $ac_status); }; } &&
71324 { ac_try='test -s conftest$ac_exeext'
71325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71326 (eval $ac_try) 2>&5
71327 ac_status=$?
71328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71329 (exit $ac_status); }; }; then
71330 glibcxx_cv_func___builtin_sqrt_link=yes
71331 else
71332 echo "$as_me: failed program was:" >&5
71333 sed 's/^/| /' conftest.$ac_ext >&5
71335 glibcxx_cv_func___builtin_sqrt_link=no
71337 rm -f conftest.err conftest.$ac_objext \
71338 conftest$ac_exeext conftest.$ac_ext
71343 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
71344 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
71346 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
71348 cat >>confdefs.h <<\_ACEOF
71349 #define HAVE___BUILTIN_SQRT 1
71350 _ACEOF
71357 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
71358 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
71359 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
71360 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
71361 echo $ECHO_N "(cached) $ECHO_C" >&6
71362 else
71366 ac_ext=cc
71367 ac_cpp='$CXXCPP $CPPFLAGS'
71368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71372 cat >conftest.$ac_ext <<_ACEOF
71373 /* confdefs.h. */
71374 _ACEOF
71375 cat confdefs.h >>conftest.$ac_ext
71376 cat >>conftest.$ac_ext <<_ACEOF
71377 /* end confdefs.h. */
71378 #include <math.h>
71380 main ()
71382 __builtin_sqrtl(0);
71384 return 0;
71386 _ACEOF
71387 rm -f conftest.$ac_objext
71388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71389 (eval $ac_compile) 2>conftest.er1
71390 ac_status=$?
71391 grep -v '^ *+' conftest.er1 >conftest.err
71392 rm -f conftest.er1
71393 cat conftest.err >&5
71394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71395 (exit $ac_status); } &&
71396 { ac_try='test -z "$ac_cxx_werror_flag"
71397 || test ! -s conftest.err'
71398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71399 (eval $ac_try) 2>&5
71400 ac_status=$?
71401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71402 (exit $ac_status); }; } &&
71403 { ac_try='test -s conftest.$ac_objext'
71404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71405 (eval $ac_try) 2>&5
71406 ac_status=$?
71407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71408 (exit $ac_status); }; }; then
71409 glibcxx_cv_func___builtin_sqrtl_use=yes
71410 else
71411 echo "$as_me: failed program was:" >&5
71412 sed 's/^/| /' conftest.$ac_ext >&5
71414 glibcxx_cv_func___builtin_sqrtl_use=no
71416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71417 ac_ext=c
71418 ac_cpp='$CPP $CPPFLAGS'
71419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71427 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
71428 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
71429 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
71430 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
71431 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
71432 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
71433 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
71434 echo $ECHO_N "(cached) $ECHO_C" >&6
71435 else
71437 if test x$gcc_no_link = xyes; then
71438 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71440 { (exit 1); exit 1; }; }
71442 cat >conftest.$ac_ext <<_ACEOF
71443 /* confdefs.h. */
71444 _ACEOF
71445 cat confdefs.h >>conftest.$ac_ext
71446 cat >>conftest.$ac_ext <<_ACEOF
71447 /* end confdefs.h. */
71448 #include <math.h>
71450 main ()
71452 __builtin_sqrtl(0);
71454 return 0;
71456 _ACEOF
71457 rm -f conftest.$ac_objext conftest$ac_exeext
71458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71459 (eval $ac_link) 2>conftest.er1
71460 ac_status=$?
71461 grep -v '^ *+' conftest.er1 >conftest.err
71462 rm -f conftest.er1
71463 cat conftest.err >&5
71464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71465 (exit $ac_status); } &&
71466 { ac_try='test -z "$ac_c_werror_flag"
71467 || test ! -s conftest.err'
71468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71469 (eval $ac_try) 2>&5
71470 ac_status=$?
71471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71472 (exit $ac_status); }; } &&
71473 { ac_try='test -s conftest$ac_exeext'
71474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71475 (eval $ac_try) 2>&5
71476 ac_status=$?
71477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71478 (exit $ac_status); }; }; then
71479 glibcxx_cv_func___builtin_sqrtl_link=yes
71480 else
71481 echo "$as_me: failed program was:" >&5
71482 sed 's/^/| /' conftest.$ac_ext >&5
71484 glibcxx_cv_func___builtin_sqrtl_link=no
71486 rm -f conftest.err conftest.$ac_objext \
71487 conftest$ac_exeext conftest.$ac_ext
71492 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
71493 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
71495 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
71497 cat >>confdefs.h <<\_ACEOF
71498 #define HAVE___BUILTIN_SQRTL 1
71499 _ACEOF
71507 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
71508 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
71509 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
71510 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
71511 echo $ECHO_N "(cached) $ECHO_C" >&6
71512 else
71516 ac_ext=cc
71517 ac_cpp='$CXXCPP $CPPFLAGS'
71518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71522 cat >conftest.$ac_ext <<_ACEOF
71523 /* confdefs.h. */
71524 _ACEOF
71525 cat confdefs.h >>conftest.$ac_ext
71526 cat >>conftest.$ac_ext <<_ACEOF
71527 /* end confdefs.h. */
71528 #include <math.h>
71530 main ()
71532 __builtin_sinf(0);
71534 return 0;
71536 _ACEOF
71537 rm -f conftest.$ac_objext
71538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71539 (eval $ac_compile) 2>conftest.er1
71540 ac_status=$?
71541 grep -v '^ *+' conftest.er1 >conftest.err
71542 rm -f conftest.er1
71543 cat conftest.err >&5
71544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71545 (exit $ac_status); } &&
71546 { ac_try='test -z "$ac_cxx_werror_flag"
71547 || test ! -s conftest.err'
71548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71549 (eval $ac_try) 2>&5
71550 ac_status=$?
71551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71552 (exit $ac_status); }; } &&
71553 { ac_try='test -s conftest.$ac_objext'
71554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71555 (eval $ac_try) 2>&5
71556 ac_status=$?
71557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71558 (exit $ac_status); }; }; then
71559 glibcxx_cv_func___builtin_sinf_use=yes
71560 else
71561 echo "$as_me: failed program was:" >&5
71562 sed 's/^/| /' conftest.$ac_ext >&5
71564 glibcxx_cv_func___builtin_sinf_use=no
71566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71567 ac_ext=c
71568 ac_cpp='$CPP $CPPFLAGS'
71569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71577 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
71578 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
71579 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
71580 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
71581 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
71582 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
71583 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
71584 echo $ECHO_N "(cached) $ECHO_C" >&6
71585 else
71587 if test x$gcc_no_link = xyes; then
71588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71590 { (exit 1); exit 1; }; }
71592 cat >conftest.$ac_ext <<_ACEOF
71593 /* confdefs.h. */
71594 _ACEOF
71595 cat confdefs.h >>conftest.$ac_ext
71596 cat >>conftest.$ac_ext <<_ACEOF
71597 /* end confdefs.h. */
71598 #include <math.h>
71600 main ()
71602 __builtin_sinf(0);
71604 return 0;
71606 _ACEOF
71607 rm -f conftest.$ac_objext conftest$ac_exeext
71608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71609 (eval $ac_link) 2>conftest.er1
71610 ac_status=$?
71611 grep -v '^ *+' conftest.er1 >conftest.err
71612 rm -f conftest.er1
71613 cat conftest.err >&5
71614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71615 (exit $ac_status); } &&
71616 { ac_try='test -z "$ac_c_werror_flag"
71617 || test ! -s conftest.err'
71618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71619 (eval $ac_try) 2>&5
71620 ac_status=$?
71621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71622 (exit $ac_status); }; } &&
71623 { ac_try='test -s conftest$ac_exeext'
71624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71625 (eval $ac_try) 2>&5
71626 ac_status=$?
71627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71628 (exit $ac_status); }; }; then
71629 glibcxx_cv_func___builtin_sinf_link=yes
71630 else
71631 echo "$as_me: failed program was:" >&5
71632 sed 's/^/| /' conftest.$ac_ext >&5
71634 glibcxx_cv_func___builtin_sinf_link=no
71636 rm -f conftest.err conftest.$ac_objext \
71637 conftest$ac_exeext conftest.$ac_ext
71642 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
71643 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
71645 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
71647 cat >>confdefs.h <<\_ACEOF
71648 #define HAVE___BUILTIN_SINF 1
71649 _ACEOF
71656 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
71657 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
71658 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
71659 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
71660 echo $ECHO_N "(cached) $ECHO_C" >&6
71661 else
71665 ac_ext=cc
71666 ac_cpp='$CXXCPP $CPPFLAGS'
71667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71671 cat >conftest.$ac_ext <<_ACEOF
71672 /* confdefs.h. */
71673 _ACEOF
71674 cat confdefs.h >>conftest.$ac_ext
71675 cat >>conftest.$ac_ext <<_ACEOF
71676 /* end confdefs.h. */
71677 #include <math.h>
71679 main ()
71681 __builtin_sin(0);
71683 return 0;
71685 _ACEOF
71686 rm -f conftest.$ac_objext
71687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71688 (eval $ac_compile) 2>conftest.er1
71689 ac_status=$?
71690 grep -v '^ *+' conftest.er1 >conftest.err
71691 rm -f conftest.er1
71692 cat conftest.err >&5
71693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71694 (exit $ac_status); } &&
71695 { ac_try='test -z "$ac_cxx_werror_flag"
71696 || test ! -s conftest.err'
71697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71698 (eval $ac_try) 2>&5
71699 ac_status=$?
71700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71701 (exit $ac_status); }; } &&
71702 { ac_try='test -s conftest.$ac_objext'
71703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71704 (eval $ac_try) 2>&5
71705 ac_status=$?
71706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71707 (exit $ac_status); }; }; then
71708 glibcxx_cv_func___builtin_sin_use=yes
71709 else
71710 echo "$as_me: failed program was:" >&5
71711 sed 's/^/| /' conftest.$ac_ext >&5
71713 glibcxx_cv_func___builtin_sin_use=no
71715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71716 ac_ext=c
71717 ac_cpp='$CPP $CPPFLAGS'
71718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71726 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
71727 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
71728 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
71729 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
71730 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
71731 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
71732 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
71733 echo $ECHO_N "(cached) $ECHO_C" >&6
71734 else
71736 if test x$gcc_no_link = xyes; then
71737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71739 { (exit 1); exit 1; }; }
71741 cat >conftest.$ac_ext <<_ACEOF
71742 /* confdefs.h. */
71743 _ACEOF
71744 cat confdefs.h >>conftest.$ac_ext
71745 cat >>conftest.$ac_ext <<_ACEOF
71746 /* end confdefs.h. */
71747 #include <math.h>
71749 main ()
71751 __builtin_sin(0);
71753 return 0;
71755 _ACEOF
71756 rm -f conftest.$ac_objext conftest$ac_exeext
71757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71758 (eval $ac_link) 2>conftest.er1
71759 ac_status=$?
71760 grep -v '^ *+' conftest.er1 >conftest.err
71761 rm -f conftest.er1
71762 cat conftest.err >&5
71763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71764 (exit $ac_status); } &&
71765 { ac_try='test -z "$ac_c_werror_flag"
71766 || test ! -s conftest.err'
71767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71768 (eval $ac_try) 2>&5
71769 ac_status=$?
71770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71771 (exit $ac_status); }; } &&
71772 { ac_try='test -s conftest$ac_exeext'
71773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71774 (eval $ac_try) 2>&5
71775 ac_status=$?
71776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71777 (exit $ac_status); }; }; then
71778 glibcxx_cv_func___builtin_sin_link=yes
71779 else
71780 echo "$as_me: failed program was:" >&5
71781 sed 's/^/| /' conftest.$ac_ext >&5
71783 glibcxx_cv_func___builtin_sin_link=no
71785 rm -f conftest.err conftest.$ac_objext \
71786 conftest$ac_exeext conftest.$ac_ext
71791 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
71792 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
71794 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
71796 cat >>confdefs.h <<\_ACEOF
71797 #define HAVE___BUILTIN_SIN 1
71798 _ACEOF
71805 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
71806 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
71807 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
71808 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
71809 echo $ECHO_N "(cached) $ECHO_C" >&6
71810 else
71814 ac_ext=cc
71815 ac_cpp='$CXXCPP $CPPFLAGS'
71816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71820 cat >conftest.$ac_ext <<_ACEOF
71821 /* confdefs.h. */
71822 _ACEOF
71823 cat confdefs.h >>conftest.$ac_ext
71824 cat >>conftest.$ac_ext <<_ACEOF
71825 /* end confdefs.h. */
71826 #include <math.h>
71828 main ()
71830 __builtin_sinl(0);
71832 return 0;
71834 _ACEOF
71835 rm -f conftest.$ac_objext
71836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71837 (eval $ac_compile) 2>conftest.er1
71838 ac_status=$?
71839 grep -v '^ *+' conftest.er1 >conftest.err
71840 rm -f conftest.er1
71841 cat conftest.err >&5
71842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71843 (exit $ac_status); } &&
71844 { ac_try='test -z "$ac_cxx_werror_flag"
71845 || test ! -s conftest.err'
71846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71847 (eval $ac_try) 2>&5
71848 ac_status=$?
71849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71850 (exit $ac_status); }; } &&
71851 { ac_try='test -s conftest.$ac_objext'
71852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71853 (eval $ac_try) 2>&5
71854 ac_status=$?
71855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71856 (exit $ac_status); }; }; then
71857 glibcxx_cv_func___builtin_sinl_use=yes
71858 else
71859 echo "$as_me: failed program was:" >&5
71860 sed 's/^/| /' conftest.$ac_ext >&5
71862 glibcxx_cv_func___builtin_sinl_use=no
71864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71865 ac_ext=c
71866 ac_cpp='$CPP $CPPFLAGS'
71867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71875 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
71876 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
71877 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
71878 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
71879 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
71880 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
71881 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
71882 echo $ECHO_N "(cached) $ECHO_C" >&6
71883 else
71885 if test x$gcc_no_link = xyes; then
71886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71888 { (exit 1); exit 1; }; }
71890 cat >conftest.$ac_ext <<_ACEOF
71891 /* confdefs.h. */
71892 _ACEOF
71893 cat confdefs.h >>conftest.$ac_ext
71894 cat >>conftest.$ac_ext <<_ACEOF
71895 /* end confdefs.h. */
71896 #include <math.h>
71898 main ()
71900 __builtin_sinl(0);
71902 return 0;
71904 _ACEOF
71905 rm -f conftest.$ac_objext conftest$ac_exeext
71906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71907 (eval $ac_link) 2>conftest.er1
71908 ac_status=$?
71909 grep -v '^ *+' conftest.er1 >conftest.err
71910 rm -f conftest.er1
71911 cat conftest.err >&5
71912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71913 (exit $ac_status); } &&
71914 { ac_try='test -z "$ac_c_werror_flag"
71915 || test ! -s conftest.err'
71916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71917 (eval $ac_try) 2>&5
71918 ac_status=$?
71919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71920 (exit $ac_status); }; } &&
71921 { ac_try='test -s conftest$ac_exeext'
71922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71923 (eval $ac_try) 2>&5
71924 ac_status=$?
71925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71926 (exit $ac_status); }; }; then
71927 glibcxx_cv_func___builtin_sinl_link=yes
71928 else
71929 echo "$as_me: failed program was:" >&5
71930 sed 's/^/| /' conftest.$ac_ext >&5
71932 glibcxx_cv_func___builtin_sinl_link=no
71934 rm -f conftest.err conftest.$ac_objext \
71935 conftest$ac_exeext conftest.$ac_ext
71940 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
71941 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
71943 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
71945 cat >>confdefs.h <<\_ACEOF
71946 #define HAVE___BUILTIN_SINL 1
71947 _ACEOF
71955 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
71956 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
71957 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
71958 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
71959 echo $ECHO_N "(cached) $ECHO_C" >&6
71960 else
71964 ac_ext=cc
71965 ac_cpp='$CXXCPP $CPPFLAGS'
71966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71970 cat >conftest.$ac_ext <<_ACEOF
71971 /* confdefs.h. */
71972 _ACEOF
71973 cat confdefs.h >>conftest.$ac_ext
71974 cat >>conftest.$ac_ext <<_ACEOF
71975 /* end confdefs.h. */
71976 #include <math.h>
71978 main ()
71980 __builtin_cosf(0);
71982 return 0;
71984 _ACEOF
71985 rm -f conftest.$ac_objext
71986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71987 (eval $ac_compile) 2>conftest.er1
71988 ac_status=$?
71989 grep -v '^ *+' conftest.er1 >conftest.err
71990 rm -f conftest.er1
71991 cat conftest.err >&5
71992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71993 (exit $ac_status); } &&
71994 { ac_try='test -z "$ac_cxx_werror_flag"
71995 || test ! -s conftest.err'
71996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71997 (eval $ac_try) 2>&5
71998 ac_status=$?
71999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72000 (exit $ac_status); }; } &&
72001 { ac_try='test -s conftest.$ac_objext'
72002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72003 (eval $ac_try) 2>&5
72004 ac_status=$?
72005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72006 (exit $ac_status); }; }; then
72007 glibcxx_cv_func___builtin_cosf_use=yes
72008 else
72009 echo "$as_me: failed program was:" >&5
72010 sed 's/^/| /' conftest.$ac_ext >&5
72012 glibcxx_cv_func___builtin_cosf_use=no
72014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72015 ac_ext=c
72016 ac_cpp='$CPP $CPPFLAGS'
72017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72025 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
72026 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
72027 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
72028 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
72029 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
72030 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
72031 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
72032 echo $ECHO_N "(cached) $ECHO_C" >&6
72033 else
72035 if test x$gcc_no_link = xyes; then
72036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72038 { (exit 1); exit 1; }; }
72040 cat >conftest.$ac_ext <<_ACEOF
72041 /* confdefs.h. */
72042 _ACEOF
72043 cat confdefs.h >>conftest.$ac_ext
72044 cat >>conftest.$ac_ext <<_ACEOF
72045 /* end confdefs.h. */
72046 #include <math.h>
72048 main ()
72050 __builtin_cosf(0);
72052 return 0;
72054 _ACEOF
72055 rm -f conftest.$ac_objext conftest$ac_exeext
72056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72057 (eval $ac_link) 2>conftest.er1
72058 ac_status=$?
72059 grep -v '^ *+' conftest.er1 >conftest.err
72060 rm -f conftest.er1
72061 cat conftest.err >&5
72062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72063 (exit $ac_status); } &&
72064 { ac_try='test -z "$ac_c_werror_flag"
72065 || test ! -s conftest.err'
72066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72067 (eval $ac_try) 2>&5
72068 ac_status=$?
72069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72070 (exit $ac_status); }; } &&
72071 { ac_try='test -s conftest$ac_exeext'
72072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72073 (eval $ac_try) 2>&5
72074 ac_status=$?
72075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72076 (exit $ac_status); }; }; then
72077 glibcxx_cv_func___builtin_cosf_link=yes
72078 else
72079 echo "$as_me: failed program was:" >&5
72080 sed 's/^/| /' conftest.$ac_ext >&5
72082 glibcxx_cv_func___builtin_cosf_link=no
72084 rm -f conftest.err conftest.$ac_objext \
72085 conftest$ac_exeext conftest.$ac_ext
72090 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
72091 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
72093 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
72095 cat >>confdefs.h <<\_ACEOF
72096 #define HAVE___BUILTIN_COSF 1
72097 _ACEOF
72104 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
72105 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
72106 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
72107 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
72108 echo $ECHO_N "(cached) $ECHO_C" >&6
72109 else
72113 ac_ext=cc
72114 ac_cpp='$CXXCPP $CPPFLAGS'
72115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72119 cat >conftest.$ac_ext <<_ACEOF
72120 /* confdefs.h. */
72121 _ACEOF
72122 cat confdefs.h >>conftest.$ac_ext
72123 cat >>conftest.$ac_ext <<_ACEOF
72124 /* end confdefs.h. */
72125 #include <math.h>
72127 main ()
72129 __builtin_cos(0);
72131 return 0;
72133 _ACEOF
72134 rm -f conftest.$ac_objext
72135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72136 (eval $ac_compile) 2>conftest.er1
72137 ac_status=$?
72138 grep -v '^ *+' conftest.er1 >conftest.err
72139 rm -f conftest.er1
72140 cat conftest.err >&5
72141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72142 (exit $ac_status); } &&
72143 { ac_try='test -z "$ac_cxx_werror_flag"
72144 || test ! -s conftest.err'
72145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72146 (eval $ac_try) 2>&5
72147 ac_status=$?
72148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72149 (exit $ac_status); }; } &&
72150 { ac_try='test -s conftest.$ac_objext'
72151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72152 (eval $ac_try) 2>&5
72153 ac_status=$?
72154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72155 (exit $ac_status); }; }; then
72156 glibcxx_cv_func___builtin_cos_use=yes
72157 else
72158 echo "$as_me: failed program was:" >&5
72159 sed 's/^/| /' conftest.$ac_ext >&5
72161 glibcxx_cv_func___builtin_cos_use=no
72163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72164 ac_ext=c
72165 ac_cpp='$CPP $CPPFLAGS'
72166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72174 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
72175 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
72176 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
72177 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
72178 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
72179 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
72180 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
72181 echo $ECHO_N "(cached) $ECHO_C" >&6
72182 else
72184 if test x$gcc_no_link = xyes; then
72185 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72187 { (exit 1); exit 1; }; }
72189 cat >conftest.$ac_ext <<_ACEOF
72190 /* confdefs.h. */
72191 _ACEOF
72192 cat confdefs.h >>conftest.$ac_ext
72193 cat >>conftest.$ac_ext <<_ACEOF
72194 /* end confdefs.h. */
72195 #include <math.h>
72197 main ()
72199 __builtin_cos(0);
72201 return 0;
72203 _ACEOF
72204 rm -f conftest.$ac_objext conftest$ac_exeext
72205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72206 (eval $ac_link) 2>conftest.er1
72207 ac_status=$?
72208 grep -v '^ *+' conftest.er1 >conftest.err
72209 rm -f conftest.er1
72210 cat conftest.err >&5
72211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72212 (exit $ac_status); } &&
72213 { ac_try='test -z "$ac_c_werror_flag"
72214 || test ! -s conftest.err'
72215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72216 (eval $ac_try) 2>&5
72217 ac_status=$?
72218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72219 (exit $ac_status); }; } &&
72220 { ac_try='test -s conftest$ac_exeext'
72221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72222 (eval $ac_try) 2>&5
72223 ac_status=$?
72224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72225 (exit $ac_status); }; }; then
72226 glibcxx_cv_func___builtin_cos_link=yes
72227 else
72228 echo "$as_me: failed program was:" >&5
72229 sed 's/^/| /' conftest.$ac_ext >&5
72231 glibcxx_cv_func___builtin_cos_link=no
72233 rm -f conftest.err conftest.$ac_objext \
72234 conftest$ac_exeext conftest.$ac_ext
72239 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
72240 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
72242 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
72244 cat >>confdefs.h <<\_ACEOF
72245 #define HAVE___BUILTIN_COS 1
72246 _ACEOF
72253 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
72254 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
72255 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
72256 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
72257 echo $ECHO_N "(cached) $ECHO_C" >&6
72258 else
72262 ac_ext=cc
72263 ac_cpp='$CXXCPP $CPPFLAGS'
72264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72268 cat >conftest.$ac_ext <<_ACEOF
72269 /* confdefs.h. */
72270 _ACEOF
72271 cat confdefs.h >>conftest.$ac_ext
72272 cat >>conftest.$ac_ext <<_ACEOF
72273 /* end confdefs.h. */
72274 #include <math.h>
72276 main ()
72278 __builtin_cosl(0);
72280 return 0;
72282 _ACEOF
72283 rm -f conftest.$ac_objext
72284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72285 (eval $ac_compile) 2>conftest.er1
72286 ac_status=$?
72287 grep -v '^ *+' conftest.er1 >conftest.err
72288 rm -f conftest.er1
72289 cat conftest.err >&5
72290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72291 (exit $ac_status); } &&
72292 { ac_try='test -z "$ac_cxx_werror_flag"
72293 || test ! -s conftest.err'
72294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72295 (eval $ac_try) 2>&5
72296 ac_status=$?
72297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72298 (exit $ac_status); }; } &&
72299 { ac_try='test -s conftest.$ac_objext'
72300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72301 (eval $ac_try) 2>&5
72302 ac_status=$?
72303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72304 (exit $ac_status); }; }; then
72305 glibcxx_cv_func___builtin_cosl_use=yes
72306 else
72307 echo "$as_me: failed program was:" >&5
72308 sed 's/^/| /' conftest.$ac_ext >&5
72310 glibcxx_cv_func___builtin_cosl_use=no
72312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72313 ac_ext=c
72314 ac_cpp='$CPP $CPPFLAGS'
72315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72323 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
72324 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
72325 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
72326 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
72327 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
72328 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
72329 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
72330 echo $ECHO_N "(cached) $ECHO_C" >&6
72331 else
72333 if test x$gcc_no_link = xyes; then
72334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72336 { (exit 1); exit 1; }; }
72338 cat >conftest.$ac_ext <<_ACEOF
72339 /* confdefs.h. */
72340 _ACEOF
72341 cat confdefs.h >>conftest.$ac_ext
72342 cat >>conftest.$ac_ext <<_ACEOF
72343 /* end confdefs.h. */
72344 #include <math.h>
72346 main ()
72348 __builtin_cosl(0);
72350 return 0;
72352 _ACEOF
72353 rm -f conftest.$ac_objext conftest$ac_exeext
72354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72355 (eval $ac_link) 2>conftest.er1
72356 ac_status=$?
72357 grep -v '^ *+' conftest.er1 >conftest.err
72358 rm -f conftest.er1
72359 cat conftest.err >&5
72360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72361 (exit $ac_status); } &&
72362 { ac_try='test -z "$ac_c_werror_flag"
72363 || test ! -s conftest.err'
72364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72365 (eval $ac_try) 2>&5
72366 ac_status=$?
72367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72368 (exit $ac_status); }; } &&
72369 { ac_try='test -s conftest$ac_exeext'
72370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72371 (eval $ac_try) 2>&5
72372 ac_status=$?
72373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72374 (exit $ac_status); }; }; then
72375 glibcxx_cv_func___builtin_cosl_link=yes
72376 else
72377 echo "$as_me: failed program was:" >&5
72378 sed 's/^/| /' conftest.$ac_ext >&5
72380 glibcxx_cv_func___builtin_cosl_link=no
72382 rm -f conftest.err conftest.$ac_objext \
72383 conftest$ac_exeext conftest.$ac_ext
72388 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
72389 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
72391 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
72393 cat >>confdefs.h <<\_ACEOF
72394 #define HAVE___BUILTIN_COSL 1
72395 _ACEOF
72404 echo "$as_me:$LINENO: checking for main in -lm" >&5
72405 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
72406 if test "${ac_cv_lib_m_main+set}" = set; then
72407 echo $ECHO_N "(cached) $ECHO_C" >&6
72408 else
72409 ac_check_lib_save_LIBS=$LIBS
72410 LIBS="-lm $LIBS"
72411 if test x$gcc_no_link = xyes; then
72412 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72414 { (exit 1); exit 1; }; }
72416 cat >conftest.$ac_ext <<_ACEOF
72417 /* confdefs.h. */
72418 _ACEOF
72419 cat confdefs.h >>conftest.$ac_ext
72420 cat >>conftest.$ac_ext <<_ACEOF
72421 /* end confdefs.h. */
72425 main ()
72427 main ();
72429 return 0;
72431 _ACEOF
72432 rm -f conftest.$ac_objext conftest$ac_exeext
72433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72434 (eval $ac_link) 2>conftest.er1
72435 ac_status=$?
72436 grep -v '^ *+' conftest.er1 >conftest.err
72437 rm -f conftest.er1
72438 cat conftest.err >&5
72439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72440 (exit $ac_status); } &&
72441 { ac_try='test -z "$ac_c_werror_flag"
72442 || test ! -s conftest.err'
72443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72444 (eval $ac_try) 2>&5
72445 ac_status=$?
72446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72447 (exit $ac_status); }; } &&
72448 { ac_try='test -s conftest$ac_exeext'
72449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72450 (eval $ac_try) 2>&5
72451 ac_status=$?
72452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72453 (exit $ac_status); }; }; then
72454 ac_cv_lib_m_main=yes
72455 else
72456 echo "$as_me: failed program was:" >&5
72457 sed 's/^/| /' conftest.$ac_ext >&5
72459 ac_cv_lib_m_main=no
72461 rm -f conftest.err conftest.$ac_objext \
72462 conftest$ac_exeext conftest.$ac_ext
72463 LIBS=$ac_check_lib_save_LIBS
72465 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
72466 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
72467 if test $ac_cv_lib_m_main = yes; then
72468 cat >>confdefs.h <<_ACEOF
72469 #define HAVE_LIBM 1
72470 _ACEOF
72472 LIBS="-lm $LIBS"
72477 for ac_func in copysignf
72479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72480 echo "$as_me:$LINENO: checking for $ac_func" >&5
72481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72482 if eval "test \"\${$as_ac_var+set}\" = set"; then
72483 echo $ECHO_N "(cached) $ECHO_C" >&6
72484 else
72485 if test x$gcc_no_link = xyes; then
72486 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72488 { (exit 1); exit 1; }; }
72490 cat >conftest.$ac_ext <<_ACEOF
72491 /* confdefs.h. */
72492 _ACEOF
72493 cat confdefs.h >>conftest.$ac_ext
72494 cat >>conftest.$ac_ext <<_ACEOF
72495 /* end confdefs.h. */
72496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72498 #define $ac_func innocuous_$ac_func
72500 /* System header to define __stub macros and hopefully few prototypes,
72501 which can conflict with char $ac_func (); below.
72502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72503 <limits.h> exists even on freestanding compilers. */
72505 #ifdef __STDC__
72506 # include <limits.h>
72507 #else
72508 # include <assert.h>
72509 #endif
72511 #undef $ac_func
72513 /* Override any gcc2 internal prototype to avoid an error. */
72514 #ifdef __cplusplus
72515 extern "C"
72517 #endif
72518 /* We use char because int might match the return type of a gcc2
72519 builtin and then its argument prototype would still apply. */
72520 char $ac_func ();
72521 /* The GNU C library defines this for functions which it implements
72522 to always fail with ENOSYS. Some functions are actually named
72523 something starting with __ and the normal name is an alias. */
72524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72525 choke me
72526 #else
72527 char (*f) () = $ac_func;
72528 #endif
72529 #ifdef __cplusplus
72531 #endif
72534 main ()
72536 return f != $ac_func;
72538 return 0;
72540 _ACEOF
72541 rm -f conftest.$ac_objext conftest$ac_exeext
72542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72543 (eval $ac_link) 2>conftest.er1
72544 ac_status=$?
72545 grep -v '^ *+' conftest.er1 >conftest.err
72546 rm -f conftest.er1
72547 cat conftest.err >&5
72548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72549 (exit $ac_status); } &&
72550 { ac_try='test -z "$ac_c_werror_flag"
72551 || test ! -s conftest.err'
72552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72553 (eval $ac_try) 2>&5
72554 ac_status=$?
72555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72556 (exit $ac_status); }; } &&
72557 { ac_try='test -s conftest$ac_exeext'
72558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72559 (eval $ac_try) 2>&5
72560 ac_status=$?
72561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72562 (exit $ac_status); }; }; then
72563 eval "$as_ac_var=yes"
72564 else
72565 echo "$as_me: failed program was:" >&5
72566 sed 's/^/| /' conftest.$ac_ext >&5
72568 eval "$as_ac_var=no"
72570 rm -f conftest.err conftest.$ac_objext \
72571 conftest$ac_exeext conftest.$ac_ext
72573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72575 if test `eval echo '${'$as_ac_var'}'` = yes; then
72576 cat >>confdefs.h <<_ACEOF
72577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72578 _ACEOF
72580 else
72581 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
72583 done
72587 for ac_func in __signbit
72589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72590 echo "$as_me:$LINENO: checking for $ac_func" >&5
72591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72592 if eval "test \"\${$as_ac_var+set}\" = set"; then
72593 echo $ECHO_N "(cached) $ECHO_C" >&6
72594 else
72595 if test x$gcc_no_link = xyes; then
72596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72598 { (exit 1); exit 1; }; }
72600 cat >conftest.$ac_ext <<_ACEOF
72601 /* confdefs.h. */
72602 _ACEOF
72603 cat confdefs.h >>conftest.$ac_ext
72604 cat >>conftest.$ac_ext <<_ACEOF
72605 /* end confdefs.h. */
72606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72608 #define $ac_func innocuous_$ac_func
72610 /* System header to define __stub macros and hopefully few prototypes,
72611 which can conflict with char $ac_func (); below.
72612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72613 <limits.h> exists even on freestanding compilers. */
72615 #ifdef __STDC__
72616 # include <limits.h>
72617 #else
72618 # include <assert.h>
72619 #endif
72621 #undef $ac_func
72623 /* Override any gcc2 internal prototype to avoid an error. */
72624 #ifdef __cplusplus
72625 extern "C"
72627 #endif
72628 /* We use char because int might match the return type of a gcc2
72629 builtin and then its argument prototype would still apply. */
72630 char $ac_func ();
72631 /* The GNU C library defines this for functions which it implements
72632 to always fail with ENOSYS. Some functions are actually named
72633 something starting with __ and the normal name is an alias. */
72634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72635 choke me
72636 #else
72637 char (*f) () = $ac_func;
72638 #endif
72639 #ifdef __cplusplus
72641 #endif
72644 main ()
72646 return f != $ac_func;
72648 return 0;
72650 _ACEOF
72651 rm -f conftest.$ac_objext conftest$ac_exeext
72652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72653 (eval $ac_link) 2>conftest.er1
72654 ac_status=$?
72655 grep -v '^ *+' conftest.er1 >conftest.err
72656 rm -f conftest.er1
72657 cat conftest.err >&5
72658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72659 (exit $ac_status); } &&
72660 { ac_try='test -z "$ac_c_werror_flag"
72661 || test ! -s conftest.err'
72662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72663 (eval $ac_try) 2>&5
72664 ac_status=$?
72665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72666 (exit $ac_status); }; } &&
72667 { ac_try='test -s conftest$ac_exeext'
72668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72669 (eval $ac_try) 2>&5
72670 ac_status=$?
72671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72672 (exit $ac_status); }; }; then
72673 eval "$as_ac_var=yes"
72674 else
72675 echo "$as_me: failed program was:" >&5
72676 sed 's/^/| /' conftest.$ac_ext >&5
72678 eval "$as_ac_var=no"
72680 rm -f conftest.err conftest.$ac_objext \
72681 conftest$ac_exeext conftest.$ac_ext
72683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72685 if test `eval echo '${'$as_ac_var'}'` = yes; then
72686 cat >>confdefs.h <<_ACEOF
72687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72688 _ACEOF
72690 else
72691 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
72693 done
72697 for ac_func in __signbitf
72699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72700 echo "$as_me:$LINENO: checking for $ac_func" >&5
72701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72702 if eval "test \"\${$as_ac_var+set}\" = set"; then
72703 echo $ECHO_N "(cached) $ECHO_C" >&6
72704 else
72705 if test x$gcc_no_link = xyes; then
72706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72708 { (exit 1); exit 1; }; }
72710 cat >conftest.$ac_ext <<_ACEOF
72711 /* confdefs.h. */
72712 _ACEOF
72713 cat confdefs.h >>conftest.$ac_ext
72714 cat >>conftest.$ac_ext <<_ACEOF
72715 /* end confdefs.h. */
72716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72718 #define $ac_func innocuous_$ac_func
72720 /* System header to define __stub macros and hopefully few prototypes,
72721 which can conflict with char $ac_func (); below.
72722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72723 <limits.h> exists even on freestanding compilers. */
72725 #ifdef __STDC__
72726 # include <limits.h>
72727 #else
72728 # include <assert.h>
72729 #endif
72731 #undef $ac_func
72733 /* Override any gcc2 internal prototype to avoid an error. */
72734 #ifdef __cplusplus
72735 extern "C"
72737 #endif
72738 /* We use char because int might match the return type of a gcc2
72739 builtin and then its argument prototype would still apply. */
72740 char $ac_func ();
72741 /* The GNU C library defines this for functions which it implements
72742 to always fail with ENOSYS. Some functions are actually named
72743 something starting with __ and the normal name is an alias. */
72744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72745 choke me
72746 #else
72747 char (*f) () = $ac_func;
72748 #endif
72749 #ifdef __cplusplus
72751 #endif
72754 main ()
72756 return f != $ac_func;
72758 return 0;
72760 _ACEOF
72761 rm -f conftest.$ac_objext conftest$ac_exeext
72762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72763 (eval $ac_link) 2>conftest.er1
72764 ac_status=$?
72765 grep -v '^ *+' conftest.er1 >conftest.err
72766 rm -f conftest.er1
72767 cat conftest.err >&5
72768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72769 (exit $ac_status); } &&
72770 { ac_try='test -z "$ac_c_werror_flag"
72771 || test ! -s conftest.err'
72772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72773 (eval $ac_try) 2>&5
72774 ac_status=$?
72775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72776 (exit $ac_status); }; } &&
72777 { ac_try='test -s conftest$ac_exeext'
72778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72779 (eval $ac_try) 2>&5
72780 ac_status=$?
72781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72782 (exit $ac_status); }; }; then
72783 eval "$as_ac_var=yes"
72784 else
72785 echo "$as_me: failed program was:" >&5
72786 sed 's/^/| /' conftest.$ac_ext >&5
72788 eval "$as_ac_var=no"
72790 rm -f conftest.err conftest.$ac_objext \
72791 conftest$ac_exeext conftest.$ac_ext
72793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72795 if test `eval echo '${'$as_ac_var'}'` = yes; then
72796 cat >>confdefs.h <<_ACEOF
72797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72798 _ACEOF
72800 else
72801 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
72803 done
72806 if test x$ac_cv_func_copysignl = x"yes"; then
72808 for ac_func in __signbitl
72810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72811 echo "$as_me:$LINENO: checking for $ac_func" >&5
72812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72813 if eval "test \"\${$as_ac_var+set}\" = set"; then
72814 echo $ECHO_N "(cached) $ECHO_C" >&6
72815 else
72816 if test x$gcc_no_link = xyes; then
72817 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72819 { (exit 1); exit 1; }; }
72821 cat >conftest.$ac_ext <<_ACEOF
72822 /* confdefs.h. */
72823 _ACEOF
72824 cat confdefs.h >>conftest.$ac_ext
72825 cat >>conftest.$ac_ext <<_ACEOF
72826 /* end confdefs.h. */
72827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72829 #define $ac_func innocuous_$ac_func
72831 /* System header to define __stub macros and hopefully few prototypes,
72832 which can conflict with char $ac_func (); below.
72833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72834 <limits.h> exists even on freestanding compilers. */
72836 #ifdef __STDC__
72837 # include <limits.h>
72838 #else
72839 # include <assert.h>
72840 #endif
72842 #undef $ac_func
72844 /* Override any gcc2 internal prototype to avoid an error. */
72845 #ifdef __cplusplus
72846 extern "C"
72848 #endif
72849 /* We use char because int might match the return type of a gcc2
72850 builtin and then its argument prototype would still apply. */
72851 char $ac_func ();
72852 /* The GNU C library defines this for functions which it implements
72853 to always fail with ENOSYS. Some functions are actually named
72854 something starting with __ and the normal name is an alias. */
72855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72856 choke me
72857 #else
72858 char (*f) () = $ac_func;
72859 #endif
72860 #ifdef __cplusplus
72862 #endif
72865 main ()
72867 return f != $ac_func;
72869 return 0;
72871 _ACEOF
72872 rm -f conftest.$ac_objext conftest$ac_exeext
72873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72874 (eval $ac_link) 2>conftest.er1
72875 ac_status=$?
72876 grep -v '^ *+' conftest.er1 >conftest.err
72877 rm -f conftest.er1
72878 cat conftest.err >&5
72879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72880 (exit $ac_status); } &&
72881 { ac_try='test -z "$ac_c_werror_flag"
72882 || test ! -s conftest.err'
72883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72884 (eval $ac_try) 2>&5
72885 ac_status=$?
72886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72887 (exit $ac_status); }; } &&
72888 { ac_try='test -s conftest$ac_exeext'
72889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72890 (eval $ac_try) 2>&5
72891 ac_status=$?
72892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72893 (exit $ac_status); }; }; then
72894 eval "$as_ac_var=yes"
72895 else
72896 echo "$as_me: failed program was:" >&5
72897 sed 's/^/| /' conftest.$ac_ext >&5
72899 eval "$as_ac_var=no"
72901 rm -f conftest.err conftest.$ac_objext \
72902 conftest$ac_exeext conftest.$ac_ext
72904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72905 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72906 if test `eval echo '${'$as_ac_var'}'` = yes; then
72907 cat >>confdefs.h <<_ACEOF
72908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72909 _ACEOF
72911 else
72912 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
72914 done
72918 # Used in libmath/Makefile.am.
72919 if test -n "$LIBMATHOBJS"; then
72920 need_libmath=yes
72926 enable_iconv=no
72927 # Only continue checking if the ISO C99 headers exist and support is on.
72928 if test x"$enable_wchar_t" = xyes; then
72930 # Use iconv for wchar_t to char conversions. As such, check for
72931 # X/Open Portability Guide, version 2 features (XPG2).
72932 if test "${ac_cv_header_iconv_h+set}" = set; then
72933 echo "$as_me:$LINENO: checking for iconv.h" >&5
72934 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
72935 if test "${ac_cv_header_iconv_h+set}" = set; then
72936 echo $ECHO_N "(cached) $ECHO_C" >&6
72938 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
72939 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
72940 else
72941 # Is the header compilable?
72942 echo "$as_me:$LINENO: checking iconv.h usability" >&5
72943 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
72944 cat >conftest.$ac_ext <<_ACEOF
72945 /* confdefs.h. */
72946 _ACEOF
72947 cat confdefs.h >>conftest.$ac_ext
72948 cat >>conftest.$ac_ext <<_ACEOF
72949 /* end confdefs.h. */
72950 $ac_includes_default
72951 #include <iconv.h>
72952 _ACEOF
72953 rm -f conftest.$ac_objext
72954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72955 (eval $ac_compile) 2>conftest.er1
72956 ac_status=$?
72957 grep -v '^ *+' conftest.er1 >conftest.err
72958 rm -f conftest.er1
72959 cat conftest.err >&5
72960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72961 (exit $ac_status); } &&
72962 { ac_try='test -z "$ac_c_werror_flag"
72963 || test ! -s conftest.err'
72964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72965 (eval $ac_try) 2>&5
72966 ac_status=$?
72967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72968 (exit $ac_status); }; } &&
72969 { ac_try='test -s conftest.$ac_objext'
72970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72971 (eval $ac_try) 2>&5
72972 ac_status=$?
72973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72974 (exit $ac_status); }; }; then
72975 ac_header_compiler=yes
72976 else
72977 echo "$as_me: failed program was:" >&5
72978 sed 's/^/| /' conftest.$ac_ext >&5
72980 ac_header_compiler=no
72982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72983 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
72984 echo "${ECHO_T}$ac_header_compiler" >&6
72986 # Is the header present?
72987 echo "$as_me:$LINENO: checking iconv.h presence" >&5
72988 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
72989 cat >conftest.$ac_ext <<_ACEOF
72990 /* confdefs.h. */
72991 _ACEOF
72992 cat confdefs.h >>conftest.$ac_ext
72993 cat >>conftest.$ac_ext <<_ACEOF
72994 /* end confdefs.h. */
72995 #include <iconv.h>
72996 _ACEOF
72997 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
72998 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
72999 ac_status=$?
73000 grep -v '^ *+' conftest.er1 >conftest.err
73001 rm -f conftest.er1
73002 cat conftest.err >&5
73003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73004 (exit $ac_status); } >/dev/null; then
73005 if test -s conftest.err; then
73006 ac_cpp_err=$ac_c_preproc_warn_flag
73007 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73008 else
73009 ac_cpp_err=
73011 else
73012 ac_cpp_err=yes
73014 if test -z "$ac_cpp_err"; then
73015 ac_header_preproc=yes
73016 else
73017 echo "$as_me: failed program was:" >&5
73018 sed 's/^/| /' conftest.$ac_ext >&5
73020 ac_header_preproc=no
73022 rm -f conftest.err conftest.$ac_ext
73023 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73024 echo "${ECHO_T}$ac_header_preproc" >&6
73026 # So? What about this header?
73027 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73028 yes:no: )
73029 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
73030 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
73031 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
73032 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
73033 ac_header_preproc=yes
73035 no:yes:* )
73036 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
73037 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
73038 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
73039 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
73040 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
73041 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
73042 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
73043 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
73044 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
73045 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
73046 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
73047 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
73049 cat <<\_ASBOX
73050 ## ----------------------------------------- ##
73051 ## Report this to the package-unused lists. ##
73052 ## ----------------------------------------- ##
73053 _ASBOX
73055 sed "s/^/$as_me: WARNING: /" >&2
73057 esac
73058 echo "$as_me:$LINENO: checking for iconv.h" >&5
73059 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
73060 if test "${ac_cv_header_iconv_h+set}" = set; then
73061 echo $ECHO_N "(cached) $ECHO_C" >&6
73062 else
73063 ac_cv_header_iconv_h=$ac_header_preproc
73065 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
73066 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
73069 if test $ac_cv_header_iconv_h = yes; then
73070 ac_has_iconv_h=yes
73071 else
73072 ac_has_iconv_h=no
73076 if test "${ac_cv_header_langinfo_h+set}" = set; then
73077 echo "$as_me:$LINENO: checking for langinfo.h" >&5
73078 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
73079 if test "${ac_cv_header_langinfo_h+set}" = set; then
73080 echo $ECHO_N "(cached) $ECHO_C" >&6
73082 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
73083 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
73084 else
73085 # Is the header compilable?
73086 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
73087 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
73088 cat >conftest.$ac_ext <<_ACEOF
73089 /* confdefs.h. */
73090 _ACEOF
73091 cat confdefs.h >>conftest.$ac_ext
73092 cat >>conftest.$ac_ext <<_ACEOF
73093 /* end confdefs.h. */
73094 $ac_includes_default
73095 #include <langinfo.h>
73096 _ACEOF
73097 rm -f conftest.$ac_objext
73098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73099 (eval $ac_compile) 2>conftest.er1
73100 ac_status=$?
73101 grep -v '^ *+' conftest.er1 >conftest.err
73102 rm -f conftest.er1
73103 cat conftest.err >&5
73104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73105 (exit $ac_status); } &&
73106 { ac_try='test -z "$ac_c_werror_flag"
73107 || test ! -s conftest.err'
73108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73109 (eval $ac_try) 2>&5
73110 ac_status=$?
73111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73112 (exit $ac_status); }; } &&
73113 { ac_try='test -s conftest.$ac_objext'
73114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73115 (eval $ac_try) 2>&5
73116 ac_status=$?
73117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73118 (exit $ac_status); }; }; then
73119 ac_header_compiler=yes
73120 else
73121 echo "$as_me: failed program was:" >&5
73122 sed 's/^/| /' conftest.$ac_ext >&5
73124 ac_header_compiler=no
73126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73127 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73128 echo "${ECHO_T}$ac_header_compiler" >&6
73130 # Is the header present?
73131 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
73132 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
73133 cat >conftest.$ac_ext <<_ACEOF
73134 /* confdefs.h. */
73135 _ACEOF
73136 cat confdefs.h >>conftest.$ac_ext
73137 cat >>conftest.$ac_ext <<_ACEOF
73138 /* end confdefs.h. */
73139 #include <langinfo.h>
73140 _ACEOF
73141 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73142 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73143 ac_status=$?
73144 grep -v '^ *+' conftest.er1 >conftest.err
73145 rm -f conftest.er1
73146 cat conftest.err >&5
73147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73148 (exit $ac_status); } >/dev/null; then
73149 if test -s conftest.err; then
73150 ac_cpp_err=$ac_c_preproc_warn_flag
73151 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73152 else
73153 ac_cpp_err=
73155 else
73156 ac_cpp_err=yes
73158 if test -z "$ac_cpp_err"; then
73159 ac_header_preproc=yes
73160 else
73161 echo "$as_me: failed program was:" >&5
73162 sed 's/^/| /' conftest.$ac_ext >&5
73164 ac_header_preproc=no
73166 rm -f conftest.err conftest.$ac_ext
73167 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73168 echo "${ECHO_T}$ac_header_preproc" >&6
73170 # So? What about this header?
73171 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73172 yes:no: )
73173 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
73174 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
73175 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
73176 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
73177 ac_header_preproc=yes
73179 no:yes:* )
73180 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
73181 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
73182 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
73183 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
73184 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
73185 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
73186 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
73187 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
73188 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
73189 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
73190 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
73191 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
73193 cat <<\_ASBOX
73194 ## ----------------------------------------- ##
73195 ## Report this to the package-unused lists. ##
73196 ## ----------------------------------------- ##
73197 _ASBOX
73199 sed "s/^/$as_me: WARNING: /" >&2
73201 esac
73202 echo "$as_me:$LINENO: checking for langinfo.h" >&5
73203 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
73204 if test "${ac_cv_header_langinfo_h+set}" = set; then
73205 echo $ECHO_N "(cached) $ECHO_C" >&6
73206 else
73207 ac_cv_header_langinfo_h=$ac_header_preproc
73209 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
73210 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
73213 if test $ac_cv_header_langinfo_h = yes; then
73214 ac_has_langinfo_h=yes
73215 else
73216 ac_has_langinfo_h=no
73221 # Check for existence of libiconv.a providing XPG2 wchar_t support.
73222 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
73223 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
73224 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
73225 echo $ECHO_N "(cached) $ECHO_C" >&6
73226 else
73227 ac_check_lib_save_LIBS=$LIBS
73228 LIBS="-liconv $LIBS"
73229 if test x$gcc_no_link = xyes; then
73230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73232 { (exit 1); exit 1; }; }
73234 cat >conftest.$ac_ext <<_ACEOF
73235 /* confdefs.h. */
73236 _ACEOF
73237 cat confdefs.h >>conftest.$ac_ext
73238 cat >>conftest.$ac_ext <<_ACEOF
73239 /* end confdefs.h. */
73241 /* Override any gcc2 internal prototype to avoid an error. */
73242 #ifdef __cplusplus
73243 extern "C"
73244 #endif
73245 /* We use char because int might match the return type of a gcc2
73246 builtin and then its argument prototype would still apply. */
73247 char iconv ();
73249 main ()
73251 iconv ();
73253 return 0;
73255 _ACEOF
73256 rm -f conftest.$ac_objext conftest$ac_exeext
73257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73258 (eval $ac_link) 2>conftest.er1
73259 ac_status=$?
73260 grep -v '^ *+' conftest.er1 >conftest.err
73261 rm -f conftest.er1
73262 cat conftest.err >&5
73263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73264 (exit $ac_status); } &&
73265 { ac_try='test -z "$ac_c_werror_flag"
73266 || test ! -s conftest.err'
73267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73268 (eval $ac_try) 2>&5
73269 ac_status=$?
73270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73271 (exit $ac_status); }; } &&
73272 { ac_try='test -s conftest$ac_exeext'
73273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73274 (eval $ac_try) 2>&5
73275 ac_status=$?
73276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73277 (exit $ac_status); }; }; then
73278 ac_cv_lib_iconv_iconv=yes
73279 else
73280 echo "$as_me: failed program was:" >&5
73281 sed 's/^/| /' conftest.$ac_ext >&5
73283 ac_cv_lib_iconv_iconv=no
73285 rm -f conftest.err conftest.$ac_objext \
73286 conftest$ac_exeext conftest.$ac_ext
73287 LIBS=$ac_check_lib_save_LIBS
73289 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
73290 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
73291 if test $ac_cv_lib_iconv_iconv = yes; then
73292 LIBICONV="-liconv"
73295 ac_save_LIBS="$LIBS"
73296 LIBS="$LIBS $LIBICONV"
73303 for ac_func in iconv_open iconv_close iconv nl_langinfo
73305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73306 echo "$as_me:$LINENO: checking for $ac_func" >&5
73307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73308 if eval "test \"\${$as_ac_var+set}\" = set"; then
73309 echo $ECHO_N "(cached) $ECHO_C" >&6
73310 else
73311 if test x$gcc_no_link = xyes; then
73312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73314 { (exit 1); exit 1; }; }
73316 cat >conftest.$ac_ext <<_ACEOF
73317 /* confdefs.h. */
73318 _ACEOF
73319 cat confdefs.h >>conftest.$ac_ext
73320 cat >>conftest.$ac_ext <<_ACEOF
73321 /* end confdefs.h. */
73322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73324 #define $ac_func innocuous_$ac_func
73326 /* System header to define __stub macros and hopefully few prototypes,
73327 which can conflict with char $ac_func (); below.
73328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73329 <limits.h> exists even on freestanding compilers. */
73331 #ifdef __STDC__
73332 # include <limits.h>
73333 #else
73334 # include <assert.h>
73335 #endif
73337 #undef $ac_func
73339 /* Override any gcc2 internal prototype to avoid an error. */
73340 #ifdef __cplusplus
73341 extern "C"
73343 #endif
73344 /* We use char because int might match the return type of a gcc2
73345 builtin and then its argument prototype would still apply. */
73346 char $ac_func ();
73347 /* The GNU C library defines this for functions which it implements
73348 to always fail with ENOSYS. Some functions are actually named
73349 something starting with __ and the normal name is an alias. */
73350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73351 choke me
73352 #else
73353 char (*f) () = $ac_func;
73354 #endif
73355 #ifdef __cplusplus
73357 #endif
73360 main ()
73362 return f != $ac_func;
73364 return 0;
73366 _ACEOF
73367 rm -f conftest.$ac_objext conftest$ac_exeext
73368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73369 (eval $ac_link) 2>conftest.er1
73370 ac_status=$?
73371 grep -v '^ *+' conftest.er1 >conftest.err
73372 rm -f conftest.er1
73373 cat conftest.err >&5
73374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73375 (exit $ac_status); } &&
73376 { ac_try='test -z "$ac_c_werror_flag"
73377 || test ! -s conftest.err'
73378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73379 (eval $ac_try) 2>&5
73380 ac_status=$?
73381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73382 (exit $ac_status); }; } &&
73383 { ac_try='test -s conftest$ac_exeext'
73384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73385 (eval $ac_try) 2>&5
73386 ac_status=$?
73387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73388 (exit $ac_status); }; }; then
73389 eval "$as_ac_var=yes"
73390 else
73391 echo "$as_me: failed program was:" >&5
73392 sed 's/^/| /' conftest.$ac_ext >&5
73394 eval "$as_ac_var=no"
73396 rm -f conftest.err conftest.$ac_objext \
73397 conftest$ac_exeext conftest.$ac_ext
73399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73401 if test `eval echo '${'$as_ac_var'}'` = yes; then
73402 cat >>confdefs.h <<_ACEOF
73403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73404 _ACEOF
73405 ac_XPG2funcs=yes
73406 else
73407 ac_XPG2funcs=no
73409 done
73412 LIBS="$ac_save_LIBS"
73414 if test x"$ac_has_iconv_h" = xyes &&
73415 test x"$ac_has_langinfo_h" = xyes &&
73416 test x"$ac_XPG2funcs" = xyes;
73417 then
73419 cat >>confdefs.h <<\_ACEOF
73420 #define _GLIBCXX_USE_ICONV 1
73421 _ACEOF
73423 enable_iconv=yes
73426 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
73427 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
73428 echo "$as_me:$LINENO: result: $enable_iconv" >&5
73429 echo "${ECHO_T}$enable_iconv" >&6
73432 ac_test_CXXFLAGS="${CXXFLAGS+set}"
73433 ac_save_CXXFLAGS="$CXXFLAGS"
73434 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
73437 echo "$as_me:$LINENO: checking for strtold declaration" >&5
73438 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
73439 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
73440 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
73441 echo $ECHO_N "(cached) $ECHO_C" >&6
73442 else
73446 ac_ext=cc
73447 ac_cpp='$CXXCPP $CPPFLAGS'
73448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73452 cat >conftest.$ac_ext <<_ACEOF
73453 /* confdefs.h. */
73454 _ACEOF
73455 cat confdefs.h >>conftest.$ac_ext
73456 cat >>conftest.$ac_ext <<_ACEOF
73457 /* end confdefs.h. */
73458 #include <stdlib.h>
73460 main ()
73462 strtold(0, 0);
73464 return 0;
73466 _ACEOF
73467 rm -f conftest.$ac_objext
73468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73469 (eval $ac_compile) 2>conftest.er1
73470 ac_status=$?
73471 grep -v '^ *+' conftest.er1 >conftest.err
73472 rm -f conftest.er1
73473 cat conftest.err >&5
73474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73475 (exit $ac_status); } &&
73476 { ac_try='test -z "$ac_cxx_werror_flag"
73477 || test ! -s conftest.err'
73478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73479 (eval $ac_try) 2>&5
73480 ac_status=$?
73481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73482 (exit $ac_status); }; } &&
73483 { ac_try='test -s conftest.$ac_objext'
73484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73485 (eval $ac_try) 2>&5
73486 ac_status=$?
73487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73488 (exit $ac_status); }; }; then
73489 glibcxx_cv_func_strtold_use=yes
73490 else
73491 echo "$as_me: failed program was:" >&5
73492 sed 's/^/| /' conftest.$ac_ext >&5
73494 glibcxx_cv_func_strtold_use=no
73496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73497 ac_ext=c
73498 ac_cpp='$CPP $CPPFLAGS'
73499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73507 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
73508 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
73509 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
73511 for ac_func in strtold
73513 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73514 echo "$as_me:$LINENO: checking for $ac_func" >&5
73515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73516 if eval "test \"\${$as_ac_var+set}\" = set"; then
73517 echo $ECHO_N "(cached) $ECHO_C" >&6
73518 else
73519 if test x$gcc_no_link = xyes; then
73520 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73522 { (exit 1); exit 1; }; }
73524 cat >conftest.$ac_ext <<_ACEOF
73525 /* confdefs.h. */
73526 _ACEOF
73527 cat confdefs.h >>conftest.$ac_ext
73528 cat >>conftest.$ac_ext <<_ACEOF
73529 /* end confdefs.h. */
73530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73532 #define $ac_func innocuous_$ac_func
73534 /* System header to define __stub macros and hopefully few prototypes,
73535 which can conflict with char $ac_func (); below.
73536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73537 <limits.h> exists even on freestanding compilers. */
73539 #ifdef __STDC__
73540 # include <limits.h>
73541 #else
73542 # include <assert.h>
73543 #endif
73545 #undef $ac_func
73547 /* Override any gcc2 internal prototype to avoid an error. */
73548 #ifdef __cplusplus
73549 extern "C"
73551 #endif
73552 /* We use char because int might match the return type of a gcc2
73553 builtin and then its argument prototype would still apply. */
73554 char $ac_func ();
73555 /* The GNU C library defines this for functions which it implements
73556 to always fail with ENOSYS. Some functions are actually named
73557 something starting with __ and the normal name is an alias. */
73558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73559 choke me
73560 #else
73561 char (*f) () = $ac_func;
73562 #endif
73563 #ifdef __cplusplus
73565 #endif
73568 main ()
73570 return f != $ac_func;
73572 return 0;
73574 _ACEOF
73575 rm -f conftest.$ac_objext conftest$ac_exeext
73576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73577 (eval $ac_link) 2>conftest.er1
73578 ac_status=$?
73579 grep -v '^ *+' conftest.er1 >conftest.err
73580 rm -f conftest.er1
73581 cat conftest.err >&5
73582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73583 (exit $ac_status); } &&
73584 { ac_try='test -z "$ac_c_werror_flag"
73585 || test ! -s conftest.err'
73586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73587 (eval $ac_try) 2>&5
73588 ac_status=$?
73589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73590 (exit $ac_status); }; } &&
73591 { ac_try='test -s conftest$ac_exeext'
73592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73593 (eval $ac_try) 2>&5
73594 ac_status=$?
73595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73596 (exit $ac_status); }; }; then
73597 eval "$as_ac_var=yes"
73598 else
73599 echo "$as_me: failed program was:" >&5
73600 sed 's/^/| /' conftest.$ac_ext >&5
73602 eval "$as_ac_var=no"
73604 rm -f conftest.err conftest.$ac_objext \
73605 conftest$ac_exeext conftest.$ac_ext
73607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73608 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73609 if test `eval echo '${'$as_ac_var'}'` = yes; then
73610 cat >>confdefs.h <<_ACEOF
73611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73612 _ACEOF
73615 done
73623 echo "$as_me:$LINENO: checking for strtof declaration" >&5
73624 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
73625 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
73626 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
73627 echo $ECHO_N "(cached) $ECHO_C" >&6
73628 else
73632 ac_ext=cc
73633 ac_cpp='$CXXCPP $CPPFLAGS'
73634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73638 cat >conftest.$ac_ext <<_ACEOF
73639 /* confdefs.h. */
73640 _ACEOF
73641 cat confdefs.h >>conftest.$ac_ext
73642 cat >>conftest.$ac_ext <<_ACEOF
73643 /* end confdefs.h. */
73644 #include <stdlib.h>
73646 main ()
73648 strtof(0, 0);
73650 return 0;
73652 _ACEOF
73653 rm -f conftest.$ac_objext
73654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73655 (eval $ac_compile) 2>conftest.er1
73656 ac_status=$?
73657 grep -v '^ *+' conftest.er1 >conftest.err
73658 rm -f conftest.er1
73659 cat conftest.err >&5
73660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73661 (exit $ac_status); } &&
73662 { ac_try='test -z "$ac_cxx_werror_flag"
73663 || test ! -s conftest.err'
73664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73665 (eval $ac_try) 2>&5
73666 ac_status=$?
73667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73668 (exit $ac_status); }; } &&
73669 { ac_try='test -s conftest.$ac_objext'
73670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73671 (eval $ac_try) 2>&5
73672 ac_status=$?
73673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73674 (exit $ac_status); }; }; then
73675 glibcxx_cv_func_strtof_use=yes
73676 else
73677 echo "$as_me: failed program was:" >&5
73678 sed 's/^/| /' conftest.$ac_ext >&5
73680 glibcxx_cv_func_strtof_use=no
73682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73683 ac_ext=c
73684 ac_cpp='$CPP $CPPFLAGS'
73685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73693 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
73694 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
73695 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
73697 for ac_func in strtof
73699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73700 echo "$as_me:$LINENO: checking for $ac_func" >&5
73701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73702 if eval "test \"\${$as_ac_var+set}\" = set"; then
73703 echo $ECHO_N "(cached) $ECHO_C" >&6
73704 else
73705 if test x$gcc_no_link = xyes; then
73706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73708 { (exit 1); exit 1; }; }
73710 cat >conftest.$ac_ext <<_ACEOF
73711 /* confdefs.h. */
73712 _ACEOF
73713 cat confdefs.h >>conftest.$ac_ext
73714 cat >>conftest.$ac_ext <<_ACEOF
73715 /* end confdefs.h. */
73716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73718 #define $ac_func innocuous_$ac_func
73720 /* System header to define __stub macros and hopefully few prototypes,
73721 which can conflict with char $ac_func (); below.
73722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73723 <limits.h> exists even on freestanding compilers. */
73725 #ifdef __STDC__
73726 # include <limits.h>
73727 #else
73728 # include <assert.h>
73729 #endif
73731 #undef $ac_func
73733 /* Override any gcc2 internal prototype to avoid an error. */
73734 #ifdef __cplusplus
73735 extern "C"
73737 #endif
73738 /* We use char because int might match the return type of a gcc2
73739 builtin and then its argument prototype would still apply. */
73740 char $ac_func ();
73741 /* The GNU C library defines this for functions which it implements
73742 to always fail with ENOSYS. Some functions are actually named
73743 something starting with __ and the normal name is an alias. */
73744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73745 choke me
73746 #else
73747 char (*f) () = $ac_func;
73748 #endif
73749 #ifdef __cplusplus
73751 #endif
73754 main ()
73756 return f != $ac_func;
73758 return 0;
73760 _ACEOF
73761 rm -f conftest.$ac_objext conftest$ac_exeext
73762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73763 (eval $ac_link) 2>conftest.er1
73764 ac_status=$?
73765 grep -v '^ *+' conftest.er1 >conftest.err
73766 rm -f conftest.er1
73767 cat conftest.err >&5
73768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73769 (exit $ac_status); } &&
73770 { ac_try='test -z "$ac_c_werror_flag"
73771 || test ! -s conftest.err'
73772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73773 (eval $ac_try) 2>&5
73774 ac_status=$?
73775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73776 (exit $ac_status); }; } &&
73777 { ac_try='test -s conftest$ac_exeext'
73778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73779 (eval $ac_try) 2>&5
73780 ac_status=$?
73781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73782 (exit $ac_status); }; }; then
73783 eval "$as_ac_var=yes"
73784 else
73785 echo "$as_me: failed program was:" >&5
73786 sed 's/^/| /' conftest.$ac_ext >&5
73788 eval "$as_ac_var=no"
73790 rm -f conftest.err conftest.$ac_objext \
73791 conftest$ac_exeext conftest.$ac_ext
73793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73795 if test `eval echo '${'$as_ac_var'}'` = yes; then
73796 cat >>confdefs.h <<_ACEOF
73797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73798 _ACEOF
73801 done
73809 CXXFLAGS="$ac_save_CXXFLAGS"
73812 if test "${glibcxx_cv_S_ISREG+set}" = set; then
73813 echo $ECHO_N "(cached) $ECHO_C" >&6
73814 else
73816 if test x$gcc_no_link = xyes; then
73817 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73819 { (exit 1); exit 1; }; }
73821 cat >conftest.$ac_ext <<_ACEOF
73822 /* confdefs.h. */
73823 _ACEOF
73824 cat confdefs.h >>conftest.$ac_ext
73825 cat >>conftest.$ac_ext <<_ACEOF
73826 /* end confdefs.h. */
73827 #include <sys/stat.h>
73829 main ()
73831 struct stat buffer;
73832 fstat(0, &buffer);
73833 S_ISREG(buffer.st_mode);
73835 return 0;
73837 _ACEOF
73838 rm -f conftest.$ac_objext conftest$ac_exeext
73839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73840 (eval $ac_link) 2>conftest.er1
73841 ac_status=$?
73842 grep -v '^ *+' conftest.er1 >conftest.err
73843 rm -f conftest.er1
73844 cat conftest.err >&5
73845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73846 (exit $ac_status); } &&
73847 { ac_try='test -z "$ac_c_werror_flag"
73848 || test ! -s conftest.err'
73849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73850 (eval $ac_try) 2>&5
73851 ac_status=$?
73852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73853 (exit $ac_status); }; } &&
73854 { ac_try='test -s conftest$ac_exeext'
73855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73856 (eval $ac_try) 2>&5
73857 ac_status=$?
73858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73859 (exit $ac_status); }; }; then
73860 glibcxx_cv_S_ISREG=yes
73861 else
73862 echo "$as_me: failed program was:" >&5
73863 sed 's/^/| /' conftest.$ac_ext >&5
73865 glibcxx_cv_S_ISREG=no
73867 rm -f conftest.err conftest.$ac_objext \
73868 conftest$ac_exeext conftest.$ac_ext
73872 if test "${glibcxx_cv_S_IFREG+set}" = set; then
73873 echo $ECHO_N "(cached) $ECHO_C" >&6
73874 else
73876 if test x$gcc_no_link = xyes; then
73877 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73879 { (exit 1); exit 1; }; }
73881 cat >conftest.$ac_ext <<_ACEOF
73882 /* confdefs.h. */
73883 _ACEOF
73884 cat confdefs.h >>conftest.$ac_ext
73885 cat >>conftest.$ac_ext <<_ACEOF
73886 /* end confdefs.h. */
73887 #include <sys/stat.h>
73889 main ()
73891 struct stat buffer;
73892 fstat(0, &buffer);
73893 S_IFREG & buffer.st_mode;
73895 return 0;
73897 _ACEOF
73898 rm -f conftest.$ac_objext conftest$ac_exeext
73899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73900 (eval $ac_link) 2>conftest.er1
73901 ac_status=$?
73902 grep -v '^ *+' conftest.er1 >conftest.err
73903 rm -f conftest.er1
73904 cat conftest.err >&5
73905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73906 (exit $ac_status); } &&
73907 { ac_try='test -z "$ac_c_werror_flag"
73908 || test ! -s conftest.err'
73909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73910 (eval $ac_try) 2>&5
73911 ac_status=$?
73912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73913 (exit $ac_status); }; } &&
73914 { ac_try='test -s conftest$ac_exeext'
73915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73916 (eval $ac_try) 2>&5
73917 ac_status=$?
73918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73919 (exit $ac_status); }; }; then
73920 glibcxx_cv_S_IFREG=yes
73921 else
73922 echo "$as_me: failed program was:" >&5
73923 sed 's/^/| /' conftest.$ac_ext >&5
73925 glibcxx_cv_S_IFREG=no
73927 rm -f conftest.err conftest.$ac_objext \
73928 conftest$ac_exeext conftest.$ac_ext
73932 if test $glibcxx_cv_S_ISREG = yes; then
73934 cat >>confdefs.h <<\_ACEOF
73935 #define HAVE_S_ISREG 1
73936 _ACEOF
73938 elif test $glibcxx_cv_S_IFREG = yes; then
73940 cat >>confdefs.h <<\_ACEOF
73941 #define HAVE_S_IFREG 1
73942 _ACEOF
73946 cat >>confdefs.h <<\_ACEOF
73947 #define HAVE_WRITEV 1
73948 _ACEOF
73952 *-freebsd*)
73969 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
73970 machine/endian.h machine/param.h sys/machine.h sys/types.h \
73971 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
73972 sys/time.h unistd.h
73974 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
73975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73976 echo "$as_me:$LINENO: checking for $ac_header" >&5
73977 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73978 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73979 echo $ECHO_N "(cached) $ECHO_C" >&6
73981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73982 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73983 else
73984 # Is the header compilable?
73985 echo "$as_me:$LINENO: checking $ac_header usability" >&5
73986 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
73987 cat >conftest.$ac_ext <<_ACEOF
73988 /* confdefs.h. */
73989 _ACEOF
73990 cat confdefs.h >>conftest.$ac_ext
73991 cat >>conftest.$ac_ext <<_ACEOF
73992 /* end confdefs.h. */
73993 $ac_includes_default
73994 #include <$ac_header>
73995 _ACEOF
73996 rm -f conftest.$ac_objext
73997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73998 (eval $ac_compile) 2>conftest.er1
73999 ac_status=$?
74000 grep -v '^ *+' conftest.er1 >conftest.err
74001 rm -f conftest.er1
74002 cat conftest.err >&5
74003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74004 (exit $ac_status); } &&
74005 { ac_try='test -z "$ac_c_werror_flag"
74006 || test ! -s conftest.err'
74007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74008 (eval $ac_try) 2>&5
74009 ac_status=$?
74010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74011 (exit $ac_status); }; } &&
74012 { ac_try='test -s conftest.$ac_objext'
74013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74014 (eval $ac_try) 2>&5
74015 ac_status=$?
74016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74017 (exit $ac_status); }; }; then
74018 ac_header_compiler=yes
74019 else
74020 echo "$as_me: failed program was:" >&5
74021 sed 's/^/| /' conftest.$ac_ext >&5
74023 ac_header_compiler=no
74025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74026 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74027 echo "${ECHO_T}$ac_header_compiler" >&6
74029 # Is the header present?
74030 echo "$as_me:$LINENO: checking $ac_header presence" >&5
74031 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
74032 cat >conftest.$ac_ext <<_ACEOF
74033 /* confdefs.h. */
74034 _ACEOF
74035 cat confdefs.h >>conftest.$ac_ext
74036 cat >>conftest.$ac_ext <<_ACEOF
74037 /* end confdefs.h. */
74038 #include <$ac_header>
74039 _ACEOF
74040 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74041 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74042 ac_status=$?
74043 grep -v '^ *+' conftest.er1 >conftest.err
74044 rm -f conftest.er1
74045 cat conftest.err >&5
74046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74047 (exit $ac_status); } >/dev/null; then
74048 if test -s conftest.err; then
74049 ac_cpp_err=$ac_c_preproc_warn_flag
74050 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74051 else
74052 ac_cpp_err=
74054 else
74055 ac_cpp_err=yes
74057 if test -z "$ac_cpp_err"; then
74058 ac_header_preproc=yes
74059 else
74060 echo "$as_me: failed program was:" >&5
74061 sed 's/^/| /' conftest.$ac_ext >&5
74063 ac_header_preproc=no
74065 rm -f conftest.err conftest.$ac_ext
74066 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74067 echo "${ECHO_T}$ac_header_preproc" >&6
74069 # So? What about this header?
74070 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74071 yes:no: )
74072 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
74073 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
74074 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
74075 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
74076 ac_header_preproc=yes
74078 no:yes:* )
74079 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
74080 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
74081 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
74082 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
74083 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
74084 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
74085 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
74086 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
74087 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
74088 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
74089 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
74090 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
74092 cat <<\_ASBOX
74093 ## ----------------------------------------- ##
74094 ## Report this to the package-unused lists. ##
74095 ## ----------------------------------------- ##
74096 _ASBOX
74098 sed "s/^/$as_me: WARNING: /" >&2
74100 esac
74101 echo "$as_me:$LINENO: checking for $ac_header" >&5
74102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
74103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74104 echo $ECHO_N "(cached) $ECHO_C" >&6
74105 else
74106 eval "$as_ac_Header=\$ac_header_preproc"
74108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
74109 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
74112 if test `eval echo '${'$as_ac_Header'}'` = yes; then
74113 cat >>confdefs.h <<_ACEOF
74114 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
74115 _ACEOF
74119 done
74121 SECTION_FLAGS='-ffunction-sections -fdata-sections'
74124 # If we're not using GNU ld, then there's no point in even trying these
74125 # tests. Check for that first. We should have already tested for gld
74126 # by now (in libtool), but require it now just to be safe...
74127 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
74128 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
74132 # The name set by libtool depends on the version of libtool. Shame on us
74133 # for depending on an impl detail, but c'est la vie. Older versions used
74134 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
74135 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
74136 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
74137 # set (hence we're using an older libtool), then set it.
74138 if test x${with_gnu_ld+set} != xset; then
74139 if test x${ac_cv_prog_gnu_ld+set} != xset; then
74140 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
74141 with_gnu_ld=no
74142 else
74143 with_gnu_ld=$ac_cv_prog_gnu_ld
74147 # Start by getting the version number. I think the libtool test already
74148 # does some of this, but throws away the result.
74150 ldver=`$LD --version 2>/dev/null | head -1 | \
74151 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
74153 glibcxx_gnu_ld_version=`echo $ldver | \
74154 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
74156 # Set --gc-sections.
74157 if test "$with_gnu_ld" = "notbroken"; then
74158 # GNU ld it is! Joy and bunny rabbits!
74160 # All these tests are for C++; save the language and the compiler flags.
74161 # Need to do this so that g++ won't try to link in libstdc++
74162 ac_test_CFLAGS="${CFLAGS+set}"
74163 ac_save_CFLAGS="$CFLAGS"
74164 CFLAGS='-x c++ -Wl,--gc-sections'
74166 # Check for -Wl,--gc-sections
74167 # XXX This test is broken at the moment, as symbols required for linking
74168 # are now in libsupc++ (not built yet). In addition, this test has
74169 # cored on solaris in the past. In addition, --gc-sections doesn't
74170 # really work at the moment (keeps on discarding used sections, first
74171 # .eh_frame and now some of the glibc sections for iconv).
74172 # Bzzzzt. Thanks for playing, maybe next time.
74173 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
74174 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
74175 if test "$cross_compiling" = yes; then
74176 ac_sectionLDflags=yes
74177 else
74178 cat >conftest.$ac_ext <<_ACEOF
74179 /* confdefs.h. */
74180 _ACEOF
74181 cat confdefs.h >>conftest.$ac_ext
74182 cat >>conftest.$ac_ext <<_ACEOF
74183 /* end confdefs.h. */
74185 int main(void)
74187 try { throw 1; }
74188 catch (...) { };
74189 return 0;
74192 _ACEOF
74193 rm -f conftest$ac_exeext
74194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74195 (eval $ac_link) 2>&5
74196 ac_status=$?
74197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74198 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
74199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74200 (eval $ac_try) 2>&5
74201 ac_status=$?
74202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74203 (exit $ac_status); }; }; then
74204 ac_sectionLDflags=yes
74205 else
74206 echo "$as_me: program exited with status $ac_status" >&5
74207 echo "$as_me: failed program was:" >&5
74208 sed 's/^/| /' conftest.$ac_ext >&5
74210 ( exit $ac_status )
74211 ac_sectionLDflags=no
74213 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
74215 if test "$ac_test_CFLAGS" = set; then
74216 CFLAGS="$ac_save_CFLAGS"
74217 else
74218 # this is the suspicious part
74219 CFLAGS=''
74221 if test "$ac_sectionLDflags" = "yes"; then
74222 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
74224 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
74225 echo "${ECHO_T}$ac_sectionLDflags" >&6
74228 # Set linker optimization flags.
74229 if test x"$with_gnu_ld" = x"yes"; then
74230 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
74238 echo "$as_me:$LINENO: checking for main in -lm" >&5
74239 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
74240 if test "${ac_cv_lib_m_main+set}" = set; then
74241 echo $ECHO_N "(cached) $ECHO_C" >&6
74242 else
74243 ac_check_lib_save_LIBS=$LIBS
74244 LIBS="-lm $LIBS"
74245 if test x$gcc_no_link = xyes; then
74246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74248 { (exit 1); exit 1; }; }
74250 cat >conftest.$ac_ext <<_ACEOF
74251 /* confdefs.h. */
74252 _ACEOF
74253 cat confdefs.h >>conftest.$ac_ext
74254 cat >>conftest.$ac_ext <<_ACEOF
74255 /* end confdefs.h. */
74259 main ()
74261 main ();
74263 return 0;
74265 _ACEOF
74266 rm -f conftest.$ac_objext conftest$ac_exeext
74267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74268 (eval $ac_link) 2>conftest.er1
74269 ac_status=$?
74270 grep -v '^ *+' conftest.er1 >conftest.err
74271 rm -f conftest.er1
74272 cat conftest.err >&5
74273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74274 (exit $ac_status); } &&
74275 { ac_try='test -z "$ac_c_werror_flag"
74276 || test ! -s conftest.err'
74277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74278 (eval $ac_try) 2>&5
74279 ac_status=$?
74280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74281 (exit $ac_status); }; } &&
74282 { ac_try='test -s conftest$ac_exeext'
74283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74284 (eval $ac_try) 2>&5
74285 ac_status=$?
74286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74287 (exit $ac_status); }; }; then
74288 ac_cv_lib_m_main=yes
74289 else
74290 echo "$as_me: failed program was:" >&5
74291 sed 's/^/| /' conftest.$ac_ext >&5
74293 ac_cv_lib_m_main=no
74295 rm -f conftest.err conftest.$ac_objext \
74296 conftest$ac_exeext conftest.$ac_ext
74297 LIBS=$ac_check_lib_save_LIBS
74299 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
74300 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
74301 if test $ac_cv_lib_m_main = yes; then
74302 cat >>confdefs.h <<_ACEOF
74303 #define HAVE_LIBM 1
74304 _ACEOF
74306 LIBS="-lm $LIBS"
74311 for ac_func in copysignf
74313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74314 echo "$as_me:$LINENO: checking for $ac_func" >&5
74315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74316 if eval "test \"\${$as_ac_var+set}\" = set"; then
74317 echo $ECHO_N "(cached) $ECHO_C" >&6
74318 else
74319 if test x$gcc_no_link = xyes; then
74320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74322 { (exit 1); exit 1; }; }
74324 cat >conftest.$ac_ext <<_ACEOF
74325 /* confdefs.h. */
74326 _ACEOF
74327 cat confdefs.h >>conftest.$ac_ext
74328 cat >>conftest.$ac_ext <<_ACEOF
74329 /* end confdefs.h. */
74330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74332 #define $ac_func innocuous_$ac_func
74334 /* System header to define __stub macros and hopefully few prototypes,
74335 which can conflict with char $ac_func (); below.
74336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74337 <limits.h> exists even on freestanding compilers. */
74339 #ifdef __STDC__
74340 # include <limits.h>
74341 #else
74342 # include <assert.h>
74343 #endif
74345 #undef $ac_func
74347 /* Override any gcc2 internal prototype to avoid an error. */
74348 #ifdef __cplusplus
74349 extern "C"
74351 #endif
74352 /* We use char because int might match the return type of a gcc2
74353 builtin and then its argument prototype would still apply. */
74354 char $ac_func ();
74355 /* The GNU C library defines this for functions which it implements
74356 to always fail with ENOSYS. Some functions are actually named
74357 something starting with __ and the normal name is an alias. */
74358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74359 choke me
74360 #else
74361 char (*f) () = $ac_func;
74362 #endif
74363 #ifdef __cplusplus
74365 #endif
74368 main ()
74370 return f != $ac_func;
74372 return 0;
74374 _ACEOF
74375 rm -f conftest.$ac_objext conftest$ac_exeext
74376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74377 (eval $ac_link) 2>conftest.er1
74378 ac_status=$?
74379 grep -v '^ *+' conftest.er1 >conftest.err
74380 rm -f conftest.er1
74381 cat conftest.err >&5
74382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74383 (exit $ac_status); } &&
74384 { ac_try='test -z "$ac_c_werror_flag"
74385 || test ! -s conftest.err'
74386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74387 (eval $ac_try) 2>&5
74388 ac_status=$?
74389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74390 (exit $ac_status); }; } &&
74391 { ac_try='test -s conftest$ac_exeext'
74392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74393 (eval $ac_try) 2>&5
74394 ac_status=$?
74395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74396 (exit $ac_status); }; }; then
74397 eval "$as_ac_var=yes"
74398 else
74399 echo "$as_me: failed program was:" >&5
74400 sed 's/^/| /' conftest.$ac_ext >&5
74402 eval "$as_ac_var=no"
74404 rm -f conftest.err conftest.$ac_objext \
74405 conftest$ac_exeext conftest.$ac_ext
74407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74409 if test `eval echo '${'$as_ac_var'}'` = yes; then
74410 cat >>confdefs.h <<_ACEOF
74411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74412 _ACEOF
74414 else
74415 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
74417 done
74421 for ac_func in __signbit
74423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74424 echo "$as_me:$LINENO: checking for $ac_func" >&5
74425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74426 if eval "test \"\${$as_ac_var+set}\" = set"; then
74427 echo $ECHO_N "(cached) $ECHO_C" >&6
74428 else
74429 if test x$gcc_no_link = xyes; then
74430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74432 { (exit 1); exit 1; }; }
74434 cat >conftest.$ac_ext <<_ACEOF
74435 /* confdefs.h. */
74436 _ACEOF
74437 cat confdefs.h >>conftest.$ac_ext
74438 cat >>conftest.$ac_ext <<_ACEOF
74439 /* end confdefs.h. */
74440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74442 #define $ac_func innocuous_$ac_func
74444 /* System header to define __stub macros and hopefully few prototypes,
74445 which can conflict with char $ac_func (); below.
74446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74447 <limits.h> exists even on freestanding compilers. */
74449 #ifdef __STDC__
74450 # include <limits.h>
74451 #else
74452 # include <assert.h>
74453 #endif
74455 #undef $ac_func
74457 /* Override any gcc2 internal prototype to avoid an error. */
74458 #ifdef __cplusplus
74459 extern "C"
74461 #endif
74462 /* We use char because int might match the return type of a gcc2
74463 builtin and then its argument prototype would still apply. */
74464 char $ac_func ();
74465 /* The GNU C library defines this for functions which it implements
74466 to always fail with ENOSYS. Some functions are actually named
74467 something starting with __ and the normal name is an alias. */
74468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74469 choke me
74470 #else
74471 char (*f) () = $ac_func;
74472 #endif
74473 #ifdef __cplusplus
74475 #endif
74478 main ()
74480 return f != $ac_func;
74482 return 0;
74484 _ACEOF
74485 rm -f conftest.$ac_objext conftest$ac_exeext
74486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74487 (eval $ac_link) 2>conftest.er1
74488 ac_status=$?
74489 grep -v '^ *+' conftest.er1 >conftest.err
74490 rm -f conftest.er1
74491 cat conftest.err >&5
74492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74493 (exit $ac_status); } &&
74494 { ac_try='test -z "$ac_c_werror_flag"
74495 || test ! -s conftest.err'
74496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74497 (eval $ac_try) 2>&5
74498 ac_status=$?
74499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74500 (exit $ac_status); }; } &&
74501 { ac_try='test -s conftest$ac_exeext'
74502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74503 (eval $ac_try) 2>&5
74504 ac_status=$?
74505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74506 (exit $ac_status); }; }; then
74507 eval "$as_ac_var=yes"
74508 else
74509 echo "$as_me: failed program was:" >&5
74510 sed 's/^/| /' conftest.$ac_ext >&5
74512 eval "$as_ac_var=no"
74514 rm -f conftest.err conftest.$ac_objext \
74515 conftest$ac_exeext conftest.$ac_ext
74517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74519 if test `eval echo '${'$as_ac_var'}'` = yes; then
74520 cat >>confdefs.h <<_ACEOF
74521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74522 _ACEOF
74524 else
74525 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
74527 done
74531 for ac_func in __signbitf
74533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74534 echo "$as_me:$LINENO: checking for $ac_func" >&5
74535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74536 if eval "test \"\${$as_ac_var+set}\" = set"; then
74537 echo $ECHO_N "(cached) $ECHO_C" >&6
74538 else
74539 if test x$gcc_no_link = xyes; then
74540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74542 { (exit 1); exit 1; }; }
74544 cat >conftest.$ac_ext <<_ACEOF
74545 /* confdefs.h. */
74546 _ACEOF
74547 cat confdefs.h >>conftest.$ac_ext
74548 cat >>conftest.$ac_ext <<_ACEOF
74549 /* end confdefs.h. */
74550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74552 #define $ac_func innocuous_$ac_func
74554 /* System header to define __stub macros and hopefully few prototypes,
74555 which can conflict with char $ac_func (); below.
74556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74557 <limits.h> exists even on freestanding compilers. */
74559 #ifdef __STDC__
74560 # include <limits.h>
74561 #else
74562 # include <assert.h>
74563 #endif
74565 #undef $ac_func
74567 /* Override any gcc2 internal prototype to avoid an error. */
74568 #ifdef __cplusplus
74569 extern "C"
74571 #endif
74572 /* We use char because int might match the return type of a gcc2
74573 builtin and then its argument prototype would still apply. */
74574 char $ac_func ();
74575 /* The GNU C library defines this for functions which it implements
74576 to always fail with ENOSYS. Some functions are actually named
74577 something starting with __ and the normal name is an alias. */
74578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74579 choke me
74580 #else
74581 char (*f) () = $ac_func;
74582 #endif
74583 #ifdef __cplusplus
74585 #endif
74588 main ()
74590 return f != $ac_func;
74592 return 0;
74594 _ACEOF
74595 rm -f conftest.$ac_objext conftest$ac_exeext
74596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74597 (eval $ac_link) 2>conftest.er1
74598 ac_status=$?
74599 grep -v '^ *+' conftest.er1 >conftest.err
74600 rm -f conftest.er1
74601 cat conftest.err >&5
74602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74603 (exit $ac_status); } &&
74604 { ac_try='test -z "$ac_c_werror_flag"
74605 || test ! -s conftest.err'
74606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74607 (eval $ac_try) 2>&5
74608 ac_status=$?
74609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74610 (exit $ac_status); }; } &&
74611 { ac_try='test -s conftest$ac_exeext'
74612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74613 (eval $ac_try) 2>&5
74614 ac_status=$?
74615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74616 (exit $ac_status); }; }; then
74617 eval "$as_ac_var=yes"
74618 else
74619 echo "$as_me: failed program was:" >&5
74620 sed 's/^/| /' conftest.$ac_ext >&5
74622 eval "$as_ac_var=no"
74624 rm -f conftest.err conftest.$ac_objext \
74625 conftest$ac_exeext conftest.$ac_ext
74627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74629 if test `eval echo '${'$as_ac_var'}'` = yes; then
74630 cat >>confdefs.h <<_ACEOF
74631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74632 _ACEOF
74634 else
74635 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
74637 done
74640 if test x$ac_cv_func_copysignl = x"yes"; then
74642 for ac_func in __signbitl
74644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74645 echo "$as_me:$LINENO: checking for $ac_func" >&5
74646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74647 if eval "test \"\${$as_ac_var+set}\" = set"; then
74648 echo $ECHO_N "(cached) $ECHO_C" >&6
74649 else
74650 if test x$gcc_no_link = xyes; then
74651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74653 { (exit 1); exit 1; }; }
74655 cat >conftest.$ac_ext <<_ACEOF
74656 /* confdefs.h. */
74657 _ACEOF
74658 cat confdefs.h >>conftest.$ac_ext
74659 cat >>conftest.$ac_ext <<_ACEOF
74660 /* end confdefs.h. */
74661 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74663 #define $ac_func innocuous_$ac_func
74665 /* System header to define __stub macros and hopefully few prototypes,
74666 which can conflict with char $ac_func (); below.
74667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74668 <limits.h> exists even on freestanding compilers. */
74670 #ifdef __STDC__
74671 # include <limits.h>
74672 #else
74673 # include <assert.h>
74674 #endif
74676 #undef $ac_func
74678 /* Override any gcc2 internal prototype to avoid an error. */
74679 #ifdef __cplusplus
74680 extern "C"
74682 #endif
74683 /* We use char because int might match the return type of a gcc2
74684 builtin and then its argument prototype would still apply. */
74685 char $ac_func ();
74686 /* The GNU C library defines this for functions which it implements
74687 to always fail with ENOSYS. Some functions are actually named
74688 something starting with __ and the normal name is an alias. */
74689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74690 choke me
74691 #else
74692 char (*f) () = $ac_func;
74693 #endif
74694 #ifdef __cplusplus
74696 #endif
74699 main ()
74701 return f != $ac_func;
74703 return 0;
74705 _ACEOF
74706 rm -f conftest.$ac_objext conftest$ac_exeext
74707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74708 (eval $ac_link) 2>conftest.er1
74709 ac_status=$?
74710 grep -v '^ *+' conftest.er1 >conftest.err
74711 rm -f conftest.er1
74712 cat conftest.err >&5
74713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74714 (exit $ac_status); } &&
74715 { ac_try='test -z "$ac_c_werror_flag"
74716 || test ! -s conftest.err'
74717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74718 (eval $ac_try) 2>&5
74719 ac_status=$?
74720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74721 (exit $ac_status); }; } &&
74722 { ac_try='test -s conftest$ac_exeext'
74723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74724 (eval $ac_try) 2>&5
74725 ac_status=$?
74726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74727 (exit $ac_status); }; }; then
74728 eval "$as_ac_var=yes"
74729 else
74730 echo "$as_me: failed program was:" >&5
74731 sed 's/^/| /' conftest.$ac_ext >&5
74733 eval "$as_ac_var=no"
74735 rm -f conftest.err conftest.$ac_objext \
74736 conftest$ac_exeext conftest.$ac_ext
74738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74739 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74740 if test `eval echo '${'$as_ac_var'}'` = yes; then
74741 cat >>confdefs.h <<_ACEOF
74742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74743 _ACEOF
74745 else
74746 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
74748 done
74752 # Used in libmath/Makefile.am.
74753 if test -n "$LIBMATHOBJS"; then
74754 need_libmath=yes
74760 enable_iconv=no
74761 # Only continue checking if the ISO C99 headers exist and support is on.
74762 if test x"$enable_wchar_t" = xyes; then
74764 # Use iconv for wchar_t to char conversions. As such, check for
74765 # X/Open Portability Guide, version 2 features (XPG2).
74766 if test "${ac_cv_header_iconv_h+set}" = set; then
74767 echo "$as_me:$LINENO: checking for iconv.h" >&5
74768 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74769 if test "${ac_cv_header_iconv_h+set}" = set; then
74770 echo $ECHO_N "(cached) $ECHO_C" >&6
74772 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74773 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74774 else
74775 # Is the header compilable?
74776 echo "$as_me:$LINENO: checking iconv.h usability" >&5
74777 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
74778 cat >conftest.$ac_ext <<_ACEOF
74779 /* confdefs.h. */
74780 _ACEOF
74781 cat confdefs.h >>conftest.$ac_ext
74782 cat >>conftest.$ac_ext <<_ACEOF
74783 /* end confdefs.h. */
74784 $ac_includes_default
74785 #include <iconv.h>
74786 _ACEOF
74787 rm -f conftest.$ac_objext
74788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74789 (eval $ac_compile) 2>conftest.er1
74790 ac_status=$?
74791 grep -v '^ *+' conftest.er1 >conftest.err
74792 rm -f conftest.er1
74793 cat conftest.err >&5
74794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74795 (exit $ac_status); } &&
74796 { ac_try='test -z "$ac_c_werror_flag"
74797 || test ! -s conftest.err'
74798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74799 (eval $ac_try) 2>&5
74800 ac_status=$?
74801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74802 (exit $ac_status); }; } &&
74803 { ac_try='test -s conftest.$ac_objext'
74804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74805 (eval $ac_try) 2>&5
74806 ac_status=$?
74807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74808 (exit $ac_status); }; }; then
74809 ac_header_compiler=yes
74810 else
74811 echo "$as_me: failed program was:" >&5
74812 sed 's/^/| /' conftest.$ac_ext >&5
74814 ac_header_compiler=no
74816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74817 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74818 echo "${ECHO_T}$ac_header_compiler" >&6
74820 # Is the header present?
74821 echo "$as_me:$LINENO: checking iconv.h presence" >&5
74822 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
74823 cat >conftest.$ac_ext <<_ACEOF
74824 /* confdefs.h. */
74825 _ACEOF
74826 cat confdefs.h >>conftest.$ac_ext
74827 cat >>conftest.$ac_ext <<_ACEOF
74828 /* end confdefs.h. */
74829 #include <iconv.h>
74830 _ACEOF
74831 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74832 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74833 ac_status=$?
74834 grep -v '^ *+' conftest.er1 >conftest.err
74835 rm -f conftest.er1
74836 cat conftest.err >&5
74837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74838 (exit $ac_status); } >/dev/null; then
74839 if test -s conftest.err; then
74840 ac_cpp_err=$ac_c_preproc_warn_flag
74841 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74842 else
74843 ac_cpp_err=
74845 else
74846 ac_cpp_err=yes
74848 if test -z "$ac_cpp_err"; then
74849 ac_header_preproc=yes
74850 else
74851 echo "$as_me: failed program was:" >&5
74852 sed 's/^/| /' conftest.$ac_ext >&5
74854 ac_header_preproc=no
74856 rm -f conftest.err conftest.$ac_ext
74857 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74858 echo "${ECHO_T}$ac_header_preproc" >&6
74860 # So? What about this header?
74861 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74862 yes:no: )
74863 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
74864 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74865 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
74866 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
74867 ac_header_preproc=yes
74869 no:yes:* )
74870 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
74871 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
74872 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
74873 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
74874 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
74875 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
74876 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
74877 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
74878 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
74879 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
74880 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
74881 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
74883 cat <<\_ASBOX
74884 ## ----------------------------------------- ##
74885 ## Report this to the package-unused lists. ##
74886 ## ----------------------------------------- ##
74887 _ASBOX
74889 sed "s/^/$as_me: WARNING: /" >&2
74891 esac
74892 echo "$as_me:$LINENO: checking for iconv.h" >&5
74893 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74894 if test "${ac_cv_header_iconv_h+set}" = set; then
74895 echo $ECHO_N "(cached) $ECHO_C" >&6
74896 else
74897 ac_cv_header_iconv_h=$ac_header_preproc
74899 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74900 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74903 if test $ac_cv_header_iconv_h = yes; then
74904 ac_has_iconv_h=yes
74905 else
74906 ac_has_iconv_h=no
74910 if test "${ac_cv_header_langinfo_h+set}" = set; then
74911 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74912 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74913 if test "${ac_cv_header_langinfo_h+set}" = set; then
74914 echo $ECHO_N "(cached) $ECHO_C" >&6
74916 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74917 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74918 else
74919 # Is the header compilable?
74920 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
74921 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
74922 cat >conftest.$ac_ext <<_ACEOF
74923 /* confdefs.h. */
74924 _ACEOF
74925 cat confdefs.h >>conftest.$ac_ext
74926 cat >>conftest.$ac_ext <<_ACEOF
74927 /* end confdefs.h. */
74928 $ac_includes_default
74929 #include <langinfo.h>
74930 _ACEOF
74931 rm -f conftest.$ac_objext
74932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74933 (eval $ac_compile) 2>conftest.er1
74934 ac_status=$?
74935 grep -v '^ *+' conftest.er1 >conftest.err
74936 rm -f conftest.er1
74937 cat conftest.err >&5
74938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74939 (exit $ac_status); } &&
74940 { ac_try='test -z "$ac_c_werror_flag"
74941 || test ! -s conftest.err'
74942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74943 (eval $ac_try) 2>&5
74944 ac_status=$?
74945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74946 (exit $ac_status); }; } &&
74947 { ac_try='test -s conftest.$ac_objext'
74948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74949 (eval $ac_try) 2>&5
74950 ac_status=$?
74951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74952 (exit $ac_status); }; }; then
74953 ac_header_compiler=yes
74954 else
74955 echo "$as_me: failed program was:" >&5
74956 sed 's/^/| /' conftest.$ac_ext >&5
74958 ac_header_compiler=no
74960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74961 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74962 echo "${ECHO_T}$ac_header_compiler" >&6
74964 # Is the header present?
74965 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
74966 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
74967 cat >conftest.$ac_ext <<_ACEOF
74968 /* confdefs.h. */
74969 _ACEOF
74970 cat confdefs.h >>conftest.$ac_ext
74971 cat >>conftest.$ac_ext <<_ACEOF
74972 /* end confdefs.h. */
74973 #include <langinfo.h>
74974 _ACEOF
74975 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74976 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74977 ac_status=$?
74978 grep -v '^ *+' conftest.er1 >conftest.err
74979 rm -f conftest.er1
74980 cat conftest.err >&5
74981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74982 (exit $ac_status); } >/dev/null; then
74983 if test -s conftest.err; then
74984 ac_cpp_err=$ac_c_preproc_warn_flag
74985 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74986 else
74987 ac_cpp_err=
74989 else
74990 ac_cpp_err=yes
74992 if test -z "$ac_cpp_err"; then
74993 ac_header_preproc=yes
74994 else
74995 echo "$as_me: failed program was:" >&5
74996 sed 's/^/| /' conftest.$ac_ext >&5
74998 ac_header_preproc=no
75000 rm -f conftest.err conftest.$ac_ext
75001 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75002 echo "${ECHO_T}$ac_header_preproc" >&6
75004 # So? What about this header?
75005 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75006 yes:no: )
75007 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
75008 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
75009 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
75010 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
75011 ac_header_preproc=yes
75013 no:yes:* )
75014 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
75015 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
75016 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
75017 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
75018 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
75019 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
75020 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
75021 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
75022 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
75023 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
75024 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
75025 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
75027 cat <<\_ASBOX
75028 ## ----------------------------------------- ##
75029 ## Report this to the package-unused lists. ##
75030 ## ----------------------------------------- ##
75031 _ASBOX
75033 sed "s/^/$as_me: WARNING: /" >&2
75035 esac
75036 echo "$as_me:$LINENO: checking for langinfo.h" >&5
75037 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
75038 if test "${ac_cv_header_langinfo_h+set}" = set; then
75039 echo $ECHO_N "(cached) $ECHO_C" >&6
75040 else
75041 ac_cv_header_langinfo_h=$ac_header_preproc
75043 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
75044 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
75047 if test $ac_cv_header_langinfo_h = yes; then
75048 ac_has_langinfo_h=yes
75049 else
75050 ac_has_langinfo_h=no
75055 # Check for existence of libiconv.a providing XPG2 wchar_t support.
75056 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
75057 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
75058 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
75059 echo $ECHO_N "(cached) $ECHO_C" >&6
75060 else
75061 ac_check_lib_save_LIBS=$LIBS
75062 LIBS="-liconv $LIBS"
75063 if test x$gcc_no_link = xyes; then
75064 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75066 { (exit 1); exit 1; }; }
75068 cat >conftest.$ac_ext <<_ACEOF
75069 /* confdefs.h. */
75070 _ACEOF
75071 cat confdefs.h >>conftest.$ac_ext
75072 cat >>conftest.$ac_ext <<_ACEOF
75073 /* end confdefs.h. */
75075 /* Override any gcc2 internal prototype to avoid an error. */
75076 #ifdef __cplusplus
75077 extern "C"
75078 #endif
75079 /* We use char because int might match the return type of a gcc2
75080 builtin and then its argument prototype would still apply. */
75081 char iconv ();
75083 main ()
75085 iconv ();
75087 return 0;
75089 _ACEOF
75090 rm -f conftest.$ac_objext conftest$ac_exeext
75091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75092 (eval $ac_link) 2>conftest.er1
75093 ac_status=$?
75094 grep -v '^ *+' conftest.er1 >conftest.err
75095 rm -f conftest.er1
75096 cat conftest.err >&5
75097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75098 (exit $ac_status); } &&
75099 { ac_try='test -z "$ac_c_werror_flag"
75100 || test ! -s conftest.err'
75101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75102 (eval $ac_try) 2>&5
75103 ac_status=$?
75104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75105 (exit $ac_status); }; } &&
75106 { ac_try='test -s conftest$ac_exeext'
75107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75108 (eval $ac_try) 2>&5
75109 ac_status=$?
75110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75111 (exit $ac_status); }; }; then
75112 ac_cv_lib_iconv_iconv=yes
75113 else
75114 echo "$as_me: failed program was:" >&5
75115 sed 's/^/| /' conftest.$ac_ext >&5
75117 ac_cv_lib_iconv_iconv=no
75119 rm -f conftest.err conftest.$ac_objext \
75120 conftest$ac_exeext conftest.$ac_ext
75121 LIBS=$ac_check_lib_save_LIBS
75123 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
75124 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
75125 if test $ac_cv_lib_iconv_iconv = yes; then
75126 LIBICONV="-liconv"
75129 ac_save_LIBS="$LIBS"
75130 LIBS="$LIBS $LIBICONV"
75137 for ac_func in iconv_open iconv_close iconv nl_langinfo
75139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75140 echo "$as_me:$LINENO: checking for $ac_func" >&5
75141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75142 if eval "test \"\${$as_ac_var+set}\" = set"; then
75143 echo $ECHO_N "(cached) $ECHO_C" >&6
75144 else
75145 if test x$gcc_no_link = xyes; then
75146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75148 { (exit 1); exit 1; }; }
75150 cat >conftest.$ac_ext <<_ACEOF
75151 /* confdefs.h. */
75152 _ACEOF
75153 cat confdefs.h >>conftest.$ac_ext
75154 cat >>conftest.$ac_ext <<_ACEOF
75155 /* end confdefs.h. */
75156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75158 #define $ac_func innocuous_$ac_func
75160 /* System header to define __stub macros and hopefully few prototypes,
75161 which can conflict with char $ac_func (); below.
75162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75163 <limits.h> exists even on freestanding compilers. */
75165 #ifdef __STDC__
75166 # include <limits.h>
75167 #else
75168 # include <assert.h>
75169 #endif
75171 #undef $ac_func
75173 /* Override any gcc2 internal prototype to avoid an error. */
75174 #ifdef __cplusplus
75175 extern "C"
75177 #endif
75178 /* We use char because int might match the return type of a gcc2
75179 builtin and then its argument prototype would still apply. */
75180 char $ac_func ();
75181 /* The GNU C library defines this for functions which it implements
75182 to always fail with ENOSYS. Some functions are actually named
75183 something starting with __ and the normal name is an alias. */
75184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75185 choke me
75186 #else
75187 char (*f) () = $ac_func;
75188 #endif
75189 #ifdef __cplusplus
75191 #endif
75194 main ()
75196 return f != $ac_func;
75198 return 0;
75200 _ACEOF
75201 rm -f conftest.$ac_objext conftest$ac_exeext
75202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75203 (eval $ac_link) 2>conftest.er1
75204 ac_status=$?
75205 grep -v '^ *+' conftest.er1 >conftest.err
75206 rm -f conftest.er1
75207 cat conftest.err >&5
75208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75209 (exit $ac_status); } &&
75210 { ac_try='test -z "$ac_c_werror_flag"
75211 || test ! -s conftest.err'
75212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75213 (eval $ac_try) 2>&5
75214 ac_status=$?
75215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75216 (exit $ac_status); }; } &&
75217 { ac_try='test -s conftest$ac_exeext'
75218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75219 (eval $ac_try) 2>&5
75220 ac_status=$?
75221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75222 (exit $ac_status); }; }; then
75223 eval "$as_ac_var=yes"
75224 else
75225 echo "$as_me: failed program was:" >&5
75226 sed 's/^/| /' conftest.$ac_ext >&5
75228 eval "$as_ac_var=no"
75230 rm -f conftest.err conftest.$ac_objext \
75231 conftest$ac_exeext conftest.$ac_ext
75233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75235 if test `eval echo '${'$as_ac_var'}'` = yes; then
75236 cat >>confdefs.h <<_ACEOF
75237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75238 _ACEOF
75239 ac_XPG2funcs=yes
75240 else
75241 ac_XPG2funcs=no
75243 done
75246 LIBS="$ac_save_LIBS"
75248 if test x"$ac_has_iconv_h" = xyes &&
75249 test x"$ac_has_langinfo_h" = xyes &&
75250 test x"$ac_XPG2funcs" = xyes;
75251 then
75253 cat >>confdefs.h <<\_ACEOF
75254 #define _GLIBCXX_USE_ICONV 1
75255 _ACEOF
75257 enable_iconv=yes
75260 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
75261 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
75262 echo "$as_me:$LINENO: result: $enable_iconv" >&5
75263 echo "${ECHO_T}$enable_iconv" >&6
75265 cat >>confdefs.h <<\_ACEOF
75266 #define HAVE_LC_MESSAGES 1
75267 _ACEOF
75269 cat >>confdefs.h <<\_ACEOF
75270 #define HAVE_GETPAGESIZE 1
75271 _ACEOF
75273 cat >>confdefs.h <<\_ACEOF
75274 #define HAVE_SETENV 1
75275 _ACEOF
75277 cat >>confdefs.h <<\_ACEOF
75278 #define HAVE_SIGSETJMP 1
75279 _ACEOF
75281 cat >>confdefs.h <<\_ACEOF
75282 #define HAVE_COPYSIGN 1
75283 _ACEOF
75285 cat >>confdefs.h <<\_ACEOF
75286 #define HAVE_COPYSIGNF 1
75287 _ACEOF
75289 cat >>confdefs.h <<\_ACEOF
75290 #define HAVE_FINITEF 1
75291 _ACEOF
75293 cat >>confdefs.h <<\_ACEOF
75294 #define HAVE_FINITE 1
75295 _ACEOF
75297 cat >>confdefs.h <<\_ACEOF
75298 #define HAVE_FREXPF 1
75299 _ACEOF
75301 cat >>confdefs.h <<\_ACEOF
75302 #define HAVE_HYPOT 1
75303 _ACEOF
75305 cat >>confdefs.h <<\_ACEOF
75306 #define HAVE_HYPOTF 1
75307 _ACEOF
75309 cat >>confdefs.h <<\_ACEOF
75310 #define HAVE_ISINF 1
75311 _ACEOF
75313 cat >>confdefs.h <<\_ACEOF
75314 #define HAVE_ISNAN 1
75315 _ACEOF
75317 cat >>confdefs.h <<\_ACEOF
75318 #define HAVE_ISNANF 1
75319 _ACEOF
75322 cat >>confdefs.h <<\_ACEOF
75323 #define HAVE_MMAP 1
75324 _ACEOF
75326 cat >>confdefs.h <<\_ACEOF
75327 #define HAVE_ACOSF 1
75328 _ACEOF
75330 cat >>confdefs.h <<\_ACEOF
75331 #define HAVE_ASINF 1
75332 _ACEOF
75334 cat >>confdefs.h <<\_ACEOF
75335 #define HAVE_ATAN2F 1
75336 _ACEOF
75338 cat >>confdefs.h <<\_ACEOF
75339 #define HAVE_ATANF 1
75340 _ACEOF
75342 cat >>confdefs.h <<\_ACEOF
75343 #define HAVE_CEILF 1
75344 _ACEOF
75346 cat >>confdefs.h <<\_ACEOF
75347 #define HAVE_COPYSIGN 1
75348 _ACEOF
75350 cat >>confdefs.h <<\_ACEOF
75351 #define HAVE_COPYSIGNF 1
75352 _ACEOF
75354 cat >>confdefs.h <<\_ACEOF
75355 #define HAVE_COSF 1
75356 _ACEOF
75358 cat >>confdefs.h <<\_ACEOF
75359 #define HAVE_COSHF 1
75360 _ACEOF
75362 cat >>confdefs.h <<\_ACEOF
75363 #define HAVE_EXPF 1
75364 _ACEOF
75366 cat >>confdefs.h <<\_ACEOF
75367 #define HAVE_FABSF 1
75368 _ACEOF
75370 cat >>confdefs.h <<\_ACEOF
75371 #define HAVE_FLOORF 1
75372 _ACEOF
75374 cat >>confdefs.h <<\_ACEOF
75375 #define HAVE_FMODF 1
75376 _ACEOF
75378 cat >>confdefs.h <<\_ACEOF
75379 #define HAVE_FREXPF 1
75380 _ACEOF
75382 cat >>confdefs.h <<\_ACEOF
75383 #define HAVE_LDEXPF 1
75384 _ACEOF
75386 cat >>confdefs.h <<\_ACEOF
75387 #define HAVE_LOG10F 1
75388 _ACEOF
75390 cat >>confdefs.h <<\_ACEOF
75391 #define HAVE_LOGF 1
75392 _ACEOF
75394 cat >>confdefs.h <<\_ACEOF
75395 #define HAVE_MODFF 1
75396 _ACEOF
75398 cat >>confdefs.h <<\_ACEOF
75399 #define HAVE_POWF 1
75400 _ACEOF
75402 cat >>confdefs.h <<\_ACEOF
75403 #define HAVE_SINF 1
75404 _ACEOF
75406 cat >>confdefs.h <<\_ACEOF
75407 #define HAVE_SINHF 1
75408 _ACEOF
75410 cat >>confdefs.h <<\_ACEOF
75411 #define HAVE_SQRTF 1
75412 _ACEOF
75414 cat >>confdefs.h <<\_ACEOF
75415 #define HAVE_TANF 1
75416 _ACEOF
75418 cat >>confdefs.h <<\_ACEOF
75419 #define HAVE_TANHF 1
75420 _ACEOF
75422 if test x"long_double_math_on_this_cpu" = x"yes"; then
75423 cat >>confdefs.h <<\_ACEOF
75424 #define HAVE_FINITEL 1
75425 _ACEOF
75427 cat >>confdefs.h <<\_ACEOF
75428 #define HAVE_ISINFL 1
75429 _ACEOF
75431 cat >>confdefs.h <<\_ACEOF
75432 #define HAVE_ISNANL 1
75433 _ACEOF
75437 *-hpux*)
75450 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
75451 machine/endian.h machine/param.h sys/machine.h sys/types.h \
75452 fp.h locale.h float.h inttypes.h
75454 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75455 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75456 echo "$as_me:$LINENO: checking for $ac_header" >&5
75457 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75458 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75459 echo $ECHO_N "(cached) $ECHO_C" >&6
75461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75462 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75463 else
75464 # Is the header compilable?
75465 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75466 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75467 cat >conftest.$ac_ext <<_ACEOF
75468 /* confdefs.h. */
75469 _ACEOF
75470 cat confdefs.h >>conftest.$ac_ext
75471 cat >>conftest.$ac_ext <<_ACEOF
75472 /* end confdefs.h. */
75473 $ac_includes_default
75474 #include <$ac_header>
75475 _ACEOF
75476 rm -f conftest.$ac_objext
75477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75478 (eval $ac_compile) 2>conftest.er1
75479 ac_status=$?
75480 grep -v '^ *+' conftest.er1 >conftest.err
75481 rm -f conftest.er1
75482 cat conftest.err >&5
75483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75484 (exit $ac_status); } &&
75485 { ac_try='test -z "$ac_c_werror_flag"
75486 || test ! -s conftest.err'
75487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75488 (eval $ac_try) 2>&5
75489 ac_status=$?
75490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75491 (exit $ac_status); }; } &&
75492 { ac_try='test -s conftest.$ac_objext'
75493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75494 (eval $ac_try) 2>&5
75495 ac_status=$?
75496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75497 (exit $ac_status); }; }; then
75498 ac_header_compiler=yes
75499 else
75500 echo "$as_me: failed program was:" >&5
75501 sed 's/^/| /' conftest.$ac_ext >&5
75503 ac_header_compiler=no
75505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75506 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75507 echo "${ECHO_T}$ac_header_compiler" >&6
75509 # Is the header present?
75510 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75511 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75512 cat >conftest.$ac_ext <<_ACEOF
75513 /* confdefs.h. */
75514 _ACEOF
75515 cat confdefs.h >>conftest.$ac_ext
75516 cat >>conftest.$ac_ext <<_ACEOF
75517 /* end confdefs.h. */
75518 #include <$ac_header>
75519 _ACEOF
75520 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75521 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75522 ac_status=$?
75523 grep -v '^ *+' conftest.er1 >conftest.err
75524 rm -f conftest.er1
75525 cat conftest.err >&5
75526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75527 (exit $ac_status); } >/dev/null; then
75528 if test -s conftest.err; then
75529 ac_cpp_err=$ac_c_preproc_warn_flag
75530 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75531 else
75532 ac_cpp_err=
75534 else
75535 ac_cpp_err=yes
75537 if test -z "$ac_cpp_err"; then
75538 ac_header_preproc=yes
75539 else
75540 echo "$as_me: failed program was:" >&5
75541 sed 's/^/| /' conftest.$ac_ext >&5
75543 ac_header_preproc=no
75545 rm -f conftest.err conftest.$ac_ext
75546 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75547 echo "${ECHO_T}$ac_header_preproc" >&6
75549 # So? What about this header?
75550 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75551 yes:no: )
75552 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75553 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75554 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75555 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75556 ac_header_preproc=yes
75558 no:yes:* )
75559 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75560 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75561 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
75562 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
75563 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75564 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75565 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
75566 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
75567 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75568 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75569 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75570 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75572 cat <<\_ASBOX
75573 ## ----------------------------------------- ##
75574 ## Report this to the package-unused lists. ##
75575 ## ----------------------------------------- ##
75576 _ASBOX
75578 sed "s/^/$as_me: WARNING: /" >&2
75580 esac
75581 echo "$as_me:$LINENO: checking for $ac_header" >&5
75582 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75583 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75584 echo $ECHO_N "(cached) $ECHO_C" >&6
75585 else
75586 eval "$as_ac_Header=\$ac_header_preproc"
75588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75589 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75592 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75593 cat >>confdefs.h <<_ACEOF
75594 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75595 _ACEOF
75599 done
75601 SECTION_FLAGS='-ffunction-sections -fdata-sections'
75604 # If we're not using GNU ld, then there's no point in even trying these
75605 # tests. Check for that first. We should have already tested for gld
75606 # by now (in libtool), but require it now just to be safe...
75607 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75608 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75612 # The name set by libtool depends on the version of libtool. Shame on us
75613 # for depending on an impl detail, but c'est la vie. Older versions used
75614 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75615 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75616 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
75617 # set (hence we're using an older libtool), then set it.
75618 if test x${with_gnu_ld+set} != xset; then
75619 if test x${ac_cv_prog_gnu_ld+set} != xset; then
75620 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
75621 with_gnu_ld=no
75622 else
75623 with_gnu_ld=$ac_cv_prog_gnu_ld
75627 # Start by getting the version number. I think the libtool test already
75628 # does some of this, but throws away the result.
75630 ldver=`$LD --version 2>/dev/null | head -1 | \
75631 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
75633 glibcxx_gnu_ld_version=`echo $ldver | \
75634 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75636 # Set --gc-sections.
75637 if test "$with_gnu_ld" = "notbroken"; then
75638 # GNU ld it is! Joy and bunny rabbits!
75640 # All these tests are for C++; save the language and the compiler flags.
75641 # Need to do this so that g++ won't try to link in libstdc++
75642 ac_test_CFLAGS="${CFLAGS+set}"
75643 ac_save_CFLAGS="$CFLAGS"
75644 CFLAGS='-x c++ -Wl,--gc-sections'
75646 # Check for -Wl,--gc-sections
75647 # XXX This test is broken at the moment, as symbols required for linking
75648 # are now in libsupc++ (not built yet). In addition, this test has
75649 # cored on solaris in the past. In addition, --gc-sections doesn't
75650 # really work at the moment (keeps on discarding used sections, first
75651 # .eh_frame and now some of the glibc sections for iconv).
75652 # Bzzzzt. Thanks for playing, maybe next time.
75653 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75654 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75655 if test "$cross_compiling" = yes; then
75656 ac_sectionLDflags=yes
75657 else
75658 cat >conftest.$ac_ext <<_ACEOF
75659 /* confdefs.h. */
75660 _ACEOF
75661 cat confdefs.h >>conftest.$ac_ext
75662 cat >>conftest.$ac_ext <<_ACEOF
75663 /* end confdefs.h. */
75665 int main(void)
75667 try { throw 1; }
75668 catch (...) { };
75669 return 0;
75672 _ACEOF
75673 rm -f conftest$ac_exeext
75674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75675 (eval $ac_link) 2>&5
75676 ac_status=$?
75677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75678 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
75679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75680 (eval $ac_try) 2>&5
75681 ac_status=$?
75682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75683 (exit $ac_status); }; }; then
75684 ac_sectionLDflags=yes
75685 else
75686 echo "$as_me: program exited with status $ac_status" >&5
75687 echo "$as_me: failed program was:" >&5
75688 sed 's/^/| /' conftest.$ac_ext >&5
75690 ( exit $ac_status )
75691 ac_sectionLDflags=no
75693 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
75695 if test "$ac_test_CFLAGS" = set; then
75696 CFLAGS="$ac_save_CFLAGS"
75697 else
75698 # this is the suspicious part
75699 CFLAGS=''
75701 if test "$ac_sectionLDflags" = "yes"; then
75702 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75704 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
75705 echo "${ECHO_T}$ac_sectionLDflags" >&6
75708 # Set linker optimization flags.
75709 if test x"$with_gnu_ld" = x"yes"; then
75710 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
75718 echo "$as_me:$LINENO: checking for main in -lm" >&5
75719 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
75720 if test "${ac_cv_lib_m_main+set}" = set; then
75721 echo $ECHO_N "(cached) $ECHO_C" >&6
75722 else
75723 ac_check_lib_save_LIBS=$LIBS
75724 LIBS="-lm $LIBS"
75725 if test x$gcc_no_link = xyes; then
75726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75728 { (exit 1); exit 1; }; }
75730 cat >conftest.$ac_ext <<_ACEOF
75731 /* confdefs.h. */
75732 _ACEOF
75733 cat confdefs.h >>conftest.$ac_ext
75734 cat >>conftest.$ac_ext <<_ACEOF
75735 /* end confdefs.h. */
75739 main ()
75741 main ();
75743 return 0;
75745 _ACEOF
75746 rm -f conftest.$ac_objext conftest$ac_exeext
75747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75748 (eval $ac_link) 2>conftest.er1
75749 ac_status=$?
75750 grep -v '^ *+' conftest.er1 >conftest.err
75751 rm -f conftest.er1
75752 cat conftest.err >&5
75753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75754 (exit $ac_status); } &&
75755 { ac_try='test -z "$ac_c_werror_flag"
75756 || test ! -s conftest.err'
75757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75758 (eval $ac_try) 2>&5
75759 ac_status=$?
75760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75761 (exit $ac_status); }; } &&
75762 { ac_try='test -s conftest$ac_exeext'
75763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75764 (eval $ac_try) 2>&5
75765 ac_status=$?
75766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75767 (exit $ac_status); }; }; then
75768 ac_cv_lib_m_main=yes
75769 else
75770 echo "$as_me: failed program was:" >&5
75771 sed 's/^/| /' conftest.$ac_ext >&5
75773 ac_cv_lib_m_main=no
75775 rm -f conftest.err conftest.$ac_objext \
75776 conftest$ac_exeext conftest.$ac_ext
75777 LIBS=$ac_check_lib_save_LIBS
75779 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
75780 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
75781 if test $ac_cv_lib_m_main = yes; then
75782 cat >>confdefs.h <<_ACEOF
75783 #define HAVE_LIBM 1
75784 _ACEOF
75786 LIBS="-lm $LIBS"
75791 for ac_func in copysignf
75793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75794 echo "$as_me:$LINENO: checking for $ac_func" >&5
75795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75796 if eval "test \"\${$as_ac_var+set}\" = set"; then
75797 echo $ECHO_N "(cached) $ECHO_C" >&6
75798 else
75799 if test x$gcc_no_link = xyes; then
75800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75802 { (exit 1); exit 1; }; }
75804 cat >conftest.$ac_ext <<_ACEOF
75805 /* confdefs.h. */
75806 _ACEOF
75807 cat confdefs.h >>conftest.$ac_ext
75808 cat >>conftest.$ac_ext <<_ACEOF
75809 /* end confdefs.h. */
75810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75812 #define $ac_func innocuous_$ac_func
75814 /* System header to define __stub macros and hopefully few prototypes,
75815 which can conflict with char $ac_func (); below.
75816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75817 <limits.h> exists even on freestanding compilers. */
75819 #ifdef __STDC__
75820 # include <limits.h>
75821 #else
75822 # include <assert.h>
75823 #endif
75825 #undef $ac_func
75827 /* Override any gcc2 internal prototype to avoid an error. */
75828 #ifdef __cplusplus
75829 extern "C"
75831 #endif
75832 /* We use char because int might match the return type of a gcc2
75833 builtin and then its argument prototype would still apply. */
75834 char $ac_func ();
75835 /* The GNU C library defines this for functions which it implements
75836 to always fail with ENOSYS. Some functions are actually named
75837 something starting with __ and the normal name is an alias. */
75838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75839 choke me
75840 #else
75841 char (*f) () = $ac_func;
75842 #endif
75843 #ifdef __cplusplus
75845 #endif
75848 main ()
75850 return f != $ac_func;
75852 return 0;
75854 _ACEOF
75855 rm -f conftest.$ac_objext conftest$ac_exeext
75856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75857 (eval $ac_link) 2>conftest.er1
75858 ac_status=$?
75859 grep -v '^ *+' conftest.er1 >conftest.err
75860 rm -f conftest.er1
75861 cat conftest.err >&5
75862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75863 (exit $ac_status); } &&
75864 { ac_try='test -z "$ac_c_werror_flag"
75865 || test ! -s conftest.err'
75866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75867 (eval $ac_try) 2>&5
75868 ac_status=$?
75869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75870 (exit $ac_status); }; } &&
75871 { ac_try='test -s conftest$ac_exeext'
75872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75873 (eval $ac_try) 2>&5
75874 ac_status=$?
75875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75876 (exit $ac_status); }; }; then
75877 eval "$as_ac_var=yes"
75878 else
75879 echo "$as_me: failed program was:" >&5
75880 sed 's/^/| /' conftest.$ac_ext >&5
75882 eval "$as_ac_var=no"
75884 rm -f conftest.err conftest.$ac_objext \
75885 conftest$ac_exeext conftest.$ac_ext
75887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75889 if test `eval echo '${'$as_ac_var'}'` = yes; then
75890 cat >>confdefs.h <<_ACEOF
75891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75892 _ACEOF
75894 else
75895 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
75897 done
75901 for ac_func in __signbit
75903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75904 echo "$as_me:$LINENO: checking for $ac_func" >&5
75905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75906 if eval "test \"\${$as_ac_var+set}\" = set"; then
75907 echo $ECHO_N "(cached) $ECHO_C" >&6
75908 else
75909 if test x$gcc_no_link = xyes; then
75910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75912 { (exit 1); exit 1; }; }
75914 cat >conftest.$ac_ext <<_ACEOF
75915 /* confdefs.h. */
75916 _ACEOF
75917 cat confdefs.h >>conftest.$ac_ext
75918 cat >>conftest.$ac_ext <<_ACEOF
75919 /* end confdefs.h. */
75920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75922 #define $ac_func innocuous_$ac_func
75924 /* System header to define __stub macros and hopefully few prototypes,
75925 which can conflict with char $ac_func (); below.
75926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75927 <limits.h> exists even on freestanding compilers. */
75929 #ifdef __STDC__
75930 # include <limits.h>
75931 #else
75932 # include <assert.h>
75933 #endif
75935 #undef $ac_func
75937 /* Override any gcc2 internal prototype to avoid an error. */
75938 #ifdef __cplusplus
75939 extern "C"
75941 #endif
75942 /* We use char because int might match the return type of a gcc2
75943 builtin and then its argument prototype would still apply. */
75944 char $ac_func ();
75945 /* The GNU C library defines this for functions which it implements
75946 to always fail with ENOSYS. Some functions are actually named
75947 something starting with __ and the normal name is an alias. */
75948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75949 choke me
75950 #else
75951 char (*f) () = $ac_func;
75952 #endif
75953 #ifdef __cplusplus
75955 #endif
75958 main ()
75960 return f != $ac_func;
75962 return 0;
75964 _ACEOF
75965 rm -f conftest.$ac_objext conftest$ac_exeext
75966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75967 (eval $ac_link) 2>conftest.er1
75968 ac_status=$?
75969 grep -v '^ *+' conftest.er1 >conftest.err
75970 rm -f conftest.er1
75971 cat conftest.err >&5
75972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75973 (exit $ac_status); } &&
75974 { ac_try='test -z "$ac_c_werror_flag"
75975 || test ! -s conftest.err'
75976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75977 (eval $ac_try) 2>&5
75978 ac_status=$?
75979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75980 (exit $ac_status); }; } &&
75981 { ac_try='test -s conftest$ac_exeext'
75982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75983 (eval $ac_try) 2>&5
75984 ac_status=$?
75985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75986 (exit $ac_status); }; }; then
75987 eval "$as_ac_var=yes"
75988 else
75989 echo "$as_me: failed program was:" >&5
75990 sed 's/^/| /' conftest.$ac_ext >&5
75992 eval "$as_ac_var=no"
75994 rm -f conftest.err conftest.$ac_objext \
75995 conftest$ac_exeext conftest.$ac_ext
75997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75999 if test `eval echo '${'$as_ac_var'}'` = yes; then
76000 cat >>confdefs.h <<_ACEOF
76001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76002 _ACEOF
76004 else
76005 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
76007 done
76011 for ac_func in __signbitf
76013 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76014 echo "$as_me:$LINENO: checking for $ac_func" >&5
76015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76016 if eval "test \"\${$as_ac_var+set}\" = set"; then
76017 echo $ECHO_N "(cached) $ECHO_C" >&6
76018 else
76019 if test x$gcc_no_link = xyes; then
76020 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76022 { (exit 1); exit 1; }; }
76024 cat >conftest.$ac_ext <<_ACEOF
76025 /* confdefs.h. */
76026 _ACEOF
76027 cat confdefs.h >>conftest.$ac_ext
76028 cat >>conftest.$ac_ext <<_ACEOF
76029 /* end confdefs.h. */
76030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76032 #define $ac_func innocuous_$ac_func
76034 /* System header to define __stub macros and hopefully few prototypes,
76035 which can conflict with char $ac_func (); below.
76036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76037 <limits.h> exists even on freestanding compilers. */
76039 #ifdef __STDC__
76040 # include <limits.h>
76041 #else
76042 # include <assert.h>
76043 #endif
76045 #undef $ac_func
76047 /* Override any gcc2 internal prototype to avoid an error. */
76048 #ifdef __cplusplus
76049 extern "C"
76051 #endif
76052 /* We use char because int might match the return type of a gcc2
76053 builtin and then its argument prototype would still apply. */
76054 char $ac_func ();
76055 /* The GNU C library defines this for functions which it implements
76056 to always fail with ENOSYS. Some functions are actually named
76057 something starting with __ and the normal name is an alias. */
76058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76059 choke me
76060 #else
76061 char (*f) () = $ac_func;
76062 #endif
76063 #ifdef __cplusplus
76065 #endif
76068 main ()
76070 return f != $ac_func;
76072 return 0;
76074 _ACEOF
76075 rm -f conftest.$ac_objext conftest$ac_exeext
76076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76077 (eval $ac_link) 2>conftest.er1
76078 ac_status=$?
76079 grep -v '^ *+' conftest.er1 >conftest.err
76080 rm -f conftest.er1
76081 cat conftest.err >&5
76082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76083 (exit $ac_status); } &&
76084 { ac_try='test -z "$ac_c_werror_flag"
76085 || test ! -s conftest.err'
76086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76087 (eval $ac_try) 2>&5
76088 ac_status=$?
76089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76090 (exit $ac_status); }; } &&
76091 { ac_try='test -s conftest$ac_exeext'
76092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76093 (eval $ac_try) 2>&5
76094 ac_status=$?
76095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76096 (exit $ac_status); }; }; then
76097 eval "$as_ac_var=yes"
76098 else
76099 echo "$as_me: failed program was:" >&5
76100 sed 's/^/| /' conftest.$ac_ext >&5
76102 eval "$as_ac_var=no"
76104 rm -f conftest.err conftest.$ac_objext \
76105 conftest$ac_exeext conftest.$ac_ext
76107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76108 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76109 if test `eval echo '${'$as_ac_var'}'` = yes; then
76110 cat >>confdefs.h <<_ACEOF
76111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76112 _ACEOF
76114 else
76115 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
76117 done
76120 if test x$ac_cv_func_copysignl = x"yes"; then
76122 for ac_func in __signbitl
76124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76125 echo "$as_me:$LINENO: checking for $ac_func" >&5
76126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76127 if eval "test \"\${$as_ac_var+set}\" = set"; then
76128 echo $ECHO_N "(cached) $ECHO_C" >&6
76129 else
76130 if test x$gcc_no_link = xyes; then
76131 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76133 { (exit 1); exit 1; }; }
76135 cat >conftest.$ac_ext <<_ACEOF
76136 /* confdefs.h. */
76137 _ACEOF
76138 cat confdefs.h >>conftest.$ac_ext
76139 cat >>conftest.$ac_ext <<_ACEOF
76140 /* end confdefs.h. */
76141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76143 #define $ac_func innocuous_$ac_func
76145 /* System header to define __stub macros and hopefully few prototypes,
76146 which can conflict with char $ac_func (); below.
76147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76148 <limits.h> exists even on freestanding compilers. */
76150 #ifdef __STDC__
76151 # include <limits.h>
76152 #else
76153 # include <assert.h>
76154 #endif
76156 #undef $ac_func
76158 /* Override any gcc2 internal prototype to avoid an error. */
76159 #ifdef __cplusplus
76160 extern "C"
76162 #endif
76163 /* We use char because int might match the return type of a gcc2
76164 builtin and then its argument prototype would still apply. */
76165 char $ac_func ();
76166 /* The GNU C library defines this for functions which it implements
76167 to always fail with ENOSYS. Some functions are actually named
76168 something starting with __ and the normal name is an alias. */
76169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76170 choke me
76171 #else
76172 char (*f) () = $ac_func;
76173 #endif
76174 #ifdef __cplusplus
76176 #endif
76179 main ()
76181 return f != $ac_func;
76183 return 0;
76185 _ACEOF
76186 rm -f conftest.$ac_objext conftest$ac_exeext
76187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76188 (eval $ac_link) 2>conftest.er1
76189 ac_status=$?
76190 grep -v '^ *+' conftest.er1 >conftest.err
76191 rm -f conftest.er1
76192 cat conftest.err >&5
76193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76194 (exit $ac_status); } &&
76195 { ac_try='test -z "$ac_c_werror_flag"
76196 || test ! -s conftest.err'
76197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76198 (eval $ac_try) 2>&5
76199 ac_status=$?
76200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76201 (exit $ac_status); }; } &&
76202 { ac_try='test -s conftest$ac_exeext'
76203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76204 (eval $ac_try) 2>&5
76205 ac_status=$?
76206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76207 (exit $ac_status); }; }; then
76208 eval "$as_ac_var=yes"
76209 else
76210 echo "$as_me: failed program was:" >&5
76211 sed 's/^/| /' conftest.$ac_ext >&5
76213 eval "$as_ac_var=no"
76215 rm -f conftest.err conftest.$ac_objext \
76216 conftest$ac_exeext conftest.$ac_ext
76218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76220 if test `eval echo '${'$as_ac_var'}'` = yes; then
76221 cat >>confdefs.h <<_ACEOF
76222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76223 _ACEOF
76225 else
76226 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
76228 done
76232 # Used in libmath/Makefile.am.
76233 if test -n "$LIBMATHOBJS"; then
76234 need_libmath=yes
76240 enable_iconv=no
76241 # Only continue checking if the ISO C99 headers exist and support is on.
76242 if test x"$enable_wchar_t" = xyes; then
76244 # Use iconv for wchar_t to char conversions. As such, check for
76245 # X/Open Portability Guide, version 2 features (XPG2).
76246 if test "${ac_cv_header_iconv_h+set}" = set; then
76247 echo "$as_me:$LINENO: checking for iconv.h" >&5
76248 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76249 if test "${ac_cv_header_iconv_h+set}" = set; then
76250 echo $ECHO_N "(cached) $ECHO_C" >&6
76252 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76253 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76254 else
76255 # Is the header compilable?
76256 echo "$as_me:$LINENO: checking iconv.h usability" >&5
76257 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
76258 cat >conftest.$ac_ext <<_ACEOF
76259 /* confdefs.h. */
76260 _ACEOF
76261 cat confdefs.h >>conftest.$ac_ext
76262 cat >>conftest.$ac_ext <<_ACEOF
76263 /* end confdefs.h. */
76264 $ac_includes_default
76265 #include <iconv.h>
76266 _ACEOF
76267 rm -f conftest.$ac_objext
76268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76269 (eval $ac_compile) 2>conftest.er1
76270 ac_status=$?
76271 grep -v '^ *+' conftest.er1 >conftest.err
76272 rm -f conftest.er1
76273 cat conftest.err >&5
76274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76275 (exit $ac_status); } &&
76276 { ac_try='test -z "$ac_c_werror_flag"
76277 || test ! -s conftest.err'
76278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76279 (eval $ac_try) 2>&5
76280 ac_status=$?
76281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76282 (exit $ac_status); }; } &&
76283 { ac_try='test -s conftest.$ac_objext'
76284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76285 (eval $ac_try) 2>&5
76286 ac_status=$?
76287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76288 (exit $ac_status); }; }; then
76289 ac_header_compiler=yes
76290 else
76291 echo "$as_me: failed program was:" >&5
76292 sed 's/^/| /' conftest.$ac_ext >&5
76294 ac_header_compiler=no
76296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76297 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76298 echo "${ECHO_T}$ac_header_compiler" >&6
76300 # Is the header present?
76301 echo "$as_me:$LINENO: checking iconv.h presence" >&5
76302 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
76303 cat >conftest.$ac_ext <<_ACEOF
76304 /* confdefs.h. */
76305 _ACEOF
76306 cat confdefs.h >>conftest.$ac_ext
76307 cat >>conftest.$ac_ext <<_ACEOF
76308 /* end confdefs.h. */
76309 #include <iconv.h>
76310 _ACEOF
76311 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76312 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76313 ac_status=$?
76314 grep -v '^ *+' conftest.er1 >conftest.err
76315 rm -f conftest.er1
76316 cat conftest.err >&5
76317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76318 (exit $ac_status); } >/dev/null; then
76319 if test -s conftest.err; then
76320 ac_cpp_err=$ac_c_preproc_warn_flag
76321 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76322 else
76323 ac_cpp_err=
76325 else
76326 ac_cpp_err=yes
76328 if test -z "$ac_cpp_err"; then
76329 ac_header_preproc=yes
76330 else
76331 echo "$as_me: failed program was:" >&5
76332 sed 's/^/| /' conftest.$ac_ext >&5
76334 ac_header_preproc=no
76336 rm -f conftest.err conftest.$ac_ext
76337 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76338 echo "${ECHO_T}$ac_header_preproc" >&6
76340 # So? What about this header?
76341 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76342 yes:no: )
76343 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
76344 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76345 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
76346 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
76347 ac_header_preproc=yes
76349 no:yes:* )
76350 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
76351 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
76352 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
76353 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
76354 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
76355 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
76356 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
76357 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
76358 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
76359 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
76360 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
76361 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
76363 cat <<\_ASBOX
76364 ## ----------------------------------------- ##
76365 ## Report this to the package-unused lists. ##
76366 ## ----------------------------------------- ##
76367 _ASBOX
76369 sed "s/^/$as_me: WARNING: /" >&2
76371 esac
76372 echo "$as_me:$LINENO: checking for iconv.h" >&5
76373 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76374 if test "${ac_cv_header_iconv_h+set}" = set; then
76375 echo $ECHO_N "(cached) $ECHO_C" >&6
76376 else
76377 ac_cv_header_iconv_h=$ac_header_preproc
76379 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76380 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76383 if test $ac_cv_header_iconv_h = yes; then
76384 ac_has_iconv_h=yes
76385 else
76386 ac_has_iconv_h=no
76390 if test "${ac_cv_header_langinfo_h+set}" = set; then
76391 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76392 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76393 if test "${ac_cv_header_langinfo_h+set}" = set; then
76394 echo $ECHO_N "(cached) $ECHO_C" >&6
76396 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76397 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76398 else
76399 # Is the header compilable?
76400 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
76401 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
76402 cat >conftest.$ac_ext <<_ACEOF
76403 /* confdefs.h. */
76404 _ACEOF
76405 cat confdefs.h >>conftest.$ac_ext
76406 cat >>conftest.$ac_ext <<_ACEOF
76407 /* end confdefs.h. */
76408 $ac_includes_default
76409 #include <langinfo.h>
76410 _ACEOF
76411 rm -f conftest.$ac_objext
76412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76413 (eval $ac_compile) 2>conftest.er1
76414 ac_status=$?
76415 grep -v '^ *+' conftest.er1 >conftest.err
76416 rm -f conftest.er1
76417 cat conftest.err >&5
76418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76419 (exit $ac_status); } &&
76420 { ac_try='test -z "$ac_c_werror_flag"
76421 || test ! -s conftest.err'
76422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76423 (eval $ac_try) 2>&5
76424 ac_status=$?
76425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76426 (exit $ac_status); }; } &&
76427 { ac_try='test -s conftest.$ac_objext'
76428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76429 (eval $ac_try) 2>&5
76430 ac_status=$?
76431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76432 (exit $ac_status); }; }; then
76433 ac_header_compiler=yes
76434 else
76435 echo "$as_me: failed program was:" >&5
76436 sed 's/^/| /' conftest.$ac_ext >&5
76438 ac_header_compiler=no
76440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76441 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76442 echo "${ECHO_T}$ac_header_compiler" >&6
76444 # Is the header present?
76445 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
76446 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
76447 cat >conftest.$ac_ext <<_ACEOF
76448 /* confdefs.h. */
76449 _ACEOF
76450 cat confdefs.h >>conftest.$ac_ext
76451 cat >>conftest.$ac_ext <<_ACEOF
76452 /* end confdefs.h. */
76453 #include <langinfo.h>
76454 _ACEOF
76455 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76456 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76457 ac_status=$?
76458 grep -v '^ *+' conftest.er1 >conftest.err
76459 rm -f conftest.er1
76460 cat conftest.err >&5
76461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76462 (exit $ac_status); } >/dev/null; then
76463 if test -s conftest.err; then
76464 ac_cpp_err=$ac_c_preproc_warn_flag
76465 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76466 else
76467 ac_cpp_err=
76469 else
76470 ac_cpp_err=yes
76472 if test -z "$ac_cpp_err"; then
76473 ac_header_preproc=yes
76474 else
76475 echo "$as_me: failed program was:" >&5
76476 sed 's/^/| /' conftest.$ac_ext >&5
76478 ac_header_preproc=no
76480 rm -f conftest.err conftest.$ac_ext
76481 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76482 echo "${ECHO_T}$ac_header_preproc" >&6
76484 # So? What about this header?
76485 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76486 yes:no: )
76487 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
76488 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76489 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
76490 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
76491 ac_header_preproc=yes
76493 no:yes:* )
76494 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
76495 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
76496 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
76497 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
76498 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
76499 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
76500 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
76501 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
76502 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
76503 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
76504 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
76505 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
76507 cat <<\_ASBOX
76508 ## ----------------------------------------- ##
76509 ## Report this to the package-unused lists. ##
76510 ## ----------------------------------------- ##
76511 _ASBOX
76513 sed "s/^/$as_me: WARNING: /" >&2
76515 esac
76516 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76517 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76518 if test "${ac_cv_header_langinfo_h+set}" = set; then
76519 echo $ECHO_N "(cached) $ECHO_C" >&6
76520 else
76521 ac_cv_header_langinfo_h=$ac_header_preproc
76523 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76524 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76527 if test $ac_cv_header_langinfo_h = yes; then
76528 ac_has_langinfo_h=yes
76529 else
76530 ac_has_langinfo_h=no
76535 # Check for existence of libiconv.a providing XPG2 wchar_t support.
76536 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
76537 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
76538 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
76539 echo $ECHO_N "(cached) $ECHO_C" >&6
76540 else
76541 ac_check_lib_save_LIBS=$LIBS
76542 LIBS="-liconv $LIBS"
76543 if test x$gcc_no_link = xyes; then
76544 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76546 { (exit 1); exit 1; }; }
76548 cat >conftest.$ac_ext <<_ACEOF
76549 /* confdefs.h. */
76550 _ACEOF
76551 cat confdefs.h >>conftest.$ac_ext
76552 cat >>conftest.$ac_ext <<_ACEOF
76553 /* end confdefs.h. */
76555 /* Override any gcc2 internal prototype to avoid an error. */
76556 #ifdef __cplusplus
76557 extern "C"
76558 #endif
76559 /* We use char because int might match the return type of a gcc2
76560 builtin and then its argument prototype would still apply. */
76561 char iconv ();
76563 main ()
76565 iconv ();
76567 return 0;
76569 _ACEOF
76570 rm -f conftest.$ac_objext conftest$ac_exeext
76571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76572 (eval $ac_link) 2>conftest.er1
76573 ac_status=$?
76574 grep -v '^ *+' conftest.er1 >conftest.err
76575 rm -f conftest.er1
76576 cat conftest.err >&5
76577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76578 (exit $ac_status); } &&
76579 { ac_try='test -z "$ac_c_werror_flag"
76580 || test ! -s conftest.err'
76581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76582 (eval $ac_try) 2>&5
76583 ac_status=$?
76584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76585 (exit $ac_status); }; } &&
76586 { ac_try='test -s conftest$ac_exeext'
76587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76588 (eval $ac_try) 2>&5
76589 ac_status=$?
76590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76591 (exit $ac_status); }; }; then
76592 ac_cv_lib_iconv_iconv=yes
76593 else
76594 echo "$as_me: failed program was:" >&5
76595 sed 's/^/| /' conftest.$ac_ext >&5
76597 ac_cv_lib_iconv_iconv=no
76599 rm -f conftest.err conftest.$ac_objext \
76600 conftest$ac_exeext conftest.$ac_ext
76601 LIBS=$ac_check_lib_save_LIBS
76603 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
76604 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
76605 if test $ac_cv_lib_iconv_iconv = yes; then
76606 LIBICONV="-liconv"
76609 ac_save_LIBS="$LIBS"
76610 LIBS="$LIBS $LIBICONV"
76617 for ac_func in iconv_open iconv_close iconv nl_langinfo
76619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76620 echo "$as_me:$LINENO: checking for $ac_func" >&5
76621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76622 if eval "test \"\${$as_ac_var+set}\" = set"; then
76623 echo $ECHO_N "(cached) $ECHO_C" >&6
76624 else
76625 if test x$gcc_no_link = xyes; then
76626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76628 { (exit 1); exit 1; }; }
76630 cat >conftest.$ac_ext <<_ACEOF
76631 /* confdefs.h. */
76632 _ACEOF
76633 cat confdefs.h >>conftest.$ac_ext
76634 cat >>conftest.$ac_ext <<_ACEOF
76635 /* end confdefs.h. */
76636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76638 #define $ac_func innocuous_$ac_func
76640 /* System header to define __stub macros and hopefully few prototypes,
76641 which can conflict with char $ac_func (); below.
76642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76643 <limits.h> exists even on freestanding compilers. */
76645 #ifdef __STDC__
76646 # include <limits.h>
76647 #else
76648 # include <assert.h>
76649 #endif
76651 #undef $ac_func
76653 /* Override any gcc2 internal prototype to avoid an error. */
76654 #ifdef __cplusplus
76655 extern "C"
76657 #endif
76658 /* We use char because int might match the return type of a gcc2
76659 builtin and then its argument prototype would still apply. */
76660 char $ac_func ();
76661 /* The GNU C library defines this for functions which it implements
76662 to always fail with ENOSYS. Some functions are actually named
76663 something starting with __ and the normal name is an alias. */
76664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76665 choke me
76666 #else
76667 char (*f) () = $ac_func;
76668 #endif
76669 #ifdef __cplusplus
76671 #endif
76674 main ()
76676 return f != $ac_func;
76678 return 0;
76680 _ACEOF
76681 rm -f conftest.$ac_objext conftest$ac_exeext
76682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76683 (eval $ac_link) 2>conftest.er1
76684 ac_status=$?
76685 grep -v '^ *+' conftest.er1 >conftest.err
76686 rm -f conftest.er1
76687 cat conftest.err >&5
76688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76689 (exit $ac_status); } &&
76690 { ac_try='test -z "$ac_c_werror_flag"
76691 || test ! -s conftest.err'
76692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76693 (eval $ac_try) 2>&5
76694 ac_status=$?
76695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76696 (exit $ac_status); }; } &&
76697 { ac_try='test -s conftest$ac_exeext'
76698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76699 (eval $ac_try) 2>&5
76700 ac_status=$?
76701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76702 (exit $ac_status); }; }; then
76703 eval "$as_ac_var=yes"
76704 else
76705 echo "$as_me: failed program was:" >&5
76706 sed 's/^/| /' conftest.$ac_ext >&5
76708 eval "$as_ac_var=no"
76710 rm -f conftest.err conftest.$ac_objext \
76711 conftest$ac_exeext conftest.$ac_ext
76713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76715 if test `eval echo '${'$as_ac_var'}'` = yes; then
76716 cat >>confdefs.h <<_ACEOF
76717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76718 _ACEOF
76719 ac_XPG2funcs=yes
76720 else
76721 ac_XPG2funcs=no
76723 done
76726 LIBS="$ac_save_LIBS"
76728 if test x"$ac_has_iconv_h" = xyes &&
76729 test x"$ac_has_langinfo_h" = xyes &&
76730 test x"$ac_XPG2funcs" = xyes;
76731 then
76733 cat >>confdefs.h <<\_ACEOF
76734 #define _GLIBCXX_USE_ICONV 1
76735 _ACEOF
76737 enable_iconv=yes
76740 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
76741 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
76742 echo "$as_me:$LINENO: result: $enable_iconv" >&5
76743 echo "${ECHO_T}$enable_iconv" >&6
76745 cat >>confdefs.h <<\_ACEOF
76746 #define HAVE_COPYSIGN 1
76747 _ACEOF
76749 cat >>confdefs.h <<\_ACEOF
76750 #define HAVE_COPYSIGNF 1
76751 _ACEOF
76753 cat >>confdefs.h <<\_ACEOF
76754 #define HAVE_FREXPF 1
76755 _ACEOF
76757 cat >>confdefs.h <<\_ACEOF
76758 #define HAVE_HYPOT 1
76759 _ACEOF
76761 case "$target" in
76762 *-hpux10*)
76763 cat >>confdefs.h <<\_ACEOF
76764 #define HAVE_FINITE 1
76765 _ACEOF
76767 cat >>confdefs.h <<\_ACEOF
76768 #define HAVE_FINITEF 1
76769 _ACEOF
76771 cat >>confdefs.h <<\_ACEOF
76772 #define HAVE_ISINF 1
76773 _ACEOF
76775 cat >>confdefs.h <<\_ACEOF
76776 #define HAVE_ISINFF 1
76777 _ACEOF
76779 cat >>confdefs.h <<\_ACEOF
76780 #define HAVE_ISNAN 1
76781 _ACEOF
76783 cat >>confdefs.h <<\_ACEOF
76784 #define HAVE_ISNANF 1
76785 _ACEOF
76788 esac
76790 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
76806 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
76807 machine/endian.h machine/param.h sys/machine.h sys/types.h \
76808 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
76810 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76812 echo "$as_me:$LINENO: checking for $ac_header" >&5
76813 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76814 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76815 echo $ECHO_N "(cached) $ECHO_C" >&6
76817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76818 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76819 else
76820 # Is the header compilable?
76821 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76822 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76823 cat >conftest.$ac_ext <<_ACEOF
76824 /* confdefs.h. */
76825 _ACEOF
76826 cat confdefs.h >>conftest.$ac_ext
76827 cat >>conftest.$ac_ext <<_ACEOF
76828 /* end confdefs.h. */
76829 $ac_includes_default
76830 #include <$ac_header>
76831 _ACEOF
76832 rm -f conftest.$ac_objext
76833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76834 (eval $ac_compile) 2>conftest.er1
76835 ac_status=$?
76836 grep -v '^ *+' conftest.er1 >conftest.err
76837 rm -f conftest.er1
76838 cat conftest.err >&5
76839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76840 (exit $ac_status); } &&
76841 { ac_try='test -z "$ac_c_werror_flag"
76842 || test ! -s conftest.err'
76843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76844 (eval $ac_try) 2>&5
76845 ac_status=$?
76846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76847 (exit $ac_status); }; } &&
76848 { ac_try='test -s conftest.$ac_objext'
76849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76850 (eval $ac_try) 2>&5
76851 ac_status=$?
76852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76853 (exit $ac_status); }; }; then
76854 ac_header_compiler=yes
76855 else
76856 echo "$as_me: failed program was:" >&5
76857 sed 's/^/| /' conftest.$ac_ext >&5
76859 ac_header_compiler=no
76861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76862 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76863 echo "${ECHO_T}$ac_header_compiler" >&6
76865 # Is the header present?
76866 echo "$as_me:$LINENO: checking $ac_header presence" >&5
76867 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
76868 cat >conftest.$ac_ext <<_ACEOF
76869 /* confdefs.h. */
76870 _ACEOF
76871 cat confdefs.h >>conftest.$ac_ext
76872 cat >>conftest.$ac_ext <<_ACEOF
76873 /* end confdefs.h. */
76874 #include <$ac_header>
76875 _ACEOF
76876 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76877 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76878 ac_status=$?
76879 grep -v '^ *+' conftest.er1 >conftest.err
76880 rm -f conftest.er1
76881 cat conftest.err >&5
76882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76883 (exit $ac_status); } >/dev/null; then
76884 if test -s conftest.err; then
76885 ac_cpp_err=$ac_c_preproc_warn_flag
76886 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76887 else
76888 ac_cpp_err=
76890 else
76891 ac_cpp_err=yes
76893 if test -z "$ac_cpp_err"; then
76894 ac_header_preproc=yes
76895 else
76896 echo "$as_me: failed program was:" >&5
76897 sed 's/^/| /' conftest.$ac_ext >&5
76899 ac_header_preproc=no
76901 rm -f conftest.err conftest.$ac_ext
76902 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76903 echo "${ECHO_T}$ac_header_preproc" >&6
76905 # So? What about this header?
76906 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76907 yes:no: )
76908 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76909 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76910 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76911 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76912 ac_header_preproc=yes
76914 no:yes:* )
76915 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76916 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76917 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
76918 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
76919 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76920 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76921 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
76922 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
76923 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76924 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76925 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76926 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76928 cat <<\_ASBOX
76929 ## ----------------------------------------- ##
76930 ## Report this to the package-unused lists. ##
76931 ## ----------------------------------------- ##
76932 _ASBOX
76934 sed "s/^/$as_me: WARNING: /" >&2
76936 esac
76937 echo "$as_me:$LINENO: checking for $ac_header" >&5
76938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76940 echo $ECHO_N "(cached) $ECHO_C" >&6
76941 else
76942 eval "$as_ac_Header=\$ac_header_preproc"
76944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76945 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76948 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76949 cat >>confdefs.h <<_ACEOF
76950 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76951 _ACEOF
76955 done
76957 SECTION_FLAGS='-ffunction-sections -fdata-sections'
76960 # If we're not using GNU ld, then there's no point in even trying these
76961 # tests. Check for that first. We should have already tested for gld
76962 # by now (in libtool), but require it now just to be safe...
76963 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
76964 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
76968 # The name set by libtool depends on the version of libtool. Shame on us
76969 # for depending on an impl detail, but c'est la vie. Older versions used
76970 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
76971 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
76972 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
76973 # set (hence we're using an older libtool), then set it.
76974 if test x${with_gnu_ld+set} != xset; then
76975 if test x${ac_cv_prog_gnu_ld+set} != xset; then
76976 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
76977 with_gnu_ld=no
76978 else
76979 with_gnu_ld=$ac_cv_prog_gnu_ld
76983 # Start by getting the version number. I think the libtool test already
76984 # does some of this, but throws away the result.
76986 ldver=`$LD --version 2>/dev/null | head -1 | \
76987 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
76989 glibcxx_gnu_ld_version=`echo $ldver | \
76990 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
76992 # Set --gc-sections.
76993 if test "$with_gnu_ld" = "notbroken"; then
76994 # GNU ld it is! Joy and bunny rabbits!
76996 # All these tests are for C++; save the language and the compiler flags.
76997 # Need to do this so that g++ won't try to link in libstdc++
76998 ac_test_CFLAGS="${CFLAGS+set}"
76999 ac_save_CFLAGS="$CFLAGS"
77000 CFLAGS='-x c++ -Wl,--gc-sections'
77002 # Check for -Wl,--gc-sections
77003 # XXX This test is broken at the moment, as symbols required for linking
77004 # are now in libsupc++ (not built yet). In addition, this test has
77005 # cored on solaris in the past. In addition, --gc-sections doesn't
77006 # really work at the moment (keeps on discarding used sections, first
77007 # .eh_frame and now some of the glibc sections for iconv).
77008 # Bzzzzt. Thanks for playing, maybe next time.
77009 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77010 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77011 if test "$cross_compiling" = yes; then
77012 ac_sectionLDflags=yes
77013 else
77014 cat >conftest.$ac_ext <<_ACEOF
77015 /* confdefs.h. */
77016 _ACEOF
77017 cat confdefs.h >>conftest.$ac_ext
77018 cat >>conftest.$ac_ext <<_ACEOF
77019 /* end confdefs.h. */
77021 int main(void)
77023 try { throw 1; }
77024 catch (...) { };
77025 return 0;
77028 _ACEOF
77029 rm -f conftest$ac_exeext
77030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77031 (eval $ac_link) 2>&5
77032 ac_status=$?
77033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77034 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
77035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77036 (eval $ac_try) 2>&5
77037 ac_status=$?
77038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77039 (exit $ac_status); }; }; then
77040 ac_sectionLDflags=yes
77041 else
77042 echo "$as_me: program exited with status $ac_status" >&5
77043 echo "$as_me: failed program was:" >&5
77044 sed 's/^/| /' conftest.$ac_ext >&5
77046 ( exit $ac_status )
77047 ac_sectionLDflags=no
77049 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
77051 if test "$ac_test_CFLAGS" = set; then
77052 CFLAGS="$ac_save_CFLAGS"
77053 else
77054 # this is the suspicious part
77055 CFLAGS=''
77057 if test "$ac_sectionLDflags" = "yes"; then
77058 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77060 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
77061 echo "${ECHO_T}$ac_sectionLDflags" >&6
77064 # Set linker optimization flags.
77065 if test x"$with_gnu_ld" = x"yes"; then
77066 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77074 echo "$as_me:$LINENO: checking for main in -lm" >&5
77075 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
77076 if test "${ac_cv_lib_m_main+set}" = set; then
77077 echo $ECHO_N "(cached) $ECHO_C" >&6
77078 else
77079 ac_check_lib_save_LIBS=$LIBS
77080 LIBS="-lm $LIBS"
77081 if test x$gcc_no_link = xyes; then
77082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77084 { (exit 1); exit 1; }; }
77086 cat >conftest.$ac_ext <<_ACEOF
77087 /* confdefs.h. */
77088 _ACEOF
77089 cat confdefs.h >>conftest.$ac_ext
77090 cat >>conftest.$ac_ext <<_ACEOF
77091 /* end confdefs.h. */
77095 main ()
77097 main ();
77099 return 0;
77101 _ACEOF
77102 rm -f conftest.$ac_objext conftest$ac_exeext
77103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77104 (eval $ac_link) 2>conftest.er1
77105 ac_status=$?
77106 grep -v '^ *+' conftest.er1 >conftest.err
77107 rm -f conftest.er1
77108 cat conftest.err >&5
77109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77110 (exit $ac_status); } &&
77111 { ac_try='test -z "$ac_c_werror_flag"
77112 || test ! -s conftest.err'
77113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77114 (eval $ac_try) 2>&5
77115 ac_status=$?
77116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77117 (exit $ac_status); }; } &&
77118 { ac_try='test -s conftest$ac_exeext'
77119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77120 (eval $ac_try) 2>&5
77121 ac_status=$?
77122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77123 (exit $ac_status); }; }; then
77124 ac_cv_lib_m_main=yes
77125 else
77126 echo "$as_me: failed program was:" >&5
77127 sed 's/^/| /' conftest.$ac_ext >&5
77129 ac_cv_lib_m_main=no
77131 rm -f conftest.err conftest.$ac_objext \
77132 conftest$ac_exeext conftest.$ac_ext
77133 LIBS=$ac_check_lib_save_LIBS
77135 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77136 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77137 if test $ac_cv_lib_m_main = yes; then
77138 cat >>confdefs.h <<_ACEOF
77139 #define HAVE_LIBM 1
77140 _ACEOF
77142 LIBS="-lm $LIBS"
77147 for ac_func in copysignf
77149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77150 echo "$as_me:$LINENO: checking for $ac_func" >&5
77151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77152 if eval "test \"\${$as_ac_var+set}\" = set"; then
77153 echo $ECHO_N "(cached) $ECHO_C" >&6
77154 else
77155 if test x$gcc_no_link = xyes; then
77156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77158 { (exit 1); exit 1; }; }
77160 cat >conftest.$ac_ext <<_ACEOF
77161 /* confdefs.h. */
77162 _ACEOF
77163 cat confdefs.h >>conftest.$ac_ext
77164 cat >>conftest.$ac_ext <<_ACEOF
77165 /* end confdefs.h. */
77166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77167 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77168 #define $ac_func innocuous_$ac_func
77170 /* System header to define __stub macros and hopefully few prototypes,
77171 which can conflict with char $ac_func (); below.
77172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77173 <limits.h> exists even on freestanding compilers. */
77175 #ifdef __STDC__
77176 # include <limits.h>
77177 #else
77178 # include <assert.h>
77179 #endif
77181 #undef $ac_func
77183 /* Override any gcc2 internal prototype to avoid an error. */
77184 #ifdef __cplusplus
77185 extern "C"
77187 #endif
77188 /* We use char because int might match the return type of a gcc2
77189 builtin and then its argument prototype would still apply. */
77190 char $ac_func ();
77191 /* The GNU C library defines this for functions which it implements
77192 to always fail with ENOSYS. Some functions are actually named
77193 something starting with __ and the normal name is an alias. */
77194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77195 choke me
77196 #else
77197 char (*f) () = $ac_func;
77198 #endif
77199 #ifdef __cplusplus
77201 #endif
77204 main ()
77206 return f != $ac_func;
77208 return 0;
77210 _ACEOF
77211 rm -f conftest.$ac_objext conftest$ac_exeext
77212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77213 (eval $ac_link) 2>conftest.er1
77214 ac_status=$?
77215 grep -v '^ *+' conftest.er1 >conftest.err
77216 rm -f conftest.er1
77217 cat conftest.err >&5
77218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77219 (exit $ac_status); } &&
77220 { ac_try='test -z "$ac_c_werror_flag"
77221 || test ! -s conftest.err'
77222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77223 (eval $ac_try) 2>&5
77224 ac_status=$?
77225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77226 (exit $ac_status); }; } &&
77227 { ac_try='test -s conftest$ac_exeext'
77228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77229 (eval $ac_try) 2>&5
77230 ac_status=$?
77231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77232 (exit $ac_status); }; }; then
77233 eval "$as_ac_var=yes"
77234 else
77235 echo "$as_me: failed program was:" >&5
77236 sed 's/^/| /' conftest.$ac_ext >&5
77238 eval "$as_ac_var=no"
77240 rm -f conftest.err conftest.$ac_objext \
77241 conftest$ac_exeext conftest.$ac_ext
77243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77245 if test `eval echo '${'$as_ac_var'}'` = yes; then
77246 cat >>confdefs.h <<_ACEOF
77247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77248 _ACEOF
77250 else
77251 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77253 done
77257 for ac_func in __signbit
77259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77260 echo "$as_me:$LINENO: checking for $ac_func" >&5
77261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77262 if eval "test \"\${$as_ac_var+set}\" = set"; then
77263 echo $ECHO_N "(cached) $ECHO_C" >&6
77264 else
77265 if test x$gcc_no_link = xyes; then
77266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77268 { (exit 1); exit 1; }; }
77270 cat >conftest.$ac_ext <<_ACEOF
77271 /* confdefs.h. */
77272 _ACEOF
77273 cat confdefs.h >>conftest.$ac_ext
77274 cat >>conftest.$ac_ext <<_ACEOF
77275 /* end confdefs.h. */
77276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77278 #define $ac_func innocuous_$ac_func
77280 /* System header to define __stub macros and hopefully few prototypes,
77281 which can conflict with char $ac_func (); below.
77282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77283 <limits.h> exists even on freestanding compilers. */
77285 #ifdef __STDC__
77286 # include <limits.h>
77287 #else
77288 # include <assert.h>
77289 #endif
77291 #undef $ac_func
77293 /* Override any gcc2 internal prototype to avoid an error. */
77294 #ifdef __cplusplus
77295 extern "C"
77297 #endif
77298 /* We use char because int might match the return type of a gcc2
77299 builtin and then its argument prototype would still apply. */
77300 char $ac_func ();
77301 /* The GNU C library defines this for functions which it implements
77302 to always fail with ENOSYS. Some functions are actually named
77303 something starting with __ and the normal name is an alias. */
77304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77305 choke me
77306 #else
77307 char (*f) () = $ac_func;
77308 #endif
77309 #ifdef __cplusplus
77311 #endif
77314 main ()
77316 return f != $ac_func;
77318 return 0;
77320 _ACEOF
77321 rm -f conftest.$ac_objext conftest$ac_exeext
77322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77323 (eval $ac_link) 2>conftest.er1
77324 ac_status=$?
77325 grep -v '^ *+' conftest.er1 >conftest.err
77326 rm -f conftest.er1
77327 cat conftest.err >&5
77328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77329 (exit $ac_status); } &&
77330 { ac_try='test -z "$ac_c_werror_flag"
77331 || test ! -s conftest.err'
77332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77333 (eval $ac_try) 2>&5
77334 ac_status=$?
77335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77336 (exit $ac_status); }; } &&
77337 { ac_try='test -s conftest$ac_exeext'
77338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77339 (eval $ac_try) 2>&5
77340 ac_status=$?
77341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77342 (exit $ac_status); }; }; then
77343 eval "$as_ac_var=yes"
77344 else
77345 echo "$as_me: failed program was:" >&5
77346 sed 's/^/| /' conftest.$ac_ext >&5
77348 eval "$as_ac_var=no"
77350 rm -f conftest.err conftest.$ac_objext \
77351 conftest$ac_exeext conftest.$ac_ext
77353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77355 if test `eval echo '${'$as_ac_var'}'` = yes; then
77356 cat >>confdefs.h <<_ACEOF
77357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77358 _ACEOF
77360 else
77361 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77363 done
77367 for ac_func in __signbitf
77369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77370 echo "$as_me:$LINENO: checking for $ac_func" >&5
77371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77372 if eval "test \"\${$as_ac_var+set}\" = set"; then
77373 echo $ECHO_N "(cached) $ECHO_C" >&6
77374 else
77375 if test x$gcc_no_link = xyes; then
77376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77378 { (exit 1); exit 1; }; }
77380 cat >conftest.$ac_ext <<_ACEOF
77381 /* confdefs.h. */
77382 _ACEOF
77383 cat confdefs.h >>conftest.$ac_ext
77384 cat >>conftest.$ac_ext <<_ACEOF
77385 /* end confdefs.h. */
77386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77388 #define $ac_func innocuous_$ac_func
77390 /* System header to define __stub macros and hopefully few prototypes,
77391 which can conflict with char $ac_func (); below.
77392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77393 <limits.h> exists even on freestanding compilers. */
77395 #ifdef __STDC__
77396 # include <limits.h>
77397 #else
77398 # include <assert.h>
77399 #endif
77401 #undef $ac_func
77403 /* Override any gcc2 internal prototype to avoid an error. */
77404 #ifdef __cplusplus
77405 extern "C"
77407 #endif
77408 /* We use char because int might match the return type of a gcc2
77409 builtin and then its argument prototype would still apply. */
77410 char $ac_func ();
77411 /* The GNU C library defines this for functions which it implements
77412 to always fail with ENOSYS. Some functions are actually named
77413 something starting with __ and the normal name is an alias. */
77414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77415 choke me
77416 #else
77417 char (*f) () = $ac_func;
77418 #endif
77419 #ifdef __cplusplus
77421 #endif
77424 main ()
77426 return f != $ac_func;
77428 return 0;
77430 _ACEOF
77431 rm -f conftest.$ac_objext conftest$ac_exeext
77432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77433 (eval $ac_link) 2>conftest.er1
77434 ac_status=$?
77435 grep -v '^ *+' conftest.er1 >conftest.err
77436 rm -f conftest.er1
77437 cat conftest.err >&5
77438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77439 (exit $ac_status); } &&
77440 { ac_try='test -z "$ac_c_werror_flag"
77441 || test ! -s conftest.err'
77442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77443 (eval $ac_try) 2>&5
77444 ac_status=$?
77445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77446 (exit $ac_status); }; } &&
77447 { ac_try='test -s conftest$ac_exeext'
77448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77449 (eval $ac_try) 2>&5
77450 ac_status=$?
77451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77452 (exit $ac_status); }; }; then
77453 eval "$as_ac_var=yes"
77454 else
77455 echo "$as_me: failed program was:" >&5
77456 sed 's/^/| /' conftest.$ac_ext >&5
77458 eval "$as_ac_var=no"
77460 rm -f conftest.err conftest.$ac_objext \
77461 conftest$ac_exeext conftest.$ac_ext
77463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77465 if test `eval echo '${'$as_ac_var'}'` = yes; then
77466 cat >>confdefs.h <<_ACEOF
77467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77468 _ACEOF
77470 else
77471 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
77473 done
77476 if test x$ac_cv_func_copysignl = x"yes"; then
77478 for ac_func in __signbitl
77480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77481 echo "$as_me:$LINENO: checking for $ac_func" >&5
77482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77483 if eval "test \"\${$as_ac_var+set}\" = set"; then
77484 echo $ECHO_N "(cached) $ECHO_C" >&6
77485 else
77486 if test x$gcc_no_link = xyes; then
77487 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77489 { (exit 1); exit 1; }; }
77491 cat >conftest.$ac_ext <<_ACEOF
77492 /* confdefs.h. */
77493 _ACEOF
77494 cat confdefs.h >>conftest.$ac_ext
77495 cat >>conftest.$ac_ext <<_ACEOF
77496 /* end confdefs.h. */
77497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77499 #define $ac_func innocuous_$ac_func
77501 /* System header to define __stub macros and hopefully few prototypes,
77502 which can conflict with char $ac_func (); below.
77503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77504 <limits.h> exists even on freestanding compilers. */
77506 #ifdef __STDC__
77507 # include <limits.h>
77508 #else
77509 # include <assert.h>
77510 #endif
77512 #undef $ac_func
77514 /* Override any gcc2 internal prototype to avoid an error. */
77515 #ifdef __cplusplus
77516 extern "C"
77518 #endif
77519 /* We use char because int might match the return type of a gcc2
77520 builtin and then its argument prototype would still apply. */
77521 char $ac_func ();
77522 /* The GNU C library defines this for functions which it implements
77523 to always fail with ENOSYS. Some functions are actually named
77524 something starting with __ and the normal name is an alias. */
77525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77526 choke me
77527 #else
77528 char (*f) () = $ac_func;
77529 #endif
77530 #ifdef __cplusplus
77532 #endif
77535 main ()
77537 return f != $ac_func;
77539 return 0;
77541 _ACEOF
77542 rm -f conftest.$ac_objext conftest$ac_exeext
77543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77544 (eval $ac_link) 2>conftest.er1
77545 ac_status=$?
77546 grep -v '^ *+' conftest.er1 >conftest.err
77547 rm -f conftest.er1
77548 cat conftest.err >&5
77549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77550 (exit $ac_status); } &&
77551 { ac_try='test -z "$ac_c_werror_flag"
77552 || test ! -s conftest.err'
77553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77554 (eval $ac_try) 2>&5
77555 ac_status=$?
77556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77557 (exit $ac_status); }; } &&
77558 { ac_try='test -s conftest$ac_exeext'
77559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77560 (eval $ac_try) 2>&5
77561 ac_status=$?
77562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77563 (exit $ac_status); }; }; then
77564 eval "$as_ac_var=yes"
77565 else
77566 echo "$as_me: failed program was:" >&5
77567 sed 's/^/| /' conftest.$ac_ext >&5
77569 eval "$as_ac_var=no"
77571 rm -f conftest.err conftest.$ac_objext \
77572 conftest$ac_exeext conftest.$ac_ext
77574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77576 if test `eval echo '${'$as_ac_var'}'` = yes; then
77577 cat >>confdefs.h <<_ACEOF
77578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77579 _ACEOF
77581 else
77582 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
77584 done
77588 # Used in libmath/Makefile.am.
77589 if test -n "$LIBMATHOBJS"; then
77590 need_libmath=yes
77596 enable_iconv=no
77597 # Only continue checking if the ISO C99 headers exist and support is on.
77598 if test x"$enable_wchar_t" = xyes; then
77600 # Use iconv for wchar_t to char conversions. As such, check for
77601 # X/Open Portability Guide, version 2 features (XPG2).
77602 if test "${ac_cv_header_iconv_h+set}" = set; then
77603 echo "$as_me:$LINENO: checking for iconv.h" >&5
77604 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77605 if test "${ac_cv_header_iconv_h+set}" = set; then
77606 echo $ECHO_N "(cached) $ECHO_C" >&6
77608 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77609 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77610 else
77611 # Is the header compilable?
77612 echo "$as_me:$LINENO: checking iconv.h usability" >&5
77613 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
77614 cat >conftest.$ac_ext <<_ACEOF
77615 /* confdefs.h. */
77616 _ACEOF
77617 cat confdefs.h >>conftest.$ac_ext
77618 cat >>conftest.$ac_ext <<_ACEOF
77619 /* end confdefs.h. */
77620 $ac_includes_default
77621 #include <iconv.h>
77622 _ACEOF
77623 rm -f conftest.$ac_objext
77624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77625 (eval $ac_compile) 2>conftest.er1
77626 ac_status=$?
77627 grep -v '^ *+' conftest.er1 >conftest.err
77628 rm -f conftest.er1
77629 cat conftest.err >&5
77630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77631 (exit $ac_status); } &&
77632 { ac_try='test -z "$ac_c_werror_flag"
77633 || test ! -s conftest.err'
77634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77635 (eval $ac_try) 2>&5
77636 ac_status=$?
77637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77638 (exit $ac_status); }; } &&
77639 { ac_try='test -s conftest.$ac_objext'
77640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77641 (eval $ac_try) 2>&5
77642 ac_status=$?
77643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77644 (exit $ac_status); }; }; then
77645 ac_header_compiler=yes
77646 else
77647 echo "$as_me: failed program was:" >&5
77648 sed 's/^/| /' conftest.$ac_ext >&5
77650 ac_header_compiler=no
77652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77653 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77654 echo "${ECHO_T}$ac_header_compiler" >&6
77656 # Is the header present?
77657 echo "$as_me:$LINENO: checking iconv.h presence" >&5
77658 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
77659 cat >conftest.$ac_ext <<_ACEOF
77660 /* confdefs.h. */
77661 _ACEOF
77662 cat confdefs.h >>conftest.$ac_ext
77663 cat >>conftest.$ac_ext <<_ACEOF
77664 /* end confdefs.h. */
77665 #include <iconv.h>
77666 _ACEOF
77667 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77668 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77669 ac_status=$?
77670 grep -v '^ *+' conftest.er1 >conftest.err
77671 rm -f conftest.er1
77672 cat conftest.err >&5
77673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77674 (exit $ac_status); } >/dev/null; then
77675 if test -s conftest.err; then
77676 ac_cpp_err=$ac_c_preproc_warn_flag
77677 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77678 else
77679 ac_cpp_err=
77681 else
77682 ac_cpp_err=yes
77684 if test -z "$ac_cpp_err"; then
77685 ac_header_preproc=yes
77686 else
77687 echo "$as_me: failed program was:" >&5
77688 sed 's/^/| /' conftest.$ac_ext >&5
77690 ac_header_preproc=no
77692 rm -f conftest.err conftest.$ac_ext
77693 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77694 echo "${ECHO_T}$ac_header_preproc" >&6
77696 # So? What about this header?
77697 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77698 yes:no: )
77699 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
77700 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
77701 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
77702 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
77703 ac_header_preproc=yes
77705 no:yes:* )
77706 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
77707 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
77708 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
77709 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
77710 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
77711 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
77712 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
77713 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
77714 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
77715 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
77716 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
77717 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
77719 cat <<\_ASBOX
77720 ## ----------------------------------------- ##
77721 ## Report this to the package-unused lists. ##
77722 ## ----------------------------------------- ##
77723 _ASBOX
77725 sed "s/^/$as_me: WARNING: /" >&2
77727 esac
77728 echo "$as_me:$LINENO: checking for iconv.h" >&5
77729 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77730 if test "${ac_cv_header_iconv_h+set}" = set; then
77731 echo $ECHO_N "(cached) $ECHO_C" >&6
77732 else
77733 ac_cv_header_iconv_h=$ac_header_preproc
77735 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77736 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77739 if test $ac_cv_header_iconv_h = yes; then
77740 ac_has_iconv_h=yes
77741 else
77742 ac_has_iconv_h=no
77746 if test "${ac_cv_header_langinfo_h+set}" = set; then
77747 echo "$as_me:$LINENO: checking for langinfo.h" >&5
77748 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
77749 if test "${ac_cv_header_langinfo_h+set}" = set; then
77750 echo $ECHO_N "(cached) $ECHO_C" >&6
77752 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
77753 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77754 else
77755 # Is the header compilable?
77756 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
77757 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
77758 cat >conftest.$ac_ext <<_ACEOF
77759 /* confdefs.h. */
77760 _ACEOF
77761 cat confdefs.h >>conftest.$ac_ext
77762 cat >>conftest.$ac_ext <<_ACEOF
77763 /* end confdefs.h. */
77764 $ac_includes_default
77765 #include <langinfo.h>
77766 _ACEOF
77767 rm -f conftest.$ac_objext
77768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77769 (eval $ac_compile) 2>conftest.er1
77770 ac_status=$?
77771 grep -v '^ *+' conftest.er1 >conftest.err
77772 rm -f conftest.er1
77773 cat conftest.err >&5
77774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77775 (exit $ac_status); } &&
77776 { ac_try='test -z "$ac_c_werror_flag"
77777 || test ! -s conftest.err'
77778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77779 (eval $ac_try) 2>&5
77780 ac_status=$?
77781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77782 (exit $ac_status); }; } &&
77783 { ac_try='test -s conftest.$ac_objext'
77784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77785 (eval $ac_try) 2>&5
77786 ac_status=$?
77787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77788 (exit $ac_status); }; }; then
77789 ac_header_compiler=yes
77790 else
77791 echo "$as_me: failed program was:" >&5
77792 sed 's/^/| /' conftest.$ac_ext >&5
77794 ac_header_compiler=no
77796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77797 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77798 echo "${ECHO_T}$ac_header_compiler" >&6
77800 # Is the header present?
77801 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
77802 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
77803 cat >conftest.$ac_ext <<_ACEOF
77804 /* confdefs.h. */
77805 _ACEOF
77806 cat confdefs.h >>conftest.$ac_ext
77807 cat >>conftest.$ac_ext <<_ACEOF
77808 /* end confdefs.h. */
77809 #include <langinfo.h>
77810 _ACEOF
77811 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77812 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77813 ac_status=$?
77814 grep -v '^ *+' conftest.er1 >conftest.err
77815 rm -f conftest.er1
77816 cat conftest.err >&5
77817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77818 (exit $ac_status); } >/dev/null; then
77819 if test -s conftest.err; then
77820 ac_cpp_err=$ac_c_preproc_warn_flag
77821 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77822 else
77823 ac_cpp_err=
77825 else
77826 ac_cpp_err=yes
77828 if test -z "$ac_cpp_err"; then
77829 ac_header_preproc=yes
77830 else
77831 echo "$as_me: failed program was:" >&5
77832 sed 's/^/| /' conftest.$ac_ext >&5
77834 ac_header_preproc=no
77836 rm -f conftest.err conftest.$ac_ext
77837 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77838 echo "${ECHO_T}$ac_header_preproc" >&6
77840 # So? What about this header?
77841 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77842 yes:no: )
77843 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
77844 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
77845 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
77846 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
77847 ac_header_preproc=yes
77849 no:yes:* )
77850 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
77851 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
77852 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
77853 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
77854 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
77855 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
77856 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
77857 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
77858 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
77859 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
77860 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
77861 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
77863 cat <<\_ASBOX
77864 ## ----------------------------------------- ##
77865 ## Report this to the package-unused lists. ##
77866 ## ----------------------------------------- ##
77867 _ASBOX
77869 sed "s/^/$as_me: WARNING: /" >&2
77871 esac
77872 echo "$as_me:$LINENO: checking for langinfo.h" >&5
77873 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
77874 if test "${ac_cv_header_langinfo_h+set}" = set; then
77875 echo $ECHO_N "(cached) $ECHO_C" >&6
77876 else
77877 ac_cv_header_langinfo_h=$ac_header_preproc
77879 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
77880 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77883 if test $ac_cv_header_langinfo_h = yes; then
77884 ac_has_langinfo_h=yes
77885 else
77886 ac_has_langinfo_h=no
77891 # Check for existence of libiconv.a providing XPG2 wchar_t support.
77892 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
77893 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
77894 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
77895 echo $ECHO_N "(cached) $ECHO_C" >&6
77896 else
77897 ac_check_lib_save_LIBS=$LIBS
77898 LIBS="-liconv $LIBS"
77899 if test x$gcc_no_link = xyes; then
77900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77902 { (exit 1); exit 1; }; }
77904 cat >conftest.$ac_ext <<_ACEOF
77905 /* confdefs.h. */
77906 _ACEOF
77907 cat confdefs.h >>conftest.$ac_ext
77908 cat >>conftest.$ac_ext <<_ACEOF
77909 /* end confdefs.h. */
77911 /* Override any gcc2 internal prototype to avoid an error. */
77912 #ifdef __cplusplus
77913 extern "C"
77914 #endif
77915 /* We use char because int might match the return type of a gcc2
77916 builtin and then its argument prototype would still apply. */
77917 char iconv ();
77919 main ()
77921 iconv ();
77923 return 0;
77925 _ACEOF
77926 rm -f conftest.$ac_objext conftest$ac_exeext
77927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77928 (eval $ac_link) 2>conftest.er1
77929 ac_status=$?
77930 grep -v '^ *+' conftest.er1 >conftest.err
77931 rm -f conftest.er1
77932 cat conftest.err >&5
77933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77934 (exit $ac_status); } &&
77935 { ac_try='test -z "$ac_c_werror_flag"
77936 || test ! -s conftest.err'
77937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77938 (eval $ac_try) 2>&5
77939 ac_status=$?
77940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77941 (exit $ac_status); }; } &&
77942 { ac_try='test -s conftest$ac_exeext'
77943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77944 (eval $ac_try) 2>&5
77945 ac_status=$?
77946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77947 (exit $ac_status); }; }; then
77948 ac_cv_lib_iconv_iconv=yes
77949 else
77950 echo "$as_me: failed program was:" >&5
77951 sed 's/^/| /' conftest.$ac_ext >&5
77953 ac_cv_lib_iconv_iconv=no
77955 rm -f conftest.err conftest.$ac_objext \
77956 conftest$ac_exeext conftest.$ac_ext
77957 LIBS=$ac_check_lib_save_LIBS
77959 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
77960 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
77961 if test $ac_cv_lib_iconv_iconv = yes; then
77962 LIBICONV="-liconv"
77965 ac_save_LIBS="$LIBS"
77966 LIBS="$LIBS $LIBICONV"
77973 for ac_func in iconv_open iconv_close iconv nl_langinfo
77975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77976 echo "$as_me:$LINENO: checking for $ac_func" >&5
77977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77978 if eval "test \"\${$as_ac_var+set}\" = set"; then
77979 echo $ECHO_N "(cached) $ECHO_C" >&6
77980 else
77981 if test x$gcc_no_link = xyes; then
77982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77984 { (exit 1); exit 1; }; }
77986 cat >conftest.$ac_ext <<_ACEOF
77987 /* confdefs.h. */
77988 _ACEOF
77989 cat confdefs.h >>conftest.$ac_ext
77990 cat >>conftest.$ac_ext <<_ACEOF
77991 /* end confdefs.h. */
77992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77994 #define $ac_func innocuous_$ac_func
77996 /* System header to define __stub macros and hopefully few prototypes,
77997 which can conflict with char $ac_func (); below.
77998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77999 <limits.h> exists even on freestanding compilers. */
78001 #ifdef __STDC__
78002 # include <limits.h>
78003 #else
78004 # include <assert.h>
78005 #endif
78007 #undef $ac_func
78009 /* Override any gcc2 internal prototype to avoid an error. */
78010 #ifdef __cplusplus
78011 extern "C"
78013 #endif
78014 /* We use char because int might match the return type of a gcc2
78015 builtin and then its argument prototype would still apply. */
78016 char $ac_func ();
78017 /* The GNU C library defines this for functions which it implements
78018 to always fail with ENOSYS. Some functions are actually named
78019 something starting with __ and the normal name is an alias. */
78020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78021 choke me
78022 #else
78023 char (*f) () = $ac_func;
78024 #endif
78025 #ifdef __cplusplus
78027 #endif
78030 main ()
78032 return f != $ac_func;
78034 return 0;
78036 _ACEOF
78037 rm -f conftest.$ac_objext conftest$ac_exeext
78038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78039 (eval $ac_link) 2>conftest.er1
78040 ac_status=$?
78041 grep -v '^ *+' conftest.er1 >conftest.err
78042 rm -f conftest.er1
78043 cat conftest.err >&5
78044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78045 (exit $ac_status); } &&
78046 { ac_try='test -z "$ac_c_werror_flag"
78047 || test ! -s conftest.err'
78048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78049 (eval $ac_try) 2>&5
78050 ac_status=$?
78051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78052 (exit $ac_status); }; } &&
78053 { ac_try='test -s conftest$ac_exeext'
78054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78055 (eval $ac_try) 2>&5
78056 ac_status=$?
78057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78058 (exit $ac_status); }; }; then
78059 eval "$as_ac_var=yes"
78060 else
78061 echo "$as_me: failed program was:" >&5
78062 sed 's/^/| /' conftest.$ac_ext >&5
78064 eval "$as_ac_var=no"
78066 rm -f conftest.err conftest.$ac_objext \
78067 conftest$ac_exeext conftest.$ac_ext
78069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78071 if test `eval echo '${'$as_ac_var'}'` = yes; then
78072 cat >>confdefs.h <<_ACEOF
78073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78074 _ACEOF
78075 ac_XPG2funcs=yes
78076 else
78077 ac_XPG2funcs=no
78079 done
78082 LIBS="$ac_save_LIBS"
78084 if test x"$ac_has_iconv_h" = xyes &&
78085 test x"$ac_has_langinfo_h" = xyes &&
78086 test x"$ac_XPG2funcs" = xyes;
78087 then
78089 cat >>confdefs.h <<\_ACEOF
78090 #define _GLIBCXX_USE_ICONV 1
78091 _ACEOF
78093 enable_iconv=yes
78096 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
78097 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
78098 echo "$as_me:$LINENO: result: $enable_iconv" >&5
78099 echo "${ECHO_T}$enable_iconv" >&6
78102 # For LFS.
78103 cat >>confdefs.h <<\_ACEOF
78104 #define HAVE_INT64_T 1
78105 _ACEOF
78107 case "$target" in
78108 *-uclinux*)
78109 # Don't enable LFS with uClibc
78112 cat >>confdefs.h <<\_ACEOF
78113 #define _GLIBCXX_USE_LFS 1
78114 _ACEOF
78116 esac
78118 # For showmanyc_helper().
78121 for ac_header in sys/ioctl.h sys/filio.h
78123 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78124 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78125 echo "$as_me:$LINENO: checking for $ac_header" >&5
78126 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78127 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78128 echo $ECHO_N "(cached) $ECHO_C" >&6
78130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78131 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78132 else
78133 # Is the header compilable?
78134 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78135 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78136 cat >conftest.$ac_ext <<_ACEOF
78137 /* confdefs.h. */
78138 _ACEOF
78139 cat confdefs.h >>conftest.$ac_ext
78140 cat >>conftest.$ac_ext <<_ACEOF
78141 /* end confdefs.h. */
78142 $ac_includes_default
78143 #include <$ac_header>
78144 _ACEOF
78145 rm -f conftest.$ac_objext
78146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78147 (eval $ac_compile) 2>conftest.er1
78148 ac_status=$?
78149 grep -v '^ *+' conftest.er1 >conftest.err
78150 rm -f conftest.er1
78151 cat conftest.err >&5
78152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78153 (exit $ac_status); } &&
78154 { ac_try='test -z "$ac_c_werror_flag"
78155 || test ! -s conftest.err'
78156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78157 (eval $ac_try) 2>&5
78158 ac_status=$?
78159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78160 (exit $ac_status); }; } &&
78161 { ac_try='test -s conftest.$ac_objext'
78162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78163 (eval $ac_try) 2>&5
78164 ac_status=$?
78165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78166 (exit $ac_status); }; }; then
78167 ac_header_compiler=yes
78168 else
78169 echo "$as_me: failed program was:" >&5
78170 sed 's/^/| /' conftest.$ac_ext >&5
78172 ac_header_compiler=no
78174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78175 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78176 echo "${ECHO_T}$ac_header_compiler" >&6
78178 # Is the header present?
78179 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78180 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78181 cat >conftest.$ac_ext <<_ACEOF
78182 /* confdefs.h. */
78183 _ACEOF
78184 cat confdefs.h >>conftest.$ac_ext
78185 cat >>conftest.$ac_ext <<_ACEOF
78186 /* end confdefs.h. */
78187 #include <$ac_header>
78188 _ACEOF
78189 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78190 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78191 ac_status=$?
78192 grep -v '^ *+' conftest.er1 >conftest.err
78193 rm -f conftest.er1
78194 cat conftest.err >&5
78195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78196 (exit $ac_status); } >/dev/null; then
78197 if test -s conftest.err; then
78198 ac_cpp_err=$ac_c_preproc_warn_flag
78199 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78200 else
78201 ac_cpp_err=
78203 else
78204 ac_cpp_err=yes
78206 if test -z "$ac_cpp_err"; then
78207 ac_header_preproc=yes
78208 else
78209 echo "$as_me: failed program was:" >&5
78210 sed 's/^/| /' conftest.$ac_ext >&5
78212 ac_header_preproc=no
78214 rm -f conftest.err conftest.$ac_ext
78215 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78216 echo "${ECHO_T}$ac_header_preproc" >&6
78218 # So? What about this header?
78219 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78220 yes:no: )
78221 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78222 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78223 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78224 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78225 ac_header_preproc=yes
78227 no:yes:* )
78228 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78229 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78230 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78231 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78232 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78233 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78234 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78235 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78236 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78237 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78238 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78239 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78241 cat <<\_ASBOX
78242 ## ----------------------------------------- ##
78243 ## Report this to the package-unused lists. ##
78244 ## ----------------------------------------- ##
78245 _ASBOX
78247 sed "s/^/$as_me: WARNING: /" >&2
78249 esac
78250 echo "$as_me:$LINENO: checking for $ac_header" >&5
78251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78252 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78253 echo $ECHO_N "(cached) $ECHO_C" >&6
78254 else
78255 eval "$as_ac_Header=\$ac_header_preproc"
78257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78258 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78261 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78262 cat >>confdefs.h <<_ACEOF
78263 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78264 _ACEOF
78268 done
78271 if test "${glibcxx_cv_POLL+set}" = set; then
78272 echo $ECHO_N "(cached) $ECHO_C" >&6
78273 else
78275 if test x$gcc_no_link = xyes; then
78276 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78277 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78278 { (exit 1); exit 1; }; }
78280 cat >conftest.$ac_ext <<_ACEOF
78281 /* confdefs.h. */
78282 _ACEOF
78283 cat confdefs.h >>conftest.$ac_ext
78284 cat >>conftest.$ac_ext <<_ACEOF
78285 /* end confdefs.h. */
78286 #include <poll.h>
78288 main ()
78290 struct pollfd pfd[1];
78291 pfd[0].events = POLLIN;
78292 poll(pfd, 1, 0);
78294 return 0;
78296 _ACEOF
78297 rm -f conftest.$ac_objext conftest$ac_exeext
78298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78299 (eval $ac_link) 2>conftest.er1
78300 ac_status=$?
78301 grep -v '^ *+' conftest.er1 >conftest.err
78302 rm -f conftest.er1
78303 cat conftest.err >&5
78304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78305 (exit $ac_status); } &&
78306 { ac_try='test -z "$ac_c_werror_flag"
78307 || test ! -s conftest.err'
78308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78309 (eval $ac_try) 2>&5
78310 ac_status=$?
78311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78312 (exit $ac_status); }; } &&
78313 { ac_try='test -s conftest$ac_exeext'
78314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78315 (eval $ac_try) 2>&5
78316 ac_status=$?
78317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78318 (exit $ac_status); }; }; then
78319 glibcxx_cv_POLL=yes
78320 else
78321 echo "$as_me: failed program was:" >&5
78322 sed 's/^/| /' conftest.$ac_ext >&5
78324 glibcxx_cv_POLL=no
78326 rm -f conftest.err conftest.$ac_objext \
78327 conftest$ac_exeext conftest.$ac_ext
78331 if test $glibcxx_cv_POLL = yes; then
78333 cat >>confdefs.h <<\_ACEOF
78334 #define HAVE_POLL 1
78335 _ACEOF
78340 if test "${glibcxx_cv_S_ISREG+set}" = set; then
78341 echo $ECHO_N "(cached) $ECHO_C" >&6
78342 else
78344 if test x$gcc_no_link = xyes; then
78345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78347 { (exit 1); exit 1; }; }
78349 cat >conftest.$ac_ext <<_ACEOF
78350 /* confdefs.h. */
78351 _ACEOF
78352 cat confdefs.h >>conftest.$ac_ext
78353 cat >>conftest.$ac_ext <<_ACEOF
78354 /* end confdefs.h. */
78355 #include <sys/stat.h>
78357 main ()
78359 struct stat buffer;
78360 fstat(0, &buffer);
78361 S_ISREG(buffer.st_mode);
78363 return 0;
78365 _ACEOF
78366 rm -f conftest.$ac_objext conftest$ac_exeext
78367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78368 (eval $ac_link) 2>conftest.er1
78369 ac_status=$?
78370 grep -v '^ *+' conftest.er1 >conftest.err
78371 rm -f conftest.er1
78372 cat conftest.err >&5
78373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78374 (exit $ac_status); } &&
78375 { ac_try='test -z "$ac_c_werror_flag"
78376 || test ! -s conftest.err'
78377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78378 (eval $ac_try) 2>&5
78379 ac_status=$?
78380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78381 (exit $ac_status); }; } &&
78382 { ac_try='test -s conftest$ac_exeext'
78383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78384 (eval $ac_try) 2>&5
78385 ac_status=$?
78386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78387 (exit $ac_status); }; }; then
78388 glibcxx_cv_S_ISREG=yes
78389 else
78390 echo "$as_me: failed program was:" >&5
78391 sed 's/^/| /' conftest.$ac_ext >&5
78393 glibcxx_cv_S_ISREG=no
78395 rm -f conftest.err conftest.$ac_objext \
78396 conftest$ac_exeext conftest.$ac_ext
78400 if test "${glibcxx_cv_S_IFREG+set}" = set; then
78401 echo $ECHO_N "(cached) $ECHO_C" >&6
78402 else
78404 if test x$gcc_no_link = xyes; then
78405 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78407 { (exit 1); exit 1; }; }
78409 cat >conftest.$ac_ext <<_ACEOF
78410 /* confdefs.h. */
78411 _ACEOF
78412 cat confdefs.h >>conftest.$ac_ext
78413 cat >>conftest.$ac_ext <<_ACEOF
78414 /* end confdefs.h. */
78415 #include <sys/stat.h>
78417 main ()
78419 struct stat buffer;
78420 fstat(0, &buffer);
78421 S_IFREG & buffer.st_mode;
78423 return 0;
78425 _ACEOF
78426 rm -f conftest.$ac_objext conftest$ac_exeext
78427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78428 (eval $ac_link) 2>conftest.er1
78429 ac_status=$?
78430 grep -v '^ *+' conftest.er1 >conftest.err
78431 rm -f conftest.er1
78432 cat conftest.err >&5
78433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78434 (exit $ac_status); } &&
78435 { ac_try='test -z "$ac_c_werror_flag"
78436 || test ! -s conftest.err'
78437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78438 (eval $ac_try) 2>&5
78439 ac_status=$?
78440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78441 (exit $ac_status); }; } &&
78442 { ac_try='test -s conftest$ac_exeext'
78443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78444 (eval $ac_try) 2>&5
78445 ac_status=$?
78446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78447 (exit $ac_status); }; }; then
78448 glibcxx_cv_S_IFREG=yes
78449 else
78450 echo "$as_me: failed program was:" >&5
78451 sed 's/^/| /' conftest.$ac_ext >&5
78453 glibcxx_cv_S_IFREG=no
78455 rm -f conftest.err conftest.$ac_objext \
78456 conftest$ac_exeext conftest.$ac_ext
78460 if test $glibcxx_cv_S_ISREG = yes; then
78462 cat >>confdefs.h <<\_ACEOF
78463 #define HAVE_S_ISREG 1
78464 _ACEOF
78466 elif test $glibcxx_cv_S_IFREG = yes; then
78468 cat >>confdefs.h <<\_ACEOF
78469 #define HAVE_S_IFREG 1
78470 _ACEOF
78475 # For xsputn_2().
78477 for ac_header in sys/uio.h
78479 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78480 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78481 echo "$as_me:$LINENO: checking for $ac_header" >&5
78482 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78483 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78484 echo $ECHO_N "(cached) $ECHO_C" >&6
78486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78487 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78488 else
78489 # Is the header compilable?
78490 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78491 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78492 cat >conftest.$ac_ext <<_ACEOF
78493 /* confdefs.h. */
78494 _ACEOF
78495 cat confdefs.h >>conftest.$ac_ext
78496 cat >>conftest.$ac_ext <<_ACEOF
78497 /* end confdefs.h. */
78498 $ac_includes_default
78499 #include <$ac_header>
78500 _ACEOF
78501 rm -f conftest.$ac_objext
78502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78503 (eval $ac_compile) 2>conftest.er1
78504 ac_status=$?
78505 grep -v '^ *+' conftest.er1 >conftest.err
78506 rm -f conftest.er1
78507 cat conftest.err >&5
78508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78509 (exit $ac_status); } &&
78510 { ac_try='test -z "$ac_c_werror_flag"
78511 || test ! -s conftest.err'
78512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78513 (eval $ac_try) 2>&5
78514 ac_status=$?
78515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78516 (exit $ac_status); }; } &&
78517 { ac_try='test -s conftest.$ac_objext'
78518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78519 (eval $ac_try) 2>&5
78520 ac_status=$?
78521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78522 (exit $ac_status); }; }; then
78523 ac_header_compiler=yes
78524 else
78525 echo "$as_me: failed program was:" >&5
78526 sed 's/^/| /' conftest.$ac_ext >&5
78528 ac_header_compiler=no
78530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78531 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78532 echo "${ECHO_T}$ac_header_compiler" >&6
78534 # Is the header present?
78535 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78536 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78537 cat >conftest.$ac_ext <<_ACEOF
78538 /* confdefs.h. */
78539 _ACEOF
78540 cat confdefs.h >>conftest.$ac_ext
78541 cat >>conftest.$ac_ext <<_ACEOF
78542 /* end confdefs.h. */
78543 #include <$ac_header>
78544 _ACEOF
78545 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78546 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78547 ac_status=$?
78548 grep -v '^ *+' conftest.er1 >conftest.err
78549 rm -f conftest.er1
78550 cat conftest.err >&5
78551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78552 (exit $ac_status); } >/dev/null; then
78553 if test -s conftest.err; then
78554 ac_cpp_err=$ac_c_preproc_warn_flag
78555 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78556 else
78557 ac_cpp_err=
78559 else
78560 ac_cpp_err=yes
78562 if test -z "$ac_cpp_err"; then
78563 ac_header_preproc=yes
78564 else
78565 echo "$as_me: failed program was:" >&5
78566 sed 's/^/| /' conftest.$ac_ext >&5
78568 ac_header_preproc=no
78570 rm -f conftest.err conftest.$ac_ext
78571 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78572 echo "${ECHO_T}$ac_header_preproc" >&6
78574 # So? What about this header?
78575 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78576 yes:no: )
78577 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78578 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78579 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78580 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78581 ac_header_preproc=yes
78583 no:yes:* )
78584 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78585 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78586 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78587 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78588 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78589 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78590 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78591 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78592 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78593 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78594 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78595 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78597 cat <<\_ASBOX
78598 ## ----------------------------------------- ##
78599 ## Report this to the package-unused lists. ##
78600 ## ----------------------------------------- ##
78601 _ASBOX
78603 sed "s/^/$as_me: WARNING: /" >&2
78605 esac
78606 echo "$as_me:$LINENO: checking for $ac_header" >&5
78607 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78608 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78609 echo $ECHO_N "(cached) $ECHO_C" >&6
78610 else
78611 eval "$as_ac_Header=\$ac_header_preproc"
78613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78614 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78617 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78618 cat >>confdefs.h <<_ACEOF
78619 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78620 _ACEOF
78624 done
78627 if test "${glibcxx_cv_WRITEV+set}" = set; then
78628 echo $ECHO_N "(cached) $ECHO_C" >&6
78629 else
78631 if test x$gcc_no_link = xyes; then
78632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78634 { (exit 1); exit 1; }; }
78636 cat >conftest.$ac_ext <<_ACEOF
78637 /* confdefs.h. */
78638 _ACEOF
78639 cat confdefs.h >>conftest.$ac_ext
78640 cat >>conftest.$ac_ext <<_ACEOF
78641 /* end confdefs.h. */
78642 #include <sys/uio.h>
78644 main ()
78646 struct iovec iov[2];
78647 writev(0, iov, 0);
78649 return 0;
78651 _ACEOF
78652 rm -f conftest.$ac_objext conftest$ac_exeext
78653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78654 (eval $ac_link) 2>conftest.er1
78655 ac_status=$?
78656 grep -v '^ *+' conftest.er1 >conftest.err
78657 rm -f conftest.er1
78658 cat conftest.err >&5
78659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78660 (exit $ac_status); } &&
78661 { ac_try='test -z "$ac_c_werror_flag"
78662 || test ! -s conftest.err'
78663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78664 (eval $ac_try) 2>&5
78665 ac_status=$?
78666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78667 (exit $ac_status); }; } &&
78668 { ac_try='test -s conftest$ac_exeext'
78669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78670 (eval $ac_try) 2>&5
78671 ac_status=$?
78672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78673 (exit $ac_status); }; }; then
78674 glibcxx_cv_WRITEV=yes
78675 else
78676 echo "$as_me: failed program was:" >&5
78677 sed 's/^/| /' conftest.$ac_ext >&5
78679 glibcxx_cv_WRITEV=no
78681 rm -f conftest.err conftest.$ac_objext \
78682 conftest$ac_exeext conftest.$ac_ext
78686 if test $glibcxx_cv_WRITEV = yes; then
78688 cat >>confdefs.h <<\_ACEOF
78689 #define HAVE_WRITEV 1
78690 _ACEOF
78695 cat >>confdefs.h <<\_ACEOF
78696 #define HAVE_ACOSF 1
78697 _ACEOF
78699 cat >>confdefs.h <<\_ACEOF
78700 #define HAVE_ASINF 1
78701 _ACEOF
78703 cat >>confdefs.h <<\_ACEOF
78704 #define HAVE_ATANF 1
78705 _ACEOF
78707 cat >>confdefs.h <<\_ACEOF
78708 #define HAVE_ATAN2F 1
78709 _ACEOF
78711 cat >>confdefs.h <<\_ACEOF
78712 #define HAVE_CEILF 1
78713 _ACEOF
78715 cat >>confdefs.h <<\_ACEOF
78716 #define HAVE_COPYSIGN 1
78717 _ACEOF
78719 cat >>confdefs.h <<\_ACEOF
78720 #define HAVE_COPYSIGNF 1
78721 _ACEOF
78723 cat >>confdefs.h <<\_ACEOF
78724 #define HAVE_COSF 1
78725 _ACEOF
78727 cat >>confdefs.h <<\_ACEOF
78728 #define HAVE_COSHF 1
78729 _ACEOF
78731 cat >>confdefs.h <<\_ACEOF
78732 #define HAVE_EXPF 1
78733 _ACEOF
78735 cat >>confdefs.h <<\_ACEOF
78736 #define HAVE_FABSF 1
78737 _ACEOF
78739 cat >>confdefs.h <<\_ACEOF
78740 #define HAVE_FINITE 1
78741 _ACEOF
78743 cat >>confdefs.h <<\_ACEOF
78744 #define HAVE_FINITEF 1
78745 _ACEOF
78747 cat >>confdefs.h <<\_ACEOF
78748 #define HAVE_FLOORF 1
78749 _ACEOF
78751 cat >>confdefs.h <<\_ACEOF
78752 #define HAVE_FMODF 1
78753 _ACEOF
78755 cat >>confdefs.h <<\_ACEOF
78756 #define HAVE_FREXPF 1
78757 _ACEOF
78759 cat >>confdefs.h <<\_ACEOF
78760 #define HAVE_HYPOT 1
78761 _ACEOF
78763 cat >>confdefs.h <<\_ACEOF
78764 #define HAVE_HYPOTF 1
78765 _ACEOF
78767 cat >>confdefs.h <<\_ACEOF
78768 #define HAVE_ISINF 1
78769 _ACEOF
78771 cat >>confdefs.h <<\_ACEOF
78772 #define HAVE_ISINFF 1
78773 _ACEOF
78775 cat >>confdefs.h <<\_ACEOF
78776 #define HAVE_ISNAN 1
78777 _ACEOF
78779 cat >>confdefs.h <<\_ACEOF
78780 #define HAVE_ISNANF 1
78781 _ACEOF
78783 cat >>confdefs.h <<\_ACEOF
78784 #define HAVE_LOGF 1
78785 _ACEOF
78787 cat >>confdefs.h <<\_ACEOF
78788 #define HAVE_LOG10F 1
78789 _ACEOF
78791 cat >>confdefs.h <<\_ACEOF
78792 #define HAVE_MODFF 1
78793 _ACEOF
78795 cat >>confdefs.h <<\_ACEOF
78796 #define HAVE_SINF 1
78797 _ACEOF
78799 cat >>confdefs.h <<\_ACEOF
78800 #define HAVE_SINHF 1
78801 _ACEOF
78803 cat >>confdefs.h <<\_ACEOF
78804 #define HAVE_SINCOS 1
78805 _ACEOF
78807 cat >>confdefs.h <<\_ACEOF
78808 #define HAVE_SINCOSF 1
78809 _ACEOF
78811 cat >>confdefs.h <<\_ACEOF
78812 #define HAVE_SQRTF 1
78813 _ACEOF
78815 cat >>confdefs.h <<\_ACEOF
78816 #define HAVE_TANF 1
78817 _ACEOF
78819 cat >>confdefs.h <<\_ACEOF
78820 #define HAVE_TANHF 1
78821 _ACEOF
78823 if test x"long_double_math_on_this_cpu" = x"yes"; then
78824 cat >>confdefs.h <<\_ACEOF
78825 #define HAVE_ACOSL 1
78826 _ACEOF
78828 cat >>confdefs.h <<\_ACEOF
78829 #define HAVE_ASINL 1
78830 _ACEOF
78832 cat >>confdefs.h <<\_ACEOF
78833 #define HAVE_ATANL 1
78834 _ACEOF
78836 cat >>confdefs.h <<\_ACEOF
78837 #define HAVE_ATAN2L 1
78838 _ACEOF
78840 cat >>confdefs.h <<\_ACEOF
78841 #define HAVE_CEILL 1
78842 _ACEOF
78844 cat >>confdefs.h <<\_ACEOF
78845 #define HAVE_COPYSIGNL 1
78846 _ACEOF
78848 cat >>confdefs.h <<\_ACEOF
78849 #define HAVE_COSL 1
78850 _ACEOF
78852 cat >>confdefs.h <<\_ACEOF
78853 #define HAVE_COSHL 1
78854 _ACEOF
78856 cat >>confdefs.h <<\_ACEOF
78857 #define HAVE_EXPL 1
78858 _ACEOF
78860 cat >>confdefs.h <<\_ACEOF
78861 #define HAVE_FABSL 1
78862 _ACEOF
78864 cat >>confdefs.h <<\_ACEOF
78865 #define HAVE_FINITEL 1
78866 _ACEOF
78868 cat >>confdefs.h <<\_ACEOF
78869 #define HAVE_FLOORL 1
78870 _ACEOF
78872 cat >>confdefs.h <<\_ACEOF
78873 #define HAVE_FMODL 1
78874 _ACEOF
78876 cat >>confdefs.h <<\_ACEOF
78877 #define HAVE_FREXPL 1
78878 _ACEOF
78880 cat >>confdefs.h <<\_ACEOF
78881 #define HAVE_HYPOTL 1
78882 _ACEOF
78884 cat >>confdefs.h <<\_ACEOF
78885 #define HAVE_ISINFL 1
78886 _ACEOF
78888 cat >>confdefs.h <<\_ACEOF
78889 #define HAVE_ISNANL 1
78890 _ACEOF
78892 cat >>confdefs.h <<\_ACEOF
78893 #define HAVE_LOGL 1
78894 _ACEOF
78896 cat >>confdefs.h <<\_ACEOF
78897 #define HAVE_LOG10L 1
78898 _ACEOF
78900 cat >>confdefs.h <<\_ACEOF
78901 #define HAVE_MODFL 1
78902 _ACEOF
78904 cat >>confdefs.h <<\_ACEOF
78905 #define HAVE_POWL 1
78906 _ACEOF
78908 cat >>confdefs.h <<\_ACEOF
78909 #define HAVE_SINL 1
78910 _ACEOF
78912 cat >>confdefs.h <<\_ACEOF
78913 #define HAVE_SINHL 1
78914 _ACEOF
78916 cat >>confdefs.h <<\_ACEOF
78917 #define HAVE_SINCOSL 1
78918 _ACEOF
78920 cat >>confdefs.h <<\_ACEOF
78921 #define HAVE_SQRTL 1
78922 _ACEOF
78924 cat >>confdefs.h <<\_ACEOF
78925 #define HAVE_TANL 1
78926 _ACEOF
78928 cat >>confdefs.h <<\_ACEOF
78929 #define HAVE_TANHL 1
78930 _ACEOF
78934 *-mingw32*)
78938 for ac_header in sys/types.h locale.h float.h
78940 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78941 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78942 echo "$as_me:$LINENO: checking for $ac_header" >&5
78943 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78944 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78945 echo $ECHO_N "(cached) $ECHO_C" >&6
78947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78948 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78949 else
78950 # Is the header compilable?
78951 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78952 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78953 cat >conftest.$ac_ext <<_ACEOF
78954 /* confdefs.h. */
78955 _ACEOF
78956 cat confdefs.h >>conftest.$ac_ext
78957 cat >>conftest.$ac_ext <<_ACEOF
78958 /* end confdefs.h. */
78959 $ac_includes_default
78960 #include <$ac_header>
78961 _ACEOF
78962 rm -f conftest.$ac_objext
78963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78964 (eval $ac_compile) 2>conftest.er1
78965 ac_status=$?
78966 grep -v '^ *+' conftest.er1 >conftest.err
78967 rm -f conftest.er1
78968 cat conftest.err >&5
78969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78970 (exit $ac_status); } &&
78971 { ac_try='test -z "$ac_c_werror_flag"
78972 || test ! -s conftest.err'
78973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78974 (eval $ac_try) 2>&5
78975 ac_status=$?
78976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78977 (exit $ac_status); }; } &&
78978 { ac_try='test -s conftest.$ac_objext'
78979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78980 (eval $ac_try) 2>&5
78981 ac_status=$?
78982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78983 (exit $ac_status); }; }; then
78984 ac_header_compiler=yes
78985 else
78986 echo "$as_me: failed program was:" >&5
78987 sed 's/^/| /' conftest.$ac_ext >&5
78989 ac_header_compiler=no
78991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78992 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78993 echo "${ECHO_T}$ac_header_compiler" >&6
78995 # Is the header present?
78996 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78997 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78998 cat >conftest.$ac_ext <<_ACEOF
78999 /* confdefs.h. */
79000 _ACEOF
79001 cat confdefs.h >>conftest.$ac_ext
79002 cat >>conftest.$ac_ext <<_ACEOF
79003 /* end confdefs.h. */
79004 #include <$ac_header>
79005 _ACEOF
79006 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79007 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79008 ac_status=$?
79009 grep -v '^ *+' conftest.er1 >conftest.err
79010 rm -f conftest.er1
79011 cat conftest.err >&5
79012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79013 (exit $ac_status); } >/dev/null; then
79014 if test -s conftest.err; then
79015 ac_cpp_err=$ac_c_preproc_warn_flag
79016 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79017 else
79018 ac_cpp_err=
79020 else
79021 ac_cpp_err=yes
79023 if test -z "$ac_cpp_err"; then
79024 ac_header_preproc=yes
79025 else
79026 echo "$as_me: failed program was:" >&5
79027 sed 's/^/| /' conftest.$ac_ext >&5
79029 ac_header_preproc=no
79031 rm -f conftest.err conftest.$ac_ext
79032 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79033 echo "${ECHO_T}$ac_header_preproc" >&6
79035 # So? What about this header?
79036 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79037 yes:no: )
79038 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
79039 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
79040 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
79041 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
79042 ac_header_preproc=yes
79044 no:yes:* )
79045 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
79046 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
79047 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
79048 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
79049 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
79050 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
79051 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
79052 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
79053 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79054 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79055 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
79056 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
79058 cat <<\_ASBOX
79059 ## ----------------------------------------- ##
79060 ## Report this to the package-unused lists. ##
79061 ## ----------------------------------------- ##
79062 _ASBOX
79064 sed "s/^/$as_me: WARNING: /" >&2
79066 esac
79067 echo "$as_me:$LINENO: checking for $ac_header" >&5
79068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79070 echo $ECHO_N "(cached) $ECHO_C" >&6
79071 else
79072 eval "$as_ac_Header=\$ac_header_preproc"
79074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79075 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79078 if test `eval echo '${'$as_ac_Header'}'` = yes; then
79079 cat >>confdefs.h <<_ACEOF
79080 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
79081 _ACEOF
79085 done
79088 # If we're not using GNU ld, then there's no point in even trying these
79089 # tests. Check for that first. We should have already tested for gld
79090 # by now (in libtool), but require it now just to be safe...
79091 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
79092 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
79096 # The name set by libtool depends on the version of libtool. Shame on us
79097 # for depending on an impl detail, but c'est la vie. Older versions used
79098 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
79099 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
79100 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
79101 # set (hence we're using an older libtool), then set it.
79102 if test x${with_gnu_ld+set} != xset; then
79103 if test x${ac_cv_prog_gnu_ld+set} != xset; then
79104 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
79105 with_gnu_ld=no
79106 else
79107 with_gnu_ld=$ac_cv_prog_gnu_ld
79111 # Start by getting the version number. I think the libtool test already
79112 # does some of this, but throws away the result.
79114 ldver=`$LD --version 2>/dev/null | head -1 | \
79115 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
79117 glibcxx_gnu_ld_version=`echo $ldver | \
79118 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
79120 # Set --gc-sections.
79121 if test "$with_gnu_ld" = "notbroken"; then
79122 # GNU ld it is! Joy and bunny rabbits!
79124 # All these tests are for C++; save the language and the compiler flags.
79125 # Need to do this so that g++ won't try to link in libstdc++
79126 ac_test_CFLAGS="${CFLAGS+set}"
79127 ac_save_CFLAGS="$CFLAGS"
79128 CFLAGS='-x c++ -Wl,--gc-sections'
79130 # Check for -Wl,--gc-sections
79131 # XXX This test is broken at the moment, as symbols required for linking
79132 # are now in libsupc++ (not built yet). In addition, this test has
79133 # cored on solaris in the past. In addition, --gc-sections doesn't
79134 # really work at the moment (keeps on discarding used sections, first
79135 # .eh_frame and now some of the glibc sections for iconv).
79136 # Bzzzzt. Thanks for playing, maybe next time.
79137 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
79138 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
79139 if test "$cross_compiling" = yes; then
79140 ac_sectionLDflags=yes
79141 else
79142 cat >conftest.$ac_ext <<_ACEOF
79143 /* confdefs.h. */
79144 _ACEOF
79145 cat confdefs.h >>conftest.$ac_ext
79146 cat >>conftest.$ac_ext <<_ACEOF
79147 /* end confdefs.h. */
79149 int main(void)
79151 try { throw 1; }
79152 catch (...) { };
79153 return 0;
79156 _ACEOF
79157 rm -f conftest$ac_exeext
79158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79159 (eval $ac_link) 2>&5
79160 ac_status=$?
79161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79162 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
79163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79164 (eval $ac_try) 2>&5
79165 ac_status=$?
79166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79167 (exit $ac_status); }; }; then
79168 ac_sectionLDflags=yes
79169 else
79170 echo "$as_me: program exited with status $ac_status" >&5
79171 echo "$as_me: failed program was:" >&5
79172 sed 's/^/| /' conftest.$ac_ext >&5
79174 ( exit $ac_status )
79175 ac_sectionLDflags=no
79177 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
79179 if test "$ac_test_CFLAGS" = set; then
79180 CFLAGS="$ac_save_CFLAGS"
79181 else
79182 # this is the suspicious part
79183 CFLAGS=''
79185 if test "$ac_sectionLDflags" = "yes"; then
79186 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
79188 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
79189 echo "${ECHO_T}$ac_sectionLDflags" >&6
79192 # Set linker optimization flags.
79193 if test x"$with_gnu_ld" = x"yes"; then
79194 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
79202 echo "$as_me:$LINENO: checking for main in -lm" >&5
79203 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
79204 if test "${ac_cv_lib_m_main+set}" = set; then
79205 echo $ECHO_N "(cached) $ECHO_C" >&6
79206 else
79207 ac_check_lib_save_LIBS=$LIBS
79208 LIBS="-lm $LIBS"
79209 if test x$gcc_no_link = xyes; then
79210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79212 { (exit 1); exit 1; }; }
79214 cat >conftest.$ac_ext <<_ACEOF
79215 /* confdefs.h. */
79216 _ACEOF
79217 cat confdefs.h >>conftest.$ac_ext
79218 cat >>conftest.$ac_ext <<_ACEOF
79219 /* end confdefs.h. */
79223 main ()
79225 main ();
79227 return 0;
79229 _ACEOF
79230 rm -f conftest.$ac_objext conftest$ac_exeext
79231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79232 (eval $ac_link) 2>conftest.er1
79233 ac_status=$?
79234 grep -v '^ *+' conftest.er1 >conftest.err
79235 rm -f conftest.er1
79236 cat conftest.err >&5
79237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79238 (exit $ac_status); } &&
79239 { ac_try='test -z "$ac_c_werror_flag"
79240 || test ! -s conftest.err'
79241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79242 (eval $ac_try) 2>&5
79243 ac_status=$?
79244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79245 (exit $ac_status); }; } &&
79246 { ac_try='test -s conftest$ac_exeext'
79247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79248 (eval $ac_try) 2>&5
79249 ac_status=$?
79250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79251 (exit $ac_status); }; }; then
79252 ac_cv_lib_m_main=yes
79253 else
79254 echo "$as_me: failed program was:" >&5
79255 sed 's/^/| /' conftest.$ac_ext >&5
79257 ac_cv_lib_m_main=no
79259 rm -f conftest.err conftest.$ac_objext \
79260 conftest$ac_exeext conftest.$ac_ext
79261 LIBS=$ac_check_lib_save_LIBS
79263 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
79264 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
79265 if test $ac_cv_lib_m_main = yes; then
79266 cat >>confdefs.h <<_ACEOF
79267 #define HAVE_LIBM 1
79268 _ACEOF
79270 LIBS="-lm $LIBS"
79275 for ac_func in copysignf
79277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79278 echo "$as_me:$LINENO: checking for $ac_func" >&5
79279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79280 if eval "test \"\${$as_ac_var+set}\" = set"; then
79281 echo $ECHO_N "(cached) $ECHO_C" >&6
79282 else
79283 if test x$gcc_no_link = xyes; then
79284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79286 { (exit 1); exit 1; }; }
79288 cat >conftest.$ac_ext <<_ACEOF
79289 /* confdefs.h. */
79290 _ACEOF
79291 cat confdefs.h >>conftest.$ac_ext
79292 cat >>conftest.$ac_ext <<_ACEOF
79293 /* end confdefs.h. */
79294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79296 #define $ac_func innocuous_$ac_func
79298 /* System header to define __stub macros and hopefully few prototypes,
79299 which can conflict with char $ac_func (); below.
79300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79301 <limits.h> exists even on freestanding compilers. */
79303 #ifdef __STDC__
79304 # include <limits.h>
79305 #else
79306 # include <assert.h>
79307 #endif
79309 #undef $ac_func
79311 /* Override any gcc2 internal prototype to avoid an error. */
79312 #ifdef __cplusplus
79313 extern "C"
79315 #endif
79316 /* We use char because int might match the return type of a gcc2
79317 builtin and then its argument prototype would still apply. */
79318 char $ac_func ();
79319 /* The GNU C library defines this for functions which it implements
79320 to always fail with ENOSYS. Some functions are actually named
79321 something starting with __ and the normal name is an alias. */
79322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79323 choke me
79324 #else
79325 char (*f) () = $ac_func;
79326 #endif
79327 #ifdef __cplusplus
79329 #endif
79332 main ()
79334 return f != $ac_func;
79336 return 0;
79338 _ACEOF
79339 rm -f conftest.$ac_objext conftest$ac_exeext
79340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79341 (eval $ac_link) 2>conftest.er1
79342 ac_status=$?
79343 grep -v '^ *+' conftest.er1 >conftest.err
79344 rm -f conftest.er1
79345 cat conftest.err >&5
79346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79347 (exit $ac_status); } &&
79348 { ac_try='test -z "$ac_c_werror_flag"
79349 || test ! -s conftest.err'
79350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79351 (eval $ac_try) 2>&5
79352 ac_status=$?
79353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79354 (exit $ac_status); }; } &&
79355 { ac_try='test -s conftest$ac_exeext'
79356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79357 (eval $ac_try) 2>&5
79358 ac_status=$?
79359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79360 (exit $ac_status); }; }; then
79361 eval "$as_ac_var=yes"
79362 else
79363 echo "$as_me: failed program was:" >&5
79364 sed 's/^/| /' conftest.$ac_ext >&5
79366 eval "$as_ac_var=no"
79368 rm -f conftest.err conftest.$ac_objext \
79369 conftest$ac_exeext conftest.$ac_ext
79371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79373 if test `eval echo '${'$as_ac_var'}'` = yes; then
79374 cat >>confdefs.h <<_ACEOF
79375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79376 _ACEOF
79378 else
79379 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
79381 done
79385 for ac_func in __signbit
79387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79388 echo "$as_me:$LINENO: checking for $ac_func" >&5
79389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79390 if eval "test \"\${$as_ac_var+set}\" = set"; then
79391 echo $ECHO_N "(cached) $ECHO_C" >&6
79392 else
79393 if test x$gcc_no_link = xyes; then
79394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79396 { (exit 1); exit 1; }; }
79398 cat >conftest.$ac_ext <<_ACEOF
79399 /* confdefs.h. */
79400 _ACEOF
79401 cat confdefs.h >>conftest.$ac_ext
79402 cat >>conftest.$ac_ext <<_ACEOF
79403 /* end confdefs.h. */
79404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79406 #define $ac_func innocuous_$ac_func
79408 /* System header to define __stub macros and hopefully few prototypes,
79409 which can conflict with char $ac_func (); below.
79410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79411 <limits.h> exists even on freestanding compilers. */
79413 #ifdef __STDC__
79414 # include <limits.h>
79415 #else
79416 # include <assert.h>
79417 #endif
79419 #undef $ac_func
79421 /* Override any gcc2 internal prototype to avoid an error. */
79422 #ifdef __cplusplus
79423 extern "C"
79425 #endif
79426 /* We use char because int might match the return type of a gcc2
79427 builtin and then its argument prototype would still apply. */
79428 char $ac_func ();
79429 /* The GNU C library defines this for functions which it implements
79430 to always fail with ENOSYS. Some functions are actually named
79431 something starting with __ and the normal name is an alias. */
79432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79433 choke me
79434 #else
79435 char (*f) () = $ac_func;
79436 #endif
79437 #ifdef __cplusplus
79439 #endif
79442 main ()
79444 return f != $ac_func;
79446 return 0;
79448 _ACEOF
79449 rm -f conftest.$ac_objext conftest$ac_exeext
79450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79451 (eval $ac_link) 2>conftest.er1
79452 ac_status=$?
79453 grep -v '^ *+' conftest.er1 >conftest.err
79454 rm -f conftest.er1
79455 cat conftest.err >&5
79456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79457 (exit $ac_status); } &&
79458 { ac_try='test -z "$ac_c_werror_flag"
79459 || test ! -s conftest.err'
79460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79461 (eval $ac_try) 2>&5
79462 ac_status=$?
79463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79464 (exit $ac_status); }; } &&
79465 { ac_try='test -s conftest$ac_exeext'
79466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79467 (eval $ac_try) 2>&5
79468 ac_status=$?
79469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79470 (exit $ac_status); }; }; then
79471 eval "$as_ac_var=yes"
79472 else
79473 echo "$as_me: failed program was:" >&5
79474 sed 's/^/| /' conftest.$ac_ext >&5
79476 eval "$as_ac_var=no"
79478 rm -f conftest.err conftest.$ac_objext \
79479 conftest$ac_exeext conftest.$ac_ext
79481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79483 if test `eval echo '${'$as_ac_var'}'` = yes; then
79484 cat >>confdefs.h <<_ACEOF
79485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79486 _ACEOF
79488 else
79489 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
79491 done
79495 for ac_func in __signbitf
79497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79498 echo "$as_me:$LINENO: checking for $ac_func" >&5
79499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79500 if eval "test \"\${$as_ac_var+set}\" = set"; then
79501 echo $ECHO_N "(cached) $ECHO_C" >&6
79502 else
79503 if test x$gcc_no_link = xyes; then
79504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79506 { (exit 1); exit 1; }; }
79508 cat >conftest.$ac_ext <<_ACEOF
79509 /* confdefs.h. */
79510 _ACEOF
79511 cat confdefs.h >>conftest.$ac_ext
79512 cat >>conftest.$ac_ext <<_ACEOF
79513 /* end confdefs.h. */
79514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79516 #define $ac_func innocuous_$ac_func
79518 /* System header to define __stub macros and hopefully few prototypes,
79519 which can conflict with char $ac_func (); below.
79520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79521 <limits.h> exists even on freestanding compilers. */
79523 #ifdef __STDC__
79524 # include <limits.h>
79525 #else
79526 # include <assert.h>
79527 #endif
79529 #undef $ac_func
79531 /* Override any gcc2 internal prototype to avoid an error. */
79532 #ifdef __cplusplus
79533 extern "C"
79535 #endif
79536 /* We use char because int might match the return type of a gcc2
79537 builtin and then its argument prototype would still apply. */
79538 char $ac_func ();
79539 /* The GNU C library defines this for functions which it implements
79540 to always fail with ENOSYS. Some functions are actually named
79541 something starting with __ and the normal name is an alias. */
79542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79543 choke me
79544 #else
79545 char (*f) () = $ac_func;
79546 #endif
79547 #ifdef __cplusplus
79549 #endif
79552 main ()
79554 return f != $ac_func;
79556 return 0;
79558 _ACEOF
79559 rm -f conftest.$ac_objext conftest$ac_exeext
79560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79561 (eval $ac_link) 2>conftest.er1
79562 ac_status=$?
79563 grep -v '^ *+' conftest.er1 >conftest.err
79564 rm -f conftest.er1
79565 cat conftest.err >&5
79566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79567 (exit $ac_status); } &&
79568 { ac_try='test -z "$ac_c_werror_flag"
79569 || test ! -s conftest.err'
79570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79571 (eval $ac_try) 2>&5
79572 ac_status=$?
79573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79574 (exit $ac_status); }; } &&
79575 { ac_try='test -s conftest$ac_exeext'
79576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79577 (eval $ac_try) 2>&5
79578 ac_status=$?
79579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79580 (exit $ac_status); }; }; then
79581 eval "$as_ac_var=yes"
79582 else
79583 echo "$as_me: failed program was:" >&5
79584 sed 's/^/| /' conftest.$ac_ext >&5
79586 eval "$as_ac_var=no"
79588 rm -f conftest.err conftest.$ac_objext \
79589 conftest$ac_exeext conftest.$ac_ext
79591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79593 if test `eval echo '${'$as_ac_var'}'` = yes; then
79594 cat >>confdefs.h <<_ACEOF
79595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79596 _ACEOF
79598 else
79599 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
79601 done
79604 if test x$ac_cv_func_copysignl = x"yes"; then
79606 for ac_func in __signbitl
79608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79609 echo "$as_me:$LINENO: checking for $ac_func" >&5
79610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79611 if eval "test \"\${$as_ac_var+set}\" = set"; then
79612 echo $ECHO_N "(cached) $ECHO_C" >&6
79613 else
79614 if test x$gcc_no_link = xyes; then
79615 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79617 { (exit 1); exit 1; }; }
79619 cat >conftest.$ac_ext <<_ACEOF
79620 /* confdefs.h. */
79621 _ACEOF
79622 cat confdefs.h >>conftest.$ac_ext
79623 cat >>conftest.$ac_ext <<_ACEOF
79624 /* end confdefs.h. */
79625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79627 #define $ac_func innocuous_$ac_func
79629 /* System header to define __stub macros and hopefully few prototypes,
79630 which can conflict with char $ac_func (); below.
79631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79632 <limits.h> exists even on freestanding compilers. */
79634 #ifdef __STDC__
79635 # include <limits.h>
79636 #else
79637 # include <assert.h>
79638 #endif
79640 #undef $ac_func
79642 /* Override any gcc2 internal prototype to avoid an error. */
79643 #ifdef __cplusplus
79644 extern "C"
79646 #endif
79647 /* We use char because int might match the return type of a gcc2
79648 builtin and then its argument prototype would still apply. */
79649 char $ac_func ();
79650 /* The GNU C library defines this for functions which it implements
79651 to always fail with ENOSYS. Some functions are actually named
79652 something starting with __ and the normal name is an alias. */
79653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79654 choke me
79655 #else
79656 char (*f) () = $ac_func;
79657 #endif
79658 #ifdef __cplusplus
79660 #endif
79663 main ()
79665 return f != $ac_func;
79667 return 0;
79669 _ACEOF
79670 rm -f conftest.$ac_objext conftest$ac_exeext
79671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79672 (eval $ac_link) 2>conftest.er1
79673 ac_status=$?
79674 grep -v '^ *+' conftest.er1 >conftest.err
79675 rm -f conftest.er1
79676 cat conftest.err >&5
79677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79678 (exit $ac_status); } &&
79679 { ac_try='test -z "$ac_c_werror_flag"
79680 || test ! -s conftest.err'
79681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79682 (eval $ac_try) 2>&5
79683 ac_status=$?
79684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79685 (exit $ac_status); }; } &&
79686 { ac_try='test -s conftest$ac_exeext'
79687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79688 (eval $ac_try) 2>&5
79689 ac_status=$?
79690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79691 (exit $ac_status); }; }; then
79692 eval "$as_ac_var=yes"
79693 else
79694 echo "$as_me: failed program was:" >&5
79695 sed 's/^/| /' conftest.$ac_ext >&5
79697 eval "$as_ac_var=no"
79699 rm -f conftest.err conftest.$ac_objext \
79700 conftest$ac_exeext conftest.$ac_ext
79702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79704 if test `eval echo '${'$as_ac_var'}'` = yes; then
79705 cat >>confdefs.h <<_ACEOF
79706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79707 _ACEOF
79709 else
79710 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
79712 done
79716 # Used in libmath/Makefile.am.
79717 if test -n "$LIBMATHOBJS"; then
79718 need_libmath=yes
79724 enable_iconv=no
79725 # Only continue checking if the ISO C99 headers exist and support is on.
79726 if test x"$enable_wchar_t" = xyes; then
79728 # Use iconv for wchar_t to char conversions. As such, check for
79729 # X/Open Portability Guide, version 2 features (XPG2).
79730 if test "${ac_cv_header_iconv_h+set}" = set; then
79731 echo "$as_me:$LINENO: checking for iconv.h" >&5
79732 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79733 if test "${ac_cv_header_iconv_h+set}" = set; then
79734 echo $ECHO_N "(cached) $ECHO_C" >&6
79736 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79737 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79738 else
79739 # Is the header compilable?
79740 echo "$as_me:$LINENO: checking iconv.h usability" >&5
79741 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
79742 cat >conftest.$ac_ext <<_ACEOF
79743 /* confdefs.h. */
79744 _ACEOF
79745 cat confdefs.h >>conftest.$ac_ext
79746 cat >>conftest.$ac_ext <<_ACEOF
79747 /* end confdefs.h. */
79748 $ac_includes_default
79749 #include <iconv.h>
79750 _ACEOF
79751 rm -f conftest.$ac_objext
79752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79753 (eval $ac_compile) 2>conftest.er1
79754 ac_status=$?
79755 grep -v '^ *+' conftest.er1 >conftest.err
79756 rm -f conftest.er1
79757 cat conftest.err >&5
79758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79759 (exit $ac_status); } &&
79760 { ac_try='test -z "$ac_c_werror_flag"
79761 || test ! -s conftest.err'
79762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79763 (eval $ac_try) 2>&5
79764 ac_status=$?
79765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79766 (exit $ac_status); }; } &&
79767 { ac_try='test -s conftest.$ac_objext'
79768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79769 (eval $ac_try) 2>&5
79770 ac_status=$?
79771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79772 (exit $ac_status); }; }; then
79773 ac_header_compiler=yes
79774 else
79775 echo "$as_me: failed program was:" >&5
79776 sed 's/^/| /' conftest.$ac_ext >&5
79778 ac_header_compiler=no
79780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79781 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79782 echo "${ECHO_T}$ac_header_compiler" >&6
79784 # Is the header present?
79785 echo "$as_me:$LINENO: checking iconv.h presence" >&5
79786 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
79787 cat >conftest.$ac_ext <<_ACEOF
79788 /* confdefs.h. */
79789 _ACEOF
79790 cat confdefs.h >>conftest.$ac_ext
79791 cat >>conftest.$ac_ext <<_ACEOF
79792 /* end confdefs.h. */
79793 #include <iconv.h>
79794 _ACEOF
79795 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79796 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79797 ac_status=$?
79798 grep -v '^ *+' conftest.er1 >conftest.err
79799 rm -f conftest.er1
79800 cat conftest.err >&5
79801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79802 (exit $ac_status); } >/dev/null; then
79803 if test -s conftest.err; then
79804 ac_cpp_err=$ac_c_preproc_warn_flag
79805 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79806 else
79807 ac_cpp_err=
79809 else
79810 ac_cpp_err=yes
79812 if test -z "$ac_cpp_err"; then
79813 ac_header_preproc=yes
79814 else
79815 echo "$as_me: failed program was:" >&5
79816 sed 's/^/| /' conftest.$ac_ext >&5
79818 ac_header_preproc=no
79820 rm -f conftest.err conftest.$ac_ext
79821 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79822 echo "${ECHO_T}$ac_header_preproc" >&6
79824 # So? What about this header?
79825 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79826 yes:no: )
79827 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
79828 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79829 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
79830 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
79831 ac_header_preproc=yes
79833 no:yes:* )
79834 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
79835 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
79836 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
79837 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
79838 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
79839 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
79840 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
79841 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
79842 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
79843 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
79844 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
79845 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
79847 cat <<\_ASBOX
79848 ## ----------------------------------------- ##
79849 ## Report this to the package-unused lists. ##
79850 ## ----------------------------------------- ##
79851 _ASBOX
79853 sed "s/^/$as_me: WARNING: /" >&2
79855 esac
79856 echo "$as_me:$LINENO: checking for iconv.h" >&5
79857 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79858 if test "${ac_cv_header_iconv_h+set}" = set; then
79859 echo $ECHO_N "(cached) $ECHO_C" >&6
79860 else
79861 ac_cv_header_iconv_h=$ac_header_preproc
79863 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79864 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79867 if test $ac_cv_header_iconv_h = yes; then
79868 ac_has_iconv_h=yes
79869 else
79870 ac_has_iconv_h=no
79874 if test "${ac_cv_header_langinfo_h+set}" = set; then
79875 echo "$as_me:$LINENO: checking for langinfo.h" >&5
79876 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79877 if test "${ac_cv_header_langinfo_h+set}" = set; then
79878 echo $ECHO_N "(cached) $ECHO_C" >&6
79880 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79881 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79882 else
79883 # Is the header compilable?
79884 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
79885 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
79886 cat >conftest.$ac_ext <<_ACEOF
79887 /* confdefs.h. */
79888 _ACEOF
79889 cat confdefs.h >>conftest.$ac_ext
79890 cat >>conftest.$ac_ext <<_ACEOF
79891 /* end confdefs.h. */
79892 $ac_includes_default
79893 #include <langinfo.h>
79894 _ACEOF
79895 rm -f conftest.$ac_objext
79896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79897 (eval $ac_compile) 2>conftest.er1
79898 ac_status=$?
79899 grep -v '^ *+' conftest.er1 >conftest.err
79900 rm -f conftest.er1
79901 cat conftest.err >&5
79902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79903 (exit $ac_status); } &&
79904 { ac_try='test -z "$ac_c_werror_flag"
79905 || test ! -s conftest.err'
79906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79907 (eval $ac_try) 2>&5
79908 ac_status=$?
79909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79910 (exit $ac_status); }; } &&
79911 { ac_try='test -s conftest.$ac_objext'
79912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79913 (eval $ac_try) 2>&5
79914 ac_status=$?
79915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79916 (exit $ac_status); }; }; then
79917 ac_header_compiler=yes
79918 else
79919 echo "$as_me: failed program was:" >&5
79920 sed 's/^/| /' conftest.$ac_ext >&5
79922 ac_header_compiler=no
79924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79925 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79926 echo "${ECHO_T}$ac_header_compiler" >&6
79928 # Is the header present?
79929 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
79930 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
79931 cat >conftest.$ac_ext <<_ACEOF
79932 /* confdefs.h. */
79933 _ACEOF
79934 cat confdefs.h >>conftest.$ac_ext
79935 cat >>conftest.$ac_ext <<_ACEOF
79936 /* end confdefs.h. */
79937 #include <langinfo.h>
79938 _ACEOF
79939 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79940 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79941 ac_status=$?
79942 grep -v '^ *+' conftest.er1 >conftest.err
79943 rm -f conftest.er1
79944 cat conftest.err >&5
79945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79946 (exit $ac_status); } >/dev/null; then
79947 if test -s conftest.err; then
79948 ac_cpp_err=$ac_c_preproc_warn_flag
79949 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79950 else
79951 ac_cpp_err=
79953 else
79954 ac_cpp_err=yes
79956 if test -z "$ac_cpp_err"; then
79957 ac_header_preproc=yes
79958 else
79959 echo "$as_me: failed program was:" >&5
79960 sed 's/^/| /' conftest.$ac_ext >&5
79962 ac_header_preproc=no
79964 rm -f conftest.err conftest.$ac_ext
79965 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79966 echo "${ECHO_T}$ac_header_preproc" >&6
79968 # So? What about this header?
79969 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79970 yes:no: )
79971 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
79972 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79973 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
79974 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
79975 ac_header_preproc=yes
79977 no:yes:* )
79978 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
79979 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
79980 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
79981 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
79982 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
79983 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
79984 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
79985 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
79986 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
79987 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
79988 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
79989 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
79991 cat <<\_ASBOX
79992 ## ----------------------------------------- ##
79993 ## Report this to the package-unused lists. ##
79994 ## ----------------------------------------- ##
79995 _ASBOX
79997 sed "s/^/$as_me: WARNING: /" >&2
79999 esac
80000 echo "$as_me:$LINENO: checking for langinfo.h" >&5
80001 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
80002 if test "${ac_cv_header_langinfo_h+set}" = set; then
80003 echo $ECHO_N "(cached) $ECHO_C" >&6
80004 else
80005 ac_cv_header_langinfo_h=$ac_header_preproc
80007 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
80008 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
80011 if test $ac_cv_header_langinfo_h = yes; then
80012 ac_has_langinfo_h=yes
80013 else
80014 ac_has_langinfo_h=no
80019 # Check for existence of libiconv.a providing XPG2 wchar_t support.
80020 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
80021 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
80022 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
80023 echo $ECHO_N "(cached) $ECHO_C" >&6
80024 else
80025 ac_check_lib_save_LIBS=$LIBS
80026 LIBS="-liconv $LIBS"
80027 if test x$gcc_no_link = xyes; then
80028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80030 { (exit 1); exit 1; }; }
80032 cat >conftest.$ac_ext <<_ACEOF
80033 /* confdefs.h. */
80034 _ACEOF
80035 cat confdefs.h >>conftest.$ac_ext
80036 cat >>conftest.$ac_ext <<_ACEOF
80037 /* end confdefs.h. */
80039 /* Override any gcc2 internal prototype to avoid an error. */
80040 #ifdef __cplusplus
80041 extern "C"
80042 #endif
80043 /* We use char because int might match the return type of a gcc2
80044 builtin and then its argument prototype would still apply. */
80045 char iconv ();
80047 main ()
80049 iconv ();
80051 return 0;
80053 _ACEOF
80054 rm -f conftest.$ac_objext conftest$ac_exeext
80055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80056 (eval $ac_link) 2>conftest.er1
80057 ac_status=$?
80058 grep -v '^ *+' conftest.er1 >conftest.err
80059 rm -f conftest.er1
80060 cat conftest.err >&5
80061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80062 (exit $ac_status); } &&
80063 { ac_try='test -z "$ac_c_werror_flag"
80064 || test ! -s conftest.err'
80065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80066 (eval $ac_try) 2>&5
80067 ac_status=$?
80068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80069 (exit $ac_status); }; } &&
80070 { ac_try='test -s conftest$ac_exeext'
80071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80072 (eval $ac_try) 2>&5
80073 ac_status=$?
80074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80075 (exit $ac_status); }; }; then
80076 ac_cv_lib_iconv_iconv=yes
80077 else
80078 echo "$as_me: failed program was:" >&5
80079 sed 's/^/| /' conftest.$ac_ext >&5
80081 ac_cv_lib_iconv_iconv=no
80083 rm -f conftest.err conftest.$ac_objext \
80084 conftest$ac_exeext conftest.$ac_ext
80085 LIBS=$ac_check_lib_save_LIBS
80087 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
80088 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
80089 if test $ac_cv_lib_iconv_iconv = yes; then
80090 LIBICONV="-liconv"
80093 ac_save_LIBS="$LIBS"
80094 LIBS="$LIBS $LIBICONV"
80101 for ac_func in iconv_open iconv_close iconv nl_langinfo
80103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80104 echo "$as_me:$LINENO: checking for $ac_func" >&5
80105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80106 if eval "test \"\${$as_ac_var+set}\" = set"; then
80107 echo $ECHO_N "(cached) $ECHO_C" >&6
80108 else
80109 if test x$gcc_no_link = xyes; then
80110 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80112 { (exit 1); exit 1; }; }
80114 cat >conftest.$ac_ext <<_ACEOF
80115 /* confdefs.h. */
80116 _ACEOF
80117 cat confdefs.h >>conftest.$ac_ext
80118 cat >>conftest.$ac_ext <<_ACEOF
80119 /* end confdefs.h. */
80120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80122 #define $ac_func innocuous_$ac_func
80124 /* System header to define __stub macros and hopefully few prototypes,
80125 which can conflict with char $ac_func (); below.
80126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80127 <limits.h> exists even on freestanding compilers. */
80129 #ifdef __STDC__
80130 # include <limits.h>
80131 #else
80132 # include <assert.h>
80133 #endif
80135 #undef $ac_func
80137 /* Override any gcc2 internal prototype to avoid an error. */
80138 #ifdef __cplusplus
80139 extern "C"
80141 #endif
80142 /* We use char because int might match the return type of a gcc2
80143 builtin and then its argument prototype would still apply. */
80144 char $ac_func ();
80145 /* The GNU C library defines this for functions which it implements
80146 to always fail with ENOSYS. Some functions are actually named
80147 something starting with __ and the normal name is an alias. */
80148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80149 choke me
80150 #else
80151 char (*f) () = $ac_func;
80152 #endif
80153 #ifdef __cplusplus
80155 #endif
80158 main ()
80160 return f != $ac_func;
80162 return 0;
80164 _ACEOF
80165 rm -f conftest.$ac_objext conftest$ac_exeext
80166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80167 (eval $ac_link) 2>conftest.er1
80168 ac_status=$?
80169 grep -v '^ *+' conftest.er1 >conftest.err
80170 rm -f conftest.er1
80171 cat conftest.err >&5
80172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80173 (exit $ac_status); } &&
80174 { ac_try='test -z "$ac_c_werror_flag"
80175 || test ! -s conftest.err'
80176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80177 (eval $ac_try) 2>&5
80178 ac_status=$?
80179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80180 (exit $ac_status); }; } &&
80181 { ac_try='test -s conftest$ac_exeext'
80182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80183 (eval $ac_try) 2>&5
80184 ac_status=$?
80185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80186 (exit $ac_status); }; }; then
80187 eval "$as_ac_var=yes"
80188 else
80189 echo "$as_me: failed program was:" >&5
80190 sed 's/^/| /' conftest.$ac_ext >&5
80192 eval "$as_ac_var=no"
80194 rm -f conftest.err conftest.$ac_objext \
80195 conftest$ac_exeext conftest.$ac_ext
80197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80199 if test `eval echo '${'$as_ac_var'}'` = yes; then
80200 cat >>confdefs.h <<_ACEOF
80201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80202 _ACEOF
80203 ac_XPG2funcs=yes
80204 else
80205 ac_XPG2funcs=no
80207 done
80210 LIBS="$ac_save_LIBS"
80212 if test x"$ac_has_iconv_h" = xyes &&
80213 test x"$ac_has_langinfo_h" = xyes &&
80214 test x"$ac_XPG2funcs" = xyes;
80215 then
80217 cat >>confdefs.h <<\_ACEOF
80218 #define _GLIBCXX_USE_ICONV 1
80219 _ACEOF
80221 enable_iconv=yes
80224 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
80225 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
80226 echo "$as_me:$LINENO: result: $enable_iconv" >&5
80227 echo "${ECHO_T}$enable_iconv" >&6
80230 *-netbsd*)
80243 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
80244 machine/endian.h machine/param.h sys/machine.h sys/types.h \
80245 fp.h locale.h float.h inttypes.h
80247 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80249 echo "$as_me:$LINENO: checking for $ac_header" >&5
80250 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80251 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80252 echo $ECHO_N "(cached) $ECHO_C" >&6
80254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80255 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80256 else
80257 # Is the header compilable?
80258 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80259 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80260 cat >conftest.$ac_ext <<_ACEOF
80261 /* confdefs.h. */
80262 _ACEOF
80263 cat confdefs.h >>conftest.$ac_ext
80264 cat >>conftest.$ac_ext <<_ACEOF
80265 /* end confdefs.h. */
80266 $ac_includes_default
80267 #include <$ac_header>
80268 _ACEOF
80269 rm -f conftest.$ac_objext
80270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80271 (eval $ac_compile) 2>conftest.er1
80272 ac_status=$?
80273 grep -v '^ *+' conftest.er1 >conftest.err
80274 rm -f conftest.er1
80275 cat conftest.err >&5
80276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80277 (exit $ac_status); } &&
80278 { ac_try='test -z "$ac_c_werror_flag"
80279 || test ! -s conftest.err'
80280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80281 (eval $ac_try) 2>&5
80282 ac_status=$?
80283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80284 (exit $ac_status); }; } &&
80285 { ac_try='test -s conftest.$ac_objext'
80286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80287 (eval $ac_try) 2>&5
80288 ac_status=$?
80289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80290 (exit $ac_status); }; }; then
80291 ac_header_compiler=yes
80292 else
80293 echo "$as_me: failed program was:" >&5
80294 sed 's/^/| /' conftest.$ac_ext >&5
80296 ac_header_compiler=no
80298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80299 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80300 echo "${ECHO_T}$ac_header_compiler" >&6
80302 # Is the header present?
80303 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80304 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80305 cat >conftest.$ac_ext <<_ACEOF
80306 /* confdefs.h. */
80307 _ACEOF
80308 cat confdefs.h >>conftest.$ac_ext
80309 cat >>conftest.$ac_ext <<_ACEOF
80310 /* end confdefs.h. */
80311 #include <$ac_header>
80312 _ACEOF
80313 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80314 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80315 ac_status=$?
80316 grep -v '^ *+' conftest.er1 >conftest.err
80317 rm -f conftest.er1
80318 cat conftest.err >&5
80319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80320 (exit $ac_status); } >/dev/null; then
80321 if test -s conftest.err; then
80322 ac_cpp_err=$ac_c_preproc_warn_flag
80323 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80324 else
80325 ac_cpp_err=
80327 else
80328 ac_cpp_err=yes
80330 if test -z "$ac_cpp_err"; then
80331 ac_header_preproc=yes
80332 else
80333 echo "$as_me: failed program was:" >&5
80334 sed 's/^/| /' conftest.$ac_ext >&5
80336 ac_header_preproc=no
80338 rm -f conftest.err conftest.$ac_ext
80339 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80340 echo "${ECHO_T}$ac_header_preproc" >&6
80342 # So? What about this header?
80343 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80344 yes:no: )
80345 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80346 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80347 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80348 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80349 ac_header_preproc=yes
80351 no:yes:* )
80352 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80353 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80354 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80355 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80356 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80357 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80358 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
80359 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
80360 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80361 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80362 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80363 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80365 cat <<\_ASBOX
80366 ## ----------------------------------------- ##
80367 ## Report this to the package-unused lists. ##
80368 ## ----------------------------------------- ##
80369 _ASBOX
80371 sed "s/^/$as_me: WARNING: /" >&2
80373 esac
80374 echo "$as_me:$LINENO: checking for $ac_header" >&5
80375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80376 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80377 echo $ECHO_N "(cached) $ECHO_C" >&6
80378 else
80379 eval "$as_ac_Header=\$ac_header_preproc"
80381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80382 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80385 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80386 cat >>confdefs.h <<_ACEOF
80387 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80388 _ACEOF
80392 done
80394 SECTION_FLAGS='-ffunction-sections -fdata-sections'
80397 # If we're not using GNU ld, then there's no point in even trying these
80398 # tests. Check for that first. We should have already tested for gld
80399 # by now (in libtool), but require it now just to be safe...
80400 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
80401 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
80405 # The name set by libtool depends on the version of libtool. Shame on us
80406 # for depending on an impl detail, but c'est la vie. Older versions used
80407 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
80408 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
80409 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
80410 # set (hence we're using an older libtool), then set it.
80411 if test x${with_gnu_ld+set} != xset; then
80412 if test x${ac_cv_prog_gnu_ld+set} != xset; then
80413 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
80414 with_gnu_ld=no
80415 else
80416 with_gnu_ld=$ac_cv_prog_gnu_ld
80420 # Start by getting the version number. I think the libtool test already
80421 # does some of this, but throws away the result.
80423 ldver=`$LD --version 2>/dev/null | head -1 | \
80424 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
80426 glibcxx_gnu_ld_version=`echo $ldver | \
80427 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
80429 # Set --gc-sections.
80430 if test "$with_gnu_ld" = "notbroken"; then
80431 # GNU ld it is! Joy and bunny rabbits!
80433 # All these tests are for C++; save the language and the compiler flags.
80434 # Need to do this so that g++ won't try to link in libstdc++
80435 ac_test_CFLAGS="${CFLAGS+set}"
80436 ac_save_CFLAGS="$CFLAGS"
80437 CFLAGS='-x c++ -Wl,--gc-sections'
80439 # Check for -Wl,--gc-sections
80440 # XXX This test is broken at the moment, as symbols required for linking
80441 # are now in libsupc++ (not built yet). In addition, this test has
80442 # cored on solaris in the past. In addition, --gc-sections doesn't
80443 # really work at the moment (keeps on discarding used sections, first
80444 # .eh_frame and now some of the glibc sections for iconv).
80445 # Bzzzzt. Thanks for playing, maybe next time.
80446 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
80447 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
80448 if test "$cross_compiling" = yes; then
80449 ac_sectionLDflags=yes
80450 else
80451 cat >conftest.$ac_ext <<_ACEOF
80452 /* confdefs.h. */
80453 _ACEOF
80454 cat confdefs.h >>conftest.$ac_ext
80455 cat >>conftest.$ac_ext <<_ACEOF
80456 /* end confdefs.h. */
80458 int main(void)
80460 try { throw 1; }
80461 catch (...) { };
80462 return 0;
80465 _ACEOF
80466 rm -f conftest$ac_exeext
80467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80468 (eval $ac_link) 2>&5
80469 ac_status=$?
80470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80471 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
80472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80473 (eval $ac_try) 2>&5
80474 ac_status=$?
80475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80476 (exit $ac_status); }; }; then
80477 ac_sectionLDflags=yes
80478 else
80479 echo "$as_me: program exited with status $ac_status" >&5
80480 echo "$as_me: failed program was:" >&5
80481 sed 's/^/| /' conftest.$ac_ext >&5
80483 ( exit $ac_status )
80484 ac_sectionLDflags=no
80486 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
80488 if test "$ac_test_CFLAGS" = set; then
80489 CFLAGS="$ac_save_CFLAGS"
80490 else
80491 # this is the suspicious part
80492 CFLAGS=''
80494 if test "$ac_sectionLDflags" = "yes"; then
80495 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
80497 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
80498 echo "${ECHO_T}$ac_sectionLDflags" >&6
80501 # Set linker optimization flags.
80502 if test x"$with_gnu_ld" = x"yes"; then
80503 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
80511 echo "$as_me:$LINENO: checking for main in -lm" >&5
80512 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
80513 if test "${ac_cv_lib_m_main+set}" = set; then
80514 echo $ECHO_N "(cached) $ECHO_C" >&6
80515 else
80516 ac_check_lib_save_LIBS=$LIBS
80517 LIBS="-lm $LIBS"
80518 if test x$gcc_no_link = xyes; then
80519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80521 { (exit 1); exit 1; }; }
80523 cat >conftest.$ac_ext <<_ACEOF
80524 /* confdefs.h. */
80525 _ACEOF
80526 cat confdefs.h >>conftest.$ac_ext
80527 cat >>conftest.$ac_ext <<_ACEOF
80528 /* end confdefs.h. */
80532 main ()
80534 main ();
80536 return 0;
80538 _ACEOF
80539 rm -f conftest.$ac_objext conftest$ac_exeext
80540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80541 (eval $ac_link) 2>conftest.er1
80542 ac_status=$?
80543 grep -v '^ *+' conftest.er1 >conftest.err
80544 rm -f conftest.er1
80545 cat conftest.err >&5
80546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80547 (exit $ac_status); } &&
80548 { ac_try='test -z "$ac_c_werror_flag"
80549 || test ! -s conftest.err'
80550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80551 (eval $ac_try) 2>&5
80552 ac_status=$?
80553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80554 (exit $ac_status); }; } &&
80555 { ac_try='test -s conftest$ac_exeext'
80556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80557 (eval $ac_try) 2>&5
80558 ac_status=$?
80559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80560 (exit $ac_status); }; }; then
80561 ac_cv_lib_m_main=yes
80562 else
80563 echo "$as_me: failed program was:" >&5
80564 sed 's/^/| /' conftest.$ac_ext >&5
80566 ac_cv_lib_m_main=no
80568 rm -f conftest.err conftest.$ac_objext \
80569 conftest$ac_exeext conftest.$ac_ext
80570 LIBS=$ac_check_lib_save_LIBS
80572 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
80573 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
80574 if test $ac_cv_lib_m_main = yes; then
80575 cat >>confdefs.h <<_ACEOF
80576 #define HAVE_LIBM 1
80577 _ACEOF
80579 LIBS="-lm $LIBS"
80584 for ac_func in copysignf
80586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80587 echo "$as_me:$LINENO: checking for $ac_func" >&5
80588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80589 if eval "test \"\${$as_ac_var+set}\" = set"; then
80590 echo $ECHO_N "(cached) $ECHO_C" >&6
80591 else
80592 if test x$gcc_no_link = xyes; then
80593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80595 { (exit 1); exit 1; }; }
80597 cat >conftest.$ac_ext <<_ACEOF
80598 /* confdefs.h. */
80599 _ACEOF
80600 cat confdefs.h >>conftest.$ac_ext
80601 cat >>conftest.$ac_ext <<_ACEOF
80602 /* end confdefs.h. */
80603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80605 #define $ac_func innocuous_$ac_func
80607 /* System header to define __stub macros and hopefully few prototypes,
80608 which can conflict with char $ac_func (); below.
80609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80610 <limits.h> exists even on freestanding compilers. */
80612 #ifdef __STDC__
80613 # include <limits.h>
80614 #else
80615 # include <assert.h>
80616 #endif
80618 #undef $ac_func
80620 /* Override any gcc2 internal prototype to avoid an error. */
80621 #ifdef __cplusplus
80622 extern "C"
80624 #endif
80625 /* We use char because int might match the return type of a gcc2
80626 builtin and then its argument prototype would still apply. */
80627 char $ac_func ();
80628 /* The GNU C library defines this for functions which it implements
80629 to always fail with ENOSYS. Some functions are actually named
80630 something starting with __ and the normal name is an alias. */
80631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80632 choke me
80633 #else
80634 char (*f) () = $ac_func;
80635 #endif
80636 #ifdef __cplusplus
80638 #endif
80641 main ()
80643 return f != $ac_func;
80645 return 0;
80647 _ACEOF
80648 rm -f conftest.$ac_objext conftest$ac_exeext
80649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80650 (eval $ac_link) 2>conftest.er1
80651 ac_status=$?
80652 grep -v '^ *+' conftest.er1 >conftest.err
80653 rm -f conftest.er1
80654 cat conftest.err >&5
80655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80656 (exit $ac_status); } &&
80657 { ac_try='test -z "$ac_c_werror_flag"
80658 || test ! -s conftest.err'
80659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80660 (eval $ac_try) 2>&5
80661 ac_status=$?
80662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80663 (exit $ac_status); }; } &&
80664 { ac_try='test -s conftest$ac_exeext'
80665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80666 (eval $ac_try) 2>&5
80667 ac_status=$?
80668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80669 (exit $ac_status); }; }; then
80670 eval "$as_ac_var=yes"
80671 else
80672 echo "$as_me: failed program was:" >&5
80673 sed 's/^/| /' conftest.$ac_ext >&5
80675 eval "$as_ac_var=no"
80677 rm -f conftest.err conftest.$ac_objext \
80678 conftest$ac_exeext conftest.$ac_ext
80680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80681 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80682 if test `eval echo '${'$as_ac_var'}'` = yes; then
80683 cat >>confdefs.h <<_ACEOF
80684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80685 _ACEOF
80687 else
80688 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
80690 done
80694 for ac_func in __signbit
80696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80697 echo "$as_me:$LINENO: checking for $ac_func" >&5
80698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80699 if eval "test \"\${$as_ac_var+set}\" = set"; then
80700 echo $ECHO_N "(cached) $ECHO_C" >&6
80701 else
80702 if test x$gcc_no_link = xyes; then
80703 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80705 { (exit 1); exit 1; }; }
80707 cat >conftest.$ac_ext <<_ACEOF
80708 /* confdefs.h. */
80709 _ACEOF
80710 cat confdefs.h >>conftest.$ac_ext
80711 cat >>conftest.$ac_ext <<_ACEOF
80712 /* end confdefs.h. */
80713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80715 #define $ac_func innocuous_$ac_func
80717 /* System header to define __stub macros and hopefully few prototypes,
80718 which can conflict with char $ac_func (); below.
80719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80720 <limits.h> exists even on freestanding compilers. */
80722 #ifdef __STDC__
80723 # include <limits.h>
80724 #else
80725 # include <assert.h>
80726 #endif
80728 #undef $ac_func
80730 /* Override any gcc2 internal prototype to avoid an error. */
80731 #ifdef __cplusplus
80732 extern "C"
80734 #endif
80735 /* We use char because int might match the return type of a gcc2
80736 builtin and then its argument prototype would still apply. */
80737 char $ac_func ();
80738 /* The GNU C library defines this for functions which it implements
80739 to always fail with ENOSYS. Some functions are actually named
80740 something starting with __ and the normal name is an alias. */
80741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80742 choke me
80743 #else
80744 char (*f) () = $ac_func;
80745 #endif
80746 #ifdef __cplusplus
80748 #endif
80751 main ()
80753 return f != $ac_func;
80755 return 0;
80757 _ACEOF
80758 rm -f conftest.$ac_objext conftest$ac_exeext
80759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80760 (eval $ac_link) 2>conftest.er1
80761 ac_status=$?
80762 grep -v '^ *+' conftest.er1 >conftest.err
80763 rm -f conftest.er1
80764 cat conftest.err >&5
80765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80766 (exit $ac_status); } &&
80767 { ac_try='test -z "$ac_c_werror_flag"
80768 || test ! -s conftest.err'
80769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80770 (eval $ac_try) 2>&5
80771 ac_status=$?
80772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80773 (exit $ac_status); }; } &&
80774 { ac_try='test -s conftest$ac_exeext'
80775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80776 (eval $ac_try) 2>&5
80777 ac_status=$?
80778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80779 (exit $ac_status); }; }; then
80780 eval "$as_ac_var=yes"
80781 else
80782 echo "$as_me: failed program was:" >&5
80783 sed 's/^/| /' conftest.$ac_ext >&5
80785 eval "$as_ac_var=no"
80787 rm -f conftest.err conftest.$ac_objext \
80788 conftest$ac_exeext conftest.$ac_ext
80790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80792 if test `eval echo '${'$as_ac_var'}'` = yes; then
80793 cat >>confdefs.h <<_ACEOF
80794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80795 _ACEOF
80797 else
80798 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
80800 done
80804 for ac_func in __signbitf
80806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80807 echo "$as_me:$LINENO: checking for $ac_func" >&5
80808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80809 if eval "test \"\${$as_ac_var+set}\" = set"; then
80810 echo $ECHO_N "(cached) $ECHO_C" >&6
80811 else
80812 if test x$gcc_no_link = xyes; then
80813 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80815 { (exit 1); exit 1; }; }
80817 cat >conftest.$ac_ext <<_ACEOF
80818 /* confdefs.h. */
80819 _ACEOF
80820 cat confdefs.h >>conftest.$ac_ext
80821 cat >>conftest.$ac_ext <<_ACEOF
80822 /* end confdefs.h. */
80823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80825 #define $ac_func innocuous_$ac_func
80827 /* System header to define __stub macros and hopefully few prototypes,
80828 which can conflict with char $ac_func (); below.
80829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80830 <limits.h> exists even on freestanding compilers. */
80832 #ifdef __STDC__
80833 # include <limits.h>
80834 #else
80835 # include <assert.h>
80836 #endif
80838 #undef $ac_func
80840 /* Override any gcc2 internal prototype to avoid an error. */
80841 #ifdef __cplusplus
80842 extern "C"
80844 #endif
80845 /* We use char because int might match the return type of a gcc2
80846 builtin and then its argument prototype would still apply. */
80847 char $ac_func ();
80848 /* The GNU C library defines this for functions which it implements
80849 to always fail with ENOSYS. Some functions are actually named
80850 something starting with __ and the normal name is an alias. */
80851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80852 choke me
80853 #else
80854 char (*f) () = $ac_func;
80855 #endif
80856 #ifdef __cplusplus
80858 #endif
80861 main ()
80863 return f != $ac_func;
80865 return 0;
80867 _ACEOF
80868 rm -f conftest.$ac_objext conftest$ac_exeext
80869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80870 (eval $ac_link) 2>conftest.er1
80871 ac_status=$?
80872 grep -v '^ *+' conftest.er1 >conftest.err
80873 rm -f conftest.er1
80874 cat conftest.err >&5
80875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80876 (exit $ac_status); } &&
80877 { ac_try='test -z "$ac_c_werror_flag"
80878 || test ! -s conftest.err'
80879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80880 (eval $ac_try) 2>&5
80881 ac_status=$?
80882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80883 (exit $ac_status); }; } &&
80884 { ac_try='test -s conftest$ac_exeext'
80885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80886 (eval $ac_try) 2>&5
80887 ac_status=$?
80888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80889 (exit $ac_status); }; }; then
80890 eval "$as_ac_var=yes"
80891 else
80892 echo "$as_me: failed program was:" >&5
80893 sed 's/^/| /' conftest.$ac_ext >&5
80895 eval "$as_ac_var=no"
80897 rm -f conftest.err conftest.$ac_objext \
80898 conftest$ac_exeext conftest.$ac_ext
80900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80902 if test `eval echo '${'$as_ac_var'}'` = yes; then
80903 cat >>confdefs.h <<_ACEOF
80904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80905 _ACEOF
80907 else
80908 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
80910 done
80913 if test x$ac_cv_func_copysignl = x"yes"; then
80915 for ac_func in __signbitl
80917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80918 echo "$as_me:$LINENO: checking for $ac_func" >&5
80919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80920 if eval "test \"\${$as_ac_var+set}\" = set"; then
80921 echo $ECHO_N "(cached) $ECHO_C" >&6
80922 else
80923 if test x$gcc_no_link = xyes; then
80924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80926 { (exit 1); exit 1; }; }
80928 cat >conftest.$ac_ext <<_ACEOF
80929 /* confdefs.h. */
80930 _ACEOF
80931 cat confdefs.h >>conftest.$ac_ext
80932 cat >>conftest.$ac_ext <<_ACEOF
80933 /* end confdefs.h. */
80934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80936 #define $ac_func innocuous_$ac_func
80938 /* System header to define __stub macros and hopefully few prototypes,
80939 which can conflict with char $ac_func (); below.
80940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80941 <limits.h> exists even on freestanding compilers. */
80943 #ifdef __STDC__
80944 # include <limits.h>
80945 #else
80946 # include <assert.h>
80947 #endif
80949 #undef $ac_func
80951 /* Override any gcc2 internal prototype to avoid an error. */
80952 #ifdef __cplusplus
80953 extern "C"
80955 #endif
80956 /* We use char because int might match the return type of a gcc2
80957 builtin and then its argument prototype would still apply. */
80958 char $ac_func ();
80959 /* The GNU C library defines this for functions which it implements
80960 to always fail with ENOSYS. Some functions are actually named
80961 something starting with __ and the normal name is an alias. */
80962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80963 choke me
80964 #else
80965 char (*f) () = $ac_func;
80966 #endif
80967 #ifdef __cplusplus
80969 #endif
80972 main ()
80974 return f != $ac_func;
80976 return 0;
80978 _ACEOF
80979 rm -f conftest.$ac_objext conftest$ac_exeext
80980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80981 (eval $ac_link) 2>conftest.er1
80982 ac_status=$?
80983 grep -v '^ *+' conftest.er1 >conftest.err
80984 rm -f conftest.er1
80985 cat conftest.err >&5
80986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80987 (exit $ac_status); } &&
80988 { ac_try='test -z "$ac_c_werror_flag"
80989 || test ! -s conftest.err'
80990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80991 (eval $ac_try) 2>&5
80992 ac_status=$?
80993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80994 (exit $ac_status); }; } &&
80995 { ac_try='test -s conftest$ac_exeext'
80996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80997 (eval $ac_try) 2>&5
80998 ac_status=$?
80999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81000 (exit $ac_status); }; }; then
81001 eval "$as_ac_var=yes"
81002 else
81003 echo "$as_me: failed program was:" >&5
81004 sed 's/^/| /' conftest.$ac_ext >&5
81006 eval "$as_ac_var=no"
81008 rm -f conftest.err conftest.$ac_objext \
81009 conftest$ac_exeext conftest.$ac_ext
81011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81013 if test `eval echo '${'$as_ac_var'}'` = yes; then
81014 cat >>confdefs.h <<_ACEOF
81015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81016 _ACEOF
81018 else
81019 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
81021 done
81025 # Used in libmath/Makefile.am.
81026 if test -n "$LIBMATHOBJS"; then
81027 need_libmath=yes
81033 enable_iconv=no
81034 # Only continue checking if the ISO C99 headers exist and support is on.
81035 if test x"$enable_wchar_t" = xyes; then
81037 # Use iconv for wchar_t to char conversions. As such, check for
81038 # X/Open Portability Guide, version 2 features (XPG2).
81039 if test "${ac_cv_header_iconv_h+set}" = set; then
81040 echo "$as_me:$LINENO: checking for iconv.h" >&5
81041 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81042 if test "${ac_cv_header_iconv_h+set}" = set; then
81043 echo $ECHO_N "(cached) $ECHO_C" >&6
81045 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81046 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81047 else
81048 # Is the header compilable?
81049 echo "$as_me:$LINENO: checking iconv.h usability" >&5
81050 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
81051 cat >conftest.$ac_ext <<_ACEOF
81052 /* confdefs.h. */
81053 _ACEOF
81054 cat confdefs.h >>conftest.$ac_ext
81055 cat >>conftest.$ac_ext <<_ACEOF
81056 /* end confdefs.h. */
81057 $ac_includes_default
81058 #include <iconv.h>
81059 _ACEOF
81060 rm -f conftest.$ac_objext
81061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81062 (eval $ac_compile) 2>conftest.er1
81063 ac_status=$?
81064 grep -v '^ *+' conftest.er1 >conftest.err
81065 rm -f conftest.er1
81066 cat conftest.err >&5
81067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81068 (exit $ac_status); } &&
81069 { ac_try='test -z "$ac_c_werror_flag"
81070 || test ! -s conftest.err'
81071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81072 (eval $ac_try) 2>&5
81073 ac_status=$?
81074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81075 (exit $ac_status); }; } &&
81076 { ac_try='test -s conftest.$ac_objext'
81077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81078 (eval $ac_try) 2>&5
81079 ac_status=$?
81080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81081 (exit $ac_status); }; }; then
81082 ac_header_compiler=yes
81083 else
81084 echo "$as_me: failed program was:" >&5
81085 sed 's/^/| /' conftest.$ac_ext >&5
81087 ac_header_compiler=no
81089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81090 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81091 echo "${ECHO_T}$ac_header_compiler" >&6
81093 # Is the header present?
81094 echo "$as_me:$LINENO: checking iconv.h presence" >&5
81095 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
81096 cat >conftest.$ac_ext <<_ACEOF
81097 /* confdefs.h. */
81098 _ACEOF
81099 cat confdefs.h >>conftest.$ac_ext
81100 cat >>conftest.$ac_ext <<_ACEOF
81101 /* end confdefs.h. */
81102 #include <iconv.h>
81103 _ACEOF
81104 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81105 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81106 ac_status=$?
81107 grep -v '^ *+' conftest.er1 >conftest.err
81108 rm -f conftest.er1
81109 cat conftest.err >&5
81110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81111 (exit $ac_status); } >/dev/null; then
81112 if test -s conftest.err; then
81113 ac_cpp_err=$ac_c_preproc_warn_flag
81114 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81115 else
81116 ac_cpp_err=
81118 else
81119 ac_cpp_err=yes
81121 if test -z "$ac_cpp_err"; then
81122 ac_header_preproc=yes
81123 else
81124 echo "$as_me: failed program was:" >&5
81125 sed 's/^/| /' conftest.$ac_ext >&5
81127 ac_header_preproc=no
81129 rm -f conftest.err conftest.$ac_ext
81130 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81131 echo "${ECHO_T}$ac_header_preproc" >&6
81133 # So? What about this header?
81134 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81135 yes:no: )
81136 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
81137 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81138 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
81139 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
81140 ac_header_preproc=yes
81142 no:yes:* )
81143 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
81144 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
81145 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
81146 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
81147 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
81148 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
81149 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
81150 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
81151 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
81152 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
81153 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
81154 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
81156 cat <<\_ASBOX
81157 ## ----------------------------------------- ##
81158 ## Report this to the package-unused lists. ##
81159 ## ----------------------------------------- ##
81160 _ASBOX
81162 sed "s/^/$as_me: WARNING: /" >&2
81164 esac
81165 echo "$as_me:$LINENO: checking for iconv.h" >&5
81166 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81167 if test "${ac_cv_header_iconv_h+set}" = set; then
81168 echo $ECHO_N "(cached) $ECHO_C" >&6
81169 else
81170 ac_cv_header_iconv_h=$ac_header_preproc
81172 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81173 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81176 if test $ac_cv_header_iconv_h = yes; then
81177 ac_has_iconv_h=yes
81178 else
81179 ac_has_iconv_h=no
81183 if test "${ac_cv_header_langinfo_h+set}" = set; then
81184 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81185 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81186 if test "${ac_cv_header_langinfo_h+set}" = set; then
81187 echo $ECHO_N "(cached) $ECHO_C" >&6
81189 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81190 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81191 else
81192 # Is the header compilable?
81193 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
81194 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
81195 cat >conftest.$ac_ext <<_ACEOF
81196 /* confdefs.h. */
81197 _ACEOF
81198 cat confdefs.h >>conftest.$ac_ext
81199 cat >>conftest.$ac_ext <<_ACEOF
81200 /* end confdefs.h. */
81201 $ac_includes_default
81202 #include <langinfo.h>
81203 _ACEOF
81204 rm -f conftest.$ac_objext
81205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81206 (eval $ac_compile) 2>conftest.er1
81207 ac_status=$?
81208 grep -v '^ *+' conftest.er1 >conftest.err
81209 rm -f conftest.er1
81210 cat conftest.err >&5
81211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81212 (exit $ac_status); } &&
81213 { ac_try='test -z "$ac_c_werror_flag"
81214 || test ! -s conftest.err'
81215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81216 (eval $ac_try) 2>&5
81217 ac_status=$?
81218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81219 (exit $ac_status); }; } &&
81220 { ac_try='test -s conftest.$ac_objext'
81221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81222 (eval $ac_try) 2>&5
81223 ac_status=$?
81224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81225 (exit $ac_status); }; }; then
81226 ac_header_compiler=yes
81227 else
81228 echo "$as_me: failed program was:" >&5
81229 sed 's/^/| /' conftest.$ac_ext >&5
81231 ac_header_compiler=no
81233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81234 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81235 echo "${ECHO_T}$ac_header_compiler" >&6
81237 # Is the header present?
81238 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
81239 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
81240 cat >conftest.$ac_ext <<_ACEOF
81241 /* confdefs.h. */
81242 _ACEOF
81243 cat confdefs.h >>conftest.$ac_ext
81244 cat >>conftest.$ac_ext <<_ACEOF
81245 /* end confdefs.h. */
81246 #include <langinfo.h>
81247 _ACEOF
81248 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81249 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81250 ac_status=$?
81251 grep -v '^ *+' conftest.er1 >conftest.err
81252 rm -f conftest.er1
81253 cat conftest.err >&5
81254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81255 (exit $ac_status); } >/dev/null; then
81256 if test -s conftest.err; then
81257 ac_cpp_err=$ac_c_preproc_warn_flag
81258 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81259 else
81260 ac_cpp_err=
81262 else
81263 ac_cpp_err=yes
81265 if test -z "$ac_cpp_err"; then
81266 ac_header_preproc=yes
81267 else
81268 echo "$as_me: failed program was:" >&5
81269 sed 's/^/| /' conftest.$ac_ext >&5
81271 ac_header_preproc=no
81273 rm -f conftest.err conftest.$ac_ext
81274 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81275 echo "${ECHO_T}$ac_header_preproc" >&6
81277 # So? What about this header?
81278 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81279 yes:no: )
81280 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
81281 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81282 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
81283 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
81284 ac_header_preproc=yes
81286 no:yes:* )
81287 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
81288 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
81289 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
81290 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
81291 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
81292 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
81293 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
81294 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
81295 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
81296 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
81297 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
81298 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
81300 cat <<\_ASBOX
81301 ## ----------------------------------------- ##
81302 ## Report this to the package-unused lists. ##
81303 ## ----------------------------------------- ##
81304 _ASBOX
81306 sed "s/^/$as_me: WARNING: /" >&2
81308 esac
81309 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81310 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81311 if test "${ac_cv_header_langinfo_h+set}" = set; then
81312 echo $ECHO_N "(cached) $ECHO_C" >&6
81313 else
81314 ac_cv_header_langinfo_h=$ac_header_preproc
81316 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81317 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81320 if test $ac_cv_header_langinfo_h = yes; then
81321 ac_has_langinfo_h=yes
81322 else
81323 ac_has_langinfo_h=no
81328 # Check for existence of libiconv.a providing XPG2 wchar_t support.
81329 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
81330 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
81331 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
81332 echo $ECHO_N "(cached) $ECHO_C" >&6
81333 else
81334 ac_check_lib_save_LIBS=$LIBS
81335 LIBS="-liconv $LIBS"
81336 if test x$gcc_no_link = xyes; then
81337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81339 { (exit 1); exit 1; }; }
81341 cat >conftest.$ac_ext <<_ACEOF
81342 /* confdefs.h. */
81343 _ACEOF
81344 cat confdefs.h >>conftest.$ac_ext
81345 cat >>conftest.$ac_ext <<_ACEOF
81346 /* end confdefs.h. */
81348 /* Override any gcc2 internal prototype to avoid an error. */
81349 #ifdef __cplusplus
81350 extern "C"
81351 #endif
81352 /* We use char because int might match the return type of a gcc2
81353 builtin and then its argument prototype would still apply. */
81354 char iconv ();
81356 main ()
81358 iconv ();
81360 return 0;
81362 _ACEOF
81363 rm -f conftest.$ac_objext conftest$ac_exeext
81364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81365 (eval $ac_link) 2>conftest.er1
81366 ac_status=$?
81367 grep -v '^ *+' conftest.er1 >conftest.err
81368 rm -f conftest.er1
81369 cat conftest.err >&5
81370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81371 (exit $ac_status); } &&
81372 { ac_try='test -z "$ac_c_werror_flag"
81373 || test ! -s conftest.err'
81374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81375 (eval $ac_try) 2>&5
81376 ac_status=$?
81377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81378 (exit $ac_status); }; } &&
81379 { ac_try='test -s conftest$ac_exeext'
81380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81381 (eval $ac_try) 2>&5
81382 ac_status=$?
81383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81384 (exit $ac_status); }; }; then
81385 ac_cv_lib_iconv_iconv=yes
81386 else
81387 echo "$as_me: failed program was:" >&5
81388 sed 's/^/| /' conftest.$ac_ext >&5
81390 ac_cv_lib_iconv_iconv=no
81392 rm -f conftest.err conftest.$ac_objext \
81393 conftest$ac_exeext conftest.$ac_ext
81394 LIBS=$ac_check_lib_save_LIBS
81396 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
81397 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
81398 if test $ac_cv_lib_iconv_iconv = yes; then
81399 LIBICONV="-liconv"
81402 ac_save_LIBS="$LIBS"
81403 LIBS="$LIBS $LIBICONV"
81410 for ac_func in iconv_open iconv_close iconv nl_langinfo
81412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81413 echo "$as_me:$LINENO: checking for $ac_func" >&5
81414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81415 if eval "test \"\${$as_ac_var+set}\" = set"; then
81416 echo $ECHO_N "(cached) $ECHO_C" >&6
81417 else
81418 if test x$gcc_no_link = xyes; then
81419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81421 { (exit 1); exit 1; }; }
81423 cat >conftest.$ac_ext <<_ACEOF
81424 /* confdefs.h. */
81425 _ACEOF
81426 cat confdefs.h >>conftest.$ac_ext
81427 cat >>conftest.$ac_ext <<_ACEOF
81428 /* end confdefs.h. */
81429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81431 #define $ac_func innocuous_$ac_func
81433 /* System header to define __stub macros and hopefully few prototypes,
81434 which can conflict with char $ac_func (); below.
81435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81436 <limits.h> exists even on freestanding compilers. */
81438 #ifdef __STDC__
81439 # include <limits.h>
81440 #else
81441 # include <assert.h>
81442 #endif
81444 #undef $ac_func
81446 /* Override any gcc2 internal prototype to avoid an error. */
81447 #ifdef __cplusplus
81448 extern "C"
81450 #endif
81451 /* We use char because int might match the return type of a gcc2
81452 builtin and then its argument prototype would still apply. */
81453 char $ac_func ();
81454 /* The GNU C library defines this for functions which it implements
81455 to always fail with ENOSYS. Some functions are actually named
81456 something starting with __ and the normal name is an alias. */
81457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81458 choke me
81459 #else
81460 char (*f) () = $ac_func;
81461 #endif
81462 #ifdef __cplusplus
81464 #endif
81467 main ()
81469 return f != $ac_func;
81471 return 0;
81473 _ACEOF
81474 rm -f conftest.$ac_objext conftest$ac_exeext
81475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81476 (eval $ac_link) 2>conftest.er1
81477 ac_status=$?
81478 grep -v '^ *+' conftest.er1 >conftest.err
81479 rm -f conftest.er1
81480 cat conftest.err >&5
81481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81482 (exit $ac_status); } &&
81483 { ac_try='test -z "$ac_c_werror_flag"
81484 || test ! -s conftest.err'
81485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81486 (eval $ac_try) 2>&5
81487 ac_status=$?
81488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81489 (exit $ac_status); }; } &&
81490 { ac_try='test -s conftest$ac_exeext'
81491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81492 (eval $ac_try) 2>&5
81493 ac_status=$?
81494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81495 (exit $ac_status); }; }; then
81496 eval "$as_ac_var=yes"
81497 else
81498 echo "$as_me: failed program was:" >&5
81499 sed 's/^/| /' conftest.$ac_ext >&5
81501 eval "$as_ac_var=no"
81503 rm -f conftest.err conftest.$ac_objext \
81504 conftest$ac_exeext conftest.$ac_ext
81506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81508 if test `eval echo '${'$as_ac_var'}'` = yes; then
81509 cat >>confdefs.h <<_ACEOF
81510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81511 _ACEOF
81512 ac_XPG2funcs=yes
81513 else
81514 ac_XPG2funcs=no
81516 done
81519 LIBS="$ac_save_LIBS"
81521 if test x"$ac_has_iconv_h" = xyes &&
81522 test x"$ac_has_langinfo_h" = xyes &&
81523 test x"$ac_XPG2funcs" = xyes;
81524 then
81526 cat >>confdefs.h <<\_ACEOF
81527 #define _GLIBCXX_USE_ICONV 1
81528 _ACEOF
81530 enable_iconv=yes
81533 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
81534 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
81535 echo "$as_me:$LINENO: result: $enable_iconv" >&5
81536 echo "${ECHO_T}$enable_iconv" >&6
81538 cat >>confdefs.h <<\_ACEOF
81539 #define HAVE_COPYSIGN 1
81540 _ACEOF
81542 cat >>confdefs.h <<\_ACEOF
81543 #define HAVE_COPYSIGNF 1
81544 _ACEOF
81546 cat >>confdefs.h <<\_ACEOF
81547 #define HAVE_FINITEF 1
81548 _ACEOF
81550 cat >>confdefs.h <<\_ACEOF
81551 #define HAVE_FINITE 1
81552 _ACEOF
81554 cat >>confdefs.h <<\_ACEOF
81555 #define HAVE_FREXPF 1
81556 _ACEOF
81558 cat >>confdefs.h <<\_ACEOF
81559 #define HAVE_HYPOTF 1
81560 _ACEOF
81562 cat >>confdefs.h <<\_ACEOF
81563 #define HAVE_ISINF 1
81564 _ACEOF
81566 cat >>confdefs.h <<\_ACEOF
81567 #define HAVE_ISINFF 1
81568 _ACEOF
81570 cat >>confdefs.h <<\_ACEOF
81571 #define HAVE_ISNAN 1
81572 _ACEOF
81574 cat >>confdefs.h <<\_ACEOF
81575 #define HAVE_ISNANF 1
81576 _ACEOF
81578 if test x"long_double_math_on_this_cpu" = x"yes"; then
81579 cat >>confdefs.h <<\_ACEOF
81580 #define HAVE_FINITEL 1
81581 _ACEOF
81583 cat >>confdefs.h <<\_ACEOF
81584 #define HAVE_ISINFL 1
81585 _ACEOF
81587 cat >>confdefs.h <<\_ACEOF
81588 #define HAVE_ISNANL 1
81589 _ACEOF
81593 *-netware)
81602 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
81603 sys/types.h locale.h float.h inttypes.h
81605 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81606 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81607 echo "$as_me:$LINENO: checking for $ac_header" >&5
81608 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81609 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81610 echo $ECHO_N "(cached) $ECHO_C" >&6
81612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81613 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81614 else
81615 # Is the header compilable?
81616 echo "$as_me:$LINENO: checking $ac_header usability" >&5
81617 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
81618 cat >conftest.$ac_ext <<_ACEOF
81619 /* confdefs.h. */
81620 _ACEOF
81621 cat confdefs.h >>conftest.$ac_ext
81622 cat >>conftest.$ac_ext <<_ACEOF
81623 /* end confdefs.h. */
81624 $ac_includes_default
81625 #include <$ac_header>
81626 _ACEOF
81627 rm -f conftest.$ac_objext
81628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81629 (eval $ac_compile) 2>conftest.er1
81630 ac_status=$?
81631 grep -v '^ *+' conftest.er1 >conftest.err
81632 rm -f conftest.er1
81633 cat conftest.err >&5
81634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81635 (exit $ac_status); } &&
81636 { ac_try='test -z "$ac_c_werror_flag"
81637 || test ! -s conftest.err'
81638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81639 (eval $ac_try) 2>&5
81640 ac_status=$?
81641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81642 (exit $ac_status); }; } &&
81643 { ac_try='test -s conftest.$ac_objext'
81644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81645 (eval $ac_try) 2>&5
81646 ac_status=$?
81647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81648 (exit $ac_status); }; }; then
81649 ac_header_compiler=yes
81650 else
81651 echo "$as_me: failed program was:" >&5
81652 sed 's/^/| /' conftest.$ac_ext >&5
81654 ac_header_compiler=no
81656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81657 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81658 echo "${ECHO_T}$ac_header_compiler" >&6
81660 # Is the header present?
81661 echo "$as_me:$LINENO: checking $ac_header presence" >&5
81662 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
81663 cat >conftest.$ac_ext <<_ACEOF
81664 /* confdefs.h. */
81665 _ACEOF
81666 cat confdefs.h >>conftest.$ac_ext
81667 cat >>conftest.$ac_ext <<_ACEOF
81668 /* end confdefs.h. */
81669 #include <$ac_header>
81670 _ACEOF
81671 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81672 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81673 ac_status=$?
81674 grep -v '^ *+' conftest.er1 >conftest.err
81675 rm -f conftest.er1
81676 cat conftest.err >&5
81677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81678 (exit $ac_status); } >/dev/null; then
81679 if test -s conftest.err; then
81680 ac_cpp_err=$ac_c_preproc_warn_flag
81681 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81682 else
81683 ac_cpp_err=
81685 else
81686 ac_cpp_err=yes
81688 if test -z "$ac_cpp_err"; then
81689 ac_header_preproc=yes
81690 else
81691 echo "$as_me: failed program was:" >&5
81692 sed 's/^/| /' conftest.$ac_ext >&5
81694 ac_header_preproc=no
81696 rm -f conftest.err conftest.$ac_ext
81697 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81698 echo "${ECHO_T}$ac_header_preproc" >&6
81700 # So? What about this header?
81701 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81702 yes:no: )
81703 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
81704 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
81705 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
81706 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
81707 ac_header_preproc=yes
81709 no:yes:* )
81710 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
81711 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
81712 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
81713 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
81714 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
81715 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
81716 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
81717 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
81718 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
81719 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
81720 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
81721 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
81723 cat <<\_ASBOX
81724 ## ----------------------------------------- ##
81725 ## Report this to the package-unused lists. ##
81726 ## ----------------------------------------- ##
81727 _ASBOX
81729 sed "s/^/$as_me: WARNING: /" >&2
81731 esac
81732 echo "$as_me:$LINENO: checking for $ac_header" >&5
81733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81734 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81735 echo $ECHO_N "(cached) $ECHO_C" >&6
81736 else
81737 eval "$as_ac_Header=\$ac_header_preproc"
81739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81740 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81743 if test `eval echo '${'$as_ac_Header'}'` = yes; then
81744 cat >>confdefs.h <<_ACEOF
81745 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
81746 _ACEOF
81750 done
81752 SECTION_FLAGS='-ffunction-sections -fdata-sections'
81755 # If we're not using GNU ld, then there's no point in even trying these
81756 # tests. Check for that first. We should have already tested for gld
81757 # by now (in libtool), but require it now just to be safe...
81758 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
81759 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
81763 # The name set by libtool depends on the version of libtool. Shame on us
81764 # for depending on an impl detail, but c'est la vie. Older versions used
81765 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
81766 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
81767 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
81768 # set (hence we're using an older libtool), then set it.
81769 if test x${with_gnu_ld+set} != xset; then
81770 if test x${ac_cv_prog_gnu_ld+set} != xset; then
81771 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
81772 with_gnu_ld=no
81773 else
81774 with_gnu_ld=$ac_cv_prog_gnu_ld
81778 # Start by getting the version number. I think the libtool test already
81779 # does some of this, but throws away the result.
81781 ldver=`$LD --version 2>/dev/null | head -1 | \
81782 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
81784 glibcxx_gnu_ld_version=`echo $ldver | \
81785 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
81787 # Set --gc-sections.
81788 if test "$with_gnu_ld" = "notbroken"; then
81789 # GNU ld it is! Joy and bunny rabbits!
81791 # All these tests are for C++; save the language and the compiler flags.
81792 # Need to do this so that g++ won't try to link in libstdc++
81793 ac_test_CFLAGS="${CFLAGS+set}"
81794 ac_save_CFLAGS="$CFLAGS"
81795 CFLAGS='-x c++ -Wl,--gc-sections'
81797 # Check for -Wl,--gc-sections
81798 # XXX This test is broken at the moment, as symbols required for linking
81799 # are now in libsupc++ (not built yet). In addition, this test has
81800 # cored on solaris in the past. In addition, --gc-sections doesn't
81801 # really work at the moment (keeps on discarding used sections, first
81802 # .eh_frame and now some of the glibc sections for iconv).
81803 # Bzzzzt. Thanks for playing, maybe next time.
81804 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
81805 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
81806 if test "$cross_compiling" = yes; then
81807 ac_sectionLDflags=yes
81808 else
81809 cat >conftest.$ac_ext <<_ACEOF
81810 /* confdefs.h. */
81811 _ACEOF
81812 cat confdefs.h >>conftest.$ac_ext
81813 cat >>conftest.$ac_ext <<_ACEOF
81814 /* end confdefs.h. */
81816 int main(void)
81818 try { throw 1; }
81819 catch (...) { };
81820 return 0;
81823 _ACEOF
81824 rm -f conftest$ac_exeext
81825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81826 (eval $ac_link) 2>&5
81827 ac_status=$?
81828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81829 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
81830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81831 (eval $ac_try) 2>&5
81832 ac_status=$?
81833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81834 (exit $ac_status); }; }; then
81835 ac_sectionLDflags=yes
81836 else
81837 echo "$as_me: program exited with status $ac_status" >&5
81838 echo "$as_me: failed program was:" >&5
81839 sed 's/^/| /' conftest.$ac_ext >&5
81841 ( exit $ac_status )
81842 ac_sectionLDflags=no
81844 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
81846 if test "$ac_test_CFLAGS" = set; then
81847 CFLAGS="$ac_save_CFLAGS"
81848 else
81849 # this is the suspicious part
81850 CFLAGS=''
81852 if test "$ac_sectionLDflags" = "yes"; then
81853 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
81855 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
81856 echo "${ECHO_T}$ac_sectionLDflags" >&6
81859 # Set linker optimization flags.
81860 if test x"$with_gnu_ld" = x"yes"; then
81861 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
81869 echo "$as_me:$LINENO: checking for main in -lm" >&5
81870 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
81871 if test "${ac_cv_lib_m_main+set}" = set; then
81872 echo $ECHO_N "(cached) $ECHO_C" >&6
81873 else
81874 ac_check_lib_save_LIBS=$LIBS
81875 LIBS="-lm $LIBS"
81876 if test x$gcc_no_link = xyes; then
81877 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81879 { (exit 1); exit 1; }; }
81881 cat >conftest.$ac_ext <<_ACEOF
81882 /* confdefs.h. */
81883 _ACEOF
81884 cat confdefs.h >>conftest.$ac_ext
81885 cat >>conftest.$ac_ext <<_ACEOF
81886 /* end confdefs.h. */
81890 main ()
81892 main ();
81894 return 0;
81896 _ACEOF
81897 rm -f conftest.$ac_objext conftest$ac_exeext
81898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81899 (eval $ac_link) 2>conftest.er1
81900 ac_status=$?
81901 grep -v '^ *+' conftest.er1 >conftest.err
81902 rm -f conftest.er1
81903 cat conftest.err >&5
81904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81905 (exit $ac_status); } &&
81906 { ac_try='test -z "$ac_c_werror_flag"
81907 || test ! -s conftest.err'
81908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81909 (eval $ac_try) 2>&5
81910 ac_status=$?
81911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81912 (exit $ac_status); }; } &&
81913 { ac_try='test -s conftest$ac_exeext'
81914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81915 (eval $ac_try) 2>&5
81916 ac_status=$?
81917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81918 (exit $ac_status); }; }; then
81919 ac_cv_lib_m_main=yes
81920 else
81921 echo "$as_me: failed program was:" >&5
81922 sed 's/^/| /' conftest.$ac_ext >&5
81924 ac_cv_lib_m_main=no
81926 rm -f conftest.err conftest.$ac_objext \
81927 conftest$ac_exeext conftest.$ac_ext
81928 LIBS=$ac_check_lib_save_LIBS
81930 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
81931 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
81932 if test $ac_cv_lib_m_main = yes; then
81933 cat >>confdefs.h <<_ACEOF
81934 #define HAVE_LIBM 1
81935 _ACEOF
81937 LIBS="-lm $LIBS"
81942 for ac_func in copysignf
81944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81945 echo "$as_me:$LINENO: checking for $ac_func" >&5
81946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81947 if eval "test \"\${$as_ac_var+set}\" = set"; then
81948 echo $ECHO_N "(cached) $ECHO_C" >&6
81949 else
81950 if test x$gcc_no_link = xyes; then
81951 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81953 { (exit 1); exit 1; }; }
81955 cat >conftest.$ac_ext <<_ACEOF
81956 /* confdefs.h. */
81957 _ACEOF
81958 cat confdefs.h >>conftest.$ac_ext
81959 cat >>conftest.$ac_ext <<_ACEOF
81960 /* end confdefs.h. */
81961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81963 #define $ac_func innocuous_$ac_func
81965 /* System header to define __stub macros and hopefully few prototypes,
81966 which can conflict with char $ac_func (); below.
81967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81968 <limits.h> exists even on freestanding compilers. */
81970 #ifdef __STDC__
81971 # include <limits.h>
81972 #else
81973 # include <assert.h>
81974 #endif
81976 #undef $ac_func
81978 /* Override any gcc2 internal prototype to avoid an error. */
81979 #ifdef __cplusplus
81980 extern "C"
81982 #endif
81983 /* We use char because int might match the return type of a gcc2
81984 builtin and then its argument prototype would still apply. */
81985 char $ac_func ();
81986 /* The GNU C library defines this for functions which it implements
81987 to always fail with ENOSYS. Some functions are actually named
81988 something starting with __ and the normal name is an alias. */
81989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81990 choke me
81991 #else
81992 char (*f) () = $ac_func;
81993 #endif
81994 #ifdef __cplusplus
81996 #endif
81999 main ()
82001 return f != $ac_func;
82003 return 0;
82005 _ACEOF
82006 rm -f conftest.$ac_objext conftest$ac_exeext
82007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82008 (eval $ac_link) 2>conftest.er1
82009 ac_status=$?
82010 grep -v '^ *+' conftest.er1 >conftest.err
82011 rm -f conftest.er1
82012 cat conftest.err >&5
82013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82014 (exit $ac_status); } &&
82015 { ac_try='test -z "$ac_c_werror_flag"
82016 || test ! -s conftest.err'
82017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82018 (eval $ac_try) 2>&5
82019 ac_status=$?
82020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82021 (exit $ac_status); }; } &&
82022 { ac_try='test -s conftest$ac_exeext'
82023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82024 (eval $ac_try) 2>&5
82025 ac_status=$?
82026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82027 (exit $ac_status); }; }; then
82028 eval "$as_ac_var=yes"
82029 else
82030 echo "$as_me: failed program was:" >&5
82031 sed 's/^/| /' conftest.$ac_ext >&5
82033 eval "$as_ac_var=no"
82035 rm -f conftest.err conftest.$ac_objext \
82036 conftest$ac_exeext conftest.$ac_ext
82038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82040 if test `eval echo '${'$as_ac_var'}'` = yes; then
82041 cat >>confdefs.h <<_ACEOF
82042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82043 _ACEOF
82045 else
82046 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
82048 done
82052 for ac_func in __signbit
82054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82055 echo "$as_me:$LINENO: checking for $ac_func" >&5
82056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82057 if eval "test \"\${$as_ac_var+set}\" = set"; then
82058 echo $ECHO_N "(cached) $ECHO_C" >&6
82059 else
82060 if test x$gcc_no_link = xyes; then
82061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82063 { (exit 1); exit 1; }; }
82065 cat >conftest.$ac_ext <<_ACEOF
82066 /* confdefs.h. */
82067 _ACEOF
82068 cat confdefs.h >>conftest.$ac_ext
82069 cat >>conftest.$ac_ext <<_ACEOF
82070 /* end confdefs.h. */
82071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82073 #define $ac_func innocuous_$ac_func
82075 /* System header to define __stub macros and hopefully few prototypes,
82076 which can conflict with char $ac_func (); below.
82077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82078 <limits.h> exists even on freestanding compilers. */
82080 #ifdef __STDC__
82081 # include <limits.h>
82082 #else
82083 # include <assert.h>
82084 #endif
82086 #undef $ac_func
82088 /* Override any gcc2 internal prototype to avoid an error. */
82089 #ifdef __cplusplus
82090 extern "C"
82092 #endif
82093 /* We use char because int might match the return type of a gcc2
82094 builtin and then its argument prototype would still apply. */
82095 char $ac_func ();
82096 /* The GNU C library defines this for functions which it implements
82097 to always fail with ENOSYS. Some functions are actually named
82098 something starting with __ and the normal name is an alias. */
82099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82100 choke me
82101 #else
82102 char (*f) () = $ac_func;
82103 #endif
82104 #ifdef __cplusplus
82106 #endif
82109 main ()
82111 return f != $ac_func;
82113 return 0;
82115 _ACEOF
82116 rm -f conftest.$ac_objext conftest$ac_exeext
82117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82118 (eval $ac_link) 2>conftest.er1
82119 ac_status=$?
82120 grep -v '^ *+' conftest.er1 >conftest.err
82121 rm -f conftest.er1
82122 cat conftest.err >&5
82123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82124 (exit $ac_status); } &&
82125 { ac_try='test -z "$ac_c_werror_flag"
82126 || test ! -s conftest.err'
82127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82128 (eval $ac_try) 2>&5
82129 ac_status=$?
82130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82131 (exit $ac_status); }; } &&
82132 { ac_try='test -s conftest$ac_exeext'
82133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82134 (eval $ac_try) 2>&5
82135 ac_status=$?
82136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82137 (exit $ac_status); }; }; then
82138 eval "$as_ac_var=yes"
82139 else
82140 echo "$as_me: failed program was:" >&5
82141 sed 's/^/| /' conftest.$ac_ext >&5
82143 eval "$as_ac_var=no"
82145 rm -f conftest.err conftest.$ac_objext \
82146 conftest$ac_exeext conftest.$ac_ext
82148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82150 if test `eval echo '${'$as_ac_var'}'` = yes; then
82151 cat >>confdefs.h <<_ACEOF
82152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82153 _ACEOF
82155 else
82156 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
82158 done
82162 for ac_func in __signbitf
82164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82165 echo "$as_me:$LINENO: checking for $ac_func" >&5
82166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82167 if eval "test \"\${$as_ac_var+set}\" = set"; then
82168 echo $ECHO_N "(cached) $ECHO_C" >&6
82169 else
82170 if test x$gcc_no_link = xyes; then
82171 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82173 { (exit 1); exit 1; }; }
82175 cat >conftest.$ac_ext <<_ACEOF
82176 /* confdefs.h. */
82177 _ACEOF
82178 cat confdefs.h >>conftest.$ac_ext
82179 cat >>conftest.$ac_ext <<_ACEOF
82180 /* end confdefs.h. */
82181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82183 #define $ac_func innocuous_$ac_func
82185 /* System header to define __stub macros and hopefully few prototypes,
82186 which can conflict with char $ac_func (); below.
82187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82188 <limits.h> exists even on freestanding compilers. */
82190 #ifdef __STDC__
82191 # include <limits.h>
82192 #else
82193 # include <assert.h>
82194 #endif
82196 #undef $ac_func
82198 /* Override any gcc2 internal prototype to avoid an error. */
82199 #ifdef __cplusplus
82200 extern "C"
82202 #endif
82203 /* We use char because int might match the return type of a gcc2
82204 builtin and then its argument prototype would still apply. */
82205 char $ac_func ();
82206 /* The GNU C library defines this for functions which it implements
82207 to always fail with ENOSYS. Some functions are actually named
82208 something starting with __ and the normal name is an alias. */
82209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82210 choke me
82211 #else
82212 char (*f) () = $ac_func;
82213 #endif
82214 #ifdef __cplusplus
82216 #endif
82219 main ()
82221 return f != $ac_func;
82223 return 0;
82225 _ACEOF
82226 rm -f conftest.$ac_objext conftest$ac_exeext
82227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82228 (eval $ac_link) 2>conftest.er1
82229 ac_status=$?
82230 grep -v '^ *+' conftest.er1 >conftest.err
82231 rm -f conftest.er1
82232 cat conftest.err >&5
82233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82234 (exit $ac_status); } &&
82235 { ac_try='test -z "$ac_c_werror_flag"
82236 || test ! -s conftest.err'
82237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82238 (eval $ac_try) 2>&5
82239 ac_status=$?
82240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82241 (exit $ac_status); }; } &&
82242 { ac_try='test -s conftest$ac_exeext'
82243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82244 (eval $ac_try) 2>&5
82245 ac_status=$?
82246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82247 (exit $ac_status); }; }; then
82248 eval "$as_ac_var=yes"
82249 else
82250 echo "$as_me: failed program was:" >&5
82251 sed 's/^/| /' conftest.$ac_ext >&5
82253 eval "$as_ac_var=no"
82255 rm -f conftest.err conftest.$ac_objext \
82256 conftest$ac_exeext conftest.$ac_ext
82258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82260 if test `eval echo '${'$as_ac_var'}'` = yes; then
82261 cat >>confdefs.h <<_ACEOF
82262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82263 _ACEOF
82265 else
82266 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
82268 done
82271 if test x$ac_cv_func_copysignl = x"yes"; then
82273 for ac_func in __signbitl
82275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82276 echo "$as_me:$LINENO: checking for $ac_func" >&5
82277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82278 if eval "test \"\${$as_ac_var+set}\" = set"; then
82279 echo $ECHO_N "(cached) $ECHO_C" >&6
82280 else
82281 if test x$gcc_no_link = xyes; then
82282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82284 { (exit 1); exit 1; }; }
82286 cat >conftest.$ac_ext <<_ACEOF
82287 /* confdefs.h. */
82288 _ACEOF
82289 cat confdefs.h >>conftest.$ac_ext
82290 cat >>conftest.$ac_ext <<_ACEOF
82291 /* end confdefs.h. */
82292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82294 #define $ac_func innocuous_$ac_func
82296 /* System header to define __stub macros and hopefully few prototypes,
82297 which can conflict with char $ac_func (); below.
82298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82299 <limits.h> exists even on freestanding compilers. */
82301 #ifdef __STDC__
82302 # include <limits.h>
82303 #else
82304 # include <assert.h>
82305 #endif
82307 #undef $ac_func
82309 /* Override any gcc2 internal prototype to avoid an error. */
82310 #ifdef __cplusplus
82311 extern "C"
82313 #endif
82314 /* We use char because int might match the return type of a gcc2
82315 builtin and then its argument prototype would still apply. */
82316 char $ac_func ();
82317 /* The GNU C library defines this for functions which it implements
82318 to always fail with ENOSYS. Some functions are actually named
82319 something starting with __ and the normal name is an alias. */
82320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82321 choke me
82322 #else
82323 char (*f) () = $ac_func;
82324 #endif
82325 #ifdef __cplusplus
82327 #endif
82330 main ()
82332 return f != $ac_func;
82334 return 0;
82336 _ACEOF
82337 rm -f conftest.$ac_objext conftest$ac_exeext
82338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82339 (eval $ac_link) 2>conftest.er1
82340 ac_status=$?
82341 grep -v '^ *+' conftest.er1 >conftest.err
82342 rm -f conftest.er1
82343 cat conftest.err >&5
82344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82345 (exit $ac_status); } &&
82346 { ac_try='test -z "$ac_c_werror_flag"
82347 || test ! -s conftest.err'
82348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82349 (eval $ac_try) 2>&5
82350 ac_status=$?
82351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82352 (exit $ac_status); }; } &&
82353 { ac_try='test -s conftest$ac_exeext'
82354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82355 (eval $ac_try) 2>&5
82356 ac_status=$?
82357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82358 (exit $ac_status); }; }; then
82359 eval "$as_ac_var=yes"
82360 else
82361 echo "$as_me: failed program was:" >&5
82362 sed 's/^/| /' conftest.$ac_ext >&5
82364 eval "$as_ac_var=no"
82366 rm -f conftest.err conftest.$ac_objext \
82367 conftest$ac_exeext conftest.$ac_ext
82369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82371 if test `eval echo '${'$as_ac_var'}'` = yes; then
82372 cat >>confdefs.h <<_ACEOF
82373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82374 _ACEOF
82376 else
82377 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
82379 done
82383 # Used in libmath/Makefile.am.
82384 if test -n "$LIBMATHOBJS"; then
82385 need_libmath=yes
82391 enable_iconv=no
82392 # Only continue checking if the ISO C99 headers exist and support is on.
82393 if test x"$enable_wchar_t" = xyes; then
82395 # Use iconv for wchar_t to char conversions. As such, check for
82396 # X/Open Portability Guide, version 2 features (XPG2).
82397 if test "${ac_cv_header_iconv_h+set}" = set; then
82398 echo "$as_me:$LINENO: checking for iconv.h" >&5
82399 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
82400 if test "${ac_cv_header_iconv_h+set}" = set; then
82401 echo $ECHO_N "(cached) $ECHO_C" >&6
82403 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
82404 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
82405 else
82406 # Is the header compilable?
82407 echo "$as_me:$LINENO: checking iconv.h usability" >&5
82408 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
82409 cat >conftest.$ac_ext <<_ACEOF
82410 /* confdefs.h. */
82411 _ACEOF
82412 cat confdefs.h >>conftest.$ac_ext
82413 cat >>conftest.$ac_ext <<_ACEOF
82414 /* end confdefs.h. */
82415 $ac_includes_default
82416 #include <iconv.h>
82417 _ACEOF
82418 rm -f conftest.$ac_objext
82419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82420 (eval $ac_compile) 2>conftest.er1
82421 ac_status=$?
82422 grep -v '^ *+' conftest.er1 >conftest.err
82423 rm -f conftest.er1
82424 cat conftest.err >&5
82425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82426 (exit $ac_status); } &&
82427 { ac_try='test -z "$ac_c_werror_flag"
82428 || test ! -s conftest.err'
82429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82430 (eval $ac_try) 2>&5
82431 ac_status=$?
82432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82433 (exit $ac_status); }; } &&
82434 { ac_try='test -s conftest.$ac_objext'
82435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82436 (eval $ac_try) 2>&5
82437 ac_status=$?
82438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82439 (exit $ac_status); }; }; then
82440 ac_header_compiler=yes
82441 else
82442 echo "$as_me: failed program was:" >&5
82443 sed 's/^/| /' conftest.$ac_ext >&5
82445 ac_header_compiler=no
82447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82448 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82449 echo "${ECHO_T}$ac_header_compiler" >&6
82451 # Is the header present?
82452 echo "$as_me:$LINENO: checking iconv.h presence" >&5
82453 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
82454 cat >conftest.$ac_ext <<_ACEOF
82455 /* confdefs.h. */
82456 _ACEOF
82457 cat confdefs.h >>conftest.$ac_ext
82458 cat >>conftest.$ac_ext <<_ACEOF
82459 /* end confdefs.h. */
82460 #include <iconv.h>
82461 _ACEOF
82462 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82463 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82464 ac_status=$?
82465 grep -v '^ *+' conftest.er1 >conftest.err
82466 rm -f conftest.er1
82467 cat conftest.err >&5
82468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82469 (exit $ac_status); } >/dev/null; then
82470 if test -s conftest.err; then
82471 ac_cpp_err=$ac_c_preproc_warn_flag
82472 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82473 else
82474 ac_cpp_err=
82476 else
82477 ac_cpp_err=yes
82479 if test -z "$ac_cpp_err"; then
82480 ac_header_preproc=yes
82481 else
82482 echo "$as_me: failed program was:" >&5
82483 sed 's/^/| /' conftest.$ac_ext >&5
82485 ac_header_preproc=no
82487 rm -f conftest.err conftest.$ac_ext
82488 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82489 echo "${ECHO_T}$ac_header_preproc" >&6
82491 # So? What about this header?
82492 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82493 yes:no: )
82494 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
82495 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
82496 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
82497 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
82498 ac_header_preproc=yes
82500 no:yes:* )
82501 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
82502 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
82503 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
82504 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
82505 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
82506 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
82507 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
82508 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
82509 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
82510 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
82511 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
82512 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
82514 cat <<\_ASBOX
82515 ## ----------------------------------------- ##
82516 ## Report this to the package-unused lists. ##
82517 ## ----------------------------------------- ##
82518 _ASBOX
82520 sed "s/^/$as_me: WARNING: /" >&2
82522 esac
82523 echo "$as_me:$LINENO: checking for iconv.h" >&5
82524 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
82525 if test "${ac_cv_header_iconv_h+set}" = set; then
82526 echo $ECHO_N "(cached) $ECHO_C" >&6
82527 else
82528 ac_cv_header_iconv_h=$ac_header_preproc
82530 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
82531 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
82534 if test $ac_cv_header_iconv_h = yes; then
82535 ac_has_iconv_h=yes
82536 else
82537 ac_has_iconv_h=no
82541 if test "${ac_cv_header_langinfo_h+set}" = set; then
82542 echo "$as_me:$LINENO: checking for langinfo.h" >&5
82543 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
82544 if test "${ac_cv_header_langinfo_h+set}" = set; then
82545 echo $ECHO_N "(cached) $ECHO_C" >&6
82547 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
82548 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
82549 else
82550 # Is the header compilable?
82551 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
82552 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
82553 cat >conftest.$ac_ext <<_ACEOF
82554 /* confdefs.h. */
82555 _ACEOF
82556 cat confdefs.h >>conftest.$ac_ext
82557 cat >>conftest.$ac_ext <<_ACEOF
82558 /* end confdefs.h. */
82559 $ac_includes_default
82560 #include <langinfo.h>
82561 _ACEOF
82562 rm -f conftest.$ac_objext
82563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82564 (eval $ac_compile) 2>conftest.er1
82565 ac_status=$?
82566 grep -v '^ *+' conftest.er1 >conftest.err
82567 rm -f conftest.er1
82568 cat conftest.err >&5
82569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82570 (exit $ac_status); } &&
82571 { ac_try='test -z "$ac_c_werror_flag"
82572 || test ! -s conftest.err'
82573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82574 (eval $ac_try) 2>&5
82575 ac_status=$?
82576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82577 (exit $ac_status); }; } &&
82578 { ac_try='test -s conftest.$ac_objext'
82579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82580 (eval $ac_try) 2>&5
82581 ac_status=$?
82582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82583 (exit $ac_status); }; }; then
82584 ac_header_compiler=yes
82585 else
82586 echo "$as_me: failed program was:" >&5
82587 sed 's/^/| /' conftest.$ac_ext >&5
82589 ac_header_compiler=no
82591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82592 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82593 echo "${ECHO_T}$ac_header_compiler" >&6
82595 # Is the header present?
82596 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
82597 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
82598 cat >conftest.$ac_ext <<_ACEOF
82599 /* confdefs.h. */
82600 _ACEOF
82601 cat confdefs.h >>conftest.$ac_ext
82602 cat >>conftest.$ac_ext <<_ACEOF
82603 /* end confdefs.h. */
82604 #include <langinfo.h>
82605 _ACEOF
82606 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82607 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82608 ac_status=$?
82609 grep -v '^ *+' conftest.er1 >conftest.err
82610 rm -f conftest.er1
82611 cat conftest.err >&5
82612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82613 (exit $ac_status); } >/dev/null; then
82614 if test -s conftest.err; then
82615 ac_cpp_err=$ac_c_preproc_warn_flag
82616 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82617 else
82618 ac_cpp_err=
82620 else
82621 ac_cpp_err=yes
82623 if test -z "$ac_cpp_err"; then
82624 ac_header_preproc=yes
82625 else
82626 echo "$as_me: failed program was:" >&5
82627 sed 's/^/| /' conftest.$ac_ext >&5
82629 ac_header_preproc=no
82631 rm -f conftest.err conftest.$ac_ext
82632 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82633 echo "${ECHO_T}$ac_header_preproc" >&6
82635 # So? What about this header?
82636 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82637 yes:no: )
82638 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
82639 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
82640 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
82641 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
82642 ac_header_preproc=yes
82644 no:yes:* )
82645 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
82646 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
82647 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
82648 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
82649 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
82650 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
82651 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
82652 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
82653 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
82654 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
82655 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
82656 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
82658 cat <<\_ASBOX
82659 ## ----------------------------------------- ##
82660 ## Report this to the package-unused lists. ##
82661 ## ----------------------------------------- ##
82662 _ASBOX
82664 sed "s/^/$as_me: WARNING: /" >&2
82666 esac
82667 echo "$as_me:$LINENO: checking for langinfo.h" >&5
82668 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
82669 if test "${ac_cv_header_langinfo_h+set}" = set; then
82670 echo $ECHO_N "(cached) $ECHO_C" >&6
82671 else
82672 ac_cv_header_langinfo_h=$ac_header_preproc
82674 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
82675 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
82678 if test $ac_cv_header_langinfo_h = yes; then
82679 ac_has_langinfo_h=yes
82680 else
82681 ac_has_langinfo_h=no
82686 # Check for existence of libiconv.a providing XPG2 wchar_t support.
82687 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
82688 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
82689 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
82690 echo $ECHO_N "(cached) $ECHO_C" >&6
82691 else
82692 ac_check_lib_save_LIBS=$LIBS
82693 LIBS="-liconv $LIBS"
82694 if test x$gcc_no_link = xyes; then
82695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82697 { (exit 1); exit 1; }; }
82699 cat >conftest.$ac_ext <<_ACEOF
82700 /* confdefs.h. */
82701 _ACEOF
82702 cat confdefs.h >>conftest.$ac_ext
82703 cat >>conftest.$ac_ext <<_ACEOF
82704 /* end confdefs.h. */
82706 /* Override any gcc2 internal prototype to avoid an error. */
82707 #ifdef __cplusplus
82708 extern "C"
82709 #endif
82710 /* We use char because int might match the return type of a gcc2
82711 builtin and then its argument prototype would still apply. */
82712 char iconv ();
82714 main ()
82716 iconv ();
82718 return 0;
82720 _ACEOF
82721 rm -f conftest.$ac_objext conftest$ac_exeext
82722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82723 (eval $ac_link) 2>conftest.er1
82724 ac_status=$?
82725 grep -v '^ *+' conftest.er1 >conftest.err
82726 rm -f conftest.er1
82727 cat conftest.err >&5
82728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82729 (exit $ac_status); } &&
82730 { ac_try='test -z "$ac_c_werror_flag"
82731 || test ! -s conftest.err'
82732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82733 (eval $ac_try) 2>&5
82734 ac_status=$?
82735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82736 (exit $ac_status); }; } &&
82737 { ac_try='test -s conftest$ac_exeext'
82738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82739 (eval $ac_try) 2>&5
82740 ac_status=$?
82741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82742 (exit $ac_status); }; }; then
82743 ac_cv_lib_iconv_iconv=yes
82744 else
82745 echo "$as_me: failed program was:" >&5
82746 sed 's/^/| /' conftest.$ac_ext >&5
82748 ac_cv_lib_iconv_iconv=no
82750 rm -f conftest.err conftest.$ac_objext \
82751 conftest$ac_exeext conftest.$ac_ext
82752 LIBS=$ac_check_lib_save_LIBS
82754 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
82755 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
82756 if test $ac_cv_lib_iconv_iconv = yes; then
82757 LIBICONV="-liconv"
82760 ac_save_LIBS="$LIBS"
82761 LIBS="$LIBS $LIBICONV"
82768 for ac_func in iconv_open iconv_close iconv nl_langinfo
82770 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82771 echo "$as_me:$LINENO: checking for $ac_func" >&5
82772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82773 if eval "test \"\${$as_ac_var+set}\" = set"; then
82774 echo $ECHO_N "(cached) $ECHO_C" >&6
82775 else
82776 if test x$gcc_no_link = xyes; then
82777 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82779 { (exit 1); exit 1; }; }
82781 cat >conftest.$ac_ext <<_ACEOF
82782 /* confdefs.h. */
82783 _ACEOF
82784 cat confdefs.h >>conftest.$ac_ext
82785 cat >>conftest.$ac_ext <<_ACEOF
82786 /* end confdefs.h. */
82787 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82789 #define $ac_func innocuous_$ac_func
82791 /* System header to define __stub macros and hopefully few prototypes,
82792 which can conflict with char $ac_func (); below.
82793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82794 <limits.h> exists even on freestanding compilers. */
82796 #ifdef __STDC__
82797 # include <limits.h>
82798 #else
82799 # include <assert.h>
82800 #endif
82802 #undef $ac_func
82804 /* Override any gcc2 internal prototype to avoid an error. */
82805 #ifdef __cplusplus
82806 extern "C"
82808 #endif
82809 /* We use char because int might match the return type of a gcc2
82810 builtin and then its argument prototype would still apply. */
82811 char $ac_func ();
82812 /* The GNU C library defines this for functions which it implements
82813 to always fail with ENOSYS. Some functions are actually named
82814 something starting with __ and the normal name is an alias. */
82815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82816 choke me
82817 #else
82818 char (*f) () = $ac_func;
82819 #endif
82820 #ifdef __cplusplus
82822 #endif
82825 main ()
82827 return f != $ac_func;
82829 return 0;
82831 _ACEOF
82832 rm -f conftest.$ac_objext conftest$ac_exeext
82833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82834 (eval $ac_link) 2>conftest.er1
82835 ac_status=$?
82836 grep -v '^ *+' conftest.er1 >conftest.err
82837 rm -f conftest.er1
82838 cat conftest.err >&5
82839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82840 (exit $ac_status); } &&
82841 { ac_try='test -z "$ac_c_werror_flag"
82842 || test ! -s conftest.err'
82843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82844 (eval $ac_try) 2>&5
82845 ac_status=$?
82846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82847 (exit $ac_status); }; } &&
82848 { ac_try='test -s conftest$ac_exeext'
82849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82850 (eval $ac_try) 2>&5
82851 ac_status=$?
82852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82853 (exit $ac_status); }; }; then
82854 eval "$as_ac_var=yes"
82855 else
82856 echo "$as_me: failed program was:" >&5
82857 sed 's/^/| /' conftest.$ac_ext >&5
82859 eval "$as_ac_var=no"
82861 rm -f conftest.err conftest.$ac_objext \
82862 conftest$ac_exeext conftest.$ac_ext
82864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82865 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82866 if test `eval echo '${'$as_ac_var'}'` = yes; then
82867 cat >>confdefs.h <<_ACEOF
82868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82869 _ACEOF
82870 ac_XPG2funcs=yes
82871 else
82872 ac_XPG2funcs=no
82874 done
82877 LIBS="$ac_save_LIBS"
82879 if test x"$ac_has_iconv_h" = xyes &&
82880 test x"$ac_has_langinfo_h" = xyes &&
82881 test x"$ac_XPG2funcs" = xyes;
82882 then
82884 cat >>confdefs.h <<\_ACEOF
82885 #define _GLIBCXX_USE_ICONV 1
82886 _ACEOF
82888 enable_iconv=yes
82891 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
82892 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
82893 echo "$as_me:$LINENO: result: $enable_iconv" >&5
82894 echo "${ECHO_T}$enable_iconv" >&6
82897 # For showmanyc_helper().
82900 for ac_header in sys/ioctl.h sys/filio.h
82902 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82903 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82904 echo "$as_me:$LINENO: checking for $ac_header" >&5
82905 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82906 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82907 echo $ECHO_N "(cached) $ECHO_C" >&6
82909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82910 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82911 else
82912 # Is the header compilable?
82913 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82914 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82915 cat >conftest.$ac_ext <<_ACEOF
82916 /* confdefs.h. */
82917 _ACEOF
82918 cat confdefs.h >>conftest.$ac_ext
82919 cat >>conftest.$ac_ext <<_ACEOF
82920 /* end confdefs.h. */
82921 $ac_includes_default
82922 #include <$ac_header>
82923 _ACEOF
82924 rm -f conftest.$ac_objext
82925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82926 (eval $ac_compile) 2>conftest.er1
82927 ac_status=$?
82928 grep -v '^ *+' conftest.er1 >conftest.err
82929 rm -f conftest.er1
82930 cat conftest.err >&5
82931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82932 (exit $ac_status); } &&
82933 { ac_try='test -z "$ac_c_werror_flag"
82934 || test ! -s conftest.err'
82935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82936 (eval $ac_try) 2>&5
82937 ac_status=$?
82938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82939 (exit $ac_status); }; } &&
82940 { ac_try='test -s conftest.$ac_objext'
82941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82942 (eval $ac_try) 2>&5
82943 ac_status=$?
82944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82945 (exit $ac_status); }; }; then
82946 ac_header_compiler=yes
82947 else
82948 echo "$as_me: failed program was:" >&5
82949 sed 's/^/| /' conftest.$ac_ext >&5
82951 ac_header_compiler=no
82953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82954 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82955 echo "${ECHO_T}$ac_header_compiler" >&6
82957 # Is the header present?
82958 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82959 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82960 cat >conftest.$ac_ext <<_ACEOF
82961 /* confdefs.h. */
82962 _ACEOF
82963 cat confdefs.h >>conftest.$ac_ext
82964 cat >>conftest.$ac_ext <<_ACEOF
82965 /* end confdefs.h. */
82966 #include <$ac_header>
82967 _ACEOF
82968 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82969 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82970 ac_status=$?
82971 grep -v '^ *+' conftest.er1 >conftest.err
82972 rm -f conftest.er1
82973 cat conftest.err >&5
82974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82975 (exit $ac_status); } >/dev/null; then
82976 if test -s conftest.err; then
82977 ac_cpp_err=$ac_c_preproc_warn_flag
82978 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82979 else
82980 ac_cpp_err=
82982 else
82983 ac_cpp_err=yes
82985 if test -z "$ac_cpp_err"; then
82986 ac_header_preproc=yes
82987 else
82988 echo "$as_me: failed program was:" >&5
82989 sed 's/^/| /' conftest.$ac_ext >&5
82991 ac_header_preproc=no
82993 rm -f conftest.err conftest.$ac_ext
82994 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82995 echo "${ECHO_T}$ac_header_preproc" >&6
82997 # So? What about this header?
82998 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82999 yes:no: )
83000 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83001 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83002 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83003 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83004 ac_header_preproc=yes
83006 no:yes:* )
83007 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83008 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83009 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83010 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83011 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83012 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83013 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83014 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83015 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83016 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83017 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83018 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83020 cat <<\_ASBOX
83021 ## ----------------------------------------- ##
83022 ## Report this to the package-unused lists. ##
83023 ## ----------------------------------------- ##
83024 _ASBOX
83026 sed "s/^/$as_me: WARNING: /" >&2
83028 esac
83029 echo "$as_me:$LINENO: checking for $ac_header" >&5
83030 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83031 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83032 echo $ECHO_N "(cached) $ECHO_C" >&6
83033 else
83034 eval "$as_ac_Header=\$ac_header_preproc"
83036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83037 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83040 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83041 cat >>confdefs.h <<_ACEOF
83042 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83043 _ACEOF
83047 done
83050 if test "${glibcxx_cv_POLL+set}" = set; then
83051 echo $ECHO_N "(cached) $ECHO_C" >&6
83052 else
83054 if test x$gcc_no_link = xyes; then
83055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83057 { (exit 1); exit 1; }; }
83059 cat >conftest.$ac_ext <<_ACEOF
83060 /* confdefs.h. */
83061 _ACEOF
83062 cat confdefs.h >>conftest.$ac_ext
83063 cat >>conftest.$ac_ext <<_ACEOF
83064 /* end confdefs.h. */
83065 #include <poll.h>
83067 main ()
83069 struct pollfd pfd[1];
83070 pfd[0].events = POLLIN;
83071 poll(pfd, 1, 0);
83073 return 0;
83075 _ACEOF
83076 rm -f conftest.$ac_objext conftest$ac_exeext
83077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83078 (eval $ac_link) 2>conftest.er1
83079 ac_status=$?
83080 grep -v '^ *+' conftest.er1 >conftest.err
83081 rm -f conftest.er1
83082 cat conftest.err >&5
83083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83084 (exit $ac_status); } &&
83085 { ac_try='test -z "$ac_c_werror_flag"
83086 || test ! -s conftest.err'
83087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83088 (eval $ac_try) 2>&5
83089 ac_status=$?
83090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83091 (exit $ac_status); }; } &&
83092 { ac_try='test -s conftest$ac_exeext'
83093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83094 (eval $ac_try) 2>&5
83095 ac_status=$?
83096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83097 (exit $ac_status); }; }; then
83098 glibcxx_cv_POLL=yes
83099 else
83100 echo "$as_me: failed program was:" >&5
83101 sed 's/^/| /' conftest.$ac_ext >&5
83103 glibcxx_cv_POLL=no
83105 rm -f conftest.err conftest.$ac_objext \
83106 conftest$ac_exeext conftest.$ac_ext
83110 if test $glibcxx_cv_POLL = yes; then
83112 cat >>confdefs.h <<\_ACEOF
83113 #define HAVE_POLL 1
83114 _ACEOF
83119 if test "${glibcxx_cv_S_ISREG+set}" = set; then
83120 echo $ECHO_N "(cached) $ECHO_C" >&6
83121 else
83123 if test x$gcc_no_link = xyes; then
83124 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83126 { (exit 1); exit 1; }; }
83128 cat >conftest.$ac_ext <<_ACEOF
83129 /* confdefs.h. */
83130 _ACEOF
83131 cat confdefs.h >>conftest.$ac_ext
83132 cat >>conftest.$ac_ext <<_ACEOF
83133 /* end confdefs.h. */
83134 #include <sys/stat.h>
83136 main ()
83138 struct stat buffer;
83139 fstat(0, &buffer);
83140 S_ISREG(buffer.st_mode);
83142 return 0;
83144 _ACEOF
83145 rm -f conftest.$ac_objext conftest$ac_exeext
83146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83147 (eval $ac_link) 2>conftest.er1
83148 ac_status=$?
83149 grep -v '^ *+' conftest.er1 >conftest.err
83150 rm -f conftest.er1
83151 cat conftest.err >&5
83152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83153 (exit $ac_status); } &&
83154 { ac_try='test -z "$ac_c_werror_flag"
83155 || test ! -s conftest.err'
83156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83157 (eval $ac_try) 2>&5
83158 ac_status=$?
83159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83160 (exit $ac_status); }; } &&
83161 { ac_try='test -s conftest$ac_exeext'
83162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83163 (eval $ac_try) 2>&5
83164 ac_status=$?
83165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83166 (exit $ac_status); }; }; then
83167 glibcxx_cv_S_ISREG=yes
83168 else
83169 echo "$as_me: failed program was:" >&5
83170 sed 's/^/| /' conftest.$ac_ext >&5
83172 glibcxx_cv_S_ISREG=no
83174 rm -f conftest.err conftest.$ac_objext \
83175 conftest$ac_exeext conftest.$ac_ext
83179 if test "${glibcxx_cv_S_IFREG+set}" = set; then
83180 echo $ECHO_N "(cached) $ECHO_C" >&6
83181 else
83183 if test x$gcc_no_link = xyes; then
83184 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83186 { (exit 1); exit 1; }; }
83188 cat >conftest.$ac_ext <<_ACEOF
83189 /* confdefs.h. */
83190 _ACEOF
83191 cat confdefs.h >>conftest.$ac_ext
83192 cat >>conftest.$ac_ext <<_ACEOF
83193 /* end confdefs.h. */
83194 #include <sys/stat.h>
83196 main ()
83198 struct stat buffer;
83199 fstat(0, &buffer);
83200 S_IFREG & buffer.st_mode;
83202 return 0;
83204 _ACEOF
83205 rm -f conftest.$ac_objext conftest$ac_exeext
83206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83207 (eval $ac_link) 2>conftest.er1
83208 ac_status=$?
83209 grep -v '^ *+' conftest.er1 >conftest.err
83210 rm -f conftest.er1
83211 cat conftest.err >&5
83212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83213 (exit $ac_status); } &&
83214 { ac_try='test -z "$ac_c_werror_flag"
83215 || test ! -s conftest.err'
83216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83217 (eval $ac_try) 2>&5
83218 ac_status=$?
83219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83220 (exit $ac_status); }; } &&
83221 { ac_try='test -s conftest$ac_exeext'
83222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83223 (eval $ac_try) 2>&5
83224 ac_status=$?
83225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83226 (exit $ac_status); }; }; then
83227 glibcxx_cv_S_IFREG=yes
83228 else
83229 echo "$as_me: failed program was:" >&5
83230 sed 's/^/| /' conftest.$ac_ext >&5
83232 glibcxx_cv_S_IFREG=no
83234 rm -f conftest.err conftest.$ac_objext \
83235 conftest$ac_exeext conftest.$ac_ext
83239 if test $glibcxx_cv_S_ISREG = yes; then
83241 cat >>confdefs.h <<\_ACEOF
83242 #define HAVE_S_ISREG 1
83243 _ACEOF
83245 elif test $glibcxx_cv_S_IFREG = yes; then
83247 cat >>confdefs.h <<\_ACEOF
83248 #define HAVE_S_IFREG 1
83249 _ACEOF
83254 # For xsputn_2().
83256 for ac_header in sys/uio.h
83258 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83260 echo "$as_me:$LINENO: checking for $ac_header" >&5
83261 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83262 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83263 echo $ECHO_N "(cached) $ECHO_C" >&6
83265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83266 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83267 else
83268 # Is the header compilable?
83269 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83270 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83271 cat >conftest.$ac_ext <<_ACEOF
83272 /* confdefs.h. */
83273 _ACEOF
83274 cat confdefs.h >>conftest.$ac_ext
83275 cat >>conftest.$ac_ext <<_ACEOF
83276 /* end confdefs.h. */
83277 $ac_includes_default
83278 #include <$ac_header>
83279 _ACEOF
83280 rm -f conftest.$ac_objext
83281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83282 (eval $ac_compile) 2>conftest.er1
83283 ac_status=$?
83284 grep -v '^ *+' conftest.er1 >conftest.err
83285 rm -f conftest.er1
83286 cat conftest.err >&5
83287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83288 (exit $ac_status); } &&
83289 { ac_try='test -z "$ac_c_werror_flag"
83290 || test ! -s conftest.err'
83291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83292 (eval $ac_try) 2>&5
83293 ac_status=$?
83294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83295 (exit $ac_status); }; } &&
83296 { ac_try='test -s conftest.$ac_objext'
83297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83298 (eval $ac_try) 2>&5
83299 ac_status=$?
83300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83301 (exit $ac_status); }; }; then
83302 ac_header_compiler=yes
83303 else
83304 echo "$as_me: failed program was:" >&5
83305 sed 's/^/| /' conftest.$ac_ext >&5
83307 ac_header_compiler=no
83309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83310 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83311 echo "${ECHO_T}$ac_header_compiler" >&6
83313 # Is the header present?
83314 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83315 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83316 cat >conftest.$ac_ext <<_ACEOF
83317 /* confdefs.h. */
83318 _ACEOF
83319 cat confdefs.h >>conftest.$ac_ext
83320 cat >>conftest.$ac_ext <<_ACEOF
83321 /* end confdefs.h. */
83322 #include <$ac_header>
83323 _ACEOF
83324 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83325 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83326 ac_status=$?
83327 grep -v '^ *+' conftest.er1 >conftest.err
83328 rm -f conftest.er1
83329 cat conftest.err >&5
83330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83331 (exit $ac_status); } >/dev/null; then
83332 if test -s conftest.err; then
83333 ac_cpp_err=$ac_c_preproc_warn_flag
83334 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83335 else
83336 ac_cpp_err=
83338 else
83339 ac_cpp_err=yes
83341 if test -z "$ac_cpp_err"; then
83342 ac_header_preproc=yes
83343 else
83344 echo "$as_me: failed program was:" >&5
83345 sed 's/^/| /' conftest.$ac_ext >&5
83347 ac_header_preproc=no
83349 rm -f conftest.err conftest.$ac_ext
83350 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83351 echo "${ECHO_T}$ac_header_preproc" >&6
83353 # So? What about this header?
83354 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83355 yes:no: )
83356 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83357 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83358 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83359 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83360 ac_header_preproc=yes
83362 no:yes:* )
83363 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83364 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83365 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83366 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83367 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83368 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83369 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83370 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83371 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83372 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83373 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83374 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83376 cat <<\_ASBOX
83377 ## ----------------------------------------- ##
83378 ## Report this to the package-unused lists. ##
83379 ## ----------------------------------------- ##
83380 _ASBOX
83382 sed "s/^/$as_me: WARNING: /" >&2
83384 esac
83385 echo "$as_me:$LINENO: checking for $ac_header" >&5
83386 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83387 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83388 echo $ECHO_N "(cached) $ECHO_C" >&6
83389 else
83390 eval "$as_ac_Header=\$ac_header_preproc"
83392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83393 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83396 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83397 cat >>confdefs.h <<_ACEOF
83398 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83399 _ACEOF
83403 done
83406 if test "${glibcxx_cv_WRITEV+set}" = set; then
83407 echo $ECHO_N "(cached) $ECHO_C" >&6
83408 else
83410 if test x$gcc_no_link = xyes; then
83411 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83413 { (exit 1); exit 1; }; }
83415 cat >conftest.$ac_ext <<_ACEOF
83416 /* confdefs.h. */
83417 _ACEOF
83418 cat confdefs.h >>conftest.$ac_ext
83419 cat >>conftest.$ac_ext <<_ACEOF
83420 /* end confdefs.h. */
83421 #include <sys/uio.h>
83423 main ()
83425 struct iovec iov[2];
83426 writev(0, iov, 0);
83428 return 0;
83430 _ACEOF
83431 rm -f conftest.$ac_objext conftest$ac_exeext
83432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83433 (eval $ac_link) 2>conftest.er1
83434 ac_status=$?
83435 grep -v '^ *+' conftest.er1 >conftest.err
83436 rm -f conftest.er1
83437 cat conftest.err >&5
83438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83439 (exit $ac_status); } &&
83440 { ac_try='test -z "$ac_c_werror_flag"
83441 || test ! -s conftest.err'
83442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83443 (eval $ac_try) 2>&5
83444 ac_status=$?
83445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83446 (exit $ac_status); }; } &&
83447 { ac_try='test -s conftest$ac_exeext'
83448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83449 (eval $ac_try) 2>&5
83450 ac_status=$?
83451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83452 (exit $ac_status); }; }; then
83453 glibcxx_cv_WRITEV=yes
83454 else
83455 echo "$as_me: failed program was:" >&5
83456 sed 's/^/| /' conftest.$ac_ext >&5
83458 glibcxx_cv_WRITEV=no
83460 rm -f conftest.err conftest.$ac_objext \
83461 conftest$ac_exeext conftest.$ac_ext
83465 if test $glibcxx_cv_WRITEV = yes; then
83467 cat >>confdefs.h <<\_ACEOF
83468 #define HAVE_WRITEV 1
83469 _ACEOF
83474 *-qnx6.1* | *-qnx6.2*)
83475 SECTION_FLAGS='-ffunction-sections -fdata-sections'
83478 # If we're not using GNU ld, then there's no point in even trying these
83479 # tests. Check for that first. We should have already tested for gld
83480 # by now (in libtool), but require it now just to be safe...
83481 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
83482 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
83486 # The name set by libtool depends on the version of libtool. Shame on us
83487 # for depending on an impl detail, but c'est la vie. Older versions used
83488 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
83489 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
83490 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
83491 # set (hence we're using an older libtool), then set it.
83492 if test x${with_gnu_ld+set} != xset; then
83493 if test x${ac_cv_prog_gnu_ld+set} != xset; then
83494 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
83495 with_gnu_ld=no
83496 else
83497 with_gnu_ld=$ac_cv_prog_gnu_ld
83501 # Start by getting the version number. I think the libtool test already
83502 # does some of this, but throws away the result.
83504 ldver=`$LD --version 2>/dev/null | head -1 | \
83505 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
83507 glibcxx_gnu_ld_version=`echo $ldver | \
83508 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
83510 # Set --gc-sections.
83511 if test "$with_gnu_ld" = "notbroken"; then
83512 # GNU ld it is! Joy and bunny rabbits!
83514 # All these tests are for C++; save the language and the compiler flags.
83515 # Need to do this so that g++ won't try to link in libstdc++
83516 ac_test_CFLAGS="${CFLAGS+set}"
83517 ac_save_CFLAGS="$CFLAGS"
83518 CFLAGS='-x c++ -Wl,--gc-sections'
83520 # Check for -Wl,--gc-sections
83521 # XXX This test is broken at the moment, as symbols required for linking
83522 # are now in libsupc++ (not built yet). In addition, this test has
83523 # cored on solaris in the past. In addition, --gc-sections doesn't
83524 # really work at the moment (keeps on discarding used sections, first
83525 # .eh_frame and now some of the glibc sections for iconv).
83526 # Bzzzzt. Thanks for playing, maybe next time.
83527 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
83528 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
83529 if test "$cross_compiling" = yes; then
83530 ac_sectionLDflags=yes
83531 else
83532 cat >conftest.$ac_ext <<_ACEOF
83533 /* confdefs.h. */
83534 _ACEOF
83535 cat confdefs.h >>conftest.$ac_ext
83536 cat >>conftest.$ac_ext <<_ACEOF
83537 /* end confdefs.h. */
83539 int main(void)
83541 try { throw 1; }
83542 catch (...) { };
83543 return 0;
83546 _ACEOF
83547 rm -f conftest$ac_exeext
83548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83549 (eval $ac_link) 2>&5
83550 ac_status=$?
83551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83552 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
83553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83554 (eval $ac_try) 2>&5
83555 ac_status=$?
83556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83557 (exit $ac_status); }; }; then
83558 ac_sectionLDflags=yes
83559 else
83560 echo "$as_me: program exited with status $ac_status" >&5
83561 echo "$as_me: failed program was:" >&5
83562 sed 's/^/| /' conftest.$ac_ext >&5
83564 ( exit $ac_status )
83565 ac_sectionLDflags=no
83567 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
83569 if test "$ac_test_CFLAGS" = set; then
83570 CFLAGS="$ac_save_CFLAGS"
83571 else
83572 # this is the suspicious part
83573 CFLAGS=''
83575 if test "$ac_sectionLDflags" = "yes"; then
83576 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
83578 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
83579 echo "${ECHO_T}$ac_sectionLDflags" >&6
83582 # Set linker optimization flags.
83583 if test x"$with_gnu_ld" = x"yes"; then
83584 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
83592 echo "$as_me:$LINENO: checking for main in -lm" >&5
83593 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
83594 if test "${ac_cv_lib_m_main+set}" = set; then
83595 echo $ECHO_N "(cached) $ECHO_C" >&6
83596 else
83597 ac_check_lib_save_LIBS=$LIBS
83598 LIBS="-lm $LIBS"
83599 if test x$gcc_no_link = xyes; then
83600 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83602 { (exit 1); exit 1; }; }
83604 cat >conftest.$ac_ext <<_ACEOF
83605 /* confdefs.h. */
83606 _ACEOF
83607 cat confdefs.h >>conftest.$ac_ext
83608 cat >>conftest.$ac_ext <<_ACEOF
83609 /* end confdefs.h. */
83613 main ()
83615 main ();
83617 return 0;
83619 _ACEOF
83620 rm -f conftest.$ac_objext conftest$ac_exeext
83621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83622 (eval $ac_link) 2>conftest.er1
83623 ac_status=$?
83624 grep -v '^ *+' conftest.er1 >conftest.err
83625 rm -f conftest.er1
83626 cat conftest.err >&5
83627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83628 (exit $ac_status); } &&
83629 { ac_try='test -z "$ac_c_werror_flag"
83630 || test ! -s conftest.err'
83631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83632 (eval $ac_try) 2>&5
83633 ac_status=$?
83634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83635 (exit $ac_status); }; } &&
83636 { ac_try='test -s conftest$ac_exeext'
83637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83638 (eval $ac_try) 2>&5
83639 ac_status=$?
83640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83641 (exit $ac_status); }; }; then
83642 ac_cv_lib_m_main=yes
83643 else
83644 echo "$as_me: failed program was:" >&5
83645 sed 's/^/| /' conftest.$ac_ext >&5
83647 ac_cv_lib_m_main=no
83649 rm -f conftest.err conftest.$ac_objext \
83650 conftest$ac_exeext conftest.$ac_ext
83651 LIBS=$ac_check_lib_save_LIBS
83653 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
83654 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
83655 if test $ac_cv_lib_m_main = yes; then
83656 cat >>confdefs.h <<_ACEOF
83657 #define HAVE_LIBM 1
83658 _ACEOF
83660 LIBS="-lm $LIBS"
83665 for ac_func in copysignf
83667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83668 echo "$as_me:$LINENO: checking for $ac_func" >&5
83669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83670 if eval "test \"\${$as_ac_var+set}\" = set"; then
83671 echo $ECHO_N "(cached) $ECHO_C" >&6
83672 else
83673 if test x$gcc_no_link = xyes; then
83674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83676 { (exit 1); exit 1; }; }
83678 cat >conftest.$ac_ext <<_ACEOF
83679 /* confdefs.h. */
83680 _ACEOF
83681 cat confdefs.h >>conftest.$ac_ext
83682 cat >>conftest.$ac_ext <<_ACEOF
83683 /* end confdefs.h. */
83684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83686 #define $ac_func innocuous_$ac_func
83688 /* System header to define __stub macros and hopefully few prototypes,
83689 which can conflict with char $ac_func (); below.
83690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83691 <limits.h> exists even on freestanding compilers. */
83693 #ifdef __STDC__
83694 # include <limits.h>
83695 #else
83696 # include <assert.h>
83697 #endif
83699 #undef $ac_func
83701 /* Override any gcc2 internal prototype to avoid an error. */
83702 #ifdef __cplusplus
83703 extern "C"
83705 #endif
83706 /* We use char because int might match the return type of a gcc2
83707 builtin and then its argument prototype would still apply. */
83708 char $ac_func ();
83709 /* The GNU C library defines this for functions which it implements
83710 to always fail with ENOSYS. Some functions are actually named
83711 something starting with __ and the normal name is an alias. */
83712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83713 choke me
83714 #else
83715 char (*f) () = $ac_func;
83716 #endif
83717 #ifdef __cplusplus
83719 #endif
83722 main ()
83724 return f != $ac_func;
83726 return 0;
83728 _ACEOF
83729 rm -f conftest.$ac_objext conftest$ac_exeext
83730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83731 (eval $ac_link) 2>conftest.er1
83732 ac_status=$?
83733 grep -v '^ *+' conftest.er1 >conftest.err
83734 rm -f conftest.er1
83735 cat conftest.err >&5
83736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83737 (exit $ac_status); } &&
83738 { ac_try='test -z "$ac_c_werror_flag"
83739 || test ! -s conftest.err'
83740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83741 (eval $ac_try) 2>&5
83742 ac_status=$?
83743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83744 (exit $ac_status); }; } &&
83745 { ac_try='test -s conftest$ac_exeext'
83746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83747 (eval $ac_try) 2>&5
83748 ac_status=$?
83749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83750 (exit $ac_status); }; }; then
83751 eval "$as_ac_var=yes"
83752 else
83753 echo "$as_me: failed program was:" >&5
83754 sed 's/^/| /' conftest.$ac_ext >&5
83756 eval "$as_ac_var=no"
83758 rm -f conftest.err conftest.$ac_objext \
83759 conftest$ac_exeext conftest.$ac_ext
83761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83763 if test `eval echo '${'$as_ac_var'}'` = yes; then
83764 cat >>confdefs.h <<_ACEOF
83765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83766 _ACEOF
83768 else
83769 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83771 done
83775 for ac_func in __signbit
83777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83778 echo "$as_me:$LINENO: checking for $ac_func" >&5
83779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83780 if eval "test \"\${$as_ac_var+set}\" = set"; then
83781 echo $ECHO_N "(cached) $ECHO_C" >&6
83782 else
83783 if test x$gcc_no_link = xyes; then
83784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83786 { (exit 1); exit 1; }; }
83788 cat >conftest.$ac_ext <<_ACEOF
83789 /* confdefs.h. */
83790 _ACEOF
83791 cat confdefs.h >>conftest.$ac_ext
83792 cat >>conftest.$ac_ext <<_ACEOF
83793 /* end confdefs.h. */
83794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83796 #define $ac_func innocuous_$ac_func
83798 /* System header to define __stub macros and hopefully few prototypes,
83799 which can conflict with char $ac_func (); below.
83800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83801 <limits.h> exists even on freestanding compilers. */
83803 #ifdef __STDC__
83804 # include <limits.h>
83805 #else
83806 # include <assert.h>
83807 #endif
83809 #undef $ac_func
83811 /* Override any gcc2 internal prototype to avoid an error. */
83812 #ifdef __cplusplus
83813 extern "C"
83815 #endif
83816 /* We use char because int might match the return type of a gcc2
83817 builtin and then its argument prototype would still apply. */
83818 char $ac_func ();
83819 /* The GNU C library defines this for functions which it implements
83820 to always fail with ENOSYS. Some functions are actually named
83821 something starting with __ and the normal name is an alias. */
83822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83823 choke me
83824 #else
83825 char (*f) () = $ac_func;
83826 #endif
83827 #ifdef __cplusplus
83829 #endif
83832 main ()
83834 return f != $ac_func;
83836 return 0;
83838 _ACEOF
83839 rm -f conftest.$ac_objext conftest$ac_exeext
83840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83841 (eval $ac_link) 2>conftest.er1
83842 ac_status=$?
83843 grep -v '^ *+' conftest.er1 >conftest.err
83844 rm -f conftest.er1
83845 cat conftest.err >&5
83846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83847 (exit $ac_status); } &&
83848 { ac_try='test -z "$ac_c_werror_flag"
83849 || test ! -s conftest.err'
83850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83851 (eval $ac_try) 2>&5
83852 ac_status=$?
83853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83854 (exit $ac_status); }; } &&
83855 { ac_try='test -s conftest$ac_exeext'
83856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83857 (eval $ac_try) 2>&5
83858 ac_status=$?
83859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83860 (exit $ac_status); }; }; then
83861 eval "$as_ac_var=yes"
83862 else
83863 echo "$as_me: failed program was:" >&5
83864 sed 's/^/| /' conftest.$ac_ext >&5
83866 eval "$as_ac_var=no"
83868 rm -f conftest.err conftest.$ac_objext \
83869 conftest$ac_exeext conftest.$ac_ext
83871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83873 if test `eval echo '${'$as_ac_var'}'` = yes; then
83874 cat >>confdefs.h <<_ACEOF
83875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83876 _ACEOF
83878 else
83879 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
83881 done
83885 for ac_func in __signbitf
83887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83888 echo "$as_me:$LINENO: checking for $ac_func" >&5
83889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83890 if eval "test \"\${$as_ac_var+set}\" = set"; then
83891 echo $ECHO_N "(cached) $ECHO_C" >&6
83892 else
83893 if test x$gcc_no_link = xyes; then
83894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83896 { (exit 1); exit 1; }; }
83898 cat >conftest.$ac_ext <<_ACEOF
83899 /* confdefs.h. */
83900 _ACEOF
83901 cat confdefs.h >>conftest.$ac_ext
83902 cat >>conftest.$ac_ext <<_ACEOF
83903 /* end confdefs.h. */
83904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83906 #define $ac_func innocuous_$ac_func
83908 /* System header to define __stub macros and hopefully few prototypes,
83909 which can conflict with char $ac_func (); below.
83910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83911 <limits.h> exists even on freestanding compilers. */
83913 #ifdef __STDC__
83914 # include <limits.h>
83915 #else
83916 # include <assert.h>
83917 #endif
83919 #undef $ac_func
83921 /* Override any gcc2 internal prototype to avoid an error. */
83922 #ifdef __cplusplus
83923 extern "C"
83925 #endif
83926 /* We use char because int might match the return type of a gcc2
83927 builtin and then its argument prototype would still apply. */
83928 char $ac_func ();
83929 /* The GNU C library defines this for functions which it implements
83930 to always fail with ENOSYS. Some functions are actually named
83931 something starting with __ and the normal name is an alias. */
83932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83933 choke me
83934 #else
83935 char (*f) () = $ac_func;
83936 #endif
83937 #ifdef __cplusplus
83939 #endif
83942 main ()
83944 return f != $ac_func;
83946 return 0;
83948 _ACEOF
83949 rm -f conftest.$ac_objext conftest$ac_exeext
83950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83951 (eval $ac_link) 2>conftest.er1
83952 ac_status=$?
83953 grep -v '^ *+' conftest.er1 >conftest.err
83954 rm -f conftest.er1
83955 cat conftest.err >&5
83956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83957 (exit $ac_status); } &&
83958 { ac_try='test -z "$ac_c_werror_flag"
83959 || test ! -s conftest.err'
83960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83961 (eval $ac_try) 2>&5
83962 ac_status=$?
83963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83964 (exit $ac_status); }; } &&
83965 { ac_try='test -s conftest$ac_exeext'
83966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83967 (eval $ac_try) 2>&5
83968 ac_status=$?
83969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83970 (exit $ac_status); }; }; then
83971 eval "$as_ac_var=yes"
83972 else
83973 echo "$as_me: failed program was:" >&5
83974 sed 's/^/| /' conftest.$ac_ext >&5
83976 eval "$as_ac_var=no"
83978 rm -f conftest.err conftest.$ac_objext \
83979 conftest$ac_exeext conftest.$ac_ext
83981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83983 if test `eval echo '${'$as_ac_var'}'` = yes; then
83984 cat >>confdefs.h <<_ACEOF
83985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83986 _ACEOF
83988 else
83989 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
83991 done
83994 if test x$ac_cv_func_copysignl = x"yes"; then
83996 for ac_func in __signbitl
83998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83999 echo "$as_me:$LINENO: checking for $ac_func" >&5
84000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84001 if eval "test \"\${$as_ac_var+set}\" = set"; then
84002 echo $ECHO_N "(cached) $ECHO_C" >&6
84003 else
84004 if test x$gcc_no_link = xyes; then
84005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84007 { (exit 1); exit 1; }; }
84009 cat >conftest.$ac_ext <<_ACEOF
84010 /* confdefs.h. */
84011 _ACEOF
84012 cat confdefs.h >>conftest.$ac_ext
84013 cat >>conftest.$ac_ext <<_ACEOF
84014 /* end confdefs.h. */
84015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84017 #define $ac_func innocuous_$ac_func
84019 /* System header to define __stub macros and hopefully few prototypes,
84020 which can conflict with char $ac_func (); below.
84021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84022 <limits.h> exists even on freestanding compilers. */
84024 #ifdef __STDC__
84025 # include <limits.h>
84026 #else
84027 # include <assert.h>
84028 #endif
84030 #undef $ac_func
84032 /* Override any gcc2 internal prototype to avoid an error. */
84033 #ifdef __cplusplus
84034 extern "C"
84036 #endif
84037 /* We use char because int might match the return type of a gcc2
84038 builtin and then its argument prototype would still apply. */
84039 char $ac_func ();
84040 /* The GNU C library defines this for functions which it implements
84041 to always fail with ENOSYS. Some functions are actually named
84042 something starting with __ and the normal name is an alias. */
84043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84044 choke me
84045 #else
84046 char (*f) () = $ac_func;
84047 #endif
84048 #ifdef __cplusplus
84050 #endif
84053 main ()
84055 return f != $ac_func;
84057 return 0;
84059 _ACEOF
84060 rm -f conftest.$ac_objext conftest$ac_exeext
84061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84062 (eval $ac_link) 2>conftest.er1
84063 ac_status=$?
84064 grep -v '^ *+' conftest.er1 >conftest.err
84065 rm -f conftest.er1
84066 cat conftest.err >&5
84067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84068 (exit $ac_status); } &&
84069 { ac_try='test -z "$ac_c_werror_flag"
84070 || test ! -s conftest.err'
84071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84072 (eval $ac_try) 2>&5
84073 ac_status=$?
84074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84075 (exit $ac_status); }; } &&
84076 { ac_try='test -s conftest$ac_exeext'
84077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84078 (eval $ac_try) 2>&5
84079 ac_status=$?
84080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84081 (exit $ac_status); }; }; then
84082 eval "$as_ac_var=yes"
84083 else
84084 echo "$as_me: failed program was:" >&5
84085 sed 's/^/| /' conftest.$ac_ext >&5
84087 eval "$as_ac_var=no"
84089 rm -f conftest.err conftest.$ac_objext \
84090 conftest$ac_exeext conftest.$ac_ext
84092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84094 if test `eval echo '${'$as_ac_var'}'` = yes; then
84095 cat >>confdefs.h <<_ACEOF
84096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84097 _ACEOF
84099 else
84100 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
84102 done
84106 # Used in libmath/Makefile.am.
84107 if test -n "$LIBMATHOBJS"; then
84108 need_libmath=yes
84114 enable_iconv=no
84115 # Only continue checking if the ISO C99 headers exist and support is on.
84116 if test x"$enable_wchar_t" = xyes; then
84118 # Use iconv for wchar_t to char conversions. As such, check for
84119 # X/Open Portability Guide, version 2 features (XPG2).
84120 if test "${ac_cv_header_iconv_h+set}" = set; then
84121 echo "$as_me:$LINENO: checking for iconv.h" >&5
84122 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84123 if test "${ac_cv_header_iconv_h+set}" = set; then
84124 echo $ECHO_N "(cached) $ECHO_C" >&6
84126 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84127 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84128 else
84129 # Is the header compilable?
84130 echo "$as_me:$LINENO: checking iconv.h usability" >&5
84131 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
84132 cat >conftest.$ac_ext <<_ACEOF
84133 /* confdefs.h. */
84134 _ACEOF
84135 cat confdefs.h >>conftest.$ac_ext
84136 cat >>conftest.$ac_ext <<_ACEOF
84137 /* end confdefs.h. */
84138 $ac_includes_default
84139 #include <iconv.h>
84140 _ACEOF
84141 rm -f conftest.$ac_objext
84142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84143 (eval $ac_compile) 2>conftest.er1
84144 ac_status=$?
84145 grep -v '^ *+' conftest.er1 >conftest.err
84146 rm -f conftest.er1
84147 cat conftest.err >&5
84148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84149 (exit $ac_status); } &&
84150 { ac_try='test -z "$ac_c_werror_flag"
84151 || test ! -s conftest.err'
84152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84153 (eval $ac_try) 2>&5
84154 ac_status=$?
84155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84156 (exit $ac_status); }; } &&
84157 { ac_try='test -s conftest.$ac_objext'
84158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84159 (eval $ac_try) 2>&5
84160 ac_status=$?
84161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84162 (exit $ac_status); }; }; then
84163 ac_header_compiler=yes
84164 else
84165 echo "$as_me: failed program was:" >&5
84166 sed 's/^/| /' conftest.$ac_ext >&5
84168 ac_header_compiler=no
84170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84171 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84172 echo "${ECHO_T}$ac_header_compiler" >&6
84174 # Is the header present?
84175 echo "$as_me:$LINENO: checking iconv.h presence" >&5
84176 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
84177 cat >conftest.$ac_ext <<_ACEOF
84178 /* confdefs.h. */
84179 _ACEOF
84180 cat confdefs.h >>conftest.$ac_ext
84181 cat >>conftest.$ac_ext <<_ACEOF
84182 /* end confdefs.h. */
84183 #include <iconv.h>
84184 _ACEOF
84185 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84186 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84187 ac_status=$?
84188 grep -v '^ *+' conftest.er1 >conftest.err
84189 rm -f conftest.er1
84190 cat conftest.err >&5
84191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84192 (exit $ac_status); } >/dev/null; then
84193 if test -s conftest.err; then
84194 ac_cpp_err=$ac_c_preproc_warn_flag
84195 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84196 else
84197 ac_cpp_err=
84199 else
84200 ac_cpp_err=yes
84202 if test -z "$ac_cpp_err"; then
84203 ac_header_preproc=yes
84204 else
84205 echo "$as_me: failed program was:" >&5
84206 sed 's/^/| /' conftest.$ac_ext >&5
84208 ac_header_preproc=no
84210 rm -f conftest.err conftest.$ac_ext
84211 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84212 echo "${ECHO_T}$ac_header_preproc" >&6
84214 # So? What about this header?
84215 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84216 yes:no: )
84217 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
84218 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84219 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
84220 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
84221 ac_header_preproc=yes
84223 no:yes:* )
84224 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
84225 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
84226 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
84227 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
84228 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
84229 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
84230 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
84231 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
84232 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
84233 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
84234 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
84235 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
84237 cat <<\_ASBOX
84238 ## ----------------------------------------- ##
84239 ## Report this to the package-unused lists. ##
84240 ## ----------------------------------------- ##
84241 _ASBOX
84243 sed "s/^/$as_me: WARNING: /" >&2
84245 esac
84246 echo "$as_me:$LINENO: checking for iconv.h" >&5
84247 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84248 if test "${ac_cv_header_iconv_h+set}" = set; then
84249 echo $ECHO_N "(cached) $ECHO_C" >&6
84250 else
84251 ac_cv_header_iconv_h=$ac_header_preproc
84253 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84254 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84257 if test $ac_cv_header_iconv_h = yes; then
84258 ac_has_iconv_h=yes
84259 else
84260 ac_has_iconv_h=no
84264 if test "${ac_cv_header_langinfo_h+set}" = set; then
84265 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84266 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84267 if test "${ac_cv_header_langinfo_h+set}" = set; then
84268 echo $ECHO_N "(cached) $ECHO_C" >&6
84270 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84271 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84272 else
84273 # Is the header compilable?
84274 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
84275 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
84276 cat >conftest.$ac_ext <<_ACEOF
84277 /* confdefs.h. */
84278 _ACEOF
84279 cat confdefs.h >>conftest.$ac_ext
84280 cat >>conftest.$ac_ext <<_ACEOF
84281 /* end confdefs.h. */
84282 $ac_includes_default
84283 #include <langinfo.h>
84284 _ACEOF
84285 rm -f conftest.$ac_objext
84286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84287 (eval $ac_compile) 2>conftest.er1
84288 ac_status=$?
84289 grep -v '^ *+' conftest.er1 >conftest.err
84290 rm -f conftest.er1
84291 cat conftest.err >&5
84292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84293 (exit $ac_status); } &&
84294 { ac_try='test -z "$ac_c_werror_flag"
84295 || test ! -s conftest.err'
84296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84297 (eval $ac_try) 2>&5
84298 ac_status=$?
84299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84300 (exit $ac_status); }; } &&
84301 { ac_try='test -s conftest.$ac_objext'
84302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84303 (eval $ac_try) 2>&5
84304 ac_status=$?
84305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84306 (exit $ac_status); }; }; then
84307 ac_header_compiler=yes
84308 else
84309 echo "$as_me: failed program was:" >&5
84310 sed 's/^/| /' conftest.$ac_ext >&5
84312 ac_header_compiler=no
84314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84315 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84316 echo "${ECHO_T}$ac_header_compiler" >&6
84318 # Is the header present?
84319 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
84320 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
84321 cat >conftest.$ac_ext <<_ACEOF
84322 /* confdefs.h. */
84323 _ACEOF
84324 cat confdefs.h >>conftest.$ac_ext
84325 cat >>conftest.$ac_ext <<_ACEOF
84326 /* end confdefs.h. */
84327 #include <langinfo.h>
84328 _ACEOF
84329 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84330 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84331 ac_status=$?
84332 grep -v '^ *+' conftest.er1 >conftest.err
84333 rm -f conftest.er1
84334 cat conftest.err >&5
84335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84336 (exit $ac_status); } >/dev/null; then
84337 if test -s conftest.err; then
84338 ac_cpp_err=$ac_c_preproc_warn_flag
84339 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84340 else
84341 ac_cpp_err=
84343 else
84344 ac_cpp_err=yes
84346 if test -z "$ac_cpp_err"; then
84347 ac_header_preproc=yes
84348 else
84349 echo "$as_me: failed program was:" >&5
84350 sed 's/^/| /' conftest.$ac_ext >&5
84352 ac_header_preproc=no
84354 rm -f conftest.err conftest.$ac_ext
84355 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84356 echo "${ECHO_T}$ac_header_preproc" >&6
84358 # So? What about this header?
84359 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84360 yes:no: )
84361 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
84362 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84363 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
84364 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
84365 ac_header_preproc=yes
84367 no:yes:* )
84368 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
84369 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
84370 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
84371 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
84372 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
84373 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
84374 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
84375 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
84376 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
84377 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
84378 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
84379 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
84381 cat <<\_ASBOX
84382 ## ----------------------------------------- ##
84383 ## Report this to the package-unused lists. ##
84384 ## ----------------------------------------- ##
84385 _ASBOX
84387 sed "s/^/$as_me: WARNING: /" >&2
84389 esac
84390 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84391 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84392 if test "${ac_cv_header_langinfo_h+set}" = set; then
84393 echo $ECHO_N "(cached) $ECHO_C" >&6
84394 else
84395 ac_cv_header_langinfo_h=$ac_header_preproc
84397 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84398 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84401 if test $ac_cv_header_langinfo_h = yes; then
84402 ac_has_langinfo_h=yes
84403 else
84404 ac_has_langinfo_h=no
84409 # Check for existence of libiconv.a providing XPG2 wchar_t support.
84410 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
84411 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
84412 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
84413 echo $ECHO_N "(cached) $ECHO_C" >&6
84414 else
84415 ac_check_lib_save_LIBS=$LIBS
84416 LIBS="-liconv $LIBS"
84417 if test x$gcc_no_link = xyes; then
84418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84420 { (exit 1); exit 1; }; }
84422 cat >conftest.$ac_ext <<_ACEOF
84423 /* confdefs.h. */
84424 _ACEOF
84425 cat confdefs.h >>conftest.$ac_ext
84426 cat >>conftest.$ac_ext <<_ACEOF
84427 /* end confdefs.h. */
84429 /* Override any gcc2 internal prototype to avoid an error. */
84430 #ifdef __cplusplus
84431 extern "C"
84432 #endif
84433 /* We use char because int might match the return type of a gcc2
84434 builtin and then its argument prototype would still apply. */
84435 char iconv ();
84437 main ()
84439 iconv ();
84441 return 0;
84443 _ACEOF
84444 rm -f conftest.$ac_objext conftest$ac_exeext
84445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84446 (eval $ac_link) 2>conftest.er1
84447 ac_status=$?
84448 grep -v '^ *+' conftest.er1 >conftest.err
84449 rm -f conftest.er1
84450 cat conftest.err >&5
84451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84452 (exit $ac_status); } &&
84453 { ac_try='test -z "$ac_c_werror_flag"
84454 || test ! -s conftest.err'
84455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84456 (eval $ac_try) 2>&5
84457 ac_status=$?
84458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84459 (exit $ac_status); }; } &&
84460 { ac_try='test -s conftest$ac_exeext'
84461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84462 (eval $ac_try) 2>&5
84463 ac_status=$?
84464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84465 (exit $ac_status); }; }; then
84466 ac_cv_lib_iconv_iconv=yes
84467 else
84468 echo "$as_me: failed program was:" >&5
84469 sed 's/^/| /' conftest.$ac_ext >&5
84471 ac_cv_lib_iconv_iconv=no
84473 rm -f conftest.err conftest.$ac_objext \
84474 conftest$ac_exeext conftest.$ac_ext
84475 LIBS=$ac_check_lib_save_LIBS
84477 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
84478 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
84479 if test $ac_cv_lib_iconv_iconv = yes; then
84480 LIBICONV="-liconv"
84483 ac_save_LIBS="$LIBS"
84484 LIBS="$LIBS $LIBICONV"
84491 for ac_func in iconv_open iconv_close iconv nl_langinfo
84493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84494 echo "$as_me:$LINENO: checking for $ac_func" >&5
84495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84496 if eval "test \"\${$as_ac_var+set}\" = set"; then
84497 echo $ECHO_N "(cached) $ECHO_C" >&6
84498 else
84499 if test x$gcc_no_link = xyes; then
84500 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84502 { (exit 1); exit 1; }; }
84504 cat >conftest.$ac_ext <<_ACEOF
84505 /* confdefs.h. */
84506 _ACEOF
84507 cat confdefs.h >>conftest.$ac_ext
84508 cat >>conftest.$ac_ext <<_ACEOF
84509 /* end confdefs.h. */
84510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84512 #define $ac_func innocuous_$ac_func
84514 /* System header to define __stub macros and hopefully few prototypes,
84515 which can conflict with char $ac_func (); below.
84516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84517 <limits.h> exists even on freestanding compilers. */
84519 #ifdef __STDC__
84520 # include <limits.h>
84521 #else
84522 # include <assert.h>
84523 #endif
84525 #undef $ac_func
84527 /* Override any gcc2 internal prototype to avoid an error. */
84528 #ifdef __cplusplus
84529 extern "C"
84531 #endif
84532 /* We use char because int might match the return type of a gcc2
84533 builtin and then its argument prototype would still apply. */
84534 char $ac_func ();
84535 /* The GNU C library defines this for functions which it implements
84536 to always fail with ENOSYS. Some functions are actually named
84537 something starting with __ and the normal name is an alias. */
84538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84539 choke me
84540 #else
84541 char (*f) () = $ac_func;
84542 #endif
84543 #ifdef __cplusplus
84545 #endif
84548 main ()
84550 return f != $ac_func;
84552 return 0;
84554 _ACEOF
84555 rm -f conftest.$ac_objext conftest$ac_exeext
84556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84557 (eval $ac_link) 2>conftest.er1
84558 ac_status=$?
84559 grep -v '^ *+' conftest.er1 >conftest.err
84560 rm -f conftest.er1
84561 cat conftest.err >&5
84562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84563 (exit $ac_status); } &&
84564 { ac_try='test -z "$ac_c_werror_flag"
84565 || test ! -s conftest.err'
84566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84567 (eval $ac_try) 2>&5
84568 ac_status=$?
84569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84570 (exit $ac_status); }; } &&
84571 { ac_try='test -s conftest$ac_exeext'
84572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84573 (eval $ac_try) 2>&5
84574 ac_status=$?
84575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84576 (exit $ac_status); }; }; then
84577 eval "$as_ac_var=yes"
84578 else
84579 echo "$as_me: failed program was:" >&5
84580 sed 's/^/| /' conftest.$ac_ext >&5
84582 eval "$as_ac_var=no"
84584 rm -f conftest.err conftest.$ac_objext \
84585 conftest$ac_exeext conftest.$ac_ext
84587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84589 if test `eval echo '${'$as_ac_var'}'` = yes; then
84590 cat >>confdefs.h <<_ACEOF
84591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84592 _ACEOF
84593 ac_XPG2funcs=yes
84594 else
84595 ac_XPG2funcs=no
84597 done
84600 LIBS="$ac_save_LIBS"
84602 if test x"$ac_has_iconv_h" = xyes &&
84603 test x"$ac_has_langinfo_h" = xyes &&
84604 test x"$ac_XPG2funcs" = xyes;
84605 then
84607 cat >>confdefs.h <<\_ACEOF
84608 #define _GLIBCXX_USE_ICONV 1
84609 _ACEOF
84611 enable_iconv=yes
84614 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
84615 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
84616 echo "$as_me:$LINENO: result: $enable_iconv" >&5
84617 echo "${ECHO_T}$enable_iconv" >&6
84619 cat >>confdefs.h <<\_ACEOF
84620 #define HAVE_COSF 1
84621 _ACEOF
84623 cat >>confdefs.h <<\_ACEOF
84624 #define HAVE_COSL 1
84625 _ACEOF
84627 cat >>confdefs.h <<\_ACEOF
84628 #define HAVE_COSHF 1
84629 _ACEOF
84631 cat >>confdefs.h <<\_ACEOF
84632 #define HAVE_COSHL 1
84633 _ACEOF
84635 cat >>confdefs.h <<\_ACEOF
84636 #define HAVE_LOGF 1
84637 _ACEOF
84639 cat >>confdefs.h <<\_ACEOF
84640 #define HAVE_LOGL 1
84641 _ACEOF
84643 cat >>confdefs.h <<\_ACEOF
84644 #define HAVE_LOG10F 1
84645 _ACEOF
84647 cat >>confdefs.h <<\_ACEOF
84648 #define HAVE_LOG10L 1
84649 _ACEOF
84651 cat >>confdefs.h <<\_ACEOF
84652 #define HAVE_SINF 1
84653 _ACEOF
84655 cat >>confdefs.h <<\_ACEOF
84656 #define HAVE_SINL 1
84657 _ACEOF
84659 cat >>confdefs.h <<\_ACEOF
84660 #define HAVE_SINHF 1
84661 _ACEOF
84663 cat >>confdefs.h <<\_ACEOF
84664 #define HAVE_SINHL 1
84665 _ACEOF
84668 *-solaris*)
84669 case "$target" in
84670 # *-solaris2.5)
84671 # os_include_dir="os/solaris/solaris2.5"
84672 # ;;
84673 # *-solaris2.6)
84674 # os_include_dir="os/solaris/solaris2.6"
84675 # ;;
84676 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
84677 cat >>confdefs.h <<\_ACEOF
84678 #define HAVE_GETPAGESIZE 1
84679 _ACEOF
84681 cat >>confdefs.h <<\_ACEOF
84682 #define HAVE_SIGSETJMP 1
84683 _ACEOF
84685 cat >>confdefs.h <<\_ACEOF
84686 #define HAVE_MBSTATE_T 1
84687 _ACEOF
84689 cat >>confdefs.h <<\_ACEOF
84690 #define HAVE_POLL 1
84691 _ACEOF
84693 cat >>confdefs.h <<\_ACEOF
84694 #define HAVE_S_ISREG 1
84695 _ACEOF
84697 cat >>confdefs.h <<\_ACEOF
84698 #define HAVE_LC_MESSAGES 1
84699 _ACEOF
84701 cat >>confdefs.h <<\_ACEOF
84702 #define HAVE_FINITE 1
84703 _ACEOF
84705 cat >>confdefs.h <<\_ACEOF
84706 #define HAVE_FPCLASS 1
84707 _ACEOF
84709 cat >>confdefs.h <<\_ACEOF
84710 #define HAVE_GETPAGESIZE 1
84711 _ACEOF
84713 cat >>confdefs.h <<\_ACEOF
84714 #define HAVE_NL_LANGINFO 1
84715 _ACEOF
84717 cat >>confdefs.h <<\_ACEOF
84718 #define HAVE_ICONV 1
84719 _ACEOF
84721 cat >>confdefs.h <<\_ACEOF
84722 #define HAVE_ICONV_CLOSE 1
84723 _ACEOF
84725 cat >>confdefs.h <<\_ACEOF
84726 #define HAVE_ICONV_OPEN 1
84727 _ACEOF
84729 # Look for the pieces required for wchar_t support in order to
84730 # get all the right HAVE_* macros defined.
84733 enable_iconv=no
84734 # Only continue checking if the ISO C99 headers exist and support is on.
84735 if test x"$enable_wchar_t" = xyes; then
84737 # Use iconv for wchar_t to char conversions. As such, check for
84738 # X/Open Portability Guide, version 2 features (XPG2).
84739 if test "${ac_cv_header_iconv_h+set}" = set; then
84740 echo "$as_me:$LINENO: checking for iconv.h" >&5
84741 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84742 if test "${ac_cv_header_iconv_h+set}" = set; then
84743 echo $ECHO_N "(cached) $ECHO_C" >&6
84745 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84746 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84747 else
84748 # Is the header compilable?
84749 echo "$as_me:$LINENO: checking iconv.h usability" >&5
84750 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
84751 cat >conftest.$ac_ext <<_ACEOF
84752 /* confdefs.h. */
84753 _ACEOF
84754 cat confdefs.h >>conftest.$ac_ext
84755 cat >>conftest.$ac_ext <<_ACEOF
84756 /* end confdefs.h. */
84757 $ac_includes_default
84758 #include <iconv.h>
84759 _ACEOF
84760 rm -f conftest.$ac_objext
84761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84762 (eval $ac_compile) 2>conftest.er1
84763 ac_status=$?
84764 grep -v '^ *+' conftest.er1 >conftest.err
84765 rm -f conftest.er1
84766 cat conftest.err >&5
84767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84768 (exit $ac_status); } &&
84769 { ac_try='test -z "$ac_c_werror_flag"
84770 || test ! -s conftest.err'
84771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84772 (eval $ac_try) 2>&5
84773 ac_status=$?
84774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84775 (exit $ac_status); }; } &&
84776 { ac_try='test -s conftest.$ac_objext'
84777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84778 (eval $ac_try) 2>&5
84779 ac_status=$?
84780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84781 (exit $ac_status); }; }; then
84782 ac_header_compiler=yes
84783 else
84784 echo "$as_me: failed program was:" >&5
84785 sed 's/^/| /' conftest.$ac_ext >&5
84787 ac_header_compiler=no
84789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84790 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84791 echo "${ECHO_T}$ac_header_compiler" >&6
84793 # Is the header present?
84794 echo "$as_me:$LINENO: checking iconv.h presence" >&5
84795 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
84796 cat >conftest.$ac_ext <<_ACEOF
84797 /* confdefs.h. */
84798 _ACEOF
84799 cat confdefs.h >>conftest.$ac_ext
84800 cat >>conftest.$ac_ext <<_ACEOF
84801 /* end confdefs.h. */
84802 #include <iconv.h>
84803 _ACEOF
84804 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84805 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84806 ac_status=$?
84807 grep -v '^ *+' conftest.er1 >conftest.err
84808 rm -f conftest.er1
84809 cat conftest.err >&5
84810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84811 (exit $ac_status); } >/dev/null; then
84812 if test -s conftest.err; then
84813 ac_cpp_err=$ac_c_preproc_warn_flag
84814 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84815 else
84816 ac_cpp_err=
84818 else
84819 ac_cpp_err=yes
84821 if test -z "$ac_cpp_err"; then
84822 ac_header_preproc=yes
84823 else
84824 echo "$as_me: failed program was:" >&5
84825 sed 's/^/| /' conftest.$ac_ext >&5
84827 ac_header_preproc=no
84829 rm -f conftest.err conftest.$ac_ext
84830 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84831 echo "${ECHO_T}$ac_header_preproc" >&6
84833 # So? What about this header?
84834 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84835 yes:no: )
84836 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
84837 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84838 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
84839 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
84840 ac_header_preproc=yes
84842 no:yes:* )
84843 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
84844 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
84845 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
84846 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
84847 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
84848 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
84849 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
84850 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
84851 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
84852 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
84853 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
84854 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
84856 cat <<\_ASBOX
84857 ## ----------------------------------------- ##
84858 ## Report this to the package-unused lists. ##
84859 ## ----------------------------------------- ##
84860 _ASBOX
84862 sed "s/^/$as_me: WARNING: /" >&2
84864 esac
84865 echo "$as_me:$LINENO: checking for iconv.h" >&5
84866 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84867 if test "${ac_cv_header_iconv_h+set}" = set; then
84868 echo $ECHO_N "(cached) $ECHO_C" >&6
84869 else
84870 ac_cv_header_iconv_h=$ac_header_preproc
84872 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84873 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84876 if test $ac_cv_header_iconv_h = yes; then
84877 ac_has_iconv_h=yes
84878 else
84879 ac_has_iconv_h=no
84883 if test "${ac_cv_header_langinfo_h+set}" = set; then
84884 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84885 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84886 if test "${ac_cv_header_langinfo_h+set}" = set; then
84887 echo $ECHO_N "(cached) $ECHO_C" >&6
84889 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84890 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84891 else
84892 # Is the header compilable?
84893 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
84894 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
84895 cat >conftest.$ac_ext <<_ACEOF
84896 /* confdefs.h. */
84897 _ACEOF
84898 cat confdefs.h >>conftest.$ac_ext
84899 cat >>conftest.$ac_ext <<_ACEOF
84900 /* end confdefs.h. */
84901 $ac_includes_default
84902 #include <langinfo.h>
84903 _ACEOF
84904 rm -f conftest.$ac_objext
84905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84906 (eval $ac_compile) 2>conftest.er1
84907 ac_status=$?
84908 grep -v '^ *+' conftest.er1 >conftest.err
84909 rm -f conftest.er1
84910 cat conftest.err >&5
84911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84912 (exit $ac_status); } &&
84913 { ac_try='test -z "$ac_c_werror_flag"
84914 || test ! -s conftest.err'
84915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84916 (eval $ac_try) 2>&5
84917 ac_status=$?
84918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84919 (exit $ac_status); }; } &&
84920 { ac_try='test -s conftest.$ac_objext'
84921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84922 (eval $ac_try) 2>&5
84923 ac_status=$?
84924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84925 (exit $ac_status); }; }; then
84926 ac_header_compiler=yes
84927 else
84928 echo "$as_me: failed program was:" >&5
84929 sed 's/^/| /' conftest.$ac_ext >&5
84931 ac_header_compiler=no
84933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84934 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84935 echo "${ECHO_T}$ac_header_compiler" >&6
84937 # Is the header present?
84938 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
84939 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
84940 cat >conftest.$ac_ext <<_ACEOF
84941 /* confdefs.h. */
84942 _ACEOF
84943 cat confdefs.h >>conftest.$ac_ext
84944 cat >>conftest.$ac_ext <<_ACEOF
84945 /* end confdefs.h. */
84946 #include <langinfo.h>
84947 _ACEOF
84948 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84949 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84950 ac_status=$?
84951 grep -v '^ *+' conftest.er1 >conftest.err
84952 rm -f conftest.er1
84953 cat conftest.err >&5
84954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84955 (exit $ac_status); } >/dev/null; then
84956 if test -s conftest.err; then
84957 ac_cpp_err=$ac_c_preproc_warn_flag
84958 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84959 else
84960 ac_cpp_err=
84962 else
84963 ac_cpp_err=yes
84965 if test -z "$ac_cpp_err"; then
84966 ac_header_preproc=yes
84967 else
84968 echo "$as_me: failed program was:" >&5
84969 sed 's/^/| /' conftest.$ac_ext >&5
84971 ac_header_preproc=no
84973 rm -f conftest.err conftest.$ac_ext
84974 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84975 echo "${ECHO_T}$ac_header_preproc" >&6
84977 # So? What about this header?
84978 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84979 yes:no: )
84980 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
84981 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84982 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
84983 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
84984 ac_header_preproc=yes
84986 no:yes:* )
84987 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
84988 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
84989 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
84990 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
84991 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
84992 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
84993 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
84994 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
84995 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
84996 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
84997 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
84998 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
85000 cat <<\_ASBOX
85001 ## ----------------------------------------- ##
85002 ## Report this to the package-unused lists. ##
85003 ## ----------------------------------------- ##
85004 _ASBOX
85006 sed "s/^/$as_me: WARNING: /" >&2
85008 esac
85009 echo "$as_me:$LINENO: checking for langinfo.h" >&5
85010 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
85011 if test "${ac_cv_header_langinfo_h+set}" = set; then
85012 echo $ECHO_N "(cached) $ECHO_C" >&6
85013 else
85014 ac_cv_header_langinfo_h=$ac_header_preproc
85016 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
85017 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
85020 if test $ac_cv_header_langinfo_h = yes; then
85021 ac_has_langinfo_h=yes
85022 else
85023 ac_has_langinfo_h=no
85028 # Check for existence of libiconv.a providing XPG2 wchar_t support.
85029 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
85030 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
85031 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
85032 echo $ECHO_N "(cached) $ECHO_C" >&6
85033 else
85034 ac_check_lib_save_LIBS=$LIBS
85035 LIBS="-liconv $LIBS"
85036 if test x$gcc_no_link = xyes; then
85037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85039 { (exit 1); exit 1; }; }
85041 cat >conftest.$ac_ext <<_ACEOF
85042 /* confdefs.h. */
85043 _ACEOF
85044 cat confdefs.h >>conftest.$ac_ext
85045 cat >>conftest.$ac_ext <<_ACEOF
85046 /* end confdefs.h. */
85048 /* Override any gcc2 internal prototype to avoid an error. */
85049 #ifdef __cplusplus
85050 extern "C"
85051 #endif
85052 /* We use char because int might match the return type of a gcc2
85053 builtin and then its argument prototype would still apply. */
85054 char iconv ();
85056 main ()
85058 iconv ();
85060 return 0;
85062 _ACEOF
85063 rm -f conftest.$ac_objext conftest$ac_exeext
85064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85065 (eval $ac_link) 2>conftest.er1
85066 ac_status=$?
85067 grep -v '^ *+' conftest.er1 >conftest.err
85068 rm -f conftest.er1
85069 cat conftest.err >&5
85070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85071 (exit $ac_status); } &&
85072 { ac_try='test -z "$ac_c_werror_flag"
85073 || test ! -s conftest.err'
85074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85075 (eval $ac_try) 2>&5
85076 ac_status=$?
85077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85078 (exit $ac_status); }; } &&
85079 { ac_try='test -s conftest$ac_exeext'
85080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85081 (eval $ac_try) 2>&5
85082 ac_status=$?
85083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85084 (exit $ac_status); }; }; then
85085 ac_cv_lib_iconv_iconv=yes
85086 else
85087 echo "$as_me: failed program was:" >&5
85088 sed 's/^/| /' conftest.$ac_ext >&5
85090 ac_cv_lib_iconv_iconv=no
85092 rm -f conftest.err conftest.$ac_objext \
85093 conftest$ac_exeext conftest.$ac_ext
85094 LIBS=$ac_check_lib_save_LIBS
85096 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
85097 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
85098 if test $ac_cv_lib_iconv_iconv = yes; then
85099 LIBICONV="-liconv"
85102 ac_save_LIBS="$LIBS"
85103 LIBS="$LIBS $LIBICONV"
85110 for ac_func in iconv_open iconv_close iconv nl_langinfo
85112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85113 echo "$as_me:$LINENO: checking for $ac_func" >&5
85114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85115 if eval "test \"\${$as_ac_var+set}\" = set"; then
85116 echo $ECHO_N "(cached) $ECHO_C" >&6
85117 else
85118 if test x$gcc_no_link = xyes; then
85119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85121 { (exit 1); exit 1; }; }
85123 cat >conftest.$ac_ext <<_ACEOF
85124 /* confdefs.h. */
85125 _ACEOF
85126 cat confdefs.h >>conftest.$ac_ext
85127 cat >>conftest.$ac_ext <<_ACEOF
85128 /* end confdefs.h. */
85129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85131 #define $ac_func innocuous_$ac_func
85133 /* System header to define __stub macros and hopefully few prototypes,
85134 which can conflict with char $ac_func (); below.
85135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85136 <limits.h> exists even on freestanding compilers. */
85138 #ifdef __STDC__
85139 # include <limits.h>
85140 #else
85141 # include <assert.h>
85142 #endif
85144 #undef $ac_func
85146 /* Override any gcc2 internal prototype to avoid an error. */
85147 #ifdef __cplusplus
85148 extern "C"
85150 #endif
85151 /* We use char because int might match the return type of a gcc2
85152 builtin and then its argument prototype would still apply. */
85153 char $ac_func ();
85154 /* The GNU C library defines this for functions which it implements
85155 to always fail with ENOSYS. Some functions are actually named
85156 something starting with __ and the normal name is an alias. */
85157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85158 choke me
85159 #else
85160 char (*f) () = $ac_func;
85161 #endif
85162 #ifdef __cplusplus
85164 #endif
85167 main ()
85169 return f != $ac_func;
85171 return 0;
85173 _ACEOF
85174 rm -f conftest.$ac_objext conftest$ac_exeext
85175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85176 (eval $ac_link) 2>conftest.er1
85177 ac_status=$?
85178 grep -v '^ *+' conftest.er1 >conftest.err
85179 rm -f conftest.er1
85180 cat conftest.err >&5
85181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85182 (exit $ac_status); } &&
85183 { ac_try='test -z "$ac_c_werror_flag"
85184 || test ! -s conftest.err'
85185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85186 (eval $ac_try) 2>&5
85187 ac_status=$?
85188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85189 (exit $ac_status); }; } &&
85190 { ac_try='test -s conftest$ac_exeext'
85191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85192 (eval $ac_try) 2>&5
85193 ac_status=$?
85194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85195 (exit $ac_status); }; }; then
85196 eval "$as_ac_var=yes"
85197 else
85198 echo "$as_me: failed program was:" >&5
85199 sed 's/^/| /' conftest.$ac_ext >&5
85201 eval "$as_ac_var=no"
85203 rm -f conftest.err conftest.$ac_objext \
85204 conftest$ac_exeext conftest.$ac_ext
85206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85208 if test `eval echo '${'$as_ac_var'}'` = yes; then
85209 cat >>confdefs.h <<_ACEOF
85210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85211 _ACEOF
85212 ac_XPG2funcs=yes
85213 else
85214 ac_XPG2funcs=no
85216 done
85219 LIBS="$ac_save_LIBS"
85221 if test x"$ac_has_iconv_h" = xyes &&
85222 test x"$ac_has_langinfo_h" = xyes &&
85223 test x"$ac_XPG2funcs" = xyes;
85224 then
85226 cat >>confdefs.h <<\_ACEOF
85227 #define _GLIBCXX_USE_ICONV 1
85228 _ACEOF
85230 enable_iconv=yes
85233 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
85234 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
85235 echo "$as_me:$LINENO: result: $enable_iconv" >&5
85236 echo "${ECHO_T}$enable_iconv" >&6
85238 # All of the dependencies for wide character support are here, so
85239 # turn it on. This requires some syncronization with the
85240 # GLIBCXX_CHECK_ICONV_SUPPORT in acinclude.m4
85241 cat >>confdefs.h <<\_ACEOF
85242 #define _GLIBCXX_USE_WCHAR_T 1
85243 _ACEOF
85245 # Are these tested for even when cross?
85246 cat >>confdefs.h <<\_ACEOF
85247 #define HAVE_FLOAT_H 1
85248 _ACEOF
85250 cat >>confdefs.h <<\_ACEOF
85251 #define HAVE_IEEEFP_H 1
85252 _ACEOF
85254 cat >>confdefs.h <<\_ACEOF
85255 #define HAVE_INTTYPES_H 1
85256 _ACEOF
85258 cat >>confdefs.h <<\_ACEOF
85259 #define HAVE_LOCALE_H 1
85260 _ACEOF
85262 cat >>confdefs.h <<\_ACEOF
85263 #define HAVE_NAN_H 1
85264 _ACEOF
85266 cat >>confdefs.h <<\_ACEOF
85267 #define HAVE_SYS_FILIO_H 1
85268 _ACEOF
85270 cat >>confdefs.h <<\_ACEOF
85271 #define HAVE_SYS_IOCTL_H 1
85272 _ACEOF
85274 cat >>confdefs.h <<\_ACEOF
85275 #define HAVE_SYS_ISA_DEFS_H 1
85276 _ACEOF
85278 cat >>confdefs.h <<\_ACEOF
85279 #define HAVE_SYS_RESOURCE_H 1
85280 _ACEOF
85282 cat >>confdefs.h <<\_ACEOF
85283 #define HAVE_SYS_TIME_H 1
85284 _ACEOF
85286 cat >>confdefs.h <<\_ACEOF
85287 #define HAVE_SYS_TYPES_H 1
85288 _ACEOF
85290 cat >>confdefs.h <<\_ACEOF
85291 #define HAVE_UNISTD_H 1
85292 _ACEOF
85294 cat >>confdefs.h <<\_ACEOF
85295 #define HAVE_WCHAR_H 1
85296 _ACEOF
85298 cat >>confdefs.h <<\_ACEOF
85299 #define HAVE_WCTYPE_H 1
85300 _ACEOF
85302 cat >>confdefs.h <<\_ACEOF
85303 #define HAVE_LIBM 1
85304 _ACEOF
85307 esac
85308 case "$target" in
85309 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
85310 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
85311 cat >>confdefs.h <<\_ACEOF
85312 #define HAVE___BUILTIN_ABS 1
85313 _ACEOF
85315 cat >>confdefs.h <<\_ACEOF
85316 #define HAVE___BUILTIN_LABS 1
85317 _ACEOF
85319 cat >>confdefs.h <<\_ACEOF
85320 #define HAVE___BUILTIN_FABS 1
85321 _ACEOF
85323 cat >>confdefs.h <<\_ACEOF
85324 #define HAVE___BUILTIN_FABSF 1
85325 _ACEOF
85327 cat >>confdefs.h <<\_ACEOF
85328 #define HAVE___BUILTIN_FABSL 1
85329 _ACEOF
85331 cat >>confdefs.h <<\_ACEOF
85332 #define HAVE___BUILTIN_COS 1
85333 _ACEOF
85335 cat >>confdefs.h <<\_ACEOF
85336 #define HAVE___BUILTIN_COSF 1
85337 _ACEOF
85339 cat >>confdefs.h <<\_ACEOF
85340 #define HAVE___BUILTIN_SIN 1
85341 _ACEOF
85343 cat >>confdefs.h <<\_ACEOF
85344 #define HAVE___BUILTIN_SINF 1
85345 _ACEOF
85348 esac
85349 case "$target" in
85350 *-*-solaris2.10)
85351 # These two C99 functions are present only in Solaris >= 10
85352 cat >>confdefs.h <<\_ACEOF
85353 #define HAVE_STRTOF 1
85354 _ACEOF
85356 cat >>confdefs.h <<\_ACEOF
85357 #define HAVE_STRTOLD 1
85358 _ACEOF
85361 esac
85362 cat >>confdefs.h <<\_ACEOF
85363 #define HAVE_MMAP 1
85364 _ACEOF
85366 cat >>confdefs.h <<\_ACEOF
85367 #define HAVE_COPYSIGN 1
85368 _ACEOF
85370 cat >>confdefs.h <<\_ACEOF
85371 #define HAVE_ISNAN 1
85372 _ACEOF
85374 cat >>confdefs.h <<\_ACEOF
85375 #define HAVE_ISNANF 1
85376 _ACEOF
85378 cat >>confdefs.h <<\_ACEOF
85379 #define HAVE_MODFF 1
85380 _ACEOF
85382 cat >>confdefs.h <<\_ACEOF
85383 #define HAVE_HYPOT 1
85384 _ACEOF
85387 *-tpf)
85396 for ac_header in nan.h endian.h machine/endian.h \
85397 sys/param.h sys/types.h locale.h float.h inttypes.h
85399 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85400 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85401 echo "$as_me:$LINENO: checking for $ac_header" >&5
85402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85404 echo $ECHO_N "(cached) $ECHO_C" >&6
85406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85407 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85408 else
85409 # Is the header compilable?
85410 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85411 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85412 cat >conftest.$ac_ext <<_ACEOF
85413 /* confdefs.h. */
85414 _ACEOF
85415 cat confdefs.h >>conftest.$ac_ext
85416 cat >>conftest.$ac_ext <<_ACEOF
85417 /* end confdefs.h. */
85418 $ac_includes_default
85419 #include <$ac_header>
85420 _ACEOF
85421 rm -f conftest.$ac_objext
85422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85423 (eval $ac_compile) 2>conftest.er1
85424 ac_status=$?
85425 grep -v '^ *+' conftest.er1 >conftest.err
85426 rm -f conftest.er1
85427 cat conftest.err >&5
85428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85429 (exit $ac_status); } &&
85430 { ac_try='test -z "$ac_c_werror_flag"
85431 || test ! -s conftest.err'
85432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85433 (eval $ac_try) 2>&5
85434 ac_status=$?
85435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85436 (exit $ac_status); }; } &&
85437 { ac_try='test -s conftest.$ac_objext'
85438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85439 (eval $ac_try) 2>&5
85440 ac_status=$?
85441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85442 (exit $ac_status); }; }; then
85443 ac_header_compiler=yes
85444 else
85445 echo "$as_me: failed program was:" >&5
85446 sed 's/^/| /' conftest.$ac_ext >&5
85448 ac_header_compiler=no
85450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85451 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85452 echo "${ECHO_T}$ac_header_compiler" >&6
85454 # Is the header present?
85455 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85456 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85457 cat >conftest.$ac_ext <<_ACEOF
85458 /* confdefs.h. */
85459 _ACEOF
85460 cat confdefs.h >>conftest.$ac_ext
85461 cat >>conftest.$ac_ext <<_ACEOF
85462 /* end confdefs.h. */
85463 #include <$ac_header>
85464 _ACEOF
85465 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85466 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85467 ac_status=$?
85468 grep -v '^ *+' conftest.er1 >conftest.err
85469 rm -f conftest.er1
85470 cat conftest.err >&5
85471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85472 (exit $ac_status); } >/dev/null; then
85473 if test -s conftest.err; then
85474 ac_cpp_err=$ac_c_preproc_warn_flag
85475 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85476 else
85477 ac_cpp_err=
85479 else
85480 ac_cpp_err=yes
85482 if test -z "$ac_cpp_err"; then
85483 ac_header_preproc=yes
85484 else
85485 echo "$as_me: failed program was:" >&5
85486 sed 's/^/| /' conftest.$ac_ext >&5
85488 ac_header_preproc=no
85490 rm -f conftest.err conftest.$ac_ext
85491 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85492 echo "${ECHO_T}$ac_header_preproc" >&6
85494 # So? What about this header?
85495 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85496 yes:no: )
85497 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85498 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85499 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85500 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85501 ac_header_preproc=yes
85503 no:yes:* )
85504 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85505 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85506 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85507 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85508 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85509 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85510 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85511 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85512 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85513 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85514 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85515 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85517 cat <<\_ASBOX
85518 ## ----------------------------------------- ##
85519 ## Report this to the package-unused lists. ##
85520 ## ----------------------------------------- ##
85521 _ASBOX
85523 sed "s/^/$as_me: WARNING: /" >&2
85525 esac
85526 echo "$as_me:$LINENO: checking for $ac_header" >&5
85527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85528 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85529 echo $ECHO_N "(cached) $ECHO_C" >&6
85530 else
85531 eval "$as_ac_Header=\$ac_header_preproc"
85533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85534 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85537 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85538 cat >>confdefs.h <<_ACEOF
85539 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85540 _ACEOF
85544 done
85546 SECTION_FLAGS='-ffunction-sections -fdata-sections'
85549 # If we're not using GNU ld, then there's no point in even trying these
85550 # tests. Check for that first. We should have already tested for gld
85551 # by now (in libtool), but require it now just to be safe...
85552 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
85553 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
85557 # The name set by libtool depends on the version of libtool. Shame on us
85558 # for depending on an impl detail, but c'est la vie. Older versions used
85559 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
85560 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
85561 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
85562 # set (hence we're using an older libtool), then set it.
85563 if test x${with_gnu_ld+set} != xset; then
85564 if test x${ac_cv_prog_gnu_ld+set} != xset; then
85565 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
85566 with_gnu_ld=no
85567 else
85568 with_gnu_ld=$ac_cv_prog_gnu_ld
85572 # Start by getting the version number. I think the libtool test already
85573 # does some of this, but throws away the result.
85575 ldver=`$LD --version 2>/dev/null | head -1 | \
85576 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
85578 glibcxx_gnu_ld_version=`echo $ldver | \
85579 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
85581 # Set --gc-sections.
85582 if test "$with_gnu_ld" = "notbroken"; then
85583 # GNU ld it is! Joy and bunny rabbits!
85585 # All these tests are for C++; save the language and the compiler flags.
85586 # Need to do this so that g++ won't try to link in libstdc++
85587 ac_test_CFLAGS="${CFLAGS+set}"
85588 ac_save_CFLAGS="$CFLAGS"
85589 CFLAGS='-x c++ -Wl,--gc-sections'
85591 # Check for -Wl,--gc-sections
85592 # XXX This test is broken at the moment, as symbols required for linking
85593 # are now in libsupc++ (not built yet). In addition, this test has
85594 # cored on solaris in the past. In addition, --gc-sections doesn't
85595 # really work at the moment (keeps on discarding used sections, first
85596 # .eh_frame and now some of the glibc sections for iconv).
85597 # Bzzzzt. Thanks for playing, maybe next time.
85598 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85599 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85600 if test "$cross_compiling" = yes; then
85601 ac_sectionLDflags=yes
85602 else
85603 cat >conftest.$ac_ext <<_ACEOF
85604 /* confdefs.h. */
85605 _ACEOF
85606 cat confdefs.h >>conftest.$ac_ext
85607 cat >>conftest.$ac_ext <<_ACEOF
85608 /* end confdefs.h. */
85610 int main(void)
85612 try { throw 1; }
85613 catch (...) { };
85614 return 0;
85617 _ACEOF
85618 rm -f conftest$ac_exeext
85619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85620 (eval $ac_link) 2>&5
85621 ac_status=$?
85622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85623 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
85624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85625 (eval $ac_try) 2>&5
85626 ac_status=$?
85627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85628 (exit $ac_status); }; }; then
85629 ac_sectionLDflags=yes
85630 else
85631 echo "$as_me: program exited with status $ac_status" >&5
85632 echo "$as_me: failed program was:" >&5
85633 sed 's/^/| /' conftest.$ac_ext >&5
85635 ( exit $ac_status )
85636 ac_sectionLDflags=no
85638 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
85640 if test "$ac_test_CFLAGS" = set; then
85641 CFLAGS="$ac_save_CFLAGS"
85642 else
85643 # this is the suspicious part
85644 CFLAGS=''
85646 if test "$ac_sectionLDflags" = "yes"; then
85647 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
85649 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
85650 echo "${ECHO_T}$ac_sectionLDflags" >&6
85653 # Set linker optimization flags.
85654 if test x"$with_gnu_ld" = x"yes"; then
85655 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85663 echo "$as_me:$LINENO: checking for main in -lm" >&5
85664 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85665 if test "${ac_cv_lib_m_main+set}" = set; then
85666 echo $ECHO_N "(cached) $ECHO_C" >&6
85667 else
85668 ac_check_lib_save_LIBS=$LIBS
85669 LIBS="-lm $LIBS"
85670 if test x$gcc_no_link = xyes; then
85671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85673 { (exit 1); exit 1; }; }
85675 cat >conftest.$ac_ext <<_ACEOF
85676 /* confdefs.h. */
85677 _ACEOF
85678 cat confdefs.h >>conftest.$ac_ext
85679 cat >>conftest.$ac_ext <<_ACEOF
85680 /* end confdefs.h. */
85684 main ()
85686 main ();
85688 return 0;
85690 _ACEOF
85691 rm -f conftest.$ac_objext conftest$ac_exeext
85692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85693 (eval $ac_link) 2>conftest.er1
85694 ac_status=$?
85695 grep -v '^ *+' conftest.er1 >conftest.err
85696 rm -f conftest.er1
85697 cat conftest.err >&5
85698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85699 (exit $ac_status); } &&
85700 { ac_try='test -z "$ac_c_werror_flag"
85701 || test ! -s conftest.err'
85702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85703 (eval $ac_try) 2>&5
85704 ac_status=$?
85705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85706 (exit $ac_status); }; } &&
85707 { ac_try='test -s conftest$ac_exeext'
85708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85709 (eval $ac_try) 2>&5
85710 ac_status=$?
85711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85712 (exit $ac_status); }; }; then
85713 ac_cv_lib_m_main=yes
85714 else
85715 echo "$as_me: failed program was:" >&5
85716 sed 's/^/| /' conftest.$ac_ext >&5
85718 ac_cv_lib_m_main=no
85720 rm -f conftest.err conftest.$ac_objext \
85721 conftest$ac_exeext conftest.$ac_ext
85722 LIBS=$ac_check_lib_save_LIBS
85724 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85725 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85726 if test $ac_cv_lib_m_main = yes; then
85727 cat >>confdefs.h <<_ACEOF
85728 #define HAVE_LIBM 1
85729 _ACEOF
85731 LIBS="-lm $LIBS"
85736 for ac_func in copysignf
85738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85739 echo "$as_me:$LINENO: checking for $ac_func" >&5
85740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85741 if eval "test \"\${$as_ac_var+set}\" = set"; then
85742 echo $ECHO_N "(cached) $ECHO_C" >&6
85743 else
85744 if test x$gcc_no_link = xyes; then
85745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85747 { (exit 1); exit 1; }; }
85749 cat >conftest.$ac_ext <<_ACEOF
85750 /* confdefs.h. */
85751 _ACEOF
85752 cat confdefs.h >>conftest.$ac_ext
85753 cat >>conftest.$ac_ext <<_ACEOF
85754 /* end confdefs.h. */
85755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85757 #define $ac_func innocuous_$ac_func
85759 /* System header to define __stub macros and hopefully few prototypes,
85760 which can conflict with char $ac_func (); below.
85761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85762 <limits.h> exists even on freestanding compilers. */
85764 #ifdef __STDC__
85765 # include <limits.h>
85766 #else
85767 # include <assert.h>
85768 #endif
85770 #undef $ac_func
85772 /* Override any gcc2 internal prototype to avoid an error. */
85773 #ifdef __cplusplus
85774 extern "C"
85776 #endif
85777 /* We use char because int might match the return type of a gcc2
85778 builtin and then its argument prototype would still apply. */
85779 char $ac_func ();
85780 /* The GNU C library defines this for functions which it implements
85781 to always fail with ENOSYS. Some functions are actually named
85782 something starting with __ and the normal name is an alias. */
85783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85784 choke me
85785 #else
85786 char (*f) () = $ac_func;
85787 #endif
85788 #ifdef __cplusplus
85790 #endif
85793 main ()
85795 return f != $ac_func;
85797 return 0;
85799 _ACEOF
85800 rm -f conftest.$ac_objext conftest$ac_exeext
85801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85802 (eval $ac_link) 2>conftest.er1
85803 ac_status=$?
85804 grep -v '^ *+' conftest.er1 >conftest.err
85805 rm -f conftest.er1
85806 cat conftest.err >&5
85807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85808 (exit $ac_status); } &&
85809 { ac_try='test -z "$ac_c_werror_flag"
85810 || test ! -s conftest.err'
85811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85812 (eval $ac_try) 2>&5
85813 ac_status=$?
85814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85815 (exit $ac_status); }; } &&
85816 { ac_try='test -s conftest$ac_exeext'
85817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85818 (eval $ac_try) 2>&5
85819 ac_status=$?
85820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85821 (exit $ac_status); }; }; then
85822 eval "$as_ac_var=yes"
85823 else
85824 echo "$as_me: failed program was:" >&5
85825 sed 's/^/| /' conftest.$ac_ext >&5
85827 eval "$as_ac_var=no"
85829 rm -f conftest.err conftest.$ac_objext \
85830 conftest$ac_exeext conftest.$ac_ext
85832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85834 if test `eval echo '${'$as_ac_var'}'` = yes; then
85835 cat >>confdefs.h <<_ACEOF
85836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85837 _ACEOF
85839 else
85840 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
85842 done
85846 for ac_func in __signbit
85848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85849 echo "$as_me:$LINENO: checking for $ac_func" >&5
85850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85851 if eval "test \"\${$as_ac_var+set}\" = set"; then
85852 echo $ECHO_N "(cached) $ECHO_C" >&6
85853 else
85854 if test x$gcc_no_link = xyes; then
85855 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85857 { (exit 1); exit 1; }; }
85859 cat >conftest.$ac_ext <<_ACEOF
85860 /* confdefs.h. */
85861 _ACEOF
85862 cat confdefs.h >>conftest.$ac_ext
85863 cat >>conftest.$ac_ext <<_ACEOF
85864 /* end confdefs.h. */
85865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85867 #define $ac_func innocuous_$ac_func
85869 /* System header to define __stub macros and hopefully few prototypes,
85870 which can conflict with char $ac_func (); below.
85871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85872 <limits.h> exists even on freestanding compilers. */
85874 #ifdef __STDC__
85875 # include <limits.h>
85876 #else
85877 # include <assert.h>
85878 #endif
85880 #undef $ac_func
85882 /* Override any gcc2 internal prototype to avoid an error. */
85883 #ifdef __cplusplus
85884 extern "C"
85886 #endif
85887 /* We use char because int might match the return type of a gcc2
85888 builtin and then its argument prototype would still apply. */
85889 char $ac_func ();
85890 /* The GNU C library defines this for functions which it implements
85891 to always fail with ENOSYS. Some functions are actually named
85892 something starting with __ and the normal name is an alias. */
85893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85894 choke me
85895 #else
85896 char (*f) () = $ac_func;
85897 #endif
85898 #ifdef __cplusplus
85900 #endif
85903 main ()
85905 return f != $ac_func;
85907 return 0;
85909 _ACEOF
85910 rm -f conftest.$ac_objext conftest$ac_exeext
85911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85912 (eval $ac_link) 2>conftest.er1
85913 ac_status=$?
85914 grep -v '^ *+' conftest.er1 >conftest.err
85915 rm -f conftest.er1
85916 cat conftest.err >&5
85917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85918 (exit $ac_status); } &&
85919 { ac_try='test -z "$ac_c_werror_flag"
85920 || test ! -s conftest.err'
85921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85922 (eval $ac_try) 2>&5
85923 ac_status=$?
85924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85925 (exit $ac_status); }; } &&
85926 { ac_try='test -s conftest$ac_exeext'
85927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85928 (eval $ac_try) 2>&5
85929 ac_status=$?
85930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85931 (exit $ac_status); }; }; then
85932 eval "$as_ac_var=yes"
85933 else
85934 echo "$as_me: failed program was:" >&5
85935 sed 's/^/| /' conftest.$ac_ext >&5
85937 eval "$as_ac_var=no"
85939 rm -f conftest.err conftest.$ac_objext \
85940 conftest$ac_exeext conftest.$ac_ext
85942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85944 if test `eval echo '${'$as_ac_var'}'` = yes; then
85945 cat >>confdefs.h <<_ACEOF
85946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85947 _ACEOF
85949 else
85950 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
85952 done
85956 for ac_func in __signbitf
85958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85959 echo "$as_me:$LINENO: checking for $ac_func" >&5
85960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85961 if eval "test \"\${$as_ac_var+set}\" = set"; then
85962 echo $ECHO_N "(cached) $ECHO_C" >&6
85963 else
85964 if test x$gcc_no_link = xyes; then
85965 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85967 { (exit 1); exit 1; }; }
85969 cat >conftest.$ac_ext <<_ACEOF
85970 /* confdefs.h. */
85971 _ACEOF
85972 cat confdefs.h >>conftest.$ac_ext
85973 cat >>conftest.$ac_ext <<_ACEOF
85974 /* end confdefs.h. */
85975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85977 #define $ac_func innocuous_$ac_func
85979 /* System header to define __stub macros and hopefully few prototypes,
85980 which can conflict with char $ac_func (); below.
85981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85982 <limits.h> exists even on freestanding compilers. */
85984 #ifdef __STDC__
85985 # include <limits.h>
85986 #else
85987 # include <assert.h>
85988 #endif
85990 #undef $ac_func
85992 /* Override any gcc2 internal prototype to avoid an error. */
85993 #ifdef __cplusplus
85994 extern "C"
85996 #endif
85997 /* We use char because int might match the return type of a gcc2
85998 builtin and then its argument prototype would still apply. */
85999 char $ac_func ();
86000 /* The GNU C library defines this for functions which it implements
86001 to always fail with ENOSYS. Some functions are actually named
86002 something starting with __ and the normal name is an alias. */
86003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86004 choke me
86005 #else
86006 char (*f) () = $ac_func;
86007 #endif
86008 #ifdef __cplusplus
86010 #endif
86013 main ()
86015 return f != $ac_func;
86017 return 0;
86019 _ACEOF
86020 rm -f conftest.$ac_objext conftest$ac_exeext
86021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86022 (eval $ac_link) 2>conftest.er1
86023 ac_status=$?
86024 grep -v '^ *+' conftest.er1 >conftest.err
86025 rm -f conftest.er1
86026 cat conftest.err >&5
86027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86028 (exit $ac_status); } &&
86029 { ac_try='test -z "$ac_c_werror_flag"
86030 || test ! -s conftest.err'
86031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86032 (eval $ac_try) 2>&5
86033 ac_status=$?
86034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86035 (exit $ac_status); }; } &&
86036 { ac_try='test -s conftest$ac_exeext'
86037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86038 (eval $ac_try) 2>&5
86039 ac_status=$?
86040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86041 (exit $ac_status); }; }; then
86042 eval "$as_ac_var=yes"
86043 else
86044 echo "$as_me: failed program was:" >&5
86045 sed 's/^/| /' conftest.$ac_ext >&5
86047 eval "$as_ac_var=no"
86049 rm -f conftest.err conftest.$ac_objext \
86050 conftest$ac_exeext conftest.$ac_ext
86052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86054 if test `eval echo '${'$as_ac_var'}'` = yes; then
86055 cat >>confdefs.h <<_ACEOF
86056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86057 _ACEOF
86059 else
86060 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
86062 done
86065 if test x$ac_cv_func_copysignl = x"yes"; then
86067 for ac_func in __signbitl
86069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86070 echo "$as_me:$LINENO: checking for $ac_func" >&5
86071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86072 if eval "test \"\${$as_ac_var+set}\" = set"; then
86073 echo $ECHO_N "(cached) $ECHO_C" >&6
86074 else
86075 if test x$gcc_no_link = xyes; then
86076 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86078 { (exit 1); exit 1; }; }
86080 cat >conftest.$ac_ext <<_ACEOF
86081 /* confdefs.h. */
86082 _ACEOF
86083 cat confdefs.h >>conftest.$ac_ext
86084 cat >>conftest.$ac_ext <<_ACEOF
86085 /* end confdefs.h. */
86086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86088 #define $ac_func innocuous_$ac_func
86090 /* System header to define __stub macros and hopefully few prototypes,
86091 which can conflict with char $ac_func (); below.
86092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86093 <limits.h> exists even on freestanding compilers. */
86095 #ifdef __STDC__
86096 # include <limits.h>
86097 #else
86098 # include <assert.h>
86099 #endif
86101 #undef $ac_func
86103 /* Override any gcc2 internal prototype to avoid an error. */
86104 #ifdef __cplusplus
86105 extern "C"
86107 #endif
86108 /* We use char because int might match the return type of a gcc2
86109 builtin and then its argument prototype would still apply. */
86110 char $ac_func ();
86111 /* The GNU C library defines this for functions which it implements
86112 to always fail with ENOSYS. Some functions are actually named
86113 something starting with __ and the normal name is an alias. */
86114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86115 choke me
86116 #else
86117 char (*f) () = $ac_func;
86118 #endif
86119 #ifdef __cplusplus
86121 #endif
86124 main ()
86126 return f != $ac_func;
86128 return 0;
86130 _ACEOF
86131 rm -f conftest.$ac_objext conftest$ac_exeext
86132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86133 (eval $ac_link) 2>conftest.er1
86134 ac_status=$?
86135 grep -v '^ *+' conftest.er1 >conftest.err
86136 rm -f conftest.er1
86137 cat conftest.err >&5
86138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86139 (exit $ac_status); } &&
86140 { ac_try='test -z "$ac_c_werror_flag"
86141 || test ! -s conftest.err'
86142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86143 (eval $ac_try) 2>&5
86144 ac_status=$?
86145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86146 (exit $ac_status); }; } &&
86147 { ac_try='test -s conftest$ac_exeext'
86148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86149 (eval $ac_try) 2>&5
86150 ac_status=$?
86151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86152 (exit $ac_status); }; }; then
86153 eval "$as_ac_var=yes"
86154 else
86155 echo "$as_me: failed program was:" >&5
86156 sed 's/^/| /' conftest.$ac_ext >&5
86158 eval "$as_ac_var=no"
86160 rm -f conftest.err conftest.$ac_objext \
86161 conftest$ac_exeext conftest.$ac_ext
86163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86165 if test `eval echo '${'$as_ac_var'}'` = yes; then
86166 cat >>confdefs.h <<_ACEOF
86167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86168 _ACEOF
86170 else
86171 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
86173 done
86177 # Used in libmath/Makefile.am.
86178 if test -n "$LIBMATHOBJS"; then
86179 need_libmath=yes
86185 enable_iconv=no
86186 # Only continue checking if the ISO C99 headers exist and support is on.
86187 if test x"$enable_wchar_t" = xyes; then
86189 # Use iconv for wchar_t to char conversions. As such, check for
86190 # X/Open Portability Guide, version 2 features (XPG2).
86191 if test "${ac_cv_header_iconv_h+set}" = set; then
86192 echo "$as_me:$LINENO: checking for iconv.h" >&5
86193 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86194 if test "${ac_cv_header_iconv_h+set}" = set; then
86195 echo $ECHO_N "(cached) $ECHO_C" >&6
86197 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86198 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86199 else
86200 # Is the header compilable?
86201 echo "$as_me:$LINENO: checking iconv.h usability" >&5
86202 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
86203 cat >conftest.$ac_ext <<_ACEOF
86204 /* confdefs.h. */
86205 _ACEOF
86206 cat confdefs.h >>conftest.$ac_ext
86207 cat >>conftest.$ac_ext <<_ACEOF
86208 /* end confdefs.h. */
86209 $ac_includes_default
86210 #include <iconv.h>
86211 _ACEOF
86212 rm -f conftest.$ac_objext
86213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86214 (eval $ac_compile) 2>conftest.er1
86215 ac_status=$?
86216 grep -v '^ *+' conftest.er1 >conftest.err
86217 rm -f conftest.er1
86218 cat conftest.err >&5
86219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86220 (exit $ac_status); } &&
86221 { ac_try='test -z "$ac_c_werror_flag"
86222 || test ! -s conftest.err'
86223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86224 (eval $ac_try) 2>&5
86225 ac_status=$?
86226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86227 (exit $ac_status); }; } &&
86228 { ac_try='test -s conftest.$ac_objext'
86229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86230 (eval $ac_try) 2>&5
86231 ac_status=$?
86232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86233 (exit $ac_status); }; }; then
86234 ac_header_compiler=yes
86235 else
86236 echo "$as_me: failed program was:" >&5
86237 sed 's/^/| /' conftest.$ac_ext >&5
86239 ac_header_compiler=no
86241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86242 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86243 echo "${ECHO_T}$ac_header_compiler" >&6
86245 # Is the header present?
86246 echo "$as_me:$LINENO: checking iconv.h presence" >&5
86247 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
86248 cat >conftest.$ac_ext <<_ACEOF
86249 /* confdefs.h. */
86250 _ACEOF
86251 cat confdefs.h >>conftest.$ac_ext
86252 cat >>conftest.$ac_ext <<_ACEOF
86253 /* end confdefs.h. */
86254 #include <iconv.h>
86255 _ACEOF
86256 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86257 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86258 ac_status=$?
86259 grep -v '^ *+' conftest.er1 >conftest.err
86260 rm -f conftest.er1
86261 cat conftest.err >&5
86262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86263 (exit $ac_status); } >/dev/null; then
86264 if test -s conftest.err; then
86265 ac_cpp_err=$ac_c_preproc_warn_flag
86266 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86267 else
86268 ac_cpp_err=
86270 else
86271 ac_cpp_err=yes
86273 if test -z "$ac_cpp_err"; then
86274 ac_header_preproc=yes
86275 else
86276 echo "$as_me: failed program was:" >&5
86277 sed 's/^/| /' conftest.$ac_ext >&5
86279 ac_header_preproc=no
86281 rm -f conftest.err conftest.$ac_ext
86282 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86283 echo "${ECHO_T}$ac_header_preproc" >&6
86285 # So? What about this header?
86286 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86287 yes:no: )
86288 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
86289 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86290 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
86291 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
86292 ac_header_preproc=yes
86294 no:yes:* )
86295 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
86296 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
86297 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
86298 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
86299 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
86300 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
86301 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
86302 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
86303 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
86304 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
86305 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
86306 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
86308 cat <<\_ASBOX
86309 ## ----------------------------------------- ##
86310 ## Report this to the package-unused lists. ##
86311 ## ----------------------------------------- ##
86312 _ASBOX
86314 sed "s/^/$as_me: WARNING: /" >&2
86316 esac
86317 echo "$as_me:$LINENO: checking for iconv.h" >&5
86318 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86319 if test "${ac_cv_header_iconv_h+set}" = set; then
86320 echo $ECHO_N "(cached) $ECHO_C" >&6
86321 else
86322 ac_cv_header_iconv_h=$ac_header_preproc
86324 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86325 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86328 if test $ac_cv_header_iconv_h = yes; then
86329 ac_has_iconv_h=yes
86330 else
86331 ac_has_iconv_h=no
86335 if test "${ac_cv_header_langinfo_h+set}" = set; then
86336 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86337 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86338 if test "${ac_cv_header_langinfo_h+set}" = set; then
86339 echo $ECHO_N "(cached) $ECHO_C" >&6
86341 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86342 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86343 else
86344 # Is the header compilable?
86345 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
86346 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
86347 cat >conftest.$ac_ext <<_ACEOF
86348 /* confdefs.h. */
86349 _ACEOF
86350 cat confdefs.h >>conftest.$ac_ext
86351 cat >>conftest.$ac_ext <<_ACEOF
86352 /* end confdefs.h. */
86353 $ac_includes_default
86354 #include <langinfo.h>
86355 _ACEOF
86356 rm -f conftest.$ac_objext
86357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86358 (eval $ac_compile) 2>conftest.er1
86359 ac_status=$?
86360 grep -v '^ *+' conftest.er1 >conftest.err
86361 rm -f conftest.er1
86362 cat conftest.err >&5
86363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86364 (exit $ac_status); } &&
86365 { ac_try='test -z "$ac_c_werror_flag"
86366 || test ! -s conftest.err'
86367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86368 (eval $ac_try) 2>&5
86369 ac_status=$?
86370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86371 (exit $ac_status); }; } &&
86372 { ac_try='test -s conftest.$ac_objext'
86373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86374 (eval $ac_try) 2>&5
86375 ac_status=$?
86376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86377 (exit $ac_status); }; }; then
86378 ac_header_compiler=yes
86379 else
86380 echo "$as_me: failed program was:" >&5
86381 sed 's/^/| /' conftest.$ac_ext >&5
86383 ac_header_compiler=no
86385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86386 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86387 echo "${ECHO_T}$ac_header_compiler" >&6
86389 # Is the header present?
86390 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
86391 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
86392 cat >conftest.$ac_ext <<_ACEOF
86393 /* confdefs.h. */
86394 _ACEOF
86395 cat confdefs.h >>conftest.$ac_ext
86396 cat >>conftest.$ac_ext <<_ACEOF
86397 /* end confdefs.h. */
86398 #include <langinfo.h>
86399 _ACEOF
86400 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86401 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86402 ac_status=$?
86403 grep -v '^ *+' conftest.er1 >conftest.err
86404 rm -f conftest.er1
86405 cat conftest.err >&5
86406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86407 (exit $ac_status); } >/dev/null; then
86408 if test -s conftest.err; then
86409 ac_cpp_err=$ac_c_preproc_warn_flag
86410 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86411 else
86412 ac_cpp_err=
86414 else
86415 ac_cpp_err=yes
86417 if test -z "$ac_cpp_err"; then
86418 ac_header_preproc=yes
86419 else
86420 echo "$as_me: failed program was:" >&5
86421 sed 's/^/| /' conftest.$ac_ext >&5
86423 ac_header_preproc=no
86425 rm -f conftest.err conftest.$ac_ext
86426 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86427 echo "${ECHO_T}$ac_header_preproc" >&6
86429 # So? What about this header?
86430 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86431 yes:no: )
86432 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
86433 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86434 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
86435 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
86436 ac_header_preproc=yes
86438 no:yes:* )
86439 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
86440 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
86441 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
86442 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
86443 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
86444 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
86445 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
86446 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
86447 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
86448 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
86449 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
86450 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
86452 cat <<\_ASBOX
86453 ## ----------------------------------------- ##
86454 ## Report this to the package-unused lists. ##
86455 ## ----------------------------------------- ##
86456 _ASBOX
86458 sed "s/^/$as_me: WARNING: /" >&2
86460 esac
86461 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86462 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86463 if test "${ac_cv_header_langinfo_h+set}" = set; then
86464 echo $ECHO_N "(cached) $ECHO_C" >&6
86465 else
86466 ac_cv_header_langinfo_h=$ac_header_preproc
86468 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86469 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86472 if test $ac_cv_header_langinfo_h = yes; then
86473 ac_has_langinfo_h=yes
86474 else
86475 ac_has_langinfo_h=no
86480 # Check for existence of libiconv.a providing XPG2 wchar_t support.
86481 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
86482 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
86483 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
86484 echo $ECHO_N "(cached) $ECHO_C" >&6
86485 else
86486 ac_check_lib_save_LIBS=$LIBS
86487 LIBS="-liconv $LIBS"
86488 if test x$gcc_no_link = xyes; then
86489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86491 { (exit 1); exit 1; }; }
86493 cat >conftest.$ac_ext <<_ACEOF
86494 /* confdefs.h. */
86495 _ACEOF
86496 cat confdefs.h >>conftest.$ac_ext
86497 cat >>conftest.$ac_ext <<_ACEOF
86498 /* end confdefs.h. */
86500 /* Override any gcc2 internal prototype to avoid an error. */
86501 #ifdef __cplusplus
86502 extern "C"
86503 #endif
86504 /* We use char because int might match the return type of a gcc2
86505 builtin and then its argument prototype would still apply. */
86506 char iconv ();
86508 main ()
86510 iconv ();
86512 return 0;
86514 _ACEOF
86515 rm -f conftest.$ac_objext conftest$ac_exeext
86516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86517 (eval $ac_link) 2>conftest.er1
86518 ac_status=$?
86519 grep -v '^ *+' conftest.er1 >conftest.err
86520 rm -f conftest.er1
86521 cat conftest.err >&5
86522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86523 (exit $ac_status); } &&
86524 { ac_try='test -z "$ac_c_werror_flag"
86525 || test ! -s conftest.err'
86526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86527 (eval $ac_try) 2>&5
86528 ac_status=$?
86529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86530 (exit $ac_status); }; } &&
86531 { ac_try='test -s conftest$ac_exeext'
86532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86533 (eval $ac_try) 2>&5
86534 ac_status=$?
86535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86536 (exit $ac_status); }; }; then
86537 ac_cv_lib_iconv_iconv=yes
86538 else
86539 echo "$as_me: failed program was:" >&5
86540 sed 's/^/| /' conftest.$ac_ext >&5
86542 ac_cv_lib_iconv_iconv=no
86544 rm -f conftest.err conftest.$ac_objext \
86545 conftest$ac_exeext conftest.$ac_ext
86546 LIBS=$ac_check_lib_save_LIBS
86548 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
86549 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
86550 if test $ac_cv_lib_iconv_iconv = yes; then
86551 LIBICONV="-liconv"
86554 ac_save_LIBS="$LIBS"
86555 LIBS="$LIBS $LIBICONV"
86562 for ac_func in iconv_open iconv_close iconv nl_langinfo
86564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86565 echo "$as_me:$LINENO: checking for $ac_func" >&5
86566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86567 if eval "test \"\${$as_ac_var+set}\" = set"; then
86568 echo $ECHO_N "(cached) $ECHO_C" >&6
86569 else
86570 if test x$gcc_no_link = xyes; then
86571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86573 { (exit 1); exit 1; }; }
86575 cat >conftest.$ac_ext <<_ACEOF
86576 /* confdefs.h. */
86577 _ACEOF
86578 cat confdefs.h >>conftest.$ac_ext
86579 cat >>conftest.$ac_ext <<_ACEOF
86580 /* end confdefs.h. */
86581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86583 #define $ac_func innocuous_$ac_func
86585 /* System header to define __stub macros and hopefully few prototypes,
86586 which can conflict with char $ac_func (); below.
86587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86588 <limits.h> exists even on freestanding compilers. */
86590 #ifdef __STDC__
86591 # include <limits.h>
86592 #else
86593 # include <assert.h>
86594 #endif
86596 #undef $ac_func
86598 /* Override any gcc2 internal prototype to avoid an error. */
86599 #ifdef __cplusplus
86600 extern "C"
86602 #endif
86603 /* We use char because int might match the return type of a gcc2
86604 builtin and then its argument prototype would still apply. */
86605 char $ac_func ();
86606 /* The GNU C library defines this for functions which it implements
86607 to always fail with ENOSYS. Some functions are actually named
86608 something starting with __ and the normal name is an alias. */
86609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86610 choke me
86611 #else
86612 char (*f) () = $ac_func;
86613 #endif
86614 #ifdef __cplusplus
86616 #endif
86619 main ()
86621 return f != $ac_func;
86623 return 0;
86625 _ACEOF
86626 rm -f conftest.$ac_objext conftest$ac_exeext
86627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86628 (eval $ac_link) 2>conftest.er1
86629 ac_status=$?
86630 grep -v '^ *+' conftest.er1 >conftest.err
86631 rm -f conftest.er1
86632 cat conftest.err >&5
86633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86634 (exit $ac_status); } &&
86635 { ac_try='test -z "$ac_c_werror_flag"
86636 || test ! -s conftest.err'
86637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86638 (eval $ac_try) 2>&5
86639 ac_status=$?
86640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86641 (exit $ac_status); }; } &&
86642 { ac_try='test -s conftest$ac_exeext'
86643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86644 (eval $ac_try) 2>&5
86645 ac_status=$?
86646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86647 (exit $ac_status); }; }; then
86648 eval "$as_ac_var=yes"
86649 else
86650 echo "$as_me: failed program was:" >&5
86651 sed 's/^/| /' conftest.$ac_ext >&5
86653 eval "$as_ac_var=no"
86655 rm -f conftest.err conftest.$ac_objext \
86656 conftest$ac_exeext conftest.$ac_ext
86658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86660 if test `eval echo '${'$as_ac_var'}'` = yes; then
86661 cat >>confdefs.h <<_ACEOF
86662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86663 _ACEOF
86664 ac_XPG2funcs=yes
86665 else
86666 ac_XPG2funcs=no
86668 done
86671 LIBS="$ac_save_LIBS"
86673 if test x"$ac_has_iconv_h" = xyes &&
86674 test x"$ac_has_langinfo_h" = xyes &&
86675 test x"$ac_XPG2funcs" = xyes;
86676 then
86678 cat >>confdefs.h <<\_ACEOF
86679 #define _GLIBCXX_USE_ICONV 1
86680 _ACEOF
86682 enable_iconv=yes
86685 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
86686 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
86687 echo "$as_me:$LINENO: result: $enable_iconv" >&5
86688 echo "${ECHO_T}$enable_iconv" >&6
86690 cat >>confdefs.h <<\_ACEOF
86691 #define HAVE_COPYSIGN 1
86692 _ACEOF
86694 cat >>confdefs.h <<\_ACEOF
86695 #define HAVE_COPYSIGNF 1
86696 _ACEOF
86698 cat >>confdefs.h <<\_ACEOF
86699 #define HAVE_FINITE 1
86700 _ACEOF
86702 cat >>confdefs.h <<\_ACEOF
86703 #define HAVE_FINITEF 1
86704 _ACEOF
86706 cat >>confdefs.h <<\_ACEOF
86707 #define HAVE_FREXPF 1
86708 _ACEOF
86710 cat >>confdefs.h <<\_ACEOF
86711 #define HAVE_HYPOTF 1
86712 _ACEOF
86714 cat >>confdefs.h <<\_ACEOF
86715 #define HAVE_ISINF 1
86716 _ACEOF
86718 cat >>confdefs.h <<\_ACEOF
86719 #define HAVE_ISINFF 1
86720 _ACEOF
86722 cat >>confdefs.h <<\_ACEOF
86723 #define HAVE_ISNAN 1
86724 _ACEOF
86726 cat >>confdefs.h <<\_ACEOF
86727 #define HAVE_ISNANF 1
86728 _ACEOF
86730 cat >>confdefs.h <<\_ACEOF
86731 #define HAVE_SINCOS 1
86732 _ACEOF
86734 cat >>confdefs.h <<\_ACEOF
86735 #define HAVE_SINCOSF 1
86736 _ACEOF
86738 if test x"long_double_math_on_this_cpu" = x"yes"; then
86739 cat >>confdefs.h <<\_ACEOF
86740 #define HAVE_FINITEL 1
86741 _ACEOF
86743 cat >>confdefs.h <<\_ACEOF
86744 #define HAVE_HYPOTL 1
86745 _ACEOF
86747 cat >>confdefs.h <<\_ACEOF
86748 #define HAVE_ISINFL 1
86749 _ACEOF
86751 cat >>confdefs.h <<\_ACEOF
86752 #define HAVE_ISNANL 1
86753 _ACEOF
86757 *-vxworks)
86758 cat >>confdefs.h <<\_ACEOF
86759 #define HAVE_MMAP 1
86760 _ACEOF
86762 cat >>confdefs.h <<\_ACEOF
86763 #define HAVE_ACOSF 1
86764 _ACEOF
86766 cat >>confdefs.h <<\_ACEOF
86767 #define HAVE_ASINF 1
86768 _ACEOF
86770 cat >>confdefs.h <<\_ACEOF
86771 #define HAVE_ATAN2F 1
86772 _ACEOF
86774 cat >>confdefs.h <<\_ACEOF
86775 #define HAVE_ATANF 1
86776 _ACEOF
86778 cat >>confdefs.h <<\_ACEOF
86779 #define HAVE_CEILF 1
86780 _ACEOF
86782 cat >>confdefs.h <<\_ACEOF
86783 #define HAVE_COSF 1
86784 _ACEOF
86786 cat >>confdefs.h <<\_ACEOF
86787 #define HAVE_COSHF 1
86788 _ACEOF
86790 cat >>confdefs.h <<\_ACEOF
86791 #define HAVE_EXPF 1
86792 _ACEOF
86794 cat >>confdefs.h <<\_ACEOF
86795 #define HAVE_FABSF 1
86796 _ACEOF
86798 cat >>confdefs.h <<\_ACEOF
86799 #define HAVE_FLOORF 1
86800 _ACEOF
86802 cat >>confdefs.h <<\_ACEOF
86803 #define HAVE_FMODF 1
86804 _ACEOF
86806 cat >>confdefs.h <<\_ACEOF
86807 #define HAVE_HYPOT 1
86808 _ACEOF
86810 cat >>confdefs.h <<\_ACEOF
86811 #define HAVE_LOG10F 1
86812 _ACEOF
86814 cat >>confdefs.h <<\_ACEOF
86815 #define HAVE_LOGF 1
86816 _ACEOF
86818 cat >>confdefs.h <<\_ACEOF
86819 #define HAVE_POWF 1
86820 _ACEOF
86822 cat >>confdefs.h <<\_ACEOF
86823 #define HAVE_SINF 1
86824 _ACEOF
86826 cat >>confdefs.h <<\_ACEOF
86827 #define HAVE_SINHF 1
86828 _ACEOF
86830 cat >>confdefs.h <<\_ACEOF
86831 #define HAVE_SQRTF 1
86832 _ACEOF
86834 cat >>confdefs.h <<\_ACEOF
86835 #define HAVE_TANF 1
86836 _ACEOF
86838 cat >>confdefs.h <<\_ACEOF
86839 #define HAVE_TANHF 1
86840 _ACEOF
86843 *-windiss*)
86844 cat >>confdefs.h <<\_ACEOF
86845 #define HAVE_ACOSF 1
86846 _ACEOF
86848 cat >>confdefs.h <<\_ACEOF
86849 #define HAVE_ACOSL 1
86850 _ACEOF
86852 cat >>confdefs.h <<\_ACEOF
86853 #define HAVE_ASINF 1
86854 _ACEOF
86856 cat >>confdefs.h <<\_ACEOF
86857 #define HAVE_ASINL 1
86858 _ACEOF
86860 cat >>confdefs.h <<\_ACEOF
86861 #define HAVE_ATAN2F 1
86862 _ACEOF
86864 cat >>confdefs.h <<\_ACEOF
86865 #define HAVE_ATAN2L 1
86866 _ACEOF
86868 cat >>confdefs.h <<\_ACEOF
86869 #define HAVE_ATANF 1
86870 _ACEOF
86872 cat >>confdefs.h <<\_ACEOF
86873 #define HAVE_ATANL 1
86874 _ACEOF
86876 cat >>confdefs.h <<\_ACEOF
86877 #define HAVE_CEILF 1
86878 _ACEOF
86880 cat >>confdefs.h <<\_ACEOF
86881 #define HAVE_CEILL 1
86882 _ACEOF
86884 cat >>confdefs.h <<\_ACEOF
86885 #define HAVE_COPYSIGN 1
86886 _ACEOF
86888 cat >>confdefs.h <<\_ACEOF
86889 #define HAVE_COPYSIGNF 1
86890 _ACEOF
86892 cat >>confdefs.h <<\_ACEOF
86893 #define HAVE_COSF 1
86894 _ACEOF
86896 cat >>confdefs.h <<\_ACEOF
86897 #define HAVE_COSL 1
86898 _ACEOF
86900 cat >>confdefs.h <<\_ACEOF
86901 #define HAVE_COSHF 1
86902 _ACEOF
86904 cat >>confdefs.h <<\_ACEOF
86905 #define HAVE_COSHL 1
86906 _ACEOF
86908 cat >>confdefs.h <<\_ACEOF
86909 #define HAVE_EXPF 1
86910 _ACEOF
86912 cat >>confdefs.h <<\_ACEOF
86913 #define HAVE_EXPL 1
86914 _ACEOF
86916 cat >>confdefs.h <<\_ACEOF
86917 #define HAVE_FABSF 1
86918 _ACEOF
86920 cat >>confdefs.h <<\_ACEOF
86921 #define HAVE_FABSL 1
86922 _ACEOF
86924 cat >>confdefs.h <<\_ACEOF
86925 #define HAVE_FLOORF 1
86926 _ACEOF
86928 cat >>confdefs.h <<\_ACEOF
86929 #define HAVE_FLOORL 1
86930 _ACEOF
86932 cat >>confdefs.h <<\_ACEOF
86933 #define HAVE_FMODF 1
86934 _ACEOF
86936 cat >>confdefs.h <<\_ACEOF
86937 #define HAVE_FMODL 1
86938 _ACEOF
86940 cat >>confdefs.h <<\_ACEOF
86941 #define HAVE_FREXPF 1
86942 _ACEOF
86944 cat >>confdefs.h <<\_ACEOF
86945 #define HAVE_FREXPL 1
86946 _ACEOF
86948 cat >>confdefs.h <<\_ACEOF
86949 #define HAVE_LDEXPF 1
86950 _ACEOF
86952 cat >>confdefs.h <<\_ACEOF
86953 #define HAVE_LDEXPL 1
86954 _ACEOF
86956 cat >>confdefs.h <<\_ACEOF
86957 #define HAVE_LOG10F 1
86958 _ACEOF
86960 cat >>confdefs.h <<\_ACEOF
86961 #define HAVE_LOG10L 1
86962 _ACEOF
86964 cat >>confdefs.h <<\_ACEOF
86965 #define HAVE_LOGF 1
86966 _ACEOF
86968 cat >>confdefs.h <<\_ACEOF
86969 #define HAVE_MODFF 1
86970 _ACEOF
86972 cat >>confdefs.h <<\_ACEOF
86973 #define HAVE_MODFL 1
86974 _ACEOF
86976 cat >>confdefs.h <<\_ACEOF
86977 #define HAVE_POWF 1
86978 _ACEOF
86980 cat >>confdefs.h <<\_ACEOF
86981 #define HAVE_POWL 1
86982 _ACEOF
86984 cat >>confdefs.h <<\_ACEOF
86985 #define HAVE_SINF 1
86986 _ACEOF
86988 cat >>confdefs.h <<\_ACEOF
86989 #define HAVE_SINL 1
86990 _ACEOF
86992 cat >>confdefs.h <<\_ACEOF
86993 #define HAVE_SINHF 1
86994 _ACEOF
86996 cat >>confdefs.h <<\_ACEOF
86997 #define HAVE_SINHL 1
86998 _ACEOF
87000 cat >>confdefs.h <<\_ACEOF
87001 #define HAVE_SQRTF 1
87002 _ACEOF
87004 cat >>confdefs.h <<\_ACEOF
87005 #define HAVE_SQRTL 1
87006 _ACEOF
87008 cat >>confdefs.h <<\_ACEOF
87009 #define HAVE_TANF 1
87010 _ACEOF
87012 cat >>confdefs.h <<\_ACEOF
87013 #define HAVE_TANL 1
87014 _ACEOF
87016 cat >>confdefs.h <<\_ACEOF
87017 #define HAVE_TANHF 1
87018 _ACEOF
87020 cat >>confdefs.h <<\_ACEOF
87021 #define HAVE_TANHL 1
87022 _ACEOF
87026 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
87027 echo "$as_me: error: No support for this host/target combination." >&2;}
87028 { (exit 1); exit 1; }; }
87030 esac
87034 # At some point, we should differentiate between architectures
87035 # like x86, which have long double versions, and alpha/powerpc/etc.,
87036 # which don't. For the time being, punt.
87037 if test x"long_double_math_on_this_cpu" = x"yes"; then
87038 cat >>confdefs.h <<\_ACEOF
87039 #define HAVE_ACOSL 1
87040 _ACEOF
87042 cat >>confdefs.h <<\_ACEOF
87043 #define HAVE_ASINL 1
87044 _ACEOF
87046 cat >>confdefs.h <<\_ACEOF
87047 #define HAVE_ATAN2L 1
87048 _ACEOF
87050 cat >>confdefs.h <<\_ACEOF
87051 #define HAVE_ATANL 1
87052 _ACEOF
87054 cat >>confdefs.h <<\_ACEOF
87055 #define HAVE_CEILL 1
87056 _ACEOF
87058 cat >>confdefs.h <<\_ACEOF
87059 #define HAVE_COPYSIGNL 1
87060 _ACEOF
87062 cat >>confdefs.h <<\_ACEOF
87063 #define HAVE_COSL 1
87064 _ACEOF
87066 cat >>confdefs.h <<\_ACEOF
87067 #define HAVE_COSHL 1
87068 _ACEOF
87070 cat >>confdefs.h <<\_ACEOF
87071 #define HAVE_EXPL 1
87072 _ACEOF
87074 cat >>confdefs.h <<\_ACEOF
87075 #define HAVE_FABSL 1
87076 _ACEOF
87078 cat >>confdefs.h <<\_ACEOF
87079 #define HAVE_FLOORL 1
87080 _ACEOF
87082 cat >>confdefs.h <<\_ACEOF
87083 #define HAVE_FMODL 1
87084 _ACEOF
87086 cat >>confdefs.h <<\_ACEOF
87087 #define HAVE_FREXPL 1
87088 _ACEOF
87090 cat >>confdefs.h <<\_ACEOF
87091 #define HAVE_LDEXPL 1
87092 _ACEOF
87094 cat >>confdefs.h <<\_ACEOF
87095 #define HAVE_LOG10L 1
87096 _ACEOF
87098 cat >>confdefs.h <<\_ACEOF
87099 #define HAVE_LOGL 1
87100 _ACEOF
87102 cat >>confdefs.h <<\_ACEOF
87103 #define HAVE_MODFL 1
87104 _ACEOF
87106 cat >>confdefs.h <<\_ACEOF
87107 #define HAVE_POWL 1
87108 _ACEOF
87110 cat >>confdefs.h <<\_ACEOF
87111 #define HAVE_SINCOSL 1
87112 _ACEOF
87114 cat >>confdefs.h <<\_ACEOF
87115 #define HAVE_SINL 1
87116 _ACEOF
87118 cat >>confdefs.h <<\_ACEOF
87119 #define HAVE_SINHL 1
87120 _ACEOF
87122 cat >>confdefs.h <<\_ACEOF
87123 #define HAVE_SQRTL 1
87124 _ACEOF
87126 cat >>confdefs.h <<\_ACEOF
87127 #define HAVE_TANL 1
87128 _ACEOF
87130 cat >>confdefs.h <<\_ACEOF
87131 #define HAVE_TANHL 1
87132 _ACEOF
87138 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
87141 # Check whether --enable-symvers or --disable-symvers was given.
87142 if test "${enable_symvers+set}" = set; then
87143 enableval="$enable_symvers"
87145 case "$enableval" in
87146 yes|no|gnu) ;;
87147 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
87148 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
87149 { (exit 1); exit 1; }; } ;;
87150 esac
87152 else
87153 enable_symvers=yes
87157 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
87158 # don't know enough about $LD to do tricks...
87160 # FIXME The following test is too strict, in theory.
87161 if test $enable_shared = no ||
87162 test "x$LD" = x ||
87163 test x$glibcxx_gnu_ld_version = x; then
87164 enable_symvers=no
87167 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
87168 if test $enable_symvers != no; then
87169 echo "$as_me:$LINENO: checking for shared libgcc" >&5
87170 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
87171 ac_save_CFLAGS="$CFLAGS"
87172 CFLAGS=' -lgcc_s'
87173 if test x$gcc_no_link = xyes; then
87174 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87176 { (exit 1); exit 1; }; }
87178 cat >conftest.$ac_ext <<_ACEOF
87179 /* confdefs.h. */
87180 _ACEOF
87181 cat confdefs.h >>conftest.$ac_ext
87182 cat >>conftest.$ac_ext <<_ACEOF
87183 /* end confdefs.h. */
87186 main ()
87188 return 0;
87190 return 0;
87192 _ACEOF
87193 rm -f conftest.$ac_objext conftest$ac_exeext
87194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87195 (eval $ac_link) 2>conftest.er1
87196 ac_status=$?
87197 grep -v '^ *+' conftest.er1 >conftest.err
87198 rm -f conftest.er1
87199 cat conftest.err >&5
87200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87201 (exit $ac_status); } &&
87202 { ac_try='test -z "$ac_c_werror_flag"
87203 || test ! -s conftest.err'
87204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87205 (eval $ac_try) 2>&5
87206 ac_status=$?
87207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87208 (exit $ac_status); }; } &&
87209 { ac_try='test -s conftest$ac_exeext'
87210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87211 (eval $ac_try) 2>&5
87212 ac_status=$?
87213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87214 (exit $ac_status); }; }; then
87215 glibcxx_shared_libgcc=yes
87216 else
87217 echo "$as_me: failed program was:" >&5
87218 sed 's/^/| /' conftest.$ac_ext >&5
87220 glibcxx_shared_libgcc=no
87222 rm -f conftest.err conftest.$ac_objext \
87223 conftest$ac_exeext conftest.$ac_ext
87224 CFLAGS="$ac_save_CFLAGS"
87225 if test $glibcxx_shared_libgcc = no; then
87226 cat > conftest.c <<EOF
87227 int main (void) { return 0; }
87229 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
87230 -shared -shared-libgcc -o conftest.so \
87231 conftest.c -v 2>&1 >/dev/null \
87232 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
87233 rm -f conftest.c conftest.so
87234 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
87235 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
87236 if test x$gcc_no_link = xyes; then
87237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87239 { (exit 1); exit 1; }; }
87241 cat >conftest.$ac_ext <<_ACEOF
87242 /* confdefs.h. */
87243 _ACEOF
87244 cat confdefs.h >>conftest.$ac_ext
87245 cat >>conftest.$ac_ext <<_ACEOF
87246 /* end confdefs.h. */
87249 main ()
87251 return 0;
87253 return 0;
87255 _ACEOF
87256 rm -f conftest.$ac_objext conftest$ac_exeext
87257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87258 (eval $ac_link) 2>conftest.er1
87259 ac_status=$?
87260 grep -v '^ *+' conftest.er1 >conftest.err
87261 rm -f conftest.er1
87262 cat conftest.err >&5
87263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87264 (exit $ac_status); } &&
87265 { ac_try='test -z "$ac_c_werror_flag"
87266 || test ! -s conftest.err'
87267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87268 (eval $ac_try) 2>&5
87269 ac_status=$?
87270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87271 (exit $ac_status); }; } &&
87272 { ac_try='test -s conftest$ac_exeext'
87273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87274 (eval $ac_try) 2>&5
87275 ac_status=$?
87276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87277 (exit $ac_status); }; }; then
87278 glibcxx_shared_libgcc=yes
87279 else
87280 echo "$as_me: failed program was:" >&5
87281 sed 's/^/| /' conftest.$ac_ext >&5
87284 rm -f conftest.err conftest.$ac_objext \
87285 conftest$ac_exeext conftest.$ac_ext
87286 CFLAGS="$ac_save_CFLAGS"
87289 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
87290 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
87293 # For GNU ld, we need at least this version. The format is described in
87294 # GLIBCXX_CHECK_LINKER_FEATURES above.
87295 glibcxx_min_gnu_ld_version=21400
87296 # XXXXXXXXXXX glibcxx_gnu_ld_version=21390
87298 # Check to see if unspecified "yes" value can win, given results above.
87299 # Change "yes" into either "no" or a style name.
87300 if test $enable_symvers = yes; then
87301 if test $with_gnu_ld = yes &&
87302 test $glibcxx_shared_libgcc = yes;
87303 then
87304 if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
87305 enable_symvers=gnu
87306 else
87307 # The right tools, the right setup, but too old. Fallbacks?
87308 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
87309 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
87310 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
87311 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
87312 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
87313 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
87314 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
87315 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
87316 if test $glibcxx_gnu_ld_version -ge 21200 ; then
87317 # Globbing fix is present, proper block support is not.
87318 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
87319 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
87320 enable_symvers=no
87321 else
87322 # 2.11 or older.
87323 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
87324 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
87325 enable_symvers=no
87328 else
87329 # just fail for now
87330 { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
87331 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
87332 { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
87333 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
87334 { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
87335 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
87336 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
87337 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
87338 enable_symvers=no
87342 # Everything parsed; figure out what file to use.
87343 case $enable_symvers in
87345 SYMVER_MAP=config/linker-map.dummy
87347 gnu)
87348 SYMVER_MAP=config/linker-map.gnu
87350 cat >>confdefs.h <<\_ACEOF
87351 #define _GLIBCXX_SYMVER 1
87352 _ACEOF
87355 esac
87363 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
87364 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
87367 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
87369 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes; then
87370 # Do checks for resource limit functions.
87372 setrlimit_have_headers=yes
87376 for ac_header in unistd.h sys/time.h sys/resource.h
87378 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87379 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87380 echo "$as_me:$LINENO: checking for $ac_header" >&5
87381 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87382 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87383 echo $ECHO_N "(cached) $ECHO_C" >&6
87385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87386 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87387 else
87388 # Is the header compilable?
87389 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87390 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87391 cat >conftest.$ac_ext <<_ACEOF
87392 /* confdefs.h. */
87393 _ACEOF
87394 cat confdefs.h >>conftest.$ac_ext
87395 cat >>conftest.$ac_ext <<_ACEOF
87396 /* end confdefs.h. */
87397 $ac_includes_default
87398 #include <$ac_header>
87399 _ACEOF
87400 rm -f conftest.$ac_objext
87401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87402 (eval $ac_compile) 2>conftest.er1
87403 ac_status=$?
87404 grep -v '^ *+' conftest.er1 >conftest.err
87405 rm -f conftest.er1
87406 cat conftest.err >&5
87407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87408 (exit $ac_status); } &&
87409 { ac_try='test -z "$ac_c_werror_flag"
87410 || test ! -s conftest.err'
87411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87412 (eval $ac_try) 2>&5
87413 ac_status=$?
87414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87415 (exit $ac_status); }; } &&
87416 { ac_try='test -s conftest.$ac_objext'
87417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87418 (eval $ac_try) 2>&5
87419 ac_status=$?
87420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87421 (exit $ac_status); }; }; then
87422 ac_header_compiler=yes
87423 else
87424 echo "$as_me: failed program was:" >&5
87425 sed 's/^/| /' conftest.$ac_ext >&5
87427 ac_header_compiler=no
87429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87430 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87431 echo "${ECHO_T}$ac_header_compiler" >&6
87433 # Is the header present?
87434 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87435 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87436 cat >conftest.$ac_ext <<_ACEOF
87437 /* confdefs.h. */
87438 _ACEOF
87439 cat confdefs.h >>conftest.$ac_ext
87440 cat >>conftest.$ac_ext <<_ACEOF
87441 /* end confdefs.h. */
87442 #include <$ac_header>
87443 _ACEOF
87444 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87445 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87446 ac_status=$?
87447 grep -v '^ *+' conftest.er1 >conftest.err
87448 rm -f conftest.er1
87449 cat conftest.err >&5
87450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87451 (exit $ac_status); } >/dev/null; then
87452 if test -s conftest.err; then
87453 ac_cpp_err=$ac_c_preproc_warn_flag
87454 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87455 else
87456 ac_cpp_err=
87458 else
87459 ac_cpp_err=yes
87461 if test -z "$ac_cpp_err"; then
87462 ac_header_preproc=yes
87463 else
87464 echo "$as_me: failed program was:" >&5
87465 sed 's/^/| /' conftest.$ac_ext >&5
87467 ac_header_preproc=no
87469 rm -f conftest.err conftest.$ac_ext
87470 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87471 echo "${ECHO_T}$ac_header_preproc" >&6
87473 # So? What about this header?
87474 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87475 yes:no: )
87476 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87477 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87478 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87479 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87480 ac_header_preproc=yes
87482 no:yes:* )
87483 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87484 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87485 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
87486 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
87487 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87488 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87489 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
87490 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
87491 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87492 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87493 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87494 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87496 cat <<\_ASBOX
87497 ## ----------------------------------------- ##
87498 ## Report this to the package-unused lists. ##
87499 ## ----------------------------------------- ##
87500 _ASBOX
87502 sed "s/^/$as_me: WARNING: /" >&2
87504 esac
87505 echo "$as_me:$LINENO: checking for $ac_header" >&5
87506 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87507 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87508 echo $ECHO_N "(cached) $ECHO_C" >&6
87509 else
87510 eval "$as_ac_Header=\$ac_header_preproc"
87512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87513 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87516 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87517 cat >>confdefs.h <<_ACEOF
87518 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87519 _ACEOF
87521 else
87522 setrlimit_have_headers=no
87525 done
87527 # If don't have the headers, then we can't run the tests now, and we
87528 # won't be seeing any of these during testsuite compilation.
87529 if test $setrlimit_have_headers = yes; then
87530 # Can't do these in a loop, else the resulting syntax is wrong.
87532 cat >conftest.$ac_ext <<_ACEOF
87533 /* confdefs.h. */
87534 _ACEOF
87535 cat confdefs.h >>conftest.$ac_ext
87536 cat >>conftest.$ac_ext <<_ACEOF
87537 /* end confdefs.h. */
87538 #include <unistd.h>
87539 #include <sys/time.h>
87540 #include <sys/resource.h>
87543 main ()
87545 int f = RLIMIT_DATA ;
87547 return 0;
87549 _ACEOF
87550 rm -f conftest.$ac_objext
87551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87552 (eval $ac_compile) 2>conftest.er1
87553 ac_status=$?
87554 grep -v '^ *+' conftest.er1 >conftest.err
87555 rm -f conftest.er1
87556 cat conftest.err >&5
87557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87558 (exit $ac_status); } &&
87559 { ac_try='test -z "$ac_c_werror_flag"
87560 || test ! -s conftest.err'
87561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87562 (eval $ac_try) 2>&5
87563 ac_status=$?
87564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87565 (exit $ac_status); }; } &&
87566 { ac_try='test -s conftest.$ac_objext'
87567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87568 (eval $ac_try) 2>&5
87569 ac_status=$?
87570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87571 (exit $ac_status); }; }; then
87572 glibcxx_mresult=1
87573 else
87574 echo "$as_me: failed program was:" >&5
87575 sed 's/^/| /' conftest.$ac_ext >&5
87577 glibcxx_mresult=0
87579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87581 cat >>confdefs.h <<_ACEOF
87582 #define HAVE_LIMIT_DATA $glibcxx_mresult
87583 _ACEOF
87587 cat >conftest.$ac_ext <<_ACEOF
87588 /* confdefs.h. */
87589 _ACEOF
87590 cat confdefs.h >>conftest.$ac_ext
87591 cat >>conftest.$ac_ext <<_ACEOF
87592 /* end confdefs.h. */
87593 #include <unistd.h>
87594 #include <sys/time.h>
87595 #include <sys/resource.h>
87598 main ()
87600 int f = RLIMIT_RSS ;
87602 return 0;
87604 _ACEOF
87605 rm -f conftest.$ac_objext
87606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87607 (eval $ac_compile) 2>conftest.er1
87608 ac_status=$?
87609 grep -v '^ *+' conftest.er1 >conftest.err
87610 rm -f conftest.er1
87611 cat conftest.err >&5
87612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87613 (exit $ac_status); } &&
87614 { ac_try='test -z "$ac_c_werror_flag"
87615 || test ! -s conftest.err'
87616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87617 (eval $ac_try) 2>&5
87618 ac_status=$?
87619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87620 (exit $ac_status); }; } &&
87621 { ac_try='test -s conftest.$ac_objext'
87622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87623 (eval $ac_try) 2>&5
87624 ac_status=$?
87625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87626 (exit $ac_status); }; }; then
87627 glibcxx_mresult=1
87628 else
87629 echo "$as_me: failed program was:" >&5
87630 sed 's/^/| /' conftest.$ac_ext >&5
87632 glibcxx_mresult=0
87634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87636 cat >>confdefs.h <<_ACEOF
87637 #define HAVE_LIMIT_RSS $glibcxx_mresult
87638 _ACEOF
87642 cat >conftest.$ac_ext <<_ACEOF
87643 /* confdefs.h. */
87644 _ACEOF
87645 cat confdefs.h >>conftest.$ac_ext
87646 cat >>conftest.$ac_ext <<_ACEOF
87647 /* end confdefs.h. */
87648 #include <unistd.h>
87649 #include <sys/time.h>
87650 #include <sys/resource.h>
87653 main ()
87655 int f = RLIMIT_VMEM ;
87657 return 0;
87659 _ACEOF
87660 rm -f conftest.$ac_objext
87661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87662 (eval $ac_compile) 2>conftest.er1
87663 ac_status=$?
87664 grep -v '^ *+' conftest.er1 >conftest.err
87665 rm -f conftest.er1
87666 cat conftest.err >&5
87667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87668 (exit $ac_status); } &&
87669 { ac_try='test -z "$ac_c_werror_flag"
87670 || test ! -s conftest.err'
87671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87672 (eval $ac_try) 2>&5
87673 ac_status=$?
87674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87675 (exit $ac_status); }; } &&
87676 { ac_try='test -s conftest.$ac_objext'
87677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87678 (eval $ac_try) 2>&5
87679 ac_status=$?
87680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87681 (exit $ac_status); }; }; then
87682 glibcxx_mresult=1
87683 else
87684 echo "$as_me: failed program was:" >&5
87685 sed 's/^/| /' conftest.$ac_ext >&5
87687 glibcxx_mresult=0
87689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87691 cat >>confdefs.h <<_ACEOF
87692 #define HAVE_LIMIT_VMEM $glibcxx_mresult
87693 _ACEOF
87697 cat >conftest.$ac_ext <<_ACEOF
87698 /* confdefs.h. */
87699 _ACEOF
87700 cat confdefs.h >>conftest.$ac_ext
87701 cat >>conftest.$ac_ext <<_ACEOF
87702 /* end confdefs.h. */
87703 #include <unistd.h>
87704 #include <sys/time.h>
87705 #include <sys/resource.h>
87708 main ()
87710 int f = RLIMIT_AS ;
87712 return 0;
87714 _ACEOF
87715 rm -f conftest.$ac_objext
87716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87717 (eval $ac_compile) 2>conftest.er1
87718 ac_status=$?
87719 grep -v '^ *+' conftest.er1 >conftest.err
87720 rm -f conftest.er1
87721 cat conftest.err >&5
87722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87723 (exit $ac_status); } &&
87724 { ac_try='test -z "$ac_c_werror_flag"
87725 || test ! -s conftest.err'
87726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87727 (eval $ac_try) 2>&5
87728 ac_status=$?
87729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87730 (exit $ac_status); }; } &&
87731 { ac_try='test -s conftest.$ac_objext'
87732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87733 (eval $ac_try) 2>&5
87734 ac_status=$?
87735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87736 (exit $ac_status); }; }; then
87737 glibcxx_mresult=1
87738 else
87739 echo "$as_me: failed program was:" >&5
87740 sed 's/^/| /' conftest.$ac_ext >&5
87742 glibcxx_mresult=0
87744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87746 cat >>confdefs.h <<_ACEOF
87747 #define HAVE_LIMIT_AS $glibcxx_mresult
87748 _ACEOF
87752 cat >conftest.$ac_ext <<_ACEOF
87753 /* confdefs.h. */
87754 _ACEOF
87755 cat confdefs.h >>conftest.$ac_ext
87756 cat >>conftest.$ac_ext <<_ACEOF
87757 /* end confdefs.h. */
87758 #include <unistd.h>
87759 #include <sys/time.h>
87760 #include <sys/resource.h>
87763 main ()
87765 int f = RLIMIT_FSIZE ;
87767 return 0;
87769 _ACEOF
87770 rm -f conftest.$ac_objext
87771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87772 (eval $ac_compile) 2>conftest.er1
87773 ac_status=$?
87774 grep -v '^ *+' conftest.er1 >conftest.err
87775 rm -f conftest.er1
87776 cat conftest.err >&5
87777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87778 (exit $ac_status); } &&
87779 { ac_try='test -z "$ac_c_werror_flag"
87780 || test ! -s conftest.err'
87781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87782 (eval $ac_try) 2>&5
87783 ac_status=$?
87784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87785 (exit $ac_status); }; } &&
87786 { ac_try='test -s conftest.$ac_objext'
87787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87788 (eval $ac_try) 2>&5
87789 ac_status=$?
87790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87791 (exit $ac_status); }; }; then
87792 glibcxx_mresult=1
87793 else
87794 echo "$as_me: failed program was:" >&5
87795 sed 's/^/| /' conftest.$ac_ext >&5
87797 glibcxx_mresult=0
87799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87801 cat >>confdefs.h <<_ACEOF
87802 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
87803 _ACEOF
87807 # Check for rlimit, setrlimit.
87808 if test "${ac_setrlimit+set}" = set; then
87809 echo $ECHO_N "(cached) $ECHO_C" >&6
87810 else
87812 cat >conftest.$ac_ext <<_ACEOF
87813 /* confdefs.h. */
87814 _ACEOF
87815 cat confdefs.h >>conftest.$ac_ext
87816 cat >>conftest.$ac_ext <<_ACEOF
87817 /* end confdefs.h. */
87818 #include <unistd.h>
87819 #include <sys/time.h>
87820 #include <sys/resource.h>
87823 main ()
87825 struct rlimit r;
87826 setrlimit(0, &r);
87828 return 0;
87830 _ACEOF
87831 rm -f conftest.$ac_objext
87832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87833 (eval $ac_compile) 2>conftest.er1
87834 ac_status=$?
87835 grep -v '^ *+' conftest.er1 >conftest.err
87836 rm -f conftest.er1
87837 cat conftest.err >&5
87838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87839 (exit $ac_status); } &&
87840 { ac_try='test -z "$ac_c_werror_flag"
87841 || test ! -s conftest.err'
87842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87843 (eval $ac_try) 2>&5
87844 ac_status=$?
87845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87846 (exit $ac_status); }; } &&
87847 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
87853 ac_setrlimit=yes
87854 else
87855 echo "$as_me: failed program was:" >&5
87856 sed 's/^/| /' conftest.$ac_ext >&5
87858 ac_setrlimit=no
87860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87866 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
87867 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
87868 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
87869 ac_res_limits=yes
87871 cat >>confdefs.h <<\_ACEOF
87872 #define _GLIBCXX_RES_LIMITS 1
87873 _ACEOF
87875 else
87876 ac_res_limits=no
87878 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
87879 echo "${ECHO_T}$ac_res_limits" >&6
87882 # Look for setenv, so that extended locale tests can be performed.
87884 echo "$as_me:$LINENO: checking for setenv declaration" >&5
87885 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
87886 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
87887 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
87888 echo $ECHO_N "(cached) $ECHO_C" >&6
87889 else
87893 ac_ext=cc
87894 ac_cpp='$CXXCPP $CPPFLAGS'
87895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87899 cat >conftest.$ac_ext <<_ACEOF
87900 /* confdefs.h. */
87901 _ACEOF
87902 cat confdefs.h >>conftest.$ac_ext
87903 cat >>conftest.$ac_ext <<_ACEOF
87904 /* end confdefs.h. */
87905 #include <stdlib.h>
87907 main ()
87909 setenv(0, 0, 0);
87911 return 0;
87913 _ACEOF
87914 rm -f conftest.$ac_objext
87915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87916 (eval $ac_compile) 2>conftest.er1
87917 ac_status=$?
87918 grep -v '^ *+' conftest.er1 >conftest.err
87919 rm -f conftest.er1
87920 cat conftest.err >&5
87921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87922 (exit $ac_status); } &&
87923 { ac_try='test -z "$ac_cxx_werror_flag"
87924 || test ! -s conftest.err'
87925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87926 (eval $ac_try) 2>&5
87927 ac_status=$?
87928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87929 (exit $ac_status); }; } &&
87930 { ac_try='test -s conftest.$ac_objext'
87931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87932 (eval $ac_try) 2>&5
87933 ac_status=$?
87934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87935 (exit $ac_status); }; }; then
87936 glibcxx_cv_func_setenv_use=yes
87937 else
87938 echo "$as_me: failed program was:" >&5
87939 sed 's/^/| /' conftest.$ac_ext >&5
87941 glibcxx_cv_func_setenv_use=no
87943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87944 ac_ext=c
87945 ac_cpp='$CPP $CPPFLAGS'
87946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87954 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
87955 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
87956 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
87958 for ac_func in setenv
87960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87961 echo "$as_me:$LINENO: checking for $ac_func" >&5
87962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87963 if eval "test \"\${$as_ac_var+set}\" = set"; then
87964 echo $ECHO_N "(cached) $ECHO_C" >&6
87965 else
87966 if test x$gcc_no_link = xyes; then
87967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87969 { (exit 1); exit 1; }; }
87971 cat >conftest.$ac_ext <<_ACEOF
87972 /* confdefs.h. */
87973 _ACEOF
87974 cat confdefs.h >>conftest.$ac_ext
87975 cat >>conftest.$ac_ext <<_ACEOF
87976 /* end confdefs.h. */
87977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87979 #define $ac_func innocuous_$ac_func
87981 /* System header to define __stub macros and hopefully few prototypes,
87982 which can conflict with char $ac_func (); below.
87983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87984 <limits.h> exists even on freestanding compilers. */
87986 #ifdef __STDC__
87987 # include <limits.h>
87988 #else
87989 # include <assert.h>
87990 #endif
87992 #undef $ac_func
87994 /* Override any gcc2 internal prototype to avoid an error. */
87995 #ifdef __cplusplus
87996 extern "C"
87998 #endif
87999 /* We use char because int might match the return type of a gcc2
88000 builtin and then its argument prototype would still apply. */
88001 char $ac_func ();
88002 /* The GNU C library defines this for functions which it implements
88003 to always fail with ENOSYS. Some functions are actually named
88004 something starting with __ and the normal name is an alias. */
88005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88006 choke me
88007 #else
88008 char (*f) () = $ac_func;
88009 #endif
88010 #ifdef __cplusplus
88012 #endif
88015 main ()
88017 return f != $ac_func;
88019 return 0;
88021 _ACEOF
88022 rm -f conftest.$ac_objext conftest$ac_exeext
88023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88024 (eval $ac_link) 2>conftest.er1
88025 ac_status=$?
88026 grep -v '^ *+' conftest.er1 >conftest.err
88027 rm -f conftest.er1
88028 cat conftest.err >&5
88029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88030 (exit $ac_status); } &&
88031 { ac_try='test -z "$ac_c_werror_flag"
88032 || test ! -s conftest.err'
88033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88034 (eval $ac_try) 2>&5
88035 ac_status=$?
88036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88037 (exit $ac_status); }; } &&
88038 { ac_try='test -s conftest$ac_exeext'
88039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88040 (eval $ac_try) 2>&5
88041 ac_status=$?
88042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88043 (exit $ac_status); }; }; then
88044 eval "$as_ac_var=yes"
88045 else
88046 echo "$as_me: failed program was:" >&5
88047 sed 's/^/| /' conftest.$ac_ext >&5
88049 eval "$as_ac_var=no"
88051 rm -f conftest.err conftest.$ac_objext \
88052 conftest$ac_exeext conftest.$ac_ext
88054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88056 if test `eval echo '${'$as_ac_var'}'` = yes; then
88057 cat >>confdefs.h <<_ACEOF
88058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88059 _ACEOF
88062 done
88067 if test $enable_symvers = no; then
88068 enable_abi_check=no
88069 else
88070 case "$host" in
88071 *-*-cygwin*)
88072 enable_abi_check=no ;;
88074 enable_abi_check=yes ;;
88075 esac
88077 else
88078 # Only build this as native, since automake does not understand
88079 # CXX_FOR_BUILD.
88080 enable_abi_check=no
88083 # Export file names for ABI checking.
88084 baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
88090 # Propagate the target-specific source directories through the build chain.
88091 ATOMICITY_SRCDIR=config/${atomicity_dir}
88092 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
88093 OS_INC_SRCDIR=config/${os_include_dir}
88094 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
88100 # Determine cross-compile flags and AM_CONDITIONALs.
88101 #AC_SUBST(GLIBCXX_IS_NATIVE)
88102 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
88103 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
88104 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
88107 if test $is_hosted = yes; then
88108 GLIBCXX_HOSTED_TRUE=
88109 GLIBCXX_HOSTED_FALSE='#'
88110 else
88111 GLIBCXX_HOSTED_TRUE='#'
88112 GLIBCXX_HOSTED_FALSE=
88118 if test $enable_libstdcxx_pch = yes; then
88119 GLIBCXX_BUILD_PCH_TRUE=
88120 GLIBCXX_BUILD_PCH_FALSE='#'
88121 else
88122 GLIBCXX_BUILD_PCH_TRUE='#'
88123 GLIBCXX_BUILD_PCH_FALSE=
88129 if test $enable_cheaders = c; then
88130 GLIBCXX_C_HEADERS_C_TRUE=
88131 GLIBCXX_C_HEADERS_C_FALSE='#'
88132 else
88133 GLIBCXX_C_HEADERS_C_TRUE='#'
88134 GLIBCXX_C_HEADERS_C_FALSE=
88140 if test $enable_cheaders = c_std; then
88141 GLIBCXX_C_HEADERS_C_STD_TRUE=
88142 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
88143 else
88144 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
88145 GLIBCXX_C_HEADERS_C_STD_FALSE=
88151 if test $c_compatibility = yes; then
88152 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
88153 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
88154 else
88155 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
88156 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
88162 if test $enable_libstdcxx_debug = yes; then
88163 GLIBCXX_BUILD_DEBUG_TRUE=
88164 GLIBCXX_BUILD_DEBUG_FALSE='#'
88165 else
88166 GLIBCXX_BUILD_DEBUG_TRUE='#'
88167 GLIBCXX_BUILD_DEBUG_FALSE=
88173 if test $enable_symvers != no; then
88174 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
88175 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
88176 else
88177 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
88178 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
88184 if test $enable_abi_check = yes; then
88185 GLIBCXX_TEST_ABI_TRUE=
88186 GLIBCXX_TEST_ABI_FALSE='#'
88187 else
88188 GLIBCXX_TEST_ABI_TRUE='#'
88189 GLIBCXX_TEST_ABI_FALSE=
88195 cat >confcache <<\_ACEOF
88196 # This file is a shell script that caches the results of configure
88197 # tests run on this system so they can be shared between configure
88198 # scripts and configure runs, see configure's option --config-cache.
88199 # It is not useful on other systems. If it contains results you don't
88200 # want to keep, you may remove or edit it.
88202 # config.status only pays attention to the cache file if you give it
88203 # the --recheck option to rerun configure.
88205 # `ac_cv_env_foo' variables (set or unset) will be overridden when
88206 # loading this file, other *unset* `ac_cv_foo' will be assigned the
88207 # following values.
88209 _ACEOF
88211 # The following way of writing the cache mishandles newlines in values,
88212 # but we know of no workaround that is simple, portable, and efficient.
88213 # So, don't put newlines in cache variables' values.
88214 # Ultrix sh set writes to stderr and can't be redirected directly,
88215 # and sets the high bit in the cache file unless we assign to the vars.
88217 (set) 2>&1 |
88218 case `(ac_space=' '; set | grep ac_space) 2>&1` in
88219 *ac_space=\ *)
88220 # `set' does not quote correctly, so add quotes (double-quote
88221 # substitution turns \\\\ into \\, and sed turns \\ into \).
88222 sed -n \
88223 "s/'/'\\\\''/g;
88224 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
88227 # `set' quotes correctly as required by POSIX, so do not add quotes.
88228 sed -n \
88229 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
88231 esac;
88233 sed '
88234 t clear
88235 : clear
88236 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
88237 t end
88238 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
88239 : end' >>confcache
88240 if diff $cache_file confcache >/dev/null 2>&1; then :; else
88241 if test -w $cache_file; then
88242 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
88243 cat confcache >$cache_file
88244 else
88245 echo "not updating unwritable cache $cache_file"
88248 rm -f confcache
88250 if test ${multilib} = yes; then
88251 multilib_arg="--enable-multilib"
88252 else
88253 multilib_arg=
88256 # Export all the install information.
88258 glibcxx_toolexecdir=no
88259 glibcxx_toolexeclibdir=no
88260 glibcxx_prefixdir=$prefix
88262 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
88263 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
88265 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
88266 if test "${with_gxx_include_dir+set}" = set; then
88267 withval="$with_gxx_include_dir"
88268 case "$withval" in
88269 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
88270 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
88271 { (exit 1); exit 1; }; } ;;
88272 no) gxx_include_dir=no ;;
88273 *) gxx_include_dir=$withval ;;
88274 esac
88275 else
88276 gxx_include_dir=no
88278 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
88279 echo "${ECHO_T}$gxx_include_dir" >&6
88281 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
88282 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
88283 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
88284 if test "${enable_version_specific_runtime_libs+set}" = set; then
88285 enableval="$enable_version_specific_runtime_libs"
88286 case "$enableval" in
88287 yes) version_specific_libs=yes ;;
88288 no) version_specific_libs=no ;;
88289 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
88290 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
88291 { (exit 1); exit 1; }; };;
88292 esac
88293 else
88294 version_specific_libs=no
88296 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
88297 echo "${ECHO_T}$version_specific_libs" >&6
88299 # Default case for install directory for include files.
88300 if test $version_specific_libs = no && test $gxx_include_dir = no; then
88301 gxx_include_dir='${prefix}/include/c++/${gcc_version}'
88304 # Version-specific runtime libs processing.
88305 if test $version_specific_libs = yes; then
88306 # Need the gcc compiler version to know where to install libraries
88307 # and header files if --enable-version-specific-runtime-libs option
88308 # is selected. FIXME: these variables are misnamed, there are
88309 # no executables installed in _toolexecdir or _toolexeclibdir.
88310 if test x"$gxx_include_dir" = x"no"; then
88311 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
88313 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
88314 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
88317 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
88318 # Install a library built with a cross compiler in tooldir, not libdir.
88319 if test x"$glibcxx_toolexecdir" = x"no"; then
88320 if test -n "$with_cross_host" &&
88321 test x"$with_cross_host" != x"no"; then
88322 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
88323 glibcxx_toolexeclibdir='${toolexecdir}/lib'
88324 else
88325 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
88326 glibcxx_toolexeclibdir='${libdir}'
88328 multi_os_directory=`$CXX -print-multi-os-directory`
88329 case $multi_os_directory in
88330 .) ;; # Avoid trailing /.
88331 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
88332 esac
88335 echo "$as_me:$LINENO: checking for install location" >&5
88336 echo $ECHO_N "checking for install location... $ECHO_C" >&6
88337 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
88338 echo "${ECHO_T}$gxx_include_dir" >&6
88346 # Export all the include and flag information to Makefiles.
88348 # Used for every C++ compile we perform.
88349 GLIBCXX_INCLUDES="\
88350 -I$glibcxx_builddir/include/$host_alias \
88351 -I$glibcxx_builddir/include \
88352 -I$glibcxx_srcdir/libsupc++"
88354 # For Canadian crosses, pick this up too.
88355 if test $CANADIAN = yes; then
88356 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
88359 # Stuff in the actual top level. Currently only used by libsupc++ to
88360 # get unwind* headers from the gcc dir.
88361 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
88362 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
88364 # Now, export this to all the little Makefiles....
88369 # Optimization flags that are probably a good idea for thrill-seekers. Just
88370 # uncomment the lines below and make, everything else is ready to go...
88371 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
88372 OPTIMIZE_CXXFLAGS=
88375 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
88379 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
88380 grep "enable shared" > /dev/null;
88381 then
88382 LIBSUPCXX_PICFLAGS=-prefer-pic
88383 else
88384 LIBSUPCXX_PICFLAGS=
88388 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
88390 ac_config_files="$ac_config_files scripts/testsuite_flags"
88393 ac_config_commands="$ac_config_commands default"
88396 cat >confcache <<\_ACEOF
88397 # This file is a shell script that caches the results of configure
88398 # tests run on this system so they can be shared between configure
88399 # scripts and configure runs, see configure's option --config-cache.
88400 # It is not useful on other systems. If it contains results you don't
88401 # want to keep, you may remove or edit it.
88403 # config.status only pays attention to the cache file if you give it
88404 # the --recheck option to rerun configure.
88406 # `ac_cv_env_foo' variables (set or unset) will be overridden when
88407 # loading this file, other *unset* `ac_cv_foo' will be assigned the
88408 # following values.
88410 _ACEOF
88412 # The following way of writing the cache mishandles newlines in values,
88413 # but we know of no workaround that is simple, portable, and efficient.
88414 # So, don't put newlines in cache variables' values.
88415 # Ultrix sh set writes to stderr and can't be redirected directly,
88416 # and sets the high bit in the cache file unless we assign to the vars.
88418 (set) 2>&1 |
88419 case `(ac_space=' '; set | grep ac_space) 2>&1` in
88420 *ac_space=\ *)
88421 # `set' does not quote correctly, so add quotes (double-quote
88422 # substitution turns \\\\ into \\, and sed turns \\ into \).
88423 sed -n \
88424 "s/'/'\\\\''/g;
88425 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
88428 # `set' quotes correctly as required by POSIX, so do not add quotes.
88429 sed -n \
88430 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
88432 esac;
88434 sed '
88435 t clear
88436 : clear
88437 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
88438 t end
88439 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
88440 : end' >>confcache
88441 if diff $cache_file confcache >/dev/null 2>&1; then :; else
88442 if test -w $cache_file; then
88443 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
88444 cat confcache >$cache_file
88445 else
88446 echo "not updating unwritable cache $cache_file"
88449 rm -f confcache
88451 test "x$prefix" = xNONE && prefix=$ac_default_prefix
88452 # Let make expand exec_prefix.
88453 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
88455 # VPATH may cause trouble with some makes, so we remove $(srcdir),
88456 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
88457 # trailing colons and then remove the whole line if VPATH becomes empty
88458 # (actually we leave an empty line to preserve line numbers).
88459 if test "x$srcdir" = x.; then
88460 ac_vpsub='/^[ ]*VPATH[ ]*=/{
88461 s/:*\$(srcdir):*/:/;
88462 s/:*\${srcdir}:*/:/;
88463 s/:*@srcdir@:*/:/;
88464 s/^\([^=]*=[ ]*\):*/\1/;
88465 s/:*$//;
88466 s/^[^=]*=[ ]*$//;
88470 DEFS=-DHAVE_CONFIG_H
88472 ac_libobjs=
88473 ac_ltlibobjs=
88474 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
88475 # 1. Remove the extension, and $U if already installed.
88476 ac_i=`echo "$ac_i" |
88477 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
88478 # 2. Add them.
88479 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
88480 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
88481 done
88482 LIBOBJS=$ac_libobjs
88484 LTLIBOBJS=$ac_ltlibobjs
88487 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
88488 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
88489 Usually this means the macro was only invoked conditionally." >&5
88490 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
88491 Usually this means the macro was only invoked conditionally." >&2;}
88492 { (exit 1); exit 1; }; }
88494 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
88495 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
88496 Usually this means the macro was only invoked conditionally." >&5
88497 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
88498 Usually this means the macro was only invoked conditionally." >&2;}
88499 { (exit 1); exit 1; }; }
88501 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
88502 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
88503 Usually this means the macro was only invoked conditionally." >&5
88504 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
88505 Usually this means the macro was only invoked conditionally." >&2;}
88506 { (exit 1); exit 1; }; }
88508 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
88509 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
88510 Usually this means the macro was only invoked conditionally." >&5
88511 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
88512 Usually this means the macro was only invoked conditionally." >&2;}
88513 { (exit 1); exit 1; }; }
88515 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
88516 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
88517 Usually this means the macro was only invoked conditionally." >&5
88518 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
88519 Usually this means the macro was only invoked conditionally." >&2;}
88520 { (exit 1); exit 1; }; }
88522 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
88523 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
88524 Usually this means the macro was only invoked conditionally." >&5
88525 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
88526 Usually this means the macro was only invoked conditionally." >&2;}
88527 { (exit 1); exit 1; }; }
88529 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
88530 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
88531 Usually this means the macro was only invoked conditionally." >&5
88532 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
88533 Usually this means the macro was only invoked conditionally." >&2;}
88534 { (exit 1); exit 1; }; }
88536 if test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE}"; then
88537 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
88538 Usually this means the macro was only invoked conditionally." >&5
88539 echo "$as_me: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
88540 Usually this means the macro was only invoked conditionally." >&2;}
88541 { (exit 1); exit 1; }; }
88543 if test -z "${GLIBCXX_TEST_ABI_TRUE}" && test -z "${GLIBCXX_TEST_ABI_FALSE}"; then
88544 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
88545 Usually this means the macro was only invoked conditionally." >&5
88546 echo "$as_me: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
88547 Usually this means the macro was only invoked conditionally." >&2;}
88548 { (exit 1); exit 1; }; }
88551 : ${CONFIG_STATUS=./config.status}
88552 ac_clean_files_save=$ac_clean_files
88553 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
88554 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
88555 echo "$as_me: creating $CONFIG_STATUS" >&6;}
88556 cat >$CONFIG_STATUS <<_ACEOF
88557 #! $SHELL
88558 # Generated by $as_me.
88559 # Run this file to recreate the current configuration.
88560 # Compiler output produced by configure, useful for debugging
88561 # configure, is in config.log if it exists.
88563 debug=false
88564 ac_cs_recheck=false
88565 ac_cs_silent=false
88566 SHELL=\${CONFIG_SHELL-$SHELL}
88567 _ACEOF
88569 cat >>$CONFIG_STATUS <<\_ACEOF
88570 ## --------------------- ##
88571 ## M4sh Initialization. ##
88572 ## --------------------- ##
88574 # Be Bourne compatible
88575 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
88576 emulate sh
88577 NULLCMD=:
88578 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
88579 # is contrary to our usage. Disable this feature.
88580 alias -g '${1+"$@"}'='"$@"'
88581 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
88582 set -o posix
88584 DUALCASE=1; export DUALCASE # for MKS sh
88586 # Support unset when possible.
88587 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
88588 as_unset=unset
88589 else
88590 as_unset=false
88594 # Work around bugs in pre-3.0 UWIN ksh.
88595 $as_unset ENV MAIL MAILPATH
88596 PS1='$ '
88597 PS2='> '
88598 PS4='+ '
88600 # NLS nuisances.
88601 for as_var in \
88602 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
88603 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
88604 LC_TELEPHONE LC_TIME
88606 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
88607 eval $as_var=C; export $as_var
88608 else
88609 $as_unset $as_var
88611 done
88613 # Required to use basename.
88614 if expr a : '\(a\)' >/dev/null 2>&1; then
88615 as_expr=expr
88616 else
88617 as_expr=false
88620 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
88621 as_basename=basename
88622 else
88623 as_basename=false
88627 # Name of the executable.
88628 as_me=`$as_basename "$0" ||
88629 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
88630 X"$0" : 'X\(//\)$' \| \
88631 X"$0" : 'X\(/\)$' \| \
88632 . : '\(.\)' 2>/dev/null ||
88633 echo X/"$0" |
88634 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
88635 /^X\/\(\/\/\)$/{ s//\1/; q; }
88636 /^X\/\(\/\).*/{ s//\1/; q; }
88637 s/.*/./; q'`
88640 # PATH needs CR, and LINENO needs CR and PATH.
88641 # Avoid depending upon Character Ranges.
88642 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
88643 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
88644 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
88645 as_cr_digits='0123456789'
88646 as_cr_alnum=$as_cr_Letters$as_cr_digits
88648 # The user is always right.
88649 if test "${PATH_SEPARATOR+set}" != set; then
88650 echo "#! /bin/sh" >conf$$.sh
88651 echo "exit 0" >>conf$$.sh
88652 chmod +x conf$$.sh
88653 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
88654 PATH_SEPARATOR=';'
88655 else
88656 PATH_SEPARATOR=:
88658 rm -f conf$$.sh
88662 as_lineno_1=$LINENO
88663 as_lineno_2=$LINENO
88664 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
88665 test "x$as_lineno_1" != "x$as_lineno_2" &&
88666 test "x$as_lineno_3" = "x$as_lineno_2" || {
88667 # Find who we are. Look in the path if we contain no path at all
88668 # relative or not.
88669 case $0 in
88670 *[\\/]* ) as_myself=$0 ;;
88671 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
88672 for as_dir in $PATH
88674 IFS=$as_save_IFS
88675 test -z "$as_dir" && as_dir=.
88676 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
88677 done
88680 esac
88681 # We did not find ourselves, most probably we were run as `sh COMMAND'
88682 # in which case we are not to be found in the path.
88683 if test "x$as_myself" = x; then
88684 as_myself=$0
88686 if test ! -f "$as_myself"; then
88687 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
88688 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
88689 { (exit 1); exit 1; }; }
88691 case $CONFIG_SHELL in
88693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
88694 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
88696 IFS=$as_save_IFS
88697 test -z "$as_dir" && as_dir=.
88698 for as_base in sh bash ksh sh5; do
88699 case $as_dir in
88701 if ("$as_dir/$as_base" -c '
88702 as_lineno_1=$LINENO
88703 as_lineno_2=$LINENO
88704 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
88705 test "x$as_lineno_1" != "x$as_lineno_2" &&
88706 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
88707 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
88708 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
88709 CONFIG_SHELL=$as_dir/$as_base
88710 export CONFIG_SHELL
88711 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
88712 fi;;
88713 esac
88714 done
88715 done
88717 esac
88719 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
88720 # uniformly replaced by the line number. The first 'sed' inserts a
88721 # line-number line before each line; the second 'sed' does the real
88722 # work. The second script uses 'N' to pair each line-number line
88723 # with the numbered line, and appends trailing '-' during
88724 # substitution so that $LINENO is not a special case at line end.
88725 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
88726 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
88727 sed '=' <$as_myself |
88728 sed '
88730 s,$,-,
88731 : loop
88732 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
88733 t loop
88734 s,-$,,
88735 s,^['$as_cr_digits']*\n,,
88736 ' >$as_me.lineno &&
88737 chmod +x $as_me.lineno ||
88738 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
88739 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
88740 { (exit 1); exit 1; }; }
88742 # Don't try to exec as it changes $[0], causing all sort of problems
88743 # (the dirname of $[0] is not the place where we might find the
88744 # original and so on. Autoconf is especially sensible to this).
88745 . ./$as_me.lineno
88746 # Exit status is that of the last command.
88747 exit
88751 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
88752 *c*,-n*) ECHO_N= ECHO_C='
88753 ' ECHO_T=' ' ;;
88754 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
88755 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
88756 esac
88758 if expr a : '\(a\)' >/dev/null 2>&1; then
88759 as_expr=expr
88760 else
88761 as_expr=false
88764 rm -f conf$$ conf$$.exe conf$$.file
88765 echo >conf$$.file
88766 if ln -s conf$$.file conf$$ 2>/dev/null; then
88767 # We could just check for DJGPP; but this test a) works b) is more generic
88768 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
88769 if test -f conf$$.exe; then
88770 # Don't use ln at all; we don't have any links
88771 as_ln_s='cp -p'
88772 else
88773 as_ln_s='ln -s'
88775 elif ln conf$$.file conf$$ 2>/dev/null; then
88776 as_ln_s=ln
88777 else
88778 as_ln_s='cp -p'
88780 rm -f conf$$ conf$$.exe conf$$.file
88782 if mkdir -p . 2>/dev/null; then
88783 as_mkdir_p=:
88784 else
88785 test -d ./-p && rmdir ./-p
88786 as_mkdir_p=false
88789 as_executable_p="test -f"
88791 # Sed expression to map a string onto a valid CPP name.
88792 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
88794 # Sed expression to map a string onto a valid variable name.
88795 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
88798 # IFS
88799 # We need space, tab and new line, in precisely that order.
88800 as_nl='
88802 IFS=" $as_nl"
88804 # CDPATH.
88805 $as_unset CDPATH
88807 exec 6>&1
88809 # Open the log real soon, to keep \$[0] and so on meaningful, and to
88810 # report actual input values of CONFIG_FILES etc. instead of their
88811 # values after options handling. Logging --version etc. is OK.
88812 exec 5>>config.log
88814 echo
88815 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
88816 ## Running $as_me. ##
88817 _ASBOX
88818 } >&5
88819 cat >&5 <<_CSEOF
88821 This file was extended by package-unused $as_me version-unused, which was
88822 generated by GNU Autoconf 2.59. Invocation command line was
88824 CONFIG_FILES = $CONFIG_FILES
88825 CONFIG_HEADERS = $CONFIG_HEADERS
88826 CONFIG_LINKS = $CONFIG_LINKS
88827 CONFIG_COMMANDS = $CONFIG_COMMANDS
88828 $ $0 $@
88830 _CSEOF
88831 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
88832 echo >&5
88833 _ACEOF
88835 # Files that config.status was made for.
88836 if test -n "$ac_config_files"; then
88837 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
88840 if test -n "$ac_config_headers"; then
88841 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
88844 if test -n "$ac_config_links"; then
88845 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
88848 if test -n "$ac_config_commands"; then
88849 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
88852 cat >>$CONFIG_STATUS <<\_ACEOF
88854 ac_cs_usage="\
88855 \`$as_me' instantiates files from templates according to the
88856 current configuration.
88858 Usage: $0 [OPTIONS] [FILE]...
88860 -h, --help print this help, then exit
88861 -V, --version print version number, then exit
88862 -q, --quiet do not print progress messages
88863 -d, --debug don't remove temporary files
88864 --recheck update $as_me by reconfiguring in the same conditions
88865 --file=FILE[:TEMPLATE]
88866 instantiate the configuration file FILE
88867 --header=FILE[:TEMPLATE]
88868 instantiate the configuration header FILE
88870 Configuration files:
88871 $config_files
88873 Configuration headers:
88874 $config_headers
88876 Configuration commands:
88877 $config_commands
88879 Report bugs to <bug-autoconf@gnu.org>."
88880 _ACEOF
88882 cat >>$CONFIG_STATUS <<_ACEOF
88883 ac_cs_version="\\
88884 package-unused config.status version-unused
88885 configured by $0, generated by GNU Autoconf 2.59,
88886 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
88888 Copyright (C) 2003 Free Software Foundation, Inc.
88889 This config.status script is free software; the Free Software Foundation
88890 gives unlimited permission to copy, distribute and modify it."
88891 srcdir=$srcdir
88892 INSTALL="$INSTALL"
88893 _ACEOF
88895 cat >>$CONFIG_STATUS <<\_ACEOF
88896 # If no file are specified by the user, then we need to provide default
88897 # value. By we need to know if files were specified by the user.
88898 ac_need_defaults=:
88899 while test $# != 0
88901 case $1 in
88902 --*=*)
88903 ac_option=`expr "x$1" : 'x\([^=]*\)='`
88904 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
88905 ac_shift=:
88908 ac_option=$1
88909 ac_optarg=$2
88910 ac_shift=shift
88912 *) # This is not an option, so the user has probably given explicit
88913 # arguments.
88914 ac_option=$1
88915 ac_need_defaults=false;;
88916 esac
88918 case $ac_option in
88919 # Handling of the options.
88920 _ACEOF
88921 cat >>$CONFIG_STATUS <<\_ACEOF
88922 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
88923 ac_cs_recheck=: ;;
88924 --version | --vers* | -V )
88925 echo "$ac_cs_version"; exit 0 ;;
88926 --he | --h)
88927 # Conflict between --help and --header
88928 { { echo "$as_me:$LINENO: error: ambiguous option: $1
88929 Try \`$0 --help' for more information." >&5
88930 echo "$as_me: error: ambiguous option: $1
88931 Try \`$0 --help' for more information." >&2;}
88932 { (exit 1); exit 1; }; };;
88933 --help | --hel | -h )
88934 echo "$ac_cs_usage"; exit 0 ;;
88935 --debug | --d* | -d )
88936 debug=: ;;
88937 --file | --fil | --fi | --f )
88938 $ac_shift
88939 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
88940 ac_need_defaults=false;;
88941 --header | --heade | --head | --hea )
88942 $ac_shift
88943 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
88944 ac_need_defaults=false;;
88945 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
88946 | -silent | --silent | --silen | --sile | --sil | --si | --s)
88947 ac_cs_silent=: ;;
88949 # This is an error.
88950 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
88951 Try \`$0 --help' for more information." >&5
88952 echo "$as_me: error: unrecognized option: $1
88953 Try \`$0 --help' for more information." >&2;}
88954 { (exit 1); exit 1; }; } ;;
88956 *) ac_config_targets="$ac_config_targets $1" ;;
88958 esac
88959 shift
88960 done
88962 ac_configure_extra_args=
88964 if $ac_cs_silent; then
88965 exec 6>/dev/null
88966 ac_configure_extra_args="$ac_configure_extra_args --silent"
88969 _ACEOF
88970 cat >>$CONFIG_STATUS <<_ACEOF
88971 if \$ac_cs_recheck; then
88972 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
88973 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
88976 _ACEOF
88978 cat >>$CONFIG_STATUS <<_ACEOF
88980 # INIT-COMMANDS section.
88984 srcdir="$srcdir"
88985 host="$host"
88986 target="$target"
88987 with_multisubdir="$with_multisubdir"
88988 with_multisrctop="$with_multisrctop"
88989 with_target_subdir="$with_target_subdir"
88990 ac_configure_args="${multilib_arg} ${ac_configure_args}"
88991 multi_basedir="$multi_basedir"
88992 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
88993 CC="$CC"
88995 # Variables needed in config.status (file generation) which aren't already
88996 # passed by autoconf.
88997 SUBDIRS="$SUBDIRS"
89000 _ACEOF
89004 cat >>$CONFIG_STATUS <<\_ACEOF
89005 for ac_config_target in $ac_config_targets
89007 case "$ac_config_target" in
89008 # Handling of arguments.
89009 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
89010 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
89011 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
89012 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
89013 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
89014 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
89015 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
89016 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
89017 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
89018 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
89019 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
89020 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
89021 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
89022 { (exit 1); exit 1; }; };;
89023 esac
89024 done
89026 # If the user did not use the arguments to specify the items to instantiate,
89027 # then the envvar interface is used. Set only those that are not.
89028 # We use the long form for the default assignment because of an extremely
89029 # bizarre bug on SunOS 4.1.3.
89030 if $ac_need_defaults; then
89031 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
89032 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
89033 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
89036 # Have a temporary directory for convenience. Make it in the build tree
89037 # simply because there is no reason to put it here, and in addition,
89038 # creating and moving files from /tmp can sometimes cause problems.
89039 # Create a temporary directory, and hook for its removal unless debugging.
89040 $debug ||
89042 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
89043 trap '{ (exit 1); exit 1; }' 1 2 13 15
89046 # Create a (secure) tmp directory for tmp files.
89049 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
89050 test -n "$tmp" && test -d "$tmp"
89051 } ||
89053 tmp=./confstat$$-$RANDOM
89054 (umask 077 && mkdir $tmp)
89055 } ||
89057 echo "$me: cannot create a temporary directory in ." >&2
89058 { (exit 1); exit 1; }
89061 _ACEOF
89063 cat >>$CONFIG_STATUS <<_ACEOF
89066 # CONFIG_FILES section.
89069 # No need to generate the scripts if there are no CONFIG_FILES.
89070 # This happens for instance when ./config.status config.h
89071 if test -n "\$CONFIG_FILES"; then
89072 # Protect against being on the right side of a sed subst in config.status.
89073 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
89074 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
89075 s,@SHELL@,$SHELL,;t t
89076 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
89077 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
89078 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
89079 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
89080 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
89081 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
89082 s,@exec_prefix@,$exec_prefix,;t t
89083 s,@prefix@,$prefix,;t t
89084 s,@program_transform_name@,$program_transform_name,;t t
89085 s,@bindir@,$bindir,;t t
89086 s,@sbindir@,$sbindir,;t t
89087 s,@libexecdir@,$libexecdir,;t t
89088 s,@datadir@,$datadir,;t t
89089 s,@sysconfdir@,$sysconfdir,;t t
89090 s,@sharedstatedir@,$sharedstatedir,;t t
89091 s,@localstatedir@,$localstatedir,;t t
89092 s,@libdir@,$libdir,;t t
89093 s,@includedir@,$includedir,;t t
89094 s,@oldincludedir@,$oldincludedir,;t t
89095 s,@infodir@,$infodir,;t t
89096 s,@mandir@,$mandir,;t t
89097 s,@build_alias@,$build_alias,;t t
89098 s,@host_alias@,$host_alias,;t t
89099 s,@target_alias@,$target_alias,;t t
89100 s,@DEFS@,$DEFS,;t t
89101 s,@ECHO_C@,$ECHO_C,;t t
89102 s,@ECHO_N@,$ECHO_N,;t t
89103 s,@ECHO_T@,$ECHO_T,;t t
89104 s,@LIBS@,$LIBS,;t t
89105 s,@libtool_VERSION@,$libtool_VERSION,;t t
89106 s,@multi_basedir@,$multi_basedir,;t t
89107 s,@build@,$build,;t t
89108 s,@build_cpu@,$build_cpu,;t t
89109 s,@build_vendor@,$build_vendor,;t t
89110 s,@build_os@,$build_os,;t t
89111 s,@host@,$host,;t t
89112 s,@host_cpu@,$host_cpu,;t t
89113 s,@host_vendor@,$host_vendor,;t t
89114 s,@host_os@,$host_os,;t t
89115 s,@target@,$target,;t t
89116 s,@target_cpu@,$target_cpu,;t t
89117 s,@target_vendor@,$target_vendor,;t t
89118 s,@target_os@,$target_os,;t t
89119 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
89120 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
89121 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
89122 s,@CYGPATH_W@,$CYGPATH_W,;t t
89123 s,@PACKAGE@,$PACKAGE,;t t
89124 s,@VERSION@,$VERSION,;t t
89125 s,@ACLOCAL@,$ACLOCAL,;t t
89126 s,@AUTOCONF@,$AUTOCONF,;t t
89127 s,@AUTOMAKE@,$AUTOMAKE,;t t
89128 s,@AUTOHEADER@,$AUTOHEADER,;t t
89129 s,@MAKEINFO@,$MAKEINFO,;t t
89130 s,@install_sh@,$install_sh,;t t
89131 s,@STRIP@,$STRIP,;t t
89132 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
89133 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
89134 s,@mkdir_p@,$mkdir_p,;t t
89135 s,@AWK@,$AWK,;t t
89136 s,@SET_MAKE@,$SET_MAKE,;t t
89137 s,@am__leading_dot@,$am__leading_dot,;t t
89138 s,@AMTAR@,$AMTAR,;t t
89139 s,@am__tar@,$am__tar,;t t
89140 s,@am__untar@,$am__untar,;t t
89141 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
89142 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
89143 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
89144 s,@CC@,$CC,;t t
89145 s,@ac_ct_CC@,$ac_ct_CC,;t t
89146 s,@EXEEXT@,$EXEEXT,;t t
89147 s,@OBJEXT@,$OBJEXT,;t t
89148 s,@CXX@,$CXX,;t t
89149 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
89150 s,@CFLAGS@,$CFLAGS,;t t
89151 s,@CXXFLAGS@,$CXXFLAGS,;t t
89152 s,@LN_S@,$LN_S,;t t
89153 s,@AS@,$AS,;t t
89154 s,@ac_ct_AS@,$ac_ct_AS,;t t
89155 s,@AR@,$AR,;t t
89156 s,@ac_ct_AR@,$ac_ct_AR,;t t
89157 s,@RANLIB@,$RANLIB,;t t
89158 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
89159 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
89160 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
89161 s,@MAINT@,$MAINT,;t t
89162 s,@LIBTOOL@,$LIBTOOL,;t t
89163 s,@CXXCPP@,$CXXCPP,;t t
89164 s,@CPPFLAGS@,$CPPFLAGS,;t t
89165 s,@enable_shared@,$enable_shared,;t t
89166 s,@enable_static@,$enable_static,;t t
89167 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
89168 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
89169 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
89170 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
89171 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
89172 s,@CSTDIO_H@,$CSTDIO_H,;t t
89173 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
89174 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
89175 s,@CPP@,$CPP,;t t
89176 s,@EGREP@,$EGREP,;t t
89177 s,@check_msgfmt@,$check_msgfmt,;t t
89178 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
89179 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
89180 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
89181 s,@USE_NLS@,$USE_NLS,;t t
89182 s,@CLOCALE_H@,$CLOCALE_H,;t t
89183 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
89184 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
89185 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
89186 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
89187 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
89188 s,@CMONEY_CC@,$CMONEY_CC,;t t
89189 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
89190 s,@CTIME_H@,$CTIME_H,;t t
89191 s,@CTIME_CC@,$CTIME_CC,;t t
89192 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
89193 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
89194 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
89195 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
89196 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
89197 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
89198 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
89199 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
89200 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
89201 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
89202 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
89203 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
89204 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
89205 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
89206 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
89207 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
89208 s,@WERROR@,$WERROR,;t t
89209 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
89210 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
89211 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
89212 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
89213 s,@LIBICONV@,$LIBICONV,;t t
89214 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
89215 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
89216 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE,;t t
89217 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE,;t t
89218 s,@baseline_dir@,$baseline_dir,;t t
89219 s,@GLIBCXX_TEST_ABI_TRUE@,$GLIBCXX_TEST_ABI_TRUE,;t t
89220 s,@GLIBCXX_TEST_ABI_FALSE@,$GLIBCXX_TEST_ABI_FALSE,;t t
89221 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
89222 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
89223 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
89224 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
89225 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
89226 s,@gxx_include_dir@,$gxx_include_dir,;t t
89227 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
89228 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
89229 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
89230 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
89231 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
89232 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
89233 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
89234 s,@LIBOBJS@,$LIBOBJS,;t t
89235 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
89236 CEOF
89238 _ACEOF
89240 cat >>$CONFIG_STATUS <<\_ACEOF
89241 # Split the substitutions into bite-sized pieces for seds with
89242 # small command number limits, like on Digital OSF/1 and HP-UX.
89243 ac_max_sed_lines=48
89244 ac_sed_frag=1 # Number of current file.
89245 ac_beg=1 # First line for current file.
89246 ac_end=$ac_max_sed_lines # Line after last line for current file.
89247 ac_more_lines=:
89248 ac_sed_cmds=
89249 while $ac_more_lines; do
89250 if test $ac_beg -gt 1; then
89251 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
89252 else
89253 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
89255 if test ! -s $tmp/subs.frag; then
89256 ac_more_lines=false
89257 else
89258 # The purpose of the label and of the branching condition is to
89259 # speed up the sed processing (if there are no `@' at all, there
89260 # is no need to browse any of the substitutions).
89261 # These are the two extra sed commands mentioned above.
89262 (echo ':t
89263 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
89264 if test -z "$ac_sed_cmds"; then
89265 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
89266 else
89267 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
89269 ac_sed_frag=`expr $ac_sed_frag + 1`
89270 ac_beg=$ac_end
89271 ac_end=`expr $ac_end + $ac_max_sed_lines`
89273 done
89274 if test -z "$ac_sed_cmds"; then
89275 ac_sed_cmds=cat
89277 fi # test -n "$CONFIG_FILES"
89279 _ACEOF
89280 cat >>$CONFIG_STATUS <<\_ACEOF
89281 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
89282 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
89283 case $ac_file in
89284 - | *:- | *:-:* ) # input from stdin
89285 cat >$tmp/stdin
89286 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89287 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89288 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89289 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89290 * ) ac_file_in=$ac_file.in ;;
89291 esac
89293 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
89294 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
89295 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89296 X"$ac_file" : 'X\(//\)[^/]' \| \
89297 X"$ac_file" : 'X\(//\)$' \| \
89298 X"$ac_file" : 'X\(/\)' \| \
89299 . : '\(.\)' 2>/dev/null ||
89300 echo X"$ac_file" |
89301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89302 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89303 /^X\(\/\/\)$/{ s//\1/; q; }
89304 /^X\(\/\).*/{ s//\1/; q; }
89305 s/.*/./; q'`
89306 { if $as_mkdir_p; then
89307 mkdir -p "$ac_dir"
89308 else
89309 as_dir="$ac_dir"
89310 as_dirs=
89311 while test ! -d "$as_dir"; do
89312 as_dirs="$as_dir $as_dirs"
89313 as_dir=`(dirname "$as_dir") 2>/dev/null ||
89314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89315 X"$as_dir" : 'X\(//\)[^/]' \| \
89316 X"$as_dir" : 'X\(//\)$' \| \
89317 X"$as_dir" : 'X\(/\)' \| \
89318 . : '\(.\)' 2>/dev/null ||
89319 echo X"$as_dir" |
89320 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89321 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89322 /^X\(\/\/\)$/{ s//\1/; q; }
89323 /^X\(\/\).*/{ s//\1/; q; }
89324 s/.*/./; q'`
89325 done
89326 test ! -n "$as_dirs" || mkdir $as_dirs
89327 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
89328 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
89329 { (exit 1); exit 1; }; }; }
89331 ac_builddir=.
89333 if test "$ac_dir" != .; then
89334 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
89335 # A "../" for each directory in $ac_dir_suffix.
89336 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
89337 else
89338 ac_dir_suffix= ac_top_builddir=
89341 case $srcdir in
89342 .) # No --srcdir option. We are building in place.
89343 ac_srcdir=.
89344 if test -z "$ac_top_builddir"; then
89345 ac_top_srcdir=.
89346 else
89347 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
89348 fi ;;
89349 [\\/]* | ?:[\\/]* ) # Absolute path.
89350 ac_srcdir=$srcdir$ac_dir_suffix;
89351 ac_top_srcdir=$srcdir ;;
89352 *) # Relative path.
89353 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
89354 ac_top_srcdir=$ac_top_builddir$srcdir ;;
89355 esac
89357 # Do not use `cd foo && pwd` to compute absolute paths, because
89358 # the directories may not exist.
89359 case `pwd` in
89360 .) ac_abs_builddir="$ac_dir";;
89362 case "$ac_dir" in
89363 .) ac_abs_builddir=`pwd`;;
89364 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
89365 *) ac_abs_builddir=`pwd`/"$ac_dir";;
89366 esac;;
89367 esac
89368 case $ac_abs_builddir in
89369 .) ac_abs_top_builddir=${ac_top_builddir}.;;
89371 case ${ac_top_builddir}. in
89372 .) ac_abs_top_builddir=$ac_abs_builddir;;
89373 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
89374 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
89375 esac;;
89376 esac
89377 case $ac_abs_builddir in
89378 .) ac_abs_srcdir=$ac_srcdir;;
89380 case $ac_srcdir in
89381 .) ac_abs_srcdir=$ac_abs_builddir;;
89382 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
89383 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
89384 esac;;
89385 esac
89386 case $ac_abs_builddir in
89387 .) ac_abs_top_srcdir=$ac_top_srcdir;;
89389 case $ac_top_srcdir in
89390 .) ac_abs_top_srcdir=$ac_abs_builddir;;
89391 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
89392 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
89393 esac;;
89394 esac
89397 case $INSTALL in
89398 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
89399 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
89400 esac
89402 if test x"$ac_file" != x-; then
89403 { echo "$as_me:$LINENO: creating $ac_file" >&5
89404 echo "$as_me: creating $ac_file" >&6;}
89405 rm -f "$ac_file"
89407 # Let's still pretend it is `configure' which instantiates (i.e., don't
89408 # use $as_me), people would be surprised to read:
89409 # /* config.h. Generated by config.status. */
89410 if test x"$ac_file" = x-; then
89411 configure_input=
89412 else
89413 configure_input="$ac_file. "
89415 configure_input=$configure_input"Generated from `echo $ac_file_in |
89416 sed 's,.*/,,'` by configure."
89418 # First look for the input files in the build tree, otherwise in the
89419 # src tree.
89420 ac_file_inputs=`IFS=:
89421 for f in $ac_file_in; do
89422 case $f in
89423 -) echo $tmp/stdin ;;
89424 [\\/$]*)
89425 # Absolute (can't be DOS-style, as IFS=:)
89426 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
89427 echo "$as_me: error: cannot find input file: $f" >&2;}
89428 { (exit 1); exit 1; }; }
89429 echo "$f";;
89430 *) # Relative
89431 if test -f "$f"; then
89432 # Build tree
89433 echo "$f"
89434 elif test -f "$srcdir/$f"; then
89435 # Source tree
89436 echo "$srcdir/$f"
89437 else
89438 # /dev/null tree
89439 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
89440 echo "$as_me: error: cannot find input file: $f" >&2;}
89441 { (exit 1); exit 1; }; }
89442 fi;;
89443 esac
89444 done` || { (exit 1); exit 1; }
89445 _ACEOF
89446 cat >>$CONFIG_STATUS <<_ACEOF
89447 sed "$ac_vpsub
89448 $extrasub
89449 _ACEOF
89450 cat >>$CONFIG_STATUS <<\_ACEOF
89452 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
89453 s,@configure_input@,$configure_input,;t t
89454 s,@srcdir@,$ac_srcdir,;t t
89455 s,@abs_srcdir@,$ac_abs_srcdir,;t t
89456 s,@top_srcdir@,$ac_top_srcdir,;t t
89457 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
89458 s,@builddir@,$ac_builddir,;t t
89459 s,@abs_builddir@,$ac_abs_builddir,;t t
89460 s,@top_builddir@,$ac_top_builddir,;t t
89461 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
89462 s,@INSTALL@,$ac_INSTALL,;t t
89463 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
89464 rm -f $tmp/stdin
89465 if test x"$ac_file" != x-; then
89466 mv $tmp/out $ac_file
89467 else
89468 cat $tmp/out
89469 rm -f $tmp/out
89472 # Run the commands associated with the file.
89473 case $ac_file in
89474 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
89475 esac
89476 done
89477 _ACEOF
89478 cat >>$CONFIG_STATUS <<\_ACEOF
89481 # CONFIG_HEADER section.
89484 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
89485 # NAME is the cpp macro being defined and VALUE is the value it is being given.
89487 # ac_d sets the value in "#define NAME VALUE" lines.
89488 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
89489 ac_dB='[ ].*$,\1#\2'
89490 ac_dC=' '
89491 ac_dD=',;t'
89492 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
89493 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
89494 ac_uB='$,\1#\2define\3'
89495 ac_uC=' '
89496 ac_uD=',;t'
89498 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
89499 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
89500 case $ac_file in
89501 - | *:- | *:-:* ) # input from stdin
89502 cat >$tmp/stdin
89503 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89504 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89505 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89506 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89507 * ) ac_file_in=$ac_file.in ;;
89508 esac
89510 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
89511 echo "$as_me: creating $ac_file" >&6;}
89513 # First look for the input files in the build tree, otherwise in the
89514 # src tree.
89515 ac_file_inputs=`IFS=:
89516 for f in $ac_file_in; do
89517 case $f in
89518 -) echo $tmp/stdin ;;
89519 [\\/$]*)
89520 # Absolute (can't be DOS-style, as IFS=:)
89521 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
89522 echo "$as_me: error: cannot find input file: $f" >&2;}
89523 { (exit 1); exit 1; }; }
89524 # Do quote $f, to prevent DOS paths from being IFS'd.
89525 echo "$f";;
89526 *) # Relative
89527 if test -f "$f"; then
89528 # Build tree
89529 echo "$f"
89530 elif test -f "$srcdir/$f"; then
89531 # Source tree
89532 echo "$srcdir/$f"
89533 else
89534 # /dev/null tree
89535 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
89536 echo "$as_me: error: cannot find input file: $f" >&2;}
89537 { (exit 1); exit 1; }; }
89538 fi;;
89539 esac
89540 done` || { (exit 1); exit 1; }
89541 # Remove the trailing spaces.
89542 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
89544 _ACEOF
89546 # Transform confdefs.h into two sed scripts, `conftest.defines' and
89547 # `conftest.undefs', that substitutes the proper values into
89548 # config.h.in to produce config.h. The first handles `#define'
89549 # templates, and the second `#undef' templates.
89550 # And first: Protect against being on the right side of a sed subst in
89551 # config.status. Protect against being in an unquoted here document
89552 # in config.status.
89553 rm -f conftest.defines conftest.undefs
89554 # Using a here document instead of a string reduces the quoting nightmare.
89555 # Putting comments in sed scripts is not portable.
89557 # `end' is used to avoid that the second main sed command (meant for
89558 # 0-ary CPP macros) applies to n-ary macro definitions.
89559 # See the Autoconf documentation for `clear'.
89560 cat >confdef2sed.sed <<\_ACEOF
89561 s/[\\&,]/\\&/g
89562 s,[\\$`],\\&,g
89563 t clear
89564 : clear
89565 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
89566 t end
89567 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
89568 : end
89569 _ACEOF
89570 # If some macros were called several times there might be several times
89571 # the same #defines, which is useless. Nevertheless, we may not want to
89572 # sort them, since we want the *last* AC-DEFINE to be honored.
89573 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
89574 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
89575 rm -f confdef2sed.sed
89577 # This sed command replaces #undef with comments. This is necessary, for
89578 # example, in the case of _POSIX_SOURCE, which is predefined and required
89579 # on some systems where configure will not decide to define it.
89580 cat >>conftest.undefs <<\_ACEOF
89581 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
89582 _ACEOF
89584 # Break up conftest.defines because some shells have a limit on the size
89585 # of here documents, and old seds have small limits too (100 cmds).
89586 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
89587 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
89588 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
89589 echo ' :' >>$CONFIG_STATUS
89590 rm -f conftest.tail
89591 while grep . conftest.defines >/dev/null
89593 # Write a limited-size here document to $tmp/defines.sed.
89594 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
89595 # Speed up: don't consider the non `#define' lines.
89596 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
89597 # Work around the forget-to-reset-the-flag bug.
89598 echo 't clr' >>$CONFIG_STATUS
89599 echo ': clr' >>$CONFIG_STATUS
89600 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
89601 echo 'CEOF
89602 sed -f $tmp/defines.sed $tmp/in >$tmp/out
89603 rm -f $tmp/in
89604 mv $tmp/out $tmp/in
89605 ' >>$CONFIG_STATUS
89606 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
89607 rm -f conftest.defines
89608 mv conftest.tail conftest.defines
89609 done
89610 rm -f conftest.defines
89611 echo ' fi # grep' >>$CONFIG_STATUS
89612 echo >>$CONFIG_STATUS
89614 # Break up conftest.undefs because some shells have a limit on the size
89615 # of here documents, and old seds have small limits too (100 cmds).
89616 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
89617 rm -f conftest.tail
89618 while grep . conftest.undefs >/dev/null
89620 # Write a limited-size here document to $tmp/undefs.sed.
89621 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
89622 # Speed up: don't consider the non `#undef'
89623 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
89624 # Work around the forget-to-reset-the-flag bug.
89625 echo 't clr' >>$CONFIG_STATUS
89626 echo ': clr' >>$CONFIG_STATUS
89627 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
89628 echo 'CEOF
89629 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
89630 rm -f $tmp/in
89631 mv $tmp/out $tmp/in
89632 ' >>$CONFIG_STATUS
89633 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
89634 rm -f conftest.undefs
89635 mv conftest.tail conftest.undefs
89636 done
89637 rm -f conftest.undefs
89639 cat >>$CONFIG_STATUS <<\_ACEOF
89640 # Let's still pretend it is `configure' which instantiates (i.e., don't
89641 # use $as_me), people would be surprised to read:
89642 # /* config.h. Generated by config.status. */
89643 if test x"$ac_file" = x-; then
89644 echo "/* Generated by configure. */" >$tmp/config.h
89645 else
89646 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
89648 cat $tmp/in >>$tmp/config.h
89649 rm -f $tmp/in
89650 if test x"$ac_file" != x-; then
89651 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
89652 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
89653 echo "$as_me: $ac_file is unchanged" >&6;}
89654 else
89655 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
89656 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89657 X"$ac_file" : 'X\(//\)[^/]' \| \
89658 X"$ac_file" : 'X\(//\)$' \| \
89659 X"$ac_file" : 'X\(/\)' \| \
89660 . : '\(.\)' 2>/dev/null ||
89661 echo X"$ac_file" |
89662 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89663 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89664 /^X\(\/\/\)$/{ s//\1/; q; }
89665 /^X\(\/\).*/{ s//\1/; q; }
89666 s/.*/./; q'`
89667 { if $as_mkdir_p; then
89668 mkdir -p "$ac_dir"
89669 else
89670 as_dir="$ac_dir"
89671 as_dirs=
89672 while test ! -d "$as_dir"; do
89673 as_dirs="$as_dir $as_dirs"
89674 as_dir=`(dirname "$as_dir") 2>/dev/null ||
89675 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89676 X"$as_dir" : 'X\(//\)[^/]' \| \
89677 X"$as_dir" : 'X\(//\)$' \| \
89678 X"$as_dir" : 'X\(/\)' \| \
89679 . : '\(.\)' 2>/dev/null ||
89680 echo X"$as_dir" |
89681 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89682 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89683 /^X\(\/\/\)$/{ s//\1/; q; }
89684 /^X\(\/\).*/{ s//\1/; q; }
89685 s/.*/./; q'`
89686 done
89687 test ! -n "$as_dirs" || mkdir $as_dirs
89688 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
89689 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
89690 { (exit 1); exit 1; }; }; }
89692 rm -f $ac_file
89693 mv $tmp/config.h $ac_file
89695 else
89696 cat $tmp/config.h
89697 rm -f $tmp/config.h
89699 # Compute $ac_file's index in $config_headers.
89700 _am_stamp_count=1
89701 for _am_header in $config_headers :; do
89702 case $_am_header in
89703 $ac_file | $ac_file:* )
89704 break ;;
89706 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
89707 esac
89708 done
89709 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
89710 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89711 X$ac_file : 'X\(//\)[^/]' \| \
89712 X$ac_file : 'X\(//\)$' \| \
89713 X$ac_file : 'X\(/\)' \| \
89714 . : '\(.\)' 2>/dev/null ||
89715 echo X$ac_file |
89716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89718 /^X\(\/\/\)$/{ s//\1/; q; }
89719 /^X\(\/\).*/{ s//\1/; q; }
89720 s/.*/./; q'`/stamp-h$_am_stamp_count
89721 done
89722 _ACEOF
89723 cat >>$CONFIG_STATUS <<\_ACEOF
89726 # CONFIG_COMMANDS section.
89728 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
89729 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
89730 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
89731 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
89732 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89733 X"$ac_dest" : 'X\(//\)[^/]' \| \
89734 X"$ac_dest" : 'X\(//\)$' \| \
89735 X"$ac_dest" : 'X\(/\)' \| \
89736 . : '\(.\)' 2>/dev/null ||
89737 echo X"$ac_dest" |
89738 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89739 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89740 /^X\(\/\/\)$/{ s//\1/; q; }
89741 /^X\(\/\).*/{ s//\1/; q; }
89742 s/.*/./; q'`
89743 { if $as_mkdir_p; then
89744 mkdir -p "$ac_dir"
89745 else
89746 as_dir="$ac_dir"
89747 as_dirs=
89748 while test ! -d "$as_dir"; do
89749 as_dirs="$as_dir $as_dirs"
89750 as_dir=`(dirname "$as_dir") 2>/dev/null ||
89751 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89752 X"$as_dir" : 'X\(//\)[^/]' \| \
89753 X"$as_dir" : 'X\(//\)$' \| \
89754 X"$as_dir" : 'X\(/\)' \| \
89755 . : '\(.\)' 2>/dev/null ||
89756 echo X"$as_dir" |
89757 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89758 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89759 /^X\(\/\/\)$/{ s//\1/; q; }
89760 /^X\(\/\).*/{ s//\1/; q; }
89761 s/.*/./; q'`
89762 done
89763 test ! -n "$as_dirs" || mkdir $as_dirs
89764 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
89765 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
89766 { (exit 1); exit 1; }; }; }
89768 ac_builddir=.
89770 if test "$ac_dir" != .; then
89771 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
89772 # A "../" for each directory in $ac_dir_suffix.
89773 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
89774 else
89775 ac_dir_suffix= ac_top_builddir=
89778 case $srcdir in
89779 .) # No --srcdir option. We are building in place.
89780 ac_srcdir=.
89781 if test -z "$ac_top_builddir"; then
89782 ac_top_srcdir=.
89783 else
89784 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
89785 fi ;;
89786 [\\/]* | ?:[\\/]* ) # Absolute path.
89787 ac_srcdir=$srcdir$ac_dir_suffix;
89788 ac_top_srcdir=$srcdir ;;
89789 *) # Relative path.
89790 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
89791 ac_top_srcdir=$ac_top_builddir$srcdir ;;
89792 esac
89794 # Do not use `cd foo && pwd` to compute absolute paths, because
89795 # the directories may not exist.
89796 case `pwd` in
89797 .) ac_abs_builddir="$ac_dir";;
89799 case "$ac_dir" in
89800 .) ac_abs_builddir=`pwd`;;
89801 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
89802 *) ac_abs_builddir=`pwd`/"$ac_dir";;
89803 esac;;
89804 esac
89805 case $ac_abs_builddir in
89806 .) ac_abs_top_builddir=${ac_top_builddir}.;;
89808 case ${ac_top_builddir}. in
89809 .) ac_abs_top_builddir=$ac_abs_builddir;;
89810 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
89811 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
89812 esac;;
89813 esac
89814 case $ac_abs_builddir in
89815 .) ac_abs_srcdir=$ac_srcdir;;
89817 case $ac_srcdir in
89818 .) ac_abs_srcdir=$ac_abs_builddir;;
89819 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
89820 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
89821 esac;;
89822 esac
89823 case $ac_abs_builddir in
89824 .) ac_abs_top_srcdir=$ac_top_srcdir;;
89826 case $ac_top_srcdir in
89827 .) ac_abs_top_srcdir=$ac_abs_builddir;;
89828 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
89829 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
89830 esac;;
89831 esac
89834 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
89835 echo "$as_me: executing $ac_dest commands" >&6;}
89836 case $ac_dest in
89837 default-1 )
89838 # Only add multilib support code if we just rebuilt the top-level
89839 # Makefile.
89840 case " $CONFIG_FILES " in
89841 *" Makefile "*)
89842 ac_file=Makefile . ${multi_basedir}/config-ml.in
89844 esac ;;
89845 default ) if test -n "$CONFIG_FILES"; then
89846 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
89847 # that multilib installs will end up installed in the correct place.
89848 # The testsuite needs it for multilib-aware ABI baseline files.
89849 # To work around this not being passed down from config-ml.in ->
89850 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
89851 # append it here. Only modify Makefiles that have just been created.
89853 # Also, get rid of this simulated-VPATH thing that automake does.
89854 cat > vpsed << \_EOF
89855 s!`test -f '$<' || echo '$(srcdir)/'`!!
89856 _EOF
89857 for i in $SUBDIRS; do
89858 case $CONFIG_FILES in
89859 *${i}/Makefile*)
89860 #echo "Adding MULTISUBDIR to $i/Makefile"
89861 sed -f vpsed $i/Makefile > tmp
89862 grep '^MULTISUBDIR =' Makefile >> tmp
89863 mv tmp $i/Makefile
89865 esac
89866 done
89867 rm vpsed
89869 (cd include && ${MAKE-make})
89871 esac
89872 done
89873 _ACEOF
89875 cat >>$CONFIG_STATUS <<\_ACEOF
89877 { (exit 0); exit 0; }
89878 _ACEOF
89879 chmod +x $CONFIG_STATUS
89880 ac_clean_files=$ac_clean_files_save
89883 # configure is writing to config.log, and then calls config.status.
89884 # config.status does its own redirection, appending to config.log.
89885 # Unfortunately, on DOS this fails, as config.log is still kept open
89886 # by configure, so config.status won't be able to write to it; its
89887 # output is simply discarded. So we exec the FD to /dev/null,
89888 # effectively closing config.log, so it can be properly (re)opened and
89889 # appended to by config.status. When coming back to configure, we
89890 # need to make the FD available again.
89891 if test "$no_create" != yes; then
89892 ac_cs_success=:
89893 ac_config_status_args=
89894 test "$silent" = yes &&
89895 ac_config_status_args="$ac_config_status_args --quiet"
89896 exec 5>/dev/null
89897 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
89898 exec 5>>config.log
89899 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
89900 # would make configure fail if this is the last instruction.
89901 $ac_cs_success || { (exit 1); exit 1; }