2005-12-29 Paul Brook <paul@codesourcery.com>
[official-gcc.git] / libstdc++-v3 / configure
blobb5fbb5bbc7684f213d1f680352d36d2e5de773da
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_FILE port_specific_symbol_files ENABLE_SYMVERS_TRUE ENABLE_SYMVERS_FALSE ENABLE_SYMVERS_GNU_TRUE ENABLE_SYMVERS_GNU_FALSE ENABLE_SYMVERS_GNU_NAMESPACE_TRUE ENABLE_SYMVERS_GNU_NAMESPACE_FALSE ENABLE_SYMVERS_DARWIN_TRUE ENABLE_SYMVERS_DARWIN_FALSE baseline_dir ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR CPU_DEFINES_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
313 ac_subst_files=''
315 # Initialize some variables set by options.
316 ac_init_help=
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
320 cache_file=/dev/null
321 exec_prefix=NONE
322 no_create=
323 no_recursion=
324 prefix=NONE
325 program_prefix=NONE
326 program_suffix=NONE
327 program_transform_name=s,x,x,
328 silent=
329 site=
330 srcdir=
331 verbose=
332 x_includes=NONE
333 x_libraries=NONE
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
353 ac_prev=
354 for ac_option
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
359 ac_prev=
360 continue
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
367 case $ac_option in
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 ac_prev=bindir ;;
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372 bindir=$ac_optarg ;;
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
386 --config-cache | -C)
387 cache_file=config.cache ;;
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 ac_prev=datadir ;;
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 | --da=*)
393 datadir=$ac_optarg ;;
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411 case $ac_option in
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413 *) ac_optarg=yes ;;
414 esac
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
428 with_gas=yes ;;
430 -help | --help | --hel | --he | -h)
431 ac_init_help=long ;;
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 ac_prev=infodir ;;
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
455 ac_prev=libdir ;;
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
457 libdir=$ac_optarg ;;
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 ac_prev=mandir ;;
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478 mandir=$ac_optarg ;;
480 -nfp | --nfp | --nf)
481 # Obsolete; use --without-fp.
482 with_fp=no ;;
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
486 no_create=yes ;;
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490 no_recursion=yes ;;
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 ac_prev=prefix ;;
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504 prefix=$ac_optarg ;;
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
539 silent=yes ;;
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 ac_prev=sbindir ;;
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 | --sbi=* | --sb=*)
545 sbindir=$ac_optarg ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
550 | --sha | --sh)
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 | --sha=* | --sh=*)
556 sharedstatedir=$ac_optarg ;;
558 -site | --site | --sit)
559 ac_prev=site ;;
560 -site=* | --site=* | --sit=*)
561 site=$ac_optarg ;;
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 ac_prev=srcdir ;;
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566 srcdir=$ac_optarg ;;
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
581 verbose=yes ;;
583 -version | --version | --versio | --versi | --vers | -V)
584 ac_init_version=: ;;
586 -with-* | --with-*)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
593 case $ac_option in
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595 *) ac_optarg=yes ;;
596 esac
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
608 --x)
609 # Obsolete; use --with-x.
610 with_x=yes ;;
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
631 *=*)
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
639 export $ac_envvar ;;
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
649 esac
650 done
652 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
661 eval ac_val=$`echo $ac_var`
662 case $ac_val in
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
666 esac
667 done
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val=$`echo $ac_var`
674 case $ac_val in
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
678 esac
679 done
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
684 build=$build_alias
685 host=$host_alias
686 target=$target_alias
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
695 cross_compiling=yes
699 ac_tool_prefix=
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
715 echo X"$0" |
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
720 s/.*/./; q'`
721 srcdir=$ac_confdir
722 if test ! -r $srcdir/$ac_unique_file; then
723 srcdir=..
725 else
726 ac_srcdir_defaulted=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
732 else
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_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 _g_switchUse thread-local storage
891 [default=yes]
892 --enable-symvers=STYLE enables symbol versioning of the shared library
893 [default=yes]
894 --enable-version-specific-runtime-libs
895 Specify that runtime libraries should be installed
896 in a compiler-specific directory
898 Optional Packages:
899 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
900 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
901 --with-target-subdir=SUBDIR
902 configuring in a subdirectory
903 --with-cross-host=HOST configuring with a cross compiler
904 --with-newlib assume newlib as a system C library
905 --with-gnu-ld assume the C compiler uses GNU ld default=no
906 --with-pic try to use only PIC/non-PIC objects default=use both
907 --with-gxx-include-dir=DIR
908 installation directory for include files
910 Some influential environment variables:
911 CC C compiler command
912 CFLAGS C compiler flags
913 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
914 nonstandard directory <lib dir>
915 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
916 headers in a nonstandard directory <include dir>
917 CXX C++ compiler command
918 CXXFLAGS C++ compiler flags
919 CXXCPP C++ preprocessor
920 CPP C preprocessor
922 Use these variables to override the choices made by `configure' or to help
923 it to find libraries and programs with nonstandard names/locations.
925 _ACEOF
928 if test "$ac_init_help" = "recursive"; then
929 # If there are subdirs, report their specific --help.
930 ac_popdir=`pwd`
931 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
932 test -d $ac_dir || continue
933 ac_builddir=.
935 if test "$ac_dir" != .; then
936 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
937 # A "../" for each directory in $ac_dir_suffix.
938 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
939 else
940 ac_dir_suffix= ac_top_builddir=
943 case $srcdir in
944 .) # No --srcdir option. We are building in place.
945 ac_srcdir=.
946 if test -z "$ac_top_builddir"; then
947 ac_top_srcdir=.
948 else
949 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
950 fi ;;
951 [\\/]* | ?:[\\/]* ) # Absolute path.
952 ac_srcdir=$srcdir$ac_dir_suffix;
953 ac_top_srcdir=$srcdir ;;
954 *) # Relative path.
955 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
956 ac_top_srcdir=$ac_top_builddir$srcdir ;;
957 esac
959 # Do not use `cd foo && pwd` to compute absolute paths, because
960 # the directories may not exist.
961 case `pwd` in
962 .) ac_abs_builddir="$ac_dir";;
964 case "$ac_dir" in
965 .) ac_abs_builddir=`pwd`;;
966 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
967 *) ac_abs_builddir=`pwd`/"$ac_dir";;
968 esac;;
969 esac
970 case $ac_abs_builddir in
971 .) ac_abs_top_builddir=${ac_top_builddir}.;;
973 case ${ac_top_builddir}. in
974 .) ac_abs_top_builddir=$ac_abs_builddir;;
975 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
976 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
977 esac;;
978 esac
979 case $ac_abs_builddir in
980 .) ac_abs_srcdir=$ac_srcdir;;
982 case $ac_srcdir in
983 .) ac_abs_srcdir=$ac_abs_builddir;;
984 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
985 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
986 esac;;
987 esac
988 case $ac_abs_builddir in
989 .) ac_abs_top_srcdir=$ac_top_srcdir;;
991 case $ac_top_srcdir in
992 .) ac_abs_top_srcdir=$ac_abs_builddir;;
993 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
994 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
995 esac;;
996 esac
998 cd $ac_dir
999 # Check for guested configure; otherwise get Cygnus style configure.
1000 if test -f $ac_srcdir/configure.gnu; then
1001 echo
1002 $SHELL $ac_srcdir/configure.gnu --help=recursive
1003 elif test -f $ac_srcdir/configure; then
1004 echo
1005 $SHELL $ac_srcdir/configure --help=recursive
1006 elif test -f $ac_srcdir/configure.ac ||
1007 test -f $ac_srcdir/configure.in; then
1008 echo
1009 $ac_configure --help
1010 else
1011 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1013 cd $ac_popdir
1014 done
1017 test -n "$ac_init_help" && exit 0
1018 if $ac_init_version; then
1019 cat <<\_ACEOF
1020 package-unused configure version-unused
1021 generated by GNU Autoconf 2.59
1023 Copyright (C) 2003 Free Software Foundation, Inc.
1024 This configure script is free software; the Free Software Foundation
1025 gives unlimited permission to copy, distribute and modify it.
1026 _ACEOF
1027 exit 0
1029 exec 5>config.log
1030 cat >&5 <<_ACEOF
1031 This file contains any messages produced by compilers while
1032 running configure, to aid debugging if configure makes a mistake.
1034 It was created by package-unused $as_me version-unused, which was
1035 generated by GNU Autoconf 2.59. Invocation command line was
1037 $ $0 $@
1039 _ACEOF
1041 cat <<_ASUNAME
1042 ## --------- ##
1043 ## Platform. ##
1044 ## --------- ##
1046 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1047 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1048 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1049 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1050 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1052 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1053 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1055 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1056 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1057 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1058 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1059 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1060 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1061 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1063 _ASUNAME
1065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1066 for as_dir in $PATH
1068 IFS=$as_save_IFS
1069 test -z "$as_dir" && as_dir=.
1070 echo "PATH: $as_dir"
1071 done
1073 } >&5
1075 cat >&5 <<_ACEOF
1078 ## ----------- ##
1079 ## Core tests. ##
1080 ## ----------- ##
1082 _ACEOF
1085 # Keep a trace of the command line.
1086 # Strip out --no-create and --no-recursion so they do not pile up.
1087 # Strip out --silent because we don't want to record it for future runs.
1088 # Also quote any args containing shell meta-characters.
1089 # Make two passes to allow for proper duplicate-argument suppression.
1090 ac_configure_args=
1091 ac_configure_args0=
1092 ac_configure_args1=
1093 ac_sep=
1094 ac_must_keep_next=false
1095 for ac_pass in 1 2
1097 for ac_arg
1099 case $ac_arg in
1100 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1101 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1102 | -silent | --silent | --silen | --sile | --sil)
1103 continue ;;
1104 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1105 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1106 esac
1107 case $ac_pass in
1108 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1110 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1111 if test $ac_must_keep_next = true; then
1112 ac_must_keep_next=false # Got value, back to normal.
1113 else
1114 case $ac_arg in
1115 *=* | --config-cache | -C | -disable-* | --disable-* \
1116 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1117 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1118 | -with-* | --with-* | -without-* | --without-* | --x)
1119 case "$ac_configure_args0 " in
1120 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1121 esac
1123 -* ) ac_must_keep_next=true ;;
1124 esac
1126 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1127 # Get rid of the leading space.
1128 ac_sep=" "
1130 esac
1131 done
1132 done
1133 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1134 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1136 # When interrupted or exit'd, cleanup temporary files, and complete
1137 # config.log. We remove comments because anyway the quotes in there
1138 # would cause problems or look ugly.
1139 # WARNING: Be sure not to use single quotes in there, as some shells,
1140 # such as our DU 5.0 friend, will then `close' the trap.
1141 trap 'exit_status=$?
1142 # Save into config.log some information that might help in debugging.
1144 echo
1146 cat <<\_ASBOX
1147 ## ---------------- ##
1148 ## Cache variables. ##
1149 ## ---------------- ##
1150 _ASBOX
1151 echo
1152 # The following way of writing the cache mishandles newlines in values,
1154 (set) 2>&1 |
1155 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1156 *ac_space=\ *)
1157 sed -n \
1158 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1159 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1162 sed -n \
1163 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1165 esac;
1167 echo
1169 cat <<\_ASBOX
1170 ## ----------------- ##
1171 ## Output variables. ##
1172 ## ----------------- ##
1173 _ASBOX
1174 echo
1175 for ac_var in $ac_subst_vars
1177 eval ac_val=$`echo $ac_var`
1178 echo "$ac_var='"'"'$ac_val'"'"'"
1179 done | sort
1180 echo
1182 if test -n "$ac_subst_files"; then
1183 cat <<\_ASBOX
1184 ## ------------- ##
1185 ## Output files. ##
1186 ## ------------- ##
1187 _ASBOX
1188 echo
1189 for ac_var in $ac_subst_files
1191 eval ac_val=$`echo $ac_var`
1192 echo "$ac_var='"'"'$ac_val'"'"'"
1193 done | sort
1194 echo
1197 if test -s confdefs.h; then
1198 cat <<\_ASBOX
1199 ## ----------- ##
1200 ## confdefs.h. ##
1201 ## ----------- ##
1202 _ASBOX
1203 echo
1204 sed "/^$/d" confdefs.h | sort
1205 echo
1207 test "$ac_signal" != 0 &&
1208 echo "$as_me: caught signal $ac_signal"
1209 echo "$as_me: exit $exit_status"
1210 } >&5
1211 rm -f core *.core &&
1212 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1213 exit $exit_status
1215 for ac_signal in 1 2 13 15; do
1216 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1217 done
1218 ac_signal=0
1220 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1221 rm -rf conftest* confdefs.h
1222 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1223 echo >confdefs.h
1225 # Predefined preprocessor variables.
1227 cat >>confdefs.h <<_ACEOF
1228 #define PACKAGE_NAME "$PACKAGE_NAME"
1229 _ACEOF
1232 cat >>confdefs.h <<_ACEOF
1233 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1234 _ACEOF
1237 cat >>confdefs.h <<_ACEOF
1238 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1239 _ACEOF
1242 cat >>confdefs.h <<_ACEOF
1243 #define PACKAGE_STRING "$PACKAGE_STRING"
1244 _ACEOF
1247 cat >>confdefs.h <<_ACEOF
1248 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1249 _ACEOF
1252 # Let the site file select an alternate cache file if it wants to.
1253 # Prefer explicitly selected file to automatically selected ones.
1254 if test -z "$CONFIG_SITE"; then
1255 if test "x$prefix" != xNONE; then
1256 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1257 else
1258 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1261 for ac_site_file in $CONFIG_SITE; do
1262 if test -r "$ac_site_file"; then
1263 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1264 echo "$as_me: loading site script $ac_site_file" >&6;}
1265 sed 's/^/| /' "$ac_site_file" >&5
1266 . "$ac_site_file"
1268 done
1270 if test -r "$cache_file"; then
1271 # Some versions of bash will fail to source /dev/null (special
1272 # files actually), so we avoid doing that.
1273 if test -f "$cache_file"; then
1274 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1275 echo "$as_me: loading cache $cache_file" >&6;}
1276 case $cache_file in
1277 [\\/]* | ?:[\\/]* ) . $cache_file;;
1278 *) . ./$cache_file;;
1279 esac
1281 else
1282 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1283 echo "$as_me: creating cache $cache_file" >&6;}
1284 >$cache_file
1287 # Check that the precious variables saved in the cache have kept the same
1288 # value.
1289 ac_cache_corrupted=false
1290 for ac_var in `(set) 2>&1 |
1291 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1292 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1293 eval ac_new_set=\$ac_env_${ac_var}_set
1294 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1295 eval ac_new_val="\$ac_env_${ac_var}_value"
1296 case $ac_old_set,$ac_new_set in
1297 set,)
1298 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1299 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1300 ac_cache_corrupted=: ;;
1301 ,set)
1302 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1303 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1304 ac_cache_corrupted=: ;;
1305 ,);;
1307 if test "x$ac_old_val" != "x$ac_new_val"; then
1308 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1309 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1310 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1311 echo "$as_me: former value: $ac_old_val" >&2;}
1312 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1313 echo "$as_me: current value: $ac_new_val" >&2;}
1314 ac_cache_corrupted=:
1315 fi;;
1316 esac
1317 # Pass precious variables to config.status.
1318 if test "$ac_new_set" = set; then
1319 case $ac_new_val in
1320 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1321 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1322 *) ac_arg=$ac_var=$ac_new_val ;;
1323 esac
1324 case " $ac_configure_args " in
1325 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1326 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1327 esac
1329 done
1330 if $ac_cache_corrupted; then
1331 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1332 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1333 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1334 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1335 { (exit 1); exit 1; }; }
1338 ac_ext=c
1339 ac_cpp='$CPP $CPPFLAGS'
1340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1371 ac_config_headers="$ac_config_headers config.h"
1374 # This works around the fact that libtool configuration may change LD
1375 # for this particular configuration, but some shells, instead of
1376 # keeping the changes in LD private, export them just because LD is
1377 # exported. Only used at the end of this file.
1378 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1380 # For libtool versioning info, format is CURRENT:REVISION:AGE
1381 libtool_VERSION=6:7:0
1384 # Find the rest of the source tree framework.
1385 # Default to --enable-multilib
1386 # Check whether --enable-multilib or --disable-multilib was given.
1387 if test "${enable_multilib+set}" = set; then
1388 enableval="$enable_multilib"
1389 case "$enableval" in
1390 yes) multilib=yes ;;
1391 no) multilib=no ;;
1392 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1393 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1394 { (exit 1); exit 1; }; } ;;
1395 esac
1396 else
1397 multilib=yes
1400 # We may get other options which we leave undocumented:
1401 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1402 # See config-ml.in if you want the gory details.
1404 if test "$srcdir" = "."; then
1405 if test "$with_target_subdir" != "."; then
1406 multi_basedir="$srcdir/$with_multisrctop../.."
1407 else
1408 multi_basedir="$srcdir/$with_multisrctop.."
1410 else
1411 multi_basedir="$srcdir/.."
1415 ac_config_commands="$ac_config_commands default-1"
1418 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1420 # You will slowly go insane if you do not grok the following fact: when
1421 # building v3 as part of the compiler, the top-level /target/ becomes the
1422 # library's /host/. configure then causes --target to default to --host,
1423 # exactly like any other package using autoconf. Therefore, 'target' and
1424 # 'host' will always be the same. This makes sense both for native and
1425 # cross compilers, just think about it for a little while. :-)
1427 # Also, if v3 is being configured as part of a cross compiler, the top-level
1428 # configure script will pass the "real" host as $with_cross_host.
1430 # Do not delete or change the following two lines. For why, see
1431 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1432 ac_aux_dir=
1433 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1434 if test -f $ac_dir/install-sh; then
1435 ac_aux_dir=$ac_dir
1436 ac_install_sh="$ac_aux_dir/install-sh -c"
1437 break
1438 elif test -f $ac_dir/install.sh; then
1439 ac_aux_dir=$ac_dir
1440 ac_install_sh="$ac_aux_dir/install.sh -c"
1441 break
1442 elif test -f $ac_dir/shtool; then
1443 ac_aux_dir=$ac_dir
1444 ac_install_sh="$ac_aux_dir/shtool install -c"
1445 break
1447 done
1448 if test -z "$ac_aux_dir"; then
1449 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1450 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1451 { (exit 1); exit 1; }; }
1453 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1454 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1455 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1457 # Make sure we can run config.sub.
1458 $ac_config_sub sun4 >/dev/null 2>&1 ||
1459 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1460 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1461 { (exit 1); exit 1; }; }
1463 echo "$as_me:$LINENO: checking build system type" >&5
1464 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1465 if test "${ac_cv_build+set}" = set; then
1466 echo $ECHO_N "(cached) $ECHO_C" >&6
1467 else
1468 ac_cv_build_alias=$build_alias
1469 test -z "$ac_cv_build_alias" &&
1470 ac_cv_build_alias=`$ac_config_guess`
1471 test -z "$ac_cv_build_alias" &&
1472 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1473 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1474 { (exit 1); exit 1; }; }
1475 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1476 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1477 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1478 { (exit 1); exit 1; }; }
1481 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1482 echo "${ECHO_T}$ac_cv_build" >&6
1483 build=$ac_cv_build
1484 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1485 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1486 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1489 echo "$as_me:$LINENO: checking host system type" >&5
1490 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1491 if test "${ac_cv_host+set}" = set; then
1492 echo $ECHO_N "(cached) $ECHO_C" >&6
1493 else
1494 ac_cv_host_alias=$host_alias
1495 test -z "$ac_cv_host_alias" &&
1496 ac_cv_host_alias=$ac_cv_build_alias
1497 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1498 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1499 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1500 { (exit 1); exit 1; }; }
1503 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1504 echo "${ECHO_T}$ac_cv_host" >&6
1505 host=$ac_cv_host
1506 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1507 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1508 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1511 echo "$as_me:$LINENO: checking target system type" >&5
1512 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1513 if test "${ac_cv_target+set}" = set; then
1514 echo $ECHO_N "(cached) $ECHO_C" >&6
1515 else
1516 ac_cv_target_alias=$target_alias
1517 test "x$ac_cv_target_alias" = "x" &&
1518 ac_cv_target_alias=$ac_cv_host_alias
1519 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1520 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1521 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1522 { (exit 1); exit 1; }; }
1525 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1526 echo "${ECHO_T}$ac_cv_target" >&6
1527 target=$ac_cv_target
1528 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1529 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1530 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1533 # The aliases save the names the user supplied, while $host etc.
1534 # will get canonicalized.
1535 test -n "$target_alias" &&
1536 test "$program_prefix$program_suffix$program_transform_name" = \
1537 NONENONEs,x,x, &&
1538 program_prefix=${target_alias}-
1539 target_alias=${target_alias-$host_alias}
1541 # Handy for debugging:
1542 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1544 if test "$build" != "$host"; then
1545 # We are being configured with some form of cross compiler.
1546 GLIBCXX_IS_NATIVE=false
1547 case "$host","$target" in
1548 # Darwin crosses can use the host system's libraries and headers,
1549 # because of the fat library support. Of course, it must be the
1550 # same version of Darwin on both sides. Allow the user to
1551 # just say --target=foo-darwin without a version number to mean
1552 # "the version on this system".
1553 *-*-darwin*,*-*-darwin*)
1554 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1555 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1556 if test $hostos = $targetos -o $targetos = darwin ; then
1557 GLIBCXX_IS_NATIVE=true
1564 esac
1565 else
1566 GLIBCXX_IS_NATIVE=true
1569 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1570 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1571 # 1.x: minimum required version
1572 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1573 # of other PACKAGE_* variables will, however, and there's nothing
1574 # we can do about that; they come from AC_INIT).
1575 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1576 # file in the top srcdir, etc, etc), so stop complaining.
1577 # no-dependencies: turns off auto dependency generation (just for now)
1578 # -Wall: turns on all automake warnings...
1579 # -Wno-portability: ...except this one, since GNU make is now required.
1580 am__api_version="1.9"
1581 # Find a good install program. We prefer a C program (faster),
1582 # so one script is as good as another. But avoid the broken or
1583 # incompatible versions:
1584 # SysV /etc/install, /usr/sbin/install
1585 # SunOS /usr/etc/install
1586 # IRIX /sbin/install
1587 # AIX /bin/install
1588 # AmigaOS /C/install, which installs bootblocks on floppy discs
1589 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1590 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1591 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1592 # OS/2's system install, which has a completely different semantic
1593 # ./install, which can be erroneously created by make from ./install.sh.
1594 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1595 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1596 if test -z "$INSTALL"; then
1597 if test "${ac_cv_path_install+set}" = set; then
1598 echo $ECHO_N "(cached) $ECHO_C" >&6
1599 else
1600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1601 for as_dir in $PATH
1603 IFS=$as_save_IFS
1604 test -z "$as_dir" && as_dir=.
1605 # Account for people who put trailing slashes in PATH elements.
1606 case $as_dir/ in
1607 ./ | .// | /cC/* | \
1608 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1609 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1610 /usr/ucb/* ) ;;
1612 # OSF1 and SCO ODT 3.0 have their own names for install.
1613 # Don't use installbsd from OSF since it installs stuff as root
1614 # by default.
1615 for ac_prog in ginstall scoinst install; do
1616 for ac_exec_ext in '' $ac_executable_extensions; do
1617 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1618 if test $ac_prog = install &&
1619 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1620 # AIX install. It has an incompatible calling convention.
1622 elif test $ac_prog = install &&
1623 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1624 # program-specific install script used by HP pwplus--don't use.
1626 else
1627 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1628 break 3
1631 done
1632 done
1634 esac
1635 done
1639 if test "${ac_cv_path_install+set}" = set; then
1640 INSTALL=$ac_cv_path_install
1641 else
1642 # As a last resort, use the slow shell script. We don't cache a
1643 # path for INSTALL within a source directory, because that will
1644 # break other packages using the cache if that directory is
1645 # removed, or if the path is relative.
1646 INSTALL=$ac_install_sh
1649 echo "$as_me:$LINENO: result: $INSTALL" >&5
1650 echo "${ECHO_T}$INSTALL" >&6
1652 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1653 # It thinks the first close brace ends the variable substitution.
1654 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1656 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1658 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1660 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1661 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1662 # Just in case
1663 sleep 1
1664 echo timestamp > conftest.file
1665 # Do `set' in a subshell so we don't clobber the current shell's
1666 # arguments. Must try -L first in case configure is actually a
1667 # symlink; some systems play weird games with the mod time of symlinks
1668 # (eg FreeBSD returns the mod time of the symlink's containing
1669 # directory).
1670 if (
1671 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1672 if test "$*" = "X"; then
1673 # -L didn't work.
1674 set X `ls -t $srcdir/configure conftest.file`
1676 rm -f conftest.file
1677 if test "$*" != "X $srcdir/configure conftest.file" \
1678 && test "$*" != "X conftest.file $srcdir/configure"; then
1680 # If neither matched, then we have a broken ls. This can happen
1681 # if, for instance, CONFIG_SHELL is bash and it inherits a
1682 # broken ls alias from the environment. This has actually
1683 # happened. Such a system could not be considered "sane".
1684 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1685 alias in your environment" >&5
1686 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1687 alias in your environment" >&2;}
1688 { (exit 1); exit 1; }; }
1691 test "$2" = conftest.file
1693 then
1694 # Ok.
1696 else
1697 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1698 Check your system clock" >&5
1699 echo "$as_me: error: newly created file is older than distributed files!
1700 Check your system clock" >&2;}
1701 { (exit 1); exit 1; }; }
1703 echo "$as_me:$LINENO: result: yes" >&5
1704 echo "${ECHO_T}yes" >&6
1705 test "$program_prefix" != NONE &&
1706 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1707 # Use a double $ so make ignores it.
1708 test "$program_suffix" != NONE &&
1709 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1710 # Double any \ or $. echo might interpret backslashes.
1711 # By default was `s,x,x', remove it if useless.
1712 cat <<\_ACEOF >conftest.sed
1713 s/[\\$]/&&/g;s/;s,x,x,$//
1714 _ACEOF
1715 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1716 rm conftest.sed
1718 # expand $ac_aux_dir to an absolute path
1719 am_aux_dir=`cd $ac_aux_dir && pwd`
1721 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1722 # Use eval to expand $SHELL
1723 if eval "$MISSING --run true"; then
1724 am_missing_run="$MISSING --run "
1725 else
1726 am_missing_run=
1727 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1728 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1731 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1732 # We used to keeping the `.' as first argument, in order to
1733 # allow $(mkdir_p) to be used without argument. As in
1734 # $(mkdir_p) $(somedir)
1735 # where $(somedir) is conditionally defined. However this is wrong
1736 # for two reasons:
1737 # 1. if the package is installed by a user who cannot write `.'
1738 # make install will fail,
1739 # 2. the above comment should most certainly read
1740 # $(mkdir_p) $(DESTDIR)$(somedir)
1741 # so it does not work when $(somedir) is undefined and
1742 # $(DESTDIR) is not.
1743 # To support the latter case, we have to write
1744 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1745 # so the `.' trick is pointless.
1746 mkdir_p='mkdir -p --'
1747 else
1748 # On NextStep and OpenStep, the `mkdir' command does not
1749 # recognize any option. It will interpret all options as
1750 # directories to create, and then abort because `.' already
1751 # exists.
1752 for d in ./-p ./--version;
1754 test -d $d && rmdir $d
1755 done
1756 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1757 if test -f "$ac_aux_dir/mkinstalldirs"; then
1758 mkdir_p='$(mkinstalldirs)'
1759 else
1760 mkdir_p='$(install_sh) -d'
1764 for ac_prog in gawk mawk nawk awk
1766 # Extract the first word of "$ac_prog", so it can be a program name with args.
1767 set dummy $ac_prog; ac_word=$2
1768 echo "$as_me:$LINENO: checking for $ac_word" >&5
1769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1770 if test "${ac_cv_prog_AWK+set}" = set; then
1771 echo $ECHO_N "(cached) $ECHO_C" >&6
1772 else
1773 if test -n "$AWK"; then
1774 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1775 else
1776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1777 for as_dir in $PATH
1779 IFS=$as_save_IFS
1780 test -z "$as_dir" && as_dir=.
1781 for ac_exec_ext in '' $ac_executable_extensions; do
1782 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1783 ac_cv_prog_AWK="$ac_prog"
1784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1785 break 2
1787 done
1788 done
1792 AWK=$ac_cv_prog_AWK
1793 if test -n "$AWK"; then
1794 echo "$as_me:$LINENO: result: $AWK" >&5
1795 echo "${ECHO_T}$AWK" >&6
1796 else
1797 echo "$as_me:$LINENO: result: no" >&5
1798 echo "${ECHO_T}no" >&6
1801 test -n "$AWK" && break
1802 done
1804 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1805 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1806 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1807 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1808 echo $ECHO_N "(cached) $ECHO_C" >&6
1809 else
1810 cat >conftest.make <<\_ACEOF
1811 all:
1812 @echo 'ac_maketemp="$(MAKE)"'
1813 _ACEOF
1814 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1815 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1816 if test -n "$ac_maketemp"; then
1817 eval ac_cv_prog_make_${ac_make}_set=yes
1818 else
1819 eval ac_cv_prog_make_${ac_make}_set=no
1821 rm -f conftest.make
1823 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1824 echo "$as_me:$LINENO: result: yes" >&5
1825 echo "${ECHO_T}yes" >&6
1826 SET_MAKE=
1827 else
1828 echo "$as_me:$LINENO: result: no" >&5
1829 echo "${ECHO_T}no" >&6
1830 SET_MAKE="MAKE=${MAKE-make}"
1833 rm -rf .tst 2>/dev/null
1834 mkdir .tst 2>/dev/null
1835 if test -d .tst; then
1836 am__leading_dot=.
1837 else
1838 am__leading_dot=_
1840 rmdir .tst 2>/dev/null
1842 # test to see if srcdir already configured
1843 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1844 test -f $srcdir/config.status; then
1845 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1846 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1847 { (exit 1); exit 1; }; }
1850 # test whether we have cygpath
1851 if test -z "$CYGPATH_W"; then
1852 if (cygpath --version) >/dev/null 2>/dev/null; then
1853 CYGPATH_W='cygpath -w'
1854 else
1855 CYGPATH_W=echo
1860 # Define the identity of the package.
1861 PACKAGE='libstdc++'
1862 VERSION='version-unused'
1865 # Some tools Automake needs.
1867 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1870 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1873 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1876 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1879 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1881 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1883 # Installed binaries are usually stripped using `strip' when the user
1884 # run `make install-strip'. However `strip' might not be the right
1885 # tool to use in cross-compilation environments, therefore Automake
1886 # will honor the `STRIP' environment variable to overrule this program.
1887 if test "$cross_compiling" != no; then
1888 if test -n "$ac_tool_prefix"; then
1889 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1890 set dummy ${ac_tool_prefix}strip; ac_word=$2
1891 echo "$as_me:$LINENO: checking for $ac_word" >&5
1892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1893 if test "${ac_cv_prog_STRIP+set}" = set; then
1894 echo $ECHO_N "(cached) $ECHO_C" >&6
1895 else
1896 if test -n "$STRIP"; then
1897 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1898 else
1899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1900 for as_dir in $PATH
1902 IFS=$as_save_IFS
1903 test -z "$as_dir" && as_dir=.
1904 for ac_exec_ext in '' $ac_executable_extensions; do
1905 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1906 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1908 break 2
1910 done
1911 done
1915 STRIP=$ac_cv_prog_STRIP
1916 if test -n "$STRIP"; then
1917 echo "$as_me:$LINENO: result: $STRIP" >&5
1918 echo "${ECHO_T}$STRIP" >&6
1919 else
1920 echo "$as_me:$LINENO: result: no" >&5
1921 echo "${ECHO_T}no" >&6
1925 if test -z "$ac_cv_prog_STRIP"; then
1926 ac_ct_STRIP=$STRIP
1927 # Extract the first word of "strip", so it can be a program name with args.
1928 set dummy strip; ac_word=$2
1929 echo "$as_me:$LINENO: checking for $ac_word" >&5
1930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1931 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1932 echo $ECHO_N "(cached) $ECHO_C" >&6
1933 else
1934 if test -n "$ac_ct_STRIP"; then
1935 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1936 else
1937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1938 for as_dir in $PATH
1940 IFS=$as_save_IFS
1941 test -z "$as_dir" && as_dir=.
1942 for ac_exec_ext in '' $ac_executable_extensions; do
1943 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1944 ac_cv_prog_ac_ct_STRIP="strip"
1945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1946 break 2
1948 done
1949 done
1951 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1954 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1955 if test -n "$ac_ct_STRIP"; then
1956 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1957 echo "${ECHO_T}$ac_ct_STRIP" >&6
1958 else
1959 echo "$as_me:$LINENO: result: no" >&5
1960 echo "${ECHO_T}no" >&6
1963 STRIP=$ac_ct_STRIP
1964 else
1965 STRIP="$ac_cv_prog_STRIP"
1969 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1971 # We need awk for the "check" target. The system "awk" is bad on
1972 # some platforms.
1973 # Always define AMTAR for backward compatibility.
1975 AMTAR=${AMTAR-"${am_missing_run}tar"}
1977 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1988 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
1989 # up critical shell variables.
1991 # Keep these sync'd with the list in Makefile.am. The first provides an
1992 # expandable list at autoconf time; the second provides an expandable list
1993 # (i.e., shell variable) at configure time.
1995 SUBDIRS='include libmath libsupc++ src po testsuite'
1997 # These need to be absolute paths, yet at the same time need to
1998 # canonicalize only relative paths, because then amd will not unmount
1999 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2000 glibcxx_builddir=`${PWDCMD-pwd}`
2001 case $srcdir in
2002 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2003 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2004 esac
2005 toplevel_srcdir=${glibcxx_srcdir}/..
2010 # We use these options to decide which functions to include. They are
2011 # set from the top level.
2013 # Check whether --with-target-subdir or --without-target-subdir was given.
2014 if test "${with_target_subdir+set}" = set; then
2015 withval="$with_target_subdir"
2020 # Check whether --with-cross-host or --without-cross-host was given.
2021 if test "${with_cross_host+set}" = set; then
2022 withval="$with_cross_host"
2027 # Check whether --with-newlib or --without-newlib was given.
2028 if test "${with_newlib+set}" = set; then
2029 withval="$with_newlib"
2033 # We're almost certainly being configured before anything else which uses
2034 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2035 # we not cache the value of CXX that we "discover" here, because it's set
2036 # to something unique for us and libjava. Other target libraries need to
2037 # find CXX for themselves. We yank the rug out from under the normal AC_*
2038 # process by sneakily renaming the cache variable. This also lets us debug
2039 # the value of "our" CXX in postmortems.
2041 # We must also force CXX to /not/ be a precious variable, otherwise the
2042 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2043 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2044 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2045 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2047 # -fno-builtin must be present here so that a non-conflicting form of
2048 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2053 save_CXXFLAGS="$CXXFLAGS"
2054 CXXFLAGS="$CXXFLAGS -fno-builtin"
2055 ac_ext=c
2056 ac_cpp='$CPP $CPPFLAGS'
2057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2060 if test -n "$ac_tool_prefix"; then
2061 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2062 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2063 echo "$as_me:$LINENO: checking for $ac_word" >&5
2064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2065 if test "${ac_cv_prog_CC+set}" = set; then
2066 echo $ECHO_N "(cached) $ECHO_C" >&6
2067 else
2068 if test -n "$CC"; then
2069 ac_cv_prog_CC="$CC" # Let the user override the test.
2070 else
2071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2072 for as_dir in $PATH
2074 IFS=$as_save_IFS
2075 test -z "$as_dir" && as_dir=.
2076 for ac_exec_ext in '' $ac_executable_extensions; do
2077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2078 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2080 break 2
2082 done
2083 done
2087 CC=$ac_cv_prog_CC
2088 if test -n "$CC"; then
2089 echo "$as_me:$LINENO: result: $CC" >&5
2090 echo "${ECHO_T}$CC" >&6
2091 else
2092 echo "$as_me:$LINENO: result: no" >&5
2093 echo "${ECHO_T}no" >&6
2097 if test -z "$ac_cv_prog_CC"; then
2098 ac_ct_CC=$CC
2099 # Extract the first word of "gcc", so it can be a program name with args.
2100 set dummy gcc; ac_word=$2
2101 echo "$as_me:$LINENO: checking for $ac_word" >&5
2102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2103 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2104 echo $ECHO_N "(cached) $ECHO_C" >&6
2105 else
2106 if test -n "$ac_ct_CC"; then
2107 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2108 else
2109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2110 for as_dir in $PATH
2112 IFS=$as_save_IFS
2113 test -z "$as_dir" && as_dir=.
2114 for ac_exec_ext in '' $ac_executable_extensions; do
2115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2116 ac_cv_prog_ac_ct_CC="gcc"
2117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2118 break 2
2120 done
2121 done
2125 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2126 if test -n "$ac_ct_CC"; then
2127 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2128 echo "${ECHO_T}$ac_ct_CC" >&6
2129 else
2130 echo "$as_me:$LINENO: result: no" >&5
2131 echo "${ECHO_T}no" >&6
2134 CC=$ac_ct_CC
2135 else
2136 CC="$ac_cv_prog_CC"
2139 if test -z "$CC"; then
2140 if test -n "$ac_tool_prefix"; then
2141 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2142 set dummy ${ac_tool_prefix}cc; ac_word=$2
2143 echo "$as_me:$LINENO: checking for $ac_word" >&5
2144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2145 if test "${ac_cv_prog_CC+set}" = set; then
2146 echo $ECHO_N "(cached) $ECHO_C" >&6
2147 else
2148 if test -n "$CC"; then
2149 ac_cv_prog_CC="$CC" # Let the user override the test.
2150 else
2151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2152 for as_dir in $PATH
2154 IFS=$as_save_IFS
2155 test -z "$as_dir" && as_dir=.
2156 for ac_exec_ext in '' $ac_executable_extensions; do
2157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2158 ac_cv_prog_CC="${ac_tool_prefix}cc"
2159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2160 break 2
2162 done
2163 done
2167 CC=$ac_cv_prog_CC
2168 if test -n "$CC"; then
2169 echo "$as_me:$LINENO: result: $CC" >&5
2170 echo "${ECHO_T}$CC" >&6
2171 else
2172 echo "$as_me:$LINENO: result: no" >&5
2173 echo "${ECHO_T}no" >&6
2177 if test -z "$ac_cv_prog_CC"; then
2178 ac_ct_CC=$CC
2179 # Extract the first word of "cc", so it can be a program name with args.
2180 set dummy cc; ac_word=$2
2181 echo "$as_me:$LINENO: checking for $ac_word" >&5
2182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2183 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2184 echo $ECHO_N "(cached) $ECHO_C" >&6
2185 else
2186 if test -n "$ac_ct_CC"; then
2187 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2188 else
2189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2190 for as_dir in $PATH
2192 IFS=$as_save_IFS
2193 test -z "$as_dir" && as_dir=.
2194 for ac_exec_ext in '' $ac_executable_extensions; do
2195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2196 ac_cv_prog_ac_ct_CC="cc"
2197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2198 break 2
2200 done
2201 done
2205 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2206 if test -n "$ac_ct_CC"; then
2207 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2208 echo "${ECHO_T}$ac_ct_CC" >&6
2209 else
2210 echo "$as_me:$LINENO: result: no" >&5
2211 echo "${ECHO_T}no" >&6
2214 CC=$ac_ct_CC
2215 else
2216 CC="$ac_cv_prog_CC"
2220 if test -z "$CC"; then
2221 # Extract the first word of "cc", so it can be a program name with args.
2222 set dummy cc; ac_word=$2
2223 echo "$as_me:$LINENO: checking for $ac_word" >&5
2224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2225 if test "${ac_cv_prog_CC+set}" = set; then
2226 echo $ECHO_N "(cached) $ECHO_C" >&6
2227 else
2228 if test -n "$CC"; then
2229 ac_cv_prog_CC="$CC" # Let the user override the test.
2230 else
2231 ac_prog_rejected=no
2232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2233 for as_dir in $PATH
2235 IFS=$as_save_IFS
2236 test -z "$as_dir" && as_dir=.
2237 for ac_exec_ext in '' $ac_executable_extensions; do
2238 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2239 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2240 ac_prog_rejected=yes
2241 continue
2243 ac_cv_prog_CC="cc"
2244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2245 break 2
2247 done
2248 done
2250 if test $ac_prog_rejected = yes; then
2251 # We found a bogon in the path, so make sure we never use it.
2252 set dummy $ac_cv_prog_CC
2253 shift
2254 if test $# != 0; then
2255 # We chose a different compiler from the bogus one.
2256 # However, it has the same basename, so the bogon will be chosen
2257 # first if we set CC to just the basename; use the full file name.
2258 shift
2259 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2264 CC=$ac_cv_prog_CC
2265 if test -n "$CC"; then
2266 echo "$as_me:$LINENO: result: $CC" >&5
2267 echo "${ECHO_T}$CC" >&6
2268 else
2269 echo "$as_me:$LINENO: result: no" >&5
2270 echo "${ECHO_T}no" >&6
2274 if test -z "$CC"; then
2275 if test -n "$ac_tool_prefix"; then
2276 for ac_prog in cl
2278 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2279 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2280 echo "$as_me:$LINENO: checking for $ac_word" >&5
2281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2282 if test "${ac_cv_prog_CC+set}" = set; then
2283 echo $ECHO_N "(cached) $ECHO_C" >&6
2284 else
2285 if test -n "$CC"; then
2286 ac_cv_prog_CC="$CC" # Let the user override the test.
2287 else
2288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2289 for as_dir in $PATH
2291 IFS=$as_save_IFS
2292 test -z "$as_dir" && as_dir=.
2293 for ac_exec_ext in '' $ac_executable_extensions; do
2294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2295 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2297 break 2
2299 done
2300 done
2304 CC=$ac_cv_prog_CC
2305 if test -n "$CC"; then
2306 echo "$as_me:$LINENO: result: $CC" >&5
2307 echo "${ECHO_T}$CC" >&6
2308 else
2309 echo "$as_me:$LINENO: result: no" >&5
2310 echo "${ECHO_T}no" >&6
2313 test -n "$CC" && break
2314 done
2316 if test -z "$CC"; then
2317 ac_ct_CC=$CC
2318 for ac_prog in cl
2320 # Extract the first word of "$ac_prog", so it can be a program name with args.
2321 set dummy $ac_prog; ac_word=$2
2322 echo "$as_me:$LINENO: checking for $ac_word" >&5
2323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2324 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2325 echo $ECHO_N "(cached) $ECHO_C" >&6
2326 else
2327 if test -n "$ac_ct_CC"; then
2328 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2329 else
2330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2331 for as_dir in $PATH
2333 IFS=$as_save_IFS
2334 test -z "$as_dir" && as_dir=.
2335 for ac_exec_ext in '' $ac_executable_extensions; do
2336 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2337 ac_cv_prog_ac_ct_CC="$ac_prog"
2338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2339 break 2
2341 done
2342 done
2346 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2347 if test -n "$ac_ct_CC"; then
2348 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2349 echo "${ECHO_T}$ac_ct_CC" >&6
2350 else
2351 echo "$as_me:$LINENO: result: no" >&5
2352 echo "${ECHO_T}no" >&6
2355 test -n "$ac_ct_CC" && break
2356 done
2358 CC=$ac_ct_CC
2364 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2365 See \`config.log' for more details." >&5
2366 echo "$as_me: error: no acceptable C compiler found in \$PATH
2367 See \`config.log' for more details." >&2;}
2368 { (exit 1); exit 1; }; }
2370 # Provide some information about the compiler.
2371 echo "$as_me:$LINENO:" \
2372 "checking for C compiler version" >&5
2373 ac_compiler=`set X $ac_compile; echo $2`
2374 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2375 (eval $ac_compiler --version </dev/null >&5) 2>&5
2376 ac_status=$?
2377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2378 (exit $ac_status); }
2379 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2380 (eval $ac_compiler -v </dev/null >&5) 2>&5
2381 ac_status=$?
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 (exit $ac_status); }
2384 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2385 (eval $ac_compiler -V </dev/null >&5) 2>&5
2386 ac_status=$?
2387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2388 (exit $ac_status); }
2390 cat >conftest.$ac_ext <<_ACEOF
2391 /* confdefs.h. */
2392 _ACEOF
2393 cat confdefs.h >>conftest.$ac_ext
2394 cat >>conftest.$ac_ext <<_ACEOF
2395 /* end confdefs.h. */
2398 main ()
2402 return 0;
2404 _ACEOF
2405 # FIXME: Cleanup?
2406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2407 (eval $ac_link) 2>&5
2408 ac_status=$?
2409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2410 (exit $ac_status); }; then
2411 gcc_no_link=no
2412 else
2413 gcc_no_link=yes
2416 if test x$gcc_no_link = xyes; then
2417 # Setting cross_compile will disable run tests; it will
2418 # also disable AC_CHECK_FILE but that's generally
2419 # correct if we can't link.
2420 cross_compiling=yes
2421 EXEEXT=
2422 else
2423 cat >conftest.$ac_ext <<_ACEOF
2424 /* confdefs.h. */
2425 _ACEOF
2426 cat confdefs.h >>conftest.$ac_ext
2427 cat >>conftest.$ac_ext <<_ACEOF
2428 /* end confdefs.h. */
2431 main ()
2435 return 0;
2437 _ACEOF
2438 ac_clean_files_save=$ac_clean_files
2439 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2440 # Try to create an executable without -o first, disregard a.out.
2441 # It will help us diagnose broken compilers, and finding out an intuition
2442 # of exeext.
2443 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2444 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2445 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2446 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2447 (eval $ac_link_default) 2>&5
2448 ac_status=$?
2449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2450 (exit $ac_status); }; then
2451 # Find the output, starting from the most likely. This scheme is
2452 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2453 # resort.
2455 # Be careful to initialize this variable, since it used to be cached.
2456 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2457 ac_cv_exeext=
2458 # b.out is created by i960 compilers.
2459 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2461 test -f "$ac_file" || continue
2462 case $ac_file in
2463 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2465 conftest.$ac_ext )
2466 # This is the source file.
2468 [ab].out )
2469 # We found the default executable, but exeext='' is most
2470 # certainly right.
2471 break;;
2472 *.* )
2473 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2474 # FIXME: I believe we export ac_cv_exeext for Libtool,
2475 # but it would be cool to find out if it's true. Does anybody
2476 # maintain Libtool? --akim.
2477 export ac_cv_exeext
2478 break;;
2480 break;;
2481 esac
2482 done
2483 else
2484 echo "$as_me: failed program was:" >&5
2485 sed 's/^/| /' conftest.$ac_ext >&5
2487 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2488 See \`config.log' for more details." >&5
2489 echo "$as_me: error: C compiler cannot create executables
2490 See \`config.log' for more details." >&2;}
2491 { (exit 77); exit 77; }; }
2494 ac_exeext=$ac_cv_exeext
2495 echo "$as_me:$LINENO: result: $ac_file" >&5
2496 echo "${ECHO_T}$ac_file" >&6
2498 # Check the compiler produces executables we can run. If not, either
2499 # the compiler is broken, or we cross compile.
2500 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2501 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2502 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2503 # If not cross compiling, check that we can run a simple program.
2504 if test "$cross_compiling" != yes; then
2505 if { ac_try='./$ac_file'
2506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2507 (eval $ac_try) 2>&5
2508 ac_status=$?
2509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2510 (exit $ac_status); }; }; then
2511 cross_compiling=no
2512 else
2513 if test "$cross_compiling" = maybe; then
2514 cross_compiling=yes
2515 else
2516 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2517 If you meant to cross compile, use \`--host'.
2518 See \`config.log' for more details." >&5
2519 echo "$as_me: error: cannot run C compiled programs.
2520 If you meant to cross compile, use \`--host'.
2521 See \`config.log' for more details." >&2;}
2522 { (exit 1); exit 1; }; }
2526 echo "$as_me:$LINENO: result: yes" >&5
2527 echo "${ECHO_T}yes" >&6
2529 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2530 ac_clean_files=$ac_clean_files_save
2531 # Check the compiler produces executables we can run. If not, either
2532 # the compiler is broken, or we cross compile.
2533 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2534 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2535 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2536 echo "${ECHO_T}$cross_compiling" >&6
2538 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2539 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2541 (eval $ac_link) 2>&5
2542 ac_status=$?
2543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2544 (exit $ac_status); }; then
2545 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2546 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2547 # work properly (i.e., refer to `conftest.exe'), while it won't with
2548 # `rm'.
2549 for ac_file in conftest.exe conftest conftest.*; do
2550 test -f "$ac_file" || continue
2551 case $ac_file in
2552 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2553 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2554 export ac_cv_exeext
2555 break;;
2556 * ) break;;
2557 esac
2558 done
2559 else
2560 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2561 See \`config.log' for more details." >&5
2562 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2563 See \`config.log' for more details." >&2;}
2564 { (exit 1); exit 1; }; }
2567 rm -f conftest$ac_cv_exeext
2568 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2569 echo "${ECHO_T}$ac_cv_exeext" >&6
2571 rm -f conftest.$ac_ext
2572 EXEEXT=$ac_cv_exeext
2573 ac_exeext=$EXEEXT
2575 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2576 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2577 if test "${ac_cv_objext+set}" = set; then
2578 echo $ECHO_N "(cached) $ECHO_C" >&6
2579 else
2580 cat >conftest.$ac_ext <<_ACEOF
2581 /* confdefs.h. */
2582 _ACEOF
2583 cat confdefs.h >>conftest.$ac_ext
2584 cat >>conftest.$ac_ext <<_ACEOF
2585 /* end confdefs.h. */
2588 main ()
2592 return 0;
2594 _ACEOF
2595 rm -f conftest.o conftest.obj
2596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2597 (eval $ac_compile) 2>&5
2598 ac_status=$?
2599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2600 (exit $ac_status); }; then
2601 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2602 case $ac_file in
2603 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2604 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2605 break;;
2606 esac
2607 done
2608 else
2609 echo "$as_me: failed program was:" >&5
2610 sed 's/^/| /' conftest.$ac_ext >&5
2612 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2613 See \`config.log' for more details." >&5
2614 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2615 See \`config.log' for more details." >&2;}
2616 { (exit 1); exit 1; }; }
2619 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2621 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2622 echo "${ECHO_T}$ac_cv_objext" >&6
2623 OBJEXT=$ac_cv_objext
2624 ac_objext=$OBJEXT
2625 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2626 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2627 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2628 echo $ECHO_N "(cached) $ECHO_C" >&6
2629 else
2630 cat >conftest.$ac_ext <<_ACEOF
2631 /* confdefs.h. */
2632 _ACEOF
2633 cat confdefs.h >>conftest.$ac_ext
2634 cat >>conftest.$ac_ext <<_ACEOF
2635 /* end confdefs.h. */
2638 main ()
2640 #ifndef __GNUC__
2641 choke me
2642 #endif
2645 return 0;
2647 _ACEOF
2648 rm -f conftest.$ac_objext
2649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2650 (eval $ac_compile) 2>conftest.er1
2651 ac_status=$?
2652 grep -v '^ *+' conftest.er1 >conftest.err
2653 rm -f conftest.er1
2654 cat conftest.err >&5
2655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2656 (exit $ac_status); } &&
2657 { ac_try='test -z "$ac_c_werror_flag"
2658 || test ! -s conftest.err'
2659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2660 (eval $ac_try) 2>&5
2661 ac_status=$?
2662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663 (exit $ac_status); }; } &&
2664 { ac_try='test -s conftest.$ac_objext'
2665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2666 (eval $ac_try) 2>&5
2667 ac_status=$?
2668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669 (exit $ac_status); }; }; then
2670 ac_compiler_gnu=yes
2671 else
2672 echo "$as_me: failed program was:" >&5
2673 sed 's/^/| /' conftest.$ac_ext >&5
2675 ac_compiler_gnu=no
2677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2678 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2681 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2682 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2683 GCC=`test $ac_compiler_gnu = yes && echo yes`
2684 ac_test_CFLAGS=${CFLAGS+set}
2685 ac_save_CFLAGS=$CFLAGS
2686 CFLAGS="-g"
2687 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2688 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2689 if test "${ac_cv_prog_cc_g+set}" = set; then
2690 echo $ECHO_N "(cached) $ECHO_C" >&6
2691 else
2692 cat >conftest.$ac_ext <<_ACEOF
2693 /* confdefs.h. */
2694 _ACEOF
2695 cat confdefs.h >>conftest.$ac_ext
2696 cat >>conftest.$ac_ext <<_ACEOF
2697 /* end confdefs.h. */
2700 main ()
2704 return 0;
2706 _ACEOF
2707 rm -f conftest.$ac_objext
2708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2709 (eval $ac_compile) 2>conftest.er1
2710 ac_status=$?
2711 grep -v '^ *+' conftest.er1 >conftest.err
2712 rm -f conftest.er1
2713 cat conftest.err >&5
2714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715 (exit $ac_status); } &&
2716 { ac_try='test -z "$ac_c_werror_flag"
2717 || test ! -s conftest.err'
2718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2719 (eval $ac_try) 2>&5
2720 ac_status=$?
2721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722 (exit $ac_status); }; } &&
2723 { ac_try='test -s conftest.$ac_objext'
2724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2725 (eval $ac_try) 2>&5
2726 ac_status=$?
2727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2728 (exit $ac_status); }; }; then
2729 ac_cv_prog_cc_g=yes
2730 else
2731 echo "$as_me: failed program was:" >&5
2732 sed 's/^/| /' conftest.$ac_ext >&5
2734 ac_cv_prog_cc_g=no
2736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2738 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2739 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2740 if test "$ac_test_CFLAGS" = set; then
2741 CFLAGS=$ac_save_CFLAGS
2742 elif test $ac_cv_prog_cc_g = yes; then
2743 if test "$GCC" = yes; then
2744 CFLAGS="-g -O2"
2745 else
2746 CFLAGS="-g"
2748 else
2749 if test "$GCC" = yes; then
2750 CFLAGS="-O2"
2751 else
2752 CFLAGS=
2755 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2756 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2757 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2758 echo $ECHO_N "(cached) $ECHO_C" >&6
2759 else
2760 ac_cv_prog_cc_stdc=no
2761 ac_save_CC=$CC
2762 cat >conftest.$ac_ext <<_ACEOF
2763 /* confdefs.h. */
2764 _ACEOF
2765 cat confdefs.h >>conftest.$ac_ext
2766 cat >>conftest.$ac_ext <<_ACEOF
2767 /* end confdefs.h. */
2768 #include <stdarg.h>
2769 #include <stdio.h>
2770 #include <sys/types.h>
2771 #include <sys/stat.h>
2772 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2773 struct buf { int x; };
2774 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2775 static char *e (p, i)
2776 char **p;
2777 int i;
2779 return p[i];
2781 static char *f (char * (*g) (char **, int), char **p, ...)
2783 char *s;
2784 va_list v;
2785 va_start (v,p);
2786 s = g (p, va_arg (v,int));
2787 va_end (v);
2788 return s;
2791 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2792 function prototypes and stuff, but not '\xHH' hex character constants.
2793 These don't provoke an error unfortunately, instead are silently treated
2794 as 'x'. The following induces an error, until -std1 is added to get
2795 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2796 array size at least. It's necessary to write '\x00'==0 to get something
2797 that's true only with -std1. */
2798 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2800 int test (int i, double x);
2801 struct s1 {int (*f) (int a);};
2802 struct s2 {int (*f) (double a);};
2803 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2804 int argc;
2805 char **argv;
2807 main ()
2809 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2811 return 0;
2813 _ACEOF
2814 # Don't try gcc -ansi; that turns off useful extensions and
2815 # breaks some systems' header files.
2816 # AIX -qlanglvl=ansi
2817 # Ultrix and OSF/1 -std1
2818 # HP-UX 10.20 and later -Ae
2819 # HP-UX older versions -Aa -D_HPUX_SOURCE
2820 # SVR4 -Xc -D__EXTENSIONS__
2821 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2823 CC="$ac_save_CC $ac_arg"
2824 rm -f conftest.$ac_objext
2825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2826 (eval $ac_compile) 2>conftest.er1
2827 ac_status=$?
2828 grep -v '^ *+' conftest.er1 >conftest.err
2829 rm -f conftest.er1
2830 cat conftest.err >&5
2831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832 (exit $ac_status); } &&
2833 { ac_try='test -z "$ac_c_werror_flag"
2834 || test ! -s conftest.err'
2835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2836 (eval $ac_try) 2>&5
2837 ac_status=$?
2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839 (exit $ac_status); }; } &&
2840 { ac_try='test -s conftest.$ac_objext'
2841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2842 (eval $ac_try) 2>&5
2843 ac_status=$?
2844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845 (exit $ac_status); }; }; then
2846 ac_cv_prog_cc_stdc=$ac_arg
2847 break
2848 else
2849 echo "$as_me: failed program was:" >&5
2850 sed 's/^/| /' conftest.$ac_ext >&5
2853 rm -f conftest.err conftest.$ac_objext
2854 done
2855 rm -f conftest.$ac_ext conftest.$ac_objext
2856 CC=$ac_save_CC
2860 case "x$ac_cv_prog_cc_stdc" in
2861 x|xno)
2862 echo "$as_me:$LINENO: result: none needed" >&5
2863 echo "${ECHO_T}none needed" >&6 ;;
2865 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2866 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2867 CC="$CC $ac_cv_prog_cc_stdc" ;;
2868 esac
2870 # Some people use a C++ compiler to compile C. Since we use `exit',
2871 # in C++ we need to declare it. In case someone uses the same compiler
2872 # for both compiling C and C++ we need to have the C++ compiler decide
2873 # the declaration of exit, since it's the most demanding environment.
2874 cat >conftest.$ac_ext <<_ACEOF
2875 #ifndef __cplusplus
2876 choke me
2877 #endif
2878 _ACEOF
2879 rm -f conftest.$ac_objext
2880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2881 (eval $ac_compile) 2>conftest.er1
2882 ac_status=$?
2883 grep -v '^ *+' conftest.er1 >conftest.err
2884 rm -f conftest.er1
2885 cat conftest.err >&5
2886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887 (exit $ac_status); } &&
2888 { ac_try='test -z "$ac_c_werror_flag"
2889 || test ! -s conftest.err'
2890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2891 (eval $ac_try) 2>&5
2892 ac_status=$?
2893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894 (exit $ac_status); }; } &&
2895 { ac_try='test -s conftest.$ac_objext'
2896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2897 (eval $ac_try) 2>&5
2898 ac_status=$?
2899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900 (exit $ac_status); }; }; then
2901 for ac_declaration in \
2902 '' \
2903 'extern "C" void std::exit (int) throw (); using std::exit;' \
2904 'extern "C" void std::exit (int); using std::exit;' \
2905 'extern "C" void exit (int) throw ();' \
2906 'extern "C" void exit (int);' \
2907 'void exit (int);'
2909 cat >conftest.$ac_ext <<_ACEOF
2910 /* confdefs.h. */
2911 _ACEOF
2912 cat confdefs.h >>conftest.$ac_ext
2913 cat >>conftest.$ac_ext <<_ACEOF
2914 /* end confdefs.h. */
2915 $ac_declaration
2916 #include <stdlib.h>
2918 main ()
2920 exit (42);
2922 return 0;
2924 _ACEOF
2925 rm -f conftest.$ac_objext
2926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2927 (eval $ac_compile) 2>conftest.er1
2928 ac_status=$?
2929 grep -v '^ *+' conftest.er1 >conftest.err
2930 rm -f conftest.er1
2931 cat conftest.err >&5
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); } &&
2934 { ac_try='test -z "$ac_c_werror_flag"
2935 || test ! -s conftest.err'
2936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2937 (eval $ac_try) 2>&5
2938 ac_status=$?
2939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940 (exit $ac_status); }; } &&
2941 { ac_try='test -s conftest.$ac_objext'
2942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2943 (eval $ac_try) 2>&5
2944 ac_status=$?
2945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946 (exit $ac_status); }; }; then
2948 else
2949 echo "$as_me: failed program was:" >&5
2950 sed 's/^/| /' conftest.$ac_ext >&5
2952 continue
2954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2955 cat >conftest.$ac_ext <<_ACEOF
2956 /* confdefs.h. */
2957 _ACEOF
2958 cat confdefs.h >>conftest.$ac_ext
2959 cat >>conftest.$ac_ext <<_ACEOF
2960 /* end confdefs.h. */
2961 $ac_declaration
2963 main ()
2965 exit (42);
2967 return 0;
2969 _ACEOF
2970 rm -f conftest.$ac_objext
2971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2972 (eval $ac_compile) 2>conftest.er1
2973 ac_status=$?
2974 grep -v '^ *+' conftest.er1 >conftest.err
2975 rm -f conftest.er1
2976 cat conftest.err >&5
2977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 (exit $ac_status); } &&
2979 { ac_try='test -z "$ac_c_werror_flag"
2980 || test ! -s conftest.err'
2981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2982 (eval $ac_try) 2>&5
2983 ac_status=$?
2984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2985 (exit $ac_status); }; } &&
2986 { ac_try='test -s conftest.$ac_objext'
2987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2988 (eval $ac_try) 2>&5
2989 ac_status=$?
2990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2991 (exit $ac_status); }; }; then
2992 break
2993 else
2994 echo "$as_me: failed program was:" >&5
2995 sed 's/^/| /' conftest.$ac_ext >&5
2998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2999 done
3000 rm -f conftest*
3001 if test -n "$ac_declaration"; then
3002 echo '#ifdef __cplusplus' >>confdefs.h
3003 echo $ac_declaration >>confdefs.h
3004 echo '#endif' >>confdefs.h
3007 else
3008 echo "$as_me: failed program was:" >&5
3009 sed 's/^/| /' conftest.$ac_ext >&5
3012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3013 ac_ext=c
3014 ac_cpp='$CPP $CPPFLAGS'
3015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3019 ac_ext=cc
3020 ac_cpp='$CXXCPP $CPPFLAGS'
3021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3024 if test -n "$ac_tool_prefix"; then
3025 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3027 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3028 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3029 echo "$as_me:$LINENO: checking for $ac_word" >&5
3030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3031 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3032 echo $ECHO_N "(cached) $ECHO_C" >&6
3033 else
3034 if test -n "$CXX"; then
3035 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3036 else
3037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3038 for as_dir in $PATH
3040 IFS=$as_save_IFS
3041 test -z "$as_dir" && as_dir=.
3042 for ac_exec_ext in '' $ac_executable_extensions; do
3043 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3044 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3046 break 2
3048 done
3049 done
3053 CXX=$glibcxx_cv_prog_CXX
3054 if test -n "$CXX"; then
3055 echo "$as_me:$LINENO: result: $CXX" >&5
3056 echo "${ECHO_T}$CXX" >&6
3057 else
3058 echo "$as_me:$LINENO: result: no" >&5
3059 echo "${ECHO_T}no" >&6
3062 test -n "$CXX" && break
3063 done
3065 if test -z "$CXX"; then
3066 ac_ct_CXX=$CXX
3067 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3069 # Extract the first word of "$ac_prog", so it can be a program name with args.
3070 set dummy $ac_prog; ac_word=$2
3071 echo "$as_me:$LINENO: checking for $ac_word" >&5
3072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3073 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3074 echo $ECHO_N "(cached) $ECHO_C" >&6
3075 else
3076 if test -n "$ac_ct_CXX"; then
3077 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3078 else
3079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3080 for as_dir in $PATH
3082 IFS=$as_save_IFS
3083 test -z "$as_dir" && as_dir=.
3084 for ac_exec_ext in '' $ac_executable_extensions; do
3085 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3086 ac_cv_prog_ac_ct_CXX="$ac_prog"
3087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3088 break 2
3090 done
3091 done
3095 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3096 if test -n "$ac_ct_CXX"; then
3097 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3098 echo "${ECHO_T}$ac_ct_CXX" >&6
3099 else
3100 echo "$as_me:$LINENO: result: no" >&5
3101 echo "${ECHO_T}no" >&6
3104 test -n "$ac_ct_CXX" && break
3105 done
3106 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3108 CXX=$ac_ct_CXX
3112 # Provide some information about the compiler.
3113 echo "$as_me:$LINENO:" \
3114 "checking for C++ compiler version" >&5
3115 ac_compiler=`set X $ac_compile; echo $2`
3116 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3117 (eval $ac_compiler --version </dev/null >&5) 2>&5
3118 ac_status=$?
3119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3120 (exit $ac_status); }
3121 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3122 (eval $ac_compiler -v </dev/null >&5) 2>&5
3123 ac_status=$?
3124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3125 (exit $ac_status); }
3126 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3127 (eval $ac_compiler -V </dev/null >&5) 2>&5
3128 ac_status=$?
3129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3130 (exit $ac_status); }
3132 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3133 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3134 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3135 echo $ECHO_N "(cached) $ECHO_C" >&6
3136 else
3137 cat >conftest.$ac_ext <<_ACEOF
3138 /* confdefs.h. */
3139 _ACEOF
3140 cat confdefs.h >>conftest.$ac_ext
3141 cat >>conftest.$ac_ext <<_ACEOF
3142 /* end confdefs.h. */
3145 main ()
3147 #ifndef __GNUC__
3148 choke me
3149 #endif
3152 return 0;
3154 _ACEOF
3155 rm -f conftest.$ac_objext
3156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3157 (eval $ac_compile) 2>conftest.er1
3158 ac_status=$?
3159 grep -v '^ *+' conftest.er1 >conftest.err
3160 rm -f conftest.er1
3161 cat conftest.err >&5
3162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163 (exit $ac_status); } &&
3164 { ac_try='test -z "$ac_cxx_werror_flag"
3165 || test ! -s conftest.err'
3166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3167 (eval $ac_try) 2>&5
3168 ac_status=$?
3169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170 (exit $ac_status); }; } &&
3171 { ac_try='test -s conftest.$ac_objext'
3172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3173 (eval $ac_try) 2>&5
3174 ac_status=$?
3175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176 (exit $ac_status); }; }; then
3177 ac_compiler_gnu=yes
3178 else
3179 echo "$as_me: failed program was:" >&5
3180 sed 's/^/| /' conftest.$ac_ext >&5
3182 ac_compiler_gnu=no
3184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3185 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3188 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3189 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3190 GXX=`test $ac_compiler_gnu = yes && echo yes`
3191 ac_test_CXXFLAGS=${CXXFLAGS+set}
3192 ac_save_CXXFLAGS=$CXXFLAGS
3193 CXXFLAGS="-g"
3194 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3195 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3196 if test "${ac_cv_prog_cxx_g+set}" = set; then
3197 echo $ECHO_N "(cached) $ECHO_C" >&6
3198 else
3199 cat >conftest.$ac_ext <<_ACEOF
3200 /* confdefs.h. */
3201 _ACEOF
3202 cat confdefs.h >>conftest.$ac_ext
3203 cat >>conftest.$ac_ext <<_ACEOF
3204 /* end confdefs.h. */
3207 main ()
3211 return 0;
3213 _ACEOF
3214 rm -f conftest.$ac_objext
3215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3216 (eval $ac_compile) 2>conftest.er1
3217 ac_status=$?
3218 grep -v '^ *+' conftest.er1 >conftest.err
3219 rm -f conftest.er1
3220 cat conftest.err >&5
3221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3222 (exit $ac_status); } &&
3223 { ac_try='test -z "$ac_cxx_werror_flag"
3224 || test ! -s conftest.err'
3225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3226 (eval $ac_try) 2>&5
3227 ac_status=$?
3228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3229 (exit $ac_status); }; } &&
3230 { ac_try='test -s conftest.$ac_objext'
3231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3232 (eval $ac_try) 2>&5
3233 ac_status=$?
3234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3235 (exit $ac_status); }; }; then
3236 ac_cv_prog_cxx_g=yes
3237 else
3238 echo "$as_me: failed program was:" >&5
3239 sed 's/^/| /' conftest.$ac_ext >&5
3241 ac_cv_prog_cxx_g=no
3243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3245 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3246 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3247 if test "$ac_test_CXXFLAGS" = set; then
3248 CXXFLAGS=$ac_save_CXXFLAGS
3249 elif test $ac_cv_prog_cxx_g = yes; then
3250 if test "$GXX" = yes; then
3251 CXXFLAGS="-g -O2"
3252 else
3253 CXXFLAGS="-g"
3255 else
3256 if test "$GXX" = yes; then
3257 CXXFLAGS="-O2"
3258 else
3259 CXXFLAGS=
3262 for ac_declaration in \
3263 '' \
3264 'extern "C" void std::exit (int) throw (); using std::exit;' \
3265 'extern "C" void std::exit (int); using std::exit;' \
3266 'extern "C" void exit (int) throw ();' \
3267 'extern "C" void exit (int);' \
3268 'void exit (int);'
3270 cat >conftest.$ac_ext <<_ACEOF
3271 /* confdefs.h. */
3272 _ACEOF
3273 cat confdefs.h >>conftest.$ac_ext
3274 cat >>conftest.$ac_ext <<_ACEOF
3275 /* end confdefs.h. */
3276 $ac_declaration
3277 #include <stdlib.h>
3279 main ()
3281 exit (42);
3283 return 0;
3285 _ACEOF
3286 rm -f conftest.$ac_objext
3287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3288 (eval $ac_compile) 2>conftest.er1
3289 ac_status=$?
3290 grep -v '^ *+' conftest.er1 >conftest.err
3291 rm -f conftest.er1
3292 cat conftest.err >&5
3293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3294 (exit $ac_status); } &&
3295 { ac_try='test -z "$ac_cxx_werror_flag"
3296 || test ! -s conftest.err'
3297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3298 (eval $ac_try) 2>&5
3299 ac_status=$?
3300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3301 (exit $ac_status); }; } &&
3302 { ac_try='test -s conftest.$ac_objext'
3303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3304 (eval $ac_try) 2>&5
3305 ac_status=$?
3306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3307 (exit $ac_status); }; }; then
3309 else
3310 echo "$as_me: failed program was:" >&5
3311 sed 's/^/| /' conftest.$ac_ext >&5
3313 continue
3315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3316 cat >conftest.$ac_ext <<_ACEOF
3317 /* confdefs.h. */
3318 _ACEOF
3319 cat confdefs.h >>conftest.$ac_ext
3320 cat >>conftest.$ac_ext <<_ACEOF
3321 /* end confdefs.h. */
3322 $ac_declaration
3324 main ()
3326 exit (42);
3328 return 0;
3330 _ACEOF
3331 rm -f conftest.$ac_objext
3332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3333 (eval $ac_compile) 2>conftest.er1
3334 ac_status=$?
3335 grep -v '^ *+' conftest.er1 >conftest.err
3336 rm -f conftest.er1
3337 cat conftest.err >&5
3338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339 (exit $ac_status); } &&
3340 { ac_try='test -z "$ac_cxx_werror_flag"
3341 || test ! -s conftest.err'
3342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3343 (eval $ac_try) 2>&5
3344 ac_status=$?
3345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3346 (exit $ac_status); }; } &&
3347 { ac_try='test -s conftest.$ac_objext'
3348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3349 (eval $ac_try) 2>&5
3350 ac_status=$?
3351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3352 (exit $ac_status); }; }; then
3353 break
3354 else
3355 echo "$as_me: failed program was:" >&5
3356 sed 's/^/| /' conftest.$ac_ext >&5
3359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3360 done
3361 rm -f conftest*
3362 if test -n "$ac_declaration"; then
3363 echo '#ifdef __cplusplus' >>confdefs.h
3364 echo $ac_declaration >>confdefs.h
3365 echo '#endif' >>confdefs.h
3368 ac_ext=c
3369 ac_cpp='$CPP $CPPFLAGS'
3370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3374 CXXFLAGS="$save_CXXFLAGS"
3379 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3380 # available). Uncomment the next line to force a particular method.
3381 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3382 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3383 LN_S=$as_ln_s
3384 if test "$LN_S" = "ln -s"; then
3385 echo "$as_me:$LINENO: result: yes" >&5
3386 echo "${ECHO_T}yes" >&6
3387 else
3388 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3389 echo "${ECHO_T}no, using $LN_S" >&6
3392 #LN_S='cp -p'
3394 if test -n "$ac_tool_prefix"; then
3395 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3396 set dummy ${ac_tool_prefix}as; ac_word=$2
3397 echo "$as_me:$LINENO: checking for $ac_word" >&5
3398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3399 if test "${ac_cv_prog_AS+set}" = set; then
3400 echo $ECHO_N "(cached) $ECHO_C" >&6
3401 else
3402 if test -n "$AS"; then
3403 ac_cv_prog_AS="$AS" # Let the user override the test.
3404 else
3405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3406 for as_dir in $PATH
3408 IFS=$as_save_IFS
3409 test -z "$as_dir" && as_dir=.
3410 for ac_exec_ext in '' $ac_executable_extensions; do
3411 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3412 ac_cv_prog_AS="${ac_tool_prefix}as"
3413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3414 break 2
3416 done
3417 done
3421 AS=$ac_cv_prog_AS
3422 if test -n "$AS"; then
3423 echo "$as_me:$LINENO: result: $AS" >&5
3424 echo "${ECHO_T}$AS" >&6
3425 else
3426 echo "$as_me:$LINENO: result: no" >&5
3427 echo "${ECHO_T}no" >&6
3431 if test -z "$ac_cv_prog_AS"; then
3432 ac_ct_AS=$AS
3433 # Extract the first word of "as", so it can be a program name with args.
3434 set dummy as; ac_word=$2
3435 echo "$as_me:$LINENO: checking for $ac_word" >&5
3436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3437 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3438 echo $ECHO_N "(cached) $ECHO_C" >&6
3439 else
3440 if test -n "$ac_ct_AS"; then
3441 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3442 else
3443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3444 for as_dir in $PATH
3446 IFS=$as_save_IFS
3447 test -z "$as_dir" && as_dir=.
3448 for ac_exec_ext in '' $ac_executable_extensions; do
3449 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3450 ac_cv_prog_ac_ct_AS="as"
3451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3452 break 2
3454 done
3455 done
3459 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3460 if test -n "$ac_ct_AS"; then
3461 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3462 echo "${ECHO_T}$ac_ct_AS" >&6
3463 else
3464 echo "$as_me:$LINENO: result: no" >&5
3465 echo "${ECHO_T}no" >&6
3468 AS=$ac_ct_AS
3469 else
3470 AS="$ac_cv_prog_AS"
3473 if test -n "$ac_tool_prefix"; then
3474 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3475 set dummy ${ac_tool_prefix}ar; ac_word=$2
3476 echo "$as_me:$LINENO: checking for $ac_word" >&5
3477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3478 if test "${ac_cv_prog_AR+set}" = set; then
3479 echo $ECHO_N "(cached) $ECHO_C" >&6
3480 else
3481 if test -n "$AR"; then
3482 ac_cv_prog_AR="$AR" # Let the user override the test.
3483 else
3484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3485 for as_dir in $PATH
3487 IFS=$as_save_IFS
3488 test -z "$as_dir" && as_dir=.
3489 for ac_exec_ext in '' $ac_executable_extensions; do
3490 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3491 ac_cv_prog_AR="${ac_tool_prefix}ar"
3492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3493 break 2
3495 done
3496 done
3500 AR=$ac_cv_prog_AR
3501 if test -n "$AR"; then
3502 echo "$as_me:$LINENO: result: $AR" >&5
3503 echo "${ECHO_T}$AR" >&6
3504 else
3505 echo "$as_me:$LINENO: result: no" >&5
3506 echo "${ECHO_T}no" >&6
3510 if test -z "$ac_cv_prog_AR"; then
3511 ac_ct_AR=$AR
3512 # Extract the first word of "ar", so it can be a program name with args.
3513 set dummy ar; ac_word=$2
3514 echo "$as_me:$LINENO: checking for $ac_word" >&5
3515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3516 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3517 echo $ECHO_N "(cached) $ECHO_C" >&6
3518 else
3519 if test -n "$ac_ct_AR"; then
3520 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3521 else
3522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3523 for as_dir in $PATH
3525 IFS=$as_save_IFS
3526 test -z "$as_dir" && as_dir=.
3527 for ac_exec_ext in '' $ac_executable_extensions; do
3528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3529 ac_cv_prog_ac_ct_AR="ar"
3530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3531 break 2
3533 done
3534 done
3538 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3539 if test -n "$ac_ct_AR"; then
3540 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3541 echo "${ECHO_T}$ac_ct_AR" >&6
3542 else
3543 echo "$as_me:$LINENO: result: no" >&5
3544 echo "${ECHO_T}no" >&6
3547 AR=$ac_ct_AR
3548 else
3549 AR="$ac_cv_prog_AR"
3552 if test -n "$ac_tool_prefix"; then
3553 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3554 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3555 echo "$as_me:$LINENO: checking for $ac_word" >&5
3556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3557 if test "${ac_cv_prog_RANLIB+set}" = set; then
3558 echo $ECHO_N "(cached) $ECHO_C" >&6
3559 else
3560 if test -n "$RANLIB"; then
3561 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3562 else
3563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3564 for as_dir in $PATH
3566 IFS=$as_save_IFS
3567 test -z "$as_dir" && as_dir=.
3568 for ac_exec_ext in '' $ac_executable_extensions; do
3569 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3570 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3572 break 2
3574 done
3575 done
3579 RANLIB=$ac_cv_prog_RANLIB
3580 if test -n "$RANLIB"; then
3581 echo "$as_me:$LINENO: result: $RANLIB" >&5
3582 echo "${ECHO_T}$RANLIB" >&6
3583 else
3584 echo "$as_me:$LINENO: result: no" >&5
3585 echo "${ECHO_T}no" >&6
3589 if test -z "$ac_cv_prog_RANLIB"; then
3590 ac_ct_RANLIB=$RANLIB
3591 # Extract the first word of "ranlib", so it can be a program name with args.
3592 set dummy ranlib; ac_word=$2
3593 echo "$as_me:$LINENO: checking for $ac_word" >&5
3594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3595 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3596 echo $ECHO_N "(cached) $ECHO_C" >&6
3597 else
3598 if test -n "$ac_ct_RANLIB"; then
3599 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3600 else
3601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3602 for as_dir in $PATH
3604 IFS=$as_save_IFS
3605 test -z "$as_dir" && as_dir=.
3606 for ac_exec_ext in '' $ac_executable_extensions; do
3607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3608 ac_cv_prog_ac_ct_RANLIB="ranlib"
3609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3610 break 2
3612 done
3613 done
3615 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3618 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3619 if test -n "$ac_ct_RANLIB"; then
3620 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3621 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3622 else
3623 echo "$as_me:$LINENO: result: no" >&5
3624 echo "${ECHO_T}no" >&6
3627 RANLIB=$ac_ct_RANLIB
3628 else
3629 RANLIB="$ac_cv_prog_RANLIB"
3633 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3634 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3635 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3636 if test "${enable_maintainer_mode+set}" = set; then
3637 enableval="$enable_maintainer_mode"
3638 USE_MAINTAINER_MODE=$enableval
3639 else
3640 USE_MAINTAINER_MODE=no
3642 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3643 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3646 if test $USE_MAINTAINER_MODE = yes; then
3647 MAINTAINER_MODE_TRUE=
3648 MAINTAINER_MODE_FALSE='#'
3649 else
3650 MAINTAINER_MODE_TRUE='#'
3651 MAINTAINER_MODE_FALSE=
3654 MAINT=$MAINTAINER_MODE_TRUE
3658 # Set up safe default values for all subsequent AM_CONDITIONAL tests
3659 # which are themselves conditionally expanded.
3660 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3661 ## other macros from doing the same. This should be automated.) -pme
3662 need_libmath=no
3664 # Find platform-specific directories containing configuration info.
3665 # Also possibly modify flags used elsewhere, as needed by the platform.
3667 . $glibcxx_srcdir/configure.host
3668 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3669 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3670 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3671 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3676 # Check whether --enable-shared or --disable-shared was given.
3677 if test "${enable_shared+set}" = set; then
3678 enableval="$enable_shared"
3679 p=${PACKAGE-default}
3680 case $enableval in
3681 yes) enable_shared=yes ;;
3682 no) enable_shared=no ;;
3684 enable_shared=no
3685 # Look at the argument we got. We use all the common list separators.
3686 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3687 for pkg in $enableval; do
3688 if test "X$pkg" = "X$p"; then
3689 enable_shared=yes
3691 done
3692 IFS="$ac_save_ifs"
3694 esac
3695 else
3696 enable_shared=yes
3698 # Check whether --enable-static or --disable-static was given.
3699 if test "${enable_static+set}" = set; then
3700 enableval="$enable_static"
3701 p=${PACKAGE-default}
3702 case $enableval in
3703 yes) enable_static=yes ;;
3704 no) enable_static=no ;;
3706 enable_static=no
3707 # Look at the argument we got. We use all the common list separators.
3708 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3709 for pkg in $enableval; do
3710 if test "X$pkg" = "X$p"; then
3711 enable_static=yes
3713 done
3714 IFS="$ac_save_ifs"
3716 esac
3717 else
3718 enable_static=yes
3720 # Check whether --enable-fast-install or --disable-fast-install was given.
3721 if test "${enable_fast_install+set}" = set; then
3722 enableval="$enable_fast_install"
3723 p=${PACKAGE-default}
3724 case $enableval in
3725 yes) enable_fast_install=yes ;;
3726 no) enable_fast_install=no ;;
3728 enable_fast_install=no
3729 # Look at the argument we got. We use all the common list separators.
3730 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3731 for pkg in $enableval; do
3732 if test "X$pkg" = "X$p"; then
3733 enable_fast_install=yes
3735 done
3736 IFS="$ac_save_ifs"
3738 esac
3739 else
3740 enable_fast_install=yes
3743 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3744 if test "${with_gnu_ld+set}" = set; then
3745 withval="$with_gnu_ld"
3746 test "$withval" = no || with_gnu_ld=yes
3747 else
3748 with_gnu_ld=no
3750 ac_prog=ld
3751 if test "$GCC" = yes; then
3752 # Check if gcc -print-prog-name=ld gives a path.
3753 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3754 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3755 case $host in
3756 *-*-mingw*)
3757 # gcc leaves a trailing carriage return which upsets mingw
3758 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3760 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3761 esac
3762 case $ac_prog in
3763 # Accept absolute paths.
3764 [\\/]* | [A-Za-z]:[\\/]*)
3765 re_direlt='/[^/][^/]*/\.\./'
3766 # Canonicalize the path of ld
3767 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3768 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3769 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3770 done
3771 test -z "$LD" && LD="$ac_prog"
3774 # If it fails, then pretend we aren't using GCC.
3775 ac_prog=ld
3778 # If it is relative, then search for the first ld in PATH.
3779 with_gnu_ld=unknown
3781 esac
3782 elif test "$with_gnu_ld" = yes; then
3783 echo "$as_me:$LINENO: checking for GNU ld" >&5
3784 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3785 else
3786 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3787 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3789 if test "${lt_cv_path_LD+set}" = set; then
3790 echo $ECHO_N "(cached) $ECHO_C" >&6
3791 else
3792 if test -z "$LD"; then
3793 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3794 for ac_dir in $PATH; do
3795 test -z "$ac_dir" && ac_dir=.
3796 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3797 lt_cv_path_LD="$ac_dir/$ac_prog"
3798 # Check to see if the program is GNU ld. I'd rather use --version,
3799 # but apparently some GNU ld's only accept -v.
3800 # Break only if it was the GNU/non-GNU ld that we prefer.
3801 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3802 test "$with_gnu_ld" != no && break
3803 else
3804 test "$with_gnu_ld" != yes && break
3807 done
3808 IFS="$ac_save_ifs"
3809 else
3810 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3814 LD="$lt_cv_path_LD"
3815 if test -n "$LD"; then
3816 echo "$as_me:$LINENO: result: $LD" >&5
3817 echo "${ECHO_T}$LD" >&6
3818 else
3819 echo "$as_me:$LINENO: result: no" >&5
3820 echo "${ECHO_T}no" >&6
3822 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3823 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3824 { (exit 1); exit 1; }; }
3825 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3826 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3827 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3828 echo $ECHO_N "(cached) $ECHO_C" >&6
3829 else
3830 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3831 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3832 lt_cv_prog_gnu_ld=yes
3833 else
3834 lt_cv_prog_gnu_ld=no
3837 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3838 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3839 with_gnu_ld=$lt_cv_prog_gnu_ld
3842 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3843 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3844 if test "${lt_cv_ld_reload_flag+set}" = set; then
3845 echo $ECHO_N "(cached) $ECHO_C" >&6
3846 else
3847 lt_cv_ld_reload_flag='-r'
3849 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3850 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3851 reload_flag=$lt_cv_ld_reload_flag
3852 test -n "$reload_flag" && reload_flag=" $reload_flag"
3854 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3855 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3856 if test "${lt_cv_path_NM+set}" = set; then
3857 echo $ECHO_N "(cached) $ECHO_C" >&6
3858 else
3859 if test -n "$NM"; then
3860 # Let the user override the test.
3861 lt_cv_path_NM="$NM"
3862 else
3863 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3864 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3865 test -z "$ac_dir" && ac_dir=.
3866 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3867 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3868 # Check to see if the nm accepts a BSD-compat flag.
3869 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3870 # nm: unknown option "B" ignored
3871 # Tru64's nm complains that /dev/null is an invalid object file
3872 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3873 lt_cv_path_NM="$tmp_nm -B"
3874 break
3875 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3876 lt_cv_path_NM="$tmp_nm -p"
3877 break
3878 else
3879 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3880 continue # so that we can try to find one that supports BSD flags
3883 done
3884 IFS="$ac_save_ifs"
3885 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3889 NM="$lt_cv_path_NM"
3890 echo "$as_me:$LINENO: result: $NM" >&5
3891 echo "${ECHO_T}$NM" >&6
3893 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3894 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3895 if test "${lt_cv_deplibs_check_method+set}" = set; then
3896 echo $ECHO_N "(cached) $ECHO_C" >&6
3897 else
3898 lt_cv_file_magic_cmd='$MAGIC_CMD'
3899 lt_cv_file_magic_test_file=
3900 lt_cv_deplibs_check_method='unknown'
3901 # Need to set the preceding variable on all platforms that support
3902 # interlibrary dependencies.
3903 # 'none' -- dependencies not supported.
3904 # `unknown' -- same as none, but documents that we really don't know.
3905 # 'pass_all' -- all dependencies passed with no checks.
3906 # 'test_compile' -- check by making test program.
3907 # 'file_magic [regex]' -- check by looking for files in library path
3908 # which responds to the $file_magic_cmd with a given egrep regex.
3909 # If you have `file' or equivalent on your system and you're not sure
3910 # whether `pass_all' will *always* work, you probably want this one.
3912 case $host_os in
3913 aix*)
3914 lt_cv_deplibs_check_method=pass_all
3917 beos*)
3918 lt_cv_deplibs_check_method=pass_all
3921 bsdi4*)
3922 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3923 lt_cv_file_magic_cmd='/usr/bin/file -L'
3924 lt_cv_file_magic_test_file=/shlib/libc.so
3927 cygwin* | mingw* |pw32*)
3928 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3929 lt_cv_file_magic_cmd='$OBJDUMP -f'
3932 darwin* | rhapsody*)
3933 # this will be overwritten by pass_all, but leave it in just in case
3934 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3935 lt_cv_file_magic_cmd='/usr/bin/file -L'
3936 case "$host_os" in
3937 rhapsody* | darwin1.012)
3938 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3940 *) # Darwin 1.3 on
3941 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3943 esac
3944 lt_cv_deplibs_check_method=pass_all
3947 freebsd* | kfreebsd*-gnu)
3948 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3949 case $host_cpu in
3950 i*86 )
3951 # Not sure whether the presence of OpenBSD here was a mistake.
3952 # Let's accept both of them until this is cleared up.
3953 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3954 lt_cv_file_magic_cmd=/usr/bin/file
3955 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3957 esac
3958 else
3959 lt_cv_deplibs_check_method=pass_all
3963 gnu*)
3964 lt_cv_deplibs_check_method=pass_all
3967 hpux10.20*|hpux11*)
3968 case $host_cpu in
3969 hppa*)
3970 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3971 lt_cv_file_magic_cmd=/usr/bin/file
3972 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3974 ia64*)
3975 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3976 lt_cv_file_magic_cmd=/usr/bin/file
3977 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3979 esac
3982 irix5* | irix6*)
3983 case $host_os in
3984 irix5*)
3985 # this will be overridden with pass_all, but let us keep it just in case
3986 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3989 case $LD in
3990 *-32|*"-32 ") libmagic=32-bit;;
3991 *-n32|*"-n32 ") libmagic=N32;;
3992 *-64|*"-64 ") libmagic=64-bit;;
3993 *) libmagic=never-match;;
3994 esac
3995 # this will be overridden with pass_all, but let us keep it just in case
3996 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3998 esac
3999 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4000 lt_cv_deplibs_check_method=pass_all
4003 # This must be Linux ELF.
4004 linux-gnu*)
4005 lt_cv_deplibs_check_method=pass_all
4008 netbsd* | knetbsd*-gnu)
4009 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4010 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4011 else
4012 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4016 newsos6)
4017 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4018 lt_cv_file_magic_cmd=/usr/bin/file
4019 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4022 osf3* | osf4* | osf5*)
4023 # this will be overridden with pass_all, but let us keep it just in case
4024 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4025 lt_cv_file_magic_test_file=/shlib/libc.so
4026 lt_cv_deplibs_check_method=pass_all
4029 sco3.2v5*)
4030 lt_cv_deplibs_check_method=pass_all
4033 solaris*)
4034 lt_cv_deplibs_check_method=pass_all
4035 lt_cv_file_magic_test_file=/lib/libc.so
4038 sysv5uw[78]* | sysv4*uw2*)
4039 lt_cv_deplibs_check_method=pass_all
4042 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4043 case $host_vendor in
4044 ncr)
4045 lt_cv_deplibs_check_method=pass_all
4047 motorola)
4048 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]'
4049 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4051 esac
4053 esac
4056 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4057 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4058 file_magic_cmd=$lt_cv_file_magic_cmd
4059 deplibs_check_method=$lt_cv_deplibs_check_method
4065 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4067 # find the maximum length of command line arguments
4068 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4069 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4070 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4071 echo $ECHO_N "(cached) $ECHO_C" >&6
4072 else
4074 teststring="ABCD"
4076 case $build_os in
4077 msdosdjgpp*)
4078 # On DJGPP, this test can blow up pretty badly due to problems in libc
4079 # (any single argument exceeding 2000 bytes causes a buffer overrun
4080 # during glob expansion). Even if it were fixed, the result of this
4081 # check would be larger than it should be.
4082 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4085 cygwin* | mingw*)
4086 # On Win9x/ME, this test blows up -- it succeeds, but takes
4087 # about 5 minutes as the teststring grows exponentially.
4088 # Worse, since 9x/ME are not pre-emptively multitasking,
4089 # you end up with a "frozen" computer, even though with patience
4090 # the test eventually succeeds (with a max line length of 256k).
4091 # Instead, let's just punt: use the minimum linelength reported by
4092 # all of the supported platforms: 8192 (on NT/2K/XP).
4093 lt_cv_sys_max_cmd_len=8192;
4096 amigaos*)
4097 # On AmigaOS with pdksh, this test takes hours, literally.
4098 # So we just punt and use a minimum line length of 8192.
4099 lt_cv_sys_max_cmd_len=8192;
4102 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4103 # This has been around since 386BSD, at least. Likely further.
4104 if test -x /sbin/sysctl; then
4105 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4106 elif test -x /usr/sbin/sysctl; then
4107 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4108 else
4109 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
4111 # And add a safety zone
4112 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4113 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4115 esac
4119 if test -n "$lt_cv_sys_max_cmd_len" ; then
4120 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4121 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4122 else
4123 echo "$as_me:$LINENO: result: none" >&5
4124 echo "${ECHO_T}none" >&6
4128 # Only perform the check for file, if the check method requires it
4129 case $deplibs_check_method in
4130 file_magic*)
4131 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4132 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4133 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4134 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4135 echo $ECHO_N "(cached) $ECHO_C" >&6
4136 else
4137 case $MAGIC_CMD in
4139 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4141 ?:/*)
4142 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4145 ac_save_MAGIC_CMD="$MAGIC_CMD"
4146 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4147 ac_dummy="/usr/bin:$PATH"
4148 for ac_dir in $ac_dummy; do
4149 test -z "$ac_dir" && ac_dir=.
4150 if test -f $ac_dir/${ac_tool_prefix}file; then
4151 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4152 if test -n "$file_magic_test_file"; then
4153 case $deplibs_check_method in
4154 "file_magic "*)
4155 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4156 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4157 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4158 egrep "$file_magic_regex" > /dev/null; then
4160 else
4161 cat <<EOF 1>&2
4163 *** Warning: the command libtool uses to detect shared libraries,
4164 *** $file_magic_cmd, produces output that libtool cannot recognize.
4165 *** The result is that libtool may fail to recognize shared libraries
4166 *** as such. This will affect the creation of libtool libraries that
4167 *** depend on shared libraries, but programs linked with such libtool
4168 *** libraries will work regardless of this problem. Nevertheless, you
4169 *** may want to report the problem to your system manager and/or to
4170 *** bug-libtool@gnu.org
4173 fi ;;
4174 esac
4176 break
4178 done
4179 IFS="$ac_save_ifs"
4180 MAGIC_CMD="$ac_save_MAGIC_CMD"
4182 esac
4185 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4186 if test -n "$MAGIC_CMD"; then
4187 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4188 echo "${ECHO_T}$MAGIC_CMD" >&6
4189 else
4190 echo "$as_me:$LINENO: result: no" >&5
4191 echo "${ECHO_T}no" >&6
4194 if test -z "$lt_cv_path_MAGIC_CMD"; then
4195 if test -n "$ac_tool_prefix"; then
4196 echo "$as_me:$LINENO: checking for file" >&5
4197 echo $ECHO_N "checking for file... $ECHO_C" >&6
4198 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4199 echo $ECHO_N "(cached) $ECHO_C" >&6
4200 else
4201 case $MAGIC_CMD in
4203 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4205 ?:/*)
4206 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4209 ac_save_MAGIC_CMD="$MAGIC_CMD"
4210 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4211 ac_dummy="/usr/bin:$PATH"
4212 for ac_dir in $ac_dummy; do
4213 test -z "$ac_dir" && ac_dir=.
4214 if test -f $ac_dir/file; then
4215 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4216 if test -n "$file_magic_test_file"; then
4217 case $deplibs_check_method in
4218 "file_magic "*)
4219 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4220 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4221 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4222 egrep "$file_magic_regex" > /dev/null; then
4224 else
4225 cat <<EOF 1>&2
4227 *** Warning: the command libtool uses to detect shared libraries,
4228 *** $file_magic_cmd, produces output that libtool cannot recognize.
4229 *** The result is that libtool may fail to recognize shared libraries
4230 *** as such. This will affect the creation of libtool libraries that
4231 *** depend on shared libraries, but programs linked with such libtool
4232 *** libraries will work regardless of this problem. Nevertheless, you
4233 *** may want to report the problem to your system manager and/or to
4234 *** bug-libtool@gnu.org
4237 fi ;;
4238 esac
4240 break
4242 done
4243 IFS="$ac_save_ifs"
4244 MAGIC_CMD="$ac_save_MAGIC_CMD"
4246 esac
4249 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4250 if test -n "$MAGIC_CMD"; then
4251 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4252 echo "${ECHO_T}$MAGIC_CMD" >&6
4253 else
4254 echo "$as_me:$LINENO: result: no" >&5
4255 echo "${ECHO_T}no" >&6
4258 else
4259 MAGIC_CMD=:
4265 esac
4267 if test -n "$ac_tool_prefix"; then
4268 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4269 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4270 echo "$as_me:$LINENO: checking for $ac_word" >&5
4271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4272 if test "${ac_cv_prog_RANLIB+set}" = set; then
4273 echo $ECHO_N "(cached) $ECHO_C" >&6
4274 else
4275 if test -n "$RANLIB"; then
4276 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4277 else
4278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4279 for as_dir in $PATH
4281 IFS=$as_save_IFS
4282 test -z "$as_dir" && as_dir=.
4283 for ac_exec_ext in '' $ac_executable_extensions; do
4284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4285 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4287 break 2
4289 done
4290 done
4294 RANLIB=$ac_cv_prog_RANLIB
4295 if test -n "$RANLIB"; then
4296 echo "$as_me:$LINENO: result: $RANLIB" >&5
4297 echo "${ECHO_T}$RANLIB" >&6
4298 else
4299 echo "$as_me:$LINENO: result: no" >&5
4300 echo "${ECHO_T}no" >&6
4304 if test -z "$ac_cv_prog_RANLIB"; then
4305 ac_ct_RANLIB=$RANLIB
4306 # Extract the first word of "ranlib", so it can be a program name with args.
4307 set dummy ranlib; ac_word=$2
4308 echo "$as_me:$LINENO: checking for $ac_word" >&5
4309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4310 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4311 echo $ECHO_N "(cached) $ECHO_C" >&6
4312 else
4313 if test -n "$ac_ct_RANLIB"; then
4314 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4315 else
4316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4317 for as_dir in $PATH
4319 IFS=$as_save_IFS
4320 test -z "$as_dir" && as_dir=.
4321 for ac_exec_ext in '' $ac_executable_extensions; do
4322 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4323 ac_cv_prog_ac_ct_RANLIB="ranlib"
4324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4325 break 2
4327 done
4328 done
4330 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4333 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4334 if test -n "$ac_ct_RANLIB"; then
4335 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4336 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4337 else
4338 echo "$as_me:$LINENO: result: no" >&5
4339 echo "${ECHO_T}no" >&6
4342 RANLIB=$ac_ct_RANLIB
4343 else
4344 RANLIB="$ac_cv_prog_RANLIB"
4347 if test -n "$ac_tool_prefix"; then
4348 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4349 set dummy ${ac_tool_prefix}strip; ac_word=$2
4350 echo "$as_me:$LINENO: checking for $ac_word" >&5
4351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4352 if test "${ac_cv_prog_STRIP+set}" = set; then
4353 echo $ECHO_N "(cached) $ECHO_C" >&6
4354 else
4355 if test -n "$STRIP"; then
4356 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4357 else
4358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4359 for as_dir in $PATH
4361 IFS=$as_save_IFS
4362 test -z "$as_dir" && as_dir=.
4363 for ac_exec_ext in '' $ac_executable_extensions; do
4364 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4365 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4367 break 2
4369 done
4370 done
4374 STRIP=$ac_cv_prog_STRIP
4375 if test -n "$STRIP"; then
4376 echo "$as_me:$LINENO: result: $STRIP" >&5
4377 echo "${ECHO_T}$STRIP" >&6
4378 else
4379 echo "$as_me:$LINENO: result: no" >&5
4380 echo "${ECHO_T}no" >&6
4384 if test -z "$ac_cv_prog_STRIP"; then
4385 ac_ct_STRIP=$STRIP
4386 # Extract the first word of "strip", so it can be a program name with args.
4387 set dummy strip; ac_word=$2
4388 echo "$as_me:$LINENO: checking for $ac_word" >&5
4389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4390 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4391 echo $ECHO_N "(cached) $ECHO_C" >&6
4392 else
4393 if test -n "$ac_ct_STRIP"; then
4394 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4395 else
4396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4397 for as_dir in $PATH
4399 IFS=$as_save_IFS
4400 test -z "$as_dir" && as_dir=.
4401 for ac_exec_ext in '' $ac_executable_extensions; do
4402 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4403 ac_cv_prog_ac_ct_STRIP="strip"
4404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4405 break 2
4407 done
4408 done
4410 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4413 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4414 if test -n "$ac_ct_STRIP"; then
4415 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4416 echo "${ECHO_T}$ac_ct_STRIP" >&6
4417 else
4418 echo "$as_me:$LINENO: result: no" >&5
4419 echo "${ECHO_T}no" >&6
4422 STRIP=$ac_ct_STRIP
4423 else
4424 STRIP="$ac_cv_prog_STRIP"
4428 # Check for any special flags to pass to ltconfig.
4429 libtool_flags="--cache-file=$cache_file"
4430 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4431 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4432 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4433 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4434 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4437 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4438 if test "${enable_libtool_lock+set}" = set; then
4439 enableval="$enable_libtool_lock"
4442 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4443 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4446 # Check whether --with-pic or --without-pic was given.
4447 if test "${with_pic+set}" = set; then
4448 withval="$with_pic"
4449 pic_mode="$withval"
4450 else
4451 pic_mode=default
4453 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4454 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4456 # Some flags need to be propagated to the compiler or linker for good
4457 # libtool support.
4458 case $host in
4459 *-*-irix6*)
4460 # Find out which ABI we are using.
4461 echo '#line 4461 "configure"' > conftest.$ac_ext
4462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4463 (eval $ac_compile) 2>&5
4464 ac_status=$?
4465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4466 (exit $ac_status); }; then
4467 if test "$lt_cv_prog_gnu_ld" = yes; then
4468 case `/usr/bin/file conftest.$ac_objext` in
4469 *32-bit*)
4470 LD="${LD-ld} -melf32bsmip"
4472 *N32*)
4473 LD="${LD-ld} -melf32bmipn32"
4475 *64-bit*)
4476 LD="${LD-ld} -melf64bmip"
4478 esac
4479 else
4480 case `/usr/bin/file conftest.$ac_objext` in
4481 *32-bit*)
4482 LD="${LD-ld} -32"
4484 *N32*)
4485 LD="${LD-ld} -n32"
4487 *64-bit*)
4488 LD="${LD-ld} -64"
4490 esac
4493 rm -rf conftest*
4496 ia64-*-hpux*)
4497 # Find out which ABI we are using.
4498 echo 'int i;' > conftest.$ac_ext
4499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4500 (eval $ac_compile) 2>&5
4501 ac_status=$?
4502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4503 (exit $ac_status); }; then
4504 case "`/usr/bin/file conftest.o`" in
4505 *ELF-32*)
4506 HPUX_IA64_MODE="32"
4508 *ELF-64*)
4509 HPUX_IA64_MODE="64"
4511 esac
4513 rm -rf conftest*
4516 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4517 # Find out which ABI we are using.
4518 echo 'int i;' > conftest.$ac_ext
4519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4520 (eval $ac_compile) 2>&5
4521 ac_status=$?
4522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4523 (exit $ac_status); }; then
4524 case "`/usr/bin/file conftest.o`" in
4525 *32-bit*)
4526 case $host in
4527 x86_64-*linux*)
4528 LD="${LD-ld} -m elf_i386"
4530 ppc64-*linux*|powerpc64-*linux*)
4531 LD="${LD-ld} -m elf32ppclinux"
4533 s390x-*linux*)
4534 LD="${LD-ld} -m elf_s390"
4536 sparc64-*linux*)
4537 LD="${LD-ld} -m elf32_sparc"
4539 esac
4541 *64-bit*)
4542 case $host in
4543 x86_64-*linux*)
4544 LD="${LD-ld} -m elf_x86_64"
4546 ppc*-*linux*|powerpc*-*linux*)
4547 LD="${LD-ld} -m elf64ppc"
4549 s390*-*linux*)
4550 LD="${LD-ld} -m elf64_s390"
4552 sparc*-*linux*)
4553 LD="${LD-ld} -m elf64_sparc"
4555 esac
4557 esac
4559 rm -rf conftest*
4562 *-*-sco3.2v5*)
4563 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4564 SAVE_CFLAGS="$CFLAGS"
4565 CFLAGS="$CFLAGS -belf"
4566 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4567 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4568 if test "${lt_cv_cc_needs_belf+set}" = set; then
4569 echo $ECHO_N "(cached) $ECHO_C" >&6
4570 else
4573 ac_ext=c
4574 ac_cpp='$CPP $CPPFLAGS'
4575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4579 if test x$gcc_no_link = xyes; then
4580 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4582 { (exit 1); exit 1; }; }
4584 cat >conftest.$ac_ext <<_ACEOF
4585 /* confdefs.h. */
4586 _ACEOF
4587 cat confdefs.h >>conftest.$ac_ext
4588 cat >>conftest.$ac_ext <<_ACEOF
4589 /* end confdefs.h. */
4592 main ()
4596 return 0;
4598 _ACEOF
4599 rm -f conftest.$ac_objext conftest$ac_exeext
4600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4601 (eval $ac_link) 2>conftest.er1
4602 ac_status=$?
4603 grep -v '^ *+' conftest.er1 >conftest.err
4604 rm -f conftest.er1
4605 cat conftest.err >&5
4606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4607 (exit $ac_status); } &&
4608 { ac_try='test -z "$ac_c_werror_flag"
4609 || test ! -s conftest.err'
4610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4611 (eval $ac_try) 2>&5
4612 ac_status=$?
4613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4614 (exit $ac_status); }; } &&
4615 { ac_try='test -s conftest$ac_exeext'
4616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4617 (eval $ac_try) 2>&5
4618 ac_status=$?
4619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4620 (exit $ac_status); }; }; then
4621 lt_cv_cc_needs_belf=yes
4622 else
4623 echo "$as_me: failed program was:" >&5
4624 sed 's/^/| /' conftest.$ac_ext >&5
4626 lt_cv_cc_needs_belf=no
4628 rm -f conftest.err conftest.$ac_objext \
4629 conftest$ac_exeext conftest.$ac_ext
4630 ac_ext=c
4631 ac_cpp='$CPP $CPPFLAGS'
4632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4637 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4638 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4639 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4640 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4641 CFLAGS="$SAVE_CFLAGS"
4646 esac
4649 # Save cache, so that ltconfig can load it
4650 cat >confcache <<\_ACEOF
4651 # This file is a shell script that caches the results of configure
4652 # tests run on this system so they can be shared between configure
4653 # scripts and configure runs, see configure's option --config-cache.
4654 # It is not useful on other systems. If it contains results you don't
4655 # want to keep, you may remove or edit it.
4657 # config.status only pays attention to the cache file if you give it
4658 # the --recheck option to rerun configure.
4660 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4661 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4662 # following values.
4664 _ACEOF
4666 # The following way of writing the cache mishandles newlines in values,
4667 # but we know of no workaround that is simple, portable, and efficient.
4668 # So, don't put newlines in cache variables' values.
4669 # Ultrix sh set writes to stderr and can't be redirected directly,
4670 # and sets the high bit in the cache file unless we assign to the vars.
4672 (set) 2>&1 |
4673 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4674 *ac_space=\ *)
4675 # `set' does not quote correctly, so add quotes (double-quote
4676 # substitution turns \\\\ into \\, and sed turns \\ into \).
4677 sed -n \
4678 "s/'/'\\\\''/g;
4679 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4682 # `set' quotes correctly as required by POSIX, so do not add quotes.
4683 sed -n \
4684 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4686 esac;
4688 sed '
4689 t clear
4690 : clear
4691 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4692 t end
4693 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4694 : end' >>confcache
4695 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4696 if test -w $cache_file; then
4697 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4698 cat confcache >$cache_file
4699 else
4700 echo "not updating unwritable cache $cache_file"
4703 rm -f confcache
4705 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4706 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4707 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4708 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4709 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4710 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4711 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4712 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4713 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4714 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4715 echo "$as_me: error: libtool configure failed" >&2;}
4716 { (exit 1); exit 1; }; }
4718 # Reload cache, that may have been modified by ltconfig
4719 if test -r "$cache_file"; then
4720 # Some versions of bash will fail to source /dev/null (special
4721 # files actually), so we avoid doing that.
4722 if test -f "$cache_file"; then
4723 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4724 echo "$as_me: loading cache $cache_file" >&6;}
4725 case $cache_file in
4726 [\\/]* | ?:[\\/]* ) . $cache_file;;
4727 *) . ./$cache_file;;
4728 esac
4730 else
4731 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4732 echo "$as_me: creating cache $cache_file" >&6;}
4733 >$cache_file
4737 # This can be used to rebuild libtool when needed
4738 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4740 # Always use our own libtool.
4741 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4743 # Redirect the config.log output again, so that the ltconfig log is not
4744 # clobbered by the next message.
4745 exec 5>>./config.log
4747 ac_ext=cc
4748 ac_cpp='$CXXCPP $CPPFLAGS'
4749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4752 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4753 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4754 if test -z "$CXXCPP"; then
4755 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4756 echo $ECHO_N "(cached) $ECHO_C" >&6
4757 else
4758 # Double quotes because CXXCPP needs to be expanded
4759 for CXXCPP in "$CXX -E" "/lib/cpp"
4761 ac_preproc_ok=false
4762 for ac_cxx_preproc_warn_flag in '' yes
4764 # Use a header file that comes with gcc, so configuring glibc
4765 # with a fresh cross-compiler works.
4766 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4767 # <limits.h> exists even on freestanding compilers.
4768 # On the NeXT, cc -E runs the code through the compiler's parser,
4769 # not just through cpp. "Syntax error" is here to catch this case.
4770 cat >conftest.$ac_ext <<_ACEOF
4771 /* confdefs.h. */
4772 _ACEOF
4773 cat confdefs.h >>conftest.$ac_ext
4774 cat >>conftest.$ac_ext <<_ACEOF
4775 /* end confdefs.h. */
4776 #ifdef __STDC__
4777 # include <limits.h>
4778 #else
4779 # include <assert.h>
4780 #endif
4781 Syntax error
4782 _ACEOF
4783 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4784 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4785 ac_status=$?
4786 grep -v '^ *+' conftest.er1 >conftest.err
4787 rm -f conftest.er1
4788 cat conftest.err >&5
4789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4790 (exit $ac_status); } >/dev/null; then
4791 if test -s conftest.err; then
4792 ac_cpp_err=$ac_cxx_preproc_warn_flag
4793 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4794 else
4795 ac_cpp_err=
4797 else
4798 ac_cpp_err=yes
4800 if test -z "$ac_cpp_err"; then
4802 else
4803 echo "$as_me: failed program was:" >&5
4804 sed 's/^/| /' conftest.$ac_ext >&5
4806 # Broken: fails on valid input.
4807 continue
4809 rm -f conftest.err conftest.$ac_ext
4811 # OK, works on sane cases. Now check whether non-existent headers
4812 # can be detected and how.
4813 cat >conftest.$ac_ext <<_ACEOF
4814 /* confdefs.h. */
4815 _ACEOF
4816 cat confdefs.h >>conftest.$ac_ext
4817 cat >>conftest.$ac_ext <<_ACEOF
4818 /* end confdefs.h. */
4819 #include <ac_nonexistent.h>
4820 _ACEOF
4821 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4822 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4823 ac_status=$?
4824 grep -v '^ *+' conftest.er1 >conftest.err
4825 rm -f conftest.er1
4826 cat conftest.err >&5
4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828 (exit $ac_status); } >/dev/null; then
4829 if test -s conftest.err; then
4830 ac_cpp_err=$ac_cxx_preproc_warn_flag
4831 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4832 else
4833 ac_cpp_err=
4835 else
4836 ac_cpp_err=yes
4838 if test -z "$ac_cpp_err"; then
4839 # Broken: success on invalid input.
4840 continue
4841 else
4842 echo "$as_me: failed program was:" >&5
4843 sed 's/^/| /' conftest.$ac_ext >&5
4845 # Passes both tests.
4846 ac_preproc_ok=:
4847 break
4849 rm -f conftest.err conftest.$ac_ext
4851 done
4852 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4853 rm -f conftest.err conftest.$ac_ext
4854 if $ac_preproc_ok; then
4855 break
4858 done
4859 ac_cv_prog_CXXCPP=$CXXCPP
4862 CXXCPP=$ac_cv_prog_CXXCPP
4863 else
4864 ac_cv_prog_CXXCPP=$CXXCPP
4866 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4867 echo "${ECHO_T}$CXXCPP" >&6
4868 ac_preproc_ok=false
4869 for ac_cxx_preproc_warn_flag in '' yes
4871 # Use a header file that comes with gcc, so configuring glibc
4872 # with a fresh cross-compiler works.
4873 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4874 # <limits.h> exists even on freestanding compilers.
4875 # On the NeXT, cc -E runs the code through the compiler's parser,
4876 # not just through cpp. "Syntax error" is here to catch this case.
4877 cat >conftest.$ac_ext <<_ACEOF
4878 /* confdefs.h. */
4879 _ACEOF
4880 cat confdefs.h >>conftest.$ac_ext
4881 cat >>conftest.$ac_ext <<_ACEOF
4882 /* end confdefs.h. */
4883 #ifdef __STDC__
4884 # include <limits.h>
4885 #else
4886 # include <assert.h>
4887 #endif
4888 Syntax error
4889 _ACEOF
4890 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4891 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4892 ac_status=$?
4893 grep -v '^ *+' conftest.er1 >conftest.err
4894 rm -f conftest.er1
4895 cat conftest.err >&5
4896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4897 (exit $ac_status); } >/dev/null; then
4898 if test -s conftest.err; then
4899 ac_cpp_err=$ac_cxx_preproc_warn_flag
4900 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4901 else
4902 ac_cpp_err=
4904 else
4905 ac_cpp_err=yes
4907 if test -z "$ac_cpp_err"; then
4909 else
4910 echo "$as_me: failed program was:" >&5
4911 sed 's/^/| /' conftest.$ac_ext >&5
4913 # Broken: fails on valid input.
4914 continue
4916 rm -f conftest.err conftest.$ac_ext
4918 # OK, works on sane cases. Now check whether non-existent headers
4919 # can be detected and how.
4920 cat >conftest.$ac_ext <<_ACEOF
4921 /* confdefs.h. */
4922 _ACEOF
4923 cat confdefs.h >>conftest.$ac_ext
4924 cat >>conftest.$ac_ext <<_ACEOF
4925 /* end confdefs.h. */
4926 #include <ac_nonexistent.h>
4927 _ACEOF
4928 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4929 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4930 ac_status=$?
4931 grep -v '^ *+' conftest.er1 >conftest.err
4932 rm -f conftest.er1
4933 cat conftest.err >&5
4934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935 (exit $ac_status); } >/dev/null; then
4936 if test -s conftest.err; then
4937 ac_cpp_err=$ac_cxx_preproc_warn_flag
4938 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4939 else
4940 ac_cpp_err=
4942 else
4943 ac_cpp_err=yes
4945 if test -z "$ac_cpp_err"; then
4946 # Broken: success on invalid input.
4947 continue
4948 else
4949 echo "$as_me: failed program was:" >&5
4950 sed 's/^/| /' conftest.$ac_ext >&5
4952 # Passes both tests.
4953 ac_preproc_ok=:
4954 break
4956 rm -f conftest.err conftest.$ac_ext
4958 done
4959 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4960 rm -f conftest.err conftest.$ac_ext
4961 if $ac_preproc_ok; then
4963 else
4964 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4965 See \`config.log' for more details." >&5
4966 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4967 See \`config.log' for more details." >&2;}
4968 { (exit 1); exit 1; }; }
4971 ac_ext=c
4972 ac_cpp='$CPP $CPPFLAGS'
4973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4979 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4980 lt_save_CC="$CC"
4981 lt_save_CFLAGS="$CFLAGS"
4982 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4983 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4984 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4985 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4986 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4987 deplibs_check_method="$deplibs_check_method" \
4988 file_magic_cmd="$file_magic_cmd" \
4989 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4990 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4991 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4992 echo "$as_me: error: libtool tag configuration failed" >&2;}
4993 { (exit 1); exit 1; }; }
4994 CC="$lt_save_CC"
4995 CFLAGS="$lt_save_CFLAGS"
4997 # Redirect the config.log output again, so that the ltconfig log is not
4998 # clobbered by the next message.
4999 exec 5>>./config.log
5009 # Possibly disable most of the library.
5010 ## TODO: Consider skipping unncessary tests altogether in this case, rather
5011 ## than just ignoring the results. Faster /and/ more correct, win win.
5013 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
5014 if test "${enable_hosted_libstdcxx+set}" = set; then
5015 enableval="$enable_hosted_libstdcxx"
5017 else
5018 case "$host" in
5019 arm*-*-symbianelf*)
5020 enable_hosted_libstdcxx=no
5023 enable_hosted_libstdcxx=yes
5025 esac
5027 if test "$enable_hosted_libstdcxx" = no; then
5028 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
5029 echo "$as_me: Only freestanding libraries will be built" >&6;}
5030 is_hosted=no
5031 hosted_define=0
5032 enable_abi_check=no
5033 enable_libstdcxx_pch=no
5034 else
5035 is_hosted=yes
5036 hosted_define=1
5040 cat >>confdefs.h <<_ACEOF
5041 #define _GLIBCXX_HOSTED $hosted_define
5042 _ACEOF
5046 # Check for compiler support that doesn't require linking.
5048 echo "$as_me:$LINENO: checking for exception model to use" >&5
5049 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
5052 ac_ext=cc
5053 ac_cpp='$CXXCPP $CPPFLAGS'
5054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5058 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
5059 if test "${enable_sjlj_exceptions+set}" = set; then
5060 enableval="$enable_sjlj_exceptions"
5062 case "$enableval" in
5063 yes|no|auto) ;;
5064 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
5065 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
5066 { (exit 1); exit 1; }; } ;;
5067 esac
5069 else
5070 enable_sjlj_exceptions=auto
5074 if test $enable_sjlj_exceptions = auto; then
5075 # Botheration. Now we've got to detect the exception model. Link tests
5076 # against libgcc.a are problematic since we've not been given proper -L
5077 # bits for single-tree newlib and libgloss.
5079 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
5080 cat > conftest.$ac_ext << EOF
5081 #line 5081 "configure"
5082 struct S { ~S(); };
5083 void bar();
5084 void foo()
5086 S s;
5087 bar();
5090 old_CXXFLAGS="$CXXFLAGS"
5091 CXXFLAGS=-S
5092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5093 (eval $ac_compile) 2>&5
5094 ac_status=$?
5095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5096 (exit $ac_status); }; then
5097 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5098 enable_sjlj_exceptions=yes
5099 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5100 enable_sjlj_exceptions=no
5101 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
5102 enable_sjlj_exceptions=no
5105 CXXFLAGS="$old_CXXFLAGS"
5106 rm -f conftest*
5109 # This is a tad weird, for hysterical raisins. We have to map
5110 # enable/disable to two different models.
5111 case $enable_sjlj_exceptions in
5112 yes)
5114 cat >>confdefs.h <<\_ACEOF
5115 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5116 _ACEOF
5118 ac_exception_model_name=sjlj
5121 ac_exception_model_name="call frame"
5124 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5125 echo "$as_me: error: unable to detect exception model" >&2;}
5126 { (exit 1); exit 1; }; }
5128 esac
5129 ac_ext=c
5130 ac_cpp='$CPP $CPPFLAGS'
5131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5135 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5136 echo "${ECHO_T}$ac_exception_model_name" >&6
5139 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5140 if test "${enable_libstdcxx_pch+set}" = set; then
5141 enableval="$enable_libstdcxx_pch"
5143 case "$enableval" in
5144 yes|no) ;;
5145 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5146 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5147 { (exit 1); exit 1; }; } ;;
5148 esac
5150 else
5151 enable_libstdcxx_pch=$is_hosted
5154 if test $enable_libstdcxx_pch = yes; then
5155 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5156 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5157 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5158 echo $ECHO_N "(cached) $ECHO_C" >&6
5159 else
5160 ac_save_CXXFLAGS="$CXXFLAGS"
5161 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5164 ac_ext=cc
5165 ac_cpp='$CXXCPP $CPPFLAGS'
5166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5170 echo '#include <math.h>' > conftest.h
5171 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5172 -o conftest.h.gch 1>&5 2>&1 &&
5173 echo '#error "pch failed"' > conftest.h &&
5174 echo '#include "conftest.h"' > conftest.cc &&
5175 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5176 then
5177 glibcxx_cv_prog_CXX_pch=yes
5178 else
5179 glibcxx_cv_prog_CXX_pch=no
5181 rm -f conftest*
5182 CXXFLAGS=$ac_save_CXXFLAGS
5183 ac_ext=c
5184 ac_cpp='$CPP $CPPFLAGS'
5185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5191 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5192 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5193 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5196 echo "$as_me:$LINENO: checking for enabled PCH" >&5
5197 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5198 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5199 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5202 if test $enable_libstdcxx_pch = yes; then
5203 glibcxx_PCHFLAGS="-include bits/stdc++.h"
5204 else
5205 glibcxx_PCHFLAGS=""
5210 # Enable all the variable C++ runtime options.
5212 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5213 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5214 # Check whether --enable-cstdio or --disable-cstdio was given.
5215 if test "${enable_cstdio+set}" = set; then
5216 enableval="$enable_cstdio"
5218 case "$enableval" in
5219 stdio) ;;
5220 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5221 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5222 { (exit 1); exit 1; }; } ;;
5223 esac
5225 else
5226 enable_cstdio=stdio
5230 # Now that libio has been removed, you can have any color you want as long
5231 # as it's black. This is one big no-op until other packages are added, but
5232 # showing the framework never hurts.
5233 case ${enable_cstdio} in
5234 stdio)
5235 CSTDIO_H=config/io/c_io_stdio.h
5236 BASIC_FILE_H=config/io/basic_file_stdio.h
5237 BASIC_FILE_CC=config/io/basic_file_stdio.cc
5238 echo "$as_me:$LINENO: result: stdio" >&5
5239 echo "${ECHO_T}stdio" >&6
5241 esac
5247 ac_ext=c
5248 ac_cpp='$CPP $CPPFLAGS'
5249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5252 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5253 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5254 # On Suns, sometimes $CPP names a directory.
5255 if test -n "$CPP" && test -d "$CPP"; then
5256 CPP=
5258 if test -z "$CPP"; then
5259 if test "${ac_cv_prog_CPP+set}" = set; then
5260 echo $ECHO_N "(cached) $ECHO_C" >&6
5261 else
5262 # Double quotes because CPP needs to be expanded
5263 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5265 ac_preproc_ok=false
5266 for ac_c_preproc_warn_flag in '' yes
5268 # Use a header file that comes with gcc, so configuring glibc
5269 # with a fresh cross-compiler works.
5270 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5271 # <limits.h> exists even on freestanding compilers.
5272 # On the NeXT, cc -E runs the code through the compiler's parser,
5273 # not just through cpp. "Syntax error" is here to catch this case.
5274 cat >conftest.$ac_ext <<_ACEOF
5275 /* confdefs.h. */
5276 _ACEOF
5277 cat confdefs.h >>conftest.$ac_ext
5278 cat >>conftest.$ac_ext <<_ACEOF
5279 /* end confdefs.h. */
5280 #ifdef __STDC__
5281 # include <limits.h>
5282 #else
5283 # include <assert.h>
5284 #endif
5285 Syntax error
5286 _ACEOF
5287 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5288 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5289 ac_status=$?
5290 grep -v '^ *+' conftest.er1 >conftest.err
5291 rm -f conftest.er1
5292 cat conftest.err >&5
5293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5294 (exit $ac_status); } >/dev/null; then
5295 if test -s conftest.err; then
5296 ac_cpp_err=$ac_c_preproc_warn_flag
5297 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5298 else
5299 ac_cpp_err=
5301 else
5302 ac_cpp_err=yes
5304 if test -z "$ac_cpp_err"; then
5306 else
5307 echo "$as_me: failed program was:" >&5
5308 sed 's/^/| /' conftest.$ac_ext >&5
5310 # Broken: fails on valid input.
5311 continue
5313 rm -f conftest.err conftest.$ac_ext
5315 # OK, works on sane cases. Now check whether non-existent headers
5316 # can be detected and how.
5317 cat >conftest.$ac_ext <<_ACEOF
5318 /* confdefs.h. */
5319 _ACEOF
5320 cat confdefs.h >>conftest.$ac_ext
5321 cat >>conftest.$ac_ext <<_ACEOF
5322 /* end confdefs.h. */
5323 #include <ac_nonexistent.h>
5324 _ACEOF
5325 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5326 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5327 ac_status=$?
5328 grep -v '^ *+' conftest.er1 >conftest.err
5329 rm -f conftest.er1
5330 cat conftest.err >&5
5331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5332 (exit $ac_status); } >/dev/null; then
5333 if test -s conftest.err; then
5334 ac_cpp_err=$ac_c_preproc_warn_flag
5335 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5336 else
5337 ac_cpp_err=
5339 else
5340 ac_cpp_err=yes
5342 if test -z "$ac_cpp_err"; then
5343 # Broken: success on invalid input.
5344 continue
5345 else
5346 echo "$as_me: failed program was:" >&5
5347 sed 's/^/| /' conftest.$ac_ext >&5
5349 # Passes both tests.
5350 ac_preproc_ok=:
5351 break
5353 rm -f conftest.err conftest.$ac_ext
5355 done
5356 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5357 rm -f conftest.err conftest.$ac_ext
5358 if $ac_preproc_ok; then
5359 break
5362 done
5363 ac_cv_prog_CPP=$CPP
5366 CPP=$ac_cv_prog_CPP
5367 else
5368 ac_cv_prog_CPP=$CPP
5370 echo "$as_me:$LINENO: result: $CPP" >&5
5371 echo "${ECHO_T}$CPP" >&6
5372 ac_preproc_ok=false
5373 for ac_c_preproc_warn_flag in '' yes
5375 # Use a header file that comes with gcc, so configuring glibc
5376 # with a fresh cross-compiler works.
5377 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5378 # <limits.h> exists even on freestanding compilers.
5379 # On the NeXT, cc -E runs the code through the compiler's parser,
5380 # not just through cpp. "Syntax error" is here to catch this case.
5381 cat >conftest.$ac_ext <<_ACEOF
5382 /* confdefs.h. */
5383 _ACEOF
5384 cat confdefs.h >>conftest.$ac_ext
5385 cat >>conftest.$ac_ext <<_ACEOF
5386 /* end confdefs.h. */
5387 #ifdef __STDC__
5388 # include <limits.h>
5389 #else
5390 # include <assert.h>
5391 #endif
5392 Syntax error
5393 _ACEOF
5394 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5395 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5396 ac_status=$?
5397 grep -v '^ *+' conftest.er1 >conftest.err
5398 rm -f conftest.er1
5399 cat conftest.err >&5
5400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5401 (exit $ac_status); } >/dev/null; then
5402 if test -s conftest.err; then
5403 ac_cpp_err=$ac_c_preproc_warn_flag
5404 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5405 else
5406 ac_cpp_err=
5408 else
5409 ac_cpp_err=yes
5411 if test -z "$ac_cpp_err"; then
5413 else
5414 echo "$as_me: failed program was:" >&5
5415 sed 's/^/| /' conftest.$ac_ext >&5
5417 # Broken: fails on valid input.
5418 continue
5420 rm -f conftest.err conftest.$ac_ext
5422 # OK, works on sane cases. Now check whether non-existent headers
5423 # can be detected and how.
5424 cat >conftest.$ac_ext <<_ACEOF
5425 /* confdefs.h. */
5426 _ACEOF
5427 cat confdefs.h >>conftest.$ac_ext
5428 cat >>conftest.$ac_ext <<_ACEOF
5429 /* end confdefs.h. */
5430 #include <ac_nonexistent.h>
5431 _ACEOF
5432 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5433 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5434 ac_status=$?
5435 grep -v '^ *+' conftest.er1 >conftest.err
5436 rm -f conftest.er1
5437 cat conftest.err >&5
5438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5439 (exit $ac_status); } >/dev/null; then
5440 if test -s conftest.err; then
5441 ac_cpp_err=$ac_c_preproc_warn_flag
5442 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5443 else
5444 ac_cpp_err=
5446 else
5447 ac_cpp_err=yes
5449 if test -z "$ac_cpp_err"; then
5450 # Broken: success on invalid input.
5451 continue
5452 else
5453 echo "$as_me: failed program was:" >&5
5454 sed 's/^/| /' conftest.$ac_ext >&5
5456 # Passes both tests.
5457 ac_preproc_ok=:
5458 break
5460 rm -f conftest.err conftest.$ac_ext
5462 done
5463 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5464 rm -f conftest.err conftest.$ac_ext
5465 if $ac_preproc_ok; then
5467 else
5468 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5469 See \`config.log' for more details." >&5
5470 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5471 See \`config.log' for more details." >&2;}
5472 { (exit 1); exit 1; }; }
5475 ac_ext=c
5476 ac_cpp='$CPP $CPPFLAGS'
5477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5482 echo "$as_me:$LINENO: checking for egrep" >&5
5483 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5484 if test "${ac_cv_prog_egrep+set}" = set; then
5485 echo $ECHO_N "(cached) $ECHO_C" >&6
5486 else
5487 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5488 then ac_cv_prog_egrep='grep -E'
5489 else ac_cv_prog_egrep='egrep'
5492 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5493 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5494 EGREP=$ac_cv_prog_egrep
5497 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5498 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5499 if test "${ac_cv_header_stdc+set}" = set; then
5500 echo $ECHO_N "(cached) $ECHO_C" >&6
5501 else
5502 cat >conftest.$ac_ext <<_ACEOF
5503 /* confdefs.h. */
5504 _ACEOF
5505 cat confdefs.h >>conftest.$ac_ext
5506 cat >>conftest.$ac_ext <<_ACEOF
5507 /* end confdefs.h. */
5508 #include <stdlib.h>
5509 #include <stdarg.h>
5510 #include <string.h>
5511 #include <float.h>
5514 main ()
5518 return 0;
5520 _ACEOF
5521 rm -f conftest.$ac_objext
5522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5523 (eval $ac_compile) 2>conftest.er1
5524 ac_status=$?
5525 grep -v '^ *+' conftest.er1 >conftest.err
5526 rm -f conftest.er1
5527 cat conftest.err >&5
5528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5529 (exit $ac_status); } &&
5530 { ac_try='test -z "$ac_c_werror_flag"
5531 || test ! -s conftest.err'
5532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5533 (eval $ac_try) 2>&5
5534 ac_status=$?
5535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5536 (exit $ac_status); }; } &&
5537 { ac_try='test -s conftest.$ac_objext'
5538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5539 (eval $ac_try) 2>&5
5540 ac_status=$?
5541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5542 (exit $ac_status); }; }; then
5543 ac_cv_header_stdc=yes
5544 else
5545 echo "$as_me: failed program was:" >&5
5546 sed 's/^/| /' conftest.$ac_ext >&5
5548 ac_cv_header_stdc=no
5550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5552 if test $ac_cv_header_stdc = yes; then
5553 # SunOS 4.x string.h does not declare mem*, 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 <string.h>
5562 _ACEOF
5563 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5564 $EGREP "memchr" >/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 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5575 cat >conftest.$ac_ext <<_ACEOF
5576 /* confdefs.h. */
5577 _ACEOF
5578 cat confdefs.h >>conftest.$ac_ext
5579 cat >>conftest.$ac_ext <<_ACEOF
5580 /* end confdefs.h. */
5581 #include <stdlib.h>
5583 _ACEOF
5584 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5585 $EGREP "free" >/dev/null 2>&1; then
5587 else
5588 ac_cv_header_stdc=no
5590 rm -f conftest*
5594 if test $ac_cv_header_stdc = yes; then
5595 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5596 if test "$cross_compiling" = yes; then
5598 else
5599 cat >conftest.$ac_ext <<_ACEOF
5600 /* confdefs.h. */
5601 _ACEOF
5602 cat confdefs.h >>conftest.$ac_ext
5603 cat >>conftest.$ac_ext <<_ACEOF
5604 /* end confdefs.h. */
5605 #include <ctype.h>
5606 #if ((' ' & 0x0FF) == 0x020)
5607 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5608 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5609 #else
5610 # define ISLOWER(c) \
5611 (('a' <= (c) && (c) <= 'i') \
5612 || ('j' <= (c) && (c) <= 'r') \
5613 || ('s' <= (c) && (c) <= 'z'))
5614 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5615 #endif
5617 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5619 main ()
5621 int i;
5622 for (i = 0; i < 256; i++)
5623 if (XOR (islower (i), ISLOWER (i))
5624 || toupper (i) != TOUPPER (i))
5625 exit(2);
5626 exit (0);
5628 _ACEOF
5629 rm -f conftest$ac_exeext
5630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5631 (eval $ac_link) 2>&5
5632 ac_status=$?
5633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5634 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5636 (eval $ac_try) 2>&5
5637 ac_status=$?
5638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5639 (exit $ac_status); }; }; then
5641 else
5642 echo "$as_me: program exited with status $ac_status" >&5
5643 echo "$as_me: failed program was:" >&5
5644 sed 's/^/| /' conftest.$ac_ext >&5
5646 ( exit $ac_status )
5647 ac_cv_header_stdc=no
5649 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5653 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5654 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5655 if test $ac_cv_header_stdc = yes; then
5657 cat >>confdefs.h <<\_ACEOF
5658 #define STDC_HEADERS 1
5659 _ACEOF
5663 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5673 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5674 inttypes.h stdint.h unistd.h
5676 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5677 echo "$as_me:$LINENO: checking for $ac_header" >&5
5678 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5680 echo $ECHO_N "(cached) $ECHO_C" >&6
5681 else
5682 cat >conftest.$ac_ext <<_ACEOF
5683 /* confdefs.h. */
5684 _ACEOF
5685 cat confdefs.h >>conftest.$ac_ext
5686 cat >>conftest.$ac_ext <<_ACEOF
5687 /* end confdefs.h. */
5688 $ac_includes_default
5690 #include <$ac_header>
5691 _ACEOF
5692 rm -f conftest.$ac_objext
5693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5694 (eval $ac_compile) 2>conftest.er1
5695 ac_status=$?
5696 grep -v '^ *+' conftest.er1 >conftest.err
5697 rm -f conftest.er1
5698 cat conftest.err >&5
5699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5700 (exit $ac_status); } &&
5701 { ac_try='test -z "$ac_c_werror_flag"
5702 || test ! -s conftest.err'
5703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5704 (eval $ac_try) 2>&5
5705 ac_status=$?
5706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5707 (exit $ac_status); }; } &&
5708 { ac_try='test -s conftest.$ac_objext'
5709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5710 (eval $ac_try) 2>&5
5711 ac_status=$?
5712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5713 (exit $ac_status); }; }; then
5714 eval "$as_ac_Header=yes"
5715 else
5716 echo "$as_me: failed program was:" >&5
5717 sed 's/^/| /' conftest.$ac_ext >&5
5719 eval "$as_ac_Header=no"
5721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5724 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5725 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5726 cat >>confdefs.h <<_ACEOF
5727 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5728 _ACEOF
5732 done
5736 echo "$as_me:$LINENO: checking for C locale to use" >&5
5737 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5738 # Check whether --enable-clocale or --disable-clocale was given.
5739 if test "${enable_clocale+set}" = set; then
5740 enableval="$enable_clocale"
5742 case "$enableval" in
5743 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5744 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5745 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5746 { (exit 1); exit 1; }; } ;;
5747 esac
5749 else
5750 enable_clocale=auto
5754 # If they didn't use this option switch, or if they specified --enable
5755 # with no specific model, we'll have to look for one. If they
5756 # specified --disable (???), do likewise.
5757 if test $enable_clocale = no || test $enable_clocale = yes; then
5758 enable_clocale=auto
5761 # Either a known package, or "auto"
5762 enable_clocale_flag=$enable_clocale
5764 # Probe for locale support if no specific model is specified.
5765 # Default to "generic".
5766 if test $enable_clocale_flag = auto; then
5767 case ${target_os} in
5768 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5769 cat >conftest.$ac_ext <<_ACEOF
5770 /* confdefs.h. */
5771 _ACEOF
5772 cat confdefs.h >>conftest.$ac_ext
5773 cat >>conftest.$ac_ext <<_ACEOF
5774 /* end confdefs.h. */
5776 #include <features.h>
5777 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5778 _GLIBCXX_ok
5779 #endif
5781 _ACEOF
5782 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5783 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5784 enable_clocale_flag=gnu
5785 else
5786 enable_clocale_flag=generic
5788 rm -f conftest*
5791 # Test for bugs early in glibc-2.2.x series
5792 if test $enable_clocale_flag = gnu; then
5793 if test "$cross_compiling" = yes; then
5794 enable_clocale_flag=generic
5795 else
5796 cat >conftest.$ac_ext <<_ACEOF
5797 /* confdefs.h. */
5798 _ACEOF
5799 cat confdefs.h >>conftest.$ac_ext
5800 cat >>conftest.$ac_ext <<_ACEOF
5801 /* end confdefs.h. */
5803 #define _GNU_SOURCE 1
5804 #include <locale.h>
5805 #include <string.h>
5806 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5807 extern __typeof(newlocale) __newlocale;
5808 extern __typeof(duplocale) __duplocale;
5809 extern __typeof(strcoll_l) __strcoll_l;
5810 #endif
5811 int main()
5813 const char __one[] = "Äuglein Augmen";
5814 const char __two[] = "Äuglein";
5815 int i;
5816 int j;
5817 __locale_t loc;
5818 __locale_t loc_dup;
5819 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5820 loc_dup = __duplocale(loc);
5821 i = __strcoll_l(__one, __two, loc);
5822 j = __strcoll_l(__one, __two, loc_dup);
5823 return 0;
5826 _ACEOF
5827 rm -f conftest$ac_exeext
5828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5829 (eval $ac_link) 2>&5
5830 ac_status=$?
5831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5832 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5834 (eval $ac_try) 2>&5
5835 ac_status=$?
5836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5837 (exit $ac_status); }; }; then
5838 enable_clocale_flag=gnu
5839 else
5840 echo "$as_me: program exited with status $ac_status" >&5
5841 echo "$as_me: failed program was:" >&5
5842 sed 's/^/| /' conftest.$ac_ext >&5
5844 ( exit $ac_status )
5845 enable_clocale_flag=generic
5847 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5851 # ... at some point put __strxfrm_l tests in as well.
5853 darwin* | freebsd*)
5854 enable_clocale_flag=darwin
5857 enable_clocale_flag=generic
5859 esac
5862 # Deal with gettext issues. Default to not using it (=no) until we detect
5863 # support for it later. Let the user turn it off via --e/d, but let that
5864 # default to on for easier handling.
5865 USE_NLS=no
5866 # Check whether --enable-nls or --disable-nls was given.
5867 if test "${enable_nls+set}" = set; then
5868 enableval="$enable_nls"
5870 else
5871 enable_nls=yes
5874 # Set configure bits for specified locale package
5875 case ${enable_clocale_flag} in
5876 generic)
5877 echo "$as_me:$LINENO: result: generic" >&5
5878 echo "${ECHO_T}generic" >&6
5880 CLOCALE_H=config/locale/generic/c_locale.h
5881 CLOCALE_CC=config/locale/generic/c_locale.cc
5882 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5883 CCOLLATE_CC=config/locale/generic/collate_members.cc
5884 CCTYPE_CC=config/locale/generic/ctype_members.cc
5885 CMESSAGES_H=config/locale/generic/messages_members.h
5886 CMESSAGES_CC=config/locale/generic/messages_members.cc
5887 CMONEY_CC=config/locale/generic/monetary_members.cc
5888 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5889 CTIME_H=config/locale/generic/time_members.h
5890 CTIME_CC=config/locale/generic/time_members.cc
5891 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5893 darwin)
5894 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
5895 echo "${ECHO_T}darwin or freebsd" >&6
5897 CLOCALE_H=config/locale/generic/c_locale.h
5898 CLOCALE_CC=config/locale/generic/c_locale.cc
5899 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5900 CCOLLATE_CC=config/locale/generic/collate_members.cc
5901 CCTYPE_CC=config/locale/darwin/ctype_members.cc
5902 CMESSAGES_H=config/locale/generic/messages_members.h
5903 CMESSAGES_CC=config/locale/generic/messages_members.cc
5904 CMONEY_CC=config/locale/generic/monetary_members.cc
5905 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5906 CTIME_H=config/locale/generic/time_members.h
5907 CTIME_CC=config/locale/generic/time_members.cc
5908 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5911 gnu)
5912 echo "$as_me:$LINENO: result: gnu" >&5
5913 echo "${ECHO_T}gnu" >&6
5915 # Declare intention to use gettext, and add support for specific
5916 # languages.
5917 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5918 ALL_LINGUAS="de fr"
5920 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5921 # Extract the first word of "msgfmt", so it can be a program name with args.
5922 set dummy msgfmt; ac_word=$2
5923 echo "$as_me:$LINENO: checking for $ac_word" >&5
5924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5925 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5926 echo $ECHO_N "(cached) $ECHO_C" >&6
5927 else
5928 if test -n "$check_msgfmt"; then
5929 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5930 else
5931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5932 for as_dir in $PATH
5934 IFS=$as_save_IFS
5935 test -z "$as_dir" && as_dir=.
5936 for ac_exec_ext in '' $ac_executable_extensions; do
5937 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5938 ac_cv_prog_check_msgfmt="yes"
5939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5940 break 2
5942 done
5943 done
5945 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5948 check_msgfmt=$ac_cv_prog_check_msgfmt
5949 if test -n "$check_msgfmt"; then
5950 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5951 echo "${ECHO_T}$check_msgfmt" >&6
5952 else
5953 echo "$as_me:$LINENO: result: no" >&5
5954 echo "${ECHO_T}no" >&6
5957 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5958 USE_NLS=yes
5960 # Export the build objects.
5961 for ling in $ALL_LINGUAS; do \
5962 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5963 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5964 done
5968 CLOCALE_H=config/locale/gnu/c_locale.h
5969 CLOCALE_CC=config/locale/gnu/c_locale.cc
5970 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5971 CCOLLATE_CC=config/locale/gnu/collate_members.cc
5972 CCTYPE_CC=config/locale/gnu/ctype_members.cc
5973 CMESSAGES_H=config/locale/gnu/messages_members.h
5974 CMESSAGES_CC=config/locale/gnu/messages_members.cc
5975 CMONEY_CC=config/locale/gnu/monetary_members.cc
5976 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5977 CTIME_H=config/locale/gnu/time_members.h
5978 CTIME_CC=config/locale/gnu/time_members.cc
5979 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5981 ieee_1003.1-2001)
5982 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5983 echo "${ECHO_T}IEEE 1003.1" >&6
5985 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5986 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5987 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5988 CCOLLATE_CC=config/locale/generic/collate_members.cc
5989 CCTYPE_CC=config/locale/generic/ctype_members.cc
5990 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5991 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5992 CMONEY_CC=config/locale/generic/monetary_members.cc
5993 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5994 CTIME_H=config/locale/generic/time_members.h
5995 CTIME_CC=config/locale/generic/time_members.cc
5996 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5998 esac
6000 # This is where the testsuite looks for locale catalogs, using the
6001 # -DLOCALEDIR define during testsuite compilation.
6002 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
6005 # A standalone libintl (e.g., GNU libintl) may be in use.
6006 if test $USE_NLS = yes; then
6008 for ac_header in libintl.h
6010 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6011 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6012 echo "$as_me:$LINENO: checking for $ac_header" >&5
6013 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6014 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6015 echo $ECHO_N "(cached) $ECHO_C" >&6
6017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6018 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6019 else
6020 # Is the header compilable?
6021 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6022 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6023 cat >conftest.$ac_ext <<_ACEOF
6024 /* confdefs.h. */
6025 _ACEOF
6026 cat confdefs.h >>conftest.$ac_ext
6027 cat >>conftest.$ac_ext <<_ACEOF
6028 /* end confdefs.h. */
6029 $ac_includes_default
6030 #include <$ac_header>
6031 _ACEOF
6032 rm -f conftest.$ac_objext
6033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6034 (eval $ac_compile) 2>conftest.er1
6035 ac_status=$?
6036 grep -v '^ *+' conftest.er1 >conftest.err
6037 rm -f conftest.er1
6038 cat conftest.err >&5
6039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6040 (exit $ac_status); } &&
6041 { ac_try='test -z "$ac_c_werror_flag"
6042 || test ! -s conftest.err'
6043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6044 (eval $ac_try) 2>&5
6045 ac_status=$?
6046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6047 (exit $ac_status); }; } &&
6048 { ac_try='test -s conftest.$ac_objext'
6049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6050 (eval $ac_try) 2>&5
6051 ac_status=$?
6052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6053 (exit $ac_status); }; }; then
6054 ac_header_compiler=yes
6055 else
6056 echo "$as_me: failed program was:" >&5
6057 sed 's/^/| /' conftest.$ac_ext >&5
6059 ac_header_compiler=no
6061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6062 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6063 echo "${ECHO_T}$ac_header_compiler" >&6
6065 # Is the header present?
6066 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6067 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6068 cat >conftest.$ac_ext <<_ACEOF
6069 /* confdefs.h. */
6070 _ACEOF
6071 cat confdefs.h >>conftest.$ac_ext
6072 cat >>conftest.$ac_ext <<_ACEOF
6073 /* end confdefs.h. */
6074 #include <$ac_header>
6075 _ACEOF
6076 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6077 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6078 ac_status=$?
6079 grep -v '^ *+' conftest.er1 >conftest.err
6080 rm -f conftest.er1
6081 cat conftest.err >&5
6082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6083 (exit $ac_status); } >/dev/null; then
6084 if test -s conftest.err; then
6085 ac_cpp_err=$ac_c_preproc_warn_flag
6086 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6087 else
6088 ac_cpp_err=
6090 else
6091 ac_cpp_err=yes
6093 if test -z "$ac_cpp_err"; then
6094 ac_header_preproc=yes
6095 else
6096 echo "$as_me: failed program was:" >&5
6097 sed 's/^/| /' conftest.$ac_ext >&5
6099 ac_header_preproc=no
6101 rm -f conftest.err conftest.$ac_ext
6102 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6103 echo "${ECHO_T}$ac_header_preproc" >&6
6105 # So? What about this header?
6106 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6107 yes:no: )
6108 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6109 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6110 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6111 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6112 ac_header_preproc=yes
6114 no:yes:* )
6115 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6116 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6117 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6118 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6119 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6120 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6121 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6122 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6123 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6124 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6125 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6126 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6128 cat <<\_ASBOX
6129 ## ----------------------------------------- ##
6130 ## Report this to the package-unused lists. ##
6131 ## ----------------------------------------- ##
6132 _ASBOX
6134 sed "s/^/$as_me: WARNING: /" >&2
6136 esac
6137 echo "$as_me:$LINENO: checking for $ac_header" >&5
6138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6140 echo $ECHO_N "(cached) $ECHO_C" >&6
6141 else
6142 eval "$as_ac_Header=\$ac_header_preproc"
6144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6145 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6148 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6149 cat >>confdefs.h <<_ACEOF
6150 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6151 _ACEOF
6153 else
6154 USE_NLS=no
6157 done
6159 echo "$as_me:$LINENO: checking for library containing gettext" >&5
6160 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6161 if test "${ac_cv_search_gettext+set}" = set; then
6162 echo $ECHO_N "(cached) $ECHO_C" >&6
6163 else
6164 ac_func_search_save_LIBS=$LIBS
6165 ac_cv_search_gettext=no
6166 if test x$gcc_no_link = xyes; then
6167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6169 { (exit 1); exit 1; }; }
6171 cat >conftest.$ac_ext <<_ACEOF
6172 /* confdefs.h. */
6173 _ACEOF
6174 cat confdefs.h >>conftest.$ac_ext
6175 cat >>conftest.$ac_ext <<_ACEOF
6176 /* end confdefs.h. */
6178 /* Override any gcc2 internal prototype to avoid an error. */
6179 #ifdef __cplusplus
6180 extern "C"
6181 #endif
6182 /* We use char because int might match the return type of a gcc2
6183 builtin and then its argument prototype would still apply. */
6184 char gettext ();
6186 main ()
6188 gettext ();
6190 return 0;
6192 _ACEOF
6193 rm -f conftest.$ac_objext conftest$ac_exeext
6194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6195 (eval $ac_link) 2>conftest.er1
6196 ac_status=$?
6197 grep -v '^ *+' conftest.er1 >conftest.err
6198 rm -f conftest.er1
6199 cat conftest.err >&5
6200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6201 (exit $ac_status); } &&
6202 { ac_try='test -z "$ac_c_werror_flag"
6203 || test ! -s conftest.err'
6204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6205 (eval $ac_try) 2>&5
6206 ac_status=$?
6207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6208 (exit $ac_status); }; } &&
6209 { ac_try='test -s conftest$ac_exeext'
6210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6211 (eval $ac_try) 2>&5
6212 ac_status=$?
6213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6214 (exit $ac_status); }; }; then
6215 ac_cv_search_gettext="none required"
6216 else
6217 echo "$as_me: failed program was:" >&5
6218 sed 's/^/| /' conftest.$ac_ext >&5
6221 rm -f conftest.err conftest.$ac_objext \
6222 conftest$ac_exeext conftest.$ac_ext
6223 if test "$ac_cv_search_gettext" = no; then
6224 for ac_lib in intl; do
6225 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6226 if test x$gcc_no_link = xyes; then
6227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6229 { (exit 1); exit 1; }; }
6231 cat >conftest.$ac_ext <<_ACEOF
6232 /* confdefs.h. */
6233 _ACEOF
6234 cat confdefs.h >>conftest.$ac_ext
6235 cat >>conftest.$ac_ext <<_ACEOF
6236 /* end confdefs.h. */
6238 /* Override any gcc2 internal prototype to avoid an error. */
6239 #ifdef __cplusplus
6240 extern "C"
6241 #endif
6242 /* We use char because int might match the return type of a gcc2
6243 builtin and then its argument prototype would still apply. */
6244 char gettext ();
6246 main ()
6248 gettext ();
6250 return 0;
6252 _ACEOF
6253 rm -f conftest.$ac_objext conftest$ac_exeext
6254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6255 (eval $ac_link) 2>conftest.er1
6256 ac_status=$?
6257 grep -v '^ *+' conftest.er1 >conftest.err
6258 rm -f conftest.er1
6259 cat conftest.err >&5
6260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6261 (exit $ac_status); } &&
6262 { ac_try='test -z "$ac_c_werror_flag"
6263 || test ! -s conftest.err'
6264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6265 (eval $ac_try) 2>&5
6266 ac_status=$?
6267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6268 (exit $ac_status); }; } &&
6269 { ac_try='test -s conftest$ac_exeext'
6270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6271 (eval $ac_try) 2>&5
6272 ac_status=$?
6273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6274 (exit $ac_status); }; }; then
6275 ac_cv_search_gettext="-l$ac_lib"
6276 break
6277 else
6278 echo "$as_me: failed program was:" >&5
6279 sed 's/^/| /' conftest.$ac_ext >&5
6282 rm -f conftest.err conftest.$ac_objext \
6283 conftest$ac_exeext conftest.$ac_ext
6284 done
6286 LIBS=$ac_func_search_save_LIBS
6288 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6289 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6290 if test "$ac_cv_search_gettext" != no; then
6291 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6293 else
6294 USE_NLS=no
6298 if test $USE_NLS = yes; then
6300 cat >>confdefs.h <<\_ACEOF
6301 #define _GLIBCXX_USE_NLS 1
6302 _ACEOF
6321 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
6322 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
6323 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6324 if test "${enable_libstdcxx_allocator+set}" = set; then
6325 enableval="$enable_libstdcxx_allocator"
6327 case "$enableval" in
6328 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6329 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6330 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6331 { (exit 1); exit 1; }; } ;;
6332 esac
6334 else
6335 enable_libstdcxx_allocator=auto
6339 # If they didn't use this option switch, or if they specified --enable
6340 # with no specific model, we'll have to look for one. If they
6341 # specified --disable (???), do likewise.
6342 if test $enable_libstdcxx_allocator = no ||
6343 test $enable_libstdcxx_allocator = yes;
6344 then
6345 enable_libstdcxx_allocator=auto
6348 # Either a known package, or "auto". Auto implies the default choice
6349 # for a particular platform.
6350 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6352 # Probe for host-specific support if no specific model is specified.
6353 # Default to "new".
6354 if test $enable_libstdcxx_allocator_flag = auto; then
6355 case ${target_os} in
6356 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6357 enable_libstdcxx_allocator_flag=new
6360 enable_libstdcxx_allocator_flag=new
6362 esac
6364 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6365 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6368 # Set configure bits for specified locale package
6369 case ${enable_libstdcxx_allocator_flag} in
6370 bitmap)
6371 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6372 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6374 malloc)
6375 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6376 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6379 ALLOCATOR_H=config/allocator/mt_allocator_base.h
6380 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6382 new)
6383 ALLOCATOR_H=config/allocator/new_allocator_base.h
6384 ALLOCATOR_NAME=__gnu_cxx::new_allocator
6386 pool)
6387 ALLOCATOR_H=config/allocator/pool_allocator_base.h
6388 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6390 esac
6396 # Check whether --enable-cheaders or --disable-cheaders was given.
6397 if test "${enable_cheaders+set}" = set; then
6398 enableval="$enable_cheaders"
6400 case "$enableval" in
6401 c|c_std) ;;
6402 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6403 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6404 { (exit 1); exit 1; }; } ;;
6405 esac
6407 else
6408 enable_cheaders=$c_model
6411 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6412 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6414 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6423 # Check whether --enable-c99 or --disable-c99 was given.
6424 if test "${enable_c99+set}" = set; then
6425 enableval="$enable_c99"
6427 case "$enableval" in
6428 yes|no) ;;
6429 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6430 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6431 { (exit 1); exit 1; }; } ;;
6432 esac
6434 else
6435 enable_c99=yes
6439 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos
6440 # even if C99 support is turned off.
6442 for ac_header in wchar.h
6444 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6446 echo "$as_me:$LINENO: checking for $ac_header" >&5
6447 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6448 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6449 echo $ECHO_N "(cached) $ECHO_C" >&6
6451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6452 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6453 else
6454 # Is the header compilable?
6455 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6456 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6457 cat >conftest.$ac_ext <<_ACEOF
6458 /* confdefs.h. */
6459 _ACEOF
6460 cat confdefs.h >>conftest.$ac_ext
6461 cat >>conftest.$ac_ext <<_ACEOF
6462 /* end confdefs.h. */
6463 $ac_includes_default
6464 #include <$ac_header>
6465 _ACEOF
6466 rm -f conftest.$ac_objext
6467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6468 (eval $ac_compile) 2>conftest.er1
6469 ac_status=$?
6470 grep -v '^ *+' conftest.er1 >conftest.err
6471 rm -f conftest.er1
6472 cat conftest.err >&5
6473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6474 (exit $ac_status); } &&
6475 { ac_try='test -z "$ac_c_werror_flag"
6476 || test ! -s conftest.err'
6477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6478 (eval $ac_try) 2>&5
6479 ac_status=$?
6480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6481 (exit $ac_status); }; } &&
6482 { ac_try='test -s conftest.$ac_objext'
6483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6484 (eval $ac_try) 2>&5
6485 ac_status=$?
6486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6487 (exit $ac_status); }; }; then
6488 ac_header_compiler=yes
6489 else
6490 echo "$as_me: failed program was:" >&5
6491 sed 's/^/| /' conftest.$ac_ext >&5
6493 ac_header_compiler=no
6495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6496 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6497 echo "${ECHO_T}$ac_header_compiler" >&6
6499 # Is the header present?
6500 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6501 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6502 cat >conftest.$ac_ext <<_ACEOF
6503 /* confdefs.h. */
6504 _ACEOF
6505 cat confdefs.h >>conftest.$ac_ext
6506 cat >>conftest.$ac_ext <<_ACEOF
6507 /* end confdefs.h. */
6508 #include <$ac_header>
6509 _ACEOF
6510 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6511 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6512 ac_status=$?
6513 grep -v '^ *+' conftest.er1 >conftest.err
6514 rm -f conftest.er1
6515 cat conftest.err >&5
6516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6517 (exit $ac_status); } >/dev/null; then
6518 if test -s conftest.err; then
6519 ac_cpp_err=$ac_c_preproc_warn_flag
6520 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6521 else
6522 ac_cpp_err=
6524 else
6525 ac_cpp_err=yes
6527 if test -z "$ac_cpp_err"; then
6528 ac_header_preproc=yes
6529 else
6530 echo "$as_me: failed program was:" >&5
6531 sed 's/^/| /' conftest.$ac_ext >&5
6533 ac_header_preproc=no
6535 rm -f conftest.err conftest.$ac_ext
6536 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6537 echo "${ECHO_T}$ac_header_preproc" >&6
6539 # So? What about this header?
6540 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6541 yes:no: )
6542 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6543 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6544 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6545 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6546 ac_header_preproc=yes
6548 no:yes:* )
6549 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6550 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6551 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6552 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6553 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6554 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6555 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6556 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6557 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6558 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6559 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6560 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6562 cat <<\_ASBOX
6563 ## ----------------------------------------- ##
6564 ## Report this to the package-unused lists. ##
6565 ## ----------------------------------------- ##
6566 _ASBOX
6568 sed "s/^/$as_me: WARNING: /" >&2
6570 esac
6571 echo "$as_me:$LINENO: checking for $ac_header" >&5
6572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6573 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6574 echo $ECHO_N "(cached) $ECHO_C" >&6
6575 else
6576 eval "$as_ac_Header=\$ac_header_preproc"
6578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6579 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6582 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6583 cat >>confdefs.h <<_ACEOF
6584 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6585 _ACEOF
6586 ac_has_wchar_h=yes
6587 else
6588 ac_has_wchar_h=no
6591 done
6593 echo "$as_me:$LINENO: checking for mbstate_t" >&5
6594 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
6595 cat >conftest.$ac_ext <<_ACEOF
6596 /* confdefs.h. */
6597 _ACEOF
6598 cat confdefs.h >>conftest.$ac_ext
6599 cat >>conftest.$ac_ext <<_ACEOF
6600 /* end confdefs.h. */
6601 #include <wchar.h>
6603 main ()
6605 mbstate_t teststate;
6607 return 0;
6609 _ACEOF
6610 rm -f conftest.$ac_objext
6611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6612 (eval $ac_compile) 2>conftest.er1
6613 ac_status=$?
6614 grep -v '^ *+' conftest.er1 >conftest.err
6615 rm -f conftest.er1
6616 cat conftest.err >&5
6617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6618 (exit $ac_status); } &&
6619 { ac_try='test -z "$ac_c_werror_flag"
6620 || test ! -s conftest.err'
6621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6622 (eval $ac_try) 2>&5
6623 ac_status=$?
6624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6625 (exit $ac_status); }; } &&
6626 { ac_try='test -s conftest.$ac_objext'
6627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6628 (eval $ac_try) 2>&5
6629 ac_status=$?
6630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6631 (exit $ac_status); }; }; then
6632 have_mbstate_t=yes
6633 else
6634 echo "$as_me: failed program was:" >&5
6635 sed 's/^/| /' conftest.$ac_ext >&5
6637 have_mbstate_t=no
6639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6640 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
6641 echo "${ECHO_T}$have_mbstate_t" >&6
6642 if test x"$have_mbstate_t" = xyes; then
6644 cat >>confdefs.h <<\_ACEOF
6645 #define HAVE_MBSTATE_T 1
6646 _ACEOF
6650 if test x"$enable_c99" = x"yes"; then
6654 ac_ext=cc
6655 ac_cpp='$CXXCPP $CPPFLAGS'
6656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6661 # Check for the existence of <math.h> functions used if C99 is enabled.
6662 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6663 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6664 if test "${ac_c99_math+set}" = set; then
6665 echo $ECHO_N "(cached) $ECHO_C" >&6
6666 else
6668 cat >conftest.$ac_ext <<_ACEOF
6669 /* confdefs.h. */
6670 _ACEOF
6671 cat confdefs.h >>conftest.$ac_ext
6672 cat >>conftest.$ac_ext <<_ACEOF
6673 /* end confdefs.h. */
6674 #include <math.h>
6676 main ()
6678 fpclassify(0.0);
6679 isfinite(0.0);
6680 isinf(0.0);
6681 isnan(0.0);
6682 isnormal(0.0);
6683 signbit(0.0);
6684 isgreater(0.0,0.0);
6685 isgreaterequal(0.0,0.0);
6686 isless(0.0,0.0);
6687 islessequal(0.0,0.0);
6688 islessgreater(0.0,0.0);
6689 islessgreater(0.0,0.0);
6690 isunordered(0.0,0.0);
6693 return 0;
6695 _ACEOF
6696 rm -f conftest.$ac_objext
6697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6698 (eval $ac_compile) 2>conftest.er1
6699 ac_status=$?
6700 grep -v '^ *+' conftest.er1 >conftest.err
6701 rm -f conftest.er1
6702 cat conftest.err >&5
6703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6704 (exit $ac_status); } &&
6705 { ac_try='test -z "$ac_cxx_werror_flag"
6706 || test ! -s conftest.err'
6707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6708 (eval $ac_try) 2>&5
6709 ac_status=$?
6710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6711 (exit $ac_status); }; } &&
6712 { ac_try='test -s conftest.$ac_objext'
6713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6714 (eval $ac_try) 2>&5
6715 ac_status=$?
6716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6717 (exit $ac_status); }; }; then
6718 ac_c99_math=yes
6719 else
6720 echo "$as_me: failed program was:" >&5
6721 sed 's/^/| /' conftest.$ac_ext >&5
6723 ac_c99_math=no
6725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6729 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6730 echo "${ECHO_T}$ac_c99_math" >&6
6731 if test x"$ac_c99_math" = x"yes"; then
6733 cat >>confdefs.h <<\_ACEOF
6734 #define _GLIBCXX_USE_C99_MATH 1
6735 _ACEOF
6739 # Check for the existence of <complex.h> complex math functions.
6740 # This is necessary even though libstdc++ uses the builtin versions
6741 # of these functions, because if the builtin cannot be used, a reference
6742 # to the library function is emitted.
6744 for ac_header in complex.h
6746 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6747 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6748 echo "$as_me:$LINENO: checking for $ac_header" >&5
6749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6751 echo $ECHO_N "(cached) $ECHO_C" >&6
6753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6755 else
6756 # Is the header compilable?
6757 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6758 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6759 cat >conftest.$ac_ext <<_ACEOF
6760 /* confdefs.h. */
6761 _ACEOF
6762 cat confdefs.h >>conftest.$ac_ext
6763 cat >>conftest.$ac_ext <<_ACEOF
6764 /* end confdefs.h. */
6765 $ac_includes_default
6766 #include <$ac_header>
6767 _ACEOF
6768 rm -f conftest.$ac_objext
6769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6770 (eval $ac_compile) 2>conftest.er1
6771 ac_status=$?
6772 grep -v '^ *+' conftest.er1 >conftest.err
6773 rm -f conftest.er1
6774 cat conftest.err >&5
6775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6776 (exit $ac_status); } &&
6777 { ac_try='test -z "$ac_cxx_werror_flag"
6778 || test ! -s conftest.err'
6779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6780 (eval $ac_try) 2>&5
6781 ac_status=$?
6782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6783 (exit $ac_status); }; } &&
6784 { ac_try='test -s conftest.$ac_objext'
6785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6786 (eval $ac_try) 2>&5
6787 ac_status=$?
6788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6789 (exit $ac_status); }; }; then
6790 ac_header_compiler=yes
6791 else
6792 echo "$as_me: failed program was:" >&5
6793 sed 's/^/| /' conftest.$ac_ext >&5
6795 ac_header_compiler=no
6797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6798 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6799 echo "${ECHO_T}$ac_header_compiler" >&6
6801 # Is the header present?
6802 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6803 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6804 cat >conftest.$ac_ext <<_ACEOF
6805 /* confdefs.h. */
6806 _ACEOF
6807 cat confdefs.h >>conftest.$ac_ext
6808 cat >>conftest.$ac_ext <<_ACEOF
6809 /* end confdefs.h. */
6810 #include <$ac_header>
6811 _ACEOF
6812 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6813 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6814 ac_status=$?
6815 grep -v '^ *+' conftest.er1 >conftest.err
6816 rm -f conftest.er1
6817 cat conftest.err >&5
6818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6819 (exit $ac_status); } >/dev/null; then
6820 if test -s conftest.err; then
6821 ac_cpp_err=$ac_cxx_preproc_warn_flag
6822 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6823 else
6824 ac_cpp_err=
6826 else
6827 ac_cpp_err=yes
6829 if test -z "$ac_cpp_err"; then
6830 ac_header_preproc=yes
6831 else
6832 echo "$as_me: failed program was:" >&5
6833 sed 's/^/| /' conftest.$ac_ext >&5
6835 ac_header_preproc=no
6837 rm -f conftest.err conftest.$ac_ext
6838 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6839 echo "${ECHO_T}$ac_header_preproc" >&6
6841 # So? What about this header?
6842 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6843 yes:no: )
6844 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6845 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6846 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6847 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6848 ac_header_preproc=yes
6850 no:yes:* )
6851 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6852 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6853 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6854 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6855 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6856 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6857 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6858 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6859 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6860 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6861 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6862 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6864 cat <<\_ASBOX
6865 ## ----------------------------------------- ##
6866 ## Report this to the package-unused lists. ##
6867 ## ----------------------------------------- ##
6868 _ASBOX
6870 sed "s/^/$as_me: WARNING: /" >&2
6872 esac
6873 echo "$as_me:$LINENO: checking for $ac_header" >&5
6874 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6875 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6876 echo $ECHO_N "(cached) $ECHO_C" >&6
6877 else
6878 eval "$as_ac_Header=\$ac_header_preproc"
6880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6881 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6884 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6885 cat >>confdefs.h <<_ACEOF
6886 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6887 _ACEOF
6888 ac_has_complex_h=yes
6889 else
6890 ac_has_complex_h=no
6893 done
6895 ac_c99_complex=no;
6896 if test x"$ac_has_complex_h" = x"yes"; then
6897 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
6898 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
6899 cat >conftest.$ac_ext <<_ACEOF
6900 /* confdefs.h. */
6901 _ACEOF
6902 cat confdefs.h >>conftest.$ac_ext
6903 cat >>conftest.$ac_ext <<_ACEOF
6904 /* end confdefs.h. */
6905 #include <complex.h>
6907 main ()
6909 typedef __complex__ float float_type; float_type tmpf;
6910 cabsf(tmpf);
6911 cargf(tmpf);
6912 ccosf(tmpf);
6913 ccoshf(tmpf);
6914 cexpf(tmpf);
6915 clogf(tmpf);
6916 csinf(tmpf);
6917 csinhf(tmpf);
6918 csqrtf(tmpf);
6919 ctanf(tmpf);
6920 ctanhf(tmpf);
6921 cpowf(tmpf, tmpf);
6922 typedef __complex__ double double_type; double_type tmpd;
6923 cabs(tmpd);
6924 carg(tmpd);
6925 ccos(tmpd);
6926 ccosh(tmpd);
6927 cexp(tmpd);
6928 clog(tmpd);
6929 csin(tmpd);
6930 csinh(tmpd);
6931 csqrt(tmpd);
6932 ctan(tmpd);
6933 ctanh(tmpd);
6934 cpow(tmpd, tmpd);
6935 typedef __complex__ long double ld_type; ld_type tmpld;
6936 cabsl(tmpld);
6937 cargl(tmpld);
6938 ccosl(tmpld);
6939 ccoshl(tmpld);
6940 cexpl(tmpld);
6941 clogl(tmpld);
6942 csinl(tmpld);
6943 csinhl(tmpld);
6944 csqrtl(tmpld);
6945 ctanl(tmpld);
6946 ctanhl(tmpld);
6947 cpowl(tmpld, tmpld);
6950 return 0;
6952 _ACEOF
6953 rm -f conftest.$ac_objext
6954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6955 (eval $ac_compile) 2>conftest.er1
6956 ac_status=$?
6957 grep -v '^ *+' conftest.er1 >conftest.err
6958 rm -f conftest.er1
6959 cat conftest.err >&5
6960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6961 (exit $ac_status); } &&
6962 { ac_try='test -z "$ac_cxx_werror_flag"
6963 || test ! -s conftest.err'
6964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6965 (eval $ac_try) 2>&5
6966 ac_status=$?
6967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6968 (exit $ac_status); }; } &&
6969 { ac_try='test -s conftest.$ac_objext'
6970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6971 (eval $ac_try) 2>&5
6972 ac_status=$?
6973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6974 (exit $ac_status); }; }; then
6975 ac_c99_complex=yes
6976 else
6977 echo "$as_me: failed program was:" >&5
6978 sed 's/^/| /' conftest.$ac_ext >&5
6980 ac_c99_complex=no
6982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6984 echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
6985 echo "${ECHO_T}$ac_c99_complex" >&6
6986 if test x"$ac_c99_complex" = x"yes"; then
6988 cat >>confdefs.h <<\_ACEOF
6989 #define _GLIBCXX_USE_C99_COMPLEX 1
6990 _ACEOF
6994 # Check for the existence in <stdio.h> of vscanf, et. al.
6995 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6996 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6997 if test "${ac_c99_stdio+set}" = set; then
6998 echo $ECHO_N "(cached) $ECHO_C" >&6
6999 else
7001 cat >conftest.$ac_ext <<_ACEOF
7002 /* confdefs.h. */
7003 _ACEOF
7004 cat confdefs.h >>conftest.$ac_ext
7005 cat >>conftest.$ac_ext <<_ACEOF
7006 /* end confdefs.h. */
7007 #include <stdio.h>
7008 #include <stdarg.h>
7009 void foo(char* fmt, ...)
7011 va_list args; va_start(args, fmt);
7012 vfscanf(stderr, "%i", args);
7013 vscanf("%i", args);
7014 vsnprintf(fmt, 0, "%i", args);
7015 vsscanf(fmt, "%i", args);
7018 main ()
7020 snprintf("12", 0, "%i");
7022 return 0;
7024 _ACEOF
7025 rm -f conftest.$ac_objext
7026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7027 (eval $ac_compile) 2>conftest.er1
7028 ac_status=$?
7029 grep -v '^ *+' conftest.er1 >conftest.err
7030 rm -f conftest.er1
7031 cat conftest.err >&5
7032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7033 (exit $ac_status); } &&
7034 { ac_try='test -z "$ac_cxx_werror_flag"
7035 || test ! -s conftest.err'
7036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7037 (eval $ac_try) 2>&5
7038 ac_status=$?
7039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7040 (exit $ac_status); }; } &&
7041 { ac_try='test -s conftest.$ac_objext'
7042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7043 (eval $ac_try) 2>&5
7044 ac_status=$?
7045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7046 (exit $ac_status); }; }; then
7047 ac_c99_stdio=yes
7048 else
7049 echo "$as_me: failed program was:" >&5
7050 sed 's/^/| /' conftest.$ac_ext >&5
7052 ac_c99_stdio=no
7054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7058 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7059 echo "${ECHO_T}$ac_c99_stdio" >&6
7061 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7062 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7063 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7064 if test "${ac_c99_stdlib+set}" = set; then
7065 echo $ECHO_N "(cached) $ECHO_C" >&6
7066 else
7068 cat >conftest.$ac_ext <<_ACEOF
7069 /* confdefs.h. */
7070 _ACEOF
7071 cat confdefs.h >>conftest.$ac_ext
7072 cat >>conftest.$ac_ext <<_ACEOF
7073 /* end confdefs.h. */
7074 #include <stdlib.h>
7076 main ()
7078 char* tmp;
7079 strtof("gnu", &tmp);
7080 strtold("gnu", &tmp);
7081 strtoll("gnu", &tmp, 10);
7082 strtoull("gnu", &tmp, 10);
7083 llabs(10);
7084 lldiv(10,1);
7085 atoll("10");
7086 _Exit(0);
7087 lldiv_t mydivt;
7089 return 0;
7091 _ACEOF
7092 rm -f conftest.$ac_objext
7093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7094 (eval $ac_compile) 2>conftest.er1
7095 ac_status=$?
7096 grep -v '^ *+' conftest.er1 >conftest.err
7097 rm -f conftest.er1
7098 cat conftest.err >&5
7099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7100 (exit $ac_status); } &&
7101 { ac_try='test -z "$ac_cxx_werror_flag"
7102 || test ! -s conftest.err'
7103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7104 (eval $ac_try) 2>&5
7105 ac_status=$?
7106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7107 (exit $ac_status); }; } &&
7108 { ac_try='test -s conftest.$ac_objext'
7109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7110 (eval $ac_try) 2>&5
7111 ac_status=$?
7112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7113 (exit $ac_status); }; }; then
7114 ac_c99_stdlib=yes
7115 else
7116 echo "$as_me: failed program was:" >&5
7117 sed 's/^/| /' conftest.$ac_ext >&5
7119 ac_c99_stdlib=no
7121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7125 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7126 echo "${ECHO_T}$ac_c99_stdlib" >&6
7128 # Check for the existence in <wchar.h> of wcstoull, WEOF, etc.
7130 for ac_header in wctype.h
7132 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7134 echo "$as_me:$LINENO: checking for $ac_header" >&5
7135 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7137 echo $ECHO_N "(cached) $ECHO_C" >&6
7139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7140 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7141 else
7142 # Is the header compilable?
7143 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7144 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7145 cat >conftest.$ac_ext <<_ACEOF
7146 /* confdefs.h. */
7147 _ACEOF
7148 cat confdefs.h >>conftest.$ac_ext
7149 cat >>conftest.$ac_ext <<_ACEOF
7150 /* end confdefs.h. */
7151 $ac_includes_default
7152 #include <$ac_header>
7153 _ACEOF
7154 rm -f conftest.$ac_objext
7155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7156 (eval $ac_compile) 2>conftest.er1
7157 ac_status=$?
7158 grep -v '^ *+' conftest.er1 >conftest.err
7159 rm -f conftest.er1
7160 cat conftest.err >&5
7161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7162 (exit $ac_status); } &&
7163 { ac_try='test -z "$ac_cxx_werror_flag"
7164 || test ! -s conftest.err'
7165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7166 (eval $ac_try) 2>&5
7167 ac_status=$?
7168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7169 (exit $ac_status); }; } &&
7170 { ac_try='test -s conftest.$ac_objext'
7171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7172 (eval $ac_try) 2>&5
7173 ac_status=$?
7174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7175 (exit $ac_status); }; }; then
7176 ac_header_compiler=yes
7177 else
7178 echo "$as_me: failed program was:" >&5
7179 sed 's/^/| /' conftest.$ac_ext >&5
7181 ac_header_compiler=no
7183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7184 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7185 echo "${ECHO_T}$ac_header_compiler" >&6
7187 # Is the header present?
7188 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7189 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7190 cat >conftest.$ac_ext <<_ACEOF
7191 /* confdefs.h. */
7192 _ACEOF
7193 cat confdefs.h >>conftest.$ac_ext
7194 cat >>conftest.$ac_ext <<_ACEOF
7195 /* end confdefs.h. */
7196 #include <$ac_header>
7197 _ACEOF
7198 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7199 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7200 ac_status=$?
7201 grep -v '^ *+' conftest.er1 >conftest.err
7202 rm -f conftest.er1
7203 cat conftest.err >&5
7204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7205 (exit $ac_status); } >/dev/null; then
7206 if test -s conftest.err; then
7207 ac_cpp_err=$ac_cxx_preproc_warn_flag
7208 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7209 else
7210 ac_cpp_err=
7212 else
7213 ac_cpp_err=yes
7215 if test -z "$ac_cpp_err"; then
7216 ac_header_preproc=yes
7217 else
7218 echo "$as_me: failed program was:" >&5
7219 sed 's/^/| /' conftest.$ac_ext >&5
7221 ac_header_preproc=no
7223 rm -f conftest.err conftest.$ac_ext
7224 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7225 echo "${ECHO_T}$ac_header_preproc" >&6
7227 # So? What about this header?
7228 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7229 yes:no: )
7230 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7231 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7232 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7233 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7234 ac_header_preproc=yes
7236 no:yes:* )
7237 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7238 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7239 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7240 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7241 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7242 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7243 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7244 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7245 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7246 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7247 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7248 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7250 cat <<\_ASBOX
7251 ## ----------------------------------------- ##
7252 ## Report this to the package-unused lists. ##
7253 ## ----------------------------------------- ##
7254 _ASBOX
7256 sed "s/^/$as_me: WARNING: /" >&2
7258 esac
7259 echo "$as_me:$LINENO: checking for $ac_header" >&5
7260 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7261 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7262 echo $ECHO_N "(cached) $ECHO_C" >&6
7263 else
7264 eval "$as_ac_Header=\$ac_header_preproc"
7266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7267 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7270 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7271 cat >>confdefs.h <<_ACEOF
7272 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7273 _ACEOF
7274 ac_has_wctype_h=yes
7275 else
7276 ac_has_wctype_h=no
7279 done
7281 ac_c99_wchar=no;
7282 if test x"$ac_has_wchar_h" = xyes &&
7283 test x"$ac_has_wctype_h" = xyes; then
7284 cat >conftest.$ac_ext <<_ACEOF
7285 /* confdefs.h. */
7286 _ACEOF
7287 cat confdefs.h >>conftest.$ac_ext
7288 cat >>conftest.$ac_ext <<_ACEOF
7289 /* end confdefs.h. */
7290 #include <wchar.h>
7291 #include <stddef.h>
7292 wint_t i;
7293 long l = WEOF;
7294 long j = WCHAR_MIN;
7295 long k = WCHAR_MAX;
7296 namespace test
7298 using ::btowc;
7299 using ::fgetwc;
7300 using ::fgetws;
7301 using ::fputwc;
7302 using ::fputws;
7303 using ::fwide;
7304 using ::fwprintf;
7305 using ::fwscanf;
7306 using ::getwc;
7307 using ::getwchar;
7308 using ::mbrlen;
7309 using ::mbrtowc;
7310 using ::mbsinit;
7311 using ::mbsrtowcs;
7312 using ::putwc;
7313 using ::putwchar;
7314 using ::swprintf;
7315 using ::swscanf;
7316 using ::ungetwc;
7317 using ::vfwprintf;
7318 using ::vswprintf;
7319 using ::vwprintf;
7320 using ::wcrtomb;
7321 using ::wcscat;
7322 using ::wcschr;
7323 using ::wcscmp;
7324 using ::wcscoll;
7325 using ::wcscpy;
7326 using ::wcscspn;
7327 using ::wcsftime;
7328 using ::wcslen;
7329 using ::wcsncat;
7330 using ::wcsncmp;
7331 using ::wcsncpy;
7332 using ::wcspbrk;
7333 using ::wcsrchr;
7334 using ::wcsrtombs;
7335 using ::wcsspn;
7336 using ::wcsstr;
7337 using ::wcstod;
7338 using ::wcstok;
7339 using ::wcstol;
7340 using ::wcstold;
7341 using ::wcstoll;
7342 using ::wcstoul;
7343 using ::wcstoull;
7344 using ::wcsxfrm;
7345 using ::wctob;
7346 using ::wmemchr;
7347 using ::wmemcmp;
7348 using ::wmemcpy;
7349 using ::wmemmove;
7350 using ::wmemset;
7351 using ::wprintf;
7352 using ::wscanf;
7356 main ()
7360 return 0;
7362 _ACEOF
7363 rm -f conftest.$ac_objext
7364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7365 (eval $ac_compile) 2>conftest.er1
7366 ac_status=$?
7367 grep -v '^ *+' conftest.er1 >conftest.err
7368 rm -f conftest.er1
7369 cat conftest.err >&5
7370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7371 (exit $ac_status); } &&
7372 { ac_try='test -z "$ac_cxx_werror_flag"
7373 || test ! -s conftest.err'
7374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7375 (eval $ac_try) 2>&5
7376 ac_status=$?
7377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7378 (exit $ac_status); }; } &&
7379 { ac_try='test -s conftest.$ac_objext'
7380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7381 (eval $ac_try) 2>&5
7382 ac_status=$?
7383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384 (exit $ac_status); }; }; then
7385 ac_c99_wchar=yes
7386 else
7387 echo "$as_me: failed program was:" >&5
7388 sed 's/^/| /' conftest.$ac_ext >&5
7390 ac_c99_wchar=no
7392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7394 # Checks for wide character functions that may not be present.
7395 # Injection of these is wrapped with guard macros.
7396 # NB: only put functions here, instead of immediately above, if
7397 # absolutely necessary.
7398 cat >conftest.$ac_ext <<_ACEOF
7399 /* confdefs.h. */
7400 _ACEOF
7401 cat confdefs.h >>conftest.$ac_ext
7402 cat >>conftest.$ac_ext <<_ACEOF
7403 /* end confdefs.h. */
7404 #include <wchar.h>
7405 namespace test { using ::vfwscanf; }
7407 main ()
7411 return 0;
7413 _ACEOF
7414 rm -f conftest.$ac_objext
7415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7416 (eval $ac_compile) 2>conftest.er1
7417 ac_status=$?
7418 grep -v '^ *+' conftest.er1 >conftest.err
7419 rm -f conftest.er1
7420 cat conftest.err >&5
7421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7422 (exit $ac_status); } &&
7423 { ac_try='test -z "$ac_cxx_werror_flag"
7424 || test ! -s conftest.err'
7425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7426 (eval $ac_try) 2>&5
7427 ac_status=$?
7428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7429 (exit $ac_status); }; } &&
7430 { ac_try='test -s conftest.$ac_objext'
7431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7432 (eval $ac_try) 2>&5
7433 ac_status=$?
7434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7435 (exit $ac_status); }; }; then
7437 cat >>confdefs.h <<\_ACEOF
7438 #define HAVE_VFWSCANF 1
7439 _ACEOF
7441 else
7442 echo "$as_me: failed program was:" >&5
7443 sed 's/^/| /' conftest.$ac_ext >&5
7446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7448 cat >conftest.$ac_ext <<_ACEOF
7449 /* confdefs.h. */
7450 _ACEOF
7451 cat confdefs.h >>conftest.$ac_ext
7452 cat >>conftest.$ac_ext <<_ACEOF
7453 /* end confdefs.h. */
7454 #include <wchar.h>
7455 namespace test { using ::vswscanf; }
7457 main ()
7461 return 0;
7463 _ACEOF
7464 rm -f conftest.$ac_objext
7465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7466 (eval $ac_compile) 2>conftest.er1
7467 ac_status=$?
7468 grep -v '^ *+' conftest.er1 >conftest.err
7469 rm -f conftest.er1
7470 cat conftest.err >&5
7471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7472 (exit $ac_status); } &&
7473 { ac_try='test -z "$ac_cxx_werror_flag"
7474 || test ! -s conftest.err'
7475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7476 (eval $ac_try) 2>&5
7477 ac_status=$?
7478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7479 (exit $ac_status); }; } &&
7480 { ac_try='test -s conftest.$ac_objext'
7481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7482 (eval $ac_try) 2>&5
7483 ac_status=$?
7484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7485 (exit $ac_status); }; }; then
7487 cat >>confdefs.h <<\_ACEOF
7488 #define HAVE_VSWSCANF 1
7489 _ACEOF
7491 else
7492 echo "$as_me: failed program was:" >&5
7493 sed 's/^/| /' conftest.$ac_ext >&5
7496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7498 cat >conftest.$ac_ext <<_ACEOF
7499 /* confdefs.h. */
7500 _ACEOF
7501 cat confdefs.h >>conftest.$ac_ext
7502 cat >>conftest.$ac_ext <<_ACEOF
7503 /* end confdefs.h. */
7504 #include <wchar.h>
7505 namespace test { using ::vwscanf; }
7507 main ()
7511 return 0;
7513 _ACEOF
7514 rm -f conftest.$ac_objext
7515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7516 (eval $ac_compile) 2>conftest.er1
7517 ac_status=$?
7518 grep -v '^ *+' conftest.er1 >conftest.err
7519 rm -f conftest.er1
7520 cat conftest.err >&5
7521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7522 (exit $ac_status); } &&
7523 { ac_try='test -z "$ac_cxx_werror_flag"
7524 || test ! -s conftest.err'
7525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7526 (eval $ac_try) 2>&5
7527 ac_status=$?
7528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7529 (exit $ac_status); }; } &&
7530 { ac_try='test -s conftest.$ac_objext'
7531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7532 (eval $ac_try) 2>&5
7533 ac_status=$?
7534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7535 (exit $ac_status); }; }; then
7537 cat >>confdefs.h <<\_ACEOF
7538 #define HAVE_VWSCANF 1
7539 _ACEOF
7541 else
7542 echo "$as_me: failed program was:" >&5
7543 sed 's/^/| /' conftest.$ac_ext >&5
7546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7548 cat >conftest.$ac_ext <<_ACEOF
7549 /* confdefs.h. */
7550 _ACEOF
7551 cat confdefs.h >>conftest.$ac_ext
7552 cat >>conftest.$ac_ext <<_ACEOF
7553 /* end confdefs.h. */
7554 #include <wchar.h>
7555 namespace test { using ::wcstof; }
7557 main ()
7561 return 0;
7563 _ACEOF
7564 rm -f conftest.$ac_objext
7565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7566 (eval $ac_compile) 2>conftest.er1
7567 ac_status=$?
7568 grep -v '^ *+' conftest.er1 >conftest.err
7569 rm -f conftest.er1
7570 cat conftest.err >&5
7571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7572 (exit $ac_status); } &&
7573 { ac_try='test -z "$ac_cxx_werror_flag"
7574 || test ! -s conftest.err'
7575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7576 (eval $ac_try) 2>&5
7577 ac_status=$?
7578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7579 (exit $ac_status); }; } &&
7580 { ac_try='test -s conftest.$ac_objext'
7581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7582 (eval $ac_try) 2>&5
7583 ac_status=$?
7584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7585 (exit $ac_status); }; }; then
7587 cat >>confdefs.h <<\_ACEOF
7588 #define HAVE_WCSTOF 1
7589 _ACEOF
7591 else
7592 echo "$as_me: failed program was:" >&5
7593 sed 's/^/| /' conftest.$ac_ext >&5
7596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7598 cat >conftest.$ac_ext <<_ACEOF
7599 /* confdefs.h. */
7600 _ACEOF
7601 cat confdefs.h >>conftest.$ac_ext
7602 cat >>conftest.$ac_ext <<_ACEOF
7603 /* end confdefs.h. */
7604 #include <wctype.h>
7606 main ()
7608 wint_t t; int i = iswblank(t);
7610 return 0;
7612 _ACEOF
7613 rm -f conftest.$ac_objext
7614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7615 (eval $ac_compile) 2>conftest.er1
7616 ac_status=$?
7617 grep -v '^ *+' conftest.er1 >conftest.err
7618 rm -f conftest.er1
7619 cat conftest.err >&5
7620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7621 (exit $ac_status); } &&
7622 { ac_try='test -z "$ac_cxx_werror_flag"
7623 || test ! -s conftest.err'
7624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7625 (eval $ac_try) 2>&5
7626 ac_status=$?
7627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7628 (exit $ac_status); }; } &&
7629 { ac_try='test -s conftest.$ac_objext'
7630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7631 (eval $ac_try) 2>&5
7632 ac_status=$?
7633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7634 (exit $ac_status); }; }; then
7636 cat >>confdefs.h <<\_ACEOF
7637 #define HAVE_ISWBLANK 1
7638 _ACEOF
7640 else
7641 echo "$as_me: failed program was:" >&5
7642 sed 's/^/| /' conftest.$ac_ext >&5
7645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7647 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
7648 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
7649 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7650 echo "${ECHO_T}$ac_c99_wchar" >&6
7653 # Option parsed, now set things appropriately.
7654 if test x"$ac_c99_math" = x"no" ||
7655 test x"$ac_c99_complex" = x"no" ||
7656 test x"$ac_c99_stdio" = x"no" ||
7657 test x"$ac_c99_stdlib" = x"no" ||
7658 test x"$ac_c99_wchar" = x"no"; then
7659 enable_c99=no;
7660 else
7662 cat >>confdefs.h <<\_ACEOF
7663 #define _GLIBCXX_USE_C99 1
7664 _ACEOF
7668 ac_ext=c
7669 ac_cpp='$CPP $CPPFLAGS'
7670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7676 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
7677 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
7678 echo "$as_me:$LINENO: result: $enable_c99" >&5
7679 echo "${ECHO_T}$enable_c99" >&6
7682 # Check whether --enable-long-long or --disable-long-long was given.
7683 if test "${enable_long_long+set}" = set; then
7684 enableval="$enable_long_long"
7686 case "$enableval" in
7687 yes|no) ;;
7688 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7689 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7690 { (exit 1); exit 1; }; } ;;
7691 esac
7693 else
7694 enable_long_long=yes
7697 if test $enable_long_long = yes; then
7699 cat >>confdefs.h <<\_ACEOF
7700 #define _GLIBCXX_USE_LONG_LONG 1
7701 _ACEOF
7704 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
7705 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
7706 echo "$as_me:$LINENO: result: $enable_long_long" >&5
7707 echo "${ECHO_T}$enable_long_long" >&6
7710 # Check whether --enable-wchar_t or --disable-wchar_t was given.
7711 if test "${enable_wchar_t+set}" = set; then
7712 enableval="$enable_wchar_t"
7714 case "$enableval" in
7715 yes|no) ;;
7716 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
7717 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
7718 { (exit 1); exit 1; }; } ;;
7719 esac
7721 else
7722 enable_wchar_t=yes
7725 if test x"$ac_c99_wchar" = x"yes" && test x"$enable_wchar_t" = x"yes"; then
7727 cat >>confdefs.h <<\_ACEOF
7728 #define _GLIBCXX_USE_WCHAR_T 1
7729 _ACEOF
7732 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
7733 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
7734 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
7735 echo "${ECHO_T}$enable_wchar_t" >&6
7738 # Check whether --enable-concept-checks or --disable-concept-checks was given.
7739 if test "${enable_concept_checks+set}" = set; then
7740 enableval="$enable_concept_checks"
7742 case "$enableval" in
7743 yes|no) ;;
7744 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7745 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7746 { (exit 1); exit 1; }; } ;;
7747 esac
7749 else
7750 enable_concept_checks=no
7753 if test $enable_concept_checks = yes; then
7755 cat >>confdefs.h <<\_ACEOF
7756 #define _GLIBCXX_CONCEPT_CHECKS 1
7757 _ACEOF
7762 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7763 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7764 enableval="$enable_libstdcxx_debug_flags"
7765 case "x$enable_libstdcxx_debug_flags" in
7766 xno | x) enable_libstdcxx_debug_flags= ;;
7767 x-*) ;;
7768 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7769 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7770 { (exit 1); exit 1; }; } ;;
7771 esac
7772 else
7773 enable_libstdcxx_debug_flags="-g3 -O0"
7777 # Option parsed, now set things appropriately
7778 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7781 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7782 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7785 echo "$as_me:$LINENO: checking for additional debug build" >&5
7786 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7787 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7788 if test "${enable_libstdcxx_debug+set}" = set; then
7789 enableval="$enable_libstdcxx_debug"
7791 case "$enableval" in
7792 yes|no) ;;
7793 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7794 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7795 { (exit 1); exit 1; }; } ;;
7796 esac
7798 else
7799 enable_libstdcxx_debug=no
7802 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7803 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7806 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7807 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7808 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7809 if test "${enable_cxx_flags+set}" = set; then
7810 enableval="$enable_cxx_flags"
7811 case "x$enable_cxx_flags" in
7812 xno | x) enable_cxx_flags= ;;
7813 x-*) ;;
7814 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7815 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7816 { (exit 1); exit 1; }; } ;;
7817 esac
7818 else
7819 enable_cxx_flags=
7823 # Run through flags (either default or command-line) and set anything
7824 # extra (e.g., #defines) that must accompany particular g++ options.
7825 if test -n "$enable_cxx_flags"; then
7826 for f in $enable_cxx_flags; do
7827 case "$f" in
7828 -fhonor-std) ;;
7829 -*) ;;
7830 *) # and we're trying to pass /what/ exactly?
7831 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7832 echo "$as_me: error: compiler flags start with a -" >&2;}
7833 { (exit 1); exit 1; }; } ;;
7834 esac
7835 done
7838 EXTRA_CXX_FLAGS="$enable_cxx_flags"
7839 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7840 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7844 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
7845 if test "${enable_fully_dynamic_string+set}" = set; then
7846 enableval="$enable_fully_dynamic_string"
7848 case "$enableval" in
7849 yes|no) ;;
7850 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
7851 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
7852 { (exit 1); exit 1; }; } ;;
7853 esac
7855 else
7856 enable_fully_dynamic_string=no
7859 if test $enable_fully_dynamic_string = yes; then
7861 cat >>confdefs.h <<\_ACEOF
7862 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
7863 _ACEOF
7868 # No surprises, no surprises...
7870 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7871 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7872 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7873 echo "$as_me:$LINENO: result: $target_thread_file" >&5
7874 echo "${ECHO_T}$target_thread_file" >&6
7876 if test $target_thread_file != single; then
7878 cat >>confdefs.h <<\_ACEOF
7879 #define HAVE_GTHR_DEFAULT 1
7880 _ACEOF
7884 glibcxx_thread_h=gthr-$target_thread_file.h
7886 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
7887 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
7888 enable_thread=yes
7889 else
7890 enable_thread=no
7895 if test $atomicity_dir = cpu/generic ; then
7896 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7897 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7898 if test $target_thread_file = single; then
7899 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7900 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7901 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7902 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7903 else
7904 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7905 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7906 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7907 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7912 if $GLIBCXX_IS_NATIVE; then
7914 # We can do more elaborate tests that assume a working linker.
7915 CANADIAN=no
7917 # Check for available headers.
7933 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7934 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7935 sys/types.h sys/ipc.h sys/sem.h
7937 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7939 echo "$as_me:$LINENO: checking for $ac_header" >&5
7940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7941 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7942 echo $ECHO_N "(cached) $ECHO_C" >&6
7944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7945 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7946 else
7947 # Is the header compilable?
7948 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7949 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7950 cat >conftest.$ac_ext <<_ACEOF
7951 /* confdefs.h. */
7952 _ACEOF
7953 cat confdefs.h >>conftest.$ac_ext
7954 cat >>conftest.$ac_ext <<_ACEOF
7955 /* end confdefs.h. */
7956 $ac_includes_default
7957 #include <$ac_header>
7958 _ACEOF
7959 rm -f conftest.$ac_objext
7960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7961 (eval $ac_compile) 2>conftest.er1
7962 ac_status=$?
7963 grep -v '^ *+' conftest.er1 >conftest.err
7964 rm -f conftest.er1
7965 cat conftest.err >&5
7966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7967 (exit $ac_status); } &&
7968 { ac_try='test -z "$ac_c_werror_flag"
7969 || test ! -s conftest.err'
7970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7971 (eval $ac_try) 2>&5
7972 ac_status=$?
7973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7974 (exit $ac_status); }; } &&
7975 { ac_try='test -s conftest.$ac_objext'
7976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7977 (eval $ac_try) 2>&5
7978 ac_status=$?
7979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7980 (exit $ac_status); }; }; then
7981 ac_header_compiler=yes
7982 else
7983 echo "$as_me: failed program was:" >&5
7984 sed 's/^/| /' conftest.$ac_ext >&5
7986 ac_header_compiler=no
7988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7989 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7990 echo "${ECHO_T}$ac_header_compiler" >&6
7992 # Is the header present?
7993 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7994 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7995 cat >conftest.$ac_ext <<_ACEOF
7996 /* confdefs.h. */
7997 _ACEOF
7998 cat confdefs.h >>conftest.$ac_ext
7999 cat >>conftest.$ac_ext <<_ACEOF
8000 /* end confdefs.h. */
8001 #include <$ac_header>
8002 _ACEOF
8003 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8004 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8005 ac_status=$?
8006 grep -v '^ *+' conftest.er1 >conftest.err
8007 rm -f conftest.er1
8008 cat conftest.err >&5
8009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8010 (exit $ac_status); } >/dev/null; then
8011 if test -s conftest.err; then
8012 ac_cpp_err=$ac_c_preproc_warn_flag
8013 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8014 else
8015 ac_cpp_err=
8017 else
8018 ac_cpp_err=yes
8020 if test -z "$ac_cpp_err"; then
8021 ac_header_preproc=yes
8022 else
8023 echo "$as_me: failed program was:" >&5
8024 sed 's/^/| /' conftest.$ac_ext >&5
8026 ac_header_preproc=no
8028 rm -f conftest.err conftest.$ac_ext
8029 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8030 echo "${ECHO_T}$ac_header_preproc" >&6
8032 # So? What about this header?
8033 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8034 yes:no: )
8035 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8036 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8037 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8038 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8039 ac_header_preproc=yes
8041 no:yes:* )
8042 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8043 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8044 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8045 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8046 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8047 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8048 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8049 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8050 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8051 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8052 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8053 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8055 cat <<\_ASBOX
8056 ## ----------------------------------------- ##
8057 ## Report this to the package-unused lists. ##
8058 ## ----------------------------------------- ##
8059 _ASBOX
8061 sed "s/^/$as_me: WARNING: /" >&2
8063 esac
8064 echo "$as_me:$LINENO: checking for $ac_header" >&5
8065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8067 echo $ECHO_N "(cached) $ECHO_C" >&6
8068 else
8069 eval "$as_ac_Header=\$ac_header_preproc"
8071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8072 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8075 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8076 cat >>confdefs.h <<_ACEOF
8077 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8078 _ACEOF
8082 done
8086 # All these tests are for C++; save the language and the compiler flags.
8087 # The CXXFLAGS thing is suspicious, but based on similar bits previously
8088 # found in GLIBCXX_CONFIGURE.
8091 ac_ext=cc
8092 ac_cpp='$CXXCPP $CPPFLAGS'
8093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8097 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8098 ac_save_CXXFLAGS="$CXXFLAGS"
8100 # Check for maintainer-mode bits.
8101 if test x"$USE_MAINTAINER_MODE" = xno; then
8102 WERROR=''
8103 else
8104 WERROR='-Werror'
8107 # Check for -ffunction-sections -fdata-sections
8108 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8109 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8110 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8111 cat >conftest.$ac_ext <<_ACEOF
8112 /* confdefs.h. */
8113 _ACEOF
8114 cat confdefs.h >>conftest.$ac_ext
8115 cat >>conftest.$ac_ext <<_ACEOF
8116 /* end confdefs.h. */
8119 main ()
8121 int foo;
8123 return 0;
8125 _ACEOF
8126 rm -f conftest.$ac_objext
8127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8128 (eval $ac_compile) 2>conftest.er1
8129 ac_status=$?
8130 grep -v '^ *+' conftest.er1 >conftest.err
8131 rm -f conftest.er1
8132 cat conftest.err >&5
8133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8134 (exit $ac_status); } &&
8135 { ac_try='test -z "$ac_cxx_werror_flag"
8136 || test ! -s conftest.err'
8137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8138 (eval $ac_try) 2>&5
8139 ac_status=$?
8140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8141 (exit $ac_status); }; } &&
8142 { ac_try='test -s conftest.$ac_objext'
8143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8144 (eval $ac_try) 2>&5
8145 ac_status=$?
8146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8147 (exit $ac_status); }; }; then
8148 ac_fdsections=yes
8149 else
8150 echo "$as_me: failed program was:" >&5
8151 sed 's/^/| /' conftest.$ac_ext >&5
8153 ac_fdsections=no
8155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8156 if test "$ac_test_CXXFLAGS" = set; then
8157 CXXFLAGS="$ac_save_CXXFLAGS"
8158 else
8159 # this is the suspicious part
8160 CXXFLAGS=''
8162 if test x"$ac_fdsections" = x"yes"; then
8163 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8165 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8166 echo "${ECHO_T}$ac_fdsections" >&6
8168 ac_ext=c
8169 ac_cpp='$CPP $CPPFLAGS'
8170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8178 # If we're not using GNU ld, then there's no point in even trying these
8179 # tests. Check for that first. We should have already tested for gld
8180 # by now (in libtool), but require it now just to be safe...
8181 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8182 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8186 # The name set by libtool depends on the version of libtool. Shame on us
8187 # for depending on an impl detail, but c'est la vie. Older versions used
8188 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8189 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8190 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8191 # set (hence we're using an older libtool), then set it.
8192 if test x${with_gnu_ld+set} != xset; then
8193 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8194 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8195 with_gnu_ld=no
8196 else
8197 with_gnu_ld=$ac_cv_prog_gnu_ld
8201 # Start by getting the version number. I think the libtool test already
8202 # does some of this, but throws away the result.
8204 ldver=`$LD --version 2>/dev/null | head -1 | \
8205 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8207 glibcxx_gnu_ld_version=`echo $ldver | \
8208 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8210 # Set --gc-sections.
8211 if test "$with_gnu_ld" = "notbroken"; then
8212 # GNU ld it is! Joy and bunny rabbits!
8214 # All these tests are for C++; save the language and the compiler flags.
8215 # Need to do this so that g++ won't try to link in libstdc++
8216 ac_test_CFLAGS="${CFLAGS+set}"
8217 ac_save_CFLAGS="$CFLAGS"
8218 CFLAGS='-x c++ -Wl,--gc-sections'
8220 # Check for -Wl,--gc-sections
8221 # XXX This test is broken at the moment, as symbols required for linking
8222 # are now in libsupc++ (not built yet). In addition, this test has
8223 # cored on solaris in the past. In addition, --gc-sections doesn't
8224 # really work at the moment (keeps on discarding used sections, first
8225 # .eh_frame and now some of the glibc sections for iconv).
8226 # Bzzzzt. Thanks for playing, maybe next time.
8227 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8228 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8229 if test "$cross_compiling" = yes; then
8230 ac_sectionLDflags=yes
8231 else
8232 cat >conftest.$ac_ext <<_ACEOF
8233 /* confdefs.h. */
8234 _ACEOF
8235 cat confdefs.h >>conftest.$ac_ext
8236 cat >>conftest.$ac_ext <<_ACEOF
8237 /* end confdefs.h. */
8239 int main(void)
8241 try { throw 1; }
8242 catch (...) { };
8243 return 0;
8246 _ACEOF
8247 rm -f conftest$ac_exeext
8248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8249 (eval $ac_link) 2>&5
8250 ac_status=$?
8251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8252 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8254 (eval $ac_try) 2>&5
8255 ac_status=$?
8256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8257 (exit $ac_status); }; }; then
8258 ac_sectionLDflags=yes
8259 else
8260 echo "$as_me: program exited with status $ac_status" >&5
8261 echo "$as_me: failed program was:" >&5
8262 sed 's/^/| /' conftest.$ac_ext >&5
8264 ( exit $ac_status )
8265 ac_sectionLDflags=no
8267 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8269 if test "$ac_test_CFLAGS" = set; then
8270 CFLAGS="$ac_save_CFLAGS"
8271 else
8272 # this is the suspicious part
8273 CFLAGS=''
8275 if test "$ac_sectionLDflags" = "yes"; then
8276 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8278 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
8279 echo "${ECHO_T}$ac_sectionLDflags" >&6
8282 # Set linker optimization flags.
8283 if test x"$with_gnu_ld" = x"yes"; then
8284 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8291 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8292 ac_save_CXXFLAGS="$CXXFLAGS"
8293 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8295 echo "$as_me:$LINENO: checking for sin in -lm" >&5
8296 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8297 if test "${ac_cv_lib_m_sin+set}" = set; then
8298 echo $ECHO_N "(cached) $ECHO_C" >&6
8299 else
8300 ac_check_lib_save_LIBS=$LIBS
8301 LIBS="-lm $LIBS"
8302 if test x$gcc_no_link = xyes; then
8303 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8305 { (exit 1); exit 1; }; }
8307 cat >conftest.$ac_ext <<_ACEOF
8308 /* confdefs.h. */
8309 _ACEOF
8310 cat confdefs.h >>conftest.$ac_ext
8311 cat >>conftest.$ac_ext <<_ACEOF
8312 /* end confdefs.h. */
8314 /* Override any gcc2 internal prototype to avoid an error. */
8315 #ifdef __cplusplus
8316 extern "C"
8317 #endif
8318 /* We use char because int might match the return type of a gcc2
8319 builtin and then its argument prototype would still apply. */
8320 char sin ();
8322 main ()
8324 sin ();
8326 return 0;
8328 _ACEOF
8329 rm -f conftest.$ac_objext conftest$ac_exeext
8330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8331 (eval $ac_link) 2>conftest.er1
8332 ac_status=$?
8333 grep -v '^ *+' conftest.er1 >conftest.err
8334 rm -f conftest.er1
8335 cat conftest.err >&5
8336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8337 (exit $ac_status); } &&
8338 { ac_try='test -z "$ac_c_werror_flag"
8339 || test ! -s conftest.err'
8340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8341 (eval $ac_try) 2>&5
8342 ac_status=$?
8343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8344 (exit $ac_status); }; } &&
8345 { ac_try='test -s conftest$ac_exeext'
8346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8347 (eval $ac_try) 2>&5
8348 ac_status=$?
8349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8350 (exit $ac_status); }; }; then
8351 ac_cv_lib_m_sin=yes
8352 else
8353 echo "$as_me: failed program was:" >&5
8354 sed 's/^/| /' conftest.$ac_ext >&5
8356 ac_cv_lib_m_sin=no
8358 rm -f conftest.err conftest.$ac_objext \
8359 conftest$ac_exeext conftest.$ac_ext
8360 LIBS=$ac_check_lib_save_LIBS
8362 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8363 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8364 if test $ac_cv_lib_m_sin = yes; then
8365 libm="-lm"
8368 ac_save_LIBS="$LIBS"
8369 LIBS="$LIBS $libm"
8373 echo "$as_me:$LINENO: checking for isinf declaration" >&5
8374 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8375 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8376 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8377 echo $ECHO_N "(cached) $ECHO_C" >&6
8378 else
8382 ac_ext=cc
8383 ac_cpp='$CXXCPP $CPPFLAGS'
8384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8388 cat >conftest.$ac_ext <<_ACEOF
8389 /* confdefs.h. */
8390 _ACEOF
8391 cat confdefs.h >>conftest.$ac_ext
8392 cat >>conftest.$ac_ext <<_ACEOF
8393 /* end confdefs.h. */
8394 #include <math.h>
8395 #ifdef HAVE_IEEEFP_H
8396 #include <ieeefp.h>
8397 #endif
8400 main ()
8402 isinf(0);
8404 return 0;
8406 _ACEOF
8407 rm -f conftest.$ac_objext
8408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8409 (eval $ac_compile) 2>conftest.er1
8410 ac_status=$?
8411 grep -v '^ *+' conftest.er1 >conftest.err
8412 rm -f conftest.er1
8413 cat conftest.err >&5
8414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8415 (exit $ac_status); } &&
8416 { ac_try='test -z "$ac_cxx_werror_flag"
8417 || test ! -s conftest.err'
8418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8419 (eval $ac_try) 2>&5
8420 ac_status=$?
8421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8422 (exit $ac_status); }; } &&
8423 { ac_try='test -s conftest.$ac_objext'
8424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8425 (eval $ac_try) 2>&5
8426 ac_status=$?
8427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8428 (exit $ac_status); }; }; then
8429 glibcxx_cv_func_isinf_use=yes
8430 else
8431 echo "$as_me: failed program was:" >&5
8432 sed 's/^/| /' conftest.$ac_ext >&5
8434 glibcxx_cv_func_isinf_use=no
8436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8437 ac_ext=c
8438 ac_cpp='$CPP $CPPFLAGS'
8439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8447 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8448 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8450 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8452 for ac_func in isinf
8454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8455 echo "$as_me:$LINENO: checking for $ac_func" >&5
8456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8457 if eval "test \"\${$as_ac_var+set}\" = set"; then
8458 echo $ECHO_N "(cached) $ECHO_C" >&6
8459 else
8460 if test x$gcc_no_link = xyes; then
8461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8463 { (exit 1); exit 1; }; }
8465 cat >conftest.$ac_ext <<_ACEOF
8466 /* confdefs.h. */
8467 _ACEOF
8468 cat confdefs.h >>conftest.$ac_ext
8469 cat >>conftest.$ac_ext <<_ACEOF
8470 /* end confdefs.h. */
8471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8473 #define $ac_func innocuous_$ac_func
8475 /* System header to define __stub macros and hopefully few prototypes,
8476 which can conflict with char $ac_func (); below.
8477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8478 <limits.h> exists even on freestanding compilers. */
8480 #ifdef __STDC__
8481 # include <limits.h>
8482 #else
8483 # include <assert.h>
8484 #endif
8486 #undef $ac_func
8488 /* Override any gcc2 internal prototype to avoid an error. */
8489 #ifdef __cplusplus
8490 extern "C"
8492 #endif
8493 /* We use char because int might match the return type of a gcc2
8494 builtin and then its argument prototype would still apply. */
8495 char $ac_func ();
8496 /* The GNU C library defines this for functions which it implements
8497 to always fail with ENOSYS. Some functions are actually named
8498 something starting with __ and the normal name is an alias. */
8499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8500 choke me
8501 #else
8502 char (*f) () = $ac_func;
8503 #endif
8504 #ifdef __cplusplus
8506 #endif
8509 main ()
8511 return f != $ac_func;
8513 return 0;
8515 _ACEOF
8516 rm -f conftest.$ac_objext conftest$ac_exeext
8517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8518 (eval $ac_link) 2>conftest.er1
8519 ac_status=$?
8520 grep -v '^ *+' conftest.er1 >conftest.err
8521 rm -f conftest.er1
8522 cat conftest.err >&5
8523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8524 (exit $ac_status); } &&
8525 { ac_try='test -z "$ac_c_werror_flag"
8526 || test ! -s conftest.err'
8527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8528 (eval $ac_try) 2>&5
8529 ac_status=$?
8530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8531 (exit $ac_status); }; } &&
8532 { ac_try='test -s conftest$ac_exeext'
8533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8534 (eval $ac_try) 2>&5
8535 ac_status=$?
8536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8537 (exit $ac_status); }; }; then
8538 eval "$as_ac_var=yes"
8539 else
8540 echo "$as_me: failed program was:" >&5
8541 sed 's/^/| /' conftest.$ac_ext >&5
8543 eval "$as_ac_var=no"
8545 rm -f conftest.err conftest.$ac_objext \
8546 conftest$ac_exeext conftest.$ac_ext
8548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8550 if test `eval echo '${'$as_ac_var'}'` = yes; then
8551 cat >>confdefs.h <<_ACEOF
8552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8553 _ACEOF
8556 done
8558 else
8560 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8561 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8562 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8563 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8564 echo $ECHO_N "(cached) $ECHO_C" >&6
8565 else
8569 ac_ext=cc
8570 ac_cpp='$CXXCPP $CPPFLAGS'
8571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8575 cat >conftest.$ac_ext <<_ACEOF
8576 /* confdefs.h. */
8577 _ACEOF
8578 cat confdefs.h >>conftest.$ac_ext
8579 cat >>conftest.$ac_ext <<_ACEOF
8580 /* end confdefs.h. */
8581 #include <math.h>
8582 #ifdef HAVE_IEEEFP_H
8583 #include <ieeefp.h>
8584 #endif
8587 main ()
8589 _isinf(0);
8591 return 0;
8593 _ACEOF
8594 rm -f conftest.$ac_objext
8595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8596 (eval $ac_compile) 2>conftest.er1
8597 ac_status=$?
8598 grep -v '^ *+' conftest.er1 >conftest.err
8599 rm -f conftest.er1
8600 cat conftest.err >&5
8601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8602 (exit $ac_status); } &&
8603 { ac_try='test -z "$ac_cxx_werror_flag"
8604 || test ! -s conftest.err'
8605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8606 (eval $ac_try) 2>&5
8607 ac_status=$?
8608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8609 (exit $ac_status); }; } &&
8610 { ac_try='test -s conftest.$ac_objext'
8611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8612 (eval $ac_try) 2>&5
8613 ac_status=$?
8614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8615 (exit $ac_status); }; }; then
8616 glibcxx_cv_func__isinf_use=yes
8617 else
8618 echo "$as_me: failed program was:" >&5
8619 sed 's/^/| /' conftest.$ac_ext >&5
8621 glibcxx_cv_func__isinf_use=no
8623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8624 ac_ext=c
8625 ac_cpp='$CPP $CPPFLAGS'
8626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8634 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8635 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8637 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8639 for ac_func in _isinf
8641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8642 echo "$as_me:$LINENO: checking for $ac_func" >&5
8643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8644 if eval "test \"\${$as_ac_var+set}\" = set"; then
8645 echo $ECHO_N "(cached) $ECHO_C" >&6
8646 else
8647 if test x$gcc_no_link = xyes; then
8648 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8650 { (exit 1); exit 1; }; }
8652 cat >conftest.$ac_ext <<_ACEOF
8653 /* confdefs.h. */
8654 _ACEOF
8655 cat confdefs.h >>conftest.$ac_ext
8656 cat >>conftest.$ac_ext <<_ACEOF
8657 /* end confdefs.h. */
8658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8660 #define $ac_func innocuous_$ac_func
8662 /* System header to define __stub macros and hopefully few prototypes,
8663 which can conflict with char $ac_func (); below.
8664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8665 <limits.h> exists even on freestanding compilers. */
8667 #ifdef __STDC__
8668 # include <limits.h>
8669 #else
8670 # include <assert.h>
8671 #endif
8673 #undef $ac_func
8675 /* Override any gcc2 internal prototype to avoid an error. */
8676 #ifdef __cplusplus
8677 extern "C"
8679 #endif
8680 /* We use char because int might match the return type of a gcc2
8681 builtin and then its argument prototype would still apply. */
8682 char $ac_func ();
8683 /* The GNU C library defines this for functions which it implements
8684 to always fail with ENOSYS. Some functions are actually named
8685 something starting with __ and the normal name is an alias. */
8686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8687 choke me
8688 #else
8689 char (*f) () = $ac_func;
8690 #endif
8691 #ifdef __cplusplus
8693 #endif
8696 main ()
8698 return f != $ac_func;
8700 return 0;
8702 _ACEOF
8703 rm -f conftest.$ac_objext conftest$ac_exeext
8704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8705 (eval $ac_link) 2>conftest.er1
8706 ac_status=$?
8707 grep -v '^ *+' conftest.er1 >conftest.err
8708 rm -f conftest.er1
8709 cat conftest.err >&5
8710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8711 (exit $ac_status); } &&
8712 { ac_try='test -z "$ac_c_werror_flag"
8713 || test ! -s conftest.err'
8714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8715 (eval $ac_try) 2>&5
8716 ac_status=$?
8717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8718 (exit $ac_status); }; } &&
8719 { ac_try='test -s conftest$ac_exeext'
8720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8721 (eval $ac_try) 2>&5
8722 ac_status=$?
8723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8724 (exit $ac_status); }; }; then
8725 eval "$as_ac_var=yes"
8726 else
8727 echo "$as_me: failed program was:" >&5
8728 sed 's/^/| /' conftest.$ac_ext >&5
8730 eval "$as_ac_var=no"
8732 rm -f conftest.err conftest.$ac_objext \
8733 conftest$ac_exeext conftest.$ac_ext
8735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8737 if test `eval echo '${'$as_ac_var'}'` = yes; then
8738 cat >>confdefs.h <<_ACEOF
8739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8740 _ACEOF
8743 done
8753 echo "$as_me:$LINENO: checking for isnan declaration" >&5
8754 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8755 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8756 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8757 echo $ECHO_N "(cached) $ECHO_C" >&6
8758 else
8762 ac_ext=cc
8763 ac_cpp='$CXXCPP $CPPFLAGS'
8764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8768 cat >conftest.$ac_ext <<_ACEOF
8769 /* confdefs.h. */
8770 _ACEOF
8771 cat confdefs.h >>conftest.$ac_ext
8772 cat >>conftest.$ac_ext <<_ACEOF
8773 /* end confdefs.h. */
8774 #include <math.h>
8775 #ifdef HAVE_IEEEFP_H
8776 #include <ieeefp.h>
8777 #endif
8780 main ()
8782 isnan(0);
8784 return 0;
8786 _ACEOF
8787 rm -f conftest.$ac_objext
8788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8789 (eval $ac_compile) 2>conftest.er1
8790 ac_status=$?
8791 grep -v '^ *+' conftest.er1 >conftest.err
8792 rm -f conftest.er1
8793 cat conftest.err >&5
8794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8795 (exit $ac_status); } &&
8796 { ac_try='test -z "$ac_cxx_werror_flag"
8797 || test ! -s conftest.err'
8798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8799 (eval $ac_try) 2>&5
8800 ac_status=$?
8801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8802 (exit $ac_status); }; } &&
8803 { ac_try='test -s conftest.$ac_objext'
8804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8805 (eval $ac_try) 2>&5
8806 ac_status=$?
8807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8808 (exit $ac_status); }; }; then
8809 glibcxx_cv_func_isnan_use=yes
8810 else
8811 echo "$as_me: failed program was:" >&5
8812 sed 's/^/| /' conftest.$ac_ext >&5
8814 glibcxx_cv_func_isnan_use=no
8816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8817 ac_ext=c
8818 ac_cpp='$CPP $CPPFLAGS'
8819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8827 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8828 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8830 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8832 for ac_func in isnan
8834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8835 echo "$as_me:$LINENO: checking for $ac_func" >&5
8836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8837 if eval "test \"\${$as_ac_var+set}\" = set"; then
8838 echo $ECHO_N "(cached) $ECHO_C" >&6
8839 else
8840 if test x$gcc_no_link = xyes; then
8841 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8843 { (exit 1); exit 1; }; }
8845 cat >conftest.$ac_ext <<_ACEOF
8846 /* confdefs.h. */
8847 _ACEOF
8848 cat confdefs.h >>conftest.$ac_ext
8849 cat >>conftest.$ac_ext <<_ACEOF
8850 /* end confdefs.h. */
8851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8853 #define $ac_func innocuous_$ac_func
8855 /* System header to define __stub macros and hopefully few prototypes,
8856 which can conflict with char $ac_func (); below.
8857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8858 <limits.h> exists even on freestanding compilers. */
8860 #ifdef __STDC__
8861 # include <limits.h>
8862 #else
8863 # include <assert.h>
8864 #endif
8866 #undef $ac_func
8868 /* Override any gcc2 internal prototype to avoid an error. */
8869 #ifdef __cplusplus
8870 extern "C"
8872 #endif
8873 /* We use char because int might match the return type of a gcc2
8874 builtin and then its argument prototype would still apply. */
8875 char $ac_func ();
8876 /* The GNU C library defines this for functions which it implements
8877 to always fail with ENOSYS. Some functions are actually named
8878 something starting with __ and the normal name is an alias. */
8879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8880 choke me
8881 #else
8882 char (*f) () = $ac_func;
8883 #endif
8884 #ifdef __cplusplus
8886 #endif
8889 main ()
8891 return f != $ac_func;
8893 return 0;
8895 _ACEOF
8896 rm -f conftest.$ac_objext conftest$ac_exeext
8897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8898 (eval $ac_link) 2>conftest.er1
8899 ac_status=$?
8900 grep -v '^ *+' conftest.er1 >conftest.err
8901 rm -f conftest.er1
8902 cat conftest.err >&5
8903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8904 (exit $ac_status); } &&
8905 { ac_try='test -z "$ac_c_werror_flag"
8906 || test ! -s conftest.err'
8907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8908 (eval $ac_try) 2>&5
8909 ac_status=$?
8910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8911 (exit $ac_status); }; } &&
8912 { ac_try='test -s conftest$ac_exeext'
8913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8914 (eval $ac_try) 2>&5
8915 ac_status=$?
8916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8917 (exit $ac_status); }; }; then
8918 eval "$as_ac_var=yes"
8919 else
8920 echo "$as_me: failed program was:" >&5
8921 sed 's/^/| /' conftest.$ac_ext >&5
8923 eval "$as_ac_var=no"
8925 rm -f conftest.err conftest.$ac_objext \
8926 conftest$ac_exeext conftest.$ac_ext
8928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8930 if test `eval echo '${'$as_ac_var'}'` = yes; then
8931 cat >>confdefs.h <<_ACEOF
8932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8933 _ACEOF
8936 done
8938 else
8940 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8941 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8942 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8943 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8944 echo $ECHO_N "(cached) $ECHO_C" >&6
8945 else
8949 ac_ext=cc
8950 ac_cpp='$CXXCPP $CPPFLAGS'
8951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8955 cat >conftest.$ac_ext <<_ACEOF
8956 /* confdefs.h. */
8957 _ACEOF
8958 cat confdefs.h >>conftest.$ac_ext
8959 cat >>conftest.$ac_ext <<_ACEOF
8960 /* end confdefs.h. */
8961 #include <math.h>
8962 #ifdef HAVE_IEEEFP_H
8963 #include <ieeefp.h>
8964 #endif
8967 main ()
8969 _isnan(0);
8971 return 0;
8973 _ACEOF
8974 rm -f conftest.$ac_objext
8975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8976 (eval $ac_compile) 2>conftest.er1
8977 ac_status=$?
8978 grep -v '^ *+' conftest.er1 >conftest.err
8979 rm -f conftest.er1
8980 cat conftest.err >&5
8981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8982 (exit $ac_status); } &&
8983 { ac_try='test -z "$ac_cxx_werror_flag"
8984 || test ! -s conftest.err'
8985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8986 (eval $ac_try) 2>&5
8987 ac_status=$?
8988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8989 (exit $ac_status); }; } &&
8990 { ac_try='test -s conftest.$ac_objext'
8991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8992 (eval $ac_try) 2>&5
8993 ac_status=$?
8994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8995 (exit $ac_status); }; }; then
8996 glibcxx_cv_func__isnan_use=yes
8997 else
8998 echo "$as_me: failed program was:" >&5
8999 sed 's/^/| /' conftest.$ac_ext >&5
9001 glibcxx_cv_func__isnan_use=no
9003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9004 ac_ext=c
9005 ac_cpp='$CPP $CPPFLAGS'
9006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9014 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
9015 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
9017 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
9019 for ac_func in _isnan
9021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9022 echo "$as_me:$LINENO: checking for $ac_func" >&5
9023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9024 if eval "test \"\${$as_ac_var+set}\" = set"; then
9025 echo $ECHO_N "(cached) $ECHO_C" >&6
9026 else
9027 if test x$gcc_no_link = xyes; then
9028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9030 { (exit 1); exit 1; }; }
9032 cat >conftest.$ac_ext <<_ACEOF
9033 /* confdefs.h. */
9034 _ACEOF
9035 cat confdefs.h >>conftest.$ac_ext
9036 cat >>conftest.$ac_ext <<_ACEOF
9037 /* end confdefs.h. */
9038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9040 #define $ac_func innocuous_$ac_func
9042 /* System header to define __stub macros and hopefully few prototypes,
9043 which can conflict with char $ac_func (); below.
9044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9045 <limits.h> exists even on freestanding compilers. */
9047 #ifdef __STDC__
9048 # include <limits.h>
9049 #else
9050 # include <assert.h>
9051 #endif
9053 #undef $ac_func
9055 /* Override any gcc2 internal prototype to avoid an error. */
9056 #ifdef __cplusplus
9057 extern "C"
9059 #endif
9060 /* We use char because int might match the return type of a gcc2
9061 builtin and then its argument prototype would still apply. */
9062 char $ac_func ();
9063 /* The GNU C library defines this for functions which it implements
9064 to always fail with ENOSYS. Some functions are actually named
9065 something starting with __ and the normal name is an alias. */
9066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9067 choke me
9068 #else
9069 char (*f) () = $ac_func;
9070 #endif
9071 #ifdef __cplusplus
9073 #endif
9076 main ()
9078 return f != $ac_func;
9080 return 0;
9082 _ACEOF
9083 rm -f conftest.$ac_objext conftest$ac_exeext
9084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9085 (eval $ac_link) 2>conftest.er1
9086 ac_status=$?
9087 grep -v '^ *+' conftest.er1 >conftest.err
9088 rm -f conftest.er1
9089 cat conftest.err >&5
9090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9091 (exit $ac_status); } &&
9092 { ac_try='test -z "$ac_c_werror_flag"
9093 || test ! -s conftest.err'
9094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9095 (eval $ac_try) 2>&5
9096 ac_status=$?
9097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9098 (exit $ac_status); }; } &&
9099 { ac_try='test -s conftest$ac_exeext'
9100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9101 (eval $ac_try) 2>&5
9102 ac_status=$?
9103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9104 (exit $ac_status); }; }; then
9105 eval "$as_ac_var=yes"
9106 else
9107 echo "$as_me: failed program was:" >&5
9108 sed 's/^/| /' conftest.$ac_ext >&5
9110 eval "$as_ac_var=no"
9112 rm -f conftest.err conftest.$ac_objext \
9113 conftest$ac_exeext conftest.$ac_ext
9115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9117 if test `eval echo '${'$as_ac_var'}'` = yes; then
9118 cat >>confdefs.h <<_ACEOF
9119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9120 _ACEOF
9123 done
9133 echo "$as_me:$LINENO: checking for finite declaration" >&5
9134 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9135 if test x${glibcxx_cv_func_finite_use+set} != xset; then
9136 if test "${glibcxx_cv_func_finite_use+set}" = set; then
9137 echo $ECHO_N "(cached) $ECHO_C" >&6
9138 else
9142 ac_ext=cc
9143 ac_cpp='$CXXCPP $CPPFLAGS'
9144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9148 cat >conftest.$ac_ext <<_ACEOF
9149 /* confdefs.h. */
9150 _ACEOF
9151 cat confdefs.h >>conftest.$ac_ext
9152 cat >>conftest.$ac_ext <<_ACEOF
9153 /* end confdefs.h. */
9154 #include <math.h>
9155 #ifdef HAVE_IEEEFP_H
9156 #include <ieeefp.h>
9157 #endif
9160 main ()
9162 finite(0);
9164 return 0;
9166 _ACEOF
9167 rm -f conftest.$ac_objext
9168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9169 (eval $ac_compile) 2>conftest.er1
9170 ac_status=$?
9171 grep -v '^ *+' conftest.er1 >conftest.err
9172 rm -f conftest.er1
9173 cat conftest.err >&5
9174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9175 (exit $ac_status); } &&
9176 { ac_try='test -z "$ac_cxx_werror_flag"
9177 || test ! -s conftest.err'
9178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9179 (eval $ac_try) 2>&5
9180 ac_status=$?
9181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9182 (exit $ac_status); }; } &&
9183 { ac_try='test -s conftest.$ac_objext'
9184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9185 (eval $ac_try) 2>&5
9186 ac_status=$?
9187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9188 (exit $ac_status); }; }; then
9189 glibcxx_cv_func_finite_use=yes
9190 else
9191 echo "$as_me: failed program was:" >&5
9192 sed 's/^/| /' conftest.$ac_ext >&5
9194 glibcxx_cv_func_finite_use=no
9196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9197 ac_ext=c
9198 ac_cpp='$CPP $CPPFLAGS'
9199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9207 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9208 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9210 if test x$glibcxx_cv_func_finite_use = x"yes"; then
9212 for ac_func in finite
9214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9215 echo "$as_me:$LINENO: checking for $ac_func" >&5
9216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9217 if eval "test \"\${$as_ac_var+set}\" = set"; then
9218 echo $ECHO_N "(cached) $ECHO_C" >&6
9219 else
9220 if test x$gcc_no_link = xyes; then
9221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9223 { (exit 1); exit 1; }; }
9225 cat >conftest.$ac_ext <<_ACEOF
9226 /* confdefs.h. */
9227 _ACEOF
9228 cat confdefs.h >>conftest.$ac_ext
9229 cat >>conftest.$ac_ext <<_ACEOF
9230 /* end confdefs.h. */
9231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9233 #define $ac_func innocuous_$ac_func
9235 /* System header to define __stub macros and hopefully few prototypes,
9236 which can conflict with char $ac_func (); below.
9237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9238 <limits.h> exists even on freestanding compilers. */
9240 #ifdef __STDC__
9241 # include <limits.h>
9242 #else
9243 # include <assert.h>
9244 #endif
9246 #undef $ac_func
9248 /* Override any gcc2 internal prototype to avoid an error. */
9249 #ifdef __cplusplus
9250 extern "C"
9252 #endif
9253 /* We use char because int might match the return type of a gcc2
9254 builtin and then its argument prototype would still apply. */
9255 char $ac_func ();
9256 /* The GNU C library defines this for functions which it implements
9257 to always fail with ENOSYS. Some functions are actually named
9258 something starting with __ and the normal name is an alias. */
9259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9260 choke me
9261 #else
9262 char (*f) () = $ac_func;
9263 #endif
9264 #ifdef __cplusplus
9266 #endif
9269 main ()
9271 return f != $ac_func;
9273 return 0;
9275 _ACEOF
9276 rm -f conftest.$ac_objext conftest$ac_exeext
9277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9278 (eval $ac_link) 2>conftest.er1
9279 ac_status=$?
9280 grep -v '^ *+' conftest.er1 >conftest.err
9281 rm -f conftest.er1
9282 cat conftest.err >&5
9283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9284 (exit $ac_status); } &&
9285 { ac_try='test -z "$ac_c_werror_flag"
9286 || test ! -s conftest.err'
9287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9288 (eval $ac_try) 2>&5
9289 ac_status=$?
9290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9291 (exit $ac_status); }; } &&
9292 { ac_try='test -s conftest$ac_exeext'
9293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9294 (eval $ac_try) 2>&5
9295 ac_status=$?
9296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9297 (exit $ac_status); }; }; then
9298 eval "$as_ac_var=yes"
9299 else
9300 echo "$as_me: failed program was:" >&5
9301 sed 's/^/| /' conftest.$ac_ext >&5
9303 eval "$as_ac_var=no"
9305 rm -f conftest.err conftest.$ac_objext \
9306 conftest$ac_exeext conftest.$ac_ext
9308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9310 if test `eval echo '${'$as_ac_var'}'` = yes; then
9311 cat >>confdefs.h <<_ACEOF
9312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9313 _ACEOF
9316 done
9318 else
9320 echo "$as_me:$LINENO: checking for _finite declaration" >&5
9321 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9322 if test x${glibcxx_cv_func__finite_use+set} != xset; then
9323 if test "${glibcxx_cv_func__finite_use+set}" = set; then
9324 echo $ECHO_N "(cached) $ECHO_C" >&6
9325 else
9329 ac_ext=cc
9330 ac_cpp='$CXXCPP $CPPFLAGS'
9331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9335 cat >conftest.$ac_ext <<_ACEOF
9336 /* confdefs.h. */
9337 _ACEOF
9338 cat confdefs.h >>conftest.$ac_ext
9339 cat >>conftest.$ac_ext <<_ACEOF
9340 /* end confdefs.h. */
9341 #include <math.h>
9342 #ifdef HAVE_IEEEFP_H
9343 #include <ieeefp.h>
9344 #endif
9347 main ()
9349 _finite(0);
9351 return 0;
9353 _ACEOF
9354 rm -f conftest.$ac_objext
9355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9356 (eval $ac_compile) 2>conftest.er1
9357 ac_status=$?
9358 grep -v '^ *+' conftest.er1 >conftest.err
9359 rm -f conftest.er1
9360 cat conftest.err >&5
9361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9362 (exit $ac_status); } &&
9363 { ac_try='test -z "$ac_cxx_werror_flag"
9364 || test ! -s conftest.err'
9365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9366 (eval $ac_try) 2>&5
9367 ac_status=$?
9368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9369 (exit $ac_status); }; } &&
9370 { ac_try='test -s conftest.$ac_objext'
9371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9372 (eval $ac_try) 2>&5
9373 ac_status=$?
9374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9375 (exit $ac_status); }; }; then
9376 glibcxx_cv_func__finite_use=yes
9377 else
9378 echo "$as_me: failed program was:" >&5
9379 sed 's/^/| /' conftest.$ac_ext >&5
9381 glibcxx_cv_func__finite_use=no
9383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9384 ac_ext=c
9385 ac_cpp='$CPP $CPPFLAGS'
9386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9394 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9395 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9397 if test x$glibcxx_cv_func__finite_use = x"yes"; then
9399 for ac_func in _finite
9401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9402 echo "$as_me:$LINENO: checking for $ac_func" >&5
9403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9404 if eval "test \"\${$as_ac_var+set}\" = set"; then
9405 echo $ECHO_N "(cached) $ECHO_C" >&6
9406 else
9407 if test x$gcc_no_link = xyes; then
9408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9410 { (exit 1); exit 1; }; }
9412 cat >conftest.$ac_ext <<_ACEOF
9413 /* confdefs.h. */
9414 _ACEOF
9415 cat confdefs.h >>conftest.$ac_ext
9416 cat >>conftest.$ac_ext <<_ACEOF
9417 /* end confdefs.h. */
9418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9420 #define $ac_func innocuous_$ac_func
9422 /* System header to define __stub macros and hopefully few prototypes,
9423 which can conflict with char $ac_func (); below.
9424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9425 <limits.h> exists even on freestanding compilers. */
9427 #ifdef __STDC__
9428 # include <limits.h>
9429 #else
9430 # include <assert.h>
9431 #endif
9433 #undef $ac_func
9435 /* Override any gcc2 internal prototype to avoid an error. */
9436 #ifdef __cplusplus
9437 extern "C"
9439 #endif
9440 /* We use char because int might match the return type of a gcc2
9441 builtin and then its argument prototype would still apply. */
9442 char $ac_func ();
9443 /* The GNU C library defines this for functions which it implements
9444 to always fail with ENOSYS. Some functions are actually named
9445 something starting with __ and the normal name is an alias. */
9446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9447 choke me
9448 #else
9449 char (*f) () = $ac_func;
9450 #endif
9451 #ifdef __cplusplus
9453 #endif
9456 main ()
9458 return f != $ac_func;
9460 return 0;
9462 _ACEOF
9463 rm -f conftest.$ac_objext conftest$ac_exeext
9464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9465 (eval $ac_link) 2>conftest.er1
9466 ac_status=$?
9467 grep -v '^ *+' conftest.er1 >conftest.err
9468 rm -f conftest.er1
9469 cat conftest.err >&5
9470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9471 (exit $ac_status); } &&
9472 { ac_try='test -z "$ac_c_werror_flag"
9473 || test ! -s conftest.err'
9474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9475 (eval $ac_try) 2>&5
9476 ac_status=$?
9477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9478 (exit $ac_status); }; } &&
9479 { ac_try='test -s conftest$ac_exeext'
9480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9481 (eval $ac_try) 2>&5
9482 ac_status=$?
9483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9484 (exit $ac_status); }; }; then
9485 eval "$as_ac_var=yes"
9486 else
9487 echo "$as_me: failed program was:" >&5
9488 sed 's/^/| /' conftest.$ac_ext >&5
9490 eval "$as_ac_var=no"
9492 rm -f conftest.err conftest.$ac_objext \
9493 conftest$ac_exeext conftest.$ac_ext
9495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9497 if test `eval echo '${'$as_ac_var'}'` = yes; then
9498 cat >>confdefs.h <<_ACEOF
9499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9500 _ACEOF
9503 done
9513 echo "$as_me:$LINENO: checking for copysign declaration" >&5
9514 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9515 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9516 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9517 echo $ECHO_N "(cached) $ECHO_C" >&6
9518 else
9522 ac_ext=cc
9523 ac_cpp='$CXXCPP $CPPFLAGS'
9524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9528 cat >conftest.$ac_ext <<_ACEOF
9529 /* confdefs.h. */
9530 _ACEOF
9531 cat confdefs.h >>conftest.$ac_ext
9532 cat >>conftest.$ac_ext <<_ACEOF
9533 /* end confdefs.h. */
9534 #include <math.h>
9536 main ()
9538 copysign(0, 0);
9540 return 0;
9542 _ACEOF
9543 rm -f conftest.$ac_objext
9544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9545 (eval $ac_compile) 2>conftest.er1
9546 ac_status=$?
9547 grep -v '^ *+' conftest.er1 >conftest.err
9548 rm -f conftest.er1
9549 cat conftest.err >&5
9550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9551 (exit $ac_status); } &&
9552 { ac_try='test -z "$ac_cxx_werror_flag"
9553 || test ! -s conftest.err'
9554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9555 (eval $ac_try) 2>&5
9556 ac_status=$?
9557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9558 (exit $ac_status); }; } &&
9559 { ac_try='test -s conftest.$ac_objext'
9560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9561 (eval $ac_try) 2>&5
9562 ac_status=$?
9563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9564 (exit $ac_status); }; }; then
9565 glibcxx_cv_func_copysign_use=yes
9566 else
9567 echo "$as_me: failed program was:" >&5
9568 sed 's/^/| /' conftest.$ac_ext >&5
9570 glibcxx_cv_func_copysign_use=no
9572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9573 ac_ext=c
9574 ac_cpp='$CPP $CPPFLAGS'
9575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9583 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9584 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9586 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9588 for ac_func in copysign
9590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9591 echo "$as_me:$LINENO: checking for $ac_func" >&5
9592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9593 if eval "test \"\${$as_ac_var+set}\" = set"; then
9594 echo $ECHO_N "(cached) $ECHO_C" >&6
9595 else
9596 if test x$gcc_no_link = xyes; then
9597 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9599 { (exit 1); exit 1; }; }
9601 cat >conftest.$ac_ext <<_ACEOF
9602 /* confdefs.h. */
9603 _ACEOF
9604 cat confdefs.h >>conftest.$ac_ext
9605 cat >>conftest.$ac_ext <<_ACEOF
9606 /* end confdefs.h. */
9607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9609 #define $ac_func innocuous_$ac_func
9611 /* System header to define __stub macros and hopefully few prototypes,
9612 which can conflict with char $ac_func (); below.
9613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9614 <limits.h> exists even on freestanding compilers. */
9616 #ifdef __STDC__
9617 # include <limits.h>
9618 #else
9619 # include <assert.h>
9620 #endif
9622 #undef $ac_func
9624 /* Override any gcc2 internal prototype to avoid an error. */
9625 #ifdef __cplusplus
9626 extern "C"
9628 #endif
9629 /* We use char because int might match the return type of a gcc2
9630 builtin and then its argument prototype would still apply. */
9631 char $ac_func ();
9632 /* The GNU C library defines this for functions which it implements
9633 to always fail with ENOSYS. Some functions are actually named
9634 something starting with __ and the normal name is an alias. */
9635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9636 choke me
9637 #else
9638 char (*f) () = $ac_func;
9639 #endif
9640 #ifdef __cplusplus
9642 #endif
9645 main ()
9647 return f != $ac_func;
9649 return 0;
9651 _ACEOF
9652 rm -f conftest.$ac_objext conftest$ac_exeext
9653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9654 (eval $ac_link) 2>conftest.er1
9655 ac_status=$?
9656 grep -v '^ *+' conftest.er1 >conftest.err
9657 rm -f conftest.er1
9658 cat conftest.err >&5
9659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9660 (exit $ac_status); } &&
9661 { ac_try='test -z "$ac_c_werror_flag"
9662 || test ! -s conftest.err'
9663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9664 (eval $ac_try) 2>&5
9665 ac_status=$?
9666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9667 (exit $ac_status); }; } &&
9668 { ac_try='test -s conftest$ac_exeext'
9669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9670 (eval $ac_try) 2>&5
9671 ac_status=$?
9672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9673 (exit $ac_status); }; }; then
9674 eval "$as_ac_var=yes"
9675 else
9676 echo "$as_me: failed program was:" >&5
9677 sed 's/^/| /' conftest.$ac_ext >&5
9679 eval "$as_ac_var=no"
9681 rm -f conftest.err conftest.$ac_objext \
9682 conftest$ac_exeext conftest.$ac_ext
9684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9686 if test `eval echo '${'$as_ac_var'}'` = yes; then
9687 cat >>confdefs.h <<_ACEOF
9688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9689 _ACEOF
9692 done
9694 else
9696 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9697 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9698 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9699 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9700 echo $ECHO_N "(cached) $ECHO_C" >&6
9701 else
9705 ac_ext=cc
9706 ac_cpp='$CXXCPP $CPPFLAGS'
9707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9711 cat >conftest.$ac_ext <<_ACEOF
9712 /* confdefs.h. */
9713 _ACEOF
9714 cat confdefs.h >>conftest.$ac_ext
9715 cat >>conftest.$ac_ext <<_ACEOF
9716 /* end confdefs.h. */
9717 #include <math.h>
9719 main ()
9721 _copysign(0, 0);
9723 return 0;
9725 _ACEOF
9726 rm -f conftest.$ac_objext
9727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9728 (eval $ac_compile) 2>conftest.er1
9729 ac_status=$?
9730 grep -v '^ *+' conftest.er1 >conftest.err
9731 rm -f conftest.er1
9732 cat conftest.err >&5
9733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9734 (exit $ac_status); } &&
9735 { ac_try='test -z "$ac_cxx_werror_flag"
9736 || test ! -s conftest.err'
9737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9738 (eval $ac_try) 2>&5
9739 ac_status=$?
9740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9741 (exit $ac_status); }; } &&
9742 { ac_try='test -s conftest.$ac_objext'
9743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9744 (eval $ac_try) 2>&5
9745 ac_status=$?
9746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9747 (exit $ac_status); }; }; then
9748 glibcxx_cv_func__copysign_use=yes
9749 else
9750 echo "$as_me: failed program was:" >&5
9751 sed 's/^/| /' conftest.$ac_ext >&5
9753 glibcxx_cv_func__copysign_use=no
9755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9756 ac_ext=c
9757 ac_cpp='$CPP $CPPFLAGS'
9758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9766 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9767 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9769 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9771 for ac_func in _copysign
9773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9774 echo "$as_me:$LINENO: checking for $ac_func" >&5
9775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9776 if eval "test \"\${$as_ac_var+set}\" = set"; then
9777 echo $ECHO_N "(cached) $ECHO_C" >&6
9778 else
9779 if test x$gcc_no_link = xyes; then
9780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9782 { (exit 1); exit 1; }; }
9784 cat >conftest.$ac_ext <<_ACEOF
9785 /* confdefs.h. */
9786 _ACEOF
9787 cat confdefs.h >>conftest.$ac_ext
9788 cat >>conftest.$ac_ext <<_ACEOF
9789 /* end confdefs.h. */
9790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9792 #define $ac_func innocuous_$ac_func
9794 /* System header to define __stub macros and hopefully few prototypes,
9795 which can conflict with char $ac_func (); below.
9796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9797 <limits.h> exists even on freestanding compilers. */
9799 #ifdef __STDC__
9800 # include <limits.h>
9801 #else
9802 # include <assert.h>
9803 #endif
9805 #undef $ac_func
9807 /* Override any gcc2 internal prototype to avoid an error. */
9808 #ifdef __cplusplus
9809 extern "C"
9811 #endif
9812 /* We use char because int might match the return type of a gcc2
9813 builtin and then its argument prototype would still apply. */
9814 char $ac_func ();
9815 /* The GNU C library defines this for functions which it implements
9816 to always fail with ENOSYS. Some functions are actually named
9817 something starting with __ and the normal name is an alias. */
9818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9819 choke me
9820 #else
9821 char (*f) () = $ac_func;
9822 #endif
9823 #ifdef __cplusplus
9825 #endif
9828 main ()
9830 return f != $ac_func;
9832 return 0;
9834 _ACEOF
9835 rm -f conftest.$ac_objext conftest$ac_exeext
9836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9837 (eval $ac_link) 2>conftest.er1
9838 ac_status=$?
9839 grep -v '^ *+' conftest.er1 >conftest.err
9840 rm -f conftest.er1
9841 cat conftest.err >&5
9842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9843 (exit $ac_status); } &&
9844 { ac_try='test -z "$ac_c_werror_flag"
9845 || test ! -s conftest.err'
9846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9847 (eval $ac_try) 2>&5
9848 ac_status=$?
9849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9850 (exit $ac_status); }; } &&
9851 { ac_try='test -s conftest$ac_exeext'
9852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9853 (eval $ac_try) 2>&5
9854 ac_status=$?
9855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9856 (exit $ac_status); }; }; then
9857 eval "$as_ac_var=yes"
9858 else
9859 echo "$as_me: failed program was:" >&5
9860 sed 's/^/| /' conftest.$ac_ext >&5
9862 eval "$as_ac_var=no"
9864 rm -f conftest.err conftest.$ac_objext \
9865 conftest$ac_exeext conftest.$ac_ext
9867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9869 if test `eval echo '${'$as_ac_var'}'` = yes; then
9870 cat >>confdefs.h <<_ACEOF
9871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9872 _ACEOF
9875 done
9885 echo "$as_me:$LINENO: checking for sincos declaration" >&5
9886 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9887 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9888 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9889 echo $ECHO_N "(cached) $ECHO_C" >&6
9890 else
9894 ac_ext=cc
9895 ac_cpp='$CXXCPP $CPPFLAGS'
9896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9900 cat >conftest.$ac_ext <<_ACEOF
9901 /* confdefs.h. */
9902 _ACEOF
9903 cat confdefs.h >>conftest.$ac_ext
9904 cat >>conftest.$ac_ext <<_ACEOF
9905 /* end confdefs.h. */
9906 #include <math.h>
9908 main ()
9910 sincos(0, 0, 0);
9912 return 0;
9914 _ACEOF
9915 rm -f conftest.$ac_objext
9916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9917 (eval $ac_compile) 2>conftest.er1
9918 ac_status=$?
9919 grep -v '^ *+' conftest.er1 >conftest.err
9920 rm -f conftest.er1
9921 cat conftest.err >&5
9922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9923 (exit $ac_status); } &&
9924 { ac_try='test -z "$ac_cxx_werror_flag"
9925 || test ! -s conftest.err'
9926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9927 (eval $ac_try) 2>&5
9928 ac_status=$?
9929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9930 (exit $ac_status); }; } &&
9931 { ac_try='test -s conftest.$ac_objext'
9932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9933 (eval $ac_try) 2>&5
9934 ac_status=$?
9935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9936 (exit $ac_status); }; }; then
9937 glibcxx_cv_func_sincos_use=yes
9938 else
9939 echo "$as_me: failed program was:" >&5
9940 sed 's/^/| /' conftest.$ac_ext >&5
9942 glibcxx_cv_func_sincos_use=no
9944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9945 ac_ext=c
9946 ac_cpp='$CPP $CPPFLAGS'
9947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9955 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9956 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9958 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9960 for ac_func in sincos
9962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9963 echo "$as_me:$LINENO: checking for $ac_func" >&5
9964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9965 if eval "test \"\${$as_ac_var+set}\" = set"; then
9966 echo $ECHO_N "(cached) $ECHO_C" >&6
9967 else
9968 if test x$gcc_no_link = xyes; then
9969 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9971 { (exit 1); exit 1; }; }
9973 cat >conftest.$ac_ext <<_ACEOF
9974 /* confdefs.h. */
9975 _ACEOF
9976 cat confdefs.h >>conftest.$ac_ext
9977 cat >>conftest.$ac_ext <<_ACEOF
9978 /* end confdefs.h. */
9979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9980 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9981 #define $ac_func innocuous_$ac_func
9983 /* System header to define __stub macros and hopefully few prototypes,
9984 which can conflict with char $ac_func (); below.
9985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9986 <limits.h> exists even on freestanding compilers. */
9988 #ifdef __STDC__
9989 # include <limits.h>
9990 #else
9991 # include <assert.h>
9992 #endif
9994 #undef $ac_func
9996 /* Override any gcc2 internal prototype to avoid an error. */
9997 #ifdef __cplusplus
9998 extern "C"
10000 #endif
10001 /* We use char because int might match the return type of a gcc2
10002 builtin and then its argument prototype would still apply. */
10003 char $ac_func ();
10004 /* The GNU C library defines this for functions which it implements
10005 to always fail with ENOSYS. Some functions are actually named
10006 something starting with __ and the normal name is an alias. */
10007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10008 choke me
10009 #else
10010 char (*f) () = $ac_func;
10011 #endif
10012 #ifdef __cplusplus
10014 #endif
10017 main ()
10019 return f != $ac_func;
10021 return 0;
10023 _ACEOF
10024 rm -f conftest.$ac_objext conftest$ac_exeext
10025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10026 (eval $ac_link) 2>conftest.er1
10027 ac_status=$?
10028 grep -v '^ *+' conftest.er1 >conftest.err
10029 rm -f conftest.er1
10030 cat conftest.err >&5
10031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10032 (exit $ac_status); } &&
10033 { ac_try='test -z "$ac_c_werror_flag"
10034 || test ! -s conftest.err'
10035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10036 (eval $ac_try) 2>&5
10037 ac_status=$?
10038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10039 (exit $ac_status); }; } &&
10040 { ac_try='test -s conftest$ac_exeext'
10041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10042 (eval $ac_try) 2>&5
10043 ac_status=$?
10044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10045 (exit $ac_status); }; }; then
10046 eval "$as_ac_var=yes"
10047 else
10048 echo "$as_me: failed program was:" >&5
10049 sed 's/^/| /' conftest.$ac_ext >&5
10051 eval "$as_ac_var=no"
10053 rm -f conftest.err conftest.$ac_objext \
10054 conftest$ac_exeext conftest.$ac_ext
10056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10058 if test `eval echo '${'$as_ac_var'}'` = yes; then
10059 cat >>confdefs.h <<_ACEOF
10060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10061 _ACEOF
10064 done
10066 else
10068 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10069 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10070 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10071 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10072 echo $ECHO_N "(cached) $ECHO_C" >&6
10073 else
10077 ac_ext=cc
10078 ac_cpp='$CXXCPP $CPPFLAGS'
10079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10083 cat >conftest.$ac_ext <<_ACEOF
10084 /* confdefs.h. */
10085 _ACEOF
10086 cat confdefs.h >>conftest.$ac_ext
10087 cat >>conftest.$ac_ext <<_ACEOF
10088 /* end confdefs.h. */
10089 #include <math.h>
10091 main ()
10093 _sincos(0, 0, 0);
10095 return 0;
10097 _ACEOF
10098 rm -f conftest.$ac_objext
10099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10100 (eval $ac_compile) 2>conftest.er1
10101 ac_status=$?
10102 grep -v '^ *+' conftest.er1 >conftest.err
10103 rm -f conftest.er1
10104 cat conftest.err >&5
10105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10106 (exit $ac_status); } &&
10107 { ac_try='test -z "$ac_cxx_werror_flag"
10108 || test ! -s conftest.err'
10109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10110 (eval $ac_try) 2>&5
10111 ac_status=$?
10112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10113 (exit $ac_status); }; } &&
10114 { ac_try='test -s conftest.$ac_objext'
10115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10116 (eval $ac_try) 2>&5
10117 ac_status=$?
10118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10119 (exit $ac_status); }; }; then
10120 glibcxx_cv_func__sincos_use=yes
10121 else
10122 echo "$as_me: failed program was:" >&5
10123 sed 's/^/| /' conftest.$ac_ext >&5
10125 glibcxx_cv_func__sincos_use=no
10127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10128 ac_ext=c
10129 ac_cpp='$CPP $CPPFLAGS'
10130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10138 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10139 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10141 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10143 for ac_func in _sincos
10145 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10146 echo "$as_me:$LINENO: checking for $ac_func" >&5
10147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10148 if eval "test \"\${$as_ac_var+set}\" = set"; then
10149 echo $ECHO_N "(cached) $ECHO_C" >&6
10150 else
10151 if test x$gcc_no_link = xyes; then
10152 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10154 { (exit 1); exit 1; }; }
10156 cat >conftest.$ac_ext <<_ACEOF
10157 /* confdefs.h. */
10158 _ACEOF
10159 cat confdefs.h >>conftest.$ac_ext
10160 cat >>conftest.$ac_ext <<_ACEOF
10161 /* end confdefs.h. */
10162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10164 #define $ac_func innocuous_$ac_func
10166 /* System header to define __stub macros and hopefully few prototypes,
10167 which can conflict with char $ac_func (); below.
10168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10169 <limits.h> exists even on freestanding compilers. */
10171 #ifdef __STDC__
10172 # include <limits.h>
10173 #else
10174 # include <assert.h>
10175 #endif
10177 #undef $ac_func
10179 /* Override any gcc2 internal prototype to avoid an error. */
10180 #ifdef __cplusplus
10181 extern "C"
10183 #endif
10184 /* We use char because int might match the return type of a gcc2
10185 builtin and then its argument prototype would still apply. */
10186 char $ac_func ();
10187 /* The GNU C library defines this for functions which it implements
10188 to always fail with ENOSYS. Some functions are actually named
10189 something starting with __ and the normal name is an alias. */
10190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10191 choke me
10192 #else
10193 char (*f) () = $ac_func;
10194 #endif
10195 #ifdef __cplusplus
10197 #endif
10200 main ()
10202 return f != $ac_func;
10204 return 0;
10206 _ACEOF
10207 rm -f conftest.$ac_objext conftest$ac_exeext
10208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10209 (eval $ac_link) 2>conftest.er1
10210 ac_status=$?
10211 grep -v '^ *+' conftest.er1 >conftest.err
10212 rm -f conftest.er1
10213 cat conftest.err >&5
10214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10215 (exit $ac_status); } &&
10216 { ac_try='test -z "$ac_c_werror_flag"
10217 || test ! -s conftest.err'
10218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10219 (eval $ac_try) 2>&5
10220 ac_status=$?
10221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10222 (exit $ac_status); }; } &&
10223 { ac_try='test -s conftest$ac_exeext'
10224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10225 (eval $ac_try) 2>&5
10226 ac_status=$?
10227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10228 (exit $ac_status); }; }; then
10229 eval "$as_ac_var=yes"
10230 else
10231 echo "$as_me: failed program was:" >&5
10232 sed 's/^/| /' conftest.$ac_ext >&5
10234 eval "$as_ac_var=no"
10236 rm -f conftest.err conftest.$ac_objext \
10237 conftest$ac_exeext conftest.$ac_ext
10239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10241 if test `eval echo '${'$as_ac_var'}'` = yes; then
10242 cat >>confdefs.h <<_ACEOF
10243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10244 _ACEOF
10247 done
10257 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10258 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10259 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10260 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10261 echo $ECHO_N "(cached) $ECHO_C" >&6
10262 else
10266 ac_ext=cc
10267 ac_cpp='$CXXCPP $CPPFLAGS'
10268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10272 cat >conftest.$ac_ext <<_ACEOF
10273 /* confdefs.h. */
10274 _ACEOF
10275 cat confdefs.h >>conftest.$ac_ext
10276 cat >>conftest.$ac_ext <<_ACEOF
10277 /* end confdefs.h. */
10278 #include <math.h>
10279 #ifdef HAVE_IEEEFP_H
10280 #include <ieeefp.h>
10281 #endif
10284 main ()
10286 fpclass(0);
10288 return 0;
10290 _ACEOF
10291 rm -f conftest.$ac_objext
10292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10293 (eval $ac_compile) 2>conftest.er1
10294 ac_status=$?
10295 grep -v '^ *+' conftest.er1 >conftest.err
10296 rm -f conftest.er1
10297 cat conftest.err >&5
10298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10299 (exit $ac_status); } &&
10300 { ac_try='test -z "$ac_cxx_werror_flag"
10301 || test ! -s conftest.err'
10302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10303 (eval $ac_try) 2>&5
10304 ac_status=$?
10305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10306 (exit $ac_status); }; } &&
10307 { ac_try='test -s conftest.$ac_objext'
10308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10309 (eval $ac_try) 2>&5
10310 ac_status=$?
10311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10312 (exit $ac_status); }; }; then
10313 glibcxx_cv_func_fpclass_use=yes
10314 else
10315 echo "$as_me: failed program was:" >&5
10316 sed 's/^/| /' conftest.$ac_ext >&5
10318 glibcxx_cv_func_fpclass_use=no
10320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10321 ac_ext=c
10322 ac_cpp='$CPP $CPPFLAGS'
10323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10331 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10332 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10334 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10336 for ac_func in fpclass
10338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10339 echo "$as_me:$LINENO: checking for $ac_func" >&5
10340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10341 if eval "test \"\${$as_ac_var+set}\" = set"; then
10342 echo $ECHO_N "(cached) $ECHO_C" >&6
10343 else
10344 if test x$gcc_no_link = xyes; then
10345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10347 { (exit 1); exit 1; }; }
10349 cat >conftest.$ac_ext <<_ACEOF
10350 /* confdefs.h. */
10351 _ACEOF
10352 cat confdefs.h >>conftest.$ac_ext
10353 cat >>conftest.$ac_ext <<_ACEOF
10354 /* end confdefs.h. */
10355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10357 #define $ac_func innocuous_$ac_func
10359 /* System header to define __stub macros and hopefully few prototypes,
10360 which can conflict with char $ac_func (); below.
10361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10362 <limits.h> exists even on freestanding compilers. */
10364 #ifdef __STDC__
10365 # include <limits.h>
10366 #else
10367 # include <assert.h>
10368 #endif
10370 #undef $ac_func
10372 /* Override any gcc2 internal prototype to avoid an error. */
10373 #ifdef __cplusplus
10374 extern "C"
10376 #endif
10377 /* We use char because int might match the return type of a gcc2
10378 builtin and then its argument prototype would still apply. */
10379 char $ac_func ();
10380 /* The GNU C library defines this for functions which it implements
10381 to always fail with ENOSYS. Some functions are actually named
10382 something starting with __ and the normal name is an alias. */
10383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10384 choke me
10385 #else
10386 char (*f) () = $ac_func;
10387 #endif
10388 #ifdef __cplusplus
10390 #endif
10393 main ()
10395 return f != $ac_func;
10397 return 0;
10399 _ACEOF
10400 rm -f conftest.$ac_objext conftest$ac_exeext
10401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10402 (eval $ac_link) 2>conftest.er1
10403 ac_status=$?
10404 grep -v '^ *+' conftest.er1 >conftest.err
10405 rm -f conftest.er1
10406 cat conftest.err >&5
10407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10408 (exit $ac_status); } &&
10409 { ac_try='test -z "$ac_c_werror_flag"
10410 || test ! -s conftest.err'
10411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10412 (eval $ac_try) 2>&5
10413 ac_status=$?
10414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10415 (exit $ac_status); }; } &&
10416 { ac_try='test -s conftest$ac_exeext'
10417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10418 (eval $ac_try) 2>&5
10419 ac_status=$?
10420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10421 (exit $ac_status); }; }; then
10422 eval "$as_ac_var=yes"
10423 else
10424 echo "$as_me: failed program was:" >&5
10425 sed 's/^/| /' conftest.$ac_ext >&5
10427 eval "$as_ac_var=no"
10429 rm -f conftest.err conftest.$ac_objext \
10430 conftest$ac_exeext conftest.$ac_ext
10432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10434 if test `eval echo '${'$as_ac_var'}'` = yes; then
10435 cat >>confdefs.h <<_ACEOF
10436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10437 _ACEOF
10440 done
10442 else
10444 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10445 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10446 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10447 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10448 echo $ECHO_N "(cached) $ECHO_C" >&6
10449 else
10453 ac_ext=cc
10454 ac_cpp='$CXXCPP $CPPFLAGS'
10455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10459 cat >conftest.$ac_ext <<_ACEOF
10460 /* confdefs.h. */
10461 _ACEOF
10462 cat confdefs.h >>conftest.$ac_ext
10463 cat >>conftest.$ac_ext <<_ACEOF
10464 /* end confdefs.h. */
10465 #include <math.h>
10466 #ifdef HAVE_IEEEFP_H
10467 #include <ieeefp.h>
10468 #endif
10471 main ()
10473 _fpclass(0);
10475 return 0;
10477 _ACEOF
10478 rm -f conftest.$ac_objext
10479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10480 (eval $ac_compile) 2>conftest.er1
10481 ac_status=$?
10482 grep -v '^ *+' conftest.er1 >conftest.err
10483 rm -f conftest.er1
10484 cat conftest.err >&5
10485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10486 (exit $ac_status); } &&
10487 { ac_try='test -z "$ac_cxx_werror_flag"
10488 || test ! -s conftest.err'
10489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10490 (eval $ac_try) 2>&5
10491 ac_status=$?
10492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10493 (exit $ac_status); }; } &&
10494 { ac_try='test -s conftest.$ac_objext'
10495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10496 (eval $ac_try) 2>&5
10497 ac_status=$?
10498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10499 (exit $ac_status); }; }; then
10500 glibcxx_cv_func__fpclass_use=yes
10501 else
10502 echo "$as_me: failed program was:" >&5
10503 sed 's/^/| /' conftest.$ac_ext >&5
10505 glibcxx_cv_func__fpclass_use=no
10507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10508 ac_ext=c
10509 ac_cpp='$CPP $CPPFLAGS'
10510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10518 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10519 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10521 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10523 for ac_func in _fpclass
10525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10526 echo "$as_me:$LINENO: checking for $ac_func" >&5
10527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10528 if eval "test \"\${$as_ac_var+set}\" = set"; then
10529 echo $ECHO_N "(cached) $ECHO_C" >&6
10530 else
10531 if test x$gcc_no_link = xyes; then
10532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10534 { (exit 1); exit 1; }; }
10536 cat >conftest.$ac_ext <<_ACEOF
10537 /* confdefs.h. */
10538 _ACEOF
10539 cat confdefs.h >>conftest.$ac_ext
10540 cat >>conftest.$ac_ext <<_ACEOF
10541 /* end confdefs.h. */
10542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10544 #define $ac_func innocuous_$ac_func
10546 /* System header to define __stub macros and hopefully few prototypes,
10547 which can conflict with char $ac_func (); below.
10548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10549 <limits.h> exists even on freestanding compilers. */
10551 #ifdef __STDC__
10552 # include <limits.h>
10553 #else
10554 # include <assert.h>
10555 #endif
10557 #undef $ac_func
10559 /* Override any gcc2 internal prototype to avoid an error. */
10560 #ifdef __cplusplus
10561 extern "C"
10563 #endif
10564 /* We use char because int might match the return type of a gcc2
10565 builtin and then its argument prototype would still apply. */
10566 char $ac_func ();
10567 /* The GNU C library defines this for functions which it implements
10568 to always fail with ENOSYS. Some functions are actually named
10569 something starting with __ and the normal name is an alias. */
10570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10571 choke me
10572 #else
10573 char (*f) () = $ac_func;
10574 #endif
10575 #ifdef __cplusplus
10577 #endif
10580 main ()
10582 return f != $ac_func;
10584 return 0;
10586 _ACEOF
10587 rm -f conftest.$ac_objext conftest$ac_exeext
10588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10589 (eval $ac_link) 2>conftest.er1
10590 ac_status=$?
10591 grep -v '^ *+' conftest.er1 >conftest.err
10592 rm -f conftest.er1
10593 cat conftest.err >&5
10594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10595 (exit $ac_status); } &&
10596 { ac_try='test -z "$ac_c_werror_flag"
10597 || test ! -s conftest.err'
10598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10599 (eval $ac_try) 2>&5
10600 ac_status=$?
10601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10602 (exit $ac_status); }; } &&
10603 { ac_try='test -s conftest$ac_exeext'
10604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10605 (eval $ac_try) 2>&5
10606 ac_status=$?
10607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10608 (exit $ac_status); }; }; then
10609 eval "$as_ac_var=yes"
10610 else
10611 echo "$as_me: failed program was:" >&5
10612 sed 's/^/| /' conftest.$ac_ext >&5
10614 eval "$as_ac_var=no"
10616 rm -f conftest.err conftest.$ac_objext \
10617 conftest$ac_exeext conftest.$ac_ext
10619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10621 if test `eval echo '${'$as_ac_var'}'` = yes; then
10622 cat >>confdefs.h <<_ACEOF
10623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10624 _ACEOF
10627 done
10637 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10638 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10639 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10640 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10641 echo $ECHO_N "(cached) $ECHO_C" >&6
10642 else
10646 ac_ext=cc
10647 ac_cpp='$CXXCPP $CPPFLAGS'
10648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10652 cat >conftest.$ac_ext <<_ACEOF
10653 /* confdefs.h. */
10654 _ACEOF
10655 cat confdefs.h >>conftest.$ac_ext
10656 cat >>conftest.$ac_ext <<_ACEOF
10657 /* end confdefs.h. */
10658 #include <math.h>
10659 #ifdef HAVE_IEEEFP_H
10660 #include <ieeefp.h>
10661 #endif
10664 main ()
10666 qfpclass(0);
10668 return 0;
10670 _ACEOF
10671 rm -f conftest.$ac_objext
10672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10673 (eval $ac_compile) 2>conftest.er1
10674 ac_status=$?
10675 grep -v '^ *+' conftest.er1 >conftest.err
10676 rm -f conftest.er1
10677 cat conftest.err >&5
10678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10679 (exit $ac_status); } &&
10680 { ac_try='test -z "$ac_cxx_werror_flag"
10681 || test ! -s conftest.err'
10682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10683 (eval $ac_try) 2>&5
10684 ac_status=$?
10685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10686 (exit $ac_status); }; } &&
10687 { ac_try='test -s conftest.$ac_objext'
10688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10689 (eval $ac_try) 2>&5
10690 ac_status=$?
10691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10692 (exit $ac_status); }; }; then
10693 glibcxx_cv_func_qfpclass_use=yes
10694 else
10695 echo "$as_me: failed program was:" >&5
10696 sed 's/^/| /' conftest.$ac_ext >&5
10698 glibcxx_cv_func_qfpclass_use=no
10700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10701 ac_ext=c
10702 ac_cpp='$CPP $CPPFLAGS'
10703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10711 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10712 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10714 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10716 for ac_func in qfpclass
10718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10719 echo "$as_me:$LINENO: checking for $ac_func" >&5
10720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10721 if eval "test \"\${$as_ac_var+set}\" = set"; then
10722 echo $ECHO_N "(cached) $ECHO_C" >&6
10723 else
10724 if test x$gcc_no_link = xyes; then
10725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10727 { (exit 1); exit 1; }; }
10729 cat >conftest.$ac_ext <<_ACEOF
10730 /* confdefs.h. */
10731 _ACEOF
10732 cat confdefs.h >>conftest.$ac_ext
10733 cat >>conftest.$ac_ext <<_ACEOF
10734 /* end confdefs.h. */
10735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10737 #define $ac_func innocuous_$ac_func
10739 /* System header to define __stub macros and hopefully few prototypes,
10740 which can conflict with char $ac_func (); below.
10741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10742 <limits.h> exists even on freestanding compilers. */
10744 #ifdef __STDC__
10745 # include <limits.h>
10746 #else
10747 # include <assert.h>
10748 #endif
10750 #undef $ac_func
10752 /* Override any gcc2 internal prototype to avoid an error. */
10753 #ifdef __cplusplus
10754 extern "C"
10756 #endif
10757 /* We use char because int might match the return type of a gcc2
10758 builtin and then its argument prototype would still apply. */
10759 char $ac_func ();
10760 /* The GNU C library defines this for functions which it implements
10761 to always fail with ENOSYS. Some functions are actually named
10762 something starting with __ and the normal name is an alias. */
10763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10764 choke me
10765 #else
10766 char (*f) () = $ac_func;
10767 #endif
10768 #ifdef __cplusplus
10770 #endif
10773 main ()
10775 return f != $ac_func;
10777 return 0;
10779 _ACEOF
10780 rm -f conftest.$ac_objext conftest$ac_exeext
10781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10782 (eval $ac_link) 2>conftest.er1
10783 ac_status=$?
10784 grep -v '^ *+' conftest.er1 >conftest.err
10785 rm -f conftest.er1
10786 cat conftest.err >&5
10787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10788 (exit $ac_status); } &&
10789 { ac_try='test -z "$ac_c_werror_flag"
10790 || test ! -s conftest.err'
10791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10792 (eval $ac_try) 2>&5
10793 ac_status=$?
10794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10795 (exit $ac_status); }; } &&
10796 { ac_try='test -s conftest$ac_exeext'
10797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10798 (eval $ac_try) 2>&5
10799 ac_status=$?
10800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10801 (exit $ac_status); }; }; then
10802 eval "$as_ac_var=yes"
10803 else
10804 echo "$as_me: failed program was:" >&5
10805 sed 's/^/| /' conftest.$ac_ext >&5
10807 eval "$as_ac_var=no"
10809 rm -f conftest.err conftest.$ac_objext \
10810 conftest$ac_exeext conftest.$ac_ext
10812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10814 if test `eval echo '${'$as_ac_var'}'` = yes; then
10815 cat >>confdefs.h <<_ACEOF
10816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10817 _ACEOF
10820 done
10822 else
10824 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
10825 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
10826 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
10827 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
10828 echo $ECHO_N "(cached) $ECHO_C" >&6
10829 else
10833 ac_ext=cc
10834 ac_cpp='$CXXCPP $CPPFLAGS'
10835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10839 cat >conftest.$ac_ext <<_ACEOF
10840 /* confdefs.h. */
10841 _ACEOF
10842 cat confdefs.h >>conftest.$ac_ext
10843 cat >>conftest.$ac_ext <<_ACEOF
10844 /* end confdefs.h. */
10845 #include <math.h>
10846 #ifdef HAVE_IEEEFP_H
10847 #include <ieeefp.h>
10848 #endif
10851 main ()
10853 _qfpclass(0);
10855 return 0;
10857 _ACEOF
10858 rm -f conftest.$ac_objext
10859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10860 (eval $ac_compile) 2>conftest.er1
10861 ac_status=$?
10862 grep -v '^ *+' conftest.er1 >conftest.err
10863 rm -f conftest.er1
10864 cat conftest.err >&5
10865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10866 (exit $ac_status); } &&
10867 { ac_try='test -z "$ac_cxx_werror_flag"
10868 || test ! -s conftest.err'
10869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10870 (eval $ac_try) 2>&5
10871 ac_status=$?
10872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10873 (exit $ac_status); }; } &&
10874 { ac_try='test -s conftest.$ac_objext'
10875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10876 (eval $ac_try) 2>&5
10877 ac_status=$?
10878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10879 (exit $ac_status); }; }; then
10880 glibcxx_cv_func__qfpclass_use=yes
10881 else
10882 echo "$as_me: failed program was:" >&5
10883 sed 's/^/| /' conftest.$ac_ext >&5
10885 glibcxx_cv_func__qfpclass_use=no
10887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10888 ac_ext=c
10889 ac_cpp='$CPP $CPPFLAGS'
10890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10898 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10899 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10901 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10903 for ac_func in _qfpclass
10905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10906 echo "$as_me:$LINENO: checking for $ac_func" >&5
10907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10908 if eval "test \"\${$as_ac_var+set}\" = set"; then
10909 echo $ECHO_N "(cached) $ECHO_C" >&6
10910 else
10911 if test x$gcc_no_link = xyes; then
10912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10914 { (exit 1); exit 1; }; }
10916 cat >conftest.$ac_ext <<_ACEOF
10917 /* confdefs.h. */
10918 _ACEOF
10919 cat confdefs.h >>conftest.$ac_ext
10920 cat >>conftest.$ac_ext <<_ACEOF
10921 /* end confdefs.h. */
10922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10924 #define $ac_func innocuous_$ac_func
10926 /* System header to define __stub macros and hopefully few prototypes,
10927 which can conflict with char $ac_func (); below.
10928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10929 <limits.h> exists even on freestanding compilers. */
10931 #ifdef __STDC__
10932 # include <limits.h>
10933 #else
10934 # include <assert.h>
10935 #endif
10937 #undef $ac_func
10939 /* Override any gcc2 internal prototype to avoid an error. */
10940 #ifdef __cplusplus
10941 extern "C"
10943 #endif
10944 /* We use char because int might match the return type of a gcc2
10945 builtin and then its argument prototype would still apply. */
10946 char $ac_func ();
10947 /* The GNU C library defines this for functions which it implements
10948 to always fail with ENOSYS. Some functions are actually named
10949 something starting with __ and the normal name is an alias. */
10950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10951 choke me
10952 #else
10953 char (*f) () = $ac_func;
10954 #endif
10955 #ifdef __cplusplus
10957 #endif
10960 main ()
10962 return f != $ac_func;
10964 return 0;
10966 _ACEOF
10967 rm -f conftest.$ac_objext conftest$ac_exeext
10968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10969 (eval $ac_link) 2>conftest.er1
10970 ac_status=$?
10971 grep -v '^ *+' conftest.er1 >conftest.err
10972 rm -f conftest.er1
10973 cat conftest.err >&5
10974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10975 (exit $ac_status); } &&
10976 { ac_try='test -z "$ac_c_werror_flag"
10977 || test ! -s conftest.err'
10978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10979 (eval $ac_try) 2>&5
10980 ac_status=$?
10981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10982 (exit $ac_status); }; } &&
10983 { ac_try='test -s conftest$ac_exeext'
10984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10985 (eval $ac_try) 2>&5
10986 ac_status=$?
10987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10988 (exit $ac_status); }; }; then
10989 eval "$as_ac_var=yes"
10990 else
10991 echo "$as_me: failed program was:" >&5
10992 sed 's/^/| /' conftest.$ac_ext >&5
10994 eval "$as_ac_var=no"
10996 rm -f conftest.err conftest.$ac_objext \
10997 conftest$ac_exeext conftest.$ac_ext
10999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11001 if test `eval echo '${'$as_ac_var'}'` = yes; then
11002 cat >>confdefs.h <<_ACEOF
11003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11004 _ACEOF
11007 done
11017 echo "$as_me:$LINENO: checking for hypot declaration" >&5
11018 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
11019 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
11020 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
11021 echo $ECHO_N "(cached) $ECHO_C" >&6
11022 else
11026 ac_ext=cc
11027 ac_cpp='$CXXCPP $CPPFLAGS'
11028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11032 cat >conftest.$ac_ext <<_ACEOF
11033 /* confdefs.h. */
11034 _ACEOF
11035 cat confdefs.h >>conftest.$ac_ext
11036 cat >>conftest.$ac_ext <<_ACEOF
11037 /* end confdefs.h. */
11038 #include <math.h>
11040 main ()
11042 hypot(0, 0);
11044 return 0;
11046 _ACEOF
11047 rm -f conftest.$ac_objext
11048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11049 (eval $ac_compile) 2>conftest.er1
11050 ac_status=$?
11051 grep -v '^ *+' conftest.er1 >conftest.err
11052 rm -f conftest.er1
11053 cat conftest.err >&5
11054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11055 (exit $ac_status); } &&
11056 { ac_try='test -z "$ac_cxx_werror_flag"
11057 || test ! -s conftest.err'
11058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11059 (eval $ac_try) 2>&5
11060 ac_status=$?
11061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11062 (exit $ac_status); }; } &&
11063 { ac_try='test -s conftest.$ac_objext'
11064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11065 (eval $ac_try) 2>&5
11066 ac_status=$?
11067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11068 (exit $ac_status); }; }; then
11069 glibcxx_cv_func_hypot_use=yes
11070 else
11071 echo "$as_me: failed program was:" >&5
11072 sed 's/^/| /' conftest.$ac_ext >&5
11074 glibcxx_cv_func_hypot_use=no
11076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11077 ac_ext=c
11078 ac_cpp='$CPP $CPPFLAGS'
11079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11087 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11088 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11090 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11092 for ac_func in hypot
11094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11095 echo "$as_me:$LINENO: checking for $ac_func" >&5
11096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11097 if eval "test \"\${$as_ac_var+set}\" = set"; then
11098 echo $ECHO_N "(cached) $ECHO_C" >&6
11099 else
11100 if test x$gcc_no_link = xyes; then
11101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11103 { (exit 1); exit 1; }; }
11105 cat >conftest.$ac_ext <<_ACEOF
11106 /* confdefs.h. */
11107 _ACEOF
11108 cat confdefs.h >>conftest.$ac_ext
11109 cat >>conftest.$ac_ext <<_ACEOF
11110 /* end confdefs.h. */
11111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11113 #define $ac_func innocuous_$ac_func
11115 /* System header to define __stub macros and hopefully few prototypes,
11116 which can conflict with char $ac_func (); below.
11117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11118 <limits.h> exists even on freestanding compilers. */
11120 #ifdef __STDC__
11121 # include <limits.h>
11122 #else
11123 # include <assert.h>
11124 #endif
11126 #undef $ac_func
11128 /* Override any gcc2 internal prototype to avoid an error. */
11129 #ifdef __cplusplus
11130 extern "C"
11132 #endif
11133 /* We use char because int might match the return type of a gcc2
11134 builtin and then its argument prototype would still apply. */
11135 char $ac_func ();
11136 /* The GNU C library defines this for functions which it implements
11137 to always fail with ENOSYS. Some functions are actually named
11138 something starting with __ and the normal name is an alias. */
11139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11140 choke me
11141 #else
11142 char (*f) () = $ac_func;
11143 #endif
11144 #ifdef __cplusplus
11146 #endif
11149 main ()
11151 return f != $ac_func;
11153 return 0;
11155 _ACEOF
11156 rm -f conftest.$ac_objext conftest$ac_exeext
11157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11158 (eval $ac_link) 2>conftest.er1
11159 ac_status=$?
11160 grep -v '^ *+' conftest.er1 >conftest.err
11161 rm -f conftest.er1
11162 cat conftest.err >&5
11163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11164 (exit $ac_status); } &&
11165 { ac_try='test -z "$ac_c_werror_flag"
11166 || test ! -s conftest.err'
11167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11168 (eval $ac_try) 2>&5
11169 ac_status=$?
11170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11171 (exit $ac_status); }; } &&
11172 { ac_try='test -s conftest$ac_exeext'
11173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11174 (eval $ac_try) 2>&5
11175 ac_status=$?
11176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11177 (exit $ac_status); }; }; then
11178 eval "$as_ac_var=yes"
11179 else
11180 echo "$as_me: failed program was:" >&5
11181 sed 's/^/| /' conftest.$ac_ext >&5
11183 eval "$as_ac_var=no"
11185 rm -f conftest.err conftest.$ac_objext \
11186 conftest$ac_exeext conftest.$ac_ext
11188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11190 if test `eval echo '${'$as_ac_var'}'` = yes; then
11191 cat >>confdefs.h <<_ACEOF
11192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11193 _ACEOF
11196 done
11198 else
11200 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11201 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11202 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11203 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11204 echo $ECHO_N "(cached) $ECHO_C" >&6
11205 else
11209 ac_ext=cc
11210 ac_cpp='$CXXCPP $CPPFLAGS'
11211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11215 cat >conftest.$ac_ext <<_ACEOF
11216 /* confdefs.h. */
11217 _ACEOF
11218 cat confdefs.h >>conftest.$ac_ext
11219 cat >>conftest.$ac_ext <<_ACEOF
11220 /* end confdefs.h. */
11221 #include <math.h>
11223 main ()
11225 _hypot(0, 0);
11227 return 0;
11229 _ACEOF
11230 rm -f conftest.$ac_objext
11231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11232 (eval $ac_compile) 2>conftest.er1
11233 ac_status=$?
11234 grep -v '^ *+' conftest.er1 >conftest.err
11235 rm -f conftest.er1
11236 cat conftest.err >&5
11237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11238 (exit $ac_status); } &&
11239 { ac_try='test -z "$ac_cxx_werror_flag"
11240 || test ! -s conftest.err'
11241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11242 (eval $ac_try) 2>&5
11243 ac_status=$?
11244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11245 (exit $ac_status); }; } &&
11246 { ac_try='test -s conftest.$ac_objext'
11247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11248 (eval $ac_try) 2>&5
11249 ac_status=$?
11250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11251 (exit $ac_status); }; }; then
11252 glibcxx_cv_func__hypot_use=yes
11253 else
11254 echo "$as_me: failed program was:" >&5
11255 sed 's/^/| /' conftest.$ac_ext >&5
11257 glibcxx_cv_func__hypot_use=no
11259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11260 ac_ext=c
11261 ac_cpp='$CPP $CPPFLAGS'
11262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11270 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11271 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11273 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11275 for ac_func in _hypot
11277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11278 echo "$as_me:$LINENO: checking for $ac_func" >&5
11279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11280 if eval "test \"\${$as_ac_var+set}\" = set"; then
11281 echo $ECHO_N "(cached) $ECHO_C" >&6
11282 else
11283 if test x$gcc_no_link = xyes; then
11284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11286 { (exit 1); exit 1; }; }
11288 cat >conftest.$ac_ext <<_ACEOF
11289 /* confdefs.h. */
11290 _ACEOF
11291 cat confdefs.h >>conftest.$ac_ext
11292 cat >>conftest.$ac_ext <<_ACEOF
11293 /* end confdefs.h. */
11294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11296 #define $ac_func innocuous_$ac_func
11298 /* System header to define __stub macros and hopefully few prototypes,
11299 which can conflict with char $ac_func (); below.
11300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11301 <limits.h> exists even on freestanding compilers. */
11303 #ifdef __STDC__
11304 # include <limits.h>
11305 #else
11306 # include <assert.h>
11307 #endif
11309 #undef $ac_func
11311 /* Override any gcc2 internal prototype to avoid an error. */
11312 #ifdef __cplusplus
11313 extern "C"
11315 #endif
11316 /* We use char because int might match the return type of a gcc2
11317 builtin and then its argument prototype would still apply. */
11318 char $ac_func ();
11319 /* The GNU C library defines this for functions which it implements
11320 to always fail with ENOSYS. Some functions are actually named
11321 something starting with __ and the normal name is an alias. */
11322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11323 choke me
11324 #else
11325 char (*f) () = $ac_func;
11326 #endif
11327 #ifdef __cplusplus
11329 #endif
11332 main ()
11334 return f != $ac_func;
11336 return 0;
11338 _ACEOF
11339 rm -f conftest.$ac_objext conftest$ac_exeext
11340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11341 (eval $ac_link) 2>conftest.er1
11342 ac_status=$?
11343 grep -v '^ *+' conftest.er1 >conftest.err
11344 rm -f conftest.er1
11345 cat conftest.err >&5
11346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11347 (exit $ac_status); } &&
11348 { ac_try='test -z "$ac_c_werror_flag"
11349 || test ! -s conftest.err'
11350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11351 (eval $ac_try) 2>&5
11352 ac_status=$?
11353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11354 (exit $ac_status); }; } &&
11355 { ac_try='test -s conftest$ac_exeext'
11356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11357 (eval $ac_try) 2>&5
11358 ac_status=$?
11359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11360 (exit $ac_status); }; }; then
11361 eval "$as_ac_var=yes"
11362 else
11363 echo "$as_me: failed program was:" >&5
11364 sed 's/^/| /' conftest.$ac_ext >&5
11366 eval "$as_ac_var=no"
11368 rm -f conftest.err conftest.$ac_objext \
11369 conftest$ac_exeext conftest.$ac_ext
11371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11373 if test `eval echo '${'$as_ac_var'}'` = yes; then
11374 cat >>confdefs.h <<_ACEOF
11375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11376 _ACEOF
11379 done
11389 echo "$as_me:$LINENO: checking for float trig functions" >&5
11390 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11391 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11392 echo $ECHO_N "(cached) $ECHO_C" >&6
11393 else
11397 ac_ext=cc
11398 ac_cpp='$CXXCPP $CPPFLAGS'
11399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11403 cat >conftest.$ac_ext <<_ACEOF
11404 /* confdefs.h. */
11405 _ACEOF
11406 cat confdefs.h >>conftest.$ac_ext
11407 cat >>conftest.$ac_ext <<_ACEOF
11408 /* end confdefs.h. */
11409 #include <math.h>
11411 main ()
11413 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
11415 return 0;
11417 _ACEOF
11418 rm -f conftest.$ac_objext
11419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11420 (eval $ac_compile) 2>conftest.er1
11421 ac_status=$?
11422 grep -v '^ *+' conftest.er1 >conftest.err
11423 rm -f conftest.er1
11424 cat conftest.err >&5
11425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11426 (exit $ac_status); } &&
11427 { ac_try='test -z "$ac_cxx_werror_flag"
11428 || test ! -s conftest.err'
11429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11430 (eval $ac_try) 2>&5
11431 ac_status=$?
11432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11433 (exit $ac_status); }; } &&
11434 { ac_try='test -s conftest.$ac_objext'
11435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11436 (eval $ac_try) 2>&5
11437 ac_status=$?
11438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11439 (exit $ac_status); }; }; then
11440 glibcxx_cv_func_float_trig_use=yes
11441 else
11442 echo "$as_me: failed program was:" >&5
11443 sed 's/^/| /' conftest.$ac_ext >&5
11445 glibcxx_cv_func_float_trig_use=no
11447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11448 ac_ext=c
11449 ac_cpp='$CPP $CPPFLAGS'
11450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11456 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11457 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11458 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11468 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
11470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11471 echo "$as_me:$LINENO: checking for $ac_func" >&5
11472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11473 if eval "test \"\${$as_ac_var+set}\" = set"; then
11474 echo $ECHO_N "(cached) $ECHO_C" >&6
11475 else
11476 if test x$gcc_no_link = xyes; then
11477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11479 { (exit 1); exit 1; }; }
11481 cat >conftest.$ac_ext <<_ACEOF
11482 /* confdefs.h. */
11483 _ACEOF
11484 cat confdefs.h >>conftest.$ac_ext
11485 cat >>conftest.$ac_ext <<_ACEOF
11486 /* end confdefs.h. */
11487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11489 #define $ac_func innocuous_$ac_func
11491 /* System header to define __stub macros and hopefully few prototypes,
11492 which can conflict with char $ac_func (); below.
11493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11494 <limits.h> exists even on freestanding compilers. */
11496 #ifdef __STDC__
11497 # include <limits.h>
11498 #else
11499 # include <assert.h>
11500 #endif
11502 #undef $ac_func
11504 /* Override any gcc2 internal prototype to avoid an error. */
11505 #ifdef __cplusplus
11506 extern "C"
11508 #endif
11509 /* We use char because int might match the return type of a gcc2
11510 builtin and then its argument prototype would still apply. */
11511 char $ac_func ();
11512 /* The GNU C library defines this for functions which it implements
11513 to always fail with ENOSYS. Some functions are actually named
11514 something starting with __ and the normal name is an alias. */
11515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11516 choke me
11517 #else
11518 char (*f) () = $ac_func;
11519 #endif
11520 #ifdef __cplusplus
11522 #endif
11525 main ()
11527 return f != $ac_func;
11529 return 0;
11531 _ACEOF
11532 rm -f conftest.$ac_objext conftest$ac_exeext
11533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11534 (eval $ac_link) 2>conftest.er1
11535 ac_status=$?
11536 grep -v '^ *+' conftest.er1 >conftest.err
11537 rm -f conftest.er1
11538 cat conftest.err >&5
11539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11540 (exit $ac_status); } &&
11541 { ac_try='test -z "$ac_c_werror_flag"
11542 || test ! -s conftest.err'
11543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11544 (eval $ac_try) 2>&5
11545 ac_status=$?
11546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11547 (exit $ac_status); }; } &&
11548 { ac_try='test -s conftest$ac_exeext'
11549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11550 (eval $ac_try) 2>&5
11551 ac_status=$?
11552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11553 (exit $ac_status); }; }; then
11554 eval "$as_ac_var=yes"
11555 else
11556 echo "$as_me: failed program was:" >&5
11557 sed 's/^/| /' conftest.$ac_ext >&5
11559 eval "$as_ac_var=no"
11561 rm -f conftest.err conftest.$ac_objext \
11562 conftest$ac_exeext conftest.$ac_ext
11564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11566 if test `eval echo '${'$as_ac_var'}'` = yes; then
11567 cat >>confdefs.h <<_ACEOF
11568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11569 _ACEOF
11572 done
11574 else
11575 echo "$as_me:$LINENO: checking for _float trig functions" >&5
11576 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
11577 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
11578 echo $ECHO_N "(cached) $ECHO_C" >&6
11579 else
11583 ac_ext=cc
11584 ac_cpp='$CXXCPP $CPPFLAGS'
11585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11589 cat >conftest.$ac_ext <<_ACEOF
11590 /* confdefs.h. */
11591 _ACEOF
11592 cat confdefs.h >>conftest.$ac_ext
11593 cat >>conftest.$ac_ext <<_ACEOF
11594 /* end confdefs.h. */
11595 #include <math.h>
11597 main ()
11599 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
11601 return 0;
11603 _ACEOF
11604 rm -f conftest.$ac_objext
11605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11606 (eval $ac_compile) 2>conftest.er1
11607 ac_status=$?
11608 grep -v '^ *+' conftest.er1 >conftest.err
11609 rm -f conftest.er1
11610 cat conftest.err >&5
11611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11612 (exit $ac_status); } &&
11613 { ac_try='test -z "$ac_cxx_werror_flag"
11614 || test ! -s conftest.err'
11615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11616 (eval $ac_try) 2>&5
11617 ac_status=$?
11618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11619 (exit $ac_status); }; } &&
11620 { ac_try='test -s conftest.$ac_objext'
11621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11622 (eval $ac_try) 2>&5
11623 ac_status=$?
11624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11625 (exit $ac_status); }; }; then
11626 glibcxx_cv_func__float_trig_use=yes
11627 else
11628 echo "$as_me: failed program was:" >&5
11629 sed 's/^/| /' conftest.$ac_ext >&5
11631 glibcxx_cv_func__float_trig_use=no
11633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11634 ac_ext=c
11635 ac_cpp='$CPP $CPPFLAGS'
11636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11642 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
11643 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
11644 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
11654 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
11656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11657 echo "$as_me:$LINENO: checking for $ac_func" >&5
11658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11659 if eval "test \"\${$as_ac_var+set}\" = set"; then
11660 echo $ECHO_N "(cached) $ECHO_C" >&6
11661 else
11662 if test x$gcc_no_link = xyes; then
11663 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11665 { (exit 1); exit 1; }; }
11667 cat >conftest.$ac_ext <<_ACEOF
11668 /* confdefs.h. */
11669 _ACEOF
11670 cat confdefs.h >>conftest.$ac_ext
11671 cat >>conftest.$ac_ext <<_ACEOF
11672 /* end confdefs.h. */
11673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11675 #define $ac_func innocuous_$ac_func
11677 /* System header to define __stub macros and hopefully few prototypes,
11678 which can conflict with char $ac_func (); below.
11679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11680 <limits.h> exists even on freestanding compilers. */
11682 #ifdef __STDC__
11683 # include <limits.h>
11684 #else
11685 # include <assert.h>
11686 #endif
11688 #undef $ac_func
11690 /* Override any gcc2 internal prototype to avoid an error. */
11691 #ifdef __cplusplus
11692 extern "C"
11694 #endif
11695 /* We use char because int might match the return type of a gcc2
11696 builtin and then its argument prototype would still apply. */
11697 char $ac_func ();
11698 /* The GNU C library defines this for functions which it implements
11699 to always fail with ENOSYS. Some functions are actually named
11700 something starting with __ and the normal name is an alias. */
11701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11702 choke me
11703 #else
11704 char (*f) () = $ac_func;
11705 #endif
11706 #ifdef __cplusplus
11708 #endif
11711 main ()
11713 return f != $ac_func;
11715 return 0;
11717 _ACEOF
11718 rm -f conftest.$ac_objext conftest$ac_exeext
11719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11720 (eval $ac_link) 2>conftest.er1
11721 ac_status=$?
11722 grep -v '^ *+' conftest.er1 >conftest.err
11723 rm -f conftest.er1
11724 cat conftest.err >&5
11725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11726 (exit $ac_status); } &&
11727 { ac_try='test -z "$ac_c_werror_flag"
11728 || test ! -s conftest.err'
11729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11730 (eval $ac_try) 2>&5
11731 ac_status=$?
11732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11733 (exit $ac_status); }; } &&
11734 { ac_try='test -s conftest$ac_exeext'
11735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11736 (eval $ac_try) 2>&5
11737 ac_status=$?
11738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11739 (exit $ac_status); }; }; then
11740 eval "$as_ac_var=yes"
11741 else
11742 echo "$as_me: failed program was:" >&5
11743 sed 's/^/| /' conftest.$ac_ext >&5
11745 eval "$as_ac_var=no"
11747 rm -f conftest.err conftest.$ac_objext \
11748 conftest$ac_exeext conftest.$ac_ext
11750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11752 if test `eval echo '${'$as_ac_var'}'` = yes; then
11753 cat >>confdefs.h <<_ACEOF
11754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11755 _ACEOF
11758 done
11776 echo "$as_me:$LINENO: checking for float round functions" >&5
11777 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11778 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11779 echo $ECHO_N "(cached) $ECHO_C" >&6
11780 else
11784 ac_ext=cc
11785 ac_cpp='$CXXCPP $CPPFLAGS'
11786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11790 cat >conftest.$ac_ext <<_ACEOF
11791 /* confdefs.h. */
11792 _ACEOF
11793 cat confdefs.h >>conftest.$ac_ext
11794 cat >>conftest.$ac_ext <<_ACEOF
11795 /* end confdefs.h. */
11796 #include <math.h>
11798 main ()
11800 ceilf (0); floorf (0);
11802 return 0;
11804 _ACEOF
11805 rm -f conftest.$ac_objext
11806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11807 (eval $ac_compile) 2>conftest.er1
11808 ac_status=$?
11809 grep -v '^ *+' conftest.er1 >conftest.err
11810 rm -f conftest.er1
11811 cat conftest.err >&5
11812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11813 (exit $ac_status); } &&
11814 { ac_try='test -z "$ac_cxx_werror_flag"
11815 || test ! -s conftest.err'
11816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11817 (eval $ac_try) 2>&5
11818 ac_status=$?
11819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11820 (exit $ac_status); }; } &&
11821 { ac_try='test -s conftest.$ac_objext'
11822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11823 (eval $ac_try) 2>&5
11824 ac_status=$?
11825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11826 (exit $ac_status); }; }; then
11827 glibcxx_cv_func_float_round_use=yes
11828 else
11829 echo "$as_me: failed program was:" >&5
11830 sed 's/^/| /' conftest.$ac_ext >&5
11832 glibcxx_cv_func_float_round_use=no
11834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11835 ac_ext=c
11836 ac_cpp='$CPP $CPPFLAGS'
11837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11843 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
11844 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
11845 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
11848 for ac_func in ceilf floorf
11850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11851 echo "$as_me:$LINENO: checking for $ac_func" >&5
11852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11853 if eval "test \"\${$as_ac_var+set}\" = set"; then
11854 echo $ECHO_N "(cached) $ECHO_C" >&6
11855 else
11856 if test x$gcc_no_link = xyes; then
11857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11859 { (exit 1); exit 1; }; }
11861 cat >conftest.$ac_ext <<_ACEOF
11862 /* confdefs.h. */
11863 _ACEOF
11864 cat confdefs.h >>conftest.$ac_ext
11865 cat >>conftest.$ac_ext <<_ACEOF
11866 /* end confdefs.h. */
11867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11869 #define $ac_func innocuous_$ac_func
11871 /* System header to define __stub macros and hopefully few prototypes,
11872 which can conflict with char $ac_func (); below.
11873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11874 <limits.h> exists even on freestanding compilers. */
11876 #ifdef __STDC__
11877 # include <limits.h>
11878 #else
11879 # include <assert.h>
11880 #endif
11882 #undef $ac_func
11884 /* Override any gcc2 internal prototype to avoid an error. */
11885 #ifdef __cplusplus
11886 extern "C"
11888 #endif
11889 /* We use char because int might match the return type of a gcc2
11890 builtin and then its argument prototype would still apply. */
11891 char $ac_func ();
11892 /* The GNU C library defines this for functions which it implements
11893 to always fail with ENOSYS. Some functions are actually named
11894 something starting with __ and the normal name is an alias. */
11895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11896 choke me
11897 #else
11898 char (*f) () = $ac_func;
11899 #endif
11900 #ifdef __cplusplus
11902 #endif
11905 main ()
11907 return f != $ac_func;
11909 return 0;
11911 _ACEOF
11912 rm -f conftest.$ac_objext conftest$ac_exeext
11913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11914 (eval $ac_link) 2>conftest.er1
11915 ac_status=$?
11916 grep -v '^ *+' conftest.er1 >conftest.err
11917 rm -f conftest.er1
11918 cat conftest.err >&5
11919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11920 (exit $ac_status); } &&
11921 { ac_try='test -z "$ac_c_werror_flag"
11922 || test ! -s conftest.err'
11923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11924 (eval $ac_try) 2>&5
11925 ac_status=$?
11926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11927 (exit $ac_status); }; } &&
11928 { ac_try='test -s conftest$ac_exeext'
11929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11930 (eval $ac_try) 2>&5
11931 ac_status=$?
11932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11933 (exit $ac_status); }; }; then
11934 eval "$as_ac_var=yes"
11935 else
11936 echo "$as_me: failed program was:" >&5
11937 sed 's/^/| /' conftest.$ac_ext >&5
11939 eval "$as_ac_var=no"
11941 rm -f conftest.err conftest.$ac_objext \
11942 conftest$ac_exeext conftest.$ac_ext
11944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11946 if test `eval echo '${'$as_ac_var'}'` = yes; then
11947 cat >>confdefs.h <<_ACEOF
11948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11949 _ACEOF
11952 done
11954 else
11955 echo "$as_me:$LINENO: checking for _float round functions" >&5
11956 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
11957 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
11958 echo $ECHO_N "(cached) $ECHO_C" >&6
11959 else
11963 ac_ext=cc
11964 ac_cpp='$CXXCPP $CPPFLAGS'
11965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11969 cat >conftest.$ac_ext <<_ACEOF
11970 /* confdefs.h. */
11971 _ACEOF
11972 cat confdefs.h >>conftest.$ac_ext
11973 cat >>conftest.$ac_ext <<_ACEOF
11974 /* end confdefs.h. */
11975 #include <math.h>
11977 main ()
11979 _ceilf (0); _floorf (0);
11981 return 0;
11983 _ACEOF
11984 rm -f conftest.$ac_objext
11985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11986 (eval $ac_compile) 2>conftest.er1
11987 ac_status=$?
11988 grep -v '^ *+' conftest.er1 >conftest.err
11989 rm -f conftest.er1
11990 cat conftest.err >&5
11991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11992 (exit $ac_status); } &&
11993 { ac_try='test -z "$ac_cxx_werror_flag"
11994 || test ! -s conftest.err'
11995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11996 (eval $ac_try) 2>&5
11997 ac_status=$?
11998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11999 (exit $ac_status); }; } &&
12000 { ac_try='test -s conftest.$ac_objext'
12001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12002 (eval $ac_try) 2>&5
12003 ac_status=$?
12004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12005 (exit $ac_status); }; }; then
12006 glibcxx_cv_func__float_round_use=yes
12007 else
12008 echo "$as_me: failed program was:" >&5
12009 sed 's/^/| /' conftest.$ac_ext >&5
12011 glibcxx_cv_func__float_round_use=no
12013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12014 ac_ext=c
12015 ac_cpp='$CPP $CPPFLAGS'
12016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12022 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
12023 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
12024 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
12027 for ac_func in _ceilf _floorf
12029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12030 echo "$as_me:$LINENO: checking for $ac_func" >&5
12031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12032 if eval "test \"\${$as_ac_var+set}\" = set"; then
12033 echo $ECHO_N "(cached) $ECHO_C" >&6
12034 else
12035 if test x$gcc_no_link = xyes; then
12036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12038 { (exit 1); exit 1; }; }
12040 cat >conftest.$ac_ext <<_ACEOF
12041 /* confdefs.h. */
12042 _ACEOF
12043 cat confdefs.h >>conftest.$ac_ext
12044 cat >>conftest.$ac_ext <<_ACEOF
12045 /* end confdefs.h. */
12046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12048 #define $ac_func innocuous_$ac_func
12050 /* System header to define __stub macros and hopefully few prototypes,
12051 which can conflict with char $ac_func (); below.
12052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12053 <limits.h> exists even on freestanding compilers. */
12055 #ifdef __STDC__
12056 # include <limits.h>
12057 #else
12058 # include <assert.h>
12059 #endif
12061 #undef $ac_func
12063 /* Override any gcc2 internal prototype to avoid an error. */
12064 #ifdef __cplusplus
12065 extern "C"
12067 #endif
12068 /* We use char because int might match the return type of a gcc2
12069 builtin and then its argument prototype would still apply. */
12070 char $ac_func ();
12071 /* The GNU C library defines this for functions which it implements
12072 to always fail with ENOSYS. Some functions are actually named
12073 something starting with __ and the normal name is an alias. */
12074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12075 choke me
12076 #else
12077 char (*f) () = $ac_func;
12078 #endif
12079 #ifdef __cplusplus
12081 #endif
12084 main ()
12086 return f != $ac_func;
12088 return 0;
12090 _ACEOF
12091 rm -f conftest.$ac_objext conftest$ac_exeext
12092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12093 (eval $ac_link) 2>conftest.er1
12094 ac_status=$?
12095 grep -v '^ *+' conftest.er1 >conftest.err
12096 rm -f conftest.er1
12097 cat conftest.err >&5
12098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12099 (exit $ac_status); } &&
12100 { ac_try='test -z "$ac_c_werror_flag"
12101 || test ! -s conftest.err'
12102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12103 (eval $ac_try) 2>&5
12104 ac_status=$?
12105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12106 (exit $ac_status); }; } &&
12107 { ac_try='test -s conftest$ac_exeext'
12108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12109 (eval $ac_try) 2>&5
12110 ac_status=$?
12111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12112 (exit $ac_status); }; }; then
12113 eval "$as_ac_var=yes"
12114 else
12115 echo "$as_me: failed program was:" >&5
12116 sed 's/^/| /' conftest.$ac_ext >&5
12118 eval "$as_ac_var=no"
12120 rm -f conftest.err conftest.$ac_objext \
12121 conftest$ac_exeext conftest.$ac_ext
12123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12125 if test `eval echo '${'$as_ac_var'}'` = yes; then
12126 cat >>confdefs.h <<_ACEOF
12127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12128 _ACEOF
12131 done
12143 echo "$as_me:$LINENO: checking for expf declaration" >&5
12144 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
12145 if test x${glibcxx_cv_func_expf_use+set} != xset; then
12146 if test "${glibcxx_cv_func_expf_use+set}" = set; then
12147 echo $ECHO_N "(cached) $ECHO_C" >&6
12148 else
12152 ac_ext=cc
12153 ac_cpp='$CXXCPP $CPPFLAGS'
12154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12158 cat >conftest.$ac_ext <<_ACEOF
12159 /* confdefs.h. */
12160 _ACEOF
12161 cat confdefs.h >>conftest.$ac_ext
12162 cat >>conftest.$ac_ext <<_ACEOF
12163 /* end confdefs.h. */
12164 #include <math.h>
12165 #ifdef HAVE_IEEEFP_H
12166 #include <ieeefp.h>
12167 #endif
12170 main ()
12172 expf(0);
12174 return 0;
12176 _ACEOF
12177 rm -f conftest.$ac_objext
12178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12179 (eval $ac_compile) 2>conftest.er1
12180 ac_status=$?
12181 grep -v '^ *+' conftest.er1 >conftest.err
12182 rm -f conftest.er1
12183 cat conftest.err >&5
12184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12185 (exit $ac_status); } &&
12186 { ac_try='test -z "$ac_cxx_werror_flag"
12187 || test ! -s conftest.err'
12188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12189 (eval $ac_try) 2>&5
12190 ac_status=$?
12191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12192 (exit $ac_status); }; } &&
12193 { ac_try='test -s conftest.$ac_objext'
12194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12195 (eval $ac_try) 2>&5
12196 ac_status=$?
12197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12198 (exit $ac_status); }; }; then
12199 glibcxx_cv_func_expf_use=yes
12200 else
12201 echo "$as_me: failed program was:" >&5
12202 sed 's/^/| /' conftest.$ac_ext >&5
12204 glibcxx_cv_func_expf_use=no
12206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12207 ac_ext=c
12208 ac_cpp='$CPP $CPPFLAGS'
12209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12217 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
12218 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
12220 if test x$glibcxx_cv_func_expf_use = x"yes"; then
12222 for ac_func in expf
12224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12225 echo "$as_me:$LINENO: checking for $ac_func" >&5
12226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12227 if eval "test \"\${$as_ac_var+set}\" = set"; then
12228 echo $ECHO_N "(cached) $ECHO_C" >&6
12229 else
12230 if test x$gcc_no_link = xyes; then
12231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12233 { (exit 1); exit 1; }; }
12235 cat >conftest.$ac_ext <<_ACEOF
12236 /* confdefs.h. */
12237 _ACEOF
12238 cat confdefs.h >>conftest.$ac_ext
12239 cat >>conftest.$ac_ext <<_ACEOF
12240 /* end confdefs.h. */
12241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12243 #define $ac_func innocuous_$ac_func
12245 /* System header to define __stub macros and hopefully few prototypes,
12246 which can conflict with char $ac_func (); below.
12247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12248 <limits.h> exists even on freestanding compilers. */
12250 #ifdef __STDC__
12251 # include <limits.h>
12252 #else
12253 # include <assert.h>
12254 #endif
12256 #undef $ac_func
12258 /* Override any gcc2 internal prototype to avoid an error. */
12259 #ifdef __cplusplus
12260 extern "C"
12262 #endif
12263 /* We use char because int might match the return type of a gcc2
12264 builtin and then its argument prototype would still apply. */
12265 char $ac_func ();
12266 /* The GNU C library defines this for functions which it implements
12267 to always fail with ENOSYS. Some functions are actually named
12268 something starting with __ and the normal name is an alias. */
12269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12270 choke me
12271 #else
12272 char (*f) () = $ac_func;
12273 #endif
12274 #ifdef __cplusplus
12276 #endif
12279 main ()
12281 return f != $ac_func;
12283 return 0;
12285 _ACEOF
12286 rm -f conftest.$ac_objext conftest$ac_exeext
12287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12288 (eval $ac_link) 2>conftest.er1
12289 ac_status=$?
12290 grep -v '^ *+' conftest.er1 >conftest.err
12291 rm -f conftest.er1
12292 cat conftest.err >&5
12293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12294 (exit $ac_status); } &&
12295 { ac_try='test -z "$ac_c_werror_flag"
12296 || test ! -s conftest.err'
12297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12298 (eval $ac_try) 2>&5
12299 ac_status=$?
12300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12301 (exit $ac_status); }; } &&
12302 { ac_try='test -s conftest$ac_exeext'
12303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12304 (eval $ac_try) 2>&5
12305 ac_status=$?
12306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12307 (exit $ac_status); }; }; then
12308 eval "$as_ac_var=yes"
12309 else
12310 echo "$as_me: failed program was:" >&5
12311 sed 's/^/| /' conftest.$ac_ext >&5
12313 eval "$as_ac_var=no"
12315 rm -f conftest.err conftest.$ac_objext \
12316 conftest$ac_exeext conftest.$ac_ext
12318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12320 if test `eval echo '${'$as_ac_var'}'` = yes; then
12321 cat >>confdefs.h <<_ACEOF
12322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12323 _ACEOF
12326 done
12328 else
12330 echo "$as_me:$LINENO: checking for _expf declaration" >&5
12331 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
12332 if test x${glibcxx_cv_func__expf_use+set} != xset; then
12333 if test "${glibcxx_cv_func__expf_use+set}" = set; then
12334 echo $ECHO_N "(cached) $ECHO_C" >&6
12335 else
12339 ac_ext=cc
12340 ac_cpp='$CXXCPP $CPPFLAGS'
12341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12345 cat >conftest.$ac_ext <<_ACEOF
12346 /* confdefs.h. */
12347 _ACEOF
12348 cat confdefs.h >>conftest.$ac_ext
12349 cat >>conftest.$ac_ext <<_ACEOF
12350 /* end confdefs.h. */
12351 #include <math.h>
12352 #ifdef HAVE_IEEEFP_H
12353 #include <ieeefp.h>
12354 #endif
12357 main ()
12359 _expf(0);
12361 return 0;
12363 _ACEOF
12364 rm -f conftest.$ac_objext
12365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12366 (eval $ac_compile) 2>conftest.er1
12367 ac_status=$?
12368 grep -v '^ *+' conftest.er1 >conftest.err
12369 rm -f conftest.er1
12370 cat conftest.err >&5
12371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12372 (exit $ac_status); } &&
12373 { ac_try='test -z "$ac_cxx_werror_flag"
12374 || test ! -s conftest.err'
12375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12376 (eval $ac_try) 2>&5
12377 ac_status=$?
12378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12379 (exit $ac_status); }; } &&
12380 { ac_try='test -s conftest.$ac_objext'
12381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12382 (eval $ac_try) 2>&5
12383 ac_status=$?
12384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12385 (exit $ac_status); }; }; then
12386 glibcxx_cv_func__expf_use=yes
12387 else
12388 echo "$as_me: failed program was:" >&5
12389 sed 's/^/| /' conftest.$ac_ext >&5
12391 glibcxx_cv_func__expf_use=no
12393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12394 ac_ext=c
12395 ac_cpp='$CPP $CPPFLAGS'
12396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12404 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
12405 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
12407 if test x$glibcxx_cv_func__expf_use = x"yes"; then
12409 for ac_func in _expf
12411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12412 echo "$as_me:$LINENO: checking for $ac_func" >&5
12413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12414 if eval "test \"\${$as_ac_var+set}\" = set"; then
12415 echo $ECHO_N "(cached) $ECHO_C" >&6
12416 else
12417 if test x$gcc_no_link = xyes; then
12418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12420 { (exit 1); exit 1; }; }
12422 cat >conftest.$ac_ext <<_ACEOF
12423 /* confdefs.h. */
12424 _ACEOF
12425 cat confdefs.h >>conftest.$ac_ext
12426 cat >>conftest.$ac_ext <<_ACEOF
12427 /* end confdefs.h. */
12428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12430 #define $ac_func innocuous_$ac_func
12432 /* System header to define __stub macros and hopefully few prototypes,
12433 which can conflict with char $ac_func (); below.
12434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12435 <limits.h> exists even on freestanding compilers. */
12437 #ifdef __STDC__
12438 # include <limits.h>
12439 #else
12440 # include <assert.h>
12441 #endif
12443 #undef $ac_func
12445 /* Override any gcc2 internal prototype to avoid an error. */
12446 #ifdef __cplusplus
12447 extern "C"
12449 #endif
12450 /* We use char because int might match the return type of a gcc2
12451 builtin and then its argument prototype would still apply. */
12452 char $ac_func ();
12453 /* The GNU C library defines this for functions which it implements
12454 to always fail with ENOSYS. Some functions are actually named
12455 something starting with __ and the normal name is an alias. */
12456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12457 choke me
12458 #else
12459 char (*f) () = $ac_func;
12460 #endif
12461 #ifdef __cplusplus
12463 #endif
12466 main ()
12468 return f != $ac_func;
12470 return 0;
12472 _ACEOF
12473 rm -f conftest.$ac_objext conftest$ac_exeext
12474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12475 (eval $ac_link) 2>conftest.er1
12476 ac_status=$?
12477 grep -v '^ *+' conftest.er1 >conftest.err
12478 rm -f conftest.er1
12479 cat conftest.err >&5
12480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12481 (exit $ac_status); } &&
12482 { ac_try='test -z "$ac_c_werror_flag"
12483 || test ! -s conftest.err'
12484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12485 (eval $ac_try) 2>&5
12486 ac_status=$?
12487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12488 (exit $ac_status); }; } &&
12489 { ac_try='test -s conftest$ac_exeext'
12490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12491 (eval $ac_try) 2>&5
12492 ac_status=$?
12493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12494 (exit $ac_status); }; }; then
12495 eval "$as_ac_var=yes"
12496 else
12497 echo "$as_me: failed program was:" >&5
12498 sed 's/^/| /' conftest.$ac_ext >&5
12500 eval "$as_ac_var=no"
12502 rm -f conftest.err conftest.$ac_objext \
12503 conftest$ac_exeext conftest.$ac_ext
12505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12507 if test `eval echo '${'$as_ac_var'}'` = yes; then
12508 cat >>confdefs.h <<_ACEOF
12509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12510 _ACEOF
12513 done
12523 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12524 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12525 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12526 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12527 echo $ECHO_N "(cached) $ECHO_C" >&6
12528 else
12532 ac_ext=cc
12533 ac_cpp='$CXXCPP $CPPFLAGS'
12534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12538 cat >conftest.$ac_ext <<_ACEOF
12539 /* confdefs.h. */
12540 _ACEOF
12541 cat confdefs.h >>conftest.$ac_ext
12542 cat >>conftest.$ac_ext <<_ACEOF
12543 /* end confdefs.h. */
12544 #include <math.h>
12545 #ifdef HAVE_IEEEFP_H
12546 #include <ieeefp.h>
12547 #endif
12550 main ()
12552 isnanf(0);
12554 return 0;
12556 _ACEOF
12557 rm -f conftest.$ac_objext
12558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12559 (eval $ac_compile) 2>conftest.er1
12560 ac_status=$?
12561 grep -v '^ *+' conftest.er1 >conftest.err
12562 rm -f conftest.er1
12563 cat conftest.err >&5
12564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12565 (exit $ac_status); } &&
12566 { ac_try='test -z "$ac_cxx_werror_flag"
12567 || test ! -s conftest.err'
12568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12569 (eval $ac_try) 2>&5
12570 ac_status=$?
12571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12572 (exit $ac_status); }; } &&
12573 { ac_try='test -s conftest.$ac_objext'
12574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12575 (eval $ac_try) 2>&5
12576 ac_status=$?
12577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12578 (exit $ac_status); }; }; then
12579 glibcxx_cv_func_isnanf_use=yes
12580 else
12581 echo "$as_me: failed program was:" >&5
12582 sed 's/^/| /' conftest.$ac_ext >&5
12584 glibcxx_cv_func_isnanf_use=no
12586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12587 ac_ext=c
12588 ac_cpp='$CPP $CPPFLAGS'
12589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12597 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12598 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12600 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12602 for ac_func in isnanf
12604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12605 echo "$as_me:$LINENO: checking for $ac_func" >&5
12606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12607 if eval "test \"\${$as_ac_var+set}\" = set"; then
12608 echo $ECHO_N "(cached) $ECHO_C" >&6
12609 else
12610 if test x$gcc_no_link = xyes; then
12611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12613 { (exit 1); exit 1; }; }
12615 cat >conftest.$ac_ext <<_ACEOF
12616 /* confdefs.h. */
12617 _ACEOF
12618 cat confdefs.h >>conftest.$ac_ext
12619 cat >>conftest.$ac_ext <<_ACEOF
12620 /* end confdefs.h. */
12621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12623 #define $ac_func innocuous_$ac_func
12625 /* System header to define __stub macros and hopefully few prototypes,
12626 which can conflict with char $ac_func (); below.
12627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12628 <limits.h> exists even on freestanding compilers. */
12630 #ifdef __STDC__
12631 # include <limits.h>
12632 #else
12633 # include <assert.h>
12634 #endif
12636 #undef $ac_func
12638 /* Override any gcc2 internal prototype to avoid an error. */
12639 #ifdef __cplusplus
12640 extern "C"
12642 #endif
12643 /* We use char because int might match the return type of a gcc2
12644 builtin and then its argument prototype would still apply. */
12645 char $ac_func ();
12646 /* The GNU C library defines this for functions which it implements
12647 to always fail with ENOSYS. Some functions are actually named
12648 something starting with __ and the normal name is an alias. */
12649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12650 choke me
12651 #else
12652 char (*f) () = $ac_func;
12653 #endif
12654 #ifdef __cplusplus
12656 #endif
12659 main ()
12661 return f != $ac_func;
12663 return 0;
12665 _ACEOF
12666 rm -f conftest.$ac_objext conftest$ac_exeext
12667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12668 (eval $ac_link) 2>conftest.er1
12669 ac_status=$?
12670 grep -v '^ *+' conftest.er1 >conftest.err
12671 rm -f conftest.er1
12672 cat conftest.err >&5
12673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12674 (exit $ac_status); } &&
12675 { ac_try='test -z "$ac_c_werror_flag"
12676 || test ! -s conftest.err'
12677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12678 (eval $ac_try) 2>&5
12679 ac_status=$?
12680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12681 (exit $ac_status); }; } &&
12682 { ac_try='test -s conftest$ac_exeext'
12683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12684 (eval $ac_try) 2>&5
12685 ac_status=$?
12686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12687 (exit $ac_status); }; }; then
12688 eval "$as_ac_var=yes"
12689 else
12690 echo "$as_me: failed program was:" >&5
12691 sed 's/^/| /' conftest.$ac_ext >&5
12693 eval "$as_ac_var=no"
12695 rm -f conftest.err conftest.$ac_objext \
12696 conftest$ac_exeext conftest.$ac_ext
12698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12700 if test `eval echo '${'$as_ac_var'}'` = yes; then
12701 cat >>confdefs.h <<_ACEOF
12702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12703 _ACEOF
12706 done
12708 else
12710 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12711 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12712 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12713 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12714 echo $ECHO_N "(cached) $ECHO_C" >&6
12715 else
12719 ac_ext=cc
12720 ac_cpp='$CXXCPP $CPPFLAGS'
12721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12725 cat >conftest.$ac_ext <<_ACEOF
12726 /* confdefs.h. */
12727 _ACEOF
12728 cat confdefs.h >>conftest.$ac_ext
12729 cat >>conftest.$ac_ext <<_ACEOF
12730 /* end confdefs.h. */
12731 #include <math.h>
12732 #ifdef HAVE_IEEEFP_H
12733 #include <ieeefp.h>
12734 #endif
12737 main ()
12739 _isnanf(0);
12741 return 0;
12743 _ACEOF
12744 rm -f conftest.$ac_objext
12745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12746 (eval $ac_compile) 2>conftest.er1
12747 ac_status=$?
12748 grep -v '^ *+' conftest.er1 >conftest.err
12749 rm -f conftest.er1
12750 cat conftest.err >&5
12751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12752 (exit $ac_status); } &&
12753 { ac_try='test -z "$ac_cxx_werror_flag"
12754 || test ! -s conftest.err'
12755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12756 (eval $ac_try) 2>&5
12757 ac_status=$?
12758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12759 (exit $ac_status); }; } &&
12760 { ac_try='test -s conftest.$ac_objext'
12761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12762 (eval $ac_try) 2>&5
12763 ac_status=$?
12764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12765 (exit $ac_status); }; }; then
12766 glibcxx_cv_func__isnanf_use=yes
12767 else
12768 echo "$as_me: failed program was:" >&5
12769 sed 's/^/| /' conftest.$ac_ext >&5
12771 glibcxx_cv_func__isnanf_use=no
12773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12774 ac_ext=c
12775 ac_cpp='$CPP $CPPFLAGS'
12776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12784 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
12785 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
12787 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
12789 for ac_func in _isnanf
12791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12792 echo "$as_me:$LINENO: checking for $ac_func" >&5
12793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12794 if eval "test \"\${$as_ac_var+set}\" = set"; then
12795 echo $ECHO_N "(cached) $ECHO_C" >&6
12796 else
12797 if test x$gcc_no_link = xyes; then
12798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12800 { (exit 1); exit 1; }; }
12802 cat >conftest.$ac_ext <<_ACEOF
12803 /* confdefs.h. */
12804 _ACEOF
12805 cat confdefs.h >>conftest.$ac_ext
12806 cat >>conftest.$ac_ext <<_ACEOF
12807 /* end confdefs.h. */
12808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12810 #define $ac_func innocuous_$ac_func
12812 /* System header to define __stub macros and hopefully few prototypes,
12813 which can conflict with char $ac_func (); below.
12814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12815 <limits.h> exists even on freestanding compilers. */
12817 #ifdef __STDC__
12818 # include <limits.h>
12819 #else
12820 # include <assert.h>
12821 #endif
12823 #undef $ac_func
12825 /* Override any gcc2 internal prototype to avoid an error. */
12826 #ifdef __cplusplus
12827 extern "C"
12829 #endif
12830 /* We use char because int might match the return type of a gcc2
12831 builtin and then its argument prototype would still apply. */
12832 char $ac_func ();
12833 /* The GNU C library defines this for functions which it implements
12834 to always fail with ENOSYS. Some functions are actually named
12835 something starting with __ and the normal name is an alias. */
12836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12837 choke me
12838 #else
12839 char (*f) () = $ac_func;
12840 #endif
12841 #ifdef __cplusplus
12843 #endif
12846 main ()
12848 return f != $ac_func;
12850 return 0;
12852 _ACEOF
12853 rm -f conftest.$ac_objext conftest$ac_exeext
12854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12855 (eval $ac_link) 2>conftest.er1
12856 ac_status=$?
12857 grep -v '^ *+' conftest.er1 >conftest.err
12858 rm -f conftest.er1
12859 cat conftest.err >&5
12860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12861 (exit $ac_status); } &&
12862 { ac_try='test -z "$ac_c_werror_flag"
12863 || test ! -s conftest.err'
12864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12865 (eval $ac_try) 2>&5
12866 ac_status=$?
12867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12868 (exit $ac_status); }; } &&
12869 { ac_try='test -s conftest$ac_exeext'
12870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12871 (eval $ac_try) 2>&5
12872 ac_status=$?
12873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12874 (exit $ac_status); }; }; then
12875 eval "$as_ac_var=yes"
12876 else
12877 echo "$as_me: failed program was:" >&5
12878 sed 's/^/| /' conftest.$ac_ext >&5
12880 eval "$as_ac_var=no"
12882 rm -f conftest.err conftest.$ac_objext \
12883 conftest$ac_exeext conftest.$ac_ext
12885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12887 if test `eval echo '${'$as_ac_var'}'` = yes; then
12888 cat >>confdefs.h <<_ACEOF
12889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12890 _ACEOF
12893 done
12903 echo "$as_me:$LINENO: checking for isinff declaration" >&5
12904 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
12905 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
12906 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
12907 echo $ECHO_N "(cached) $ECHO_C" >&6
12908 else
12912 ac_ext=cc
12913 ac_cpp='$CXXCPP $CPPFLAGS'
12914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12918 cat >conftest.$ac_ext <<_ACEOF
12919 /* confdefs.h. */
12920 _ACEOF
12921 cat confdefs.h >>conftest.$ac_ext
12922 cat >>conftest.$ac_ext <<_ACEOF
12923 /* end confdefs.h. */
12924 #include <math.h>
12925 #ifdef HAVE_IEEEFP_H
12926 #include <ieeefp.h>
12927 #endif
12930 main ()
12932 isinff(0);
12934 return 0;
12936 _ACEOF
12937 rm -f conftest.$ac_objext
12938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12939 (eval $ac_compile) 2>conftest.er1
12940 ac_status=$?
12941 grep -v '^ *+' conftest.er1 >conftest.err
12942 rm -f conftest.er1
12943 cat conftest.err >&5
12944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12945 (exit $ac_status); } &&
12946 { ac_try='test -z "$ac_cxx_werror_flag"
12947 || test ! -s conftest.err'
12948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12949 (eval $ac_try) 2>&5
12950 ac_status=$?
12951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12952 (exit $ac_status); }; } &&
12953 { ac_try='test -s conftest.$ac_objext'
12954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12955 (eval $ac_try) 2>&5
12956 ac_status=$?
12957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12958 (exit $ac_status); }; }; then
12959 glibcxx_cv_func_isinff_use=yes
12960 else
12961 echo "$as_me: failed program was:" >&5
12962 sed 's/^/| /' conftest.$ac_ext >&5
12964 glibcxx_cv_func_isinff_use=no
12966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12967 ac_ext=c
12968 ac_cpp='$CPP $CPPFLAGS'
12969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12977 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
12978 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
12980 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
12982 for ac_func in isinff
12984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12985 echo "$as_me:$LINENO: checking for $ac_func" >&5
12986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12987 if eval "test \"\${$as_ac_var+set}\" = set"; then
12988 echo $ECHO_N "(cached) $ECHO_C" >&6
12989 else
12990 if test x$gcc_no_link = xyes; then
12991 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12993 { (exit 1); exit 1; }; }
12995 cat >conftest.$ac_ext <<_ACEOF
12996 /* confdefs.h. */
12997 _ACEOF
12998 cat confdefs.h >>conftest.$ac_ext
12999 cat >>conftest.$ac_ext <<_ACEOF
13000 /* end confdefs.h. */
13001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13003 #define $ac_func innocuous_$ac_func
13005 /* System header to define __stub macros and hopefully few prototypes,
13006 which can conflict with char $ac_func (); below.
13007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13008 <limits.h> exists even on freestanding compilers. */
13010 #ifdef __STDC__
13011 # include <limits.h>
13012 #else
13013 # include <assert.h>
13014 #endif
13016 #undef $ac_func
13018 /* Override any gcc2 internal prototype to avoid an error. */
13019 #ifdef __cplusplus
13020 extern "C"
13022 #endif
13023 /* We use char because int might match the return type of a gcc2
13024 builtin and then its argument prototype would still apply. */
13025 char $ac_func ();
13026 /* The GNU C library defines this for functions which it implements
13027 to always fail with ENOSYS. Some functions are actually named
13028 something starting with __ and the normal name is an alias. */
13029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13030 choke me
13031 #else
13032 char (*f) () = $ac_func;
13033 #endif
13034 #ifdef __cplusplus
13036 #endif
13039 main ()
13041 return f != $ac_func;
13043 return 0;
13045 _ACEOF
13046 rm -f conftest.$ac_objext conftest$ac_exeext
13047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13048 (eval $ac_link) 2>conftest.er1
13049 ac_status=$?
13050 grep -v '^ *+' conftest.er1 >conftest.err
13051 rm -f conftest.er1
13052 cat conftest.err >&5
13053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13054 (exit $ac_status); } &&
13055 { ac_try='test -z "$ac_c_werror_flag"
13056 || test ! -s conftest.err'
13057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13058 (eval $ac_try) 2>&5
13059 ac_status=$?
13060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13061 (exit $ac_status); }; } &&
13062 { ac_try='test -s conftest$ac_exeext'
13063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13064 (eval $ac_try) 2>&5
13065 ac_status=$?
13066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13067 (exit $ac_status); }; }; then
13068 eval "$as_ac_var=yes"
13069 else
13070 echo "$as_me: failed program was:" >&5
13071 sed 's/^/| /' conftest.$ac_ext >&5
13073 eval "$as_ac_var=no"
13075 rm -f conftest.err conftest.$ac_objext \
13076 conftest$ac_exeext conftest.$ac_ext
13078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13080 if test `eval echo '${'$as_ac_var'}'` = yes; then
13081 cat >>confdefs.h <<_ACEOF
13082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13083 _ACEOF
13086 done
13088 else
13090 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
13091 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
13092 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
13093 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
13094 echo $ECHO_N "(cached) $ECHO_C" >&6
13095 else
13099 ac_ext=cc
13100 ac_cpp='$CXXCPP $CPPFLAGS'
13101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13105 cat >conftest.$ac_ext <<_ACEOF
13106 /* confdefs.h. */
13107 _ACEOF
13108 cat confdefs.h >>conftest.$ac_ext
13109 cat >>conftest.$ac_ext <<_ACEOF
13110 /* end confdefs.h. */
13111 #include <math.h>
13112 #ifdef HAVE_IEEEFP_H
13113 #include <ieeefp.h>
13114 #endif
13117 main ()
13119 _isinff(0);
13121 return 0;
13123 _ACEOF
13124 rm -f conftest.$ac_objext
13125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13126 (eval $ac_compile) 2>conftest.er1
13127 ac_status=$?
13128 grep -v '^ *+' conftest.er1 >conftest.err
13129 rm -f conftest.er1
13130 cat conftest.err >&5
13131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13132 (exit $ac_status); } &&
13133 { ac_try='test -z "$ac_cxx_werror_flag"
13134 || test ! -s conftest.err'
13135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13136 (eval $ac_try) 2>&5
13137 ac_status=$?
13138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13139 (exit $ac_status); }; } &&
13140 { ac_try='test -s conftest.$ac_objext'
13141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13142 (eval $ac_try) 2>&5
13143 ac_status=$?
13144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13145 (exit $ac_status); }; }; then
13146 glibcxx_cv_func__isinff_use=yes
13147 else
13148 echo "$as_me: failed program was:" >&5
13149 sed 's/^/| /' conftest.$ac_ext >&5
13151 glibcxx_cv_func__isinff_use=no
13153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13154 ac_ext=c
13155 ac_cpp='$CPP $CPPFLAGS'
13156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13164 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
13165 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
13167 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
13169 for ac_func in _isinff
13171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13172 echo "$as_me:$LINENO: checking for $ac_func" >&5
13173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13174 if eval "test \"\${$as_ac_var+set}\" = set"; then
13175 echo $ECHO_N "(cached) $ECHO_C" >&6
13176 else
13177 if test x$gcc_no_link = xyes; then
13178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13180 { (exit 1); exit 1; }; }
13182 cat >conftest.$ac_ext <<_ACEOF
13183 /* confdefs.h. */
13184 _ACEOF
13185 cat confdefs.h >>conftest.$ac_ext
13186 cat >>conftest.$ac_ext <<_ACEOF
13187 /* end confdefs.h. */
13188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13190 #define $ac_func innocuous_$ac_func
13192 /* System header to define __stub macros and hopefully few prototypes,
13193 which can conflict with char $ac_func (); below.
13194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13195 <limits.h> exists even on freestanding compilers. */
13197 #ifdef __STDC__
13198 # include <limits.h>
13199 #else
13200 # include <assert.h>
13201 #endif
13203 #undef $ac_func
13205 /* Override any gcc2 internal prototype to avoid an error. */
13206 #ifdef __cplusplus
13207 extern "C"
13209 #endif
13210 /* We use char because int might match the return type of a gcc2
13211 builtin and then its argument prototype would still apply. */
13212 char $ac_func ();
13213 /* The GNU C library defines this for functions which it implements
13214 to always fail with ENOSYS. Some functions are actually named
13215 something starting with __ and the normal name is an alias. */
13216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13217 choke me
13218 #else
13219 char (*f) () = $ac_func;
13220 #endif
13221 #ifdef __cplusplus
13223 #endif
13226 main ()
13228 return f != $ac_func;
13230 return 0;
13232 _ACEOF
13233 rm -f conftest.$ac_objext conftest$ac_exeext
13234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13235 (eval $ac_link) 2>conftest.er1
13236 ac_status=$?
13237 grep -v '^ *+' conftest.er1 >conftest.err
13238 rm -f conftest.er1
13239 cat conftest.err >&5
13240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13241 (exit $ac_status); } &&
13242 { ac_try='test -z "$ac_c_werror_flag"
13243 || test ! -s conftest.err'
13244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13245 (eval $ac_try) 2>&5
13246 ac_status=$?
13247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13248 (exit $ac_status); }; } &&
13249 { ac_try='test -s conftest$ac_exeext'
13250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13251 (eval $ac_try) 2>&5
13252 ac_status=$?
13253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13254 (exit $ac_status); }; }; then
13255 eval "$as_ac_var=yes"
13256 else
13257 echo "$as_me: failed program was:" >&5
13258 sed 's/^/| /' conftest.$ac_ext >&5
13260 eval "$as_ac_var=no"
13262 rm -f conftest.err conftest.$ac_objext \
13263 conftest$ac_exeext conftest.$ac_ext
13265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13267 if test `eval echo '${'$as_ac_var'}'` = yes; then
13268 cat >>confdefs.h <<_ACEOF
13269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13270 _ACEOF
13273 done
13283 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
13284 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
13285 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
13286 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
13287 echo $ECHO_N "(cached) $ECHO_C" >&6
13288 else
13292 ac_ext=cc
13293 ac_cpp='$CXXCPP $CPPFLAGS'
13294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13298 cat >conftest.$ac_ext <<_ACEOF
13299 /* confdefs.h. */
13300 _ACEOF
13301 cat confdefs.h >>conftest.$ac_ext
13302 cat >>conftest.$ac_ext <<_ACEOF
13303 /* end confdefs.h. */
13304 #include <math.h>
13306 main ()
13308 atan2f(0, 0);
13310 return 0;
13312 _ACEOF
13313 rm -f conftest.$ac_objext
13314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13315 (eval $ac_compile) 2>conftest.er1
13316 ac_status=$?
13317 grep -v '^ *+' conftest.er1 >conftest.err
13318 rm -f conftest.er1
13319 cat conftest.err >&5
13320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13321 (exit $ac_status); } &&
13322 { ac_try='test -z "$ac_cxx_werror_flag"
13323 || test ! -s conftest.err'
13324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13325 (eval $ac_try) 2>&5
13326 ac_status=$?
13327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13328 (exit $ac_status); }; } &&
13329 { ac_try='test -s conftest.$ac_objext'
13330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13331 (eval $ac_try) 2>&5
13332 ac_status=$?
13333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13334 (exit $ac_status); }; }; then
13335 glibcxx_cv_func_atan2f_use=yes
13336 else
13337 echo "$as_me: failed program was:" >&5
13338 sed 's/^/| /' conftest.$ac_ext >&5
13340 glibcxx_cv_func_atan2f_use=no
13342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13343 ac_ext=c
13344 ac_cpp='$CPP $CPPFLAGS'
13345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13353 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
13354 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
13356 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
13358 for ac_func in atan2f
13360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13361 echo "$as_me:$LINENO: checking for $ac_func" >&5
13362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13363 if eval "test \"\${$as_ac_var+set}\" = set"; then
13364 echo $ECHO_N "(cached) $ECHO_C" >&6
13365 else
13366 if test x$gcc_no_link = xyes; then
13367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13369 { (exit 1); exit 1; }; }
13371 cat >conftest.$ac_ext <<_ACEOF
13372 /* confdefs.h. */
13373 _ACEOF
13374 cat confdefs.h >>conftest.$ac_ext
13375 cat >>conftest.$ac_ext <<_ACEOF
13376 /* end confdefs.h. */
13377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13379 #define $ac_func innocuous_$ac_func
13381 /* System header to define __stub macros and hopefully few prototypes,
13382 which can conflict with char $ac_func (); below.
13383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13384 <limits.h> exists even on freestanding compilers. */
13386 #ifdef __STDC__
13387 # include <limits.h>
13388 #else
13389 # include <assert.h>
13390 #endif
13392 #undef $ac_func
13394 /* Override any gcc2 internal prototype to avoid an error. */
13395 #ifdef __cplusplus
13396 extern "C"
13398 #endif
13399 /* We use char because int might match the return type of a gcc2
13400 builtin and then its argument prototype would still apply. */
13401 char $ac_func ();
13402 /* The GNU C library defines this for functions which it implements
13403 to always fail with ENOSYS. Some functions are actually named
13404 something starting with __ and the normal name is an alias. */
13405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13406 choke me
13407 #else
13408 char (*f) () = $ac_func;
13409 #endif
13410 #ifdef __cplusplus
13412 #endif
13415 main ()
13417 return f != $ac_func;
13419 return 0;
13421 _ACEOF
13422 rm -f conftest.$ac_objext conftest$ac_exeext
13423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13424 (eval $ac_link) 2>conftest.er1
13425 ac_status=$?
13426 grep -v '^ *+' conftest.er1 >conftest.err
13427 rm -f conftest.er1
13428 cat conftest.err >&5
13429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13430 (exit $ac_status); } &&
13431 { ac_try='test -z "$ac_c_werror_flag"
13432 || test ! -s conftest.err'
13433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13434 (eval $ac_try) 2>&5
13435 ac_status=$?
13436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13437 (exit $ac_status); }; } &&
13438 { ac_try='test -s conftest$ac_exeext'
13439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13440 (eval $ac_try) 2>&5
13441 ac_status=$?
13442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13443 (exit $ac_status); }; }; then
13444 eval "$as_ac_var=yes"
13445 else
13446 echo "$as_me: failed program was:" >&5
13447 sed 's/^/| /' conftest.$ac_ext >&5
13449 eval "$as_ac_var=no"
13451 rm -f conftest.err conftest.$ac_objext \
13452 conftest$ac_exeext conftest.$ac_ext
13454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13456 if test `eval echo '${'$as_ac_var'}'` = yes; then
13457 cat >>confdefs.h <<_ACEOF
13458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13459 _ACEOF
13462 done
13464 else
13466 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13467 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13468 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13469 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13470 echo $ECHO_N "(cached) $ECHO_C" >&6
13471 else
13475 ac_ext=cc
13476 ac_cpp='$CXXCPP $CPPFLAGS'
13477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13481 cat >conftest.$ac_ext <<_ACEOF
13482 /* confdefs.h. */
13483 _ACEOF
13484 cat confdefs.h >>conftest.$ac_ext
13485 cat >>conftest.$ac_ext <<_ACEOF
13486 /* end confdefs.h. */
13487 #include <math.h>
13489 main ()
13491 _atan2f(0, 0);
13493 return 0;
13495 _ACEOF
13496 rm -f conftest.$ac_objext
13497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13498 (eval $ac_compile) 2>conftest.er1
13499 ac_status=$?
13500 grep -v '^ *+' conftest.er1 >conftest.err
13501 rm -f conftest.er1
13502 cat conftest.err >&5
13503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13504 (exit $ac_status); } &&
13505 { ac_try='test -z "$ac_cxx_werror_flag"
13506 || test ! -s conftest.err'
13507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13508 (eval $ac_try) 2>&5
13509 ac_status=$?
13510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13511 (exit $ac_status); }; } &&
13512 { ac_try='test -s conftest.$ac_objext'
13513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13514 (eval $ac_try) 2>&5
13515 ac_status=$?
13516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13517 (exit $ac_status); }; }; then
13518 glibcxx_cv_func__atan2f_use=yes
13519 else
13520 echo "$as_me: failed program was:" >&5
13521 sed 's/^/| /' conftest.$ac_ext >&5
13523 glibcxx_cv_func__atan2f_use=no
13525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13526 ac_ext=c
13527 ac_cpp='$CPP $CPPFLAGS'
13528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13536 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13537 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13539 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13541 for ac_func in _atan2f
13543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13544 echo "$as_me:$LINENO: checking for $ac_func" >&5
13545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13546 if eval "test \"\${$as_ac_var+set}\" = set"; then
13547 echo $ECHO_N "(cached) $ECHO_C" >&6
13548 else
13549 if test x$gcc_no_link = xyes; then
13550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13552 { (exit 1); exit 1; }; }
13554 cat >conftest.$ac_ext <<_ACEOF
13555 /* confdefs.h. */
13556 _ACEOF
13557 cat confdefs.h >>conftest.$ac_ext
13558 cat >>conftest.$ac_ext <<_ACEOF
13559 /* end confdefs.h. */
13560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13562 #define $ac_func innocuous_$ac_func
13564 /* System header to define __stub macros and hopefully few prototypes,
13565 which can conflict with char $ac_func (); below.
13566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13567 <limits.h> exists even on freestanding compilers. */
13569 #ifdef __STDC__
13570 # include <limits.h>
13571 #else
13572 # include <assert.h>
13573 #endif
13575 #undef $ac_func
13577 /* Override any gcc2 internal prototype to avoid an error. */
13578 #ifdef __cplusplus
13579 extern "C"
13581 #endif
13582 /* We use char because int might match the return type of a gcc2
13583 builtin and then its argument prototype would still apply. */
13584 char $ac_func ();
13585 /* The GNU C library defines this for functions which it implements
13586 to always fail with ENOSYS. Some functions are actually named
13587 something starting with __ and the normal name is an alias. */
13588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13589 choke me
13590 #else
13591 char (*f) () = $ac_func;
13592 #endif
13593 #ifdef __cplusplus
13595 #endif
13598 main ()
13600 return f != $ac_func;
13602 return 0;
13604 _ACEOF
13605 rm -f conftest.$ac_objext conftest$ac_exeext
13606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13607 (eval $ac_link) 2>conftest.er1
13608 ac_status=$?
13609 grep -v '^ *+' conftest.er1 >conftest.err
13610 rm -f conftest.er1
13611 cat conftest.err >&5
13612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13613 (exit $ac_status); } &&
13614 { ac_try='test -z "$ac_c_werror_flag"
13615 || test ! -s conftest.err'
13616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13617 (eval $ac_try) 2>&5
13618 ac_status=$?
13619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13620 (exit $ac_status); }; } &&
13621 { ac_try='test -s conftest$ac_exeext'
13622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13623 (eval $ac_try) 2>&5
13624 ac_status=$?
13625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13626 (exit $ac_status); }; }; then
13627 eval "$as_ac_var=yes"
13628 else
13629 echo "$as_me: failed program was:" >&5
13630 sed 's/^/| /' conftest.$ac_ext >&5
13632 eval "$as_ac_var=no"
13634 rm -f conftest.err conftest.$ac_objext \
13635 conftest$ac_exeext conftest.$ac_ext
13637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13639 if test `eval echo '${'$as_ac_var'}'` = yes; then
13640 cat >>confdefs.h <<_ACEOF
13641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13642 _ACEOF
13645 done
13655 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13656 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13657 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13658 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13659 echo $ECHO_N "(cached) $ECHO_C" >&6
13660 else
13664 ac_ext=cc
13665 ac_cpp='$CXXCPP $CPPFLAGS'
13666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13670 cat >conftest.$ac_ext <<_ACEOF
13671 /* confdefs.h. */
13672 _ACEOF
13673 cat confdefs.h >>conftest.$ac_ext
13674 cat >>conftest.$ac_ext <<_ACEOF
13675 /* end confdefs.h. */
13676 #include <math.h>
13677 #ifdef HAVE_IEEEFP_H
13678 #include <ieeefp.h>
13679 #endif
13682 main ()
13684 fabsf(0);
13686 return 0;
13688 _ACEOF
13689 rm -f conftest.$ac_objext
13690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13691 (eval $ac_compile) 2>conftest.er1
13692 ac_status=$?
13693 grep -v '^ *+' conftest.er1 >conftest.err
13694 rm -f conftest.er1
13695 cat conftest.err >&5
13696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13697 (exit $ac_status); } &&
13698 { ac_try='test -z "$ac_cxx_werror_flag"
13699 || test ! -s conftest.err'
13700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13701 (eval $ac_try) 2>&5
13702 ac_status=$?
13703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13704 (exit $ac_status); }; } &&
13705 { ac_try='test -s conftest.$ac_objext'
13706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13707 (eval $ac_try) 2>&5
13708 ac_status=$?
13709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13710 (exit $ac_status); }; }; then
13711 glibcxx_cv_func_fabsf_use=yes
13712 else
13713 echo "$as_me: failed program was:" >&5
13714 sed 's/^/| /' conftest.$ac_ext >&5
13716 glibcxx_cv_func_fabsf_use=no
13718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13719 ac_ext=c
13720 ac_cpp='$CPP $CPPFLAGS'
13721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13729 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13730 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13732 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13734 for ac_func in fabsf
13736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13737 echo "$as_me:$LINENO: checking for $ac_func" >&5
13738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13739 if eval "test \"\${$as_ac_var+set}\" = set"; then
13740 echo $ECHO_N "(cached) $ECHO_C" >&6
13741 else
13742 if test x$gcc_no_link = xyes; then
13743 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13745 { (exit 1); exit 1; }; }
13747 cat >conftest.$ac_ext <<_ACEOF
13748 /* confdefs.h. */
13749 _ACEOF
13750 cat confdefs.h >>conftest.$ac_ext
13751 cat >>conftest.$ac_ext <<_ACEOF
13752 /* end confdefs.h. */
13753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13755 #define $ac_func innocuous_$ac_func
13757 /* System header to define __stub macros and hopefully few prototypes,
13758 which can conflict with char $ac_func (); below.
13759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13760 <limits.h> exists even on freestanding compilers. */
13762 #ifdef __STDC__
13763 # include <limits.h>
13764 #else
13765 # include <assert.h>
13766 #endif
13768 #undef $ac_func
13770 /* Override any gcc2 internal prototype to avoid an error. */
13771 #ifdef __cplusplus
13772 extern "C"
13774 #endif
13775 /* We use char because int might match the return type of a gcc2
13776 builtin and then its argument prototype would still apply. */
13777 char $ac_func ();
13778 /* The GNU C library defines this for functions which it implements
13779 to always fail with ENOSYS. Some functions are actually named
13780 something starting with __ and the normal name is an alias. */
13781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13782 choke me
13783 #else
13784 char (*f) () = $ac_func;
13785 #endif
13786 #ifdef __cplusplus
13788 #endif
13791 main ()
13793 return f != $ac_func;
13795 return 0;
13797 _ACEOF
13798 rm -f conftest.$ac_objext conftest$ac_exeext
13799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13800 (eval $ac_link) 2>conftest.er1
13801 ac_status=$?
13802 grep -v '^ *+' conftest.er1 >conftest.err
13803 rm -f conftest.er1
13804 cat conftest.err >&5
13805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13806 (exit $ac_status); } &&
13807 { ac_try='test -z "$ac_c_werror_flag"
13808 || test ! -s conftest.err'
13809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13810 (eval $ac_try) 2>&5
13811 ac_status=$?
13812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13813 (exit $ac_status); }; } &&
13814 { ac_try='test -s conftest$ac_exeext'
13815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13816 (eval $ac_try) 2>&5
13817 ac_status=$?
13818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13819 (exit $ac_status); }; }; then
13820 eval "$as_ac_var=yes"
13821 else
13822 echo "$as_me: failed program was:" >&5
13823 sed 's/^/| /' conftest.$ac_ext >&5
13825 eval "$as_ac_var=no"
13827 rm -f conftest.err conftest.$ac_objext \
13828 conftest$ac_exeext conftest.$ac_ext
13830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13832 if test `eval echo '${'$as_ac_var'}'` = yes; then
13833 cat >>confdefs.h <<_ACEOF
13834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13835 _ACEOF
13838 done
13840 else
13842 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
13843 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
13844 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
13845 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
13846 echo $ECHO_N "(cached) $ECHO_C" >&6
13847 else
13851 ac_ext=cc
13852 ac_cpp='$CXXCPP $CPPFLAGS'
13853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13857 cat >conftest.$ac_ext <<_ACEOF
13858 /* confdefs.h. */
13859 _ACEOF
13860 cat confdefs.h >>conftest.$ac_ext
13861 cat >>conftest.$ac_ext <<_ACEOF
13862 /* end confdefs.h. */
13863 #include <math.h>
13864 #ifdef HAVE_IEEEFP_H
13865 #include <ieeefp.h>
13866 #endif
13869 main ()
13871 _fabsf(0);
13873 return 0;
13875 _ACEOF
13876 rm -f conftest.$ac_objext
13877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13878 (eval $ac_compile) 2>conftest.er1
13879 ac_status=$?
13880 grep -v '^ *+' conftest.er1 >conftest.err
13881 rm -f conftest.er1
13882 cat conftest.err >&5
13883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13884 (exit $ac_status); } &&
13885 { ac_try='test -z "$ac_cxx_werror_flag"
13886 || test ! -s conftest.err'
13887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13888 (eval $ac_try) 2>&5
13889 ac_status=$?
13890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13891 (exit $ac_status); }; } &&
13892 { ac_try='test -s conftest.$ac_objext'
13893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13894 (eval $ac_try) 2>&5
13895 ac_status=$?
13896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13897 (exit $ac_status); }; }; then
13898 glibcxx_cv_func__fabsf_use=yes
13899 else
13900 echo "$as_me: failed program was:" >&5
13901 sed 's/^/| /' conftest.$ac_ext >&5
13903 glibcxx_cv_func__fabsf_use=no
13905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13906 ac_ext=c
13907 ac_cpp='$CPP $CPPFLAGS'
13908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13916 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
13917 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
13919 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
13921 for ac_func in _fabsf
13923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13924 echo "$as_me:$LINENO: checking for $ac_func" >&5
13925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13926 if eval "test \"\${$as_ac_var+set}\" = set"; then
13927 echo $ECHO_N "(cached) $ECHO_C" >&6
13928 else
13929 if test x$gcc_no_link = xyes; then
13930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13932 { (exit 1); exit 1; }; }
13934 cat >conftest.$ac_ext <<_ACEOF
13935 /* confdefs.h. */
13936 _ACEOF
13937 cat confdefs.h >>conftest.$ac_ext
13938 cat >>conftest.$ac_ext <<_ACEOF
13939 /* end confdefs.h. */
13940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13942 #define $ac_func innocuous_$ac_func
13944 /* System header to define __stub macros and hopefully few prototypes,
13945 which can conflict with char $ac_func (); below.
13946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13947 <limits.h> exists even on freestanding compilers. */
13949 #ifdef __STDC__
13950 # include <limits.h>
13951 #else
13952 # include <assert.h>
13953 #endif
13955 #undef $ac_func
13957 /* Override any gcc2 internal prototype to avoid an error. */
13958 #ifdef __cplusplus
13959 extern "C"
13961 #endif
13962 /* We use char because int might match the return type of a gcc2
13963 builtin and then its argument prototype would still apply. */
13964 char $ac_func ();
13965 /* The GNU C library defines this for functions which it implements
13966 to always fail with ENOSYS. Some functions are actually named
13967 something starting with __ and the normal name is an alias. */
13968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13969 choke me
13970 #else
13971 char (*f) () = $ac_func;
13972 #endif
13973 #ifdef __cplusplus
13975 #endif
13978 main ()
13980 return f != $ac_func;
13982 return 0;
13984 _ACEOF
13985 rm -f conftest.$ac_objext conftest$ac_exeext
13986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13987 (eval $ac_link) 2>conftest.er1
13988 ac_status=$?
13989 grep -v '^ *+' conftest.er1 >conftest.err
13990 rm -f conftest.er1
13991 cat conftest.err >&5
13992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13993 (exit $ac_status); } &&
13994 { ac_try='test -z "$ac_c_werror_flag"
13995 || test ! -s conftest.err'
13996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13997 (eval $ac_try) 2>&5
13998 ac_status=$?
13999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14000 (exit $ac_status); }; } &&
14001 { ac_try='test -s conftest$ac_exeext'
14002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14003 (eval $ac_try) 2>&5
14004 ac_status=$?
14005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14006 (exit $ac_status); }; }; then
14007 eval "$as_ac_var=yes"
14008 else
14009 echo "$as_me: failed program was:" >&5
14010 sed 's/^/| /' conftest.$ac_ext >&5
14012 eval "$as_ac_var=no"
14014 rm -f conftest.err conftest.$ac_objext \
14015 conftest$ac_exeext conftest.$ac_ext
14017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14019 if test `eval echo '${'$as_ac_var'}'` = yes; then
14020 cat >>confdefs.h <<_ACEOF
14021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14022 _ACEOF
14025 done
14035 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
14036 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
14037 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
14038 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
14039 echo $ECHO_N "(cached) $ECHO_C" >&6
14040 else
14044 ac_ext=cc
14045 ac_cpp='$CXXCPP $CPPFLAGS'
14046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14050 cat >conftest.$ac_ext <<_ACEOF
14051 /* confdefs.h. */
14052 _ACEOF
14053 cat confdefs.h >>conftest.$ac_ext
14054 cat >>conftest.$ac_ext <<_ACEOF
14055 /* end confdefs.h. */
14056 #include <math.h>
14058 main ()
14060 fmodf(0, 0);
14062 return 0;
14064 _ACEOF
14065 rm -f conftest.$ac_objext
14066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14067 (eval $ac_compile) 2>conftest.er1
14068 ac_status=$?
14069 grep -v '^ *+' conftest.er1 >conftest.err
14070 rm -f conftest.er1
14071 cat conftest.err >&5
14072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14073 (exit $ac_status); } &&
14074 { ac_try='test -z "$ac_cxx_werror_flag"
14075 || test ! -s conftest.err'
14076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14077 (eval $ac_try) 2>&5
14078 ac_status=$?
14079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14080 (exit $ac_status); }; } &&
14081 { ac_try='test -s conftest.$ac_objext'
14082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14083 (eval $ac_try) 2>&5
14084 ac_status=$?
14085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14086 (exit $ac_status); }; }; then
14087 glibcxx_cv_func_fmodf_use=yes
14088 else
14089 echo "$as_me: failed program was:" >&5
14090 sed 's/^/| /' conftest.$ac_ext >&5
14092 glibcxx_cv_func_fmodf_use=no
14094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14095 ac_ext=c
14096 ac_cpp='$CPP $CPPFLAGS'
14097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14105 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
14106 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
14108 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
14110 for ac_func in fmodf
14112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14113 echo "$as_me:$LINENO: checking for $ac_func" >&5
14114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14115 if eval "test \"\${$as_ac_var+set}\" = set"; then
14116 echo $ECHO_N "(cached) $ECHO_C" >&6
14117 else
14118 if test x$gcc_no_link = xyes; then
14119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14121 { (exit 1); exit 1; }; }
14123 cat >conftest.$ac_ext <<_ACEOF
14124 /* confdefs.h. */
14125 _ACEOF
14126 cat confdefs.h >>conftest.$ac_ext
14127 cat >>conftest.$ac_ext <<_ACEOF
14128 /* end confdefs.h. */
14129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14131 #define $ac_func innocuous_$ac_func
14133 /* System header to define __stub macros and hopefully few prototypes,
14134 which can conflict with char $ac_func (); below.
14135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14136 <limits.h> exists even on freestanding compilers. */
14138 #ifdef __STDC__
14139 # include <limits.h>
14140 #else
14141 # include <assert.h>
14142 #endif
14144 #undef $ac_func
14146 /* Override any gcc2 internal prototype to avoid an error. */
14147 #ifdef __cplusplus
14148 extern "C"
14150 #endif
14151 /* We use char because int might match the return type of a gcc2
14152 builtin and then its argument prototype would still apply. */
14153 char $ac_func ();
14154 /* The GNU C library defines this for functions which it implements
14155 to always fail with ENOSYS. Some functions are actually named
14156 something starting with __ and the normal name is an alias. */
14157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14158 choke me
14159 #else
14160 char (*f) () = $ac_func;
14161 #endif
14162 #ifdef __cplusplus
14164 #endif
14167 main ()
14169 return f != $ac_func;
14171 return 0;
14173 _ACEOF
14174 rm -f conftest.$ac_objext conftest$ac_exeext
14175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14176 (eval $ac_link) 2>conftest.er1
14177 ac_status=$?
14178 grep -v '^ *+' conftest.er1 >conftest.err
14179 rm -f conftest.er1
14180 cat conftest.err >&5
14181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14182 (exit $ac_status); } &&
14183 { ac_try='test -z "$ac_c_werror_flag"
14184 || test ! -s conftest.err'
14185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14186 (eval $ac_try) 2>&5
14187 ac_status=$?
14188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14189 (exit $ac_status); }; } &&
14190 { ac_try='test -s conftest$ac_exeext'
14191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14192 (eval $ac_try) 2>&5
14193 ac_status=$?
14194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14195 (exit $ac_status); }; }; then
14196 eval "$as_ac_var=yes"
14197 else
14198 echo "$as_me: failed program was:" >&5
14199 sed 's/^/| /' conftest.$ac_ext >&5
14201 eval "$as_ac_var=no"
14203 rm -f conftest.err conftest.$ac_objext \
14204 conftest$ac_exeext conftest.$ac_ext
14206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14208 if test `eval echo '${'$as_ac_var'}'` = yes; then
14209 cat >>confdefs.h <<_ACEOF
14210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14211 _ACEOF
14214 done
14216 else
14218 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
14219 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
14220 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
14221 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
14222 echo $ECHO_N "(cached) $ECHO_C" >&6
14223 else
14227 ac_ext=cc
14228 ac_cpp='$CXXCPP $CPPFLAGS'
14229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14233 cat >conftest.$ac_ext <<_ACEOF
14234 /* confdefs.h. */
14235 _ACEOF
14236 cat confdefs.h >>conftest.$ac_ext
14237 cat >>conftest.$ac_ext <<_ACEOF
14238 /* end confdefs.h. */
14239 #include <math.h>
14241 main ()
14243 _fmodf(0, 0);
14245 return 0;
14247 _ACEOF
14248 rm -f conftest.$ac_objext
14249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14250 (eval $ac_compile) 2>conftest.er1
14251 ac_status=$?
14252 grep -v '^ *+' conftest.er1 >conftest.err
14253 rm -f conftest.er1
14254 cat conftest.err >&5
14255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14256 (exit $ac_status); } &&
14257 { ac_try='test -z "$ac_cxx_werror_flag"
14258 || test ! -s conftest.err'
14259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14260 (eval $ac_try) 2>&5
14261 ac_status=$?
14262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14263 (exit $ac_status); }; } &&
14264 { ac_try='test -s conftest.$ac_objext'
14265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14266 (eval $ac_try) 2>&5
14267 ac_status=$?
14268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14269 (exit $ac_status); }; }; then
14270 glibcxx_cv_func__fmodf_use=yes
14271 else
14272 echo "$as_me: failed program was:" >&5
14273 sed 's/^/| /' conftest.$ac_ext >&5
14275 glibcxx_cv_func__fmodf_use=no
14277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14278 ac_ext=c
14279 ac_cpp='$CPP $CPPFLAGS'
14280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14288 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
14289 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
14291 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
14293 for ac_func in _fmodf
14295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14296 echo "$as_me:$LINENO: checking for $ac_func" >&5
14297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14298 if eval "test \"\${$as_ac_var+set}\" = set"; then
14299 echo $ECHO_N "(cached) $ECHO_C" >&6
14300 else
14301 if test x$gcc_no_link = xyes; then
14302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14304 { (exit 1); exit 1; }; }
14306 cat >conftest.$ac_ext <<_ACEOF
14307 /* confdefs.h. */
14308 _ACEOF
14309 cat confdefs.h >>conftest.$ac_ext
14310 cat >>conftest.$ac_ext <<_ACEOF
14311 /* end confdefs.h. */
14312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14314 #define $ac_func innocuous_$ac_func
14316 /* System header to define __stub macros and hopefully few prototypes,
14317 which can conflict with char $ac_func (); below.
14318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14319 <limits.h> exists even on freestanding compilers. */
14321 #ifdef __STDC__
14322 # include <limits.h>
14323 #else
14324 # include <assert.h>
14325 #endif
14327 #undef $ac_func
14329 /* Override any gcc2 internal prototype to avoid an error. */
14330 #ifdef __cplusplus
14331 extern "C"
14333 #endif
14334 /* We use char because int might match the return type of a gcc2
14335 builtin and then its argument prototype would still apply. */
14336 char $ac_func ();
14337 /* The GNU C library defines this for functions which it implements
14338 to always fail with ENOSYS. Some functions are actually named
14339 something starting with __ and the normal name is an alias. */
14340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14341 choke me
14342 #else
14343 char (*f) () = $ac_func;
14344 #endif
14345 #ifdef __cplusplus
14347 #endif
14350 main ()
14352 return f != $ac_func;
14354 return 0;
14356 _ACEOF
14357 rm -f conftest.$ac_objext conftest$ac_exeext
14358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14359 (eval $ac_link) 2>conftest.er1
14360 ac_status=$?
14361 grep -v '^ *+' conftest.er1 >conftest.err
14362 rm -f conftest.er1
14363 cat conftest.err >&5
14364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14365 (exit $ac_status); } &&
14366 { ac_try='test -z "$ac_c_werror_flag"
14367 || test ! -s conftest.err'
14368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14369 (eval $ac_try) 2>&5
14370 ac_status=$?
14371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14372 (exit $ac_status); }; } &&
14373 { ac_try='test -s conftest$ac_exeext'
14374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14375 (eval $ac_try) 2>&5
14376 ac_status=$?
14377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14378 (exit $ac_status); }; }; then
14379 eval "$as_ac_var=yes"
14380 else
14381 echo "$as_me: failed program was:" >&5
14382 sed 's/^/| /' conftest.$ac_ext >&5
14384 eval "$as_ac_var=no"
14386 rm -f conftest.err conftest.$ac_objext \
14387 conftest$ac_exeext conftest.$ac_ext
14389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14391 if test `eval echo '${'$as_ac_var'}'` = yes; then
14392 cat >>confdefs.h <<_ACEOF
14393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14394 _ACEOF
14397 done
14407 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
14408 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
14409 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
14410 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
14411 echo $ECHO_N "(cached) $ECHO_C" >&6
14412 else
14416 ac_ext=cc
14417 ac_cpp='$CXXCPP $CPPFLAGS'
14418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14422 cat >conftest.$ac_ext <<_ACEOF
14423 /* confdefs.h. */
14424 _ACEOF
14425 cat confdefs.h >>conftest.$ac_ext
14426 cat >>conftest.$ac_ext <<_ACEOF
14427 /* end confdefs.h. */
14428 #include <math.h>
14430 main ()
14432 frexpf(0, 0);
14434 return 0;
14436 _ACEOF
14437 rm -f conftest.$ac_objext
14438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14439 (eval $ac_compile) 2>conftest.er1
14440 ac_status=$?
14441 grep -v '^ *+' conftest.er1 >conftest.err
14442 rm -f conftest.er1
14443 cat conftest.err >&5
14444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14445 (exit $ac_status); } &&
14446 { ac_try='test -z "$ac_cxx_werror_flag"
14447 || test ! -s conftest.err'
14448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14449 (eval $ac_try) 2>&5
14450 ac_status=$?
14451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14452 (exit $ac_status); }; } &&
14453 { ac_try='test -s conftest.$ac_objext'
14454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14455 (eval $ac_try) 2>&5
14456 ac_status=$?
14457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14458 (exit $ac_status); }; }; then
14459 glibcxx_cv_func_frexpf_use=yes
14460 else
14461 echo "$as_me: failed program was:" >&5
14462 sed 's/^/| /' conftest.$ac_ext >&5
14464 glibcxx_cv_func_frexpf_use=no
14466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14467 ac_ext=c
14468 ac_cpp='$CPP $CPPFLAGS'
14469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14477 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14478 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14480 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14482 for ac_func in frexpf
14484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14485 echo "$as_me:$LINENO: checking for $ac_func" >&5
14486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14487 if eval "test \"\${$as_ac_var+set}\" = set"; then
14488 echo $ECHO_N "(cached) $ECHO_C" >&6
14489 else
14490 if test x$gcc_no_link = xyes; then
14491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14493 { (exit 1); exit 1; }; }
14495 cat >conftest.$ac_ext <<_ACEOF
14496 /* confdefs.h. */
14497 _ACEOF
14498 cat confdefs.h >>conftest.$ac_ext
14499 cat >>conftest.$ac_ext <<_ACEOF
14500 /* end confdefs.h. */
14501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14503 #define $ac_func innocuous_$ac_func
14505 /* System header to define __stub macros and hopefully few prototypes,
14506 which can conflict with char $ac_func (); below.
14507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14508 <limits.h> exists even on freestanding compilers. */
14510 #ifdef __STDC__
14511 # include <limits.h>
14512 #else
14513 # include <assert.h>
14514 #endif
14516 #undef $ac_func
14518 /* Override any gcc2 internal prototype to avoid an error. */
14519 #ifdef __cplusplus
14520 extern "C"
14522 #endif
14523 /* We use char because int might match the return type of a gcc2
14524 builtin and then its argument prototype would still apply. */
14525 char $ac_func ();
14526 /* The GNU C library defines this for functions which it implements
14527 to always fail with ENOSYS. Some functions are actually named
14528 something starting with __ and the normal name is an alias. */
14529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14530 choke me
14531 #else
14532 char (*f) () = $ac_func;
14533 #endif
14534 #ifdef __cplusplus
14536 #endif
14539 main ()
14541 return f != $ac_func;
14543 return 0;
14545 _ACEOF
14546 rm -f conftest.$ac_objext conftest$ac_exeext
14547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14548 (eval $ac_link) 2>conftest.er1
14549 ac_status=$?
14550 grep -v '^ *+' conftest.er1 >conftest.err
14551 rm -f conftest.er1
14552 cat conftest.err >&5
14553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14554 (exit $ac_status); } &&
14555 { ac_try='test -z "$ac_c_werror_flag"
14556 || test ! -s conftest.err'
14557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14558 (eval $ac_try) 2>&5
14559 ac_status=$?
14560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14561 (exit $ac_status); }; } &&
14562 { ac_try='test -s conftest$ac_exeext'
14563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14564 (eval $ac_try) 2>&5
14565 ac_status=$?
14566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14567 (exit $ac_status); }; }; then
14568 eval "$as_ac_var=yes"
14569 else
14570 echo "$as_me: failed program was:" >&5
14571 sed 's/^/| /' conftest.$ac_ext >&5
14573 eval "$as_ac_var=no"
14575 rm -f conftest.err conftest.$ac_objext \
14576 conftest$ac_exeext conftest.$ac_ext
14578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14580 if test `eval echo '${'$as_ac_var'}'` = yes; then
14581 cat >>confdefs.h <<_ACEOF
14582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14583 _ACEOF
14586 done
14588 else
14590 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14591 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14592 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14593 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14594 echo $ECHO_N "(cached) $ECHO_C" >&6
14595 else
14599 ac_ext=cc
14600 ac_cpp='$CXXCPP $CPPFLAGS'
14601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14605 cat >conftest.$ac_ext <<_ACEOF
14606 /* confdefs.h. */
14607 _ACEOF
14608 cat confdefs.h >>conftest.$ac_ext
14609 cat >>conftest.$ac_ext <<_ACEOF
14610 /* end confdefs.h. */
14611 #include <math.h>
14613 main ()
14615 _frexpf(0, 0);
14617 return 0;
14619 _ACEOF
14620 rm -f conftest.$ac_objext
14621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14622 (eval $ac_compile) 2>conftest.er1
14623 ac_status=$?
14624 grep -v '^ *+' conftest.er1 >conftest.err
14625 rm -f conftest.er1
14626 cat conftest.err >&5
14627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14628 (exit $ac_status); } &&
14629 { ac_try='test -z "$ac_cxx_werror_flag"
14630 || test ! -s conftest.err'
14631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14632 (eval $ac_try) 2>&5
14633 ac_status=$?
14634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14635 (exit $ac_status); }; } &&
14636 { ac_try='test -s conftest.$ac_objext'
14637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14638 (eval $ac_try) 2>&5
14639 ac_status=$?
14640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14641 (exit $ac_status); }; }; then
14642 glibcxx_cv_func__frexpf_use=yes
14643 else
14644 echo "$as_me: failed program was:" >&5
14645 sed 's/^/| /' conftest.$ac_ext >&5
14647 glibcxx_cv_func__frexpf_use=no
14649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14650 ac_ext=c
14651 ac_cpp='$CPP $CPPFLAGS'
14652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14660 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14661 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14663 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14665 for ac_func in _frexpf
14667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14668 echo "$as_me:$LINENO: checking for $ac_func" >&5
14669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14670 if eval "test \"\${$as_ac_var+set}\" = set"; then
14671 echo $ECHO_N "(cached) $ECHO_C" >&6
14672 else
14673 if test x$gcc_no_link = xyes; then
14674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14676 { (exit 1); exit 1; }; }
14678 cat >conftest.$ac_ext <<_ACEOF
14679 /* confdefs.h. */
14680 _ACEOF
14681 cat confdefs.h >>conftest.$ac_ext
14682 cat >>conftest.$ac_ext <<_ACEOF
14683 /* end confdefs.h. */
14684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14686 #define $ac_func innocuous_$ac_func
14688 /* System header to define __stub macros and hopefully few prototypes,
14689 which can conflict with char $ac_func (); below.
14690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14691 <limits.h> exists even on freestanding compilers. */
14693 #ifdef __STDC__
14694 # include <limits.h>
14695 #else
14696 # include <assert.h>
14697 #endif
14699 #undef $ac_func
14701 /* Override any gcc2 internal prototype to avoid an error. */
14702 #ifdef __cplusplus
14703 extern "C"
14705 #endif
14706 /* We use char because int might match the return type of a gcc2
14707 builtin and then its argument prototype would still apply. */
14708 char $ac_func ();
14709 /* The GNU C library defines this for functions which it implements
14710 to always fail with ENOSYS. Some functions are actually named
14711 something starting with __ and the normal name is an alias. */
14712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14713 choke me
14714 #else
14715 char (*f) () = $ac_func;
14716 #endif
14717 #ifdef __cplusplus
14719 #endif
14722 main ()
14724 return f != $ac_func;
14726 return 0;
14728 _ACEOF
14729 rm -f conftest.$ac_objext conftest$ac_exeext
14730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14731 (eval $ac_link) 2>conftest.er1
14732 ac_status=$?
14733 grep -v '^ *+' conftest.er1 >conftest.err
14734 rm -f conftest.er1
14735 cat conftest.err >&5
14736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14737 (exit $ac_status); } &&
14738 { ac_try='test -z "$ac_c_werror_flag"
14739 || test ! -s conftest.err'
14740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14741 (eval $ac_try) 2>&5
14742 ac_status=$?
14743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14744 (exit $ac_status); }; } &&
14745 { ac_try='test -s conftest$ac_exeext'
14746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14747 (eval $ac_try) 2>&5
14748 ac_status=$?
14749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14750 (exit $ac_status); }; }; then
14751 eval "$as_ac_var=yes"
14752 else
14753 echo "$as_me: failed program was:" >&5
14754 sed 's/^/| /' conftest.$ac_ext >&5
14756 eval "$as_ac_var=no"
14758 rm -f conftest.err conftest.$ac_objext \
14759 conftest$ac_exeext conftest.$ac_ext
14761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14763 if test `eval echo '${'$as_ac_var'}'` = yes; then
14764 cat >>confdefs.h <<_ACEOF
14765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14766 _ACEOF
14769 done
14779 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14780 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14781 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14782 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
14783 echo $ECHO_N "(cached) $ECHO_C" >&6
14784 else
14788 ac_ext=cc
14789 ac_cpp='$CXXCPP $CPPFLAGS'
14790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14794 cat >conftest.$ac_ext <<_ACEOF
14795 /* confdefs.h. */
14796 _ACEOF
14797 cat confdefs.h >>conftest.$ac_ext
14798 cat >>conftest.$ac_ext <<_ACEOF
14799 /* end confdefs.h. */
14800 #include <math.h>
14802 main ()
14804 hypotf(0, 0);
14806 return 0;
14808 _ACEOF
14809 rm -f conftest.$ac_objext
14810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14811 (eval $ac_compile) 2>conftest.er1
14812 ac_status=$?
14813 grep -v '^ *+' conftest.er1 >conftest.err
14814 rm -f conftest.er1
14815 cat conftest.err >&5
14816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14817 (exit $ac_status); } &&
14818 { ac_try='test -z "$ac_cxx_werror_flag"
14819 || test ! -s conftest.err'
14820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14821 (eval $ac_try) 2>&5
14822 ac_status=$?
14823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14824 (exit $ac_status); }; } &&
14825 { ac_try='test -s conftest.$ac_objext'
14826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14827 (eval $ac_try) 2>&5
14828 ac_status=$?
14829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14830 (exit $ac_status); }; }; then
14831 glibcxx_cv_func_hypotf_use=yes
14832 else
14833 echo "$as_me: failed program was:" >&5
14834 sed 's/^/| /' conftest.$ac_ext >&5
14836 glibcxx_cv_func_hypotf_use=no
14838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14839 ac_ext=c
14840 ac_cpp='$CPP $CPPFLAGS'
14841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14849 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
14850 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
14852 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
14854 for ac_func in hypotf
14856 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14857 echo "$as_me:$LINENO: checking for $ac_func" >&5
14858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14859 if eval "test \"\${$as_ac_var+set}\" = set"; then
14860 echo $ECHO_N "(cached) $ECHO_C" >&6
14861 else
14862 if test x$gcc_no_link = xyes; then
14863 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14865 { (exit 1); exit 1; }; }
14867 cat >conftest.$ac_ext <<_ACEOF
14868 /* confdefs.h. */
14869 _ACEOF
14870 cat confdefs.h >>conftest.$ac_ext
14871 cat >>conftest.$ac_ext <<_ACEOF
14872 /* end confdefs.h. */
14873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14875 #define $ac_func innocuous_$ac_func
14877 /* System header to define __stub macros and hopefully few prototypes,
14878 which can conflict with char $ac_func (); below.
14879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14880 <limits.h> exists even on freestanding compilers. */
14882 #ifdef __STDC__
14883 # include <limits.h>
14884 #else
14885 # include <assert.h>
14886 #endif
14888 #undef $ac_func
14890 /* Override any gcc2 internal prototype to avoid an error. */
14891 #ifdef __cplusplus
14892 extern "C"
14894 #endif
14895 /* We use char because int might match the return type of a gcc2
14896 builtin and then its argument prototype would still apply. */
14897 char $ac_func ();
14898 /* The GNU C library defines this for functions which it implements
14899 to always fail with ENOSYS. Some functions are actually named
14900 something starting with __ and the normal name is an alias. */
14901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14902 choke me
14903 #else
14904 char (*f) () = $ac_func;
14905 #endif
14906 #ifdef __cplusplus
14908 #endif
14911 main ()
14913 return f != $ac_func;
14915 return 0;
14917 _ACEOF
14918 rm -f conftest.$ac_objext conftest$ac_exeext
14919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14920 (eval $ac_link) 2>conftest.er1
14921 ac_status=$?
14922 grep -v '^ *+' conftest.er1 >conftest.err
14923 rm -f conftest.er1
14924 cat conftest.err >&5
14925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14926 (exit $ac_status); } &&
14927 { ac_try='test -z "$ac_c_werror_flag"
14928 || test ! -s conftest.err'
14929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14930 (eval $ac_try) 2>&5
14931 ac_status=$?
14932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14933 (exit $ac_status); }; } &&
14934 { ac_try='test -s conftest$ac_exeext'
14935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14936 (eval $ac_try) 2>&5
14937 ac_status=$?
14938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14939 (exit $ac_status); }; }; then
14940 eval "$as_ac_var=yes"
14941 else
14942 echo "$as_me: failed program was:" >&5
14943 sed 's/^/| /' conftest.$ac_ext >&5
14945 eval "$as_ac_var=no"
14947 rm -f conftest.err conftest.$ac_objext \
14948 conftest$ac_exeext conftest.$ac_ext
14950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14952 if test `eval echo '${'$as_ac_var'}'` = yes; then
14953 cat >>confdefs.h <<_ACEOF
14954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14955 _ACEOF
14958 done
14960 else
14962 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
14963 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
14964 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
14965 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
14966 echo $ECHO_N "(cached) $ECHO_C" >&6
14967 else
14971 ac_ext=cc
14972 ac_cpp='$CXXCPP $CPPFLAGS'
14973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14977 cat >conftest.$ac_ext <<_ACEOF
14978 /* confdefs.h. */
14979 _ACEOF
14980 cat confdefs.h >>conftest.$ac_ext
14981 cat >>conftest.$ac_ext <<_ACEOF
14982 /* end confdefs.h. */
14983 #include <math.h>
14985 main ()
14987 _hypotf(0, 0);
14989 return 0;
14991 _ACEOF
14992 rm -f conftest.$ac_objext
14993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14994 (eval $ac_compile) 2>conftest.er1
14995 ac_status=$?
14996 grep -v '^ *+' conftest.er1 >conftest.err
14997 rm -f conftest.er1
14998 cat conftest.err >&5
14999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15000 (exit $ac_status); } &&
15001 { ac_try='test -z "$ac_cxx_werror_flag"
15002 || test ! -s conftest.err'
15003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15004 (eval $ac_try) 2>&5
15005 ac_status=$?
15006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15007 (exit $ac_status); }; } &&
15008 { ac_try='test -s conftest.$ac_objext'
15009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15010 (eval $ac_try) 2>&5
15011 ac_status=$?
15012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15013 (exit $ac_status); }; }; then
15014 glibcxx_cv_func__hypotf_use=yes
15015 else
15016 echo "$as_me: failed program was:" >&5
15017 sed 's/^/| /' conftest.$ac_ext >&5
15019 glibcxx_cv_func__hypotf_use=no
15021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15022 ac_ext=c
15023 ac_cpp='$CPP $CPPFLAGS'
15024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15032 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
15033 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
15035 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
15037 for ac_func in _hypotf
15039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15040 echo "$as_me:$LINENO: checking for $ac_func" >&5
15041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15042 if eval "test \"\${$as_ac_var+set}\" = set"; then
15043 echo $ECHO_N "(cached) $ECHO_C" >&6
15044 else
15045 if test x$gcc_no_link = xyes; then
15046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15048 { (exit 1); exit 1; }; }
15050 cat >conftest.$ac_ext <<_ACEOF
15051 /* confdefs.h. */
15052 _ACEOF
15053 cat confdefs.h >>conftest.$ac_ext
15054 cat >>conftest.$ac_ext <<_ACEOF
15055 /* end confdefs.h. */
15056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15058 #define $ac_func innocuous_$ac_func
15060 /* System header to define __stub macros and hopefully few prototypes,
15061 which can conflict with char $ac_func (); below.
15062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15063 <limits.h> exists even on freestanding compilers. */
15065 #ifdef __STDC__
15066 # include <limits.h>
15067 #else
15068 # include <assert.h>
15069 #endif
15071 #undef $ac_func
15073 /* Override any gcc2 internal prototype to avoid an error. */
15074 #ifdef __cplusplus
15075 extern "C"
15077 #endif
15078 /* We use char because int might match the return type of a gcc2
15079 builtin and then its argument prototype would still apply. */
15080 char $ac_func ();
15081 /* The GNU C library defines this for functions which it implements
15082 to always fail with ENOSYS. Some functions are actually named
15083 something starting with __ and the normal name is an alias. */
15084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15085 choke me
15086 #else
15087 char (*f) () = $ac_func;
15088 #endif
15089 #ifdef __cplusplus
15091 #endif
15094 main ()
15096 return f != $ac_func;
15098 return 0;
15100 _ACEOF
15101 rm -f conftest.$ac_objext conftest$ac_exeext
15102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15103 (eval $ac_link) 2>conftest.er1
15104 ac_status=$?
15105 grep -v '^ *+' conftest.er1 >conftest.err
15106 rm -f conftest.er1
15107 cat conftest.err >&5
15108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15109 (exit $ac_status); } &&
15110 { ac_try='test -z "$ac_c_werror_flag"
15111 || test ! -s conftest.err'
15112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15113 (eval $ac_try) 2>&5
15114 ac_status=$?
15115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15116 (exit $ac_status); }; } &&
15117 { ac_try='test -s conftest$ac_exeext'
15118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15119 (eval $ac_try) 2>&5
15120 ac_status=$?
15121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15122 (exit $ac_status); }; }; then
15123 eval "$as_ac_var=yes"
15124 else
15125 echo "$as_me: failed program was:" >&5
15126 sed 's/^/| /' conftest.$ac_ext >&5
15128 eval "$as_ac_var=no"
15130 rm -f conftest.err conftest.$ac_objext \
15131 conftest$ac_exeext conftest.$ac_ext
15133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15135 if test `eval echo '${'$as_ac_var'}'` = yes; then
15136 cat >>confdefs.h <<_ACEOF
15137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15138 _ACEOF
15141 done
15151 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
15152 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
15153 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
15154 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
15155 echo $ECHO_N "(cached) $ECHO_C" >&6
15156 else
15160 ac_ext=cc
15161 ac_cpp='$CXXCPP $CPPFLAGS'
15162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15166 cat >conftest.$ac_ext <<_ACEOF
15167 /* confdefs.h. */
15168 _ACEOF
15169 cat confdefs.h >>conftest.$ac_ext
15170 cat >>conftest.$ac_ext <<_ACEOF
15171 /* end confdefs.h. */
15172 #include <math.h>
15174 main ()
15176 ldexpf(0, 0);
15178 return 0;
15180 _ACEOF
15181 rm -f conftest.$ac_objext
15182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15183 (eval $ac_compile) 2>conftest.er1
15184 ac_status=$?
15185 grep -v '^ *+' conftest.er1 >conftest.err
15186 rm -f conftest.er1
15187 cat conftest.err >&5
15188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189 (exit $ac_status); } &&
15190 { ac_try='test -z "$ac_cxx_werror_flag"
15191 || test ! -s conftest.err'
15192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15193 (eval $ac_try) 2>&5
15194 ac_status=$?
15195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15196 (exit $ac_status); }; } &&
15197 { ac_try='test -s conftest.$ac_objext'
15198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15199 (eval $ac_try) 2>&5
15200 ac_status=$?
15201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15202 (exit $ac_status); }; }; then
15203 glibcxx_cv_func_ldexpf_use=yes
15204 else
15205 echo "$as_me: failed program was:" >&5
15206 sed 's/^/| /' conftest.$ac_ext >&5
15208 glibcxx_cv_func_ldexpf_use=no
15210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15211 ac_ext=c
15212 ac_cpp='$CPP $CPPFLAGS'
15213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15221 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
15222 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
15224 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
15226 for ac_func in ldexpf
15228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15229 echo "$as_me:$LINENO: checking for $ac_func" >&5
15230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15231 if eval "test \"\${$as_ac_var+set}\" = set"; then
15232 echo $ECHO_N "(cached) $ECHO_C" >&6
15233 else
15234 if test x$gcc_no_link = xyes; then
15235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15237 { (exit 1); exit 1; }; }
15239 cat >conftest.$ac_ext <<_ACEOF
15240 /* confdefs.h. */
15241 _ACEOF
15242 cat confdefs.h >>conftest.$ac_ext
15243 cat >>conftest.$ac_ext <<_ACEOF
15244 /* end confdefs.h. */
15245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15247 #define $ac_func innocuous_$ac_func
15249 /* System header to define __stub macros and hopefully few prototypes,
15250 which can conflict with char $ac_func (); below.
15251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15252 <limits.h> exists even on freestanding compilers. */
15254 #ifdef __STDC__
15255 # include <limits.h>
15256 #else
15257 # include <assert.h>
15258 #endif
15260 #undef $ac_func
15262 /* Override any gcc2 internal prototype to avoid an error. */
15263 #ifdef __cplusplus
15264 extern "C"
15266 #endif
15267 /* We use char because int might match the return type of a gcc2
15268 builtin and then its argument prototype would still apply. */
15269 char $ac_func ();
15270 /* The GNU C library defines this for functions which it implements
15271 to always fail with ENOSYS. Some functions are actually named
15272 something starting with __ and the normal name is an alias. */
15273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15274 choke me
15275 #else
15276 char (*f) () = $ac_func;
15277 #endif
15278 #ifdef __cplusplus
15280 #endif
15283 main ()
15285 return f != $ac_func;
15287 return 0;
15289 _ACEOF
15290 rm -f conftest.$ac_objext conftest$ac_exeext
15291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15292 (eval $ac_link) 2>conftest.er1
15293 ac_status=$?
15294 grep -v '^ *+' conftest.er1 >conftest.err
15295 rm -f conftest.er1
15296 cat conftest.err >&5
15297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15298 (exit $ac_status); } &&
15299 { ac_try='test -z "$ac_c_werror_flag"
15300 || test ! -s conftest.err'
15301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15302 (eval $ac_try) 2>&5
15303 ac_status=$?
15304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15305 (exit $ac_status); }; } &&
15306 { ac_try='test -s conftest$ac_exeext'
15307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15308 (eval $ac_try) 2>&5
15309 ac_status=$?
15310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15311 (exit $ac_status); }; }; then
15312 eval "$as_ac_var=yes"
15313 else
15314 echo "$as_me: failed program was:" >&5
15315 sed 's/^/| /' conftest.$ac_ext >&5
15317 eval "$as_ac_var=no"
15319 rm -f conftest.err conftest.$ac_objext \
15320 conftest$ac_exeext conftest.$ac_ext
15322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15324 if test `eval echo '${'$as_ac_var'}'` = yes; then
15325 cat >>confdefs.h <<_ACEOF
15326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15327 _ACEOF
15330 done
15332 else
15334 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
15335 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
15336 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
15337 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
15338 echo $ECHO_N "(cached) $ECHO_C" >&6
15339 else
15343 ac_ext=cc
15344 ac_cpp='$CXXCPP $CPPFLAGS'
15345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15349 cat >conftest.$ac_ext <<_ACEOF
15350 /* confdefs.h. */
15351 _ACEOF
15352 cat confdefs.h >>conftest.$ac_ext
15353 cat >>conftest.$ac_ext <<_ACEOF
15354 /* end confdefs.h. */
15355 #include <math.h>
15357 main ()
15359 _ldexpf(0, 0);
15361 return 0;
15363 _ACEOF
15364 rm -f conftest.$ac_objext
15365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15366 (eval $ac_compile) 2>conftest.er1
15367 ac_status=$?
15368 grep -v '^ *+' conftest.er1 >conftest.err
15369 rm -f conftest.er1
15370 cat conftest.err >&5
15371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15372 (exit $ac_status); } &&
15373 { ac_try='test -z "$ac_cxx_werror_flag"
15374 || test ! -s conftest.err'
15375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15376 (eval $ac_try) 2>&5
15377 ac_status=$?
15378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15379 (exit $ac_status); }; } &&
15380 { ac_try='test -s conftest.$ac_objext'
15381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15382 (eval $ac_try) 2>&5
15383 ac_status=$?
15384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15385 (exit $ac_status); }; }; then
15386 glibcxx_cv_func__ldexpf_use=yes
15387 else
15388 echo "$as_me: failed program was:" >&5
15389 sed 's/^/| /' conftest.$ac_ext >&5
15391 glibcxx_cv_func__ldexpf_use=no
15393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15394 ac_ext=c
15395 ac_cpp='$CPP $CPPFLAGS'
15396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15404 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
15405 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
15407 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
15409 for ac_func in _ldexpf
15411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15412 echo "$as_me:$LINENO: checking for $ac_func" >&5
15413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15414 if eval "test \"\${$as_ac_var+set}\" = set"; then
15415 echo $ECHO_N "(cached) $ECHO_C" >&6
15416 else
15417 if test x$gcc_no_link = xyes; then
15418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15420 { (exit 1); exit 1; }; }
15422 cat >conftest.$ac_ext <<_ACEOF
15423 /* confdefs.h. */
15424 _ACEOF
15425 cat confdefs.h >>conftest.$ac_ext
15426 cat >>conftest.$ac_ext <<_ACEOF
15427 /* end confdefs.h. */
15428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15430 #define $ac_func innocuous_$ac_func
15432 /* System header to define __stub macros and hopefully few prototypes,
15433 which can conflict with char $ac_func (); below.
15434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15435 <limits.h> exists even on freestanding compilers. */
15437 #ifdef __STDC__
15438 # include <limits.h>
15439 #else
15440 # include <assert.h>
15441 #endif
15443 #undef $ac_func
15445 /* Override any gcc2 internal prototype to avoid an error. */
15446 #ifdef __cplusplus
15447 extern "C"
15449 #endif
15450 /* We use char because int might match the return type of a gcc2
15451 builtin and then its argument prototype would still apply. */
15452 char $ac_func ();
15453 /* The GNU C library defines this for functions which it implements
15454 to always fail with ENOSYS. Some functions are actually named
15455 something starting with __ and the normal name is an alias. */
15456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15457 choke me
15458 #else
15459 char (*f) () = $ac_func;
15460 #endif
15461 #ifdef __cplusplus
15463 #endif
15466 main ()
15468 return f != $ac_func;
15470 return 0;
15472 _ACEOF
15473 rm -f conftest.$ac_objext conftest$ac_exeext
15474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15475 (eval $ac_link) 2>conftest.er1
15476 ac_status=$?
15477 grep -v '^ *+' conftest.er1 >conftest.err
15478 rm -f conftest.er1
15479 cat conftest.err >&5
15480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15481 (exit $ac_status); } &&
15482 { ac_try='test -z "$ac_c_werror_flag"
15483 || test ! -s conftest.err'
15484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15485 (eval $ac_try) 2>&5
15486 ac_status=$?
15487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15488 (exit $ac_status); }; } &&
15489 { ac_try='test -s conftest$ac_exeext'
15490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15491 (eval $ac_try) 2>&5
15492 ac_status=$?
15493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15494 (exit $ac_status); }; }; then
15495 eval "$as_ac_var=yes"
15496 else
15497 echo "$as_me: failed program was:" >&5
15498 sed 's/^/| /' conftest.$ac_ext >&5
15500 eval "$as_ac_var=no"
15502 rm -f conftest.err conftest.$ac_objext \
15503 conftest$ac_exeext conftest.$ac_ext
15505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15507 if test `eval echo '${'$as_ac_var'}'` = yes; then
15508 cat >>confdefs.h <<_ACEOF
15509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15510 _ACEOF
15513 done
15523 echo "$as_me:$LINENO: checking for logf declaration" >&5
15524 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15525 if test x${glibcxx_cv_func_logf_use+set} != xset; then
15526 if test "${glibcxx_cv_func_logf_use+set}" = set; then
15527 echo $ECHO_N "(cached) $ECHO_C" >&6
15528 else
15532 ac_ext=cc
15533 ac_cpp='$CXXCPP $CPPFLAGS'
15534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15538 cat >conftest.$ac_ext <<_ACEOF
15539 /* confdefs.h. */
15540 _ACEOF
15541 cat confdefs.h >>conftest.$ac_ext
15542 cat >>conftest.$ac_ext <<_ACEOF
15543 /* end confdefs.h. */
15544 #include <math.h>
15545 #ifdef HAVE_IEEEFP_H
15546 #include <ieeefp.h>
15547 #endif
15550 main ()
15552 logf(0);
15554 return 0;
15556 _ACEOF
15557 rm -f conftest.$ac_objext
15558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15559 (eval $ac_compile) 2>conftest.er1
15560 ac_status=$?
15561 grep -v '^ *+' conftest.er1 >conftest.err
15562 rm -f conftest.er1
15563 cat conftest.err >&5
15564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15565 (exit $ac_status); } &&
15566 { ac_try='test -z "$ac_cxx_werror_flag"
15567 || test ! -s conftest.err'
15568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15569 (eval $ac_try) 2>&5
15570 ac_status=$?
15571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15572 (exit $ac_status); }; } &&
15573 { ac_try='test -s conftest.$ac_objext'
15574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15575 (eval $ac_try) 2>&5
15576 ac_status=$?
15577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15578 (exit $ac_status); }; }; then
15579 glibcxx_cv_func_logf_use=yes
15580 else
15581 echo "$as_me: failed program was:" >&5
15582 sed 's/^/| /' conftest.$ac_ext >&5
15584 glibcxx_cv_func_logf_use=no
15586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15587 ac_ext=c
15588 ac_cpp='$CPP $CPPFLAGS'
15589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15597 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15598 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15600 if test x$glibcxx_cv_func_logf_use = x"yes"; then
15602 for ac_func in logf
15604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15605 echo "$as_me:$LINENO: checking for $ac_func" >&5
15606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15607 if eval "test \"\${$as_ac_var+set}\" = set"; then
15608 echo $ECHO_N "(cached) $ECHO_C" >&6
15609 else
15610 if test x$gcc_no_link = xyes; then
15611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15613 { (exit 1); exit 1; }; }
15615 cat >conftest.$ac_ext <<_ACEOF
15616 /* confdefs.h. */
15617 _ACEOF
15618 cat confdefs.h >>conftest.$ac_ext
15619 cat >>conftest.$ac_ext <<_ACEOF
15620 /* end confdefs.h. */
15621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15623 #define $ac_func innocuous_$ac_func
15625 /* System header to define __stub macros and hopefully few prototypes,
15626 which can conflict with char $ac_func (); below.
15627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15628 <limits.h> exists even on freestanding compilers. */
15630 #ifdef __STDC__
15631 # include <limits.h>
15632 #else
15633 # include <assert.h>
15634 #endif
15636 #undef $ac_func
15638 /* Override any gcc2 internal prototype to avoid an error. */
15639 #ifdef __cplusplus
15640 extern "C"
15642 #endif
15643 /* We use char because int might match the return type of a gcc2
15644 builtin and then its argument prototype would still apply. */
15645 char $ac_func ();
15646 /* The GNU C library defines this for functions which it implements
15647 to always fail with ENOSYS. Some functions are actually named
15648 something starting with __ and the normal name is an alias. */
15649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15650 choke me
15651 #else
15652 char (*f) () = $ac_func;
15653 #endif
15654 #ifdef __cplusplus
15656 #endif
15659 main ()
15661 return f != $ac_func;
15663 return 0;
15665 _ACEOF
15666 rm -f conftest.$ac_objext conftest$ac_exeext
15667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15668 (eval $ac_link) 2>conftest.er1
15669 ac_status=$?
15670 grep -v '^ *+' conftest.er1 >conftest.err
15671 rm -f conftest.er1
15672 cat conftest.err >&5
15673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15674 (exit $ac_status); } &&
15675 { ac_try='test -z "$ac_c_werror_flag"
15676 || test ! -s conftest.err'
15677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15678 (eval $ac_try) 2>&5
15679 ac_status=$?
15680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15681 (exit $ac_status); }; } &&
15682 { ac_try='test -s conftest$ac_exeext'
15683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15684 (eval $ac_try) 2>&5
15685 ac_status=$?
15686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15687 (exit $ac_status); }; }; then
15688 eval "$as_ac_var=yes"
15689 else
15690 echo "$as_me: failed program was:" >&5
15691 sed 's/^/| /' conftest.$ac_ext >&5
15693 eval "$as_ac_var=no"
15695 rm -f conftest.err conftest.$ac_objext \
15696 conftest$ac_exeext conftest.$ac_ext
15698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15700 if test `eval echo '${'$as_ac_var'}'` = yes; then
15701 cat >>confdefs.h <<_ACEOF
15702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15703 _ACEOF
15706 done
15708 else
15710 echo "$as_me:$LINENO: checking for _logf declaration" >&5
15711 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15712 if test x${glibcxx_cv_func__logf_use+set} != xset; then
15713 if test "${glibcxx_cv_func__logf_use+set}" = set; then
15714 echo $ECHO_N "(cached) $ECHO_C" >&6
15715 else
15719 ac_ext=cc
15720 ac_cpp='$CXXCPP $CPPFLAGS'
15721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15725 cat >conftest.$ac_ext <<_ACEOF
15726 /* confdefs.h. */
15727 _ACEOF
15728 cat confdefs.h >>conftest.$ac_ext
15729 cat >>conftest.$ac_ext <<_ACEOF
15730 /* end confdefs.h. */
15731 #include <math.h>
15732 #ifdef HAVE_IEEEFP_H
15733 #include <ieeefp.h>
15734 #endif
15737 main ()
15739 _logf(0);
15741 return 0;
15743 _ACEOF
15744 rm -f conftest.$ac_objext
15745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15746 (eval $ac_compile) 2>conftest.er1
15747 ac_status=$?
15748 grep -v '^ *+' conftest.er1 >conftest.err
15749 rm -f conftest.er1
15750 cat conftest.err >&5
15751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15752 (exit $ac_status); } &&
15753 { ac_try='test -z "$ac_cxx_werror_flag"
15754 || test ! -s conftest.err'
15755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15756 (eval $ac_try) 2>&5
15757 ac_status=$?
15758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15759 (exit $ac_status); }; } &&
15760 { ac_try='test -s conftest.$ac_objext'
15761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15762 (eval $ac_try) 2>&5
15763 ac_status=$?
15764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15765 (exit $ac_status); }; }; then
15766 glibcxx_cv_func__logf_use=yes
15767 else
15768 echo "$as_me: failed program was:" >&5
15769 sed 's/^/| /' conftest.$ac_ext >&5
15771 glibcxx_cv_func__logf_use=no
15773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15774 ac_ext=c
15775 ac_cpp='$CPP $CPPFLAGS'
15776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15784 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
15785 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
15787 if test x$glibcxx_cv_func__logf_use = x"yes"; then
15789 for ac_func in _logf
15791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15792 echo "$as_me:$LINENO: checking for $ac_func" >&5
15793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15794 if eval "test \"\${$as_ac_var+set}\" = set"; then
15795 echo $ECHO_N "(cached) $ECHO_C" >&6
15796 else
15797 if test x$gcc_no_link = xyes; then
15798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15800 { (exit 1); exit 1; }; }
15802 cat >conftest.$ac_ext <<_ACEOF
15803 /* confdefs.h. */
15804 _ACEOF
15805 cat confdefs.h >>conftest.$ac_ext
15806 cat >>conftest.$ac_ext <<_ACEOF
15807 /* end confdefs.h. */
15808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15810 #define $ac_func innocuous_$ac_func
15812 /* System header to define __stub macros and hopefully few prototypes,
15813 which can conflict with char $ac_func (); below.
15814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15815 <limits.h> exists even on freestanding compilers. */
15817 #ifdef __STDC__
15818 # include <limits.h>
15819 #else
15820 # include <assert.h>
15821 #endif
15823 #undef $ac_func
15825 /* Override any gcc2 internal prototype to avoid an error. */
15826 #ifdef __cplusplus
15827 extern "C"
15829 #endif
15830 /* We use char because int might match the return type of a gcc2
15831 builtin and then its argument prototype would still apply. */
15832 char $ac_func ();
15833 /* The GNU C library defines this for functions which it implements
15834 to always fail with ENOSYS. Some functions are actually named
15835 something starting with __ and the normal name is an alias. */
15836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15837 choke me
15838 #else
15839 char (*f) () = $ac_func;
15840 #endif
15841 #ifdef __cplusplus
15843 #endif
15846 main ()
15848 return f != $ac_func;
15850 return 0;
15852 _ACEOF
15853 rm -f conftest.$ac_objext conftest$ac_exeext
15854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15855 (eval $ac_link) 2>conftest.er1
15856 ac_status=$?
15857 grep -v '^ *+' conftest.er1 >conftest.err
15858 rm -f conftest.er1
15859 cat conftest.err >&5
15860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15861 (exit $ac_status); } &&
15862 { ac_try='test -z "$ac_c_werror_flag"
15863 || test ! -s conftest.err'
15864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15865 (eval $ac_try) 2>&5
15866 ac_status=$?
15867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15868 (exit $ac_status); }; } &&
15869 { ac_try='test -s conftest$ac_exeext'
15870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15871 (eval $ac_try) 2>&5
15872 ac_status=$?
15873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15874 (exit $ac_status); }; }; then
15875 eval "$as_ac_var=yes"
15876 else
15877 echo "$as_me: failed program was:" >&5
15878 sed 's/^/| /' conftest.$ac_ext >&5
15880 eval "$as_ac_var=no"
15882 rm -f conftest.err conftest.$ac_objext \
15883 conftest$ac_exeext conftest.$ac_ext
15885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15887 if test `eval echo '${'$as_ac_var'}'` = yes; then
15888 cat >>confdefs.h <<_ACEOF
15889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15890 _ACEOF
15893 done
15903 echo "$as_me:$LINENO: checking for log10f declaration" >&5
15904 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
15905 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
15906 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
15907 echo $ECHO_N "(cached) $ECHO_C" >&6
15908 else
15912 ac_ext=cc
15913 ac_cpp='$CXXCPP $CPPFLAGS'
15914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15918 cat >conftest.$ac_ext <<_ACEOF
15919 /* confdefs.h. */
15920 _ACEOF
15921 cat confdefs.h >>conftest.$ac_ext
15922 cat >>conftest.$ac_ext <<_ACEOF
15923 /* end confdefs.h. */
15924 #include <math.h>
15925 #ifdef HAVE_IEEEFP_H
15926 #include <ieeefp.h>
15927 #endif
15930 main ()
15932 log10f(0);
15934 return 0;
15936 _ACEOF
15937 rm -f conftest.$ac_objext
15938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15939 (eval $ac_compile) 2>conftest.er1
15940 ac_status=$?
15941 grep -v '^ *+' conftest.er1 >conftest.err
15942 rm -f conftest.er1
15943 cat conftest.err >&5
15944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945 (exit $ac_status); } &&
15946 { ac_try='test -z "$ac_cxx_werror_flag"
15947 || test ! -s conftest.err'
15948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15949 (eval $ac_try) 2>&5
15950 ac_status=$?
15951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15952 (exit $ac_status); }; } &&
15953 { ac_try='test -s conftest.$ac_objext'
15954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15955 (eval $ac_try) 2>&5
15956 ac_status=$?
15957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15958 (exit $ac_status); }; }; then
15959 glibcxx_cv_func_log10f_use=yes
15960 else
15961 echo "$as_me: failed program was:" >&5
15962 sed 's/^/| /' conftest.$ac_ext >&5
15964 glibcxx_cv_func_log10f_use=no
15966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15967 ac_ext=c
15968 ac_cpp='$CPP $CPPFLAGS'
15969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15977 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
15978 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
15980 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
15982 for ac_func in log10f
15984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15985 echo "$as_me:$LINENO: checking for $ac_func" >&5
15986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15987 if eval "test \"\${$as_ac_var+set}\" = set"; then
15988 echo $ECHO_N "(cached) $ECHO_C" >&6
15989 else
15990 if test x$gcc_no_link = xyes; then
15991 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15993 { (exit 1); exit 1; }; }
15995 cat >conftest.$ac_ext <<_ACEOF
15996 /* confdefs.h. */
15997 _ACEOF
15998 cat confdefs.h >>conftest.$ac_ext
15999 cat >>conftest.$ac_ext <<_ACEOF
16000 /* end confdefs.h. */
16001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16003 #define $ac_func innocuous_$ac_func
16005 /* System header to define __stub macros and hopefully few prototypes,
16006 which can conflict with char $ac_func (); below.
16007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16008 <limits.h> exists even on freestanding compilers. */
16010 #ifdef __STDC__
16011 # include <limits.h>
16012 #else
16013 # include <assert.h>
16014 #endif
16016 #undef $ac_func
16018 /* Override any gcc2 internal prototype to avoid an error. */
16019 #ifdef __cplusplus
16020 extern "C"
16022 #endif
16023 /* We use char because int might match the return type of a gcc2
16024 builtin and then its argument prototype would still apply. */
16025 char $ac_func ();
16026 /* The GNU C library defines this for functions which it implements
16027 to always fail with ENOSYS. Some functions are actually named
16028 something starting with __ and the normal name is an alias. */
16029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16030 choke me
16031 #else
16032 char (*f) () = $ac_func;
16033 #endif
16034 #ifdef __cplusplus
16036 #endif
16039 main ()
16041 return f != $ac_func;
16043 return 0;
16045 _ACEOF
16046 rm -f conftest.$ac_objext conftest$ac_exeext
16047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16048 (eval $ac_link) 2>conftest.er1
16049 ac_status=$?
16050 grep -v '^ *+' conftest.er1 >conftest.err
16051 rm -f conftest.er1
16052 cat conftest.err >&5
16053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16054 (exit $ac_status); } &&
16055 { ac_try='test -z "$ac_c_werror_flag"
16056 || test ! -s conftest.err'
16057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16058 (eval $ac_try) 2>&5
16059 ac_status=$?
16060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16061 (exit $ac_status); }; } &&
16062 { ac_try='test -s conftest$ac_exeext'
16063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16064 (eval $ac_try) 2>&5
16065 ac_status=$?
16066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16067 (exit $ac_status); }; }; then
16068 eval "$as_ac_var=yes"
16069 else
16070 echo "$as_me: failed program was:" >&5
16071 sed 's/^/| /' conftest.$ac_ext >&5
16073 eval "$as_ac_var=no"
16075 rm -f conftest.err conftest.$ac_objext \
16076 conftest$ac_exeext conftest.$ac_ext
16078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16080 if test `eval echo '${'$as_ac_var'}'` = yes; then
16081 cat >>confdefs.h <<_ACEOF
16082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16083 _ACEOF
16086 done
16088 else
16090 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
16091 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
16092 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
16093 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
16094 echo $ECHO_N "(cached) $ECHO_C" >&6
16095 else
16099 ac_ext=cc
16100 ac_cpp='$CXXCPP $CPPFLAGS'
16101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16105 cat >conftest.$ac_ext <<_ACEOF
16106 /* confdefs.h. */
16107 _ACEOF
16108 cat confdefs.h >>conftest.$ac_ext
16109 cat >>conftest.$ac_ext <<_ACEOF
16110 /* end confdefs.h. */
16111 #include <math.h>
16112 #ifdef HAVE_IEEEFP_H
16113 #include <ieeefp.h>
16114 #endif
16117 main ()
16119 _log10f(0);
16121 return 0;
16123 _ACEOF
16124 rm -f conftest.$ac_objext
16125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16126 (eval $ac_compile) 2>conftest.er1
16127 ac_status=$?
16128 grep -v '^ *+' conftest.er1 >conftest.err
16129 rm -f conftest.er1
16130 cat conftest.err >&5
16131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16132 (exit $ac_status); } &&
16133 { ac_try='test -z "$ac_cxx_werror_flag"
16134 || test ! -s conftest.err'
16135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16136 (eval $ac_try) 2>&5
16137 ac_status=$?
16138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16139 (exit $ac_status); }; } &&
16140 { ac_try='test -s conftest.$ac_objext'
16141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16142 (eval $ac_try) 2>&5
16143 ac_status=$?
16144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16145 (exit $ac_status); }; }; then
16146 glibcxx_cv_func__log10f_use=yes
16147 else
16148 echo "$as_me: failed program was:" >&5
16149 sed 's/^/| /' conftest.$ac_ext >&5
16151 glibcxx_cv_func__log10f_use=no
16153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16154 ac_ext=c
16155 ac_cpp='$CPP $CPPFLAGS'
16156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16164 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
16165 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
16167 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
16169 for ac_func in _log10f
16171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16172 echo "$as_me:$LINENO: checking for $ac_func" >&5
16173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16174 if eval "test \"\${$as_ac_var+set}\" = set"; then
16175 echo $ECHO_N "(cached) $ECHO_C" >&6
16176 else
16177 if test x$gcc_no_link = xyes; then
16178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16180 { (exit 1); exit 1; }; }
16182 cat >conftest.$ac_ext <<_ACEOF
16183 /* confdefs.h. */
16184 _ACEOF
16185 cat confdefs.h >>conftest.$ac_ext
16186 cat >>conftest.$ac_ext <<_ACEOF
16187 /* end confdefs.h. */
16188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16190 #define $ac_func innocuous_$ac_func
16192 /* System header to define __stub macros and hopefully few prototypes,
16193 which can conflict with char $ac_func (); below.
16194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16195 <limits.h> exists even on freestanding compilers. */
16197 #ifdef __STDC__
16198 # include <limits.h>
16199 #else
16200 # include <assert.h>
16201 #endif
16203 #undef $ac_func
16205 /* Override any gcc2 internal prototype to avoid an error. */
16206 #ifdef __cplusplus
16207 extern "C"
16209 #endif
16210 /* We use char because int might match the return type of a gcc2
16211 builtin and then its argument prototype would still apply. */
16212 char $ac_func ();
16213 /* The GNU C library defines this for functions which it implements
16214 to always fail with ENOSYS. Some functions are actually named
16215 something starting with __ and the normal name is an alias. */
16216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16217 choke me
16218 #else
16219 char (*f) () = $ac_func;
16220 #endif
16221 #ifdef __cplusplus
16223 #endif
16226 main ()
16228 return f != $ac_func;
16230 return 0;
16232 _ACEOF
16233 rm -f conftest.$ac_objext conftest$ac_exeext
16234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16235 (eval $ac_link) 2>conftest.er1
16236 ac_status=$?
16237 grep -v '^ *+' conftest.er1 >conftest.err
16238 rm -f conftest.er1
16239 cat conftest.err >&5
16240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16241 (exit $ac_status); } &&
16242 { ac_try='test -z "$ac_c_werror_flag"
16243 || test ! -s conftest.err'
16244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16245 (eval $ac_try) 2>&5
16246 ac_status=$?
16247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16248 (exit $ac_status); }; } &&
16249 { ac_try='test -s conftest$ac_exeext'
16250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16251 (eval $ac_try) 2>&5
16252 ac_status=$?
16253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16254 (exit $ac_status); }; }; then
16255 eval "$as_ac_var=yes"
16256 else
16257 echo "$as_me: failed program was:" >&5
16258 sed 's/^/| /' conftest.$ac_ext >&5
16260 eval "$as_ac_var=no"
16262 rm -f conftest.err conftest.$ac_objext \
16263 conftest$ac_exeext conftest.$ac_ext
16265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16267 if test `eval echo '${'$as_ac_var'}'` = yes; then
16268 cat >>confdefs.h <<_ACEOF
16269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16270 _ACEOF
16273 done
16283 echo "$as_me:$LINENO: checking for modff declaration" >&5
16284 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
16285 if test x${glibcxx_cv_func_modff_use+set} != xset; then
16286 if test "${glibcxx_cv_func_modff_use+set}" = set; then
16287 echo $ECHO_N "(cached) $ECHO_C" >&6
16288 else
16292 ac_ext=cc
16293 ac_cpp='$CXXCPP $CPPFLAGS'
16294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16298 cat >conftest.$ac_ext <<_ACEOF
16299 /* confdefs.h. */
16300 _ACEOF
16301 cat confdefs.h >>conftest.$ac_ext
16302 cat >>conftest.$ac_ext <<_ACEOF
16303 /* end confdefs.h. */
16304 #include <math.h>
16306 main ()
16308 modff(0, 0);
16310 return 0;
16312 _ACEOF
16313 rm -f conftest.$ac_objext
16314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16315 (eval $ac_compile) 2>conftest.er1
16316 ac_status=$?
16317 grep -v '^ *+' conftest.er1 >conftest.err
16318 rm -f conftest.er1
16319 cat conftest.err >&5
16320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16321 (exit $ac_status); } &&
16322 { ac_try='test -z "$ac_cxx_werror_flag"
16323 || test ! -s conftest.err'
16324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16325 (eval $ac_try) 2>&5
16326 ac_status=$?
16327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16328 (exit $ac_status); }; } &&
16329 { ac_try='test -s conftest.$ac_objext'
16330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16331 (eval $ac_try) 2>&5
16332 ac_status=$?
16333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16334 (exit $ac_status); }; }; then
16335 glibcxx_cv_func_modff_use=yes
16336 else
16337 echo "$as_me: failed program was:" >&5
16338 sed 's/^/| /' conftest.$ac_ext >&5
16340 glibcxx_cv_func_modff_use=no
16342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16343 ac_ext=c
16344 ac_cpp='$CPP $CPPFLAGS'
16345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16353 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
16354 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
16356 if test x$glibcxx_cv_func_modff_use = x"yes"; then
16358 for ac_func in modff
16360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16361 echo "$as_me:$LINENO: checking for $ac_func" >&5
16362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16363 if eval "test \"\${$as_ac_var+set}\" = set"; then
16364 echo $ECHO_N "(cached) $ECHO_C" >&6
16365 else
16366 if test x$gcc_no_link = xyes; then
16367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16369 { (exit 1); exit 1; }; }
16371 cat >conftest.$ac_ext <<_ACEOF
16372 /* confdefs.h. */
16373 _ACEOF
16374 cat confdefs.h >>conftest.$ac_ext
16375 cat >>conftest.$ac_ext <<_ACEOF
16376 /* end confdefs.h. */
16377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16379 #define $ac_func innocuous_$ac_func
16381 /* System header to define __stub macros and hopefully few prototypes,
16382 which can conflict with char $ac_func (); below.
16383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16384 <limits.h> exists even on freestanding compilers. */
16386 #ifdef __STDC__
16387 # include <limits.h>
16388 #else
16389 # include <assert.h>
16390 #endif
16392 #undef $ac_func
16394 /* Override any gcc2 internal prototype to avoid an error. */
16395 #ifdef __cplusplus
16396 extern "C"
16398 #endif
16399 /* We use char because int might match the return type of a gcc2
16400 builtin and then its argument prototype would still apply. */
16401 char $ac_func ();
16402 /* The GNU C library defines this for functions which it implements
16403 to always fail with ENOSYS. Some functions are actually named
16404 something starting with __ and the normal name is an alias. */
16405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16406 choke me
16407 #else
16408 char (*f) () = $ac_func;
16409 #endif
16410 #ifdef __cplusplus
16412 #endif
16415 main ()
16417 return f != $ac_func;
16419 return 0;
16421 _ACEOF
16422 rm -f conftest.$ac_objext conftest$ac_exeext
16423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16424 (eval $ac_link) 2>conftest.er1
16425 ac_status=$?
16426 grep -v '^ *+' conftest.er1 >conftest.err
16427 rm -f conftest.er1
16428 cat conftest.err >&5
16429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16430 (exit $ac_status); } &&
16431 { ac_try='test -z "$ac_c_werror_flag"
16432 || test ! -s conftest.err'
16433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16434 (eval $ac_try) 2>&5
16435 ac_status=$?
16436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16437 (exit $ac_status); }; } &&
16438 { ac_try='test -s conftest$ac_exeext'
16439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16440 (eval $ac_try) 2>&5
16441 ac_status=$?
16442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16443 (exit $ac_status); }; }; then
16444 eval "$as_ac_var=yes"
16445 else
16446 echo "$as_me: failed program was:" >&5
16447 sed 's/^/| /' conftest.$ac_ext >&5
16449 eval "$as_ac_var=no"
16451 rm -f conftest.err conftest.$ac_objext \
16452 conftest$ac_exeext conftest.$ac_ext
16454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16456 if test `eval echo '${'$as_ac_var'}'` = yes; then
16457 cat >>confdefs.h <<_ACEOF
16458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16459 _ACEOF
16462 done
16464 else
16466 echo "$as_me:$LINENO: checking for _modff declaration" >&5
16467 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
16468 if test x${glibcxx_cv_func__modff_use+set} != xset; then
16469 if test "${glibcxx_cv_func__modff_use+set}" = set; then
16470 echo $ECHO_N "(cached) $ECHO_C" >&6
16471 else
16475 ac_ext=cc
16476 ac_cpp='$CXXCPP $CPPFLAGS'
16477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16481 cat >conftest.$ac_ext <<_ACEOF
16482 /* confdefs.h. */
16483 _ACEOF
16484 cat confdefs.h >>conftest.$ac_ext
16485 cat >>conftest.$ac_ext <<_ACEOF
16486 /* end confdefs.h. */
16487 #include <math.h>
16489 main ()
16491 _modff(0, 0);
16493 return 0;
16495 _ACEOF
16496 rm -f conftest.$ac_objext
16497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16498 (eval $ac_compile) 2>conftest.er1
16499 ac_status=$?
16500 grep -v '^ *+' conftest.er1 >conftest.err
16501 rm -f conftest.er1
16502 cat conftest.err >&5
16503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16504 (exit $ac_status); } &&
16505 { ac_try='test -z "$ac_cxx_werror_flag"
16506 || test ! -s conftest.err'
16507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16508 (eval $ac_try) 2>&5
16509 ac_status=$?
16510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16511 (exit $ac_status); }; } &&
16512 { ac_try='test -s conftest.$ac_objext'
16513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16514 (eval $ac_try) 2>&5
16515 ac_status=$?
16516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16517 (exit $ac_status); }; }; then
16518 glibcxx_cv_func__modff_use=yes
16519 else
16520 echo "$as_me: failed program was:" >&5
16521 sed 's/^/| /' conftest.$ac_ext >&5
16523 glibcxx_cv_func__modff_use=no
16525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16526 ac_ext=c
16527 ac_cpp='$CPP $CPPFLAGS'
16528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16536 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16537 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16539 if test x$glibcxx_cv_func__modff_use = x"yes"; then
16541 for ac_func in _modff
16543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16544 echo "$as_me:$LINENO: checking for $ac_func" >&5
16545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16546 if eval "test \"\${$as_ac_var+set}\" = set"; then
16547 echo $ECHO_N "(cached) $ECHO_C" >&6
16548 else
16549 if test x$gcc_no_link = xyes; then
16550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16552 { (exit 1); exit 1; }; }
16554 cat >conftest.$ac_ext <<_ACEOF
16555 /* confdefs.h. */
16556 _ACEOF
16557 cat confdefs.h >>conftest.$ac_ext
16558 cat >>conftest.$ac_ext <<_ACEOF
16559 /* end confdefs.h. */
16560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16562 #define $ac_func innocuous_$ac_func
16564 /* System header to define __stub macros and hopefully few prototypes,
16565 which can conflict with char $ac_func (); below.
16566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16567 <limits.h> exists even on freestanding compilers. */
16569 #ifdef __STDC__
16570 # include <limits.h>
16571 #else
16572 # include <assert.h>
16573 #endif
16575 #undef $ac_func
16577 /* Override any gcc2 internal prototype to avoid an error. */
16578 #ifdef __cplusplus
16579 extern "C"
16581 #endif
16582 /* We use char because int might match the return type of a gcc2
16583 builtin and then its argument prototype would still apply. */
16584 char $ac_func ();
16585 /* The GNU C library defines this for functions which it implements
16586 to always fail with ENOSYS. Some functions are actually named
16587 something starting with __ and the normal name is an alias. */
16588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16589 choke me
16590 #else
16591 char (*f) () = $ac_func;
16592 #endif
16593 #ifdef __cplusplus
16595 #endif
16598 main ()
16600 return f != $ac_func;
16602 return 0;
16604 _ACEOF
16605 rm -f conftest.$ac_objext conftest$ac_exeext
16606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16607 (eval $ac_link) 2>conftest.er1
16608 ac_status=$?
16609 grep -v '^ *+' conftest.er1 >conftest.err
16610 rm -f conftest.er1
16611 cat conftest.err >&5
16612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16613 (exit $ac_status); } &&
16614 { ac_try='test -z "$ac_c_werror_flag"
16615 || test ! -s conftest.err'
16616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16617 (eval $ac_try) 2>&5
16618 ac_status=$?
16619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16620 (exit $ac_status); }; } &&
16621 { ac_try='test -s conftest$ac_exeext'
16622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16623 (eval $ac_try) 2>&5
16624 ac_status=$?
16625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16626 (exit $ac_status); }; }; then
16627 eval "$as_ac_var=yes"
16628 else
16629 echo "$as_me: failed program was:" >&5
16630 sed 's/^/| /' conftest.$ac_ext >&5
16632 eval "$as_ac_var=no"
16634 rm -f conftest.err conftest.$ac_objext \
16635 conftest$ac_exeext conftest.$ac_ext
16637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16639 if test `eval echo '${'$as_ac_var'}'` = yes; then
16640 cat >>confdefs.h <<_ACEOF
16641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16642 _ACEOF
16645 done
16655 echo "$as_me:$LINENO: checking for modf declaration" >&5
16656 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
16657 if test x${glibcxx_cv_func_modf_use+set} != xset; then
16658 if test "${glibcxx_cv_func_modf_use+set}" = set; then
16659 echo $ECHO_N "(cached) $ECHO_C" >&6
16660 else
16664 ac_ext=cc
16665 ac_cpp='$CXXCPP $CPPFLAGS'
16666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16670 cat >conftest.$ac_ext <<_ACEOF
16671 /* confdefs.h. */
16672 _ACEOF
16673 cat confdefs.h >>conftest.$ac_ext
16674 cat >>conftest.$ac_ext <<_ACEOF
16675 /* end confdefs.h. */
16676 #include <math.h>
16678 main ()
16680 modf(0, 0);
16682 return 0;
16684 _ACEOF
16685 rm -f conftest.$ac_objext
16686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16687 (eval $ac_compile) 2>conftest.er1
16688 ac_status=$?
16689 grep -v '^ *+' conftest.er1 >conftest.err
16690 rm -f conftest.er1
16691 cat conftest.err >&5
16692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16693 (exit $ac_status); } &&
16694 { ac_try='test -z "$ac_cxx_werror_flag"
16695 || test ! -s conftest.err'
16696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16697 (eval $ac_try) 2>&5
16698 ac_status=$?
16699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16700 (exit $ac_status); }; } &&
16701 { ac_try='test -s conftest.$ac_objext'
16702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16703 (eval $ac_try) 2>&5
16704 ac_status=$?
16705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16706 (exit $ac_status); }; }; then
16707 glibcxx_cv_func_modf_use=yes
16708 else
16709 echo "$as_me: failed program was:" >&5
16710 sed 's/^/| /' conftest.$ac_ext >&5
16712 glibcxx_cv_func_modf_use=no
16714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16715 ac_ext=c
16716 ac_cpp='$CPP $CPPFLAGS'
16717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16725 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
16726 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
16728 if test x$glibcxx_cv_func_modf_use = x"yes"; then
16730 for ac_func in modf
16732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16733 echo "$as_me:$LINENO: checking for $ac_func" >&5
16734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16735 if eval "test \"\${$as_ac_var+set}\" = set"; then
16736 echo $ECHO_N "(cached) $ECHO_C" >&6
16737 else
16738 if test x$gcc_no_link = xyes; then
16739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16741 { (exit 1); exit 1; }; }
16743 cat >conftest.$ac_ext <<_ACEOF
16744 /* confdefs.h. */
16745 _ACEOF
16746 cat confdefs.h >>conftest.$ac_ext
16747 cat >>conftest.$ac_ext <<_ACEOF
16748 /* end confdefs.h. */
16749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16751 #define $ac_func innocuous_$ac_func
16753 /* System header to define __stub macros and hopefully few prototypes,
16754 which can conflict with char $ac_func (); below.
16755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16756 <limits.h> exists even on freestanding compilers. */
16758 #ifdef __STDC__
16759 # include <limits.h>
16760 #else
16761 # include <assert.h>
16762 #endif
16764 #undef $ac_func
16766 /* Override any gcc2 internal prototype to avoid an error. */
16767 #ifdef __cplusplus
16768 extern "C"
16770 #endif
16771 /* We use char because int might match the return type of a gcc2
16772 builtin and then its argument prototype would still apply. */
16773 char $ac_func ();
16774 /* The GNU C library defines this for functions which it implements
16775 to always fail with ENOSYS. Some functions are actually named
16776 something starting with __ and the normal name is an alias. */
16777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16778 choke me
16779 #else
16780 char (*f) () = $ac_func;
16781 #endif
16782 #ifdef __cplusplus
16784 #endif
16787 main ()
16789 return f != $ac_func;
16791 return 0;
16793 _ACEOF
16794 rm -f conftest.$ac_objext conftest$ac_exeext
16795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16796 (eval $ac_link) 2>conftest.er1
16797 ac_status=$?
16798 grep -v '^ *+' conftest.er1 >conftest.err
16799 rm -f conftest.er1
16800 cat conftest.err >&5
16801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16802 (exit $ac_status); } &&
16803 { ac_try='test -z "$ac_c_werror_flag"
16804 || test ! -s conftest.err'
16805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16806 (eval $ac_try) 2>&5
16807 ac_status=$?
16808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16809 (exit $ac_status); }; } &&
16810 { ac_try='test -s conftest$ac_exeext'
16811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16812 (eval $ac_try) 2>&5
16813 ac_status=$?
16814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16815 (exit $ac_status); }; }; then
16816 eval "$as_ac_var=yes"
16817 else
16818 echo "$as_me: failed program was:" >&5
16819 sed 's/^/| /' conftest.$ac_ext >&5
16821 eval "$as_ac_var=no"
16823 rm -f conftest.err conftest.$ac_objext \
16824 conftest$ac_exeext conftest.$ac_ext
16826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16828 if test `eval echo '${'$as_ac_var'}'` = yes; then
16829 cat >>confdefs.h <<_ACEOF
16830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16831 _ACEOF
16834 done
16836 else
16838 echo "$as_me:$LINENO: checking for _modf declaration" >&5
16839 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
16840 if test x${glibcxx_cv_func__modf_use+set} != xset; then
16841 if test "${glibcxx_cv_func__modf_use+set}" = set; then
16842 echo $ECHO_N "(cached) $ECHO_C" >&6
16843 else
16847 ac_ext=cc
16848 ac_cpp='$CXXCPP $CPPFLAGS'
16849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16853 cat >conftest.$ac_ext <<_ACEOF
16854 /* confdefs.h. */
16855 _ACEOF
16856 cat confdefs.h >>conftest.$ac_ext
16857 cat >>conftest.$ac_ext <<_ACEOF
16858 /* end confdefs.h. */
16859 #include <math.h>
16861 main ()
16863 _modf(0, 0);
16865 return 0;
16867 _ACEOF
16868 rm -f conftest.$ac_objext
16869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16870 (eval $ac_compile) 2>conftest.er1
16871 ac_status=$?
16872 grep -v '^ *+' conftest.er1 >conftest.err
16873 rm -f conftest.er1
16874 cat conftest.err >&5
16875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16876 (exit $ac_status); } &&
16877 { ac_try='test -z "$ac_cxx_werror_flag"
16878 || test ! -s conftest.err'
16879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16880 (eval $ac_try) 2>&5
16881 ac_status=$?
16882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16883 (exit $ac_status); }; } &&
16884 { ac_try='test -s conftest.$ac_objext'
16885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16886 (eval $ac_try) 2>&5
16887 ac_status=$?
16888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16889 (exit $ac_status); }; }; then
16890 glibcxx_cv_func__modf_use=yes
16891 else
16892 echo "$as_me: failed program was:" >&5
16893 sed 's/^/| /' conftest.$ac_ext >&5
16895 glibcxx_cv_func__modf_use=no
16897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16898 ac_ext=c
16899 ac_cpp='$CPP $CPPFLAGS'
16900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16908 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
16909 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
16911 if test x$glibcxx_cv_func__modf_use = x"yes"; then
16913 for ac_func in _modf
16915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16916 echo "$as_me:$LINENO: checking for $ac_func" >&5
16917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16918 if eval "test \"\${$as_ac_var+set}\" = set"; then
16919 echo $ECHO_N "(cached) $ECHO_C" >&6
16920 else
16921 if test x$gcc_no_link = xyes; then
16922 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16924 { (exit 1); exit 1; }; }
16926 cat >conftest.$ac_ext <<_ACEOF
16927 /* confdefs.h. */
16928 _ACEOF
16929 cat confdefs.h >>conftest.$ac_ext
16930 cat >>conftest.$ac_ext <<_ACEOF
16931 /* end confdefs.h. */
16932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16934 #define $ac_func innocuous_$ac_func
16936 /* System header to define __stub macros and hopefully few prototypes,
16937 which can conflict with char $ac_func (); below.
16938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16939 <limits.h> exists even on freestanding compilers. */
16941 #ifdef __STDC__
16942 # include <limits.h>
16943 #else
16944 # include <assert.h>
16945 #endif
16947 #undef $ac_func
16949 /* Override any gcc2 internal prototype to avoid an error. */
16950 #ifdef __cplusplus
16951 extern "C"
16953 #endif
16954 /* We use char because int might match the return type of a gcc2
16955 builtin and then its argument prototype would still apply. */
16956 char $ac_func ();
16957 /* The GNU C library defines this for functions which it implements
16958 to always fail with ENOSYS. Some functions are actually named
16959 something starting with __ and the normal name is an alias. */
16960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16961 choke me
16962 #else
16963 char (*f) () = $ac_func;
16964 #endif
16965 #ifdef __cplusplus
16967 #endif
16970 main ()
16972 return f != $ac_func;
16974 return 0;
16976 _ACEOF
16977 rm -f conftest.$ac_objext conftest$ac_exeext
16978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16979 (eval $ac_link) 2>conftest.er1
16980 ac_status=$?
16981 grep -v '^ *+' conftest.er1 >conftest.err
16982 rm -f conftest.er1
16983 cat conftest.err >&5
16984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16985 (exit $ac_status); } &&
16986 { ac_try='test -z "$ac_c_werror_flag"
16987 || test ! -s conftest.err'
16988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16989 (eval $ac_try) 2>&5
16990 ac_status=$?
16991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16992 (exit $ac_status); }; } &&
16993 { ac_try='test -s conftest$ac_exeext'
16994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16995 (eval $ac_try) 2>&5
16996 ac_status=$?
16997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16998 (exit $ac_status); }; }; then
16999 eval "$as_ac_var=yes"
17000 else
17001 echo "$as_me: failed program was:" >&5
17002 sed 's/^/| /' conftest.$ac_ext >&5
17004 eval "$as_ac_var=no"
17006 rm -f conftest.err conftest.$ac_objext \
17007 conftest$ac_exeext conftest.$ac_ext
17009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17011 if test `eval echo '${'$as_ac_var'}'` = yes; then
17012 cat >>confdefs.h <<_ACEOF
17013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17014 _ACEOF
17017 done
17027 echo "$as_me:$LINENO: checking for powf declaration" >&5
17028 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
17029 if test x${glibcxx_cv_func_powf_use+set} != xset; then
17030 if test "${glibcxx_cv_func_powf_use+set}" = set; then
17031 echo $ECHO_N "(cached) $ECHO_C" >&6
17032 else
17036 ac_ext=cc
17037 ac_cpp='$CXXCPP $CPPFLAGS'
17038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17042 cat >conftest.$ac_ext <<_ACEOF
17043 /* confdefs.h. */
17044 _ACEOF
17045 cat confdefs.h >>conftest.$ac_ext
17046 cat >>conftest.$ac_ext <<_ACEOF
17047 /* end confdefs.h. */
17048 #include <math.h>
17050 main ()
17052 powf(0, 0);
17054 return 0;
17056 _ACEOF
17057 rm -f conftest.$ac_objext
17058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17059 (eval $ac_compile) 2>conftest.er1
17060 ac_status=$?
17061 grep -v '^ *+' conftest.er1 >conftest.err
17062 rm -f conftest.er1
17063 cat conftest.err >&5
17064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17065 (exit $ac_status); } &&
17066 { ac_try='test -z "$ac_cxx_werror_flag"
17067 || test ! -s conftest.err'
17068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17069 (eval $ac_try) 2>&5
17070 ac_status=$?
17071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17072 (exit $ac_status); }; } &&
17073 { ac_try='test -s conftest.$ac_objext'
17074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17075 (eval $ac_try) 2>&5
17076 ac_status=$?
17077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17078 (exit $ac_status); }; }; then
17079 glibcxx_cv_func_powf_use=yes
17080 else
17081 echo "$as_me: failed program was:" >&5
17082 sed 's/^/| /' conftest.$ac_ext >&5
17084 glibcxx_cv_func_powf_use=no
17086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17087 ac_ext=c
17088 ac_cpp='$CPP $CPPFLAGS'
17089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17097 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
17098 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
17100 if test x$glibcxx_cv_func_powf_use = x"yes"; then
17102 for ac_func in powf
17104 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17105 echo "$as_me:$LINENO: checking for $ac_func" >&5
17106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17107 if eval "test \"\${$as_ac_var+set}\" = set"; then
17108 echo $ECHO_N "(cached) $ECHO_C" >&6
17109 else
17110 if test x$gcc_no_link = xyes; then
17111 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17113 { (exit 1); exit 1; }; }
17115 cat >conftest.$ac_ext <<_ACEOF
17116 /* confdefs.h. */
17117 _ACEOF
17118 cat confdefs.h >>conftest.$ac_ext
17119 cat >>conftest.$ac_ext <<_ACEOF
17120 /* end confdefs.h. */
17121 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17122 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17123 #define $ac_func innocuous_$ac_func
17125 /* System header to define __stub macros and hopefully few prototypes,
17126 which can conflict with char $ac_func (); below.
17127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17128 <limits.h> exists even on freestanding compilers. */
17130 #ifdef __STDC__
17131 # include <limits.h>
17132 #else
17133 # include <assert.h>
17134 #endif
17136 #undef $ac_func
17138 /* Override any gcc2 internal prototype to avoid an error. */
17139 #ifdef __cplusplus
17140 extern "C"
17142 #endif
17143 /* We use char because int might match the return type of a gcc2
17144 builtin and then its argument prototype would still apply. */
17145 char $ac_func ();
17146 /* The GNU C library defines this for functions which it implements
17147 to always fail with ENOSYS. Some functions are actually named
17148 something starting with __ and the normal name is an alias. */
17149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17150 choke me
17151 #else
17152 char (*f) () = $ac_func;
17153 #endif
17154 #ifdef __cplusplus
17156 #endif
17159 main ()
17161 return f != $ac_func;
17163 return 0;
17165 _ACEOF
17166 rm -f conftest.$ac_objext conftest$ac_exeext
17167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17168 (eval $ac_link) 2>conftest.er1
17169 ac_status=$?
17170 grep -v '^ *+' conftest.er1 >conftest.err
17171 rm -f conftest.er1
17172 cat conftest.err >&5
17173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17174 (exit $ac_status); } &&
17175 { ac_try='test -z "$ac_c_werror_flag"
17176 || test ! -s conftest.err'
17177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17178 (eval $ac_try) 2>&5
17179 ac_status=$?
17180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17181 (exit $ac_status); }; } &&
17182 { ac_try='test -s conftest$ac_exeext'
17183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17184 (eval $ac_try) 2>&5
17185 ac_status=$?
17186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17187 (exit $ac_status); }; }; then
17188 eval "$as_ac_var=yes"
17189 else
17190 echo "$as_me: failed program was:" >&5
17191 sed 's/^/| /' conftest.$ac_ext >&5
17193 eval "$as_ac_var=no"
17195 rm -f conftest.err conftest.$ac_objext \
17196 conftest$ac_exeext conftest.$ac_ext
17198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17200 if test `eval echo '${'$as_ac_var'}'` = yes; then
17201 cat >>confdefs.h <<_ACEOF
17202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17203 _ACEOF
17206 done
17208 else
17210 echo "$as_me:$LINENO: checking for _powf declaration" >&5
17211 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
17212 if test x${glibcxx_cv_func__powf_use+set} != xset; then
17213 if test "${glibcxx_cv_func__powf_use+set}" = set; then
17214 echo $ECHO_N "(cached) $ECHO_C" >&6
17215 else
17219 ac_ext=cc
17220 ac_cpp='$CXXCPP $CPPFLAGS'
17221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17225 cat >conftest.$ac_ext <<_ACEOF
17226 /* confdefs.h. */
17227 _ACEOF
17228 cat confdefs.h >>conftest.$ac_ext
17229 cat >>conftest.$ac_ext <<_ACEOF
17230 /* end confdefs.h. */
17231 #include <math.h>
17233 main ()
17235 _powf(0, 0);
17237 return 0;
17239 _ACEOF
17240 rm -f conftest.$ac_objext
17241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17242 (eval $ac_compile) 2>conftest.er1
17243 ac_status=$?
17244 grep -v '^ *+' conftest.er1 >conftest.err
17245 rm -f conftest.er1
17246 cat conftest.err >&5
17247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17248 (exit $ac_status); } &&
17249 { ac_try='test -z "$ac_cxx_werror_flag"
17250 || test ! -s conftest.err'
17251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17252 (eval $ac_try) 2>&5
17253 ac_status=$?
17254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17255 (exit $ac_status); }; } &&
17256 { ac_try='test -s conftest.$ac_objext'
17257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17258 (eval $ac_try) 2>&5
17259 ac_status=$?
17260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17261 (exit $ac_status); }; }; then
17262 glibcxx_cv_func__powf_use=yes
17263 else
17264 echo "$as_me: failed program was:" >&5
17265 sed 's/^/| /' conftest.$ac_ext >&5
17267 glibcxx_cv_func__powf_use=no
17269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17270 ac_ext=c
17271 ac_cpp='$CPP $CPPFLAGS'
17272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17280 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
17281 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
17283 if test x$glibcxx_cv_func__powf_use = x"yes"; then
17285 for ac_func in _powf
17287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17288 echo "$as_me:$LINENO: checking for $ac_func" >&5
17289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17290 if eval "test \"\${$as_ac_var+set}\" = set"; then
17291 echo $ECHO_N "(cached) $ECHO_C" >&6
17292 else
17293 if test x$gcc_no_link = xyes; then
17294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17296 { (exit 1); exit 1; }; }
17298 cat >conftest.$ac_ext <<_ACEOF
17299 /* confdefs.h. */
17300 _ACEOF
17301 cat confdefs.h >>conftest.$ac_ext
17302 cat >>conftest.$ac_ext <<_ACEOF
17303 /* end confdefs.h. */
17304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17306 #define $ac_func innocuous_$ac_func
17308 /* System header to define __stub macros and hopefully few prototypes,
17309 which can conflict with char $ac_func (); below.
17310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17311 <limits.h> exists even on freestanding compilers. */
17313 #ifdef __STDC__
17314 # include <limits.h>
17315 #else
17316 # include <assert.h>
17317 #endif
17319 #undef $ac_func
17321 /* Override any gcc2 internal prototype to avoid an error. */
17322 #ifdef __cplusplus
17323 extern "C"
17325 #endif
17326 /* We use char because int might match the return type of a gcc2
17327 builtin and then its argument prototype would still apply. */
17328 char $ac_func ();
17329 /* The GNU C library defines this for functions which it implements
17330 to always fail with ENOSYS. Some functions are actually named
17331 something starting with __ and the normal name is an alias. */
17332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17333 choke me
17334 #else
17335 char (*f) () = $ac_func;
17336 #endif
17337 #ifdef __cplusplus
17339 #endif
17342 main ()
17344 return f != $ac_func;
17346 return 0;
17348 _ACEOF
17349 rm -f conftest.$ac_objext conftest$ac_exeext
17350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17351 (eval $ac_link) 2>conftest.er1
17352 ac_status=$?
17353 grep -v '^ *+' conftest.er1 >conftest.err
17354 rm -f conftest.er1
17355 cat conftest.err >&5
17356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17357 (exit $ac_status); } &&
17358 { ac_try='test -z "$ac_c_werror_flag"
17359 || test ! -s conftest.err'
17360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17361 (eval $ac_try) 2>&5
17362 ac_status=$?
17363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17364 (exit $ac_status); }; } &&
17365 { ac_try='test -s conftest$ac_exeext'
17366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17367 (eval $ac_try) 2>&5
17368 ac_status=$?
17369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17370 (exit $ac_status); }; }; then
17371 eval "$as_ac_var=yes"
17372 else
17373 echo "$as_me: failed program was:" >&5
17374 sed 's/^/| /' conftest.$ac_ext >&5
17376 eval "$as_ac_var=no"
17378 rm -f conftest.err conftest.$ac_objext \
17379 conftest$ac_exeext conftest.$ac_ext
17381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17383 if test `eval echo '${'$as_ac_var'}'` = yes; then
17384 cat >>confdefs.h <<_ACEOF
17385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17386 _ACEOF
17389 done
17399 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
17400 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
17401 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
17402 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
17403 echo $ECHO_N "(cached) $ECHO_C" >&6
17404 else
17408 ac_ext=cc
17409 ac_cpp='$CXXCPP $CPPFLAGS'
17410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17414 cat >conftest.$ac_ext <<_ACEOF
17415 /* confdefs.h. */
17416 _ACEOF
17417 cat confdefs.h >>conftest.$ac_ext
17418 cat >>conftest.$ac_ext <<_ACEOF
17419 /* end confdefs.h. */
17420 #include <math.h>
17421 #ifdef HAVE_IEEEFP_H
17422 #include <ieeefp.h>
17423 #endif
17426 main ()
17428 sqrtf(0);
17430 return 0;
17432 _ACEOF
17433 rm -f conftest.$ac_objext
17434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17435 (eval $ac_compile) 2>conftest.er1
17436 ac_status=$?
17437 grep -v '^ *+' conftest.er1 >conftest.err
17438 rm -f conftest.er1
17439 cat conftest.err >&5
17440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17441 (exit $ac_status); } &&
17442 { ac_try='test -z "$ac_cxx_werror_flag"
17443 || test ! -s conftest.err'
17444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17445 (eval $ac_try) 2>&5
17446 ac_status=$?
17447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17448 (exit $ac_status); }; } &&
17449 { ac_try='test -s conftest.$ac_objext'
17450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17451 (eval $ac_try) 2>&5
17452 ac_status=$?
17453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17454 (exit $ac_status); }; }; then
17455 glibcxx_cv_func_sqrtf_use=yes
17456 else
17457 echo "$as_me: failed program was:" >&5
17458 sed 's/^/| /' conftest.$ac_ext >&5
17460 glibcxx_cv_func_sqrtf_use=no
17462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17463 ac_ext=c
17464 ac_cpp='$CPP $CPPFLAGS'
17465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17473 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
17474 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
17476 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
17478 for ac_func in sqrtf
17480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17481 echo "$as_me:$LINENO: checking for $ac_func" >&5
17482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17483 if eval "test \"\${$as_ac_var+set}\" = set"; then
17484 echo $ECHO_N "(cached) $ECHO_C" >&6
17485 else
17486 if test x$gcc_no_link = xyes; then
17487 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17489 { (exit 1); exit 1; }; }
17491 cat >conftest.$ac_ext <<_ACEOF
17492 /* confdefs.h. */
17493 _ACEOF
17494 cat confdefs.h >>conftest.$ac_ext
17495 cat >>conftest.$ac_ext <<_ACEOF
17496 /* end confdefs.h. */
17497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17499 #define $ac_func innocuous_$ac_func
17501 /* System header to define __stub macros and hopefully few prototypes,
17502 which can conflict with char $ac_func (); below.
17503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17504 <limits.h> exists even on freestanding compilers. */
17506 #ifdef __STDC__
17507 # include <limits.h>
17508 #else
17509 # include <assert.h>
17510 #endif
17512 #undef $ac_func
17514 /* Override any gcc2 internal prototype to avoid an error. */
17515 #ifdef __cplusplus
17516 extern "C"
17518 #endif
17519 /* We use char because int might match the return type of a gcc2
17520 builtin and then its argument prototype would still apply. */
17521 char $ac_func ();
17522 /* The GNU C library defines this for functions which it implements
17523 to always fail with ENOSYS. Some functions are actually named
17524 something starting with __ and the normal name is an alias. */
17525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17526 choke me
17527 #else
17528 char (*f) () = $ac_func;
17529 #endif
17530 #ifdef __cplusplus
17532 #endif
17535 main ()
17537 return f != $ac_func;
17539 return 0;
17541 _ACEOF
17542 rm -f conftest.$ac_objext conftest$ac_exeext
17543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17544 (eval $ac_link) 2>conftest.er1
17545 ac_status=$?
17546 grep -v '^ *+' conftest.er1 >conftest.err
17547 rm -f conftest.er1
17548 cat conftest.err >&5
17549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17550 (exit $ac_status); } &&
17551 { ac_try='test -z "$ac_c_werror_flag"
17552 || test ! -s conftest.err'
17553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17554 (eval $ac_try) 2>&5
17555 ac_status=$?
17556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17557 (exit $ac_status); }; } &&
17558 { ac_try='test -s conftest$ac_exeext'
17559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17560 (eval $ac_try) 2>&5
17561 ac_status=$?
17562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17563 (exit $ac_status); }; }; then
17564 eval "$as_ac_var=yes"
17565 else
17566 echo "$as_me: failed program was:" >&5
17567 sed 's/^/| /' conftest.$ac_ext >&5
17569 eval "$as_ac_var=no"
17571 rm -f conftest.err conftest.$ac_objext \
17572 conftest$ac_exeext conftest.$ac_ext
17574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17576 if test `eval echo '${'$as_ac_var'}'` = yes; then
17577 cat >>confdefs.h <<_ACEOF
17578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17579 _ACEOF
17582 done
17584 else
17586 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
17587 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
17588 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
17589 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
17590 echo $ECHO_N "(cached) $ECHO_C" >&6
17591 else
17595 ac_ext=cc
17596 ac_cpp='$CXXCPP $CPPFLAGS'
17597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17601 cat >conftest.$ac_ext <<_ACEOF
17602 /* confdefs.h. */
17603 _ACEOF
17604 cat confdefs.h >>conftest.$ac_ext
17605 cat >>conftest.$ac_ext <<_ACEOF
17606 /* end confdefs.h. */
17607 #include <math.h>
17608 #ifdef HAVE_IEEEFP_H
17609 #include <ieeefp.h>
17610 #endif
17613 main ()
17615 _sqrtf(0);
17617 return 0;
17619 _ACEOF
17620 rm -f conftest.$ac_objext
17621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17622 (eval $ac_compile) 2>conftest.er1
17623 ac_status=$?
17624 grep -v '^ *+' conftest.er1 >conftest.err
17625 rm -f conftest.er1
17626 cat conftest.err >&5
17627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17628 (exit $ac_status); } &&
17629 { ac_try='test -z "$ac_cxx_werror_flag"
17630 || test ! -s conftest.err'
17631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17632 (eval $ac_try) 2>&5
17633 ac_status=$?
17634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17635 (exit $ac_status); }; } &&
17636 { ac_try='test -s conftest.$ac_objext'
17637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17638 (eval $ac_try) 2>&5
17639 ac_status=$?
17640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17641 (exit $ac_status); }; }; then
17642 glibcxx_cv_func__sqrtf_use=yes
17643 else
17644 echo "$as_me: failed program was:" >&5
17645 sed 's/^/| /' conftest.$ac_ext >&5
17647 glibcxx_cv_func__sqrtf_use=no
17649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17650 ac_ext=c
17651 ac_cpp='$CPP $CPPFLAGS'
17652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17660 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
17661 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
17663 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
17665 for ac_func in _sqrtf
17667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17668 echo "$as_me:$LINENO: checking for $ac_func" >&5
17669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17670 if eval "test \"\${$as_ac_var+set}\" = set"; then
17671 echo $ECHO_N "(cached) $ECHO_C" >&6
17672 else
17673 if test x$gcc_no_link = xyes; then
17674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17676 { (exit 1); exit 1; }; }
17678 cat >conftest.$ac_ext <<_ACEOF
17679 /* confdefs.h. */
17680 _ACEOF
17681 cat confdefs.h >>conftest.$ac_ext
17682 cat >>conftest.$ac_ext <<_ACEOF
17683 /* end confdefs.h. */
17684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17686 #define $ac_func innocuous_$ac_func
17688 /* System header to define __stub macros and hopefully few prototypes,
17689 which can conflict with char $ac_func (); below.
17690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17691 <limits.h> exists even on freestanding compilers. */
17693 #ifdef __STDC__
17694 # include <limits.h>
17695 #else
17696 # include <assert.h>
17697 #endif
17699 #undef $ac_func
17701 /* Override any gcc2 internal prototype to avoid an error. */
17702 #ifdef __cplusplus
17703 extern "C"
17705 #endif
17706 /* We use char because int might match the return type of a gcc2
17707 builtin and then its argument prototype would still apply. */
17708 char $ac_func ();
17709 /* The GNU C library defines this for functions which it implements
17710 to always fail with ENOSYS. Some functions are actually named
17711 something starting with __ and the normal name is an alias. */
17712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17713 choke me
17714 #else
17715 char (*f) () = $ac_func;
17716 #endif
17717 #ifdef __cplusplus
17719 #endif
17722 main ()
17724 return f != $ac_func;
17726 return 0;
17728 _ACEOF
17729 rm -f conftest.$ac_objext conftest$ac_exeext
17730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17731 (eval $ac_link) 2>conftest.er1
17732 ac_status=$?
17733 grep -v '^ *+' conftest.er1 >conftest.err
17734 rm -f conftest.er1
17735 cat conftest.err >&5
17736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17737 (exit $ac_status); } &&
17738 { ac_try='test -z "$ac_c_werror_flag"
17739 || test ! -s conftest.err'
17740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17741 (eval $ac_try) 2>&5
17742 ac_status=$?
17743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17744 (exit $ac_status); }; } &&
17745 { ac_try='test -s conftest$ac_exeext'
17746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17747 (eval $ac_try) 2>&5
17748 ac_status=$?
17749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17750 (exit $ac_status); }; }; then
17751 eval "$as_ac_var=yes"
17752 else
17753 echo "$as_me: failed program was:" >&5
17754 sed 's/^/| /' conftest.$ac_ext >&5
17756 eval "$as_ac_var=no"
17758 rm -f conftest.err conftest.$ac_objext \
17759 conftest$ac_exeext conftest.$ac_ext
17761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17763 if test `eval echo '${'$as_ac_var'}'` = yes; then
17764 cat >>confdefs.h <<_ACEOF
17765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17766 _ACEOF
17769 done
17779 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
17780 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
17781 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
17782 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
17783 echo $ECHO_N "(cached) $ECHO_C" >&6
17784 else
17788 ac_ext=cc
17789 ac_cpp='$CXXCPP $CPPFLAGS'
17790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17794 cat >conftest.$ac_ext <<_ACEOF
17795 /* confdefs.h. */
17796 _ACEOF
17797 cat confdefs.h >>conftest.$ac_ext
17798 cat >>conftest.$ac_ext <<_ACEOF
17799 /* end confdefs.h. */
17800 #include <math.h>
17802 main ()
17804 sincosf(0, 0, 0);
17806 return 0;
17808 _ACEOF
17809 rm -f conftest.$ac_objext
17810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17811 (eval $ac_compile) 2>conftest.er1
17812 ac_status=$?
17813 grep -v '^ *+' conftest.er1 >conftest.err
17814 rm -f conftest.er1
17815 cat conftest.err >&5
17816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17817 (exit $ac_status); } &&
17818 { ac_try='test -z "$ac_cxx_werror_flag"
17819 || test ! -s conftest.err'
17820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17821 (eval $ac_try) 2>&5
17822 ac_status=$?
17823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17824 (exit $ac_status); }; } &&
17825 { ac_try='test -s conftest.$ac_objext'
17826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17827 (eval $ac_try) 2>&5
17828 ac_status=$?
17829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17830 (exit $ac_status); }; }; then
17831 glibcxx_cv_func_sincosf_use=yes
17832 else
17833 echo "$as_me: failed program was:" >&5
17834 sed 's/^/| /' conftest.$ac_ext >&5
17836 glibcxx_cv_func_sincosf_use=no
17838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17839 ac_ext=c
17840 ac_cpp='$CPP $CPPFLAGS'
17841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17849 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
17850 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
17852 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
17854 for ac_func in sincosf
17856 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17857 echo "$as_me:$LINENO: checking for $ac_func" >&5
17858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17859 if eval "test \"\${$as_ac_var+set}\" = set"; then
17860 echo $ECHO_N "(cached) $ECHO_C" >&6
17861 else
17862 if test x$gcc_no_link = xyes; then
17863 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17865 { (exit 1); exit 1; }; }
17867 cat >conftest.$ac_ext <<_ACEOF
17868 /* confdefs.h. */
17869 _ACEOF
17870 cat confdefs.h >>conftest.$ac_ext
17871 cat >>conftest.$ac_ext <<_ACEOF
17872 /* end confdefs.h. */
17873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17875 #define $ac_func innocuous_$ac_func
17877 /* System header to define __stub macros and hopefully few prototypes,
17878 which can conflict with char $ac_func (); below.
17879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17880 <limits.h> exists even on freestanding compilers. */
17882 #ifdef __STDC__
17883 # include <limits.h>
17884 #else
17885 # include <assert.h>
17886 #endif
17888 #undef $ac_func
17890 /* Override any gcc2 internal prototype to avoid an error. */
17891 #ifdef __cplusplus
17892 extern "C"
17894 #endif
17895 /* We use char because int might match the return type of a gcc2
17896 builtin and then its argument prototype would still apply. */
17897 char $ac_func ();
17898 /* The GNU C library defines this for functions which it implements
17899 to always fail with ENOSYS. Some functions are actually named
17900 something starting with __ and the normal name is an alias. */
17901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17902 choke me
17903 #else
17904 char (*f) () = $ac_func;
17905 #endif
17906 #ifdef __cplusplus
17908 #endif
17911 main ()
17913 return f != $ac_func;
17915 return 0;
17917 _ACEOF
17918 rm -f conftest.$ac_objext conftest$ac_exeext
17919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17920 (eval $ac_link) 2>conftest.er1
17921 ac_status=$?
17922 grep -v '^ *+' conftest.er1 >conftest.err
17923 rm -f conftest.er1
17924 cat conftest.err >&5
17925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17926 (exit $ac_status); } &&
17927 { ac_try='test -z "$ac_c_werror_flag"
17928 || test ! -s conftest.err'
17929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17930 (eval $ac_try) 2>&5
17931 ac_status=$?
17932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17933 (exit $ac_status); }; } &&
17934 { ac_try='test -s conftest$ac_exeext'
17935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17936 (eval $ac_try) 2>&5
17937 ac_status=$?
17938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17939 (exit $ac_status); }; }; then
17940 eval "$as_ac_var=yes"
17941 else
17942 echo "$as_me: failed program was:" >&5
17943 sed 's/^/| /' conftest.$ac_ext >&5
17945 eval "$as_ac_var=no"
17947 rm -f conftest.err conftest.$ac_objext \
17948 conftest$ac_exeext conftest.$ac_ext
17950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17952 if test `eval echo '${'$as_ac_var'}'` = yes; then
17953 cat >>confdefs.h <<_ACEOF
17954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17955 _ACEOF
17958 done
17960 else
17962 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
17963 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
17964 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
17965 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
17966 echo $ECHO_N "(cached) $ECHO_C" >&6
17967 else
17971 ac_ext=cc
17972 ac_cpp='$CXXCPP $CPPFLAGS'
17973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17977 cat >conftest.$ac_ext <<_ACEOF
17978 /* confdefs.h. */
17979 _ACEOF
17980 cat confdefs.h >>conftest.$ac_ext
17981 cat >>conftest.$ac_ext <<_ACEOF
17982 /* end confdefs.h. */
17983 #include <math.h>
17985 main ()
17987 _sincosf(0, 0, 0);
17989 return 0;
17991 _ACEOF
17992 rm -f conftest.$ac_objext
17993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17994 (eval $ac_compile) 2>conftest.er1
17995 ac_status=$?
17996 grep -v '^ *+' conftest.er1 >conftest.err
17997 rm -f conftest.er1
17998 cat conftest.err >&5
17999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18000 (exit $ac_status); } &&
18001 { ac_try='test -z "$ac_cxx_werror_flag"
18002 || test ! -s conftest.err'
18003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18004 (eval $ac_try) 2>&5
18005 ac_status=$?
18006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18007 (exit $ac_status); }; } &&
18008 { ac_try='test -s conftest.$ac_objext'
18009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18010 (eval $ac_try) 2>&5
18011 ac_status=$?
18012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18013 (exit $ac_status); }; }; then
18014 glibcxx_cv_func__sincosf_use=yes
18015 else
18016 echo "$as_me: failed program was:" >&5
18017 sed 's/^/| /' conftest.$ac_ext >&5
18019 glibcxx_cv_func__sincosf_use=no
18021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18022 ac_ext=c
18023 ac_cpp='$CPP $CPPFLAGS'
18024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18032 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
18033 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
18035 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
18037 for ac_func in _sincosf
18039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18040 echo "$as_me:$LINENO: checking for $ac_func" >&5
18041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18042 if eval "test \"\${$as_ac_var+set}\" = set"; then
18043 echo $ECHO_N "(cached) $ECHO_C" >&6
18044 else
18045 if test x$gcc_no_link = xyes; then
18046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18048 { (exit 1); exit 1; }; }
18050 cat >conftest.$ac_ext <<_ACEOF
18051 /* confdefs.h. */
18052 _ACEOF
18053 cat confdefs.h >>conftest.$ac_ext
18054 cat >>conftest.$ac_ext <<_ACEOF
18055 /* end confdefs.h. */
18056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18058 #define $ac_func innocuous_$ac_func
18060 /* System header to define __stub macros and hopefully few prototypes,
18061 which can conflict with char $ac_func (); below.
18062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18063 <limits.h> exists even on freestanding compilers. */
18065 #ifdef __STDC__
18066 # include <limits.h>
18067 #else
18068 # include <assert.h>
18069 #endif
18071 #undef $ac_func
18073 /* Override any gcc2 internal prototype to avoid an error. */
18074 #ifdef __cplusplus
18075 extern "C"
18077 #endif
18078 /* We use char because int might match the return type of a gcc2
18079 builtin and then its argument prototype would still apply. */
18080 char $ac_func ();
18081 /* The GNU C library defines this for functions which it implements
18082 to always fail with ENOSYS. Some functions are actually named
18083 something starting with __ and the normal name is an alias. */
18084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18085 choke me
18086 #else
18087 char (*f) () = $ac_func;
18088 #endif
18089 #ifdef __cplusplus
18091 #endif
18094 main ()
18096 return f != $ac_func;
18098 return 0;
18100 _ACEOF
18101 rm -f conftest.$ac_objext conftest$ac_exeext
18102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18103 (eval $ac_link) 2>conftest.er1
18104 ac_status=$?
18105 grep -v '^ *+' conftest.er1 >conftest.err
18106 rm -f conftest.er1
18107 cat conftest.err >&5
18108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18109 (exit $ac_status); } &&
18110 { ac_try='test -z "$ac_c_werror_flag"
18111 || test ! -s conftest.err'
18112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18113 (eval $ac_try) 2>&5
18114 ac_status=$?
18115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18116 (exit $ac_status); }; } &&
18117 { ac_try='test -s conftest$ac_exeext'
18118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18119 (eval $ac_try) 2>&5
18120 ac_status=$?
18121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18122 (exit $ac_status); }; }; then
18123 eval "$as_ac_var=yes"
18124 else
18125 echo "$as_me: failed program was:" >&5
18126 sed 's/^/| /' conftest.$ac_ext >&5
18128 eval "$as_ac_var=no"
18130 rm -f conftest.err conftest.$ac_objext \
18131 conftest$ac_exeext conftest.$ac_ext
18133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18135 if test `eval echo '${'$as_ac_var'}'` = yes; then
18136 cat >>confdefs.h <<_ACEOF
18137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18138 _ACEOF
18141 done
18151 echo "$as_me:$LINENO: checking for finitef declaration" >&5
18152 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
18153 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
18154 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
18155 echo $ECHO_N "(cached) $ECHO_C" >&6
18156 else
18160 ac_ext=cc
18161 ac_cpp='$CXXCPP $CPPFLAGS'
18162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18166 cat >conftest.$ac_ext <<_ACEOF
18167 /* confdefs.h. */
18168 _ACEOF
18169 cat confdefs.h >>conftest.$ac_ext
18170 cat >>conftest.$ac_ext <<_ACEOF
18171 /* end confdefs.h. */
18172 #include <math.h>
18173 #ifdef HAVE_IEEEFP_H
18174 #include <ieeefp.h>
18175 #endif
18178 main ()
18180 finitef(0);
18182 return 0;
18184 _ACEOF
18185 rm -f conftest.$ac_objext
18186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18187 (eval $ac_compile) 2>conftest.er1
18188 ac_status=$?
18189 grep -v '^ *+' conftest.er1 >conftest.err
18190 rm -f conftest.er1
18191 cat conftest.err >&5
18192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18193 (exit $ac_status); } &&
18194 { ac_try='test -z "$ac_cxx_werror_flag"
18195 || test ! -s conftest.err'
18196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18197 (eval $ac_try) 2>&5
18198 ac_status=$?
18199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18200 (exit $ac_status); }; } &&
18201 { ac_try='test -s conftest.$ac_objext'
18202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18203 (eval $ac_try) 2>&5
18204 ac_status=$?
18205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18206 (exit $ac_status); }; }; then
18207 glibcxx_cv_func_finitef_use=yes
18208 else
18209 echo "$as_me: failed program was:" >&5
18210 sed 's/^/| /' conftest.$ac_ext >&5
18212 glibcxx_cv_func_finitef_use=no
18214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18215 ac_ext=c
18216 ac_cpp='$CPP $CPPFLAGS'
18217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18225 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
18226 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
18228 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
18230 for ac_func in finitef
18232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18233 echo "$as_me:$LINENO: checking for $ac_func" >&5
18234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18235 if eval "test \"\${$as_ac_var+set}\" = set"; then
18236 echo $ECHO_N "(cached) $ECHO_C" >&6
18237 else
18238 if test x$gcc_no_link = xyes; then
18239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18241 { (exit 1); exit 1; }; }
18243 cat >conftest.$ac_ext <<_ACEOF
18244 /* confdefs.h. */
18245 _ACEOF
18246 cat confdefs.h >>conftest.$ac_ext
18247 cat >>conftest.$ac_ext <<_ACEOF
18248 /* end confdefs.h. */
18249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18251 #define $ac_func innocuous_$ac_func
18253 /* System header to define __stub macros and hopefully few prototypes,
18254 which can conflict with char $ac_func (); below.
18255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18256 <limits.h> exists even on freestanding compilers. */
18258 #ifdef __STDC__
18259 # include <limits.h>
18260 #else
18261 # include <assert.h>
18262 #endif
18264 #undef $ac_func
18266 /* Override any gcc2 internal prototype to avoid an error. */
18267 #ifdef __cplusplus
18268 extern "C"
18270 #endif
18271 /* We use char because int might match the return type of a gcc2
18272 builtin and then its argument prototype would still apply. */
18273 char $ac_func ();
18274 /* The GNU C library defines this for functions which it implements
18275 to always fail with ENOSYS. Some functions are actually named
18276 something starting with __ and the normal name is an alias. */
18277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18278 choke me
18279 #else
18280 char (*f) () = $ac_func;
18281 #endif
18282 #ifdef __cplusplus
18284 #endif
18287 main ()
18289 return f != $ac_func;
18291 return 0;
18293 _ACEOF
18294 rm -f conftest.$ac_objext conftest$ac_exeext
18295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18296 (eval $ac_link) 2>conftest.er1
18297 ac_status=$?
18298 grep -v '^ *+' conftest.er1 >conftest.err
18299 rm -f conftest.er1
18300 cat conftest.err >&5
18301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18302 (exit $ac_status); } &&
18303 { ac_try='test -z "$ac_c_werror_flag"
18304 || test ! -s conftest.err'
18305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18306 (eval $ac_try) 2>&5
18307 ac_status=$?
18308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18309 (exit $ac_status); }; } &&
18310 { ac_try='test -s conftest$ac_exeext'
18311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18312 (eval $ac_try) 2>&5
18313 ac_status=$?
18314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18315 (exit $ac_status); }; }; then
18316 eval "$as_ac_var=yes"
18317 else
18318 echo "$as_me: failed program was:" >&5
18319 sed 's/^/| /' conftest.$ac_ext >&5
18321 eval "$as_ac_var=no"
18323 rm -f conftest.err conftest.$ac_objext \
18324 conftest$ac_exeext conftest.$ac_ext
18326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18328 if test `eval echo '${'$as_ac_var'}'` = yes; then
18329 cat >>confdefs.h <<_ACEOF
18330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18331 _ACEOF
18334 done
18336 else
18338 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
18339 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
18340 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
18341 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
18342 echo $ECHO_N "(cached) $ECHO_C" >&6
18343 else
18347 ac_ext=cc
18348 ac_cpp='$CXXCPP $CPPFLAGS'
18349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18353 cat >conftest.$ac_ext <<_ACEOF
18354 /* confdefs.h. */
18355 _ACEOF
18356 cat confdefs.h >>conftest.$ac_ext
18357 cat >>conftest.$ac_ext <<_ACEOF
18358 /* end confdefs.h. */
18359 #include <math.h>
18360 #ifdef HAVE_IEEEFP_H
18361 #include <ieeefp.h>
18362 #endif
18365 main ()
18367 _finitef(0);
18369 return 0;
18371 _ACEOF
18372 rm -f conftest.$ac_objext
18373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18374 (eval $ac_compile) 2>conftest.er1
18375 ac_status=$?
18376 grep -v '^ *+' conftest.er1 >conftest.err
18377 rm -f conftest.er1
18378 cat conftest.err >&5
18379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18380 (exit $ac_status); } &&
18381 { ac_try='test -z "$ac_cxx_werror_flag"
18382 || test ! -s conftest.err'
18383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18384 (eval $ac_try) 2>&5
18385 ac_status=$?
18386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18387 (exit $ac_status); }; } &&
18388 { ac_try='test -s conftest.$ac_objext'
18389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18390 (eval $ac_try) 2>&5
18391 ac_status=$?
18392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18393 (exit $ac_status); }; }; then
18394 glibcxx_cv_func__finitef_use=yes
18395 else
18396 echo "$as_me: failed program was:" >&5
18397 sed 's/^/| /' conftest.$ac_ext >&5
18399 glibcxx_cv_func__finitef_use=no
18401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18402 ac_ext=c
18403 ac_cpp='$CPP $CPPFLAGS'
18404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18412 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
18413 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
18415 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
18417 for ac_func in _finitef
18419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18420 echo "$as_me:$LINENO: checking for $ac_func" >&5
18421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18422 if eval "test \"\${$as_ac_var+set}\" = set"; then
18423 echo $ECHO_N "(cached) $ECHO_C" >&6
18424 else
18425 if test x$gcc_no_link = xyes; then
18426 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18428 { (exit 1); exit 1; }; }
18430 cat >conftest.$ac_ext <<_ACEOF
18431 /* confdefs.h. */
18432 _ACEOF
18433 cat confdefs.h >>conftest.$ac_ext
18434 cat >>conftest.$ac_ext <<_ACEOF
18435 /* end confdefs.h. */
18436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18438 #define $ac_func innocuous_$ac_func
18440 /* System header to define __stub macros and hopefully few prototypes,
18441 which can conflict with char $ac_func (); below.
18442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18443 <limits.h> exists even on freestanding compilers. */
18445 #ifdef __STDC__
18446 # include <limits.h>
18447 #else
18448 # include <assert.h>
18449 #endif
18451 #undef $ac_func
18453 /* Override any gcc2 internal prototype to avoid an error. */
18454 #ifdef __cplusplus
18455 extern "C"
18457 #endif
18458 /* We use char because int might match the return type of a gcc2
18459 builtin and then its argument prototype would still apply. */
18460 char $ac_func ();
18461 /* The GNU C library defines this for functions which it implements
18462 to always fail with ENOSYS. Some functions are actually named
18463 something starting with __ and the normal name is an alias. */
18464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18465 choke me
18466 #else
18467 char (*f) () = $ac_func;
18468 #endif
18469 #ifdef __cplusplus
18471 #endif
18474 main ()
18476 return f != $ac_func;
18478 return 0;
18480 _ACEOF
18481 rm -f conftest.$ac_objext conftest$ac_exeext
18482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18483 (eval $ac_link) 2>conftest.er1
18484 ac_status=$?
18485 grep -v '^ *+' conftest.er1 >conftest.err
18486 rm -f conftest.er1
18487 cat conftest.err >&5
18488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18489 (exit $ac_status); } &&
18490 { ac_try='test -z "$ac_c_werror_flag"
18491 || test ! -s conftest.err'
18492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18493 (eval $ac_try) 2>&5
18494 ac_status=$?
18495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18496 (exit $ac_status); }; } &&
18497 { ac_try='test -s conftest$ac_exeext'
18498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18499 (eval $ac_try) 2>&5
18500 ac_status=$?
18501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18502 (exit $ac_status); }; }; then
18503 eval "$as_ac_var=yes"
18504 else
18505 echo "$as_me: failed program was:" >&5
18506 sed 's/^/| /' conftest.$ac_ext >&5
18508 eval "$as_ac_var=no"
18510 rm -f conftest.err conftest.$ac_objext \
18511 conftest$ac_exeext conftest.$ac_ext
18513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18515 if test `eval echo '${'$as_ac_var'}'` = yes; then
18516 cat >>confdefs.h <<_ACEOF
18517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18518 _ACEOF
18521 done
18531 echo "$as_me:$LINENO: checking for long double trig functions" >&5
18532 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
18533 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
18534 echo $ECHO_N "(cached) $ECHO_C" >&6
18535 else
18539 ac_ext=cc
18540 ac_cpp='$CXXCPP $CPPFLAGS'
18541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18545 cat >conftest.$ac_ext <<_ACEOF
18546 /* confdefs.h. */
18547 _ACEOF
18548 cat confdefs.h >>conftest.$ac_ext
18549 cat >>conftest.$ac_ext <<_ACEOF
18550 /* end confdefs.h. */
18551 #include <math.h>
18553 main ()
18555 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
18557 return 0;
18559 _ACEOF
18560 rm -f conftest.$ac_objext
18561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18562 (eval $ac_compile) 2>conftest.er1
18563 ac_status=$?
18564 grep -v '^ *+' conftest.er1 >conftest.err
18565 rm -f conftest.er1
18566 cat conftest.err >&5
18567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18568 (exit $ac_status); } &&
18569 { ac_try='test -z "$ac_cxx_werror_flag"
18570 || test ! -s conftest.err'
18571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18572 (eval $ac_try) 2>&5
18573 ac_status=$?
18574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18575 (exit $ac_status); }; } &&
18576 { ac_try='test -s conftest.$ac_objext'
18577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18578 (eval $ac_try) 2>&5
18579 ac_status=$?
18580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18581 (exit $ac_status); }; }; then
18582 glibcxx_cv_func_long_double_trig_use=yes
18583 else
18584 echo "$as_me: failed program was:" >&5
18585 sed 's/^/| /' conftest.$ac_ext >&5
18587 glibcxx_cv_func_long_double_trig_use=no
18589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18590 ac_ext=c
18591 ac_cpp='$CPP $CPPFLAGS'
18592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18598 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
18599 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
18600 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
18610 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
18612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18613 echo "$as_me:$LINENO: checking for $ac_func" >&5
18614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18615 if eval "test \"\${$as_ac_var+set}\" = set"; then
18616 echo $ECHO_N "(cached) $ECHO_C" >&6
18617 else
18618 if test x$gcc_no_link = xyes; then
18619 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18621 { (exit 1); exit 1; }; }
18623 cat >conftest.$ac_ext <<_ACEOF
18624 /* confdefs.h. */
18625 _ACEOF
18626 cat confdefs.h >>conftest.$ac_ext
18627 cat >>conftest.$ac_ext <<_ACEOF
18628 /* end confdefs.h. */
18629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18631 #define $ac_func innocuous_$ac_func
18633 /* System header to define __stub macros and hopefully few prototypes,
18634 which can conflict with char $ac_func (); below.
18635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18636 <limits.h> exists even on freestanding compilers. */
18638 #ifdef __STDC__
18639 # include <limits.h>
18640 #else
18641 # include <assert.h>
18642 #endif
18644 #undef $ac_func
18646 /* Override any gcc2 internal prototype to avoid an error. */
18647 #ifdef __cplusplus
18648 extern "C"
18650 #endif
18651 /* We use char because int might match the return type of a gcc2
18652 builtin and then its argument prototype would still apply. */
18653 char $ac_func ();
18654 /* The GNU C library defines this for functions which it implements
18655 to always fail with ENOSYS. Some functions are actually named
18656 something starting with __ and the normal name is an alias. */
18657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18658 choke me
18659 #else
18660 char (*f) () = $ac_func;
18661 #endif
18662 #ifdef __cplusplus
18664 #endif
18667 main ()
18669 return f != $ac_func;
18671 return 0;
18673 _ACEOF
18674 rm -f conftest.$ac_objext conftest$ac_exeext
18675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18676 (eval $ac_link) 2>conftest.er1
18677 ac_status=$?
18678 grep -v '^ *+' conftest.er1 >conftest.err
18679 rm -f conftest.er1
18680 cat conftest.err >&5
18681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18682 (exit $ac_status); } &&
18683 { ac_try='test -z "$ac_c_werror_flag"
18684 || test ! -s conftest.err'
18685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18686 (eval $ac_try) 2>&5
18687 ac_status=$?
18688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18689 (exit $ac_status); }; } &&
18690 { ac_try='test -s conftest$ac_exeext'
18691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18692 (eval $ac_try) 2>&5
18693 ac_status=$?
18694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18695 (exit $ac_status); }; }; then
18696 eval "$as_ac_var=yes"
18697 else
18698 echo "$as_me: failed program was:" >&5
18699 sed 's/^/| /' conftest.$ac_ext >&5
18701 eval "$as_ac_var=no"
18703 rm -f conftest.err conftest.$ac_objext \
18704 conftest$ac_exeext conftest.$ac_ext
18706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18708 if test `eval echo '${'$as_ac_var'}'` = yes; then
18709 cat >>confdefs.h <<_ACEOF
18710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18711 _ACEOF
18714 done
18716 else
18717 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
18718 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
18719 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
18720 echo $ECHO_N "(cached) $ECHO_C" >&6
18721 else
18725 ac_ext=cc
18726 ac_cpp='$CXXCPP $CPPFLAGS'
18727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18731 cat >conftest.$ac_ext <<_ACEOF
18732 /* confdefs.h. */
18733 _ACEOF
18734 cat confdefs.h >>conftest.$ac_ext
18735 cat >>conftest.$ac_ext <<_ACEOF
18736 /* end confdefs.h. */
18737 #include <math.h>
18739 main ()
18741 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
18743 return 0;
18745 _ACEOF
18746 rm -f conftest.$ac_objext
18747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18748 (eval $ac_compile) 2>conftest.er1
18749 ac_status=$?
18750 grep -v '^ *+' conftest.er1 >conftest.err
18751 rm -f conftest.er1
18752 cat conftest.err >&5
18753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18754 (exit $ac_status); } &&
18755 { ac_try='test -z "$ac_cxx_werror_flag"
18756 || test ! -s conftest.err'
18757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18758 (eval $ac_try) 2>&5
18759 ac_status=$?
18760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18761 (exit $ac_status); }; } &&
18762 { ac_try='test -s conftest.$ac_objext'
18763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18764 (eval $ac_try) 2>&5
18765 ac_status=$?
18766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18767 (exit $ac_status); }; }; then
18768 glibcxx_cv_func__long_double_trig_use=yes
18769 else
18770 echo "$as_me: failed program was:" >&5
18771 sed 's/^/| /' conftest.$ac_ext >&5
18773 glibcxx_cv_func__long_double_trig_use=no
18775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18776 ac_ext=c
18777 ac_cpp='$CPP $CPPFLAGS'
18778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18784 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
18785 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
18786 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
18796 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
18798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18799 echo "$as_me:$LINENO: checking for $ac_func" >&5
18800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18801 if eval "test \"\${$as_ac_var+set}\" = set"; then
18802 echo $ECHO_N "(cached) $ECHO_C" >&6
18803 else
18804 if test x$gcc_no_link = xyes; then
18805 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18807 { (exit 1); exit 1; }; }
18809 cat >conftest.$ac_ext <<_ACEOF
18810 /* confdefs.h. */
18811 _ACEOF
18812 cat confdefs.h >>conftest.$ac_ext
18813 cat >>conftest.$ac_ext <<_ACEOF
18814 /* end confdefs.h. */
18815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18817 #define $ac_func innocuous_$ac_func
18819 /* System header to define __stub macros and hopefully few prototypes,
18820 which can conflict with char $ac_func (); below.
18821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18822 <limits.h> exists even on freestanding compilers. */
18824 #ifdef __STDC__
18825 # include <limits.h>
18826 #else
18827 # include <assert.h>
18828 #endif
18830 #undef $ac_func
18832 /* Override any gcc2 internal prototype to avoid an error. */
18833 #ifdef __cplusplus
18834 extern "C"
18836 #endif
18837 /* We use char because int might match the return type of a gcc2
18838 builtin and then its argument prototype would still apply. */
18839 char $ac_func ();
18840 /* The GNU C library defines this for functions which it implements
18841 to always fail with ENOSYS. Some functions are actually named
18842 something starting with __ and the normal name is an alias. */
18843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18844 choke me
18845 #else
18846 char (*f) () = $ac_func;
18847 #endif
18848 #ifdef __cplusplus
18850 #endif
18853 main ()
18855 return f != $ac_func;
18857 return 0;
18859 _ACEOF
18860 rm -f conftest.$ac_objext conftest$ac_exeext
18861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18862 (eval $ac_link) 2>conftest.er1
18863 ac_status=$?
18864 grep -v '^ *+' conftest.er1 >conftest.err
18865 rm -f conftest.er1
18866 cat conftest.err >&5
18867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18868 (exit $ac_status); } &&
18869 { ac_try='test -z "$ac_c_werror_flag"
18870 || test ! -s conftest.err'
18871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18872 (eval $ac_try) 2>&5
18873 ac_status=$?
18874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18875 (exit $ac_status); }; } &&
18876 { ac_try='test -s conftest$ac_exeext'
18877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18878 (eval $ac_try) 2>&5
18879 ac_status=$?
18880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18881 (exit $ac_status); }; }; then
18882 eval "$as_ac_var=yes"
18883 else
18884 echo "$as_me: failed program was:" >&5
18885 sed 's/^/| /' conftest.$ac_ext >&5
18887 eval "$as_ac_var=no"
18889 rm -f conftest.err conftest.$ac_objext \
18890 conftest$ac_exeext conftest.$ac_ext
18892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18894 if test `eval echo '${'$as_ac_var'}'` = yes; then
18895 cat >>confdefs.h <<_ACEOF
18896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18897 _ACEOF
18900 done
18918 echo "$as_me:$LINENO: checking for long double round functions" >&5
18919 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
18920 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
18921 echo $ECHO_N "(cached) $ECHO_C" >&6
18922 else
18926 ac_ext=cc
18927 ac_cpp='$CXXCPP $CPPFLAGS'
18928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18932 cat >conftest.$ac_ext <<_ACEOF
18933 /* confdefs.h. */
18934 _ACEOF
18935 cat confdefs.h >>conftest.$ac_ext
18936 cat >>conftest.$ac_ext <<_ACEOF
18937 /* end confdefs.h. */
18938 #include <math.h>
18940 main ()
18942 ceill (0); floorl (0);
18944 return 0;
18946 _ACEOF
18947 rm -f conftest.$ac_objext
18948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18949 (eval $ac_compile) 2>conftest.er1
18950 ac_status=$?
18951 grep -v '^ *+' conftest.er1 >conftest.err
18952 rm -f conftest.er1
18953 cat conftest.err >&5
18954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18955 (exit $ac_status); } &&
18956 { ac_try='test -z "$ac_cxx_werror_flag"
18957 || test ! -s conftest.err'
18958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18959 (eval $ac_try) 2>&5
18960 ac_status=$?
18961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18962 (exit $ac_status); }; } &&
18963 { ac_try='test -s conftest.$ac_objext'
18964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18965 (eval $ac_try) 2>&5
18966 ac_status=$?
18967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18968 (exit $ac_status); }; }; then
18969 glibcxx_cv_func_long_double_round_use=yes
18970 else
18971 echo "$as_me: failed program was:" >&5
18972 sed 's/^/| /' conftest.$ac_ext >&5
18974 glibcxx_cv_func_long_double_round_use=no
18976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18977 ac_ext=c
18978 ac_cpp='$CPP $CPPFLAGS'
18979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18985 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
18986 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
18987 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
18990 for ac_func in ceill floorl
18992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18993 echo "$as_me:$LINENO: checking for $ac_func" >&5
18994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18995 if eval "test \"\${$as_ac_var+set}\" = set"; then
18996 echo $ECHO_N "(cached) $ECHO_C" >&6
18997 else
18998 if test x$gcc_no_link = xyes; then
18999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19001 { (exit 1); exit 1; }; }
19003 cat >conftest.$ac_ext <<_ACEOF
19004 /* confdefs.h. */
19005 _ACEOF
19006 cat confdefs.h >>conftest.$ac_ext
19007 cat >>conftest.$ac_ext <<_ACEOF
19008 /* end confdefs.h. */
19009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19011 #define $ac_func innocuous_$ac_func
19013 /* System header to define __stub macros and hopefully few prototypes,
19014 which can conflict with char $ac_func (); below.
19015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19016 <limits.h> exists even on freestanding compilers. */
19018 #ifdef __STDC__
19019 # include <limits.h>
19020 #else
19021 # include <assert.h>
19022 #endif
19024 #undef $ac_func
19026 /* Override any gcc2 internal prototype to avoid an error. */
19027 #ifdef __cplusplus
19028 extern "C"
19030 #endif
19031 /* We use char because int might match the return type of a gcc2
19032 builtin and then its argument prototype would still apply. */
19033 char $ac_func ();
19034 /* The GNU C library defines this for functions which it implements
19035 to always fail with ENOSYS. Some functions are actually named
19036 something starting with __ and the normal name is an alias. */
19037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19038 choke me
19039 #else
19040 char (*f) () = $ac_func;
19041 #endif
19042 #ifdef __cplusplus
19044 #endif
19047 main ()
19049 return f != $ac_func;
19051 return 0;
19053 _ACEOF
19054 rm -f conftest.$ac_objext conftest$ac_exeext
19055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19056 (eval $ac_link) 2>conftest.er1
19057 ac_status=$?
19058 grep -v '^ *+' conftest.er1 >conftest.err
19059 rm -f conftest.er1
19060 cat conftest.err >&5
19061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19062 (exit $ac_status); } &&
19063 { ac_try='test -z "$ac_c_werror_flag"
19064 || test ! -s conftest.err'
19065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19066 (eval $ac_try) 2>&5
19067 ac_status=$?
19068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069 (exit $ac_status); }; } &&
19070 { ac_try='test -s conftest$ac_exeext'
19071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19072 (eval $ac_try) 2>&5
19073 ac_status=$?
19074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19075 (exit $ac_status); }; }; then
19076 eval "$as_ac_var=yes"
19077 else
19078 echo "$as_me: failed program was:" >&5
19079 sed 's/^/| /' conftest.$ac_ext >&5
19081 eval "$as_ac_var=no"
19083 rm -f conftest.err conftest.$ac_objext \
19084 conftest$ac_exeext conftest.$ac_ext
19086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19088 if test `eval echo '${'$as_ac_var'}'` = yes; then
19089 cat >>confdefs.h <<_ACEOF
19090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19091 _ACEOF
19094 done
19096 else
19097 echo "$as_me:$LINENO: checking for _long double round functions" >&5
19098 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
19099 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
19100 echo $ECHO_N "(cached) $ECHO_C" >&6
19101 else
19105 ac_ext=cc
19106 ac_cpp='$CXXCPP $CPPFLAGS'
19107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19111 cat >conftest.$ac_ext <<_ACEOF
19112 /* confdefs.h. */
19113 _ACEOF
19114 cat confdefs.h >>conftest.$ac_ext
19115 cat >>conftest.$ac_ext <<_ACEOF
19116 /* end confdefs.h. */
19117 #include <math.h>
19119 main ()
19121 _ceill (0); _floorl (0);
19123 return 0;
19125 _ACEOF
19126 rm -f conftest.$ac_objext
19127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19128 (eval $ac_compile) 2>conftest.er1
19129 ac_status=$?
19130 grep -v '^ *+' conftest.er1 >conftest.err
19131 rm -f conftest.er1
19132 cat conftest.err >&5
19133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19134 (exit $ac_status); } &&
19135 { ac_try='test -z "$ac_cxx_werror_flag"
19136 || test ! -s conftest.err'
19137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19138 (eval $ac_try) 2>&5
19139 ac_status=$?
19140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19141 (exit $ac_status); }; } &&
19142 { ac_try='test -s conftest.$ac_objext'
19143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19144 (eval $ac_try) 2>&5
19145 ac_status=$?
19146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19147 (exit $ac_status); }; }; then
19148 glibcxx_cv_func__long_double_round_use=yes
19149 else
19150 echo "$as_me: failed program was:" >&5
19151 sed 's/^/| /' conftest.$ac_ext >&5
19153 glibcxx_cv_func__long_double_round_use=no
19155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19156 ac_ext=c
19157 ac_cpp='$CPP $CPPFLAGS'
19158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19164 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
19165 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
19166 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
19169 for ac_func in _ceill _floorl
19171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19172 echo "$as_me:$LINENO: checking for $ac_func" >&5
19173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19174 if eval "test \"\${$as_ac_var+set}\" = set"; then
19175 echo $ECHO_N "(cached) $ECHO_C" >&6
19176 else
19177 if test x$gcc_no_link = xyes; then
19178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19180 { (exit 1); exit 1; }; }
19182 cat >conftest.$ac_ext <<_ACEOF
19183 /* confdefs.h. */
19184 _ACEOF
19185 cat confdefs.h >>conftest.$ac_ext
19186 cat >>conftest.$ac_ext <<_ACEOF
19187 /* end confdefs.h. */
19188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19190 #define $ac_func innocuous_$ac_func
19192 /* System header to define __stub macros and hopefully few prototypes,
19193 which can conflict with char $ac_func (); below.
19194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19195 <limits.h> exists even on freestanding compilers. */
19197 #ifdef __STDC__
19198 # include <limits.h>
19199 #else
19200 # include <assert.h>
19201 #endif
19203 #undef $ac_func
19205 /* Override any gcc2 internal prototype to avoid an error. */
19206 #ifdef __cplusplus
19207 extern "C"
19209 #endif
19210 /* We use char because int might match the return type of a gcc2
19211 builtin and then its argument prototype would still apply. */
19212 char $ac_func ();
19213 /* The GNU C library defines this for functions which it implements
19214 to always fail with ENOSYS. Some functions are actually named
19215 something starting with __ and the normal name is an alias. */
19216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19217 choke me
19218 #else
19219 char (*f) () = $ac_func;
19220 #endif
19221 #ifdef __cplusplus
19223 #endif
19226 main ()
19228 return f != $ac_func;
19230 return 0;
19232 _ACEOF
19233 rm -f conftest.$ac_objext conftest$ac_exeext
19234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19235 (eval $ac_link) 2>conftest.er1
19236 ac_status=$?
19237 grep -v '^ *+' conftest.er1 >conftest.err
19238 rm -f conftest.er1
19239 cat conftest.err >&5
19240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19241 (exit $ac_status); } &&
19242 { ac_try='test -z "$ac_c_werror_flag"
19243 || test ! -s conftest.err'
19244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19245 (eval $ac_try) 2>&5
19246 ac_status=$?
19247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248 (exit $ac_status); }; } &&
19249 { ac_try='test -s conftest$ac_exeext'
19250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19251 (eval $ac_try) 2>&5
19252 ac_status=$?
19253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19254 (exit $ac_status); }; }; then
19255 eval "$as_ac_var=yes"
19256 else
19257 echo "$as_me: failed program was:" >&5
19258 sed 's/^/| /' conftest.$ac_ext >&5
19260 eval "$as_ac_var=no"
19262 rm -f conftest.err conftest.$ac_objext \
19263 conftest$ac_exeext conftest.$ac_ext
19265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19267 if test `eval echo '${'$as_ac_var'}'` = yes; then
19268 cat >>confdefs.h <<_ACEOF
19269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19270 _ACEOF
19273 done
19285 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
19286 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
19287 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
19288 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
19289 echo $ECHO_N "(cached) $ECHO_C" >&6
19290 else
19294 ac_ext=cc
19295 ac_cpp='$CXXCPP $CPPFLAGS'
19296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19300 cat >conftest.$ac_ext <<_ACEOF
19301 /* confdefs.h. */
19302 _ACEOF
19303 cat confdefs.h >>conftest.$ac_ext
19304 cat >>conftest.$ac_ext <<_ACEOF
19305 /* end confdefs.h. */
19306 #include <math.h>
19307 #ifdef HAVE_IEEEFP_H
19308 #include <ieeefp.h>
19309 #endif
19312 main ()
19314 isnanl(0);
19316 return 0;
19318 _ACEOF
19319 rm -f conftest.$ac_objext
19320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19321 (eval $ac_compile) 2>conftest.er1
19322 ac_status=$?
19323 grep -v '^ *+' conftest.er1 >conftest.err
19324 rm -f conftest.er1
19325 cat conftest.err >&5
19326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19327 (exit $ac_status); } &&
19328 { ac_try='test -z "$ac_cxx_werror_flag"
19329 || test ! -s conftest.err'
19330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19331 (eval $ac_try) 2>&5
19332 ac_status=$?
19333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334 (exit $ac_status); }; } &&
19335 { ac_try='test -s conftest.$ac_objext'
19336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19337 (eval $ac_try) 2>&5
19338 ac_status=$?
19339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19340 (exit $ac_status); }; }; then
19341 glibcxx_cv_func_isnanl_use=yes
19342 else
19343 echo "$as_me: failed program was:" >&5
19344 sed 's/^/| /' conftest.$ac_ext >&5
19346 glibcxx_cv_func_isnanl_use=no
19348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19349 ac_ext=c
19350 ac_cpp='$CPP $CPPFLAGS'
19351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19359 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
19360 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
19362 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
19364 for ac_func in isnanl
19366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19367 echo "$as_me:$LINENO: checking for $ac_func" >&5
19368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19369 if eval "test \"\${$as_ac_var+set}\" = set"; then
19370 echo $ECHO_N "(cached) $ECHO_C" >&6
19371 else
19372 if test x$gcc_no_link = xyes; then
19373 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19375 { (exit 1); exit 1; }; }
19377 cat >conftest.$ac_ext <<_ACEOF
19378 /* confdefs.h. */
19379 _ACEOF
19380 cat confdefs.h >>conftest.$ac_ext
19381 cat >>conftest.$ac_ext <<_ACEOF
19382 /* end confdefs.h. */
19383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19385 #define $ac_func innocuous_$ac_func
19387 /* System header to define __stub macros and hopefully few prototypes,
19388 which can conflict with char $ac_func (); below.
19389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19390 <limits.h> exists even on freestanding compilers. */
19392 #ifdef __STDC__
19393 # include <limits.h>
19394 #else
19395 # include <assert.h>
19396 #endif
19398 #undef $ac_func
19400 /* Override any gcc2 internal prototype to avoid an error. */
19401 #ifdef __cplusplus
19402 extern "C"
19404 #endif
19405 /* We use char because int might match the return type of a gcc2
19406 builtin and then its argument prototype would still apply. */
19407 char $ac_func ();
19408 /* The GNU C library defines this for functions which it implements
19409 to always fail with ENOSYS. Some functions are actually named
19410 something starting with __ and the normal name is an alias. */
19411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19412 choke me
19413 #else
19414 char (*f) () = $ac_func;
19415 #endif
19416 #ifdef __cplusplus
19418 #endif
19421 main ()
19423 return f != $ac_func;
19425 return 0;
19427 _ACEOF
19428 rm -f conftest.$ac_objext conftest$ac_exeext
19429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19430 (eval $ac_link) 2>conftest.er1
19431 ac_status=$?
19432 grep -v '^ *+' conftest.er1 >conftest.err
19433 rm -f conftest.er1
19434 cat conftest.err >&5
19435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19436 (exit $ac_status); } &&
19437 { ac_try='test -z "$ac_c_werror_flag"
19438 || test ! -s conftest.err'
19439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19440 (eval $ac_try) 2>&5
19441 ac_status=$?
19442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19443 (exit $ac_status); }; } &&
19444 { ac_try='test -s conftest$ac_exeext'
19445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19446 (eval $ac_try) 2>&5
19447 ac_status=$?
19448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19449 (exit $ac_status); }; }; then
19450 eval "$as_ac_var=yes"
19451 else
19452 echo "$as_me: failed program was:" >&5
19453 sed 's/^/| /' conftest.$ac_ext >&5
19455 eval "$as_ac_var=no"
19457 rm -f conftest.err conftest.$ac_objext \
19458 conftest$ac_exeext conftest.$ac_ext
19460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19462 if test `eval echo '${'$as_ac_var'}'` = yes; then
19463 cat >>confdefs.h <<_ACEOF
19464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19465 _ACEOF
19468 done
19470 else
19472 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
19473 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
19474 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
19475 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
19476 echo $ECHO_N "(cached) $ECHO_C" >&6
19477 else
19481 ac_ext=cc
19482 ac_cpp='$CXXCPP $CPPFLAGS'
19483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19487 cat >conftest.$ac_ext <<_ACEOF
19488 /* confdefs.h. */
19489 _ACEOF
19490 cat confdefs.h >>conftest.$ac_ext
19491 cat >>conftest.$ac_ext <<_ACEOF
19492 /* end confdefs.h. */
19493 #include <math.h>
19494 #ifdef HAVE_IEEEFP_H
19495 #include <ieeefp.h>
19496 #endif
19499 main ()
19501 _isnanl(0);
19503 return 0;
19505 _ACEOF
19506 rm -f conftest.$ac_objext
19507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19508 (eval $ac_compile) 2>conftest.er1
19509 ac_status=$?
19510 grep -v '^ *+' conftest.er1 >conftest.err
19511 rm -f conftest.er1
19512 cat conftest.err >&5
19513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514 (exit $ac_status); } &&
19515 { ac_try='test -z "$ac_cxx_werror_flag"
19516 || test ! -s conftest.err'
19517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19518 (eval $ac_try) 2>&5
19519 ac_status=$?
19520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19521 (exit $ac_status); }; } &&
19522 { ac_try='test -s conftest.$ac_objext'
19523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19524 (eval $ac_try) 2>&5
19525 ac_status=$?
19526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527 (exit $ac_status); }; }; then
19528 glibcxx_cv_func__isnanl_use=yes
19529 else
19530 echo "$as_me: failed program was:" >&5
19531 sed 's/^/| /' conftest.$ac_ext >&5
19533 glibcxx_cv_func__isnanl_use=no
19535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19536 ac_ext=c
19537 ac_cpp='$CPP $CPPFLAGS'
19538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19546 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
19547 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
19549 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
19551 for ac_func in _isnanl
19553 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19554 echo "$as_me:$LINENO: checking for $ac_func" >&5
19555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19556 if eval "test \"\${$as_ac_var+set}\" = set"; then
19557 echo $ECHO_N "(cached) $ECHO_C" >&6
19558 else
19559 if test x$gcc_no_link = xyes; then
19560 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19562 { (exit 1); exit 1; }; }
19564 cat >conftest.$ac_ext <<_ACEOF
19565 /* confdefs.h. */
19566 _ACEOF
19567 cat confdefs.h >>conftest.$ac_ext
19568 cat >>conftest.$ac_ext <<_ACEOF
19569 /* end confdefs.h. */
19570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19572 #define $ac_func innocuous_$ac_func
19574 /* System header to define __stub macros and hopefully few prototypes,
19575 which can conflict with char $ac_func (); below.
19576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19577 <limits.h> exists even on freestanding compilers. */
19579 #ifdef __STDC__
19580 # include <limits.h>
19581 #else
19582 # include <assert.h>
19583 #endif
19585 #undef $ac_func
19587 /* Override any gcc2 internal prototype to avoid an error. */
19588 #ifdef __cplusplus
19589 extern "C"
19591 #endif
19592 /* We use char because int might match the return type of a gcc2
19593 builtin and then its argument prototype would still apply. */
19594 char $ac_func ();
19595 /* The GNU C library defines this for functions which it implements
19596 to always fail with ENOSYS. Some functions are actually named
19597 something starting with __ and the normal name is an alias. */
19598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19599 choke me
19600 #else
19601 char (*f) () = $ac_func;
19602 #endif
19603 #ifdef __cplusplus
19605 #endif
19608 main ()
19610 return f != $ac_func;
19612 return 0;
19614 _ACEOF
19615 rm -f conftest.$ac_objext conftest$ac_exeext
19616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19617 (eval $ac_link) 2>conftest.er1
19618 ac_status=$?
19619 grep -v '^ *+' conftest.er1 >conftest.err
19620 rm -f conftest.er1
19621 cat conftest.err >&5
19622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19623 (exit $ac_status); } &&
19624 { ac_try='test -z "$ac_c_werror_flag"
19625 || test ! -s conftest.err'
19626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19627 (eval $ac_try) 2>&5
19628 ac_status=$?
19629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19630 (exit $ac_status); }; } &&
19631 { ac_try='test -s conftest$ac_exeext'
19632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19633 (eval $ac_try) 2>&5
19634 ac_status=$?
19635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19636 (exit $ac_status); }; }; then
19637 eval "$as_ac_var=yes"
19638 else
19639 echo "$as_me: failed program was:" >&5
19640 sed 's/^/| /' conftest.$ac_ext >&5
19642 eval "$as_ac_var=no"
19644 rm -f conftest.err conftest.$ac_objext \
19645 conftest$ac_exeext conftest.$ac_ext
19647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19649 if test `eval echo '${'$as_ac_var'}'` = yes; then
19650 cat >>confdefs.h <<_ACEOF
19651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19652 _ACEOF
19655 done
19665 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
19666 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
19667 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
19668 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
19669 echo $ECHO_N "(cached) $ECHO_C" >&6
19670 else
19674 ac_ext=cc
19675 ac_cpp='$CXXCPP $CPPFLAGS'
19676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19680 cat >conftest.$ac_ext <<_ACEOF
19681 /* confdefs.h. */
19682 _ACEOF
19683 cat confdefs.h >>conftest.$ac_ext
19684 cat >>conftest.$ac_ext <<_ACEOF
19685 /* end confdefs.h. */
19686 #include <math.h>
19687 #ifdef HAVE_IEEEFP_H
19688 #include <ieeefp.h>
19689 #endif
19692 main ()
19694 isinfl(0);
19696 return 0;
19698 _ACEOF
19699 rm -f conftest.$ac_objext
19700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19701 (eval $ac_compile) 2>conftest.er1
19702 ac_status=$?
19703 grep -v '^ *+' conftest.er1 >conftest.err
19704 rm -f conftest.er1
19705 cat conftest.err >&5
19706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19707 (exit $ac_status); } &&
19708 { ac_try='test -z "$ac_cxx_werror_flag"
19709 || test ! -s conftest.err'
19710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19711 (eval $ac_try) 2>&5
19712 ac_status=$?
19713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19714 (exit $ac_status); }; } &&
19715 { ac_try='test -s conftest.$ac_objext'
19716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19717 (eval $ac_try) 2>&5
19718 ac_status=$?
19719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19720 (exit $ac_status); }; }; then
19721 glibcxx_cv_func_isinfl_use=yes
19722 else
19723 echo "$as_me: failed program was:" >&5
19724 sed 's/^/| /' conftest.$ac_ext >&5
19726 glibcxx_cv_func_isinfl_use=no
19728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19729 ac_ext=c
19730 ac_cpp='$CPP $CPPFLAGS'
19731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19739 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
19740 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
19742 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
19744 for ac_func in isinfl
19746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19747 echo "$as_me:$LINENO: checking for $ac_func" >&5
19748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19749 if eval "test \"\${$as_ac_var+set}\" = set"; then
19750 echo $ECHO_N "(cached) $ECHO_C" >&6
19751 else
19752 if test x$gcc_no_link = xyes; then
19753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19755 { (exit 1); exit 1; }; }
19757 cat >conftest.$ac_ext <<_ACEOF
19758 /* confdefs.h. */
19759 _ACEOF
19760 cat confdefs.h >>conftest.$ac_ext
19761 cat >>conftest.$ac_ext <<_ACEOF
19762 /* end confdefs.h. */
19763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19765 #define $ac_func innocuous_$ac_func
19767 /* System header to define __stub macros and hopefully few prototypes,
19768 which can conflict with char $ac_func (); below.
19769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19770 <limits.h> exists even on freestanding compilers. */
19772 #ifdef __STDC__
19773 # include <limits.h>
19774 #else
19775 # include <assert.h>
19776 #endif
19778 #undef $ac_func
19780 /* Override any gcc2 internal prototype to avoid an error. */
19781 #ifdef __cplusplus
19782 extern "C"
19784 #endif
19785 /* We use char because int might match the return type of a gcc2
19786 builtin and then its argument prototype would still apply. */
19787 char $ac_func ();
19788 /* The GNU C library defines this for functions which it implements
19789 to always fail with ENOSYS. Some functions are actually named
19790 something starting with __ and the normal name is an alias. */
19791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19792 choke me
19793 #else
19794 char (*f) () = $ac_func;
19795 #endif
19796 #ifdef __cplusplus
19798 #endif
19801 main ()
19803 return f != $ac_func;
19805 return 0;
19807 _ACEOF
19808 rm -f conftest.$ac_objext conftest$ac_exeext
19809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19810 (eval $ac_link) 2>conftest.er1
19811 ac_status=$?
19812 grep -v '^ *+' conftest.er1 >conftest.err
19813 rm -f conftest.er1
19814 cat conftest.err >&5
19815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19816 (exit $ac_status); } &&
19817 { ac_try='test -z "$ac_c_werror_flag"
19818 || test ! -s conftest.err'
19819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19820 (eval $ac_try) 2>&5
19821 ac_status=$?
19822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19823 (exit $ac_status); }; } &&
19824 { ac_try='test -s conftest$ac_exeext'
19825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19826 (eval $ac_try) 2>&5
19827 ac_status=$?
19828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829 (exit $ac_status); }; }; then
19830 eval "$as_ac_var=yes"
19831 else
19832 echo "$as_me: failed program was:" >&5
19833 sed 's/^/| /' conftest.$ac_ext >&5
19835 eval "$as_ac_var=no"
19837 rm -f conftest.err conftest.$ac_objext \
19838 conftest$ac_exeext conftest.$ac_ext
19840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19842 if test `eval echo '${'$as_ac_var'}'` = yes; then
19843 cat >>confdefs.h <<_ACEOF
19844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19845 _ACEOF
19848 done
19850 else
19852 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
19853 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
19854 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
19855 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
19856 echo $ECHO_N "(cached) $ECHO_C" >&6
19857 else
19861 ac_ext=cc
19862 ac_cpp='$CXXCPP $CPPFLAGS'
19863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19867 cat >conftest.$ac_ext <<_ACEOF
19868 /* confdefs.h. */
19869 _ACEOF
19870 cat confdefs.h >>conftest.$ac_ext
19871 cat >>conftest.$ac_ext <<_ACEOF
19872 /* end confdefs.h. */
19873 #include <math.h>
19874 #ifdef HAVE_IEEEFP_H
19875 #include <ieeefp.h>
19876 #endif
19879 main ()
19881 _isinfl(0);
19883 return 0;
19885 _ACEOF
19886 rm -f conftest.$ac_objext
19887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19888 (eval $ac_compile) 2>conftest.er1
19889 ac_status=$?
19890 grep -v '^ *+' conftest.er1 >conftest.err
19891 rm -f conftest.er1
19892 cat conftest.err >&5
19893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19894 (exit $ac_status); } &&
19895 { ac_try='test -z "$ac_cxx_werror_flag"
19896 || test ! -s conftest.err'
19897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19898 (eval $ac_try) 2>&5
19899 ac_status=$?
19900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19901 (exit $ac_status); }; } &&
19902 { ac_try='test -s conftest.$ac_objext'
19903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19904 (eval $ac_try) 2>&5
19905 ac_status=$?
19906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19907 (exit $ac_status); }; }; then
19908 glibcxx_cv_func__isinfl_use=yes
19909 else
19910 echo "$as_me: failed program was:" >&5
19911 sed 's/^/| /' conftest.$ac_ext >&5
19913 glibcxx_cv_func__isinfl_use=no
19915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19916 ac_ext=c
19917 ac_cpp='$CPP $CPPFLAGS'
19918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19926 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
19927 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
19929 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
19931 for ac_func in _isinfl
19933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19934 echo "$as_me:$LINENO: checking for $ac_func" >&5
19935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19936 if eval "test \"\${$as_ac_var+set}\" = set"; then
19937 echo $ECHO_N "(cached) $ECHO_C" >&6
19938 else
19939 if test x$gcc_no_link = xyes; then
19940 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19942 { (exit 1); exit 1; }; }
19944 cat >conftest.$ac_ext <<_ACEOF
19945 /* confdefs.h. */
19946 _ACEOF
19947 cat confdefs.h >>conftest.$ac_ext
19948 cat >>conftest.$ac_ext <<_ACEOF
19949 /* end confdefs.h. */
19950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19952 #define $ac_func innocuous_$ac_func
19954 /* System header to define __stub macros and hopefully few prototypes,
19955 which can conflict with char $ac_func (); below.
19956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19957 <limits.h> exists even on freestanding compilers. */
19959 #ifdef __STDC__
19960 # include <limits.h>
19961 #else
19962 # include <assert.h>
19963 #endif
19965 #undef $ac_func
19967 /* Override any gcc2 internal prototype to avoid an error. */
19968 #ifdef __cplusplus
19969 extern "C"
19971 #endif
19972 /* We use char because int might match the return type of a gcc2
19973 builtin and then its argument prototype would still apply. */
19974 char $ac_func ();
19975 /* The GNU C library defines this for functions which it implements
19976 to always fail with ENOSYS. Some functions are actually named
19977 something starting with __ and the normal name is an alias. */
19978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19979 choke me
19980 #else
19981 char (*f) () = $ac_func;
19982 #endif
19983 #ifdef __cplusplus
19985 #endif
19988 main ()
19990 return f != $ac_func;
19992 return 0;
19994 _ACEOF
19995 rm -f conftest.$ac_objext conftest$ac_exeext
19996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19997 (eval $ac_link) 2>conftest.er1
19998 ac_status=$?
19999 grep -v '^ *+' conftest.er1 >conftest.err
20000 rm -f conftest.er1
20001 cat conftest.err >&5
20002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20003 (exit $ac_status); } &&
20004 { ac_try='test -z "$ac_c_werror_flag"
20005 || test ! -s conftest.err'
20006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20007 (eval $ac_try) 2>&5
20008 ac_status=$?
20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010 (exit $ac_status); }; } &&
20011 { ac_try='test -s conftest$ac_exeext'
20012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20013 (eval $ac_try) 2>&5
20014 ac_status=$?
20015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20016 (exit $ac_status); }; }; then
20017 eval "$as_ac_var=yes"
20018 else
20019 echo "$as_me: failed program was:" >&5
20020 sed 's/^/| /' conftest.$ac_ext >&5
20022 eval "$as_ac_var=no"
20024 rm -f conftest.err conftest.$ac_objext \
20025 conftest$ac_exeext conftest.$ac_ext
20027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20029 if test `eval echo '${'$as_ac_var'}'` = yes; then
20030 cat >>confdefs.h <<_ACEOF
20031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20032 _ACEOF
20035 done
20045 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
20046 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
20047 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
20048 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
20049 echo $ECHO_N "(cached) $ECHO_C" >&6
20050 else
20054 ac_ext=cc
20055 ac_cpp='$CXXCPP $CPPFLAGS'
20056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20060 cat >conftest.$ac_ext <<_ACEOF
20061 /* confdefs.h. */
20062 _ACEOF
20063 cat confdefs.h >>conftest.$ac_ext
20064 cat >>conftest.$ac_ext <<_ACEOF
20065 /* end confdefs.h. */
20066 #include <math.h>
20068 main ()
20070 copysignl(0, 0);
20072 return 0;
20074 _ACEOF
20075 rm -f conftest.$ac_objext
20076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20077 (eval $ac_compile) 2>conftest.er1
20078 ac_status=$?
20079 grep -v '^ *+' conftest.er1 >conftest.err
20080 rm -f conftest.er1
20081 cat conftest.err >&5
20082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20083 (exit $ac_status); } &&
20084 { ac_try='test -z "$ac_cxx_werror_flag"
20085 || test ! -s conftest.err'
20086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20087 (eval $ac_try) 2>&5
20088 ac_status=$?
20089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20090 (exit $ac_status); }; } &&
20091 { ac_try='test -s conftest.$ac_objext'
20092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20093 (eval $ac_try) 2>&5
20094 ac_status=$?
20095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20096 (exit $ac_status); }; }; then
20097 glibcxx_cv_func_copysignl_use=yes
20098 else
20099 echo "$as_me: failed program was:" >&5
20100 sed 's/^/| /' conftest.$ac_ext >&5
20102 glibcxx_cv_func_copysignl_use=no
20104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20105 ac_ext=c
20106 ac_cpp='$CPP $CPPFLAGS'
20107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20115 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
20116 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
20118 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
20120 for ac_func in copysignl
20122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20123 echo "$as_me:$LINENO: checking for $ac_func" >&5
20124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20125 if eval "test \"\${$as_ac_var+set}\" = set"; then
20126 echo $ECHO_N "(cached) $ECHO_C" >&6
20127 else
20128 if test x$gcc_no_link = xyes; then
20129 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20131 { (exit 1); exit 1; }; }
20133 cat >conftest.$ac_ext <<_ACEOF
20134 /* confdefs.h. */
20135 _ACEOF
20136 cat confdefs.h >>conftest.$ac_ext
20137 cat >>conftest.$ac_ext <<_ACEOF
20138 /* end confdefs.h. */
20139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20141 #define $ac_func innocuous_$ac_func
20143 /* System header to define __stub macros and hopefully few prototypes,
20144 which can conflict with char $ac_func (); below.
20145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20146 <limits.h> exists even on freestanding compilers. */
20148 #ifdef __STDC__
20149 # include <limits.h>
20150 #else
20151 # include <assert.h>
20152 #endif
20154 #undef $ac_func
20156 /* Override any gcc2 internal prototype to avoid an error. */
20157 #ifdef __cplusplus
20158 extern "C"
20160 #endif
20161 /* We use char because int might match the return type of a gcc2
20162 builtin and then its argument prototype would still apply. */
20163 char $ac_func ();
20164 /* The GNU C library defines this for functions which it implements
20165 to always fail with ENOSYS. Some functions are actually named
20166 something starting with __ and the normal name is an alias. */
20167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20168 choke me
20169 #else
20170 char (*f) () = $ac_func;
20171 #endif
20172 #ifdef __cplusplus
20174 #endif
20177 main ()
20179 return f != $ac_func;
20181 return 0;
20183 _ACEOF
20184 rm -f conftest.$ac_objext conftest$ac_exeext
20185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20186 (eval $ac_link) 2>conftest.er1
20187 ac_status=$?
20188 grep -v '^ *+' conftest.er1 >conftest.err
20189 rm -f conftest.er1
20190 cat conftest.err >&5
20191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20192 (exit $ac_status); } &&
20193 { ac_try='test -z "$ac_c_werror_flag"
20194 || test ! -s conftest.err'
20195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20196 (eval $ac_try) 2>&5
20197 ac_status=$?
20198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20199 (exit $ac_status); }; } &&
20200 { ac_try='test -s conftest$ac_exeext'
20201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20202 (eval $ac_try) 2>&5
20203 ac_status=$?
20204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20205 (exit $ac_status); }; }; then
20206 eval "$as_ac_var=yes"
20207 else
20208 echo "$as_me: failed program was:" >&5
20209 sed 's/^/| /' conftest.$ac_ext >&5
20211 eval "$as_ac_var=no"
20213 rm -f conftest.err conftest.$ac_objext \
20214 conftest$ac_exeext conftest.$ac_ext
20216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20218 if test `eval echo '${'$as_ac_var'}'` = yes; then
20219 cat >>confdefs.h <<_ACEOF
20220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20221 _ACEOF
20224 done
20226 else
20228 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
20229 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
20230 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
20231 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
20232 echo $ECHO_N "(cached) $ECHO_C" >&6
20233 else
20237 ac_ext=cc
20238 ac_cpp='$CXXCPP $CPPFLAGS'
20239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20243 cat >conftest.$ac_ext <<_ACEOF
20244 /* confdefs.h. */
20245 _ACEOF
20246 cat confdefs.h >>conftest.$ac_ext
20247 cat >>conftest.$ac_ext <<_ACEOF
20248 /* end confdefs.h. */
20249 #include <math.h>
20251 main ()
20253 _copysignl(0, 0);
20255 return 0;
20257 _ACEOF
20258 rm -f conftest.$ac_objext
20259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20260 (eval $ac_compile) 2>conftest.er1
20261 ac_status=$?
20262 grep -v '^ *+' conftest.er1 >conftest.err
20263 rm -f conftest.er1
20264 cat conftest.err >&5
20265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20266 (exit $ac_status); } &&
20267 { ac_try='test -z "$ac_cxx_werror_flag"
20268 || test ! -s conftest.err'
20269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20270 (eval $ac_try) 2>&5
20271 ac_status=$?
20272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20273 (exit $ac_status); }; } &&
20274 { ac_try='test -s conftest.$ac_objext'
20275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20276 (eval $ac_try) 2>&5
20277 ac_status=$?
20278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20279 (exit $ac_status); }; }; then
20280 glibcxx_cv_func__copysignl_use=yes
20281 else
20282 echo "$as_me: failed program was:" >&5
20283 sed 's/^/| /' conftest.$ac_ext >&5
20285 glibcxx_cv_func__copysignl_use=no
20287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20288 ac_ext=c
20289 ac_cpp='$CPP $CPPFLAGS'
20290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20298 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
20299 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
20301 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
20303 for ac_func in _copysignl
20305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20306 echo "$as_me:$LINENO: checking for $ac_func" >&5
20307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20308 if eval "test \"\${$as_ac_var+set}\" = set"; then
20309 echo $ECHO_N "(cached) $ECHO_C" >&6
20310 else
20311 if test x$gcc_no_link = xyes; then
20312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20314 { (exit 1); exit 1; }; }
20316 cat >conftest.$ac_ext <<_ACEOF
20317 /* confdefs.h. */
20318 _ACEOF
20319 cat confdefs.h >>conftest.$ac_ext
20320 cat >>conftest.$ac_ext <<_ACEOF
20321 /* end confdefs.h. */
20322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20324 #define $ac_func innocuous_$ac_func
20326 /* System header to define __stub macros and hopefully few prototypes,
20327 which can conflict with char $ac_func (); below.
20328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20329 <limits.h> exists even on freestanding compilers. */
20331 #ifdef __STDC__
20332 # include <limits.h>
20333 #else
20334 # include <assert.h>
20335 #endif
20337 #undef $ac_func
20339 /* Override any gcc2 internal prototype to avoid an error. */
20340 #ifdef __cplusplus
20341 extern "C"
20343 #endif
20344 /* We use char because int might match the return type of a gcc2
20345 builtin and then its argument prototype would still apply. */
20346 char $ac_func ();
20347 /* The GNU C library defines this for functions which it implements
20348 to always fail with ENOSYS. Some functions are actually named
20349 something starting with __ and the normal name is an alias. */
20350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20351 choke me
20352 #else
20353 char (*f) () = $ac_func;
20354 #endif
20355 #ifdef __cplusplus
20357 #endif
20360 main ()
20362 return f != $ac_func;
20364 return 0;
20366 _ACEOF
20367 rm -f conftest.$ac_objext conftest$ac_exeext
20368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20369 (eval $ac_link) 2>conftest.er1
20370 ac_status=$?
20371 grep -v '^ *+' conftest.er1 >conftest.err
20372 rm -f conftest.er1
20373 cat conftest.err >&5
20374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20375 (exit $ac_status); } &&
20376 { ac_try='test -z "$ac_c_werror_flag"
20377 || test ! -s conftest.err'
20378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20379 (eval $ac_try) 2>&5
20380 ac_status=$?
20381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20382 (exit $ac_status); }; } &&
20383 { ac_try='test -s conftest$ac_exeext'
20384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20385 (eval $ac_try) 2>&5
20386 ac_status=$?
20387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20388 (exit $ac_status); }; }; then
20389 eval "$as_ac_var=yes"
20390 else
20391 echo "$as_me: failed program was:" >&5
20392 sed 's/^/| /' conftest.$ac_ext >&5
20394 eval "$as_ac_var=no"
20396 rm -f conftest.err conftest.$ac_objext \
20397 conftest$ac_exeext conftest.$ac_ext
20399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20401 if test `eval echo '${'$as_ac_var'}'` = yes; then
20402 cat >>confdefs.h <<_ACEOF
20403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20404 _ACEOF
20407 done
20417 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
20418 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
20419 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
20420 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
20421 echo $ECHO_N "(cached) $ECHO_C" >&6
20422 else
20426 ac_ext=cc
20427 ac_cpp='$CXXCPP $CPPFLAGS'
20428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20432 cat >conftest.$ac_ext <<_ACEOF
20433 /* confdefs.h. */
20434 _ACEOF
20435 cat confdefs.h >>conftest.$ac_ext
20436 cat >>conftest.$ac_ext <<_ACEOF
20437 /* end confdefs.h. */
20438 #include <math.h>
20440 main ()
20442 atan2l(0, 0);
20444 return 0;
20446 _ACEOF
20447 rm -f conftest.$ac_objext
20448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20449 (eval $ac_compile) 2>conftest.er1
20450 ac_status=$?
20451 grep -v '^ *+' conftest.er1 >conftest.err
20452 rm -f conftest.er1
20453 cat conftest.err >&5
20454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20455 (exit $ac_status); } &&
20456 { ac_try='test -z "$ac_cxx_werror_flag"
20457 || test ! -s conftest.err'
20458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20459 (eval $ac_try) 2>&5
20460 ac_status=$?
20461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20462 (exit $ac_status); }; } &&
20463 { ac_try='test -s conftest.$ac_objext'
20464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20465 (eval $ac_try) 2>&5
20466 ac_status=$?
20467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20468 (exit $ac_status); }; }; then
20469 glibcxx_cv_func_atan2l_use=yes
20470 else
20471 echo "$as_me: failed program was:" >&5
20472 sed 's/^/| /' conftest.$ac_ext >&5
20474 glibcxx_cv_func_atan2l_use=no
20476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20477 ac_ext=c
20478 ac_cpp='$CPP $CPPFLAGS'
20479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20487 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
20488 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
20490 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
20492 for ac_func in atan2l
20494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20495 echo "$as_me:$LINENO: checking for $ac_func" >&5
20496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20497 if eval "test \"\${$as_ac_var+set}\" = set"; then
20498 echo $ECHO_N "(cached) $ECHO_C" >&6
20499 else
20500 if test x$gcc_no_link = xyes; then
20501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20503 { (exit 1); exit 1; }; }
20505 cat >conftest.$ac_ext <<_ACEOF
20506 /* confdefs.h. */
20507 _ACEOF
20508 cat confdefs.h >>conftest.$ac_ext
20509 cat >>conftest.$ac_ext <<_ACEOF
20510 /* end confdefs.h. */
20511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20513 #define $ac_func innocuous_$ac_func
20515 /* System header to define __stub macros and hopefully few prototypes,
20516 which can conflict with char $ac_func (); below.
20517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20518 <limits.h> exists even on freestanding compilers. */
20520 #ifdef __STDC__
20521 # include <limits.h>
20522 #else
20523 # include <assert.h>
20524 #endif
20526 #undef $ac_func
20528 /* Override any gcc2 internal prototype to avoid an error. */
20529 #ifdef __cplusplus
20530 extern "C"
20532 #endif
20533 /* We use char because int might match the return type of a gcc2
20534 builtin and then its argument prototype would still apply. */
20535 char $ac_func ();
20536 /* The GNU C library defines this for functions which it implements
20537 to always fail with ENOSYS. Some functions are actually named
20538 something starting with __ and the normal name is an alias. */
20539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20540 choke me
20541 #else
20542 char (*f) () = $ac_func;
20543 #endif
20544 #ifdef __cplusplus
20546 #endif
20549 main ()
20551 return f != $ac_func;
20553 return 0;
20555 _ACEOF
20556 rm -f conftest.$ac_objext conftest$ac_exeext
20557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20558 (eval $ac_link) 2>conftest.er1
20559 ac_status=$?
20560 grep -v '^ *+' conftest.er1 >conftest.err
20561 rm -f conftest.er1
20562 cat conftest.err >&5
20563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20564 (exit $ac_status); } &&
20565 { ac_try='test -z "$ac_c_werror_flag"
20566 || test ! -s conftest.err'
20567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20568 (eval $ac_try) 2>&5
20569 ac_status=$?
20570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20571 (exit $ac_status); }; } &&
20572 { ac_try='test -s conftest$ac_exeext'
20573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20574 (eval $ac_try) 2>&5
20575 ac_status=$?
20576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20577 (exit $ac_status); }; }; then
20578 eval "$as_ac_var=yes"
20579 else
20580 echo "$as_me: failed program was:" >&5
20581 sed 's/^/| /' conftest.$ac_ext >&5
20583 eval "$as_ac_var=no"
20585 rm -f conftest.err conftest.$ac_objext \
20586 conftest$ac_exeext conftest.$ac_ext
20588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20590 if test `eval echo '${'$as_ac_var'}'` = yes; then
20591 cat >>confdefs.h <<_ACEOF
20592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20593 _ACEOF
20596 done
20598 else
20600 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
20601 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
20602 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
20603 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
20604 echo $ECHO_N "(cached) $ECHO_C" >&6
20605 else
20609 ac_ext=cc
20610 ac_cpp='$CXXCPP $CPPFLAGS'
20611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20615 cat >conftest.$ac_ext <<_ACEOF
20616 /* confdefs.h. */
20617 _ACEOF
20618 cat confdefs.h >>conftest.$ac_ext
20619 cat >>conftest.$ac_ext <<_ACEOF
20620 /* end confdefs.h. */
20621 #include <math.h>
20623 main ()
20625 _atan2l(0, 0);
20627 return 0;
20629 _ACEOF
20630 rm -f conftest.$ac_objext
20631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20632 (eval $ac_compile) 2>conftest.er1
20633 ac_status=$?
20634 grep -v '^ *+' conftest.er1 >conftest.err
20635 rm -f conftest.er1
20636 cat conftest.err >&5
20637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20638 (exit $ac_status); } &&
20639 { ac_try='test -z "$ac_cxx_werror_flag"
20640 || test ! -s conftest.err'
20641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20642 (eval $ac_try) 2>&5
20643 ac_status=$?
20644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20645 (exit $ac_status); }; } &&
20646 { ac_try='test -s conftest.$ac_objext'
20647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20648 (eval $ac_try) 2>&5
20649 ac_status=$?
20650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20651 (exit $ac_status); }; }; then
20652 glibcxx_cv_func__atan2l_use=yes
20653 else
20654 echo "$as_me: failed program was:" >&5
20655 sed 's/^/| /' conftest.$ac_ext >&5
20657 glibcxx_cv_func__atan2l_use=no
20659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20660 ac_ext=c
20661 ac_cpp='$CPP $CPPFLAGS'
20662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20670 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
20671 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
20673 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
20675 for ac_func in _atan2l
20677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20678 echo "$as_me:$LINENO: checking for $ac_func" >&5
20679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20680 if eval "test \"\${$as_ac_var+set}\" = set"; then
20681 echo $ECHO_N "(cached) $ECHO_C" >&6
20682 else
20683 if test x$gcc_no_link = xyes; then
20684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20686 { (exit 1); exit 1; }; }
20688 cat >conftest.$ac_ext <<_ACEOF
20689 /* confdefs.h. */
20690 _ACEOF
20691 cat confdefs.h >>conftest.$ac_ext
20692 cat >>conftest.$ac_ext <<_ACEOF
20693 /* end confdefs.h. */
20694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20696 #define $ac_func innocuous_$ac_func
20698 /* System header to define __stub macros and hopefully few prototypes,
20699 which can conflict with char $ac_func (); below.
20700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20701 <limits.h> exists even on freestanding compilers. */
20703 #ifdef __STDC__
20704 # include <limits.h>
20705 #else
20706 # include <assert.h>
20707 #endif
20709 #undef $ac_func
20711 /* Override any gcc2 internal prototype to avoid an error. */
20712 #ifdef __cplusplus
20713 extern "C"
20715 #endif
20716 /* We use char because int might match the return type of a gcc2
20717 builtin and then its argument prototype would still apply. */
20718 char $ac_func ();
20719 /* The GNU C library defines this for functions which it implements
20720 to always fail with ENOSYS. Some functions are actually named
20721 something starting with __ and the normal name is an alias. */
20722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20723 choke me
20724 #else
20725 char (*f) () = $ac_func;
20726 #endif
20727 #ifdef __cplusplus
20729 #endif
20732 main ()
20734 return f != $ac_func;
20736 return 0;
20738 _ACEOF
20739 rm -f conftest.$ac_objext conftest$ac_exeext
20740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20741 (eval $ac_link) 2>conftest.er1
20742 ac_status=$?
20743 grep -v '^ *+' conftest.er1 >conftest.err
20744 rm -f conftest.er1
20745 cat conftest.err >&5
20746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20747 (exit $ac_status); } &&
20748 { ac_try='test -z "$ac_c_werror_flag"
20749 || test ! -s conftest.err'
20750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20751 (eval $ac_try) 2>&5
20752 ac_status=$?
20753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20754 (exit $ac_status); }; } &&
20755 { ac_try='test -s conftest$ac_exeext'
20756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20757 (eval $ac_try) 2>&5
20758 ac_status=$?
20759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20760 (exit $ac_status); }; }; then
20761 eval "$as_ac_var=yes"
20762 else
20763 echo "$as_me: failed program was:" >&5
20764 sed 's/^/| /' conftest.$ac_ext >&5
20766 eval "$as_ac_var=no"
20768 rm -f conftest.err conftest.$ac_objext \
20769 conftest$ac_exeext conftest.$ac_ext
20771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20773 if test `eval echo '${'$as_ac_var'}'` = yes; then
20774 cat >>confdefs.h <<_ACEOF
20775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20776 _ACEOF
20779 done
20789 echo "$as_me:$LINENO: checking for expl declaration" >&5
20790 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
20791 if test x${glibcxx_cv_func_expl_use+set} != xset; then
20792 if test "${glibcxx_cv_func_expl_use+set}" = set; then
20793 echo $ECHO_N "(cached) $ECHO_C" >&6
20794 else
20798 ac_ext=cc
20799 ac_cpp='$CXXCPP $CPPFLAGS'
20800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20804 cat >conftest.$ac_ext <<_ACEOF
20805 /* confdefs.h. */
20806 _ACEOF
20807 cat confdefs.h >>conftest.$ac_ext
20808 cat >>conftest.$ac_ext <<_ACEOF
20809 /* end confdefs.h. */
20810 #include <math.h>
20811 #ifdef HAVE_IEEEFP_H
20812 #include <ieeefp.h>
20813 #endif
20816 main ()
20818 expl(0);
20820 return 0;
20822 _ACEOF
20823 rm -f conftest.$ac_objext
20824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20825 (eval $ac_compile) 2>conftest.er1
20826 ac_status=$?
20827 grep -v '^ *+' conftest.er1 >conftest.err
20828 rm -f conftest.er1
20829 cat conftest.err >&5
20830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20831 (exit $ac_status); } &&
20832 { ac_try='test -z "$ac_cxx_werror_flag"
20833 || test ! -s conftest.err'
20834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20835 (eval $ac_try) 2>&5
20836 ac_status=$?
20837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20838 (exit $ac_status); }; } &&
20839 { ac_try='test -s conftest.$ac_objext'
20840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20841 (eval $ac_try) 2>&5
20842 ac_status=$?
20843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20844 (exit $ac_status); }; }; then
20845 glibcxx_cv_func_expl_use=yes
20846 else
20847 echo "$as_me: failed program was:" >&5
20848 sed 's/^/| /' conftest.$ac_ext >&5
20850 glibcxx_cv_func_expl_use=no
20852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20853 ac_ext=c
20854 ac_cpp='$CPP $CPPFLAGS'
20855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20863 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
20864 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
20866 if test x$glibcxx_cv_func_expl_use = x"yes"; then
20868 for ac_func in expl
20870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20871 echo "$as_me:$LINENO: checking for $ac_func" >&5
20872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20873 if eval "test \"\${$as_ac_var+set}\" = set"; then
20874 echo $ECHO_N "(cached) $ECHO_C" >&6
20875 else
20876 if test x$gcc_no_link = xyes; then
20877 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20879 { (exit 1); exit 1; }; }
20881 cat >conftest.$ac_ext <<_ACEOF
20882 /* confdefs.h. */
20883 _ACEOF
20884 cat confdefs.h >>conftest.$ac_ext
20885 cat >>conftest.$ac_ext <<_ACEOF
20886 /* end confdefs.h. */
20887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20889 #define $ac_func innocuous_$ac_func
20891 /* System header to define __stub macros and hopefully few prototypes,
20892 which can conflict with char $ac_func (); below.
20893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20894 <limits.h> exists even on freestanding compilers. */
20896 #ifdef __STDC__
20897 # include <limits.h>
20898 #else
20899 # include <assert.h>
20900 #endif
20902 #undef $ac_func
20904 /* Override any gcc2 internal prototype to avoid an error. */
20905 #ifdef __cplusplus
20906 extern "C"
20908 #endif
20909 /* We use char because int might match the return type of a gcc2
20910 builtin and then its argument prototype would still apply. */
20911 char $ac_func ();
20912 /* The GNU C library defines this for functions which it implements
20913 to always fail with ENOSYS. Some functions are actually named
20914 something starting with __ and the normal name is an alias. */
20915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20916 choke me
20917 #else
20918 char (*f) () = $ac_func;
20919 #endif
20920 #ifdef __cplusplus
20922 #endif
20925 main ()
20927 return f != $ac_func;
20929 return 0;
20931 _ACEOF
20932 rm -f conftest.$ac_objext conftest$ac_exeext
20933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20934 (eval $ac_link) 2>conftest.er1
20935 ac_status=$?
20936 grep -v '^ *+' conftest.er1 >conftest.err
20937 rm -f conftest.er1
20938 cat conftest.err >&5
20939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20940 (exit $ac_status); } &&
20941 { ac_try='test -z "$ac_c_werror_flag"
20942 || test ! -s conftest.err'
20943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20944 (eval $ac_try) 2>&5
20945 ac_status=$?
20946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20947 (exit $ac_status); }; } &&
20948 { ac_try='test -s conftest$ac_exeext'
20949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20950 (eval $ac_try) 2>&5
20951 ac_status=$?
20952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20953 (exit $ac_status); }; }; then
20954 eval "$as_ac_var=yes"
20955 else
20956 echo "$as_me: failed program was:" >&5
20957 sed 's/^/| /' conftest.$ac_ext >&5
20959 eval "$as_ac_var=no"
20961 rm -f conftest.err conftest.$ac_objext \
20962 conftest$ac_exeext conftest.$ac_ext
20964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20965 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20966 if test `eval echo '${'$as_ac_var'}'` = yes; then
20967 cat >>confdefs.h <<_ACEOF
20968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20969 _ACEOF
20972 done
20974 else
20976 echo "$as_me:$LINENO: checking for _expl declaration" >&5
20977 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
20978 if test x${glibcxx_cv_func__expl_use+set} != xset; then
20979 if test "${glibcxx_cv_func__expl_use+set}" = set; then
20980 echo $ECHO_N "(cached) $ECHO_C" >&6
20981 else
20985 ac_ext=cc
20986 ac_cpp='$CXXCPP $CPPFLAGS'
20987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20991 cat >conftest.$ac_ext <<_ACEOF
20992 /* confdefs.h. */
20993 _ACEOF
20994 cat confdefs.h >>conftest.$ac_ext
20995 cat >>conftest.$ac_ext <<_ACEOF
20996 /* end confdefs.h. */
20997 #include <math.h>
20998 #ifdef HAVE_IEEEFP_H
20999 #include <ieeefp.h>
21000 #endif
21003 main ()
21005 _expl(0);
21007 return 0;
21009 _ACEOF
21010 rm -f conftest.$ac_objext
21011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21012 (eval $ac_compile) 2>conftest.er1
21013 ac_status=$?
21014 grep -v '^ *+' conftest.er1 >conftest.err
21015 rm -f conftest.er1
21016 cat conftest.err >&5
21017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21018 (exit $ac_status); } &&
21019 { ac_try='test -z "$ac_cxx_werror_flag"
21020 || test ! -s conftest.err'
21021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21022 (eval $ac_try) 2>&5
21023 ac_status=$?
21024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21025 (exit $ac_status); }; } &&
21026 { ac_try='test -s conftest.$ac_objext'
21027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21028 (eval $ac_try) 2>&5
21029 ac_status=$?
21030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21031 (exit $ac_status); }; }; then
21032 glibcxx_cv_func__expl_use=yes
21033 else
21034 echo "$as_me: failed program was:" >&5
21035 sed 's/^/| /' conftest.$ac_ext >&5
21037 glibcxx_cv_func__expl_use=no
21039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21040 ac_ext=c
21041 ac_cpp='$CPP $CPPFLAGS'
21042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21050 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
21051 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
21053 if test x$glibcxx_cv_func__expl_use = x"yes"; then
21055 for ac_func in _expl
21057 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21058 echo "$as_me:$LINENO: checking for $ac_func" >&5
21059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21060 if eval "test \"\${$as_ac_var+set}\" = set"; then
21061 echo $ECHO_N "(cached) $ECHO_C" >&6
21062 else
21063 if test x$gcc_no_link = xyes; then
21064 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21066 { (exit 1); exit 1; }; }
21068 cat >conftest.$ac_ext <<_ACEOF
21069 /* confdefs.h. */
21070 _ACEOF
21071 cat confdefs.h >>conftest.$ac_ext
21072 cat >>conftest.$ac_ext <<_ACEOF
21073 /* end confdefs.h. */
21074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21075 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21076 #define $ac_func innocuous_$ac_func
21078 /* System header to define __stub macros and hopefully few prototypes,
21079 which can conflict with char $ac_func (); below.
21080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21081 <limits.h> exists even on freestanding compilers. */
21083 #ifdef __STDC__
21084 # include <limits.h>
21085 #else
21086 # include <assert.h>
21087 #endif
21089 #undef $ac_func
21091 /* Override any gcc2 internal prototype to avoid an error. */
21092 #ifdef __cplusplus
21093 extern "C"
21095 #endif
21096 /* We use char because int might match the return type of a gcc2
21097 builtin and then its argument prototype would still apply. */
21098 char $ac_func ();
21099 /* The GNU C library defines this for functions which it implements
21100 to always fail with ENOSYS. Some functions are actually named
21101 something starting with __ and the normal name is an alias. */
21102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21103 choke me
21104 #else
21105 char (*f) () = $ac_func;
21106 #endif
21107 #ifdef __cplusplus
21109 #endif
21112 main ()
21114 return f != $ac_func;
21116 return 0;
21118 _ACEOF
21119 rm -f conftest.$ac_objext conftest$ac_exeext
21120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21121 (eval $ac_link) 2>conftest.er1
21122 ac_status=$?
21123 grep -v '^ *+' conftest.er1 >conftest.err
21124 rm -f conftest.er1
21125 cat conftest.err >&5
21126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21127 (exit $ac_status); } &&
21128 { ac_try='test -z "$ac_c_werror_flag"
21129 || test ! -s conftest.err'
21130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21131 (eval $ac_try) 2>&5
21132 ac_status=$?
21133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21134 (exit $ac_status); }; } &&
21135 { ac_try='test -s conftest$ac_exeext'
21136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21137 (eval $ac_try) 2>&5
21138 ac_status=$?
21139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21140 (exit $ac_status); }; }; then
21141 eval "$as_ac_var=yes"
21142 else
21143 echo "$as_me: failed program was:" >&5
21144 sed 's/^/| /' conftest.$ac_ext >&5
21146 eval "$as_ac_var=no"
21148 rm -f conftest.err conftest.$ac_objext \
21149 conftest$ac_exeext conftest.$ac_ext
21151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21152 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21153 if test `eval echo '${'$as_ac_var'}'` = yes; then
21154 cat >>confdefs.h <<_ACEOF
21155 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21156 _ACEOF
21159 done
21169 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
21170 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
21171 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
21172 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
21173 echo $ECHO_N "(cached) $ECHO_C" >&6
21174 else
21178 ac_ext=cc
21179 ac_cpp='$CXXCPP $CPPFLAGS'
21180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21184 cat >conftest.$ac_ext <<_ACEOF
21185 /* confdefs.h. */
21186 _ACEOF
21187 cat confdefs.h >>conftest.$ac_ext
21188 cat >>conftest.$ac_ext <<_ACEOF
21189 /* end confdefs.h. */
21190 #include <math.h>
21191 #ifdef HAVE_IEEEFP_H
21192 #include <ieeefp.h>
21193 #endif
21196 main ()
21198 fabsl(0);
21200 return 0;
21202 _ACEOF
21203 rm -f conftest.$ac_objext
21204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21205 (eval $ac_compile) 2>conftest.er1
21206 ac_status=$?
21207 grep -v '^ *+' conftest.er1 >conftest.err
21208 rm -f conftest.er1
21209 cat conftest.err >&5
21210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21211 (exit $ac_status); } &&
21212 { ac_try='test -z "$ac_cxx_werror_flag"
21213 || test ! -s conftest.err'
21214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21215 (eval $ac_try) 2>&5
21216 ac_status=$?
21217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21218 (exit $ac_status); }; } &&
21219 { ac_try='test -s conftest.$ac_objext'
21220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21221 (eval $ac_try) 2>&5
21222 ac_status=$?
21223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21224 (exit $ac_status); }; }; then
21225 glibcxx_cv_func_fabsl_use=yes
21226 else
21227 echo "$as_me: failed program was:" >&5
21228 sed 's/^/| /' conftest.$ac_ext >&5
21230 glibcxx_cv_func_fabsl_use=no
21232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21233 ac_ext=c
21234 ac_cpp='$CPP $CPPFLAGS'
21235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21243 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
21244 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
21246 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
21248 for ac_func in fabsl
21250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21251 echo "$as_me:$LINENO: checking for $ac_func" >&5
21252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21253 if eval "test \"\${$as_ac_var+set}\" = set"; then
21254 echo $ECHO_N "(cached) $ECHO_C" >&6
21255 else
21256 if test x$gcc_no_link = xyes; then
21257 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21259 { (exit 1); exit 1; }; }
21261 cat >conftest.$ac_ext <<_ACEOF
21262 /* confdefs.h. */
21263 _ACEOF
21264 cat confdefs.h >>conftest.$ac_ext
21265 cat >>conftest.$ac_ext <<_ACEOF
21266 /* end confdefs.h. */
21267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21269 #define $ac_func innocuous_$ac_func
21271 /* System header to define __stub macros and hopefully few prototypes,
21272 which can conflict with char $ac_func (); below.
21273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21274 <limits.h> exists even on freestanding compilers. */
21276 #ifdef __STDC__
21277 # include <limits.h>
21278 #else
21279 # include <assert.h>
21280 #endif
21282 #undef $ac_func
21284 /* Override any gcc2 internal prototype to avoid an error. */
21285 #ifdef __cplusplus
21286 extern "C"
21288 #endif
21289 /* We use char because int might match the return type of a gcc2
21290 builtin and then its argument prototype would still apply. */
21291 char $ac_func ();
21292 /* The GNU C library defines this for functions which it implements
21293 to always fail with ENOSYS. Some functions are actually named
21294 something starting with __ and the normal name is an alias. */
21295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21296 choke me
21297 #else
21298 char (*f) () = $ac_func;
21299 #endif
21300 #ifdef __cplusplus
21302 #endif
21305 main ()
21307 return f != $ac_func;
21309 return 0;
21311 _ACEOF
21312 rm -f conftest.$ac_objext conftest$ac_exeext
21313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21314 (eval $ac_link) 2>conftest.er1
21315 ac_status=$?
21316 grep -v '^ *+' conftest.er1 >conftest.err
21317 rm -f conftest.er1
21318 cat conftest.err >&5
21319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21320 (exit $ac_status); } &&
21321 { ac_try='test -z "$ac_c_werror_flag"
21322 || test ! -s conftest.err'
21323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21324 (eval $ac_try) 2>&5
21325 ac_status=$?
21326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21327 (exit $ac_status); }; } &&
21328 { ac_try='test -s conftest$ac_exeext'
21329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21330 (eval $ac_try) 2>&5
21331 ac_status=$?
21332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21333 (exit $ac_status); }; }; then
21334 eval "$as_ac_var=yes"
21335 else
21336 echo "$as_me: failed program was:" >&5
21337 sed 's/^/| /' conftest.$ac_ext >&5
21339 eval "$as_ac_var=no"
21341 rm -f conftest.err conftest.$ac_objext \
21342 conftest$ac_exeext conftest.$ac_ext
21344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21346 if test `eval echo '${'$as_ac_var'}'` = yes; then
21347 cat >>confdefs.h <<_ACEOF
21348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21349 _ACEOF
21352 done
21354 else
21356 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
21357 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
21358 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
21359 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
21360 echo $ECHO_N "(cached) $ECHO_C" >&6
21361 else
21365 ac_ext=cc
21366 ac_cpp='$CXXCPP $CPPFLAGS'
21367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21371 cat >conftest.$ac_ext <<_ACEOF
21372 /* confdefs.h. */
21373 _ACEOF
21374 cat confdefs.h >>conftest.$ac_ext
21375 cat >>conftest.$ac_ext <<_ACEOF
21376 /* end confdefs.h. */
21377 #include <math.h>
21378 #ifdef HAVE_IEEEFP_H
21379 #include <ieeefp.h>
21380 #endif
21383 main ()
21385 _fabsl(0);
21387 return 0;
21389 _ACEOF
21390 rm -f conftest.$ac_objext
21391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21392 (eval $ac_compile) 2>conftest.er1
21393 ac_status=$?
21394 grep -v '^ *+' conftest.er1 >conftest.err
21395 rm -f conftest.er1
21396 cat conftest.err >&5
21397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21398 (exit $ac_status); } &&
21399 { ac_try='test -z "$ac_cxx_werror_flag"
21400 || test ! -s conftest.err'
21401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21402 (eval $ac_try) 2>&5
21403 ac_status=$?
21404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21405 (exit $ac_status); }; } &&
21406 { ac_try='test -s conftest.$ac_objext'
21407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21408 (eval $ac_try) 2>&5
21409 ac_status=$?
21410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21411 (exit $ac_status); }; }; then
21412 glibcxx_cv_func__fabsl_use=yes
21413 else
21414 echo "$as_me: failed program was:" >&5
21415 sed 's/^/| /' conftest.$ac_ext >&5
21417 glibcxx_cv_func__fabsl_use=no
21419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21420 ac_ext=c
21421 ac_cpp='$CPP $CPPFLAGS'
21422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21430 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
21431 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
21433 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
21435 for ac_func in _fabsl
21437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21438 echo "$as_me:$LINENO: checking for $ac_func" >&5
21439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21440 if eval "test \"\${$as_ac_var+set}\" = set"; then
21441 echo $ECHO_N "(cached) $ECHO_C" >&6
21442 else
21443 if test x$gcc_no_link = xyes; then
21444 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21446 { (exit 1); exit 1; }; }
21448 cat >conftest.$ac_ext <<_ACEOF
21449 /* confdefs.h. */
21450 _ACEOF
21451 cat confdefs.h >>conftest.$ac_ext
21452 cat >>conftest.$ac_ext <<_ACEOF
21453 /* end confdefs.h. */
21454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21456 #define $ac_func innocuous_$ac_func
21458 /* System header to define __stub macros and hopefully few prototypes,
21459 which can conflict with char $ac_func (); below.
21460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21461 <limits.h> exists even on freestanding compilers. */
21463 #ifdef __STDC__
21464 # include <limits.h>
21465 #else
21466 # include <assert.h>
21467 #endif
21469 #undef $ac_func
21471 /* Override any gcc2 internal prototype to avoid an error. */
21472 #ifdef __cplusplus
21473 extern "C"
21475 #endif
21476 /* We use char because int might match the return type of a gcc2
21477 builtin and then its argument prototype would still apply. */
21478 char $ac_func ();
21479 /* The GNU C library defines this for functions which it implements
21480 to always fail with ENOSYS. Some functions are actually named
21481 something starting with __ and the normal name is an alias. */
21482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21483 choke me
21484 #else
21485 char (*f) () = $ac_func;
21486 #endif
21487 #ifdef __cplusplus
21489 #endif
21492 main ()
21494 return f != $ac_func;
21496 return 0;
21498 _ACEOF
21499 rm -f conftest.$ac_objext conftest$ac_exeext
21500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21501 (eval $ac_link) 2>conftest.er1
21502 ac_status=$?
21503 grep -v '^ *+' conftest.er1 >conftest.err
21504 rm -f conftest.er1
21505 cat conftest.err >&5
21506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21507 (exit $ac_status); } &&
21508 { ac_try='test -z "$ac_c_werror_flag"
21509 || test ! -s conftest.err'
21510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21511 (eval $ac_try) 2>&5
21512 ac_status=$?
21513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21514 (exit $ac_status); }; } &&
21515 { ac_try='test -s conftest$ac_exeext'
21516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21517 (eval $ac_try) 2>&5
21518 ac_status=$?
21519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21520 (exit $ac_status); }; }; then
21521 eval "$as_ac_var=yes"
21522 else
21523 echo "$as_me: failed program was:" >&5
21524 sed 's/^/| /' conftest.$ac_ext >&5
21526 eval "$as_ac_var=no"
21528 rm -f conftest.err conftest.$ac_objext \
21529 conftest$ac_exeext conftest.$ac_ext
21531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21533 if test `eval echo '${'$as_ac_var'}'` = yes; then
21534 cat >>confdefs.h <<_ACEOF
21535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21536 _ACEOF
21539 done
21549 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
21550 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
21551 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
21552 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
21553 echo $ECHO_N "(cached) $ECHO_C" >&6
21554 else
21558 ac_ext=cc
21559 ac_cpp='$CXXCPP $CPPFLAGS'
21560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21564 cat >conftest.$ac_ext <<_ACEOF
21565 /* confdefs.h. */
21566 _ACEOF
21567 cat confdefs.h >>conftest.$ac_ext
21568 cat >>conftest.$ac_ext <<_ACEOF
21569 /* end confdefs.h. */
21570 #include <math.h>
21572 main ()
21574 fmodl(0, 0);
21576 return 0;
21578 _ACEOF
21579 rm -f conftest.$ac_objext
21580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21581 (eval $ac_compile) 2>conftest.er1
21582 ac_status=$?
21583 grep -v '^ *+' conftest.er1 >conftest.err
21584 rm -f conftest.er1
21585 cat conftest.err >&5
21586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21587 (exit $ac_status); } &&
21588 { ac_try='test -z "$ac_cxx_werror_flag"
21589 || test ! -s conftest.err'
21590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21591 (eval $ac_try) 2>&5
21592 ac_status=$?
21593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21594 (exit $ac_status); }; } &&
21595 { ac_try='test -s conftest.$ac_objext'
21596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21597 (eval $ac_try) 2>&5
21598 ac_status=$?
21599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21600 (exit $ac_status); }; }; then
21601 glibcxx_cv_func_fmodl_use=yes
21602 else
21603 echo "$as_me: failed program was:" >&5
21604 sed 's/^/| /' conftest.$ac_ext >&5
21606 glibcxx_cv_func_fmodl_use=no
21608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21609 ac_ext=c
21610 ac_cpp='$CPP $CPPFLAGS'
21611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21619 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
21620 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
21622 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
21624 for ac_func in fmodl
21626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21627 echo "$as_me:$LINENO: checking for $ac_func" >&5
21628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21629 if eval "test \"\${$as_ac_var+set}\" = set"; then
21630 echo $ECHO_N "(cached) $ECHO_C" >&6
21631 else
21632 if test x$gcc_no_link = xyes; then
21633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21635 { (exit 1); exit 1; }; }
21637 cat >conftest.$ac_ext <<_ACEOF
21638 /* confdefs.h. */
21639 _ACEOF
21640 cat confdefs.h >>conftest.$ac_ext
21641 cat >>conftest.$ac_ext <<_ACEOF
21642 /* end confdefs.h. */
21643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21645 #define $ac_func innocuous_$ac_func
21647 /* System header to define __stub macros and hopefully few prototypes,
21648 which can conflict with char $ac_func (); below.
21649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21650 <limits.h> exists even on freestanding compilers. */
21652 #ifdef __STDC__
21653 # include <limits.h>
21654 #else
21655 # include <assert.h>
21656 #endif
21658 #undef $ac_func
21660 /* Override any gcc2 internal prototype to avoid an error. */
21661 #ifdef __cplusplus
21662 extern "C"
21664 #endif
21665 /* We use char because int might match the return type of a gcc2
21666 builtin and then its argument prototype would still apply. */
21667 char $ac_func ();
21668 /* The GNU C library defines this for functions which it implements
21669 to always fail with ENOSYS. Some functions are actually named
21670 something starting with __ and the normal name is an alias. */
21671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21672 choke me
21673 #else
21674 char (*f) () = $ac_func;
21675 #endif
21676 #ifdef __cplusplus
21678 #endif
21681 main ()
21683 return f != $ac_func;
21685 return 0;
21687 _ACEOF
21688 rm -f conftest.$ac_objext conftest$ac_exeext
21689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21690 (eval $ac_link) 2>conftest.er1
21691 ac_status=$?
21692 grep -v '^ *+' conftest.er1 >conftest.err
21693 rm -f conftest.er1
21694 cat conftest.err >&5
21695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21696 (exit $ac_status); } &&
21697 { ac_try='test -z "$ac_c_werror_flag"
21698 || test ! -s conftest.err'
21699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21700 (eval $ac_try) 2>&5
21701 ac_status=$?
21702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21703 (exit $ac_status); }; } &&
21704 { ac_try='test -s conftest$ac_exeext'
21705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21706 (eval $ac_try) 2>&5
21707 ac_status=$?
21708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21709 (exit $ac_status); }; }; then
21710 eval "$as_ac_var=yes"
21711 else
21712 echo "$as_me: failed program was:" >&5
21713 sed 's/^/| /' conftest.$ac_ext >&5
21715 eval "$as_ac_var=no"
21717 rm -f conftest.err conftest.$ac_objext \
21718 conftest$ac_exeext conftest.$ac_ext
21720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21722 if test `eval echo '${'$as_ac_var'}'` = yes; then
21723 cat >>confdefs.h <<_ACEOF
21724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21725 _ACEOF
21728 done
21730 else
21732 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
21733 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
21734 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
21735 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
21736 echo $ECHO_N "(cached) $ECHO_C" >&6
21737 else
21741 ac_ext=cc
21742 ac_cpp='$CXXCPP $CPPFLAGS'
21743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21747 cat >conftest.$ac_ext <<_ACEOF
21748 /* confdefs.h. */
21749 _ACEOF
21750 cat confdefs.h >>conftest.$ac_ext
21751 cat >>conftest.$ac_ext <<_ACEOF
21752 /* end confdefs.h. */
21753 #include <math.h>
21755 main ()
21757 _fmodl(0, 0);
21759 return 0;
21761 _ACEOF
21762 rm -f conftest.$ac_objext
21763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21764 (eval $ac_compile) 2>conftest.er1
21765 ac_status=$?
21766 grep -v '^ *+' conftest.er1 >conftest.err
21767 rm -f conftest.er1
21768 cat conftest.err >&5
21769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21770 (exit $ac_status); } &&
21771 { ac_try='test -z "$ac_cxx_werror_flag"
21772 || test ! -s conftest.err'
21773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21774 (eval $ac_try) 2>&5
21775 ac_status=$?
21776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21777 (exit $ac_status); }; } &&
21778 { ac_try='test -s conftest.$ac_objext'
21779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21780 (eval $ac_try) 2>&5
21781 ac_status=$?
21782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21783 (exit $ac_status); }; }; then
21784 glibcxx_cv_func__fmodl_use=yes
21785 else
21786 echo "$as_me: failed program was:" >&5
21787 sed 's/^/| /' conftest.$ac_ext >&5
21789 glibcxx_cv_func__fmodl_use=no
21791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21792 ac_ext=c
21793 ac_cpp='$CPP $CPPFLAGS'
21794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21802 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
21803 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
21805 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
21807 for ac_func in _fmodl
21809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21810 echo "$as_me:$LINENO: checking for $ac_func" >&5
21811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21812 if eval "test \"\${$as_ac_var+set}\" = set"; then
21813 echo $ECHO_N "(cached) $ECHO_C" >&6
21814 else
21815 if test x$gcc_no_link = xyes; then
21816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21818 { (exit 1); exit 1; }; }
21820 cat >conftest.$ac_ext <<_ACEOF
21821 /* confdefs.h. */
21822 _ACEOF
21823 cat confdefs.h >>conftest.$ac_ext
21824 cat >>conftest.$ac_ext <<_ACEOF
21825 /* end confdefs.h. */
21826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21828 #define $ac_func innocuous_$ac_func
21830 /* System header to define __stub macros and hopefully few prototypes,
21831 which can conflict with char $ac_func (); below.
21832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21833 <limits.h> exists even on freestanding compilers. */
21835 #ifdef __STDC__
21836 # include <limits.h>
21837 #else
21838 # include <assert.h>
21839 #endif
21841 #undef $ac_func
21843 /* Override any gcc2 internal prototype to avoid an error. */
21844 #ifdef __cplusplus
21845 extern "C"
21847 #endif
21848 /* We use char because int might match the return type of a gcc2
21849 builtin and then its argument prototype would still apply. */
21850 char $ac_func ();
21851 /* The GNU C library defines this for functions which it implements
21852 to always fail with ENOSYS. Some functions are actually named
21853 something starting with __ and the normal name is an alias. */
21854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21855 choke me
21856 #else
21857 char (*f) () = $ac_func;
21858 #endif
21859 #ifdef __cplusplus
21861 #endif
21864 main ()
21866 return f != $ac_func;
21868 return 0;
21870 _ACEOF
21871 rm -f conftest.$ac_objext conftest$ac_exeext
21872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21873 (eval $ac_link) 2>conftest.er1
21874 ac_status=$?
21875 grep -v '^ *+' conftest.er1 >conftest.err
21876 rm -f conftest.er1
21877 cat conftest.err >&5
21878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21879 (exit $ac_status); } &&
21880 { ac_try='test -z "$ac_c_werror_flag"
21881 || test ! -s conftest.err'
21882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21883 (eval $ac_try) 2>&5
21884 ac_status=$?
21885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21886 (exit $ac_status); }; } &&
21887 { ac_try='test -s conftest$ac_exeext'
21888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21889 (eval $ac_try) 2>&5
21890 ac_status=$?
21891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21892 (exit $ac_status); }; }; then
21893 eval "$as_ac_var=yes"
21894 else
21895 echo "$as_me: failed program was:" >&5
21896 sed 's/^/| /' conftest.$ac_ext >&5
21898 eval "$as_ac_var=no"
21900 rm -f conftest.err conftest.$ac_objext \
21901 conftest$ac_exeext conftest.$ac_ext
21903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21905 if test `eval echo '${'$as_ac_var'}'` = yes; then
21906 cat >>confdefs.h <<_ACEOF
21907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21908 _ACEOF
21911 done
21921 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
21922 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
21923 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
21924 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
21925 echo $ECHO_N "(cached) $ECHO_C" >&6
21926 else
21930 ac_ext=cc
21931 ac_cpp='$CXXCPP $CPPFLAGS'
21932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21936 cat >conftest.$ac_ext <<_ACEOF
21937 /* confdefs.h. */
21938 _ACEOF
21939 cat confdefs.h >>conftest.$ac_ext
21940 cat >>conftest.$ac_ext <<_ACEOF
21941 /* end confdefs.h. */
21942 #include <math.h>
21944 main ()
21946 frexpl(0, 0);
21948 return 0;
21950 _ACEOF
21951 rm -f conftest.$ac_objext
21952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21953 (eval $ac_compile) 2>conftest.er1
21954 ac_status=$?
21955 grep -v '^ *+' conftest.er1 >conftest.err
21956 rm -f conftest.er1
21957 cat conftest.err >&5
21958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21959 (exit $ac_status); } &&
21960 { ac_try='test -z "$ac_cxx_werror_flag"
21961 || test ! -s conftest.err'
21962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21963 (eval $ac_try) 2>&5
21964 ac_status=$?
21965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21966 (exit $ac_status); }; } &&
21967 { ac_try='test -s conftest.$ac_objext'
21968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21969 (eval $ac_try) 2>&5
21970 ac_status=$?
21971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21972 (exit $ac_status); }; }; then
21973 glibcxx_cv_func_frexpl_use=yes
21974 else
21975 echo "$as_me: failed program was:" >&5
21976 sed 's/^/| /' conftest.$ac_ext >&5
21978 glibcxx_cv_func_frexpl_use=no
21980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21981 ac_ext=c
21982 ac_cpp='$CPP $CPPFLAGS'
21983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21991 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
21992 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
21994 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
21996 for ac_func in frexpl
21998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21999 echo "$as_me:$LINENO: checking for $ac_func" >&5
22000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22001 if eval "test \"\${$as_ac_var+set}\" = set"; then
22002 echo $ECHO_N "(cached) $ECHO_C" >&6
22003 else
22004 if test x$gcc_no_link = xyes; then
22005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22007 { (exit 1); exit 1; }; }
22009 cat >conftest.$ac_ext <<_ACEOF
22010 /* confdefs.h. */
22011 _ACEOF
22012 cat confdefs.h >>conftest.$ac_ext
22013 cat >>conftest.$ac_ext <<_ACEOF
22014 /* end confdefs.h. */
22015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22017 #define $ac_func innocuous_$ac_func
22019 /* System header to define __stub macros and hopefully few prototypes,
22020 which can conflict with char $ac_func (); below.
22021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22022 <limits.h> exists even on freestanding compilers. */
22024 #ifdef __STDC__
22025 # include <limits.h>
22026 #else
22027 # include <assert.h>
22028 #endif
22030 #undef $ac_func
22032 /* Override any gcc2 internal prototype to avoid an error. */
22033 #ifdef __cplusplus
22034 extern "C"
22036 #endif
22037 /* We use char because int might match the return type of a gcc2
22038 builtin and then its argument prototype would still apply. */
22039 char $ac_func ();
22040 /* The GNU C library defines this for functions which it implements
22041 to always fail with ENOSYS. Some functions are actually named
22042 something starting with __ and the normal name is an alias. */
22043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22044 choke me
22045 #else
22046 char (*f) () = $ac_func;
22047 #endif
22048 #ifdef __cplusplus
22050 #endif
22053 main ()
22055 return f != $ac_func;
22057 return 0;
22059 _ACEOF
22060 rm -f conftest.$ac_objext conftest$ac_exeext
22061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22062 (eval $ac_link) 2>conftest.er1
22063 ac_status=$?
22064 grep -v '^ *+' conftest.er1 >conftest.err
22065 rm -f conftest.er1
22066 cat conftest.err >&5
22067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22068 (exit $ac_status); } &&
22069 { ac_try='test -z "$ac_c_werror_flag"
22070 || test ! -s conftest.err'
22071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22072 (eval $ac_try) 2>&5
22073 ac_status=$?
22074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22075 (exit $ac_status); }; } &&
22076 { ac_try='test -s conftest$ac_exeext'
22077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22078 (eval $ac_try) 2>&5
22079 ac_status=$?
22080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22081 (exit $ac_status); }; }; then
22082 eval "$as_ac_var=yes"
22083 else
22084 echo "$as_me: failed program was:" >&5
22085 sed 's/^/| /' conftest.$ac_ext >&5
22087 eval "$as_ac_var=no"
22089 rm -f conftest.err conftest.$ac_objext \
22090 conftest$ac_exeext conftest.$ac_ext
22092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22094 if test `eval echo '${'$as_ac_var'}'` = yes; then
22095 cat >>confdefs.h <<_ACEOF
22096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22097 _ACEOF
22100 done
22102 else
22104 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
22105 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
22106 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
22107 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
22108 echo $ECHO_N "(cached) $ECHO_C" >&6
22109 else
22113 ac_ext=cc
22114 ac_cpp='$CXXCPP $CPPFLAGS'
22115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22119 cat >conftest.$ac_ext <<_ACEOF
22120 /* confdefs.h. */
22121 _ACEOF
22122 cat confdefs.h >>conftest.$ac_ext
22123 cat >>conftest.$ac_ext <<_ACEOF
22124 /* end confdefs.h. */
22125 #include <math.h>
22127 main ()
22129 _frexpl(0, 0);
22131 return 0;
22133 _ACEOF
22134 rm -f conftest.$ac_objext
22135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22136 (eval $ac_compile) 2>conftest.er1
22137 ac_status=$?
22138 grep -v '^ *+' conftest.er1 >conftest.err
22139 rm -f conftest.er1
22140 cat conftest.err >&5
22141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22142 (exit $ac_status); } &&
22143 { ac_try='test -z "$ac_cxx_werror_flag"
22144 || test ! -s conftest.err'
22145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22146 (eval $ac_try) 2>&5
22147 ac_status=$?
22148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22149 (exit $ac_status); }; } &&
22150 { ac_try='test -s conftest.$ac_objext'
22151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22152 (eval $ac_try) 2>&5
22153 ac_status=$?
22154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22155 (exit $ac_status); }; }; then
22156 glibcxx_cv_func__frexpl_use=yes
22157 else
22158 echo "$as_me: failed program was:" >&5
22159 sed 's/^/| /' conftest.$ac_ext >&5
22161 glibcxx_cv_func__frexpl_use=no
22163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22164 ac_ext=c
22165 ac_cpp='$CPP $CPPFLAGS'
22166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22174 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
22175 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
22177 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
22179 for ac_func in _frexpl
22181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22182 echo "$as_me:$LINENO: checking for $ac_func" >&5
22183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22184 if eval "test \"\${$as_ac_var+set}\" = set"; then
22185 echo $ECHO_N "(cached) $ECHO_C" >&6
22186 else
22187 if test x$gcc_no_link = xyes; then
22188 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22190 { (exit 1); exit 1; }; }
22192 cat >conftest.$ac_ext <<_ACEOF
22193 /* confdefs.h. */
22194 _ACEOF
22195 cat confdefs.h >>conftest.$ac_ext
22196 cat >>conftest.$ac_ext <<_ACEOF
22197 /* end confdefs.h. */
22198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22200 #define $ac_func innocuous_$ac_func
22202 /* System header to define __stub macros and hopefully few prototypes,
22203 which can conflict with char $ac_func (); below.
22204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22205 <limits.h> exists even on freestanding compilers. */
22207 #ifdef __STDC__
22208 # include <limits.h>
22209 #else
22210 # include <assert.h>
22211 #endif
22213 #undef $ac_func
22215 /* Override any gcc2 internal prototype to avoid an error. */
22216 #ifdef __cplusplus
22217 extern "C"
22219 #endif
22220 /* We use char because int might match the return type of a gcc2
22221 builtin and then its argument prototype would still apply. */
22222 char $ac_func ();
22223 /* The GNU C library defines this for functions which it implements
22224 to always fail with ENOSYS. Some functions are actually named
22225 something starting with __ and the normal name is an alias. */
22226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22227 choke me
22228 #else
22229 char (*f) () = $ac_func;
22230 #endif
22231 #ifdef __cplusplus
22233 #endif
22236 main ()
22238 return f != $ac_func;
22240 return 0;
22242 _ACEOF
22243 rm -f conftest.$ac_objext conftest$ac_exeext
22244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22245 (eval $ac_link) 2>conftest.er1
22246 ac_status=$?
22247 grep -v '^ *+' conftest.er1 >conftest.err
22248 rm -f conftest.er1
22249 cat conftest.err >&5
22250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22251 (exit $ac_status); } &&
22252 { ac_try='test -z "$ac_c_werror_flag"
22253 || test ! -s conftest.err'
22254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22255 (eval $ac_try) 2>&5
22256 ac_status=$?
22257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22258 (exit $ac_status); }; } &&
22259 { ac_try='test -s conftest$ac_exeext'
22260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22261 (eval $ac_try) 2>&5
22262 ac_status=$?
22263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22264 (exit $ac_status); }; }; then
22265 eval "$as_ac_var=yes"
22266 else
22267 echo "$as_me: failed program was:" >&5
22268 sed 's/^/| /' conftest.$ac_ext >&5
22270 eval "$as_ac_var=no"
22272 rm -f conftest.err conftest.$ac_objext \
22273 conftest$ac_exeext conftest.$ac_ext
22275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22277 if test `eval echo '${'$as_ac_var'}'` = yes; then
22278 cat >>confdefs.h <<_ACEOF
22279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22280 _ACEOF
22283 done
22293 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
22294 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
22295 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
22296 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
22297 echo $ECHO_N "(cached) $ECHO_C" >&6
22298 else
22302 ac_ext=cc
22303 ac_cpp='$CXXCPP $CPPFLAGS'
22304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22308 cat >conftest.$ac_ext <<_ACEOF
22309 /* confdefs.h. */
22310 _ACEOF
22311 cat confdefs.h >>conftest.$ac_ext
22312 cat >>conftest.$ac_ext <<_ACEOF
22313 /* end confdefs.h. */
22314 #include <math.h>
22316 main ()
22318 hypotl(0, 0);
22320 return 0;
22322 _ACEOF
22323 rm -f conftest.$ac_objext
22324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22325 (eval $ac_compile) 2>conftest.er1
22326 ac_status=$?
22327 grep -v '^ *+' conftest.er1 >conftest.err
22328 rm -f conftest.er1
22329 cat conftest.err >&5
22330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22331 (exit $ac_status); } &&
22332 { ac_try='test -z "$ac_cxx_werror_flag"
22333 || test ! -s conftest.err'
22334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22335 (eval $ac_try) 2>&5
22336 ac_status=$?
22337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22338 (exit $ac_status); }; } &&
22339 { ac_try='test -s conftest.$ac_objext'
22340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22341 (eval $ac_try) 2>&5
22342 ac_status=$?
22343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22344 (exit $ac_status); }; }; then
22345 glibcxx_cv_func_hypotl_use=yes
22346 else
22347 echo "$as_me: failed program was:" >&5
22348 sed 's/^/| /' conftest.$ac_ext >&5
22350 glibcxx_cv_func_hypotl_use=no
22352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22353 ac_ext=c
22354 ac_cpp='$CPP $CPPFLAGS'
22355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22363 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
22364 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
22366 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
22368 for ac_func in hypotl
22370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22371 echo "$as_me:$LINENO: checking for $ac_func" >&5
22372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22373 if eval "test \"\${$as_ac_var+set}\" = set"; then
22374 echo $ECHO_N "(cached) $ECHO_C" >&6
22375 else
22376 if test x$gcc_no_link = xyes; then
22377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22379 { (exit 1); exit 1; }; }
22381 cat >conftest.$ac_ext <<_ACEOF
22382 /* confdefs.h. */
22383 _ACEOF
22384 cat confdefs.h >>conftest.$ac_ext
22385 cat >>conftest.$ac_ext <<_ACEOF
22386 /* end confdefs.h. */
22387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22389 #define $ac_func innocuous_$ac_func
22391 /* System header to define __stub macros and hopefully few prototypes,
22392 which can conflict with char $ac_func (); below.
22393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22394 <limits.h> exists even on freestanding compilers. */
22396 #ifdef __STDC__
22397 # include <limits.h>
22398 #else
22399 # include <assert.h>
22400 #endif
22402 #undef $ac_func
22404 /* Override any gcc2 internal prototype to avoid an error. */
22405 #ifdef __cplusplus
22406 extern "C"
22408 #endif
22409 /* We use char because int might match the return type of a gcc2
22410 builtin and then its argument prototype would still apply. */
22411 char $ac_func ();
22412 /* The GNU C library defines this for functions which it implements
22413 to always fail with ENOSYS. Some functions are actually named
22414 something starting with __ and the normal name is an alias. */
22415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22416 choke me
22417 #else
22418 char (*f) () = $ac_func;
22419 #endif
22420 #ifdef __cplusplus
22422 #endif
22425 main ()
22427 return f != $ac_func;
22429 return 0;
22431 _ACEOF
22432 rm -f conftest.$ac_objext conftest$ac_exeext
22433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22434 (eval $ac_link) 2>conftest.er1
22435 ac_status=$?
22436 grep -v '^ *+' conftest.er1 >conftest.err
22437 rm -f conftest.er1
22438 cat conftest.err >&5
22439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22440 (exit $ac_status); } &&
22441 { ac_try='test -z "$ac_c_werror_flag"
22442 || test ! -s conftest.err'
22443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22444 (eval $ac_try) 2>&5
22445 ac_status=$?
22446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22447 (exit $ac_status); }; } &&
22448 { ac_try='test -s conftest$ac_exeext'
22449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22450 (eval $ac_try) 2>&5
22451 ac_status=$?
22452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22453 (exit $ac_status); }; }; then
22454 eval "$as_ac_var=yes"
22455 else
22456 echo "$as_me: failed program was:" >&5
22457 sed 's/^/| /' conftest.$ac_ext >&5
22459 eval "$as_ac_var=no"
22461 rm -f conftest.err conftest.$ac_objext \
22462 conftest$ac_exeext conftest.$ac_ext
22464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22466 if test `eval echo '${'$as_ac_var'}'` = yes; then
22467 cat >>confdefs.h <<_ACEOF
22468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22469 _ACEOF
22472 done
22474 else
22476 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
22477 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
22478 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
22479 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
22480 echo $ECHO_N "(cached) $ECHO_C" >&6
22481 else
22485 ac_ext=cc
22486 ac_cpp='$CXXCPP $CPPFLAGS'
22487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22491 cat >conftest.$ac_ext <<_ACEOF
22492 /* confdefs.h. */
22493 _ACEOF
22494 cat confdefs.h >>conftest.$ac_ext
22495 cat >>conftest.$ac_ext <<_ACEOF
22496 /* end confdefs.h. */
22497 #include <math.h>
22499 main ()
22501 _hypotl(0, 0);
22503 return 0;
22505 _ACEOF
22506 rm -f conftest.$ac_objext
22507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22508 (eval $ac_compile) 2>conftest.er1
22509 ac_status=$?
22510 grep -v '^ *+' conftest.er1 >conftest.err
22511 rm -f conftest.er1
22512 cat conftest.err >&5
22513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22514 (exit $ac_status); } &&
22515 { ac_try='test -z "$ac_cxx_werror_flag"
22516 || test ! -s conftest.err'
22517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22518 (eval $ac_try) 2>&5
22519 ac_status=$?
22520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22521 (exit $ac_status); }; } &&
22522 { ac_try='test -s conftest.$ac_objext'
22523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22524 (eval $ac_try) 2>&5
22525 ac_status=$?
22526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22527 (exit $ac_status); }; }; then
22528 glibcxx_cv_func__hypotl_use=yes
22529 else
22530 echo "$as_me: failed program was:" >&5
22531 sed 's/^/| /' conftest.$ac_ext >&5
22533 glibcxx_cv_func__hypotl_use=no
22535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22536 ac_ext=c
22537 ac_cpp='$CPP $CPPFLAGS'
22538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22546 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
22547 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
22549 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
22551 for ac_func in _hypotl
22553 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22554 echo "$as_me:$LINENO: checking for $ac_func" >&5
22555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22556 if eval "test \"\${$as_ac_var+set}\" = set"; then
22557 echo $ECHO_N "(cached) $ECHO_C" >&6
22558 else
22559 if test x$gcc_no_link = xyes; then
22560 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22562 { (exit 1); exit 1; }; }
22564 cat >conftest.$ac_ext <<_ACEOF
22565 /* confdefs.h. */
22566 _ACEOF
22567 cat confdefs.h >>conftest.$ac_ext
22568 cat >>conftest.$ac_ext <<_ACEOF
22569 /* end confdefs.h. */
22570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22572 #define $ac_func innocuous_$ac_func
22574 /* System header to define __stub macros and hopefully few prototypes,
22575 which can conflict with char $ac_func (); below.
22576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22577 <limits.h> exists even on freestanding compilers. */
22579 #ifdef __STDC__
22580 # include <limits.h>
22581 #else
22582 # include <assert.h>
22583 #endif
22585 #undef $ac_func
22587 /* Override any gcc2 internal prototype to avoid an error. */
22588 #ifdef __cplusplus
22589 extern "C"
22591 #endif
22592 /* We use char because int might match the return type of a gcc2
22593 builtin and then its argument prototype would still apply. */
22594 char $ac_func ();
22595 /* The GNU C library defines this for functions which it implements
22596 to always fail with ENOSYS. Some functions are actually named
22597 something starting with __ and the normal name is an alias. */
22598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22599 choke me
22600 #else
22601 char (*f) () = $ac_func;
22602 #endif
22603 #ifdef __cplusplus
22605 #endif
22608 main ()
22610 return f != $ac_func;
22612 return 0;
22614 _ACEOF
22615 rm -f conftest.$ac_objext conftest$ac_exeext
22616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22617 (eval $ac_link) 2>conftest.er1
22618 ac_status=$?
22619 grep -v '^ *+' conftest.er1 >conftest.err
22620 rm -f conftest.er1
22621 cat conftest.err >&5
22622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22623 (exit $ac_status); } &&
22624 { ac_try='test -z "$ac_c_werror_flag"
22625 || test ! -s conftest.err'
22626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22627 (eval $ac_try) 2>&5
22628 ac_status=$?
22629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22630 (exit $ac_status); }; } &&
22631 { ac_try='test -s conftest$ac_exeext'
22632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22633 (eval $ac_try) 2>&5
22634 ac_status=$?
22635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22636 (exit $ac_status); }; }; then
22637 eval "$as_ac_var=yes"
22638 else
22639 echo "$as_me: failed program was:" >&5
22640 sed 's/^/| /' conftest.$ac_ext >&5
22642 eval "$as_ac_var=no"
22644 rm -f conftest.err conftest.$ac_objext \
22645 conftest$ac_exeext conftest.$ac_ext
22647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22649 if test `eval echo '${'$as_ac_var'}'` = yes; then
22650 cat >>confdefs.h <<_ACEOF
22651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22652 _ACEOF
22655 done
22665 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
22666 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
22667 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
22668 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
22669 echo $ECHO_N "(cached) $ECHO_C" >&6
22670 else
22674 ac_ext=cc
22675 ac_cpp='$CXXCPP $CPPFLAGS'
22676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22680 cat >conftest.$ac_ext <<_ACEOF
22681 /* confdefs.h. */
22682 _ACEOF
22683 cat confdefs.h >>conftest.$ac_ext
22684 cat >>conftest.$ac_ext <<_ACEOF
22685 /* end confdefs.h. */
22686 #include <math.h>
22688 main ()
22690 ldexpl(0, 0);
22692 return 0;
22694 _ACEOF
22695 rm -f conftest.$ac_objext
22696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22697 (eval $ac_compile) 2>conftest.er1
22698 ac_status=$?
22699 grep -v '^ *+' conftest.er1 >conftest.err
22700 rm -f conftest.er1
22701 cat conftest.err >&5
22702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22703 (exit $ac_status); } &&
22704 { ac_try='test -z "$ac_cxx_werror_flag"
22705 || test ! -s conftest.err'
22706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22707 (eval $ac_try) 2>&5
22708 ac_status=$?
22709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22710 (exit $ac_status); }; } &&
22711 { ac_try='test -s conftest.$ac_objext'
22712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22713 (eval $ac_try) 2>&5
22714 ac_status=$?
22715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22716 (exit $ac_status); }; }; then
22717 glibcxx_cv_func_ldexpl_use=yes
22718 else
22719 echo "$as_me: failed program was:" >&5
22720 sed 's/^/| /' conftest.$ac_ext >&5
22722 glibcxx_cv_func_ldexpl_use=no
22724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22725 ac_ext=c
22726 ac_cpp='$CPP $CPPFLAGS'
22727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22735 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
22736 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
22738 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
22740 for ac_func in ldexpl
22742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22743 echo "$as_me:$LINENO: checking for $ac_func" >&5
22744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22745 if eval "test \"\${$as_ac_var+set}\" = set"; then
22746 echo $ECHO_N "(cached) $ECHO_C" >&6
22747 else
22748 if test x$gcc_no_link = xyes; then
22749 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22751 { (exit 1); exit 1; }; }
22753 cat >conftest.$ac_ext <<_ACEOF
22754 /* confdefs.h. */
22755 _ACEOF
22756 cat confdefs.h >>conftest.$ac_ext
22757 cat >>conftest.$ac_ext <<_ACEOF
22758 /* end confdefs.h. */
22759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22761 #define $ac_func innocuous_$ac_func
22763 /* System header to define __stub macros and hopefully few prototypes,
22764 which can conflict with char $ac_func (); below.
22765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22766 <limits.h> exists even on freestanding compilers. */
22768 #ifdef __STDC__
22769 # include <limits.h>
22770 #else
22771 # include <assert.h>
22772 #endif
22774 #undef $ac_func
22776 /* Override any gcc2 internal prototype to avoid an error. */
22777 #ifdef __cplusplus
22778 extern "C"
22780 #endif
22781 /* We use char because int might match the return type of a gcc2
22782 builtin and then its argument prototype would still apply. */
22783 char $ac_func ();
22784 /* The GNU C library defines this for functions which it implements
22785 to always fail with ENOSYS. Some functions are actually named
22786 something starting with __ and the normal name is an alias. */
22787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22788 choke me
22789 #else
22790 char (*f) () = $ac_func;
22791 #endif
22792 #ifdef __cplusplus
22794 #endif
22797 main ()
22799 return f != $ac_func;
22801 return 0;
22803 _ACEOF
22804 rm -f conftest.$ac_objext conftest$ac_exeext
22805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22806 (eval $ac_link) 2>conftest.er1
22807 ac_status=$?
22808 grep -v '^ *+' conftest.er1 >conftest.err
22809 rm -f conftest.er1
22810 cat conftest.err >&5
22811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22812 (exit $ac_status); } &&
22813 { ac_try='test -z "$ac_c_werror_flag"
22814 || test ! -s conftest.err'
22815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22816 (eval $ac_try) 2>&5
22817 ac_status=$?
22818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22819 (exit $ac_status); }; } &&
22820 { ac_try='test -s conftest$ac_exeext'
22821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22822 (eval $ac_try) 2>&5
22823 ac_status=$?
22824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22825 (exit $ac_status); }; }; then
22826 eval "$as_ac_var=yes"
22827 else
22828 echo "$as_me: failed program was:" >&5
22829 sed 's/^/| /' conftest.$ac_ext >&5
22831 eval "$as_ac_var=no"
22833 rm -f conftest.err conftest.$ac_objext \
22834 conftest$ac_exeext conftest.$ac_ext
22836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22838 if test `eval echo '${'$as_ac_var'}'` = yes; then
22839 cat >>confdefs.h <<_ACEOF
22840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22841 _ACEOF
22844 done
22846 else
22848 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
22849 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
22850 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
22851 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
22852 echo $ECHO_N "(cached) $ECHO_C" >&6
22853 else
22857 ac_ext=cc
22858 ac_cpp='$CXXCPP $CPPFLAGS'
22859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22863 cat >conftest.$ac_ext <<_ACEOF
22864 /* confdefs.h. */
22865 _ACEOF
22866 cat confdefs.h >>conftest.$ac_ext
22867 cat >>conftest.$ac_ext <<_ACEOF
22868 /* end confdefs.h. */
22869 #include <math.h>
22871 main ()
22873 _ldexpl(0, 0);
22875 return 0;
22877 _ACEOF
22878 rm -f conftest.$ac_objext
22879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22880 (eval $ac_compile) 2>conftest.er1
22881 ac_status=$?
22882 grep -v '^ *+' conftest.er1 >conftest.err
22883 rm -f conftest.er1
22884 cat conftest.err >&5
22885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22886 (exit $ac_status); } &&
22887 { ac_try='test -z "$ac_cxx_werror_flag"
22888 || test ! -s conftest.err'
22889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22890 (eval $ac_try) 2>&5
22891 ac_status=$?
22892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22893 (exit $ac_status); }; } &&
22894 { ac_try='test -s conftest.$ac_objext'
22895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22896 (eval $ac_try) 2>&5
22897 ac_status=$?
22898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22899 (exit $ac_status); }; }; then
22900 glibcxx_cv_func__ldexpl_use=yes
22901 else
22902 echo "$as_me: failed program was:" >&5
22903 sed 's/^/| /' conftest.$ac_ext >&5
22905 glibcxx_cv_func__ldexpl_use=no
22907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22908 ac_ext=c
22909 ac_cpp='$CPP $CPPFLAGS'
22910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22918 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
22919 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
22921 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
22923 for ac_func in _ldexpl
22925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22926 echo "$as_me:$LINENO: checking for $ac_func" >&5
22927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22928 if eval "test \"\${$as_ac_var+set}\" = set"; then
22929 echo $ECHO_N "(cached) $ECHO_C" >&6
22930 else
22931 if test x$gcc_no_link = xyes; then
22932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22934 { (exit 1); exit 1; }; }
22936 cat >conftest.$ac_ext <<_ACEOF
22937 /* confdefs.h. */
22938 _ACEOF
22939 cat confdefs.h >>conftest.$ac_ext
22940 cat >>conftest.$ac_ext <<_ACEOF
22941 /* end confdefs.h. */
22942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22944 #define $ac_func innocuous_$ac_func
22946 /* System header to define __stub macros and hopefully few prototypes,
22947 which can conflict with char $ac_func (); below.
22948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22949 <limits.h> exists even on freestanding compilers. */
22951 #ifdef __STDC__
22952 # include <limits.h>
22953 #else
22954 # include <assert.h>
22955 #endif
22957 #undef $ac_func
22959 /* Override any gcc2 internal prototype to avoid an error. */
22960 #ifdef __cplusplus
22961 extern "C"
22963 #endif
22964 /* We use char because int might match the return type of a gcc2
22965 builtin and then its argument prototype would still apply. */
22966 char $ac_func ();
22967 /* The GNU C library defines this for functions which it implements
22968 to always fail with ENOSYS. Some functions are actually named
22969 something starting with __ and the normal name is an alias. */
22970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22971 choke me
22972 #else
22973 char (*f) () = $ac_func;
22974 #endif
22975 #ifdef __cplusplus
22977 #endif
22980 main ()
22982 return f != $ac_func;
22984 return 0;
22986 _ACEOF
22987 rm -f conftest.$ac_objext conftest$ac_exeext
22988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22989 (eval $ac_link) 2>conftest.er1
22990 ac_status=$?
22991 grep -v '^ *+' conftest.er1 >conftest.err
22992 rm -f conftest.er1
22993 cat conftest.err >&5
22994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22995 (exit $ac_status); } &&
22996 { ac_try='test -z "$ac_c_werror_flag"
22997 || test ! -s conftest.err'
22998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22999 (eval $ac_try) 2>&5
23000 ac_status=$?
23001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23002 (exit $ac_status); }; } &&
23003 { ac_try='test -s conftest$ac_exeext'
23004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23005 (eval $ac_try) 2>&5
23006 ac_status=$?
23007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23008 (exit $ac_status); }; }; then
23009 eval "$as_ac_var=yes"
23010 else
23011 echo "$as_me: failed program was:" >&5
23012 sed 's/^/| /' conftest.$ac_ext >&5
23014 eval "$as_ac_var=no"
23016 rm -f conftest.err conftest.$ac_objext \
23017 conftest$ac_exeext conftest.$ac_ext
23019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23021 if test `eval echo '${'$as_ac_var'}'` = yes; then
23022 cat >>confdefs.h <<_ACEOF
23023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23024 _ACEOF
23027 done
23037 echo "$as_me:$LINENO: checking for logl declaration" >&5
23038 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
23039 if test x${glibcxx_cv_func_logl_use+set} != xset; then
23040 if test "${glibcxx_cv_func_logl_use+set}" = set; then
23041 echo $ECHO_N "(cached) $ECHO_C" >&6
23042 else
23046 ac_ext=cc
23047 ac_cpp='$CXXCPP $CPPFLAGS'
23048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23052 cat >conftest.$ac_ext <<_ACEOF
23053 /* confdefs.h. */
23054 _ACEOF
23055 cat confdefs.h >>conftest.$ac_ext
23056 cat >>conftest.$ac_ext <<_ACEOF
23057 /* end confdefs.h. */
23058 #include <math.h>
23059 #ifdef HAVE_IEEEFP_H
23060 #include <ieeefp.h>
23061 #endif
23064 main ()
23066 logl(0);
23068 return 0;
23070 _ACEOF
23071 rm -f conftest.$ac_objext
23072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23073 (eval $ac_compile) 2>conftest.er1
23074 ac_status=$?
23075 grep -v '^ *+' conftest.er1 >conftest.err
23076 rm -f conftest.er1
23077 cat conftest.err >&5
23078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23079 (exit $ac_status); } &&
23080 { ac_try='test -z "$ac_cxx_werror_flag"
23081 || test ! -s conftest.err'
23082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23083 (eval $ac_try) 2>&5
23084 ac_status=$?
23085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23086 (exit $ac_status); }; } &&
23087 { ac_try='test -s conftest.$ac_objext'
23088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23089 (eval $ac_try) 2>&5
23090 ac_status=$?
23091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23092 (exit $ac_status); }; }; then
23093 glibcxx_cv_func_logl_use=yes
23094 else
23095 echo "$as_me: failed program was:" >&5
23096 sed 's/^/| /' conftest.$ac_ext >&5
23098 glibcxx_cv_func_logl_use=no
23100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23101 ac_ext=c
23102 ac_cpp='$CPP $CPPFLAGS'
23103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23111 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
23112 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
23114 if test x$glibcxx_cv_func_logl_use = x"yes"; then
23116 for ac_func in logl
23118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23119 echo "$as_me:$LINENO: checking for $ac_func" >&5
23120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23121 if eval "test \"\${$as_ac_var+set}\" = set"; then
23122 echo $ECHO_N "(cached) $ECHO_C" >&6
23123 else
23124 if test x$gcc_no_link = xyes; then
23125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23127 { (exit 1); exit 1; }; }
23129 cat >conftest.$ac_ext <<_ACEOF
23130 /* confdefs.h. */
23131 _ACEOF
23132 cat confdefs.h >>conftest.$ac_ext
23133 cat >>conftest.$ac_ext <<_ACEOF
23134 /* end confdefs.h. */
23135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23137 #define $ac_func innocuous_$ac_func
23139 /* System header to define __stub macros and hopefully few prototypes,
23140 which can conflict with char $ac_func (); below.
23141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23142 <limits.h> exists even on freestanding compilers. */
23144 #ifdef __STDC__
23145 # include <limits.h>
23146 #else
23147 # include <assert.h>
23148 #endif
23150 #undef $ac_func
23152 /* Override any gcc2 internal prototype to avoid an error. */
23153 #ifdef __cplusplus
23154 extern "C"
23156 #endif
23157 /* We use char because int might match the return type of a gcc2
23158 builtin and then its argument prototype would still apply. */
23159 char $ac_func ();
23160 /* The GNU C library defines this for functions which it implements
23161 to always fail with ENOSYS. Some functions are actually named
23162 something starting with __ and the normal name is an alias. */
23163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23164 choke me
23165 #else
23166 char (*f) () = $ac_func;
23167 #endif
23168 #ifdef __cplusplus
23170 #endif
23173 main ()
23175 return f != $ac_func;
23177 return 0;
23179 _ACEOF
23180 rm -f conftest.$ac_objext conftest$ac_exeext
23181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23182 (eval $ac_link) 2>conftest.er1
23183 ac_status=$?
23184 grep -v '^ *+' conftest.er1 >conftest.err
23185 rm -f conftest.er1
23186 cat conftest.err >&5
23187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23188 (exit $ac_status); } &&
23189 { ac_try='test -z "$ac_c_werror_flag"
23190 || test ! -s conftest.err'
23191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23192 (eval $ac_try) 2>&5
23193 ac_status=$?
23194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23195 (exit $ac_status); }; } &&
23196 { ac_try='test -s conftest$ac_exeext'
23197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23198 (eval $ac_try) 2>&5
23199 ac_status=$?
23200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23201 (exit $ac_status); }; }; then
23202 eval "$as_ac_var=yes"
23203 else
23204 echo "$as_me: failed program was:" >&5
23205 sed 's/^/| /' conftest.$ac_ext >&5
23207 eval "$as_ac_var=no"
23209 rm -f conftest.err conftest.$ac_objext \
23210 conftest$ac_exeext conftest.$ac_ext
23212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23214 if test `eval echo '${'$as_ac_var'}'` = yes; then
23215 cat >>confdefs.h <<_ACEOF
23216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23217 _ACEOF
23220 done
23222 else
23224 echo "$as_me:$LINENO: checking for _logl declaration" >&5
23225 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
23226 if test x${glibcxx_cv_func__logl_use+set} != xset; then
23227 if test "${glibcxx_cv_func__logl_use+set}" = set; then
23228 echo $ECHO_N "(cached) $ECHO_C" >&6
23229 else
23233 ac_ext=cc
23234 ac_cpp='$CXXCPP $CPPFLAGS'
23235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23239 cat >conftest.$ac_ext <<_ACEOF
23240 /* confdefs.h. */
23241 _ACEOF
23242 cat confdefs.h >>conftest.$ac_ext
23243 cat >>conftest.$ac_ext <<_ACEOF
23244 /* end confdefs.h. */
23245 #include <math.h>
23246 #ifdef HAVE_IEEEFP_H
23247 #include <ieeefp.h>
23248 #endif
23251 main ()
23253 _logl(0);
23255 return 0;
23257 _ACEOF
23258 rm -f conftest.$ac_objext
23259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23260 (eval $ac_compile) 2>conftest.er1
23261 ac_status=$?
23262 grep -v '^ *+' conftest.er1 >conftest.err
23263 rm -f conftest.er1
23264 cat conftest.err >&5
23265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23266 (exit $ac_status); } &&
23267 { ac_try='test -z "$ac_cxx_werror_flag"
23268 || test ! -s conftest.err'
23269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23270 (eval $ac_try) 2>&5
23271 ac_status=$?
23272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23273 (exit $ac_status); }; } &&
23274 { ac_try='test -s conftest.$ac_objext'
23275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23276 (eval $ac_try) 2>&5
23277 ac_status=$?
23278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23279 (exit $ac_status); }; }; then
23280 glibcxx_cv_func__logl_use=yes
23281 else
23282 echo "$as_me: failed program was:" >&5
23283 sed 's/^/| /' conftest.$ac_ext >&5
23285 glibcxx_cv_func__logl_use=no
23287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23288 ac_ext=c
23289 ac_cpp='$CPP $CPPFLAGS'
23290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23298 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
23299 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
23301 if test x$glibcxx_cv_func__logl_use = x"yes"; then
23303 for ac_func in _logl
23305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23306 echo "$as_me:$LINENO: checking for $ac_func" >&5
23307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23308 if eval "test \"\${$as_ac_var+set}\" = set"; then
23309 echo $ECHO_N "(cached) $ECHO_C" >&6
23310 else
23311 if test x$gcc_no_link = xyes; then
23312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23314 { (exit 1); exit 1; }; }
23316 cat >conftest.$ac_ext <<_ACEOF
23317 /* confdefs.h. */
23318 _ACEOF
23319 cat confdefs.h >>conftest.$ac_ext
23320 cat >>conftest.$ac_ext <<_ACEOF
23321 /* end confdefs.h. */
23322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23324 #define $ac_func innocuous_$ac_func
23326 /* System header to define __stub macros and hopefully few prototypes,
23327 which can conflict with char $ac_func (); below.
23328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23329 <limits.h> exists even on freestanding compilers. */
23331 #ifdef __STDC__
23332 # include <limits.h>
23333 #else
23334 # include <assert.h>
23335 #endif
23337 #undef $ac_func
23339 /* Override any gcc2 internal prototype to avoid an error. */
23340 #ifdef __cplusplus
23341 extern "C"
23343 #endif
23344 /* We use char because int might match the return type of a gcc2
23345 builtin and then its argument prototype would still apply. */
23346 char $ac_func ();
23347 /* The GNU C library defines this for functions which it implements
23348 to always fail with ENOSYS. Some functions are actually named
23349 something starting with __ and the normal name is an alias. */
23350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23351 choke me
23352 #else
23353 char (*f) () = $ac_func;
23354 #endif
23355 #ifdef __cplusplus
23357 #endif
23360 main ()
23362 return f != $ac_func;
23364 return 0;
23366 _ACEOF
23367 rm -f conftest.$ac_objext conftest$ac_exeext
23368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23369 (eval $ac_link) 2>conftest.er1
23370 ac_status=$?
23371 grep -v '^ *+' conftest.er1 >conftest.err
23372 rm -f conftest.er1
23373 cat conftest.err >&5
23374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23375 (exit $ac_status); } &&
23376 { ac_try='test -z "$ac_c_werror_flag"
23377 || test ! -s conftest.err'
23378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23379 (eval $ac_try) 2>&5
23380 ac_status=$?
23381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23382 (exit $ac_status); }; } &&
23383 { ac_try='test -s conftest$ac_exeext'
23384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23385 (eval $ac_try) 2>&5
23386 ac_status=$?
23387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23388 (exit $ac_status); }; }; then
23389 eval "$as_ac_var=yes"
23390 else
23391 echo "$as_me: failed program was:" >&5
23392 sed 's/^/| /' conftest.$ac_ext >&5
23394 eval "$as_ac_var=no"
23396 rm -f conftest.err conftest.$ac_objext \
23397 conftest$ac_exeext conftest.$ac_ext
23399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23401 if test `eval echo '${'$as_ac_var'}'` = yes; then
23402 cat >>confdefs.h <<_ACEOF
23403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23404 _ACEOF
23407 done
23417 echo "$as_me:$LINENO: checking for log10l declaration" >&5
23418 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
23419 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
23420 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
23421 echo $ECHO_N "(cached) $ECHO_C" >&6
23422 else
23426 ac_ext=cc
23427 ac_cpp='$CXXCPP $CPPFLAGS'
23428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23432 cat >conftest.$ac_ext <<_ACEOF
23433 /* confdefs.h. */
23434 _ACEOF
23435 cat confdefs.h >>conftest.$ac_ext
23436 cat >>conftest.$ac_ext <<_ACEOF
23437 /* end confdefs.h. */
23438 #include <math.h>
23439 #ifdef HAVE_IEEEFP_H
23440 #include <ieeefp.h>
23441 #endif
23444 main ()
23446 log10l(0);
23448 return 0;
23450 _ACEOF
23451 rm -f conftest.$ac_objext
23452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23453 (eval $ac_compile) 2>conftest.er1
23454 ac_status=$?
23455 grep -v '^ *+' conftest.er1 >conftest.err
23456 rm -f conftest.er1
23457 cat conftest.err >&5
23458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23459 (exit $ac_status); } &&
23460 { ac_try='test -z "$ac_cxx_werror_flag"
23461 || test ! -s conftest.err'
23462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23463 (eval $ac_try) 2>&5
23464 ac_status=$?
23465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23466 (exit $ac_status); }; } &&
23467 { ac_try='test -s conftest.$ac_objext'
23468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23469 (eval $ac_try) 2>&5
23470 ac_status=$?
23471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23472 (exit $ac_status); }; }; then
23473 glibcxx_cv_func_log10l_use=yes
23474 else
23475 echo "$as_me: failed program was:" >&5
23476 sed 's/^/| /' conftest.$ac_ext >&5
23478 glibcxx_cv_func_log10l_use=no
23480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23481 ac_ext=c
23482 ac_cpp='$CPP $CPPFLAGS'
23483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23491 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
23492 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
23494 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
23496 for ac_func in log10l
23498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23499 echo "$as_me:$LINENO: checking for $ac_func" >&5
23500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23501 if eval "test \"\${$as_ac_var+set}\" = set"; then
23502 echo $ECHO_N "(cached) $ECHO_C" >&6
23503 else
23504 if test x$gcc_no_link = xyes; then
23505 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23507 { (exit 1); exit 1; }; }
23509 cat >conftest.$ac_ext <<_ACEOF
23510 /* confdefs.h. */
23511 _ACEOF
23512 cat confdefs.h >>conftest.$ac_ext
23513 cat >>conftest.$ac_ext <<_ACEOF
23514 /* end confdefs.h. */
23515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23517 #define $ac_func innocuous_$ac_func
23519 /* System header to define __stub macros and hopefully few prototypes,
23520 which can conflict with char $ac_func (); below.
23521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23522 <limits.h> exists even on freestanding compilers. */
23524 #ifdef __STDC__
23525 # include <limits.h>
23526 #else
23527 # include <assert.h>
23528 #endif
23530 #undef $ac_func
23532 /* Override any gcc2 internal prototype to avoid an error. */
23533 #ifdef __cplusplus
23534 extern "C"
23536 #endif
23537 /* We use char because int might match the return type of a gcc2
23538 builtin and then its argument prototype would still apply. */
23539 char $ac_func ();
23540 /* The GNU C library defines this for functions which it implements
23541 to always fail with ENOSYS. Some functions are actually named
23542 something starting with __ and the normal name is an alias. */
23543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23544 choke me
23545 #else
23546 char (*f) () = $ac_func;
23547 #endif
23548 #ifdef __cplusplus
23550 #endif
23553 main ()
23555 return f != $ac_func;
23557 return 0;
23559 _ACEOF
23560 rm -f conftest.$ac_objext conftest$ac_exeext
23561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23562 (eval $ac_link) 2>conftest.er1
23563 ac_status=$?
23564 grep -v '^ *+' conftest.er1 >conftest.err
23565 rm -f conftest.er1
23566 cat conftest.err >&5
23567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23568 (exit $ac_status); } &&
23569 { ac_try='test -z "$ac_c_werror_flag"
23570 || test ! -s conftest.err'
23571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23572 (eval $ac_try) 2>&5
23573 ac_status=$?
23574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23575 (exit $ac_status); }; } &&
23576 { ac_try='test -s conftest$ac_exeext'
23577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23578 (eval $ac_try) 2>&5
23579 ac_status=$?
23580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23581 (exit $ac_status); }; }; then
23582 eval "$as_ac_var=yes"
23583 else
23584 echo "$as_me: failed program was:" >&5
23585 sed 's/^/| /' conftest.$ac_ext >&5
23587 eval "$as_ac_var=no"
23589 rm -f conftest.err conftest.$ac_objext \
23590 conftest$ac_exeext conftest.$ac_ext
23592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23594 if test `eval echo '${'$as_ac_var'}'` = yes; then
23595 cat >>confdefs.h <<_ACEOF
23596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23597 _ACEOF
23600 done
23602 else
23604 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
23605 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
23606 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
23607 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
23608 echo $ECHO_N "(cached) $ECHO_C" >&6
23609 else
23613 ac_ext=cc
23614 ac_cpp='$CXXCPP $CPPFLAGS'
23615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23619 cat >conftest.$ac_ext <<_ACEOF
23620 /* confdefs.h. */
23621 _ACEOF
23622 cat confdefs.h >>conftest.$ac_ext
23623 cat >>conftest.$ac_ext <<_ACEOF
23624 /* end confdefs.h. */
23625 #include <math.h>
23626 #ifdef HAVE_IEEEFP_H
23627 #include <ieeefp.h>
23628 #endif
23631 main ()
23633 _log10l(0);
23635 return 0;
23637 _ACEOF
23638 rm -f conftest.$ac_objext
23639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23640 (eval $ac_compile) 2>conftest.er1
23641 ac_status=$?
23642 grep -v '^ *+' conftest.er1 >conftest.err
23643 rm -f conftest.er1
23644 cat conftest.err >&5
23645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23646 (exit $ac_status); } &&
23647 { ac_try='test -z "$ac_cxx_werror_flag"
23648 || test ! -s conftest.err'
23649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23650 (eval $ac_try) 2>&5
23651 ac_status=$?
23652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23653 (exit $ac_status); }; } &&
23654 { ac_try='test -s conftest.$ac_objext'
23655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23656 (eval $ac_try) 2>&5
23657 ac_status=$?
23658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23659 (exit $ac_status); }; }; then
23660 glibcxx_cv_func__log10l_use=yes
23661 else
23662 echo "$as_me: failed program was:" >&5
23663 sed 's/^/| /' conftest.$ac_ext >&5
23665 glibcxx_cv_func__log10l_use=no
23667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23668 ac_ext=c
23669 ac_cpp='$CPP $CPPFLAGS'
23670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23678 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
23679 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
23681 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
23683 for ac_func in _log10l
23685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23686 echo "$as_me:$LINENO: checking for $ac_func" >&5
23687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23688 if eval "test \"\${$as_ac_var+set}\" = set"; then
23689 echo $ECHO_N "(cached) $ECHO_C" >&6
23690 else
23691 if test x$gcc_no_link = xyes; then
23692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23694 { (exit 1); exit 1; }; }
23696 cat >conftest.$ac_ext <<_ACEOF
23697 /* confdefs.h. */
23698 _ACEOF
23699 cat confdefs.h >>conftest.$ac_ext
23700 cat >>conftest.$ac_ext <<_ACEOF
23701 /* end confdefs.h. */
23702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23704 #define $ac_func innocuous_$ac_func
23706 /* System header to define __stub macros and hopefully few prototypes,
23707 which can conflict with char $ac_func (); below.
23708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23709 <limits.h> exists even on freestanding compilers. */
23711 #ifdef __STDC__
23712 # include <limits.h>
23713 #else
23714 # include <assert.h>
23715 #endif
23717 #undef $ac_func
23719 /* Override any gcc2 internal prototype to avoid an error. */
23720 #ifdef __cplusplus
23721 extern "C"
23723 #endif
23724 /* We use char because int might match the return type of a gcc2
23725 builtin and then its argument prototype would still apply. */
23726 char $ac_func ();
23727 /* The GNU C library defines this for functions which it implements
23728 to always fail with ENOSYS. Some functions are actually named
23729 something starting with __ and the normal name is an alias. */
23730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23731 choke me
23732 #else
23733 char (*f) () = $ac_func;
23734 #endif
23735 #ifdef __cplusplus
23737 #endif
23740 main ()
23742 return f != $ac_func;
23744 return 0;
23746 _ACEOF
23747 rm -f conftest.$ac_objext conftest$ac_exeext
23748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23749 (eval $ac_link) 2>conftest.er1
23750 ac_status=$?
23751 grep -v '^ *+' conftest.er1 >conftest.err
23752 rm -f conftest.er1
23753 cat conftest.err >&5
23754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23755 (exit $ac_status); } &&
23756 { ac_try='test -z "$ac_c_werror_flag"
23757 || test ! -s conftest.err'
23758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23759 (eval $ac_try) 2>&5
23760 ac_status=$?
23761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23762 (exit $ac_status); }; } &&
23763 { ac_try='test -s conftest$ac_exeext'
23764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23765 (eval $ac_try) 2>&5
23766 ac_status=$?
23767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23768 (exit $ac_status); }; }; then
23769 eval "$as_ac_var=yes"
23770 else
23771 echo "$as_me: failed program was:" >&5
23772 sed 's/^/| /' conftest.$ac_ext >&5
23774 eval "$as_ac_var=no"
23776 rm -f conftest.err conftest.$ac_objext \
23777 conftest$ac_exeext conftest.$ac_ext
23779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23781 if test `eval echo '${'$as_ac_var'}'` = yes; then
23782 cat >>confdefs.h <<_ACEOF
23783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23784 _ACEOF
23787 done
23797 echo "$as_me:$LINENO: checking for modfl declaration" >&5
23798 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
23799 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
23800 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
23801 echo $ECHO_N "(cached) $ECHO_C" >&6
23802 else
23806 ac_ext=cc
23807 ac_cpp='$CXXCPP $CPPFLAGS'
23808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23812 cat >conftest.$ac_ext <<_ACEOF
23813 /* confdefs.h. */
23814 _ACEOF
23815 cat confdefs.h >>conftest.$ac_ext
23816 cat >>conftest.$ac_ext <<_ACEOF
23817 /* end confdefs.h. */
23818 #include <math.h>
23820 main ()
23822 modfl(0, 0);
23824 return 0;
23826 _ACEOF
23827 rm -f conftest.$ac_objext
23828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23829 (eval $ac_compile) 2>conftest.er1
23830 ac_status=$?
23831 grep -v '^ *+' conftest.er1 >conftest.err
23832 rm -f conftest.er1
23833 cat conftest.err >&5
23834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23835 (exit $ac_status); } &&
23836 { ac_try='test -z "$ac_cxx_werror_flag"
23837 || test ! -s conftest.err'
23838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23839 (eval $ac_try) 2>&5
23840 ac_status=$?
23841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23842 (exit $ac_status); }; } &&
23843 { ac_try='test -s conftest.$ac_objext'
23844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23845 (eval $ac_try) 2>&5
23846 ac_status=$?
23847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23848 (exit $ac_status); }; }; then
23849 glibcxx_cv_func_modfl_use=yes
23850 else
23851 echo "$as_me: failed program was:" >&5
23852 sed 's/^/| /' conftest.$ac_ext >&5
23854 glibcxx_cv_func_modfl_use=no
23856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23857 ac_ext=c
23858 ac_cpp='$CPP $CPPFLAGS'
23859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23867 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
23868 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
23870 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
23872 for ac_func in modfl
23874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23875 echo "$as_me:$LINENO: checking for $ac_func" >&5
23876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23877 if eval "test \"\${$as_ac_var+set}\" = set"; then
23878 echo $ECHO_N "(cached) $ECHO_C" >&6
23879 else
23880 if test x$gcc_no_link = xyes; then
23881 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23883 { (exit 1); exit 1; }; }
23885 cat >conftest.$ac_ext <<_ACEOF
23886 /* confdefs.h. */
23887 _ACEOF
23888 cat confdefs.h >>conftest.$ac_ext
23889 cat >>conftest.$ac_ext <<_ACEOF
23890 /* end confdefs.h. */
23891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23893 #define $ac_func innocuous_$ac_func
23895 /* System header to define __stub macros and hopefully few prototypes,
23896 which can conflict with char $ac_func (); below.
23897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23898 <limits.h> exists even on freestanding compilers. */
23900 #ifdef __STDC__
23901 # include <limits.h>
23902 #else
23903 # include <assert.h>
23904 #endif
23906 #undef $ac_func
23908 /* Override any gcc2 internal prototype to avoid an error. */
23909 #ifdef __cplusplus
23910 extern "C"
23912 #endif
23913 /* We use char because int might match the return type of a gcc2
23914 builtin and then its argument prototype would still apply. */
23915 char $ac_func ();
23916 /* The GNU C library defines this for functions which it implements
23917 to always fail with ENOSYS. Some functions are actually named
23918 something starting with __ and the normal name is an alias. */
23919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23920 choke me
23921 #else
23922 char (*f) () = $ac_func;
23923 #endif
23924 #ifdef __cplusplus
23926 #endif
23929 main ()
23931 return f != $ac_func;
23933 return 0;
23935 _ACEOF
23936 rm -f conftest.$ac_objext conftest$ac_exeext
23937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23938 (eval $ac_link) 2>conftest.er1
23939 ac_status=$?
23940 grep -v '^ *+' conftest.er1 >conftest.err
23941 rm -f conftest.er1
23942 cat conftest.err >&5
23943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23944 (exit $ac_status); } &&
23945 { ac_try='test -z "$ac_c_werror_flag"
23946 || test ! -s conftest.err'
23947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23948 (eval $ac_try) 2>&5
23949 ac_status=$?
23950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23951 (exit $ac_status); }; } &&
23952 { ac_try='test -s conftest$ac_exeext'
23953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23954 (eval $ac_try) 2>&5
23955 ac_status=$?
23956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23957 (exit $ac_status); }; }; then
23958 eval "$as_ac_var=yes"
23959 else
23960 echo "$as_me: failed program was:" >&5
23961 sed 's/^/| /' conftest.$ac_ext >&5
23963 eval "$as_ac_var=no"
23965 rm -f conftest.err conftest.$ac_objext \
23966 conftest$ac_exeext conftest.$ac_ext
23968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23970 if test `eval echo '${'$as_ac_var'}'` = yes; then
23971 cat >>confdefs.h <<_ACEOF
23972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23973 _ACEOF
23976 done
23978 else
23980 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
23981 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
23982 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
23983 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
23984 echo $ECHO_N "(cached) $ECHO_C" >&6
23985 else
23989 ac_ext=cc
23990 ac_cpp='$CXXCPP $CPPFLAGS'
23991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23995 cat >conftest.$ac_ext <<_ACEOF
23996 /* confdefs.h. */
23997 _ACEOF
23998 cat confdefs.h >>conftest.$ac_ext
23999 cat >>conftest.$ac_ext <<_ACEOF
24000 /* end confdefs.h. */
24001 #include <math.h>
24003 main ()
24005 _modfl(0, 0);
24007 return 0;
24009 _ACEOF
24010 rm -f conftest.$ac_objext
24011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24012 (eval $ac_compile) 2>conftest.er1
24013 ac_status=$?
24014 grep -v '^ *+' conftest.er1 >conftest.err
24015 rm -f conftest.er1
24016 cat conftest.err >&5
24017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24018 (exit $ac_status); } &&
24019 { ac_try='test -z "$ac_cxx_werror_flag"
24020 || test ! -s conftest.err'
24021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24022 (eval $ac_try) 2>&5
24023 ac_status=$?
24024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24025 (exit $ac_status); }; } &&
24026 { ac_try='test -s conftest.$ac_objext'
24027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24028 (eval $ac_try) 2>&5
24029 ac_status=$?
24030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24031 (exit $ac_status); }; }; then
24032 glibcxx_cv_func__modfl_use=yes
24033 else
24034 echo "$as_me: failed program was:" >&5
24035 sed 's/^/| /' conftest.$ac_ext >&5
24037 glibcxx_cv_func__modfl_use=no
24039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24040 ac_ext=c
24041 ac_cpp='$CPP $CPPFLAGS'
24042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24050 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
24051 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
24053 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24055 for ac_func in _modfl
24057 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24058 echo "$as_me:$LINENO: checking for $ac_func" >&5
24059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24060 if eval "test \"\${$as_ac_var+set}\" = set"; then
24061 echo $ECHO_N "(cached) $ECHO_C" >&6
24062 else
24063 if test x$gcc_no_link = xyes; then
24064 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24066 { (exit 1); exit 1; }; }
24068 cat >conftest.$ac_ext <<_ACEOF
24069 /* confdefs.h. */
24070 _ACEOF
24071 cat confdefs.h >>conftest.$ac_ext
24072 cat >>conftest.$ac_ext <<_ACEOF
24073 /* end confdefs.h. */
24074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24075 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24076 #define $ac_func innocuous_$ac_func
24078 /* System header to define __stub macros and hopefully few prototypes,
24079 which can conflict with char $ac_func (); below.
24080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24081 <limits.h> exists even on freestanding compilers. */
24083 #ifdef __STDC__
24084 # include <limits.h>
24085 #else
24086 # include <assert.h>
24087 #endif
24089 #undef $ac_func
24091 /* Override any gcc2 internal prototype to avoid an error. */
24092 #ifdef __cplusplus
24093 extern "C"
24095 #endif
24096 /* We use char because int might match the return type of a gcc2
24097 builtin and then its argument prototype would still apply. */
24098 char $ac_func ();
24099 /* The GNU C library defines this for functions which it implements
24100 to always fail with ENOSYS. Some functions are actually named
24101 something starting with __ and the normal name is an alias. */
24102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24103 choke me
24104 #else
24105 char (*f) () = $ac_func;
24106 #endif
24107 #ifdef __cplusplus
24109 #endif
24112 main ()
24114 return f != $ac_func;
24116 return 0;
24118 _ACEOF
24119 rm -f conftest.$ac_objext conftest$ac_exeext
24120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24121 (eval $ac_link) 2>conftest.er1
24122 ac_status=$?
24123 grep -v '^ *+' conftest.er1 >conftest.err
24124 rm -f conftest.er1
24125 cat conftest.err >&5
24126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24127 (exit $ac_status); } &&
24128 { ac_try='test -z "$ac_c_werror_flag"
24129 || test ! -s conftest.err'
24130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24131 (eval $ac_try) 2>&5
24132 ac_status=$?
24133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24134 (exit $ac_status); }; } &&
24135 { ac_try='test -s conftest$ac_exeext'
24136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24137 (eval $ac_try) 2>&5
24138 ac_status=$?
24139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24140 (exit $ac_status); }; }; then
24141 eval "$as_ac_var=yes"
24142 else
24143 echo "$as_me: failed program was:" >&5
24144 sed 's/^/| /' conftest.$ac_ext >&5
24146 eval "$as_ac_var=no"
24148 rm -f conftest.err conftest.$ac_objext \
24149 conftest$ac_exeext conftest.$ac_ext
24151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24152 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24153 if test `eval echo '${'$as_ac_var'}'` = yes; then
24154 cat >>confdefs.h <<_ACEOF
24155 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24156 _ACEOF
24159 done
24169 echo "$as_me:$LINENO: checking for powl declaration" >&5
24170 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
24171 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24172 if test "${glibcxx_cv_func_powl_use+set}" = set; then
24173 echo $ECHO_N "(cached) $ECHO_C" >&6
24174 else
24178 ac_ext=cc
24179 ac_cpp='$CXXCPP $CPPFLAGS'
24180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24184 cat >conftest.$ac_ext <<_ACEOF
24185 /* confdefs.h. */
24186 _ACEOF
24187 cat confdefs.h >>conftest.$ac_ext
24188 cat >>conftest.$ac_ext <<_ACEOF
24189 /* end confdefs.h. */
24190 #include <math.h>
24192 main ()
24194 powl(0, 0);
24196 return 0;
24198 _ACEOF
24199 rm -f conftest.$ac_objext
24200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24201 (eval $ac_compile) 2>conftest.er1
24202 ac_status=$?
24203 grep -v '^ *+' conftest.er1 >conftest.err
24204 rm -f conftest.er1
24205 cat conftest.err >&5
24206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24207 (exit $ac_status); } &&
24208 { ac_try='test -z "$ac_cxx_werror_flag"
24209 || test ! -s conftest.err'
24210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24211 (eval $ac_try) 2>&5
24212 ac_status=$?
24213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24214 (exit $ac_status); }; } &&
24215 { ac_try='test -s conftest.$ac_objext'
24216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24217 (eval $ac_try) 2>&5
24218 ac_status=$?
24219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24220 (exit $ac_status); }; }; then
24221 glibcxx_cv_func_powl_use=yes
24222 else
24223 echo "$as_me: failed program was:" >&5
24224 sed 's/^/| /' conftest.$ac_ext >&5
24226 glibcxx_cv_func_powl_use=no
24228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24229 ac_ext=c
24230 ac_cpp='$CPP $CPPFLAGS'
24231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24239 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
24240 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
24242 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24244 for ac_func in powl
24246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24247 echo "$as_me:$LINENO: checking for $ac_func" >&5
24248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24249 if eval "test \"\${$as_ac_var+set}\" = set"; then
24250 echo $ECHO_N "(cached) $ECHO_C" >&6
24251 else
24252 if test x$gcc_no_link = xyes; then
24253 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24255 { (exit 1); exit 1; }; }
24257 cat >conftest.$ac_ext <<_ACEOF
24258 /* confdefs.h. */
24259 _ACEOF
24260 cat confdefs.h >>conftest.$ac_ext
24261 cat >>conftest.$ac_ext <<_ACEOF
24262 /* end confdefs.h. */
24263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24265 #define $ac_func innocuous_$ac_func
24267 /* System header to define __stub macros and hopefully few prototypes,
24268 which can conflict with char $ac_func (); below.
24269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24270 <limits.h> exists even on freestanding compilers. */
24272 #ifdef __STDC__
24273 # include <limits.h>
24274 #else
24275 # include <assert.h>
24276 #endif
24278 #undef $ac_func
24280 /* Override any gcc2 internal prototype to avoid an error. */
24281 #ifdef __cplusplus
24282 extern "C"
24284 #endif
24285 /* We use char because int might match the return type of a gcc2
24286 builtin and then its argument prototype would still apply. */
24287 char $ac_func ();
24288 /* The GNU C library defines this for functions which it implements
24289 to always fail with ENOSYS. Some functions are actually named
24290 something starting with __ and the normal name is an alias. */
24291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24292 choke me
24293 #else
24294 char (*f) () = $ac_func;
24295 #endif
24296 #ifdef __cplusplus
24298 #endif
24301 main ()
24303 return f != $ac_func;
24305 return 0;
24307 _ACEOF
24308 rm -f conftest.$ac_objext conftest$ac_exeext
24309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24310 (eval $ac_link) 2>conftest.er1
24311 ac_status=$?
24312 grep -v '^ *+' conftest.er1 >conftest.err
24313 rm -f conftest.er1
24314 cat conftest.err >&5
24315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24316 (exit $ac_status); } &&
24317 { ac_try='test -z "$ac_c_werror_flag"
24318 || test ! -s conftest.err'
24319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24320 (eval $ac_try) 2>&5
24321 ac_status=$?
24322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24323 (exit $ac_status); }; } &&
24324 { ac_try='test -s conftest$ac_exeext'
24325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24326 (eval $ac_try) 2>&5
24327 ac_status=$?
24328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24329 (exit $ac_status); }; }; then
24330 eval "$as_ac_var=yes"
24331 else
24332 echo "$as_me: failed program was:" >&5
24333 sed 's/^/| /' conftest.$ac_ext >&5
24335 eval "$as_ac_var=no"
24337 rm -f conftest.err conftest.$ac_objext \
24338 conftest$ac_exeext conftest.$ac_ext
24340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24342 if test `eval echo '${'$as_ac_var'}'` = yes; then
24343 cat >>confdefs.h <<_ACEOF
24344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24345 _ACEOF
24348 done
24350 else
24352 echo "$as_me:$LINENO: checking for _powl declaration" >&5
24353 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
24354 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24355 if test "${glibcxx_cv_func__powl_use+set}" = set; then
24356 echo $ECHO_N "(cached) $ECHO_C" >&6
24357 else
24361 ac_ext=cc
24362 ac_cpp='$CXXCPP $CPPFLAGS'
24363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24367 cat >conftest.$ac_ext <<_ACEOF
24368 /* confdefs.h. */
24369 _ACEOF
24370 cat confdefs.h >>conftest.$ac_ext
24371 cat >>conftest.$ac_ext <<_ACEOF
24372 /* end confdefs.h. */
24373 #include <math.h>
24375 main ()
24377 _powl(0, 0);
24379 return 0;
24381 _ACEOF
24382 rm -f conftest.$ac_objext
24383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24384 (eval $ac_compile) 2>conftest.er1
24385 ac_status=$?
24386 grep -v '^ *+' conftest.er1 >conftest.err
24387 rm -f conftest.er1
24388 cat conftest.err >&5
24389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24390 (exit $ac_status); } &&
24391 { ac_try='test -z "$ac_cxx_werror_flag"
24392 || test ! -s conftest.err'
24393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24394 (eval $ac_try) 2>&5
24395 ac_status=$?
24396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24397 (exit $ac_status); }; } &&
24398 { ac_try='test -s conftest.$ac_objext'
24399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24400 (eval $ac_try) 2>&5
24401 ac_status=$?
24402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24403 (exit $ac_status); }; }; then
24404 glibcxx_cv_func__powl_use=yes
24405 else
24406 echo "$as_me: failed program was:" >&5
24407 sed 's/^/| /' conftest.$ac_ext >&5
24409 glibcxx_cv_func__powl_use=no
24411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24412 ac_ext=c
24413 ac_cpp='$CPP $CPPFLAGS'
24414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24422 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
24423 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
24425 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24427 for ac_func in _powl
24429 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24430 echo "$as_me:$LINENO: checking for $ac_func" >&5
24431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24432 if eval "test \"\${$as_ac_var+set}\" = set"; then
24433 echo $ECHO_N "(cached) $ECHO_C" >&6
24434 else
24435 if test x$gcc_no_link = xyes; then
24436 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24438 { (exit 1); exit 1; }; }
24440 cat >conftest.$ac_ext <<_ACEOF
24441 /* confdefs.h. */
24442 _ACEOF
24443 cat confdefs.h >>conftest.$ac_ext
24444 cat >>conftest.$ac_ext <<_ACEOF
24445 /* end confdefs.h. */
24446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24448 #define $ac_func innocuous_$ac_func
24450 /* System header to define __stub macros and hopefully few prototypes,
24451 which can conflict with char $ac_func (); below.
24452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24453 <limits.h> exists even on freestanding compilers. */
24455 #ifdef __STDC__
24456 # include <limits.h>
24457 #else
24458 # include <assert.h>
24459 #endif
24461 #undef $ac_func
24463 /* Override any gcc2 internal prototype to avoid an error. */
24464 #ifdef __cplusplus
24465 extern "C"
24467 #endif
24468 /* We use char because int might match the return type of a gcc2
24469 builtin and then its argument prototype would still apply. */
24470 char $ac_func ();
24471 /* The GNU C library defines this for functions which it implements
24472 to always fail with ENOSYS. Some functions are actually named
24473 something starting with __ and the normal name is an alias. */
24474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24475 choke me
24476 #else
24477 char (*f) () = $ac_func;
24478 #endif
24479 #ifdef __cplusplus
24481 #endif
24484 main ()
24486 return f != $ac_func;
24488 return 0;
24490 _ACEOF
24491 rm -f conftest.$ac_objext conftest$ac_exeext
24492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24493 (eval $ac_link) 2>conftest.er1
24494 ac_status=$?
24495 grep -v '^ *+' conftest.er1 >conftest.err
24496 rm -f conftest.er1
24497 cat conftest.err >&5
24498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24499 (exit $ac_status); } &&
24500 { ac_try='test -z "$ac_c_werror_flag"
24501 || test ! -s conftest.err'
24502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24503 (eval $ac_try) 2>&5
24504 ac_status=$?
24505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24506 (exit $ac_status); }; } &&
24507 { ac_try='test -s conftest$ac_exeext'
24508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24509 (eval $ac_try) 2>&5
24510 ac_status=$?
24511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24512 (exit $ac_status); }; }; then
24513 eval "$as_ac_var=yes"
24514 else
24515 echo "$as_me: failed program was:" >&5
24516 sed 's/^/| /' conftest.$ac_ext >&5
24518 eval "$as_ac_var=no"
24520 rm -f conftest.err conftest.$ac_objext \
24521 conftest$ac_exeext conftest.$ac_ext
24523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24524 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24525 if test `eval echo '${'$as_ac_var'}'` = yes; then
24526 cat >>confdefs.h <<_ACEOF
24527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24528 _ACEOF
24531 done
24541 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
24542 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
24543 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24544 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
24545 echo $ECHO_N "(cached) $ECHO_C" >&6
24546 else
24550 ac_ext=cc
24551 ac_cpp='$CXXCPP $CPPFLAGS'
24552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24556 cat >conftest.$ac_ext <<_ACEOF
24557 /* confdefs.h. */
24558 _ACEOF
24559 cat confdefs.h >>conftest.$ac_ext
24560 cat >>conftest.$ac_ext <<_ACEOF
24561 /* end confdefs.h. */
24562 #include <math.h>
24563 #ifdef HAVE_IEEEFP_H
24564 #include <ieeefp.h>
24565 #endif
24568 main ()
24570 sqrtl(0);
24572 return 0;
24574 _ACEOF
24575 rm -f conftest.$ac_objext
24576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24577 (eval $ac_compile) 2>conftest.er1
24578 ac_status=$?
24579 grep -v '^ *+' conftest.er1 >conftest.err
24580 rm -f conftest.er1
24581 cat conftest.err >&5
24582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24583 (exit $ac_status); } &&
24584 { ac_try='test -z "$ac_cxx_werror_flag"
24585 || test ! -s conftest.err'
24586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24587 (eval $ac_try) 2>&5
24588 ac_status=$?
24589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24590 (exit $ac_status); }; } &&
24591 { ac_try='test -s conftest.$ac_objext'
24592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24593 (eval $ac_try) 2>&5
24594 ac_status=$?
24595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24596 (exit $ac_status); }; }; then
24597 glibcxx_cv_func_sqrtl_use=yes
24598 else
24599 echo "$as_me: failed program was:" >&5
24600 sed 's/^/| /' conftest.$ac_ext >&5
24602 glibcxx_cv_func_sqrtl_use=no
24604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24605 ac_ext=c
24606 ac_cpp='$CPP $CPPFLAGS'
24607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24615 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
24616 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
24618 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24620 for ac_func in sqrtl
24622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24623 echo "$as_me:$LINENO: checking for $ac_func" >&5
24624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24625 if eval "test \"\${$as_ac_var+set}\" = set"; then
24626 echo $ECHO_N "(cached) $ECHO_C" >&6
24627 else
24628 if test x$gcc_no_link = xyes; then
24629 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24631 { (exit 1); exit 1; }; }
24633 cat >conftest.$ac_ext <<_ACEOF
24634 /* confdefs.h. */
24635 _ACEOF
24636 cat confdefs.h >>conftest.$ac_ext
24637 cat >>conftest.$ac_ext <<_ACEOF
24638 /* end confdefs.h. */
24639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24641 #define $ac_func innocuous_$ac_func
24643 /* System header to define __stub macros and hopefully few prototypes,
24644 which can conflict with char $ac_func (); below.
24645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24646 <limits.h> exists even on freestanding compilers. */
24648 #ifdef __STDC__
24649 # include <limits.h>
24650 #else
24651 # include <assert.h>
24652 #endif
24654 #undef $ac_func
24656 /* Override any gcc2 internal prototype to avoid an error. */
24657 #ifdef __cplusplus
24658 extern "C"
24660 #endif
24661 /* We use char because int might match the return type of a gcc2
24662 builtin and then its argument prototype would still apply. */
24663 char $ac_func ();
24664 /* The GNU C library defines this for functions which it implements
24665 to always fail with ENOSYS. Some functions are actually named
24666 something starting with __ and the normal name is an alias. */
24667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24668 choke me
24669 #else
24670 char (*f) () = $ac_func;
24671 #endif
24672 #ifdef __cplusplus
24674 #endif
24677 main ()
24679 return f != $ac_func;
24681 return 0;
24683 _ACEOF
24684 rm -f conftest.$ac_objext conftest$ac_exeext
24685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24686 (eval $ac_link) 2>conftest.er1
24687 ac_status=$?
24688 grep -v '^ *+' conftest.er1 >conftest.err
24689 rm -f conftest.er1
24690 cat conftest.err >&5
24691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24692 (exit $ac_status); } &&
24693 { ac_try='test -z "$ac_c_werror_flag"
24694 || test ! -s conftest.err'
24695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24696 (eval $ac_try) 2>&5
24697 ac_status=$?
24698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24699 (exit $ac_status); }; } &&
24700 { ac_try='test -s conftest$ac_exeext'
24701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24702 (eval $ac_try) 2>&5
24703 ac_status=$?
24704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24705 (exit $ac_status); }; }; then
24706 eval "$as_ac_var=yes"
24707 else
24708 echo "$as_me: failed program was:" >&5
24709 sed 's/^/| /' conftest.$ac_ext >&5
24711 eval "$as_ac_var=no"
24713 rm -f conftest.err conftest.$ac_objext \
24714 conftest$ac_exeext conftest.$ac_ext
24716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24718 if test `eval echo '${'$as_ac_var'}'` = yes; then
24719 cat >>confdefs.h <<_ACEOF
24720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24721 _ACEOF
24724 done
24726 else
24728 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
24729 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
24730 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24731 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
24732 echo $ECHO_N "(cached) $ECHO_C" >&6
24733 else
24737 ac_ext=cc
24738 ac_cpp='$CXXCPP $CPPFLAGS'
24739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24743 cat >conftest.$ac_ext <<_ACEOF
24744 /* confdefs.h. */
24745 _ACEOF
24746 cat confdefs.h >>conftest.$ac_ext
24747 cat >>conftest.$ac_ext <<_ACEOF
24748 /* end confdefs.h. */
24749 #include <math.h>
24750 #ifdef HAVE_IEEEFP_H
24751 #include <ieeefp.h>
24752 #endif
24755 main ()
24757 _sqrtl(0);
24759 return 0;
24761 _ACEOF
24762 rm -f conftest.$ac_objext
24763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24764 (eval $ac_compile) 2>conftest.er1
24765 ac_status=$?
24766 grep -v '^ *+' conftest.er1 >conftest.err
24767 rm -f conftest.er1
24768 cat conftest.err >&5
24769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24770 (exit $ac_status); } &&
24771 { ac_try='test -z "$ac_cxx_werror_flag"
24772 || test ! -s conftest.err'
24773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24774 (eval $ac_try) 2>&5
24775 ac_status=$?
24776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24777 (exit $ac_status); }; } &&
24778 { ac_try='test -s conftest.$ac_objext'
24779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24780 (eval $ac_try) 2>&5
24781 ac_status=$?
24782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24783 (exit $ac_status); }; }; then
24784 glibcxx_cv_func__sqrtl_use=yes
24785 else
24786 echo "$as_me: failed program was:" >&5
24787 sed 's/^/| /' conftest.$ac_ext >&5
24789 glibcxx_cv_func__sqrtl_use=no
24791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24792 ac_ext=c
24793 ac_cpp='$CPP $CPPFLAGS'
24794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24802 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
24803 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
24805 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
24807 for ac_func in _sqrtl
24809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24810 echo "$as_me:$LINENO: checking for $ac_func" >&5
24811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24812 if eval "test \"\${$as_ac_var+set}\" = set"; then
24813 echo $ECHO_N "(cached) $ECHO_C" >&6
24814 else
24815 if test x$gcc_no_link = xyes; then
24816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24818 { (exit 1); exit 1; }; }
24820 cat >conftest.$ac_ext <<_ACEOF
24821 /* confdefs.h. */
24822 _ACEOF
24823 cat confdefs.h >>conftest.$ac_ext
24824 cat >>conftest.$ac_ext <<_ACEOF
24825 /* end confdefs.h. */
24826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24828 #define $ac_func innocuous_$ac_func
24830 /* System header to define __stub macros and hopefully few prototypes,
24831 which can conflict with char $ac_func (); below.
24832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24833 <limits.h> exists even on freestanding compilers. */
24835 #ifdef __STDC__
24836 # include <limits.h>
24837 #else
24838 # include <assert.h>
24839 #endif
24841 #undef $ac_func
24843 /* Override any gcc2 internal prototype to avoid an error. */
24844 #ifdef __cplusplus
24845 extern "C"
24847 #endif
24848 /* We use char because int might match the return type of a gcc2
24849 builtin and then its argument prototype would still apply. */
24850 char $ac_func ();
24851 /* The GNU C library defines this for functions which it implements
24852 to always fail with ENOSYS. Some functions are actually named
24853 something starting with __ and the normal name is an alias. */
24854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24855 choke me
24856 #else
24857 char (*f) () = $ac_func;
24858 #endif
24859 #ifdef __cplusplus
24861 #endif
24864 main ()
24866 return f != $ac_func;
24868 return 0;
24870 _ACEOF
24871 rm -f conftest.$ac_objext conftest$ac_exeext
24872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24873 (eval $ac_link) 2>conftest.er1
24874 ac_status=$?
24875 grep -v '^ *+' conftest.er1 >conftest.err
24876 rm -f conftest.er1
24877 cat conftest.err >&5
24878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24879 (exit $ac_status); } &&
24880 { ac_try='test -z "$ac_c_werror_flag"
24881 || test ! -s conftest.err'
24882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24883 (eval $ac_try) 2>&5
24884 ac_status=$?
24885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24886 (exit $ac_status); }; } &&
24887 { ac_try='test -s conftest$ac_exeext'
24888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24889 (eval $ac_try) 2>&5
24890 ac_status=$?
24891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24892 (exit $ac_status); }; }; then
24893 eval "$as_ac_var=yes"
24894 else
24895 echo "$as_me: failed program was:" >&5
24896 sed 's/^/| /' conftest.$ac_ext >&5
24898 eval "$as_ac_var=no"
24900 rm -f conftest.err conftest.$ac_objext \
24901 conftest$ac_exeext conftest.$ac_ext
24903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24905 if test `eval echo '${'$as_ac_var'}'` = yes; then
24906 cat >>confdefs.h <<_ACEOF
24907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24908 _ACEOF
24911 done
24921 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
24922 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
24923 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
24924 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
24925 echo $ECHO_N "(cached) $ECHO_C" >&6
24926 else
24930 ac_ext=cc
24931 ac_cpp='$CXXCPP $CPPFLAGS'
24932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24936 cat >conftest.$ac_ext <<_ACEOF
24937 /* confdefs.h. */
24938 _ACEOF
24939 cat confdefs.h >>conftest.$ac_ext
24940 cat >>conftest.$ac_ext <<_ACEOF
24941 /* end confdefs.h. */
24942 #include <math.h>
24944 main ()
24946 sincosl(0, 0, 0);
24948 return 0;
24950 _ACEOF
24951 rm -f conftest.$ac_objext
24952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24953 (eval $ac_compile) 2>conftest.er1
24954 ac_status=$?
24955 grep -v '^ *+' conftest.er1 >conftest.err
24956 rm -f conftest.er1
24957 cat conftest.err >&5
24958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24959 (exit $ac_status); } &&
24960 { ac_try='test -z "$ac_cxx_werror_flag"
24961 || test ! -s conftest.err'
24962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24963 (eval $ac_try) 2>&5
24964 ac_status=$?
24965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24966 (exit $ac_status); }; } &&
24967 { ac_try='test -s conftest.$ac_objext'
24968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24969 (eval $ac_try) 2>&5
24970 ac_status=$?
24971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24972 (exit $ac_status); }; }; then
24973 glibcxx_cv_func_sincosl_use=yes
24974 else
24975 echo "$as_me: failed program was:" >&5
24976 sed 's/^/| /' conftest.$ac_ext >&5
24978 glibcxx_cv_func_sincosl_use=no
24980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24981 ac_ext=c
24982 ac_cpp='$CPP $CPPFLAGS'
24983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24991 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
24992 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
24994 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
24996 for ac_func in sincosl
24998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24999 echo "$as_me:$LINENO: checking for $ac_func" >&5
25000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25001 if eval "test \"\${$as_ac_var+set}\" = set"; then
25002 echo $ECHO_N "(cached) $ECHO_C" >&6
25003 else
25004 if test x$gcc_no_link = xyes; then
25005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25007 { (exit 1); exit 1; }; }
25009 cat >conftest.$ac_ext <<_ACEOF
25010 /* confdefs.h. */
25011 _ACEOF
25012 cat confdefs.h >>conftest.$ac_ext
25013 cat >>conftest.$ac_ext <<_ACEOF
25014 /* end confdefs.h. */
25015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25017 #define $ac_func innocuous_$ac_func
25019 /* System header to define __stub macros and hopefully few prototypes,
25020 which can conflict with char $ac_func (); below.
25021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25022 <limits.h> exists even on freestanding compilers. */
25024 #ifdef __STDC__
25025 # include <limits.h>
25026 #else
25027 # include <assert.h>
25028 #endif
25030 #undef $ac_func
25032 /* Override any gcc2 internal prototype to avoid an error. */
25033 #ifdef __cplusplus
25034 extern "C"
25036 #endif
25037 /* We use char because int might match the return type of a gcc2
25038 builtin and then its argument prototype would still apply. */
25039 char $ac_func ();
25040 /* The GNU C library defines this for functions which it implements
25041 to always fail with ENOSYS. Some functions are actually named
25042 something starting with __ and the normal name is an alias. */
25043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25044 choke me
25045 #else
25046 char (*f) () = $ac_func;
25047 #endif
25048 #ifdef __cplusplus
25050 #endif
25053 main ()
25055 return f != $ac_func;
25057 return 0;
25059 _ACEOF
25060 rm -f conftest.$ac_objext conftest$ac_exeext
25061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25062 (eval $ac_link) 2>conftest.er1
25063 ac_status=$?
25064 grep -v '^ *+' conftest.er1 >conftest.err
25065 rm -f conftest.er1
25066 cat conftest.err >&5
25067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25068 (exit $ac_status); } &&
25069 { ac_try='test -z "$ac_c_werror_flag"
25070 || test ! -s conftest.err'
25071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25072 (eval $ac_try) 2>&5
25073 ac_status=$?
25074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25075 (exit $ac_status); }; } &&
25076 { ac_try='test -s conftest$ac_exeext'
25077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25078 (eval $ac_try) 2>&5
25079 ac_status=$?
25080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25081 (exit $ac_status); }; }; then
25082 eval "$as_ac_var=yes"
25083 else
25084 echo "$as_me: failed program was:" >&5
25085 sed 's/^/| /' conftest.$ac_ext >&5
25087 eval "$as_ac_var=no"
25089 rm -f conftest.err conftest.$ac_objext \
25090 conftest$ac_exeext conftest.$ac_ext
25092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25094 if test `eval echo '${'$as_ac_var'}'` = yes; then
25095 cat >>confdefs.h <<_ACEOF
25096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25097 _ACEOF
25100 done
25102 else
25104 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
25105 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
25106 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25107 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
25108 echo $ECHO_N "(cached) $ECHO_C" >&6
25109 else
25113 ac_ext=cc
25114 ac_cpp='$CXXCPP $CPPFLAGS'
25115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25119 cat >conftest.$ac_ext <<_ACEOF
25120 /* confdefs.h. */
25121 _ACEOF
25122 cat confdefs.h >>conftest.$ac_ext
25123 cat >>conftest.$ac_ext <<_ACEOF
25124 /* end confdefs.h. */
25125 #include <math.h>
25127 main ()
25129 _sincosl(0, 0, 0);
25131 return 0;
25133 _ACEOF
25134 rm -f conftest.$ac_objext
25135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25136 (eval $ac_compile) 2>conftest.er1
25137 ac_status=$?
25138 grep -v '^ *+' conftest.er1 >conftest.err
25139 rm -f conftest.er1
25140 cat conftest.err >&5
25141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25142 (exit $ac_status); } &&
25143 { ac_try='test -z "$ac_cxx_werror_flag"
25144 || test ! -s conftest.err'
25145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25146 (eval $ac_try) 2>&5
25147 ac_status=$?
25148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25149 (exit $ac_status); }; } &&
25150 { ac_try='test -s conftest.$ac_objext'
25151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25152 (eval $ac_try) 2>&5
25153 ac_status=$?
25154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25155 (exit $ac_status); }; }; then
25156 glibcxx_cv_func__sincosl_use=yes
25157 else
25158 echo "$as_me: failed program was:" >&5
25159 sed 's/^/| /' conftest.$ac_ext >&5
25161 glibcxx_cv_func__sincosl_use=no
25163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25164 ac_ext=c
25165 ac_cpp='$CPP $CPPFLAGS'
25166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25174 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
25175 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
25177 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25179 for ac_func in _sincosl
25181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25182 echo "$as_me:$LINENO: checking for $ac_func" >&5
25183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25184 if eval "test \"\${$as_ac_var+set}\" = set"; then
25185 echo $ECHO_N "(cached) $ECHO_C" >&6
25186 else
25187 if test x$gcc_no_link = xyes; then
25188 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25190 { (exit 1); exit 1; }; }
25192 cat >conftest.$ac_ext <<_ACEOF
25193 /* confdefs.h. */
25194 _ACEOF
25195 cat confdefs.h >>conftest.$ac_ext
25196 cat >>conftest.$ac_ext <<_ACEOF
25197 /* end confdefs.h. */
25198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25200 #define $ac_func innocuous_$ac_func
25202 /* System header to define __stub macros and hopefully few prototypes,
25203 which can conflict with char $ac_func (); below.
25204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25205 <limits.h> exists even on freestanding compilers. */
25207 #ifdef __STDC__
25208 # include <limits.h>
25209 #else
25210 # include <assert.h>
25211 #endif
25213 #undef $ac_func
25215 /* Override any gcc2 internal prototype to avoid an error. */
25216 #ifdef __cplusplus
25217 extern "C"
25219 #endif
25220 /* We use char because int might match the return type of a gcc2
25221 builtin and then its argument prototype would still apply. */
25222 char $ac_func ();
25223 /* The GNU C library defines this for functions which it implements
25224 to always fail with ENOSYS. Some functions are actually named
25225 something starting with __ and the normal name is an alias. */
25226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25227 choke me
25228 #else
25229 char (*f) () = $ac_func;
25230 #endif
25231 #ifdef __cplusplus
25233 #endif
25236 main ()
25238 return f != $ac_func;
25240 return 0;
25242 _ACEOF
25243 rm -f conftest.$ac_objext conftest$ac_exeext
25244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25245 (eval $ac_link) 2>conftest.er1
25246 ac_status=$?
25247 grep -v '^ *+' conftest.er1 >conftest.err
25248 rm -f conftest.er1
25249 cat conftest.err >&5
25250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25251 (exit $ac_status); } &&
25252 { ac_try='test -z "$ac_c_werror_flag"
25253 || test ! -s conftest.err'
25254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25255 (eval $ac_try) 2>&5
25256 ac_status=$?
25257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25258 (exit $ac_status); }; } &&
25259 { ac_try='test -s conftest$ac_exeext'
25260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25261 (eval $ac_try) 2>&5
25262 ac_status=$?
25263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25264 (exit $ac_status); }; }; then
25265 eval "$as_ac_var=yes"
25266 else
25267 echo "$as_me: failed program was:" >&5
25268 sed 's/^/| /' conftest.$ac_ext >&5
25270 eval "$as_ac_var=no"
25272 rm -f conftest.err conftest.$ac_objext \
25273 conftest$ac_exeext conftest.$ac_ext
25275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25277 if test `eval echo '${'$as_ac_var'}'` = yes; then
25278 cat >>confdefs.h <<_ACEOF
25279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25280 _ACEOF
25283 done
25293 echo "$as_me:$LINENO: checking for finitel declaration" >&5
25294 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
25295 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25296 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
25297 echo $ECHO_N "(cached) $ECHO_C" >&6
25298 else
25302 ac_ext=cc
25303 ac_cpp='$CXXCPP $CPPFLAGS'
25304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25308 cat >conftest.$ac_ext <<_ACEOF
25309 /* confdefs.h. */
25310 _ACEOF
25311 cat confdefs.h >>conftest.$ac_ext
25312 cat >>conftest.$ac_ext <<_ACEOF
25313 /* end confdefs.h. */
25314 #include <math.h>
25315 #ifdef HAVE_IEEEFP_H
25316 #include <ieeefp.h>
25317 #endif
25320 main ()
25322 finitel(0);
25324 return 0;
25326 _ACEOF
25327 rm -f conftest.$ac_objext
25328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25329 (eval $ac_compile) 2>conftest.er1
25330 ac_status=$?
25331 grep -v '^ *+' conftest.er1 >conftest.err
25332 rm -f conftest.er1
25333 cat conftest.err >&5
25334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25335 (exit $ac_status); } &&
25336 { ac_try='test -z "$ac_cxx_werror_flag"
25337 || test ! -s conftest.err'
25338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25339 (eval $ac_try) 2>&5
25340 ac_status=$?
25341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25342 (exit $ac_status); }; } &&
25343 { ac_try='test -s conftest.$ac_objext'
25344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25345 (eval $ac_try) 2>&5
25346 ac_status=$?
25347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25348 (exit $ac_status); }; }; then
25349 glibcxx_cv_func_finitel_use=yes
25350 else
25351 echo "$as_me: failed program was:" >&5
25352 sed 's/^/| /' conftest.$ac_ext >&5
25354 glibcxx_cv_func_finitel_use=no
25356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25357 ac_ext=c
25358 ac_cpp='$CPP $CPPFLAGS'
25359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25367 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
25368 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
25370 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25372 for ac_func in finitel
25374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25375 echo "$as_me:$LINENO: checking for $ac_func" >&5
25376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25377 if eval "test \"\${$as_ac_var+set}\" = set"; then
25378 echo $ECHO_N "(cached) $ECHO_C" >&6
25379 else
25380 if test x$gcc_no_link = xyes; then
25381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25383 { (exit 1); exit 1; }; }
25385 cat >conftest.$ac_ext <<_ACEOF
25386 /* confdefs.h. */
25387 _ACEOF
25388 cat confdefs.h >>conftest.$ac_ext
25389 cat >>conftest.$ac_ext <<_ACEOF
25390 /* end confdefs.h. */
25391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25393 #define $ac_func innocuous_$ac_func
25395 /* System header to define __stub macros and hopefully few prototypes,
25396 which can conflict with char $ac_func (); below.
25397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25398 <limits.h> exists even on freestanding compilers. */
25400 #ifdef __STDC__
25401 # include <limits.h>
25402 #else
25403 # include <assert.h>
25404 #endif
25406 #undef $ac_func
25408 /* Override any gcc2 internal prototype to avoid an error. */
25409 #ifdef __cplusplus
25410 extern "C"
25412 #endif
25413 /* We use char because int might match the return type of a gcc2
25414 builtin and then its argument prototype would still apply. */
25415 char $ac_func ();
25416 /* The GNU C library defines this for functions which it implements
25417 to always fail with ENOSYS. Some functions are actually named
25418 something starting with __ and the normal name is an alias. */
25419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25420 choke me
25421 #else
25422 char (*f) () = $ac_func;
25423 #endif
25424 #ifdef __cplusplus
25426 #endif
25429 main ()
25431 return f != $ac_func;
25433 return 0;
25435 _ACEOF
25436 rm -f conftest.$ac_objext conftest$ac_exeext
25437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25438 (eval $ac_link) 2>conftest.er1
25439 ac_status=$?
25440 grep -v '^ *+' conftest.er1 >conftest.err
25441 rm -f conftest.er1
25442 cat conftest.err >&5
25443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25444 (exit $ac_status); } &&
25445 { ac_try='test -z "$ac_c_werror_flag"
25446 || test ! -s conftest.err'
25447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25448 (eval $ac_try) 2>&5
25449 ac_status=$?
25450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25451 (exit $ac_status); }; } &&
25452 { ac_try='test -s conftest$ac_exeext'
25453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25454 (eval $ac_try) 2>&5
25455 ac_status=$?
25456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25457 (exit $ac_status); }; }; then
25458 eval "$as_ac_var=yes"
25459 else
25460 echo "$as_me: failed program was:" >&5
25461 sed 's/^/| /' conftest.$ac_ext >&5
25463 eval "$as_ac_var=no"
25465 rm -f conftest.err conftest.$ac_objext \
25466 conftest$ac_exeext conftest.$ac_ext
25468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25470 if test `eval echo '${'$as_ac_var'}'` = yes; then
25471 cat >>confdefs.h <<_ACEOF
25472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25473 _ACEOF
25476 done
25478 else
25480 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
25481 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
25482 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25483 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
25484 echo $ECHO_N "(cached) $ECHO_C" >&6
25485 else
25489 ac_ext=cc
25490 ac_cpp='$CXXCPP $CPPFLAGS'
25491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25495 cat >conftest.$ac_ext <<_ACEOF
25496 /* confdefs.h. */
25497 _ACEOF
25498 cat confdefs.h >>conftest.$ac_ext
25499 cat >>conftest.$ac_ext <<_ACEOF
25500 /* end confdefs.h. */
25501 #include <math.h>
25502 #ifdef HAVE_IEEEFP_H
25503 #include <ieeefp.h>
25504 #endif
25507 main ()
25509 _finitel(0);
25511 return 0;
25513 _ACEOF
25514 rm -f conftest.$ac_objext
25515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25516 (eval $ac_compile) 2>conftest.er1
25517 ac_status=$?
25518 grep -v '^ *+' conftest.er1 >conftest.err
25519 rm -f conftest.er1
25520 cat conftest.err >&5
25521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25522 (exit $ac_status); } &&
25523 { ac_try='test -z "$ac_cxx_werror_flag"
25524 || test ! -s conftest.err'
25525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25526 (eval $ac_try) 2>&5
25527 ac_status=$?
25528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25529 (exit $ac_status); }; } &&
25530 { ac_try='test -s conftest.$ac_objext'
25531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25532 (eval $ac_try) 2>&5
25533 ac_status=$?
25534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25535 (exit $ac_status); }; }; then
25536 glibcxx_cv_func__finitel_use=yes
25537 else
25538 echo "$as_me: failed program was:" >&5
25539 sed 's/^/| /' conftest.$ac_ext >&5
25541 glibcxx_cv_func__finitel_use=no
25543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25544 ac_ext=c
25545 ac_cpp='$CPP $CPPFLAGS'
25546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25554 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
25555 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
25557 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25559 for ac_func in _finitel
25561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25562 echo "$as_me:$LINENO: checking for $ac_func" >&5
25563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25564 if eval "test \"\${$as_ac_var+set}\" = set"; then
25565 echo $ECHO_N "(cached) $ECHO_C" >&6
25566 else
25567 if test x$gcc_no_link = xyes; then
25568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25570 { (exit 1); exit 1; }; }
25572 cat >conftest.$ac_ext <<_ACEOF
25573 /* confdefs.h. */
25574 _ACEOF
25575 cat confdefs.h >>conftest.$ac_ext
25576 cat >>conftest.$ac_ext <<_ACEOF
25577 /* end confdefs.h. */
25578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25580 #define $ac_func innocuous_$ac_func
25582 /* System header to define __stub macros and hopefully few prototypes,
25583 which can conflict with char $ac_func (); below.
25584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25585 <limits.h> exists even on freestanding compilers. */
25587 #ifdef __STDC__
25588 # include <limits.h>
25589 #else
25590 # include <assert.h>
25591 #endif
25593 #undef $ac_func
25595 /* Override any gcc2 internal prototype to avoid an error. */
25596 #ifdef __cplusplus
25597 extern "C"
25599 #endif
25600 /* We use char because int might match the return type of a gcc2
25601 builtin and then its argument prototype would still apply. */
25602 char $ac_func ();
25603 /* The GNU C library defines this for functions which it implements
25604 to always fail with ENOSYS. Some functions are actually named
25605 something starting with __ and the normal name is an alias. */
25606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25607 choke me
25608 #else
25609 char (*f) () = $ac_func;
25610 #endif
25611 #ifdef __cplusplus
25613 #endif
25616 main ()
25618 return f != $ac_func;
25620 return 0;
25622 _ACEOF
25623 rm -f conftest.$ac_objext conftest$ac_exeext
25624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25625 (eval $ac_link) 2>conftest.er1
25626 ac_status=$?
25627 grep -v '^ *+' conftest.er1 >conftest.err
25628 rm -f conftest.er1
25629 cat conftest.err >&5
25630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25631 (exit $ac_status); } &&
25632 { ac_try='test -z "$ac_c_werror_flag"
25633 || test ! -s conftest.err'
25634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25635 (eval $ac_try) 2>&5
25636 ac_status=$?
25637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25638 (exit $ac_status); }; } &&
25639 { ac_try='test -s conftest$ac_exeext'
25640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25641 (eval $ac_try) 2>&5
25642 ac_status=$?
25643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25644 (exit $ac_status); }; }; then
25645 eval "$as_ac_var=yes"
25646 else
25647 echo "$as_me: failed program was:" >&5
25648 sed 's/^/| /' conftest.$ac_ext >&5
25650 eval "$as_ac_var=no"
25652 rm -f conftest.err conftest.$ac_objext \
25653 conftest$ac_exeext conftest.$ac_ext
25655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25657 if test `eval echo '${'$as_ac_var'}'` = yes; then
25658 cat >>confdefs.h <<_ACEOF
25659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25660 _ACEOF
25663 done
25672 LIBS="$ac_save_LIBS"
25673 CXXFLAGS="$ac_save_CXXFLAGS"
25677 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25678 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25679 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25680 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25681 echo $ECHO_N "(cached) $ECHO_C" >&6
25682 else
25686 ac_ext=cc
25687 ac_cpp='$CXXCPP $CPPFLAGS'
25688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25692 cat >conftest.$ac_ext <<_ACEOF
25693 /* confdefs.h. */
25694 _ACEOF
25695 cat confdefs.h >>conftest.$ac_ext
25696 cat >>conftest.$ac_ext <<_ACEOF
25697 /* end confdefs.h. */
25698 #include <math.h>
25700 main ()
25702 __builtin_abs(0);
25704 return 0;
25706 _ACEOF
25707 rm -f conftest.$ac_objext
25708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25709 (eval $ac_compile) 2>conftest.er1
25710 ac_status=$?
25711 grep -v '^ *+' conftest.er1 >conftest.err
25712 rm -f conftest.er1
25713 cat conftest.err >&5
25714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25715 (exit $ac_status); } &&
25716 { ac_try='test -z "$ac_cxx_werror_flag"
25717 || test ! -s conftest.err'
25718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25719 (eval $ac_try) 2>&5
25720 ac_status=$?
25721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25722 (exit $ac_status); }; } &&
25723 { ac_try='test -s conftest.$ac_objext'
25724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25725 (eval $ac_try) 2>&5
25726 ac_status=$?
25727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25728 (exit $ac_status); }; }; then
25729 glibcxx_cv_func___builtin_abs_use=yes
25730 else
25731 echo "$as_me: failed program was:" >&5
25732 sed 's/^/| /' conftest.$ac_ext >&5
25734 glibcxx_cv_func___builtin_abs_use=no
25736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25737 ac_ext=c
25738 ac_cpp='$CPP $CPPFLAGS'
25739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25747 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25748 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25749 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25750 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25751 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25752 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25753 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25754 echo $ECHO_N "(cached) $ECHO_C" >&6
25755 else
25757 if test x$gcc_no_link = xyes; then
25758 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25760 { (exit 1); exit 1; }; }
25762 cat >conftest.$ac_ext <<_ACEOF
25763 /* confdefs.h. */
25764 _ACEOF
25765 cat confdefs.h >>conftest.$ac_ext
25766 cat >>conftest.$ac_ext <<_ACEOF
25767 /* end confdefs.h. */
25768 #include <math.h>
25770 main ()
25772 __builtin_abs(0);
25774 return 0;
25776 _ACEOF
25777 rm -f conftest.$ac_objext conftest$ac_exeext
25778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25779 (eval $ac_link) 2>conftest.er1
25780 ac_status=$?
25781 grep -v '^ *+' conftest.er1 >conftest.err
25782 rm -f conftest.er1
25783 cat conftest.err >&5
25784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25785 (exit $ac_status); } &&
25786 { ac_try='test -z "$ac_c_werror_flag"
25787 || test ! -s conftest.err'
25788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25789 (eval $ac_try) 2>&5
25790 ac_status=$?
25791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25792 (exit $ac_status); }; } &&
25793 { ac_try='test -s conftest$ac_exeext'
25794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25795 (eval $ac_try) 2>&5
25796 ac_status=$?
25797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25798 (exit $ac_status); }; }; then
25799 glibcxx_cv_func___builtin_abs_link=yes
25800 else
25801 echo "$as_me: failed program was:" >&5
25802 sed 's/^/| /' conftest.$ac_ext >&5
25804 glibcxx_cv_func___builtin_abs_link=no
25806 rm -f conftest.err conftest.$ac_objext \
25807 conftest$ac_exeext conftest.$ac_ext
25812 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
25813 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
25815 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
25817 cat >>confdefs.h <<\_ACEOF
25818 #define HAVE___BUILTIN_ABS 1
25819 _ACEOF
25826 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
25827 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
25828 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
25829 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
25830 echo $ECHO_N "(cached) $ECHO_C" >&6
25831 else
25835 ac_ext=cc
25836 ac_cpp='$CXXCPP $CPPFLAGS'
25837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25841 cat >conftest.$ac_ext <<_ACEOF
25842 /* confdefs.h. */
25843 _ACEOF
25844 cat confdefs.h >>conftest.$ac_ext
25845 cat >>conftest.$ac_ext <<_ACEOF
25846 /* end confdefs.h. */
25847 #include <math.h>
25849 main ()
25851 __builtin_fabsf(0);
25853 return 0;
25855 _ACEOF
25856 rm -f conftest.$ac_objext
25857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25858 (eval $ac_compile) 2>conftest.er1
25859 ac_status=$?
25860 grep -v '^ *+' conftest.er1 >conftest.err
25861 rm -f conftest.er1
25862 cat conftest.err >&5
25863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25864 (exit $ac_status); } &&
25865 { ac_try='test -z "$ac_cxx_werror_flag"
25866 || test ! -s conftest.err'
25867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25868 (eval $ac_try) 2>&5
25869 ac_status=$?
25870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25871 (exit $ac_status); }; } &&
25872 { ac_try='test -s conftest.$ac_objext'
25873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25874 (eval $ac_try) 2>&5
25875 ac_status=$?
25876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25877 (exit $ac_status); }; }; then
25878 glibcxx_cv_func___builtin_fabsf_use=yes
25879 else
25880 echo "$as_me: failed program was:" >&5
25881 sed 's/^/| /' conftest.$ac_ext >&5
25883 glibcxx_cv_func___builtin_fabsf_use=no
25885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25886 ac_ext=c
25887 ac_cpp='$CPP $CPPFLAGS'
25888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25896 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
25897 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
25898 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
25899 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
25900 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
25901 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
25902 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
25903 echo $ECHO_N "(cached) $ECHO_C" >&6
25904 else
25906 if test x$gcc_no_link = xyes; then
25907 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25909 { (exit 1); exit 1; }; }
25911 cat >conftest.$ac_ext <<_ACEOF
25912 /* confdefs.h. */
25913 _ACEOF
25914 cat confdefs.h >>conftest.$ac_ext
25915 cat >>conftest.$ac_ext <<_ACEOF
25916 /* end confdefs.h. */
25917 #include <math.h>
25919 main ()
25921 __builtin_fabsf(0);
25923 return 0;
25925 _ACEOF
25926 rm -f conftest.$ac_objext conftest$ac_exeext
25927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25928 (eval $ac_link) 2>conftest.er1
25929 ac_status=$?
25930 grep -v '^ *+' conftest.er1 >conftest.err
25931 rm -f conftest.er1
25932 cat conftest.err >&5
25933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25934 (exit $ac_status); } &&
25935 { ac_try='test -z "$ac_c_werror_flag"
25936 || test ! -s conftest.err'
25937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25938 (eval $ac_try) 2>&5
25939 ac_status=$?
25940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25941 (exit $ac_status); }; } &&
25942 { ac_try='test -s conftest$ac_exeext'
25943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25944 (eval $ac_try) 2>&5
25945 ac_status=$?
25946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25947 (exit $ac_status); }; }; then
25948 glibcxx_cv_func___builtin_fabsf_link=yes
25949 else
25950 echo "$as_me: failed program was:" >&5
25951 sed 's/^/| /' conftest.$ac_ext >&5
25953 glibcxx_cv_func___builtin_fabsf_link=no
25955 rm -f conftest.err conftest.$ac_objext \
25956 conftest$ac_exeext conftest.$ac_ext
25961 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
25962 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
25964 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
25966 cat >>confdefs.h <<\_ACEOF
25967 #define HAVE___BUILTIN_FABSF 1
25968 _ACEOF
25975 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
25976 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
25977 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
25978 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
25979 echo $ECHO_N "(cached) $ECHO_C" >&6
25980 else
25984 ac_ext=cc
25985 ac_cpp='$CXXCPP $CPPFLAGS'
25986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25990 cat >conftest.$ac_ext <<_ACEOF
25991 /* confdefs.h. */
25992 _ACEOF
25993 cat confdefs.h >>conftest.$ac_ext
25994 cat >>conftest.$ac_ext <<_ACEOF
25995 /* end confdefs.h. */
25996 #include <math.h>
25998 main ()
26000 __builtin_fabs(0);
26002 return 0;
26004 _ACEOF
26005 rm -f conftest.$ac_objext
26006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26007 (eval $ac_compile) 2>conftest.er1
26008 ac_status=$?
26009 grep -v '^ *+' conftest.er1 >conftest.err
26010 rm -f conftest.er1
26011 cat conftest.err >&5
26012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26013 (exit $ac_status); } &&
26014 { ac_try='test -z "$ac_cxx_werror_flag"
26015 || test ! -s conftest.err'
26016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26017 (eval $ac_try) 2>&5
26018 ac_status=$?
26019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26020 (exit $ac_status); }; } &&
26021 { ac_try='test -s conftest.$ac_objext'
26022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26023 (eval $ac_try) 2>&5
26024 ac_status=$?
26025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26026 (exit $ac_status); }; }; then
26027 glibcxx_cv_func___builtin_fabs_use=yes
26028 else
26029 echo "$as_me: failed program was:" >&5
26030 sed 's/^/| /' conftest.$ac_ext >&5
26032 glibcxx_cv_func___builtin_fabs_use=no
26034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26035 ac_ext=c
26036 ac_cpp='$CPP $CPPFLAGS'
26037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26045 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
26046 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
26047 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
26048 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
26049 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
26050 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
26051 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
26052 echo $ECHO_N "(cached) $ECHO_C" >&6
26053 else
26055 if test x$gcc_no_link = xyes; then
26056 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26058 { (exit 1); exit 1; }; }
26060 cat >conftest.$ac_ext <<_ACEOF
26061 /* confdefs.h. */
26062 _ACEOF
26063 cat confdefs.h >>conftest.$ac_ext
26064 cat >>conftest.$ac_ext <<_ACEOF
26065 /* end confdefs.h. */
26066 #include <math.h>
26068 main ()
26070 __builtin_fabs(0);
26072 return 0;
26074 _ACEOF
26075 rm -f conftest.$ac_objext conftest$ac_exeext
26076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26077 (eval $ac_link) 2>conftest.er1
26078 ac_status=$?
26079 grep -v '^ *+' conftest.er1 >conftest.err
26080 rm -f conftest.er1
26081 cat conftest.err >&5
26082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26083 (exit $ac_status); } &&
26084 { ac_try='test -z "$ac_c_werror_flag"
26085 || test ! -s conftest.err'
26086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26087 (eval $ac_try) 2>&5
26088 ac_status=$?
26089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26090 (exit $ac_status); }; } &&
26091 { ac_try='test -s conftest$ac_exeext'
26092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26093 (eval $ac_try) 2>&5
26094 ac_status=$?
26095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26096 (exit $ac_status); }; }; then
26097 glibcxx_cv_func___builtin_fabs_link=yes
26098 else
26099 echo "$as_me: failed program was:" >&5
26100 sed 's/^/| /' conftest.$ac_ext >&5
26102 glibcxx_cv_func___builtin_fabs_link=no
26104 rm -f conftest.err conftest.$ac_objext \
26105 conftest$ac_exeext conftest.$ac_ext
26110 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
26111 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
26113 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
26115 cat >>confdefs.h <<\_ACEOF
26116 #define HAVE___BUILTIN_FABS 1
26117 _ACEOF
26124 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
26125 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
26126 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
26127 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
26128 echo $ECHO_N "(cached) $ECHO_C" >&6
26129 else
26133 ac_ext=cc
26134 ac_cpp='$CXXCPP $CPPFLAGS'
26135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26139 cat >conftest.$ac_ext <<_ACEOF
26140 /* confdefs.h. */
26141 _ACEOF
26142 cat confdefs.h >>conftest.$ac_ext
26143 cat >>conftest.$ac_ext <<_ACEOF
26144 /* end confdefs.h. */
26145 #include <math.h>
26147 main ()
26149 __builtin_fabsl(0);
26151 return 0;
26153 _ACEOF
26154 rm -f conftest.$ac_objext
26155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26156 (eval $ac_compile) 2>conftest.er1
26157 ac_status=$?
26158 grep -v '^ *+' conftest.er1 >conftest.err
26159 rm -f conftest.er1
26160 cat conftest.err >&5
26161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26162 (exit $ac_status); } &&
26163 { ac_try='test -z "$ac_cxx_werror_flag"
26164 || test ! -s conftest.err'
26165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26166 (eval $ac_try) 2>&5
26167 ac_status=$?
26168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26169 (exit $ac_status); }; } &&
26170 { ac_try='test -s conftest.$ac_objext'
26171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26172 (eval $ac_try) 2>&5
26173 ac_status=$?
26174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26175 (exit $ac_status); }; }; then
26176 glibcxx_cv_func___builtin_fabsl_use=yes
26177 else
26178 echo "$as_me: failed program was:" >&5
26179 sed 's/^/| /' conftest.$ac_ext >&5
26181 glibcxx_cv_func___builtin_fabsl_use=no
26183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26184 ac_ext=c
26185 ac_cpp='$CPP $CPPFLAGS'
26186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26194 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
26195 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
26196 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
26197 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
26198 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
26199 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
26200 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
26201 echo $ECHO_N "(cached) $ECHO_C" >&6
26202 else
26204 if test x$gcc_no_link = xyes; then
26205 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26207 { (exit 1); exit 1; }; }
26209 cat >conftest.$ac_ext <<_ACEOF
26210 /* confdefs.h. */
26211 _ACEOF
26212 cat confdefs.h >>conftest.$ac_ext
26213 cat >>conftest.$ac_ext <<_ACEOF
26214 /* end confdefs.h. */
26215 #include <math.h>
26217 main ()
26219 __builtin_fabsl(0);
26221 return 0;
26223 _ACEOF
26224 rm -f conftest.$ac_objext conftest$ac_exeext
26225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26226 (eval $ac_link) 2>conftest.er1
26227 ac_status=$?
26228 grep -v '^ *+' conftest.er1 >conftest.err
26229 rm -f conftest.er1
26230 cat conftest.err >&5
26231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26232 (exit $ac_status); } &&
26233 { ac_try='test -z "$ac_c_werror_flag"
26234 || test ! -s conftest.err'
26235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26236 (eval $ac_try) 2>&5
26237 ac_status=$?
26238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26239 (exit $ac_status); }; } &&
26240 { ac_try='test -s conftest$ac_exeext'
26241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26242 (eval $ac_try) 2>&5
26243 ac_status=$?
26244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26245 (exit $ac_status); }; }; then
26246 glibcxx_cv_func___builtin_fabsl_link=yes
26247 else
26248 echo "$as_me: failed program was:" >&5
26249 sed 's/^/| /' conftest.$ac_ext >&5
26251 glibcxx_cv_func___builtin_fabsl_link=no
26253 rm -f conftest.err conftest.$ac_objext \
26254 conftest$ac_exeext conftest.$ac_ext
26259 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
26260 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
26262 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
26264 cat >>confdefs.h <<\_ACEOF
26265 #define HAVE___BUILTIN_FABSL 1
26266 _ACEOF
26273 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
26274 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
26275 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
26276 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
26277 echo $ECHO_N "(cached) $ECHO_C" >&6
26278 else
26282 ac_ext=cc
26283 ac_cpp='$CXXCPP $CPPFLAGS'
26284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26288 cat >conftest.$ac_ext <<_ACEOF
26289 /* confdefs.h. */
26290 _ACEOF
26291 cat confdefs.h >>conftest.$ac_ext
26292 cat >>conftest.$ac_ext <<_ACEOF
26293 /* end confdefs.h. */
26294 #include <math.h>
26296 main ()
26298 __builtin_labs(0);
26300 return 0;
26302 _ACEOF
26303 rm -f conftest.$ac_objext
26304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26305 (eval $ac_compile) 2>conftest.er1
26306 ac_status=$?
26307 grep -v '^ *+' conftest.er1 >conftest.err
26308 rm -f conftest.er1
26309 cat conftest.err >&5
26310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26311 (exit $ac_status); } &&
26312 { ac_try='test -z "$ac_cxx_werror_flag"
26313 || test ! -s conftest.err'
26314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26315 (eval $ac_try) 2>&5
26316 ac_status=$?
26317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26318 (exit $ac_status); }; } &&
26319 { ac_try='test -s conftest.$ac_objext'
26320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26321 (eval $ac_try) 2>&5
26322 ac_status=$?
26323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26324 (exit $ac_status); }; }; then
26325 glibcxx_cv_func___builtin_labs_use=yes
26326 else
26327 echo "$as_me: failed program was:" >&5
26328 sed 's/^/| /' conftest.$ac_ext >&5
26330 glibcxx_cv_func___builtin_labs_use=no
26332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26333 ac_ext=c
26334 ac_cpp='$CPP $CPPFLAGS'
26335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26343 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
26344 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
26345 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
26346 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
26347 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
26348 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
26349 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
26350 echo $ECHO_N "(cached) $ECHO_C" >&6
26351 else
26353 if test x$gcc_no_link = xyes; then
26354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26356 { (exit 1); exit 1; }; }
26358 cat >conftest.$ac_ext <<_ACEOF
26359 /* confdefs.h. */
26360 _ACEOF
26361 cat confdefs.h >>conftest.$ac_ext
26362 cat >>conftest.$ac_ext <<_ACEOF
26363 /* end confdefs.h. */
26364 #include <math.h>
26366 main ()
26368 __builtin_labs(0);
26370 return 0;
26372 _ACEOF
26373 rm -f conftest.$ac_objext conftest$ac_exeext
26374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26375 (eval $ac_link) 2>conftest.er1
26376 ac_status=$?
26377 grep -v '^ *+' conftest.er1 >conftest.err
26378 rm -f conftest.er1
26379 cat conftest.err >&5
26380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26381 (exit $ac_status); } &&
26382 { ac_try='test -z "$ac_c_werror_flag"
26383 || test ! -s conftest.err'
26384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26385 (eval $ac_try) 2>&5
26386 ac_status=$?
26387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26388 (exit $ac_status); }; } &&
26389 { ac_try='test -s conftest$ac_exeext'
26390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26391 (eval $ac_try) 2>&5
26392 ac_status=$?
26393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26394 (exit $ac_status); }; }; then
26395 glibcxx_cv_func___builtin_labs_link=yes
26396 else
26397 echo "$as_me: failed program was:" >&5
26398 sed 's/^/| /' conftest.$ac_ext >&5
26400 glibcxx_cv_func___builtin_labs_link=no
26402 rm -f conftest.err conftest.$ac_objext \
26403 conftest$ac_exeext conftest.$ac_ext
26408 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
26409 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
26411 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
26413 cat >>confdefs.h <<\_ACEOF
26414 #define HAVE___BUILTIN_LABS 1
26415 _ACEOF
26423 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
26424 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
26425 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
26426 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
26427 echo $ECHO_N "(cached) $ECHO_C" >&6
26428 else
26432 ac_ext=cc
26433 ac_cpp='$CXXCPP $CPPFLAGS'
26434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26438 cat >conftest.$ac_ext <<_ACEOF
26439 /* confdefs.h. */
26440 _ACEOF
26441 cat confdefs.h >>conftest.$ac_ext
26442 cat >>conftest.$ac_ext <<_ACEOF
26443 /* end confdefs.h. */
26444 #include <math.h>
26446 main ()
26448 __builtin_sqrtf(0);
26450 return 0;
26452 _ACEOF
26453 rm -f conftest.$ac_objext
26454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26455 (eval $ac_compile) 2>conftest.er1
26456 ac_status=$?
26457 grep -v '^ *+' conftest.er1 >conftest.err
26458 rm -f conftest.er1
26459 cat conftest.err >&5
26460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26461 (exit $ac_status); } &&
26462 { ac_try='test -z "$ac_cxx_werror_flag"
26463 || test ! -s conftest.err'
26464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26465 (eval $ac_try) 2>&5
26466 ac_status=$?
26467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26468 (exit $ac_status); }; } &&
26469 { ac_try='test -s conftest.$ac_objext'
26470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26471 (eval $ac_try) 2>&5
26472 ac_status=$?
26473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26474 (exit $ac_status); }; }; then
26475 glibcxx_cv_func___builtin_sqrtf_use=yes
26476 else
26477 echo "$as_me: failed program was:" >&5
26478 sed 's/^/| /' conftest.$ac_ext >&5
26480 glibcxx_cv_func___builtin_sqrtf_use=no
26482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26483 ac_ext=c
26484 ac_cpp='$CPP $CPPFLAGS'
26485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26493 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
26494 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
26495 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
26496 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
26497 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
26498 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
26499 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
26500 echo $ECHO_N "(cached) $ECHO_C" >&6
26501 else
26503 if test x$gcc_no_link = xyes; then
26504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26506 { (exit 1); exit 1; }; }
26508 cat >conftest.$ac_ext <<_ACEOF
26509 /* confdefs.h. */
26510 _ACEOF
26511 cat confdefs.h >>conftest.$ac_ext
26512 cat >>conftest.$ac_ext <<_ACEOF
26513 /* end confdefs.h. */
26514 #include <math.h>
26516 main ()
26518 __builtin_sqrtf(0);
26520 return 0;
26522 _ACEOF
26523 rm -f conftest.$ac_objext conftest$ac_exeext
26524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26525 (eval $ac_link) 2>conftest.er1
26526 ac_status=$?
26527 grep -v '^ *+' conftest.er1 >conftest.err
26528 rm -f conftest.er1
26529 cat conftest.err >&5
26530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26531 (exit $ac_status); } &&
26532 { ac_try='test -z "$ac_c_werror_flag"
26533 || test ! -s conftest.err'
26534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26535 (eval $ac_try) 2>&5
26536 ac_status=$?
26537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26538 (exit $ac_status); }; } &&
26539 { ac_try='test -s conftest$ac_exeext'
26540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26541 (eval $ac_try) 2>&5
26542 ac_status=$?
26543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26544 (exit $ac_status); }; }; then
26545 glibcxx_cv_func___builtin_sqrtf_link=yes
26546 else
26547 echo "$as_me: failed program was:" >&5
26548 sed 's/^/| /' conftest.$ac_ext >&5
26550 glibcxx_cv_func___builtin_sqrtf_link=no
26552 rm -f conftest.err conftest.$ac_objext \
26553 conftest$ac_exeext conftest.$ac_ext
26558 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26559 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26561 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26563 cat >>confdefs.h <<\_ACEOF
26564 #define HAVE___BUILTIN_SQRTF 1
26565 _ACEOF
26572 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26573 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26574 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26575 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26576 echo $ECHO_N "(cached) $ECHO_C" >&6
26577 else
26581 ac_ext=cc
26582 ac_cpp='$CXXCPP $CPPFLAGS'
26583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26587 cat >conftest.$ac_ext <<_ACEOF
26588 /* confdefs.h. */
26589 _ACEOF
26590 cat confdefs.h >>conftest.$ac_ext
26591 cat >>conftest.$ac_ext <<_ACEOF
26592 /* end confdefs.h. */
26593 #include <math.h>
26595 main ()
26597 __builtin_sqrt(0);
26599 return 0;
26601 _ACEOF
26602 rm -f conftest.$ac_objext
26603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26604 (eval $ac_compile) 2>conftest.er1
26605 ac_status=$?
26606 grep -v '^ *+' conftest.er1 >conftest.err
26607 rm -f conftest.er1
26608 cat conftest.err >&5
26609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26610 (exit $ac_status); } &&
26611 { ac_try='test -z "$ac_cxx_werror_flag"
26612 || test ! -s conftest.err'
26613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26614 (eval $ac_try) 2>&5
26615 ac_status=$?
26616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26617 (exit $ac_status); }; } &&
26618 { ac_try='test -s conftest.$ac_objext'
26619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26620 (eval $ac_try) 2>&5
26621 ac_status=$?
26622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26623 (exit $ac_status); }; }; then
26624 glibcxx_cv_func___builtin_sqrt_use=yes
26625 else
26626 echo "$as_me: failed program was:" >&5
26627 sed 's/^/| /' conftest.$ac_ext >&5
26629 glibcxx_cv_func___builtin_sqrt_use=no
26631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26632 ac_ext=c
26633 ac_cpp='$CPP $CPPFLAGS'
26634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26642 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26643 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26644 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26645 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26646 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26647 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26648 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26649 echo $ECHO_N "(cached) $ECHO_C" >&6
26650 else
26652 if test x$gcc_no_link = xyes; then
26653 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26655 { (exit 1); exit 1; }; }
26657 cat >conftest.$ac_ext <<_ACEOF
26658 /* confdefs.h. */
26659 _ACEOF
26660 cat confdefs.h >>conftest.$ac_ext
26661 cat >>conftest.$ac_ext <<_ACEOF
26662 /* end confdefs.h. */
26663 #include <math.h>
26665 main ()
26667 __builtin_sqrt(0);
26669 return 0;
26671 _ACEOF
26672 rm -f conftest.$ac_objext conftest$ac_exeext
26673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26674 (eval $ac_link) 2>conftest.er1
26675 ac_status=$?
26676 grep -v '^ *+' conftest.er1 >conftest.err
26677 rm -f conftest.er1
26678 cat conftest.err >&5
26679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26680 (exit $ac_status); } &&
26681 { ac_try='test -z "$ac_c_werror_flag"
26682 || test ! -s conftest.err'
26683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26684 (eval $ac_try) 2>&5
26685 ac_status=$?
26686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26687 (exit $ac_status); }; } &&
26688 { ac_try='test -s conftest$ac_exeext'
26689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26690 (eval $ac_try) 2>&5
26691 ac_status=$?
26692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26693 (exit $ac_status); }; }; then
26694 glibcxx_cv_func___builtin_sqrt_link=yes
26695 else
26696 echo "$as_me: failed program was:" >&5
26697 sed 's/^/| /' conftest.$ac_ext >&5
26699 glibcxx_cv_func___builtin_sqrt_link=no
26701 rm -f conftest.err conftest.$ac_objext \
26702 conftest$ac_exeext conftest.$ac_ext
26707 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26708 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26710 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26712 cat >>confdefs.h <<\_ACEOF
26713 #define HAVE___BUILTIN_SQRT 1
26714 _ACEOF
26721 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26722 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26723 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26724 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26725 echo $ECHO_N "(cached) $ECHO_C" >&6
26726 else
26730 ac_ext=cc
26731 ac_cpp='$CXXCPP $CPPFLAGS'
26732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26736 cat >conftest.$ac_ext <<_ACEOF
26737 /* confdefs.h. */
26738 _ACEOF
26739 cat confdefs.h >>conftest.$ac_ext
26740 cat >>conftest.$ac_ext <<_ACEOF
26741 /* end confdefs.h. */
26742 #include <math.h>
26744 main ()
26746 __builtin_sqrtl(0);
26748 return 0;
26750 _ACEOF
26751 rm -f conftest.$ac_objext
26752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26753 (eval $ac_compile) 2>conftest.er1
26754 ac_status=$?
26755 grep -v '^ *+' conftest.er1 >conftest.err
26756 rm -f conftest.er1
26757 cat conftest.err >&5
26758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26759 (exit $ac_status); } &&
26760 { ac_try='test -z "$ac_cxx_werror_flag"
26761 || test ! -s conftest.err'
26762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26763 (eval $ac_try) 2>&5
26764 ac_status=$?
26765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26766 (exit $ac_status); }; } &&
26767 { ac_try='test -s conftest.$ac_objext'
26768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26769 (eval $ac_try) 2>&5
26770 ac_status=$?
26771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26772 (exit $ac_status); }; }; then
26773 glibcxx_cv_func___builtin_sqrtl_use=yes
26774 else
26775 echo "$as_me: failed program was:" >&5
26776 sed 's/^/| /' conftest.$ac_ext >&5
26778 glibcxx_cv_func___builtin_sqrtl_use=no
26780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26781 ac_ext=c
26782 ac_cpp='$CPP $CPPFLAGS'
26783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26791 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
26792 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
26793 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
26794 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
26795 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
26796 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
26797 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
26798 echo $ECHO_N "(cached) $ECHO_C" >&6
26799 else
26801 if test x$gcc_no_link = xyes; then
26802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26804 { (exit 1); exit 1; }; }
26806 cat >conftest.$ac_ext <<_ACEOF
26807 /* confdefs.h. */
26808 _ACEOF
26809 cat confdefs.h >>conftest.$ac_ext
26810 cat >>conftest.$ac_ext <<_ACEOF
26811 /* end confdefs.h. */
26812 #include <math.h>
26814 main ()
26816 __builtin_sqrtl(0);
26818 return 0;
26820 _ACEOF
26821 rm -f conftest.$ac_objext conftest$ac_exeext
26822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26823 (eval $ac_link) 2>conftest.er1
26824 ac_status=$?
26825 grep -v '^ *+' conftest.er1 >conftest.err
26826 rm -f conftest.er1
26827 cat conftest.err >&5
26828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26829 (exit $ac_status); } &&
26830 { ac_try='test -z "$ac_c_werror_flag"
26831 || test ! -s conftest.err'
26832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26833 (eval $ac_try) 2>&5
26834 ac_status=$?
26835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26836 (exit $ac_status); }; } &&
26837 { ac_try='test -s conftest$ac_exeext'
26838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26839 (eval $ac_try) 2>&5
26840 ac_status=$?
26841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26842 (exit $ac_status); }; }; then
26843 glibcxx_cv_func___builtin_sqrtl_link=yes
26844 else
26845 echo "$as_me: failed program was:" >&5
26846 sed 's/^/| /' conftest.$ac_ext >&5
26848 glibcxx_cv_func___builtin_sqrtl_link=no
26850 rm -f conftest.err conftest.$ac_objext \
26851 conftest$ac_exeext conftest.$ac_ext
26856 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
26857 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
26859 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
26861 cat >>confdefs.h <<\_ACEOF
26862 #define HAVE___BUILTIN_SQRTL 1
26863 _ACEOF
26871 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
26872 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
26873 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
26874 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
26875 echo $ECHO_N "(cached) $ECHO_C" >&6
26876 else
26880 ac_ext=cc
26881 ac_cpp='$CXXCPP $CPPFLAGS'
26882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26886 cat >conftest.$ac_ext <<_ACEOF
26887 /* confdefs.h. */
26888 _ACEOF
26889 cat confdefs.h >>conftest.$ac_ext
26890 cat >>conftest.$ac_ext <<_ACEOF
26891 /* end confdefs.h. */
26892 #include <math.h>
26894 main ()
26896 __builtin_sinf(0);
26898 return 0;
26900 _ACEOF
26901 rm -f conftest.$ac_objext
26902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26903 (eval $ac_compile) 2>conftest.er1
26904 ac_status=$?
26905 grep -v '^ *+' conftest.er1 >conftest.err
26906 rm -f conftest.er1
26907 cat conftest.err >&5
26908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26909 (exit $ac_status); } &&
26910 { ac_try='test -z "$ac_cxx_werror_flag"
26911 || test ! -s conftest.err'
26912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26913 (eval $ac_try) 2>&5
26914 ac_status=$?
26915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26916 (exit $ac_status); }; } &&
26917 { ac_try='test -s conftest.$ac_objext'
26918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26919 (eval $ac_try) 2>&5
26920 ac_status=$?
26921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26922 (exit $ac_status); }; }; then
26923 glibcxx_cv_func___builtin_sinf_use=yes
26924 else
26925 echo "$as_me: failed program was:" >&5
26926 sed 's/^/| /' conftest.$ac_ext >&5
26928 glibcxx_cv_func___builtin_sinf_use=no
26930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26931 ac_ext=c
26932 ac_cpp='$CPP $CPPFLAGS'
26933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26941 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
26942 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
26943 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
26944 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
26945 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
26946 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
26947 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
26948 echo $ECHO_N "(cached) $ECHO_C" >&6
26949 else
26951 if test x$gcc_no_link = xyes; then
26952 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26954 { (exit 1); exit 1; }; }
26956 cat >conftest.$ac_ext <<_ACEOF
26957 /* confdefs.h. */
26958 _ACEOF
26959 cat confdefs.h >>conftest.$ac_ext
26960 cat >>conftest.$ac_ext <<_ACEOF
26961 /* end confdefs.h. */
26962 #include <math.h>
26964 main ()
26966 __builtin_sinf(0);
26968 return 0;
26970 _ACEOF
26971 rm -f conftest.$ac_objext conftest$ac_exeext
26972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26973 (eval $ac_link) 2>conftest.er1
26974 ac_status=$?
26975 grep -v '^ *+' conftest.er1 >conftest.err
26976 rm -f conftest.er1
26977 cat conftest.err >&5
26978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26979 (exit $ac_status); } &&
26980 { ac_try='test -z "$ac_c_werror_flag"
26981 || test ! -s conftest.err'
26982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26983 (eval $ac_try) 2>&5
26984 ac_status=$?
26985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26986 (exit $ac_status); }; } &&
26987 { ac_try='test -s conftest$ac_exeext'
26988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26989 (eval $ac_try) 2>&5
26990 ac_status=$?
26991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26992 (exit $ac_status); }; }; then
26993 glibcxx_cv_func___builtin_sinf_link=yes
26994 else
26995 echo "$as_me: failed program was:" >&5
26996 sed 's/^/| /' conftest.$ac_ext >&5
26998 glibcxx_cv_func___builtin_sinf_link=no
27000 rm -f conftest.err conftest.$ac_objext \
27001 conftest$ac_exeext conftest.$ac_ext
27006 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
27007 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
27009 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
27011 cat >>confdefs.h <<\_ACEOF
27012 #define HAVE___BUILTIN_SINF 1
27013 _ACEOF
27020 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
27021 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
27022 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
27023 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
27024 echo $ECHO_N "(cached) $ECHO_C" >&6
27025 else
27029 ac_ext=cc
27030 ac_cpp='$CXXCPP $CPPFLAGS'
27031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27035 cat >conftest.$ac_ext <<_ACEOF
27036 /* confdefs.h. */
27037 _ACEOF
27038 cat confdefs.h >>conftest.$ac_ext
27039 cat >>conftest.$ac_ext <<_ACEOF
27040 /* end confdefs.h. */
27041 #include <math.h>
27043 main ()
27045 __builtin_sin(0);
27047 return 0;
27049 _ACEOF
27050 rm -f conftest.$ac_objext
27051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27052 (eval $ac_compile) 2>conftest.er1
27053 ac_status=$?
27054 grep -v '^ *+' conftest.er1 >conftest.err
27055 rm -f conftest.er1
27056 cat conftest.err >&5
27057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27058 (exit $ac_status); } &&
27059 { ac_try='test -z "$ac_cxx_werror_flag"
27060 || test ! -s conftest.err'
27061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27062 (eval $ac_try) 2>&5
27063 ac_status=$?
27064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27065 (exit $ac_status); }; } &&
27066 { ac_try='test -s conftest.$ac_objext'
27067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27068 (eval $ac_try) 2>&5
27069 ac_status=$?
27070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27071 (exit $ac_status); }; }; then
27072 glibcxx_cv_func___builtin_sin_use=yes
27073 else
27074 echo "$as_me: failed program was:" >&5
27075 sed 's/^/| /' conftest.$ac_ext >&5
27077 glibcxx_cv_func___builtin_sin_use=no
27079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27080 ac_ext=c
27081 ac_cpp='$CPP $CPPFLAGS'
27082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27090 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
27091 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
27092 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
27093 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
27094 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
27095 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
27096 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
27097 echo $ECHO_N "(cached) $ECHO_C" >&6
27098 else
27100 if test x$gcc_no_link = xyes; then
27101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27103 { (exit 1); exit 1; }; }
27105 cat >conftest.$ac_ext <<_ACEOF
27106 /* confdefs.h. */
27107 _ACEOF
27108 cat confdefs.h >>conftest.$ac_ext
27109 cat >>conftest.$ac_ext <<_ACEOF
27110 /* end confdefs.h. */
27111 #include <math.h>
27113 main ()
27115 __builtin_sin(0);
27117 return 0;
27119 _ACEOF
27120 rm -f conftest.$ac_objext conftest$ac_exeext
27121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27122 (eval $ac_link) 2>conftest.er1
27123 ac_status=$?
27124 grep -v '^ *+' conftest.er1 >conftest.err
27125 rm -f conftest.er1
27126 cat conftest.err >&5
27127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27128 (exit $ac_status); } &&
27129 { ac_try='test -z "$ac_c_werror_flag"
27130 || test ! -s conftest.err'
27131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27132 (eval $ac_try) 2>&5
27133 ac_status=$?
27134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27135 (exit $ac_status); }; } &&
27136 { ac_try='test -s conftest$ac_exeext'
27137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27138 (eval $ac_try) 2>&5
27139 ac_status=$?
27140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27141 (exit $ac_status); }; }; then
27142 glibcxx_cv_func___builtin_sin_link=yes
27143 else
27144 echo "$as_me: failed program was:" >&5
27145 sed 's/^/| /' conftest.$ac_ext >&5
27147 glibcxx_cv_func___builtin_sin_link=no
27149 rm -f conftest.err conftest.$ac_objext \
27150 conftest$ac_exeext conftest.$ac_ext
27155 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
27156 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
27158 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
27160 cat >>confdefs.h <<\_ACEOF
27161 #define HAVE___BUILTIN_SIN 1
27162 _ACEOF
27169 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
27170 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
27171 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
27172 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
27173 echo $ECHO_N "(cached) $ECHO_C" >&6
27174 else
27178 ac_ext=cc
27179 ac_cpp='$CXXCPP $CPPFLAGS'
27180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27184 cat >conftest.$ac_ext <<_ACEOF
27185 /* confdefs.h. */
27186 _ACEOF
27187 cat confdefs.h >>conftest.$ac_ext
27188 cat >>conftest.$ac_ext <<_ACEOF
27189 /* end confdefs.h. */
27190 #include <math.h>
27192 main ()
27194 __builtin_sinl(0);
27196 return 0;
27198 _ACEOF
27199 rm -f conftest.$ac_objext
27200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27201 (eval $ac_compile) 2>conftest.er1
27202 ac_status=$?
27203 grep -v '^ *+' conftest.er1 >conftest.err
27204 rm -f conftest.er1
27205 cat conftest.err >&5
27206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27207 (exit $ac_status); } &&
27208 { ac_try='test -z "$ac_cxx_werror_flag"
27209 || test ! -s conftest.err'
27210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27211 (eval $ac_try) 2>&5
27212 ac_status=$?
27213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27214 (exit $ac_status); }; } &&
27215 { ac_try='test -s conftest.$ac_objext'
27216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27217 (eval $ac_try) 2>&5
27218 ac_status=$?
27219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27220 (exit $ac_status); }; }; then
27221 glibcxx_cv_func___builtin_sinl_use=yes
27222 else
27223 echo "$as_me: failed program was:" >&5
27224 sed 's/^/| /' conftest.$ac_ext >&5
27226 glibcxx_cv_func___builtin_sinl_use=no
27228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27229 ac_ext=c
27230 ac_cpp='$CPP $CPPFLAGS'
27231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27239 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
27240 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
27241 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
27242 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
27243 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
27244 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
27245 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
27246 echo $ECHO_N "(cached) $ECHO_C" >&6
27247 else
27249 if test x$gcc_no_link = xyes; then
27250 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27252 { (exit 1); exit 1; }; }
27254 cat >conftest.$ac_ext <<_ACEOF
27255 /* confdefs.h. */
27256 _ACEOF
27257 cat confdefs.h >>conftest.$ac_ext
27258 cat >>conftest.$ac_ext <<_ACEOF
27259 /* end confdefs.h. */
27260 #include <math.h>
27262 main ()
27264 __builtin_sinl(0);
27266 return 0;
27268 _ACEOF
27269 rm -f conftest.$ac_objext conftest$ac_exeext
27270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27271 (eval $ac_link) 2>conftest.er1
27272 ac_status=$?
27273 grep -v '^ *+' conftest.er1 >conftest.err
27274 rm -f conftest.er1
27275 cat conftest.err >&5
27276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27277 (exit $ac_status); } &&
27278 { ac_try='test -z "$ac_c_werror_flag"
27279 || test ! -s conftest.err'
27280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27281 (eval $ac_try) 2>&5
27282 ac_status=$?
27283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27284 (exit $ac_status); }; } &&
27285 { ac_try='test -s conftest$ac_exeext'
27286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27287 (eval $ac_try) 2>&5
27288 ac_status=$?
27289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27290 (exit $ac_status); }; }; then
27291 glibcxx_cv_func___builtin_sinl_link=yes
27292 else
27293 echo "$as_me: failed program was:" >&5
27294 sed 's/^/| /' conftest.$ac_ext >&5
27296 glibcxx_cv_func___builtin_sinl_link=no
27298 rm -f conftest.err conftest.$ac_objext \
27299 conftest$ac_exeext conftest.$ac_ext
27304 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
27305 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
27307 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
27309 cat >>confdefs.h <<\_ACEOF
27310 #define HAVE___BUILTIN_SINL 1
27311 _ACEOF
27319 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
27320 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
27321 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
27322 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
27323 echo $ECHO_N "(cached) $ECHO_C" >&6
27324 else
27328 ac_ext=cc
27329 ac_cpp='$CXXCPP $CPPFLAGS'
27330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27334 cat >conftest.$ac_ext <<_ACEOF
27335 /* confdefs.h. */
27336 _ACEOF
27337 cat confdefs.h >>conftest.$ac_ext
27338 cat >>conftest.$ac_ext <<_ACEOF
27339 /* end confdefs.h. */
27340 #include <math.h>
27342 main ()
27344 __builtin_cosf(0);
27346 return 0;
27348 _ACEOF
27349 rm -f conftest.$ac_objext
27350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27351 (eval $ac_compile) 2>conftest.er1
27352 ac_status=$?
27353 grep -v '^ *+' conftest.er1 >conftest.err
27354 rm -f conftest.er1
27355 cat conftest.err >&5
27356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27357 (exit $ac_status); } &&
27358 { ac_try='test -z "$ac_cxx_werror_flag"
27359 || test ! -s conftest.err'
27360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27361 (eval $ac_try) 2>&5
27362 ac_status=$?
27363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27364 (exit $ac_status); }; } &&
27365 { ac_try='test -s conftest.$ac_objext'
27366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27367 (eval $ac_try) 2>&5
27368 ac_status=$?
27369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27370 (exit $ac_status); }; }; then
27371 glibcxx_cv_func___builtin_cosf_use=yes
27372 else
27373 echo "$as_me: failed program was:" >&5
27374 sed 's/^/| /' conftest.$ac_ext >&5
27376 glibcxx_cv_func___builtin_cosf_use=no
27378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27379 ac_ext=c
27380 ac_cpp='$CPP $CPPFLAGS'
27381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27389 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
27390 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
27391 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
27392 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
27393 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
27394 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
27395 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
27396 echo $ECHO_N "(cached) $ECHO_C" >&6
27397 else
27399 if test x$gcc_no_link = xyes; then
27400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27402 { (exit 1); exit 1; }; }
27404 cat >conftest.$ac_ext <<_ACEOF
27405 /* confdefs.h. */
27406 _ACEOF
27407 cat confdefs.h >>conftest.$ac_ext
27408 cat >>conftest.$ac_ext <<_ACEOF
27409 /* end confdefs.h. */
27410 #include <math.h>
27412 main ()
27414 __builtin_cosf(0);
27416 return 0;
27418 _ACEOF
27419 rm -f conftest.$ac_objext conftest$ac_exeext
27420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27421 (eval $ac_link) 2>conftest.er1
27422 ac_status=$?
27423 grep -v '^ *+' conftest.er1 >conftest.err
27424 rm -f conftest.er1
27425 cat conftest.err >&5
27426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27427 (exit $ac_status); } &&
27428 { ac_try='test -z "$ac_c_werror_flag"
27429 || test ! -s conftest.err'
27430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27431 (eval $ac_try) 2>&5
27432 ac_status=$?
27433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27434 (exit $ac_status); }; } &&
27435 { ac_try='test -s conftest$ac_exeext'
27436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27437 (eval $ac_try) 2>&5
27438 ac_status=$?
27439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27440 (exit $ac_status); }; }; then
27441 glibcxx_cv_func___builtin_cosf_link=yes
27442 else
27443 echo "$as_me: failed program was:" >&5
27444 sed 's/^/| /' conftest.$ac_ext >&5
27446 glibcxx_cv_func___builtin_cosf_link=no
27448 rm -f conftest.err conftest.$ac_objext \
27449 conftest$ac_exeext conftest.$ac_ext
27454 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
27455 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
27457 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
27459 cat >>confdefs.h <<\_ACEOF
27460 #define HAVE___BUILTIN_COSF 1
27461 _ACEOF
27468 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
27469 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
27470 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
27471 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
27472 echo $ECHO_N "(cached) $ECHO_C" >&6
27473 else
27477 ac_ext=cc
27478 ac_cpp='$CXXCPP $CPPFLAGS'
27479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27483 cat >conftest.$ac_ext <<_ACEOF
27484 /* confdefs.h. */
27485 _ACEOF
27486 cat confdefs.h >>conftest.$ac_ext
27487 cat >>conftest.$ac_ext <<_ACEOF
27488 /* end confdefs.h. */
27489 #include <math.h>
27491 main ()
27493 __builtin_cos(0);
27495 return 0;
27497 _ACEOF
27498 rm -f conftest.$ac_objext
27499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27500 (eval $ac_compile) 2>conftest.er1
27501 ac_status=$?
27502 grep -v '^ *+' conftest.er1 >conftest.err
27503 rm -f conftest.er1
27504 cat conftest.err >&5
27505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27506 (exit $ac_status); } &&
27507 { ac_try='test -z "$ac_cxx_werror_flag"
27508 || test ! -s conftest.err'
27509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27510 (eval $ac_try) 2>&5
27511 ac_status=$?
27512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27513 (exit $ac_status); }; } &&
27514 { ac_try='test -s conftest.$ac_objext'
27515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27516 (eval $ac_try) 2>&5
27517 ac_status=$?
27518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27519 (exit $ac_status); }; }; then
27520 glibcxx_cv_func___builtin_cos_use=yes
27521 else
27522 echo "$as_me: failed program was:" >&5
27523 sed 's/^/| /' conftest.$ac_ext >&5
27525 glibcxx_cv_func___builtin_cos_use=no
27527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27528 ac_ext=c
27529 ac_cpp='$CPP $CPPFLAGS'
27530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27538 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
27539 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
27540 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
27541 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
27542 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
27543 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
27544 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
27545 echo $ECHO_N "(cached) $ECHO_C" >&6
27546 else
27548 if test x$gcc_no_link = xyes; then
27549 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27551 { (exit 1); exit 1; }; }
27553 cat >conftest.$ac_ext <<_ACEOF
27554 /* confdefs.h. */
27555 _ACEOF
27556 cat confdefs.h >>conftest.$ac_ext
27557 cat >>conftest.$ac_ext <<_ACEOF
27558 /* end confdefs.h. */
27559 #include <math.h>
27561 main ()
27563 __builtin_cos(0);
27565 return 0;
27567 _ACEOF
27568 rm -f conftest.$ac_objext conftest$ac_exeext
27569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27570 (eval $ac_link) 2>conftest.er1
27571 ac_status=$?
27572 grep -v '^ *+' conftest.er1 >conftest.err
27573 rm -f conftest.er1
27574 cat conftest.err >&5
27575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27576 (exit $ac_status); } &&
27577 { ac_try='test -z "$ac_c_werror_flag"
27578 || test ! -s conftest.err'
27579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27580 (eval $ac_try) 2>&5
27581 ac_status=$?
27582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27583 (exit $ac_status); }; } &&
27584 { ac_try='test -s conftest$ac_exeext'
27585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27586 (eval $ac_try) 2>&5
27587 ac_status=$?
27588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27589 (exit $ac_status); }; }; then
27590 glibcxx_cv_func___builtin_cos_link=yes
27591 else
27592 echo "$as_me: failed program was:" >&5
27593 sed 's/^/| /' conftest.$ac_ext >&5
27595 glibcxx_cv_func___builtin_cos_link=no
27597 rm -f conftest.err conftest.$ac_objext \
27598 conftest$ac_exeext conftest.$ac_ext
27603 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27604 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27606 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27608 cat >>confdefs.h <<\_ACEOF
27609 #define HAVE___BUILTIN_COS 1
27610 _ACEOF
27617 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27618 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27619 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27620 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27621 echo $ECHO_N "(cached) $ECHO_C" >&6
27622 else
27626 ac_ext=cc
27627 ac_cpp='$CXXCPP $CPPFLAGS'
27628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27632 cat >conftest.$ac_ext <<_ACEOF
27633 /* confdefs.h. */
27634 _ACEOF
27635 cat confdefs.h >>conftest.$ac_ext
27636 cat >>conftest.$ac_ext <<_ACEOF
27637 /* end confdefs.h. */
27638 #include <math.h>
27640 main ()
27642 __builtin_cosl(0);
27644 return 0;
27646 _ACEOF
27647 rm -f conftest.$ac_objext
27648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27649 (eval $ac_compile) 2>conftest.er1
27650 ac_status=$?
27651 grep -v '^ *+' conftest.er1 >conftest.err
27652 rm -f conftest.er1
27653 cat conftest.err >&5
27654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27655 (exit $ac_status); } &&
27656 { ac_try='test -z "$ac_cxx_werror_flag"
27657 || test ! -s conftest.err'
27658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27659 (eval $ac_try) 2>&5
27660 ac_status=$?
27661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27662 (exit $ac_status); }; } &&
27663 { ac_try='test -s conftest.$ac_objext'
27664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27665 (eval $ac_try) 2>&5
27666 ac_status=$?
27667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27668 (exit $ac_status); }; }; then
27669 glibcxx_cv_func___builtin_cosl_use=yes
27670 else
27671 echo "$as_me: failed program was:" >&5
27672 sed 's/^/| /' conftest.$ac_ext >&5
27674 glibcxx_cv_func___builtin_cosl_use=no
27676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27677 ac_ext=c
27678 ac_cpp='$CPP $CPPFLAGS'
27679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27687 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27688 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27689 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27690 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27691 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27692 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27693 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27694 echo $ECHO_N "(cached) $ECHO_C" >&6
27695 else
27697 if test x$gcc_no_link = xyes; then
27698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27700 { (exit 1); exit 1; }; }
27702 cat >conftest.$ac_ext <<_ACEOF
27703 /* confdefs.h. */
27704 _ACEOF
27705 cat confdefs.h >>conftest.$ac_ext
27706 cat >>conftest.$ac_ext <<_ACEOF
27707 /* end confdefs.h. */
27708 #include <math.h>
27710 main ()
27712 __builtin_cosl(0);
27714 return 0;
27716 _ACEOF
27717 rm -f conftest.$ac_objext conftest$ac_exeext
27718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27719 (eval $ac_link) 2>conftest.er1
27720 ac_status=$?
27721 grep -v '^ *+' conftest.er1 >conftest.err
27722 rm -f conftest.er1
27723 cat conftest.err >&5
27724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27725 (exit $ac_status); } &&
27726 { ac_try='test -z "$ac_c_werror_flag"
27727 || test ! -s conftest.err'
27728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27729 (eval $ac_try) 2>&5
27730 ac_status=$?
27731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27732 (exit $ac_status); }; } &&
27733 { ac_try='test -s conftest$ac_exeext'
27734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27735 (eval $ac_try) 2>&5
27736 ac_status=$?
27737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27738 (exit $ac_status); }; }; then
27739 glibcxx_cv_func___builtin_cosl_link=yes
27740 else
27741 echo "$as_me: failed program was:" >&5
27742 sed 's/^/| /' conftest.$ac_ext >&5
27744 glibcxx_cv_func___builtin_cosl_link=no
27746 rm -f conftest.err conftest.$ac_objext \
27747 conftest$ac_exeext conftest.$ac_ext
27752 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27753 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27755 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27757 cat >>confdefs.h <<\_ACEOF
27758 #define HAVE___BUILTIN_COSL 1
27759 _ACEOF
27768 echo "$as_me:$LINENO: checking for main in -lm" >&5
27769 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27770 if test "${ac_cv_lib_m_main+set}" = set; then
27771 echo $ECHO_N "(cached) $ECHO_C" >&6
27772 else
27773 ac_check_lib_save_LIBS=$LIBS
27774 LIBS="-lm $LIBS"
27775 if test x$gcc_no_link = xyes; then
27776 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27778 { (exit 1); exit 1; }; }
27780 cat >conftest.$ac_ext <<_ACEOF
27781 /* confdefs.h. */
27782 _ACEOF
27783 cat confdefs.h >>conftest.$ac_ext
27784 cat >>conftest.$ac_ext <<_ACEOF
27785 /* end confdefs.h. */
27789 main ()
27791 main ();
27793 return 0;
27795 _ACEOF
27796 rm -f conftest.$ac_objext conftest$ac_exeext
27797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27798 (eval $ac_link) 2>conftest.er1
27799 ac_status=$?
27800 grep -v '^ *+' conftest.er1 >conftest.err
27801 rm -f conftest.er1
27802 cat conftest.err >&5
27803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27804 (exit $ac_status); } &&
27805 { ac_try='test -z "$ac_c_werror_flag"
27806 || test ! -s conftest.err'
27807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27808 (eval $ac_try) 2>&5
27809 ac_status=$?
27810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27811 (exit $ac_status); }; } &&
27812 { ac_try='test -s conftest$ac_exeext'
27813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27814 (eval $ac_try) 2>&5
27815 ac_status=$?
27816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27817 (exit $ac_status); }; }; then
27818 ac_cv_lib_m_main=yes
27819 else
27820 echo "$as_me: failed program was:" >&5
27821 sed 's/^/| /' conftest.$ac_ext >&5
27823 ac_cv_lib_m_main=no
27825 rm -f conftest.err conftest.$ac_objext \
27826 conftest$ac_exeext conftest.$ac_ext
27827 LIBS=$ac_check_lib_save_LIBS
27829 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
27830 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
27831 if test $ac_cv_lib_m_main = yes; then
27832 cat >>confdefs.h <<_ACEOF
27833 #define HAVE_LIBM 1
27834 _ACEOF
27836 LIBS="-lm $LIBS"
27841 for ac_func in copysignf
27843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27844 echo "$as_me:$LINENO: checking for $ac_func" >&5
27845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27846 if eval "test \"\${$as_ac_var+set}\" = set"; then
27847 echo $ECHO_N "(cached) $ECHO_C" >&6
27848 else
27849 if test x$gcc_no_link = xyes; then
27850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27852 { (exit 1); exit 1; }; }
27854 cat >conftest.$ac_ext <<_ACEOF
27855 /* confdefs.h. */
27856 _ACEOF
27857 cat confdefs.h >>conftest.$ac_ext
27858 cat >>conftest.$ac_ext <<_ACEOF
27859 /* end confdefs.h. */
27860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27862 #define $ac_func innocuous_$ac_func
27864 /* System header to define __stub macros and hopefully few prototypes,
27865 which can conflict with char $ac_func (); below.
27866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27867 <limits.h> exists even on freestanding compilers. */
27869 #ifdef __STDC__
27870 # include <limits.h>
27871 #else
27872 # include <assert.h>
27873 #endif
27875 #undef $ac_func
27877 /* Override any gcc2 internal prototype to avoid an error. */
27878 #ifdef __cplusplus
27879 extern "C"
27881 #endif
27882 /* We use char because int might match the return type of a gcc2
27883 builtin and then its argument prototype would still apply. */
27884 char $ac_func ();
27885 /* The GNU C library defines this for functions which it implements
27886 to always fail with ENOSYS. Some functions are actually named
27887 something starting with __ and the normal name is an alias. */
27888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27889 choke me
27890 #else
27891 char (*f) () = $ac_func;
27892 #endif
27893 #ifdef __cplusplus
27895 #endif
27898 main ()
27900 return f != $ac_func;
27902 return 0;
27904 _ACEOF
27905 rm -f conftest.$ac_objext conftest$ac_exeext
27906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27907 (eval $ac_link) 2>conftest.er1
27908 ac_status=$?
27909 grep -v '^ *+' conftest.er1 >conftest.err
27910 rm -f conftest.er1
27911 cat conftest.err >&5
27912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27913 (exit $ac_status); } &&
27914 { ac_try='test -z "$ac_c_werror_flag"
27915 || test ! -s conftest.err'
27916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27917 (eval $ac_try) 2>&5
27918 ac_status=$?
27919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27920 (exit $ac_status); }; } &&
27921 { ac_try='test -s conftest$ac_exeext'
27922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27923 (eval $ac_try) 2>&5
27924 ac_status=$?
27925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27926 (exit $ac_status); }; }; then
27927 eval "$as_ac_var=yes"
27928 else
27929 echo "$as_me: failed program was:" >&5
27930 sed 's/^/| /' conftest.$ac_ext >&5
27932 eval "$as_ac_var=no"
27934 rm -f conftest.err conftest.$ac_objext \
27935 conftest$ac_exeext conftest.$ac_ext
27937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27939 if test `eval echo '${'$as_ac_var'}'` = yes; then
27940 cat >>confdefs.h <<_ACEOF
27941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27942 _ACEOF
27944 else
27945 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
27947 done
27951 for ac_func in __signbit
27953 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27954 echo "$as_me:$LINENO: checking for $ac_func" >&5
27955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27956 if eval "test \"\${$as_ac_var+set}\" = set"; then
27957 echo $ECHO_N "(cached) $ECHO_C" >&6
27958 else
27959 if test x$gcc_no_link = xyes; then
27960 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27962 { (exit 1); exit 1; }; }
27964 cat >conftest.$ac_ext <<_ACEOF
27965 /* confdefs.h. */
27966 _ACEOF
27967 cat confdefs.h >>conftest.$ac_ext
27968 cat >>conftest.$ac_ext <<_ACEOF
27969 /* end confdefs.h. */
27970 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27972 #define $ac_func innocuous_$ac_func
27974 /* System header to define __stub macros and hopefully few prototypes,
27975 which can conflict with char $ac_func (); below.
27976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27977 <limits.h> exists even on freestanding compilers. */
27979 #ifdef __STDC__
27980 # include <limits.h>
27981 #else
27982 # include <assert.h>
27983 #endif
27985 #undef $ac_func
27987 /* Override any gcc2 internal prototype to avoid an error. */
27988 #ifdef __cplusplus
27989 extern "C"
27991 #endif
27992 /* We use char because int might match the return type of a gcc2
27993 builtin and then its argument prototype would still apply. */
27994 char $ac_func ();
27995 /* The GNU C library defines this for functions which it implements
27996 to always fail with ENOSYS. Some functions are actually named
27997 something starting with __ and the normal name is an alias. */
27998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27999 choke me
28000 #else
28001 char (*f) () = $ac_func;
28002 #endif
28003 #ifdef __cplusplus
28005 #endif
28008 main ()
28010 return f != $ac_func;
28012 return 0;
28014 _ACEOF
28015 rm -f conftest.$ac_objext conftest$ac_exeext
28016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28017 (eval $ac_link) 2>conftest.er1
28018 ac_status=$?
28019 grep -v '^ *+' conftest.er1 >conftest.err
28020 rm -f conftest.er1
28021 cat conftest.err >&5
28022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28023 (exit $ac_status); } &&
28024 { ac_try='test -z "$ac_c_werror_flag"
28025 || test ! -s conftest.err'
28026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28027 (eval $ac_try) 2>&5
28028 ac_status=$?
28029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28030 (exit $ac_status); }; } &&
28031 { ac_try='test -s conftest$ac_exeext'
28032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28033 (eval $ac_try) 2>&5
28034 ac_status=$?
28035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28036 (exit $ac_status); }; }; then
28037 eval "$as_ac_var=yes"
28038 else
28039 echo "$as_me: failed program was:" >&5
28040 sed 's/^/| /' conftest.$ac_ext >&5
28042 eval "$as_ac_var=no"
28044 rm -f conftest.err conftest.$ac_objext \
28045 conftest$ac_exeext conftest.$ac_ext
28047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28048 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28049 if test `eval echo '${'$as_ac_var'}'` = yes; then
28050 cat >>confdefs.h <<_ACEOF
28051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28052 _ACEOF
28054 else
28055 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
28057 done
28061 for ac_func in __signbitf
28063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28064 echo "$as_me:$LINENO: checking for $ac_func" >&5
28065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28066 if eval "test \"\${$as_ac_var+set}\" = set"; then
28067 echo $ECHO_N "(cached) $ECHO_C" >&6
28068 else
28069 if test x$gcc_no_link = xyes; then
28070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28072 { (exit 1); exit 1; }; }
28074 cat >conftest.$ac_ext <<_ACEOF
28075 /* confdefs.h. */
28076 _ACEOF
28077 cat confdefs.h >>conftest.$ac_ext
28078 cat >>conftest.$ac_ext <<_ACEOF
28079 /* end confdefs.h. */
28080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28082 #define $ac_func innocuous_$ac_func
28084 /* System header to define __stub macros and hopefully few prototypes,
28085 which can conflict with char $ac_func (); below.
28086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28087 <limits.h> exists even on freestanding compilers. */
28089 #ifdef __STDC__
28090 # include <limits.h>
28091 #else
28092 # include <assert.h>
28093 #endif
28095 #undef $ac_func
28097 /* Override any gcc2 internal prototype to avoid an error. */
28098 #ifdef __cplusplus
28099 extern "C"
28101 #endif
28102 /* We use char because int might match the return type of a gcc2
28103 builtin and then its argument prototype would still apply. */
28104 char $ac_func ();
28105 /* The GNU C library defines this for functions which it implements
28106 to always fail with ENOSYS. Some functions are actually named
28107 something starting with __ and the normal name is an alias. */
28108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28109 choke me
28110 #else
28111 char (*f) () = $ac_func;
28112 #endif
28113 #ifdef __cplusplus
28115 #endif
28118 main ()
28120 return f != $ac_func;
28122 return 0;
28124 _ACEOF
28125 rm -f conftest.$ac_objext conftest$ac_exeext
28126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28127 (eval $ac_link) 2>conftest.er1
28128 ac_status=$?
28129 grep -v '^ *+' conftest.er1 >conftest.err
28130 rm -f conftest.er1
28131 cat conftest.err >&5
28132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28133 (exit $ac_status); } &&
28134 { ac_try='test -z "$ac_c_werror_flag"
28135 || test ! -s conftest.err'
28136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28137 (eval $ac_try) 2>&5
28138 ac_status=$?
28139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28140 (exit $ac_status); }; } &&
28141 { ac_try='test -s conftest$ac_exeext'
28142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28143 (eval $ac_try) 2>&5
28144 ac_status=$?
28145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28146 (exit $ac_status); }; }; then
28147 eval "$as_ac_var=yes"
28148 else
28149 echo "$as_me: failed program was:" >&5
28150 sed 's/^/| /' conftest.$ac_ext >&5
28152 eval "$as_ac_var=no"
28154 rm -f conftest.err conftest.$ac_objext \
28155 conftest$ac_exeext conftest.$ac_ext
28157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28159 if test `eval echo '${'$as_ac_var'}'` = yes; then
28160 cat >>confdefs.h <<_ACEOF
28161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28162 _ACEOF
28164 else
28165 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
28167 done
28170 if test x$ac_cv_func_copysignl = x"yes"; then
28172 for ac_func in __signbitl
28174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28175 echo "$as_me:$LINENO: checking for $ac_func" >&5
28176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28177 if eval "test \"\${$as_ac_var+set}\" = set"; then
28178 echo $ECHO_N "(cached) $ECHO_C" >&6
28179 else
28180 if test x$gcc_no_link = xyes; then
28181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28183 { (exit 1); exit 1; }; }
28185 cat >conftest.$ac_ext <<_ACEOF
28186 /* confdefs.h. */
28187 _ACEOF
28188 cat confdefs.h >>conftest.$ac_ext
28189 cat >>conftest.$ac_ext <<_ACEOF
28190 /* end confdefs.h. */
28191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28193 #define $ac_func innocuous_$ac_func
28195 /* System header to define __stub macros and hopefully few prototypes,
28196 which can conflict with char $ac_func (); below.
28197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28198 <limits.h> exists even on freestanding compilers. */
28200 #ifdef __STDC__
28201 # include <limits.h>
28202 #else
28203 # include <assert.h>
28204 #endif
28206 #undef $ac_func
28208 /* Override any gcc2 internal prototype to avoid an error. */
28209 #ifdef __cplusplus
28210 extern "C"
28212 #endif
28213 /* We use char because int might match the return type of a gcc2
28214 builtin and then its argument prototype would still apply. */
28215 char $ac_func ();
28216 /* The GNU C library defines this for functions which it implements
28217 to always fail with ENOSYS. Some functions are actually named
28218 something starting with __ and the normal name is an alias. */
28219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28220 choke me
28221 #else
28222 char (*f) () = $ac_func;
28223 #endif
28224 #ifdef __cplusplus
28226 #endif
28229 main ()
28231 return f != $ac_func;
28233 return 0;
28235 _ACEOF
28236 rm -f conftest.$ac_objext conftest$ac_exeext
28237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28238 (eval $ac_link) 2>conftest.er1
28239 ac_status=$?
28240 grep -v '^ *+' conftest.er1 >conftest.err
28241 rm -f conftest.er1
28242 cat conftest.err >&5
28243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28244 (exit $ac_status); } &&
28245 { ac_try='test -z "$ac_c_werror_flag"
28246 || test ! -s conftest.err'
28247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28248 (eval $ac_try) 2>&5
28249 ac_status=$?
28250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28251 (exit $ac_status); }; } &&
28252 { ac_try='test -s conftest$ac_exeext'
28253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28254 (eval $ac_try) 2>&5
28255 ac_status=$?
28256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28257 (exit $ac_status); }; }; then
28258 eval "$as_ac_var=yes"
28259 else
28260 echo "$as_me: failed program was:" >&5
28261 sed 's/^/| /' conftest.$ac_ext >&5
28263 eval "$as_ac_var=no"
28265 rm -f conftest.err conftest.$ac_objext \
28266 conftest$ac_exeext conftest.$ac_ext
28268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28270 if test `eval echo '${'$as_ac_var'}'` = yes; then
28271 cat >>confdefs.h <<_ACEOF
28272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28273 _ACEOF
28275 else
28276 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
28278 done
28282 # Used in libmath/Makefile.am.
28283 if test -n "$LIBMATHOBJS"; then
28284 need_libmath=yes
28290 enable_iconv=no
28291 # Only continue checking if the ISO C99 headers exist and support is on.
28292 if test x"$enable_wchar_t" = xyes; then
28294 # Use iconv for wchar_t to char conversions. As such, check for
28295 # X/Open Portability Guide, version 2 features (XPG2).
28296 if test "${ac_cv_header_iconv_h+set}" = set; then
28297 echo "$as_me:$LINENO: checking for iconv.h" >&5
28298 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28299 if test "${ac_cv_header_iconv_h+set}" = set; then
28300 echo $ECHO_N "(cached) $ECHO_C" >&6
28302 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28303 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28304 else
28305 # Is the header compilable?
28306 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28307 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28308 cat >conftest.$ac_ext <<_ACEOF
28309 /* confdefs.h. */
28310 _ACEOF
28311 cat confdefs.h >>conftest.$ac_ext
28312 cat >>conftest.$ac_ext <<_ACEOF
28313 /* end confdefs.h. */
28314 $ac_includes_default
28315 #include <iconv.h>
28316 _ACEOF
28317 rm -f conftest.$ac_objext
28318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28319 (eval $ac_compile) 2>conftest.er1
28320 ac_status=$?
28321 grep -v '^ *+' conftest.er1 >conftest.err
28322 rm -f conftest.er1
28323 cat conftest.err >&5
28324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28325 (exit $ac_status); } &&
28326 { ac_try='test -z "$ac_c_werror_flag"
28327 || test ! -s conftest.err'
28328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28329 (eval $ac_try) 2>&5
28330 ac_status=$?
28331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28332 (exit $ac_status); }; } &&
28333 { ac_try='test -s conftest.$ac_objext'
28334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28335 (eval $ac_try) 2>&5
28336 ac_status=$?
28337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28338 (exit $ac_status); }; }; then
28339 ac_header_compiler=yes
28340 else
28341 echo "$as_me: failed program was:" >&5
28342 sed 's/^/| /' conftest.$ac_ext >&5
28344 ac_header_compiler=no
28346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28347 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28348 echo "${ECHO_T}$ac_header_compiler" >&6
28350 # Is the header present?
28351 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28352 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28353 cat >conftest.$ac_ext <<_ACEOF
28354 /* confdefs.h. */
28355 _ACEOF
28356 cat confdefs.h >>conftest.$ac_ext
28357 cat >>conftest.$ac_ext <<_ACEOF
28358 /* end confdefs.h. */
28359 #include <iconv.h>
28360 _ACEOF
28361 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28362 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28363 ac_status=$?
28364 grep -v '^ *+' conftest.er1 >conftest.err
28365 rm -f conftest.er1
28366 cat conftest.err >&5
28367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28368 (exit $ac_status); } >/dev/null; then
28369 if test -s conftest.err; then
28370 ac_cpp_err=$ac_c_preproc_warn_flag
28371 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28372 else
28373 ac_cpp_err=
28375 else
28376 ac_cpp_err=yes
28378 if test -z "$ac_cpp_err"; then
28379 ac_header_preproc=yes
28380 else
28381 echo "$as_me: failed program was:" >&5
28382 sed 's/^/| /' conftest.$ac_ext >&5
28384 ac_header_preproc=no
28386 rm -f conftest.err conftest.$ac_ext
28387 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28388 echo "${ECHO_T}$ac_header_preproc" >&6
28390 # So? What about this header?
28391 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28392 yes:no: )
28393 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28394 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28395 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28396 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28397 ac_header_preproc=yes
28399 no:yes:* )
28400 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28401 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28402 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
28403 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
28404 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28405 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28406 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
28407 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
28408 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28409 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28410 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28411 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28413 cat <<\_ASBOX
28414 ## ----------------------------------------- ##
28415 ## Report this to the package-unused lists. ##
28416 ## ----------------------------------------- ##
28417 _ASBOX
28419 sed "s/^/$as_me: WARNING: /" >&2
28421 esac
28422 echo "$as_me:$LINENO: checking for iconv.h" >&5
28423 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28424 if test "${ac_cv_header_iconv_h+set}" = set; then
28425 echo $ECHO_N "(cached) $ECHO_C" >&6
28426 else
28427 ac_cv_header_iconv_h=$ac_header_preproc
28429 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28430 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28433 if test $ac_cv_header_iconv_h = yes; then
28434 ac_has_iconv_h=yes
28435 else
28436 ac_has_iconv_h=no
28440 if test "${ac_cv_header_langinfo_h+set}" = set; then
28441 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28442 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28443 if test "${ac_cv_header_langinfo_h+set}" = set; then
28444 echo $ECHO_N "(cached) $ECHO_C" >&6
28446 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28447 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28448 else
28449 # Is the header compilable?
28450 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28451 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28452 cat >conftest.$ac_ext <<_ACEOF
28453 /* confdefs.h. */
28454 _ACEOF
28455 cat confdefs.h >>conftest.$ac_ext
28456 cat >>conftest.$ac_ext <<_ACEOF
28457 /* end confdefs.h. */
28458 $ac_includes_default
28459 #include <langinfo.h>
28460 _ACEOF
28461 rm -f conftest.$ac_objext
28462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28463 (eval $ac_compile) 2>conftest.er1
28464 ac_status=$?
28465 grep -v '^ *+' conftest.er1 >conftest.err
28466 rm -f conftest.er1
28467 cat conftest.err >&5
28468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28469 (exit $ac_status); } &&
28470 { ac_try='test -z "$ac_c_werror_flag"
28471 || test ! -s conftest.err'
28472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28473 (eval $ac_try) 2>&5
28474 ac_status=$?
28475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28476 (exit $ac_status); }; } &&
28477 { ac_try='test -s conftest.$ac_objext'
28478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28479 (eval $ac_try) 2>&5
28480 ac_status=$?
28481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28482 (exit $ac_status); }; }; then
28483 ac_header_compiler=yes
28484 else
28485 echo "$as_me: failed program was:" >&5
28486 sed 's/^/| /' conftest.$ac_ext >&5
28488 ac_header_compiler=no
28490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28491 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28492 echo "${ECHO_T}$ac_header_compiler" >&6
28494 # Is the header present?
28495 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28496 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28497 cat >conftest.$ac_ext <<_ACEOF
28498 /* confdefs.h. */
28499 _ACEOF
28500 cat confdefs.h >>conftest.$ac_ext
28501 cat >>conftest.$ac_ext <<_ACEOF
28502 /* end confdefs.h. */
28503 #include <langinfo.h>
28504 _ACEOF
28505 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28506 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28507 ac_status=$?
28508 grep -v '^ *+' conftest.er1 >conftest.err
28509 rm -f conftest.er1
28510 cat conftest.err >&5
28511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28512 (exit $ac_status); } >/dev/null; then
28513 if test -s conftest.err; then
28514 ac_cpp_err=$ac_c_preproc_warn_flag
28515 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28516 else
28517 ac_cpp_err=
28519 else
28520 ac_cpp_err=yes
28522 if test -z "$ac_cpp_err"; then
28523 ac_header_preproc=yes
28524 else
28525 echo "$as_me: failed program was:" >&5
28526 sed 's/^/| /' conftest.$ac_ext >&5
28528 ac_header_preproc=no
28530 rm -f conftest.err conftest.$ac_ext
28531 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28532 echo "${ECHO_T}$ac_header_preproc" >&6
28534 # So? What about this header?
28535 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28536 yes:no: )
28537 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28538 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28539 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28540 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28541 ac_header_preproc=yes
28543 no:yes:* )
28544 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28545 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28546 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
28547 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
28548 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28549 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28550 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
28551 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
28552 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28553 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28554 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28555 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28557 cat <<\_ASBOX
28558 ## ----------------------------------------- ##
28559 ## Report this to the package-unused lists. ##
28560 ## ----------------------------------------- ##
28561 _ASBOX
28563 sed "s/^/$as_me: WARNING: /" >&2
28565 esac
28566 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28567 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28568 if test "${ac_cv_header_langinfo_h+set}" = set; then
28569 echo $ECHO_N "(cached) $ECHO_C" >&6
28570 else
28571 ac_cv_header_langinfo_h=$ac_header_preproc
28573 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28574 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28577 if test $ac_cv_header_langinfo_h = yes; then
28578 ac_has_langinfo_h=yes
28579 else
28580 ac_has_langinfo_h=no
28585 # Check for existence of libiconv.a providing XPG2 wchar_t support.
28586 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28587 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28588 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28589 echo $ECHO_N "(cached) $ECHO_C" >&6
28590 else
28591 ac_check_lib_save_LIBS=$LIBS
28592 LIBS="-liconv $LIBS"
28593 if test x$gcc_no_link = xyes; then
28594 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28596 { (exit 1); exit 1; }; }
28598 cat >conftest.$ac_ext <<_ACEOF
28599 /* confdefs.h. */
28600 _ACEOF
28601 cat confdefs.h >>conftest.$ac_ext
28602 cat >>conftest.$ac_ext <<_ACEOF
28603 /* end confdefs.h. */
28605 /* Override any gcc2 internal prototype to avoid an error. */
28606 #ifdef __cplusplus
28607 extern "C"
28608 #endif
28609 /* We use char because int might match the return type of a gcc2
28610 builtin and then its argument prototype would still apply. */
28611 char iconv ();
28613 main ()
28615 iconv ();
28617 return 0;
28619 _ACEOF
28620 rm -f conftest.$ac_objext conftest$ac_exeext
28621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28622 (eval $ac_link) 2>conftest.er1
28623 ac_status=$?
28624 grep -v '^ *+' conftest.er1 >conftest.err
28625 rm -f conftest.er1
28626 cat conftest.err >&5
28627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28628 (exit $ac_status); } &&
28629 { ac_try='test -z "$ac_c_werror_flag"
28630 || test ! -s conftest.err'
28631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28632 (eval $ac_try) 2>&5
28633 ac_status=$?
28634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28635 (exit $ac_status); }; } &&
28636 { ac_try='test -s conftest$ac_exeext'
28637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28638 (eval $ac_try) 2>&5
28639 ac_status=$?
28640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28641 (exit $ac_status); }; }; then
28642 ac_cv_lib_iconv_iconv=yes
28643 else
28644 echo "$as_me: failed program was:" >&5
28645 sed 's/^/| /' conftest.$ac_ext >&5
28647 ac_cv_lib_iconv_iconv=no
28649 rm -f conftest.err conftest.$ac_objext \
28650 conftest$ac_exeext conftest.$ac_ext
28651 LIBS=$ac_check_lib_save_LIBS
28653 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
28654 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
28655 if test $ac_cv_lib_iconv_iconv = yes; then
28656 LIBICONV="-liconv"
28659 ac_save_LIBS="$LIBS"
28660 LIBS="$LIBS $LIBICONV"
28667 for ac_func in iconv_open iconv_close iconv nl_langinfo
28669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28670 echo "$as_me:$LINENO: checking for $ac_func" >&5
28671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28672 if eval "test \"\${$as_ac_var+set}\" = set"; then
28673 echo $ECHO_N "(cached) $ECHO_C" >&6
28674 else
28675 if test x$gcc_no_link = xyes; then
28676 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28678 { (exit 1); exit 1; }; }
28680 cat >conftest.$ac_ext <<_ACEOF
28681 /* confdefs.h. */
28682 _ACEOF
28683 cat confdefs.h >>conftest.$ac_ext
28684 cat >>conftest.$ac_ext <<_ACEOF
28685 /* end confdefs.h. */
28686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28688 #define $ac_func innocuous_$ac_func
28690 /* System header to define __stub macros and hopefully few prototypes,
28691 which can conflict with char $ac_func (); below.
28692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28693 <limits.h> exists even on freestanding compilers. */
28695 #ifdef __STDC__
28696 # include <limits.h>
28697 #else
28698 # include <assert.h>
28699 #endif
28701 #undef $ac_func
28703 /* Override any gcc2 internal prototype to avoid an error. */
28704 #ifdef __cplusplus
28705 extern "C"
28707 #endif
28708 /* We use char because int might match the return type of a gcc2
28709 builtin and then its argument prototype would still apply. */
28710 char $ac_func ();
28711 /* The GNU C library defines this for functions which it implements
28712 to always fail with ENOSYS. Some functions are actually named
28713 something starting with __ and the normal name is an alias. */
28714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28715 choke me
28716 #else
28717 char (*f) () = $ac_func;
28718 #endif
28719 #ifdef __cplusplus
28721 #endif
28724 main ()
28726 return f != $ac_func;
28728 return 0;
28730 _ACEOF
28731 rm -f conftest.$ac_objext conftest$ac_exeext
28732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28733 (eval $ac_link) 2>conftest.er1
28734 ac_status=$?
28735 grep -v '^ *+' conftest.er1 >conftest.err
28736 rm -f conftest.er1
28737 cat conftest.err >&5
28738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28739 (exit $ac_status); } &&
28740 { ac_try='test -z "$ac_c_werror_flag"
28741 || test ! -s conftest.err'
28742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28743 (eval $ac_try) 2>&5
28744 ac_status=$?
28745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28746 (exit $ac_status); }; } &&
28747 { ac_try='test -s conftest$ac_exeext'
28748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28749 (eval $ac_try) 2>&5
28750 ac_status=$?
28751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28752 (exit $ac_status); }; }; then
28753 eval "$as_ac_var=yes"
28754 else
28755 echo "$as_me: failed program was:" >&5
28756 sed 's/^/| /' conftest.$ac_ext >&5
28758 eval "$as_ac_var=no"
28760 rm -f conftest.err conftest.$ac_objext \
28761 conftest$ac_exeext conftest.$ac_ext
28763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28765 if test `eval echo '${'$as_ac_var'}'` = yes; then
28766 cat >>confdefs.h <<_ACEOF
28767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28768 _ACEOF
28769 ac_XPG2funcs=yes
28770 else
28771 ac_XPG2funcs=no
28773 done
28776 LIBS="$ac_save_LIBS"
28778 if test x"$ac_has_iconv_h" = xyes &&
28779 test x"$ac_has_langinfo_h" = xyes &&
28780 test x"$ac_XPG2funcs" = xyes;
28781 then
28783 cat >>confdefs.h <<\_ACEOF
28784 #define _GLIBCXX_USE_ICONV 1
28785 _ACEOF
28787 enable_iconv=yes
28790 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
28791 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
28792 echo "$as_me:$LINENO: result: $enable_iconv" >&5
28793 echo "${ECHO_T}$enable_iconv" >&6
28796 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28797 ac_save_CXXFLAGS="$CXXFLAGS"
28798 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28801 echo "$as_me:$LINENO: checking for strtold declaration" >&5
28802 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
28803 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28804 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
28805 echo $ECHO_N "(cached) $ECHO_C" >&6
28806 else
28810 ac_ext=cc
28811 ac_cpp='$CXXCPP $CPPFLAGS'
28812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28816 cat >conftest.$ac_ext <<_ACEOF
28817 /* confdefs.h. */
28818 _ACEOF
28819 cat confdefs.h >>conftest.$ac_ext
28820 cat >>conftest.$ac_ext <<_ACEOF
28821 /* end confdefs.h. */
28822 #include <stdlib.h>
28824 main ()
28826 strtold(0, 0);
28828 return 0;
28830 _ACEOF
28831 rm -f conftest.$ac_objext
28832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28833 (eval $ac_compile) 2>conftest.er1
28834 ac_status=$?
28835 grep -v '^ *+' conftest.er1 >conftest.err
28836 rm -f conftest.er1
28837 cat conftest.err >&5
28838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28839 (exit $ac_status); } &&
28840 { ac_try='test -z "$ac_cxx_werror_flag"
28841 || test ! -s conftest.err'
28842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28843 (eval $ac_try) 2>&5
28844 ac_status=$?
28845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28846 (exit $ac_status); }; } &&
28847 { ac_try='test -s conftest.$ac_objext'
28848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28849 (eval $ac_try) 2>&5
28850 ac_status=$?
28851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28852 (exit $ac_status); }; }; then
28853 glibcxx_cv_func_strtold_use=yes
28854 else
28855 echo "$as_me: failed program was:" >&5
28856 sed 's/^/| /' conftest.$ac_ext >&5
28858 glibcxx_cv_func_strtold_use=no
28860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28861 ac_ext=c
28862 ac_cpp='$CPP $CPPFLAGS'
28863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28871 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
28872 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
28873 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28875 for ac_func in strtold
28877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28878 echo "$as_me:$LINENO: checking for $ac_func" >&5
28879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28880 if eval "test \"\${$as_ac_var+set}\" = set"; then
28881 echo $ECHO_N "(cached) $ECHO_C" >&6
28882 else
28883 if test x$gcc_no_link = xyes; then
28884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28886 { (exit 1); exit 1; }; }
28888 cat >conftest.$ac_ext <<_ACEOF
28889 /* confdefs.h. */
28890 _ACEOF
28891 cat confdefs.h >>conftest.$ac_ext
28892 cat >>conftest.$ac_ext <<_ACEOF
28893 /* end confdefs.h. */
28894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28896 #define $ac_func innocuous_$ac_func
28898 /* System header to define __stub macros and hopefully few prototypes,
28899 which can conflict with char $ac_func (); below.
28900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28901 <limits.h> exists even on freestanding compilers. */
28903 #ifdef __STDC__
28904 # include <limits.h>
28905 #else
28906 # include <assert.h>
28907 #endif
28909 #undef $ac_func
28911 /* Override any gcc2 internal prototype to avoid an error. */
28912 #ifdef __cplusplus
28913 extern "C"
28915 #endif
28916 /* We use char because int might match the return type of a gcc2
28917 builtin and then its argument prototype would still apply. */
28918 char $ac_func ();
28919 /* The GNU C library defines this for functions which it implements
28920 to always fail with ENOSYS. Some functions are actually named
28921 something starting with __ and the normal name is an alias. */
28922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28923 choke me
28924 #else
28925 char (*f) () = $ac_func;
28926 #endif
28927 #ifdef __cplusplus
28929 #endif
28932 main ()
28934 return f != $ac_func;
28936 return 0;
28938 _ACEOF
28939 rm -f conftest.$ac_objext conftest$ac_exeext
28940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28941 (eval $ac_link) 2>conftest.er1
28942 ac_status=$?
28943 grep -v '^ *+' conftest.er1 >conftest.err
28944 rm -f conftest.er1
28945 cat conftest.err >&5
28946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28947 (exit $ac_status); } &&
28948 { ac_try='test -z "$ac_c_werror_flag"
28949 || test ! -s conftest.err'
28950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28951 (eval $ac_try) 2>&5
28952 ac_status=$?
28953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28954 (exit $ac_status); }; } &&
28955 { ac_try='test -s conftest$ac_exeext'
28956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28957 (eval $ac_try) 2>&5
28958 ac_status=$?
28959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28960 (exit $ac_status); }; }; then
28961 eval "$as_ac_var=yes"
28962 else
28963 echo "$as_me: failed program was:" >&5
28964 sed 's/^/| /' conftest.$ac_ext >&5
28966 eval "$as_ac_var=no"
28968 rm -f conftest.err conftest.$ac_objext \
28969 conftest$ac_exeext conftest.$ac_ext
28971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28973 if test `eval echo '${'$as_ac_var'}'` = yes; then
28974 cat >>confdefs.h <<_ACEOF
28975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28976 _ACEOF
28979 done
28987 echo "$as_me:$LINENO: checking for strtof declaration" >&5
28988 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
28989 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28990 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
28991 echo $ECHO_N "(cached) $ECHO_C" >&6
28992 else
28996 ac_ext=cc
28997 ac_cpp='$CXXCPP $CPPFLAGS'
28998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29002 cat >conftest.$ac_ext <<_ACEOF
29003 /* confdefs.h. */
29004 _ACEOF
29005 cat confdefs.h >>conftest.$ac_ext
29006 cat >>conftest.$ac_ext <<_ACEOF
29007 /* end confdefs.h. */
29008 #include <stdlib.h>
29010 main ()
29012 strtof(0, 0);
29014 return 0;
29016 _ACEOF
29017 rm -f conftest.$ac_objext
29018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29019 (eval $ac_compile) 2>conftest.er1
29020 ac_status=$?
29021 grep -v '^ *+' conftest.er1 >conftest.err
29022 rm -f conftest.er1
29023 cat conftest.err >&5
29024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29025 (exit $ac_status); } &&
29026 { ac_try='test -z "$ac_cxx_werror_flag"
29027 || test ! -s conftest.err'
29028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29029 (eval $ac_try) 2>&5
29030 ac_status=$?
29031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29032 (exit $ac_status); }; } &&
29033 { ac_try='test -s conftest.$ac_objext'
29034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29035 (eval $ac_try) 2>&5
29036 ac_status=$?
29037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29038 (exit $ac_status); }; }; then
29039 glibcxx_cv_func_strtof_use=yes
29040 else
29041 echo "$as_me: failed program was:" >&5
29042 sed 's/^/| /' conftest.$ac_ext >&5
29044 glibcxx_cv_func_strtof_use=no
29046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29047 ac_ext=c
29048 ac_cpp='$CPP $CPPFLAGS'
29049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29057 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29058 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29059 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29061 for ac_func in strtof
29063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29064 echo "$as_me:$LINENO: checking for $ac_func" >&5
29065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29066 if eval "test \"\${$as_ac_var+set}\" = set"; then
29067 echo $ECHO_N "(cached) $ECHO_C" >&6
29068 else
29069 if test x$gcc_no_link = xyes; then
29070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29072 { (exit 1); exit 1; }; }
29074 cat >conftest.$ac_ext <<_ACEOF
29075 /* confdefs.h. */
29076 _ACEOF
29077 cat confdefs.h >>conftest.$ac_ext
29078 cat >>conftest.$ac_ext <<_ACEOF
29079 /* end confdefs.h. */
29080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29082 #define $ac_func innocuous_$ac_func
29084 /* System header to define __stub macros and hopefully few prototypes,
29085 which can conflict with char $ac_func (); below.
29086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29087 <limits.h> exists even on freestanding compilers. */
29089 #ifdef __STDC__
29090 # include <limits.h>
29091 #else
29092 # include <assert.h>
29093 #endif
29095 #undef $ac_func
29097 /* Override any gcc2 internal prototype to avoid an error. */
29098 #ifdef __cplusplus
29099 extern "C"
29101 #endif
29102 /* We use char because int might match the return type of a gcc2
29103 builtin and then its argument prototype would still apply. */
29104 char $ac_func ();
29105 /* The GNU C library defines this for functions which it implements
29106 to always fail with ENOSYS. Some functions are actually named
29107 something starting with __ and the normal name is an alias. */
29108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29109 choke me
29110 #else
29111 char (*f) () = $ac_func;
29112 #endif
29113 #ifdef __cplusplus
29115 #endif
29118 main ()
29120 return f != $ac_func;
29122 return 0;
29124 _ACEOF
29125 rm -f conftest.$ac_objext conftest$ac_exeext
29126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29127 (eval $ac_link) 2>conftest.er1
29128 ac_status=$?
29129 grep -v '^ *+' conftest.er1 >conftest.err
29130 rm -f conftest.er1
29131 cat conftest.err >&5
29132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29133 (exit $ac_status); } &&
29134 { ac_try='test -z "$ac_c_werror_flag"
29135 || test ! -s conftest.err'
29136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29137 (eval $ac_try) 2>&5
29138 ac_status=$?
29139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29140 (exit $ac_status); }; } &&
29141 { ac_try='test -s conftest$ac_exeext'
29142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29143 (eval $ac_try) 2>&5
29144 ac_status=$?
29145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29146 (exit $ac_status); }; }; then
29147 eval "$as_ac_var=yes"
29148 else
29149 echo "$as_me: failed program was:" >&5
29150 sed 's/^/| /' conftest.$ac_ext >&5
29152 eval "$as_ac_var=no"
29154 rm -f conftest.err conftest.$ac_objext \
29155 conftest$ac_exeext conftest.$ac_ext
29157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29159 if test `eval echo '${'$as_ac_var'}'` = yes; then
29160 cat >>confdefs.h <<_ACEOF
29161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29162 _ACEOF
29165 done
29173 CXXFLAGS="$ac_save_CXXFLAGS"
29176 # For showmanyc_helper().
29179 for ac_header in sys/ioctl.h sys/filio.h
29181 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29182 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29183 echo "$as_me:$LINENO: checking for $ac_header" >&5
29184 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29185 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29186 echo $ECHO_N "(cached) $ECHO_C" >&6
29188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29189 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29190 else
29191 # Is the header compilable?
29192 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29193 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29194 cat >conftest.$ac_ext <<_ACEOF
29195 /* confdefs.h. */
29196 _ACEOF
29197 cat confdefs.h >>conftest.$ac_ext
29198 cat >>conftest.$ac_ext <<_ACEOF
29199 /* end confdefs.h. */
29200 $ac_includes_default
29201 #include <$ac_header>
29202 _ACEOF
29203 rm -f conftest.$ac_objext
29204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29205 (eval $ac_compile) 2>conftest.er1
29206 ac_status=$?
29207 grep -v '^ *+' conftest.er1 >conftest.err
29208 rm -f conftest.er1
29209 cat conftest.err >&5
29210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29211 (exit $ac_status); } &&
29212 { ac_try='test -z "$ac_c_werror_flag"
29213 || test ! -s conftest.err'
29214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29215 (eval $ac_try) 2>&5
29216 ac_status=$?
29217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29218 (exit $ac_status); }; } &&
29219 { ac_try='test -s conftest.$ac_objext'
29220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29221 (eval $ac_try) 2>&5
29222 ac_status=$?
29223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29224 (exit $ac_status); }; }; then
29225 ac_header_compiler=yes
29226 else
29227 echo "$as_me: failed program was:" >&5
29228 sed 's/^/| /' conftest.$ac_ext >&5
29230 ac_header_compiler=no
29232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29233 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29234 echo "${ECHO_T}$ac_header_compiler" >&6
29236 # Is the header present?
29237 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29238 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29239 cat >conftest.$ac_ext <<_ACEOF
29240 /* confdefs.h. */
29241 _ACEOF
29242 cat confdefs.h >>conftest.$ac_ext
29243 cat >>conftest.$ac_ext <<_ACEOF
29244 /* end confdefs.h. */
29245 #include <$ac_header>
29246 _ACEOF
29247 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29248 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29249 ac_status=$?
29250 grep -v '^ *+' conftest.er1 >conftest.err
29251 rm -f conftest.er1
29252 cat conftest.err >&5
29253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29254 (exit $ac_status); } >/dev/null; then
29255 if test -s conftest.err; then
29256 ac_cpp_err=$ac_c_preproc_warn_flag
29257 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29258 else
29259 ac_cpp_err=
29261 else
29262 ac_cpp_err=yes
29264 if test -z "$ac_cpp_err"; then
29265 ac_header_preproc=yes
29266 else
29267 echo "$as_me: failed program was:" >&5
29268 sed 's/^/| /' conftest.$ac_ext >&5
29270 ac_header_preproc=no
29272 rm -f conftest.err conftest.$ac_ext
29273 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29274 echo "${ECHO_T}$ac_header_preproc" >&6
29276 # So? What about this header?
29277 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29278 yes:no: )
29279 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29280 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29281 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29282 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29283 ac_header_preproc=yes
29285 no:yes:* )
29286 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29287 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29288 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29289 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29290 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29291 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29292 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29293 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29294 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29295 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29296 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29297 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29299 cat <<\_ASBOX
29300 ## ----------------------------------------- ##
29301 ## Report this to the package-unused lists. ##
29302 ## ----------------------------------------- ##
29303 _ASBOX
29305 sed "s/^/$as_me: WARNING: /" >&2
29307 esac
29308 echo "$as_me:$LINENO: checking for $ac_header" >&5
29309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29311 echo $ECHO_N "(cached) $ECHO_C" >&6
29312 else
29313 eval "$as_ac_Header=\$ac_header_preproc"
29315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29316 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29319 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29320 cat >>confdefs.h <<_ACEOF
29321 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29322 _ACEOF
29326 done
29329 echo "$as_me:$LINENO: checking for poll" >&5
29330 echo $ECHO_N "checking for poll... $ECHO_C" >&6
29331 if test "${glibcxx_cv_POLL+set}" = set; then
29332 echo $ECHO_N "(cached) $ECHO_C" >&6
29333 else
29335 if test x$gcc_no_link = xyes; then
29336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29338 { (exit 1); exit 1; }; }
29340 cat >conftest.$ac_ext <<_ACEOF
29341 /* confdefs.h. */
29342 _ACEOF
29343 cat confdefs.h >>conftest.$ac_ext
29344 cat >>conftest.$ac_ext <<_ACEOF
29345 /* end confdefs.h. */
29346 #include <poll.h>
29348 main ()
29350 struct pollfd pfd[1];
29351 pfd[0].events = POLLIN;
29352 poll(pfd, 1, 0);
29354 return 0;
29356 _ACEOF
29357 rm -f conftest.$ac_objext conftest$ac_exeext
29358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29359 (eval $ac_link) 2>conftest.er1
29360 ac_status=$?
29361 grep -v '^ *+' conftest.er1 >conftest.err
29362 rm -f conftest.er1
29363 cat conftest.err >&5
29364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29365 (exit $ac_status); } &&
29366 { ac_try='test -z "$ac_c_werror_flag"
29367 || test ! -s conftest.err'
29368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29369 (eval $ac_try) 2>&5
29370 ac_status=$?
29371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29372 (exit $ac_status); }; } &&
29373 { ac_try='test -s conftest$ac_exeext'
29374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29375 (eval $ac_try) 2>&5
29376 ac_status=$?
29377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29378 (exit $ac_status); }; }; then
29379 glibcxx_cv_POLL=yes
29380 else
29381 echo "$as_me: failed program was:" >&5
29382 sed 's/^/| /' conftest.$ac_ext >&5
29384 glibcxx_cv_POLL=no
29386 rm -f conftest.err conftest.$ac_objext \
29387 conftest$ac_exeext conftest.$ac_ext
29391 if test $glibcxx_cv_POLL = yes; then
29393 cat >>confdefs.h <<\_ACEOF
29394 #define HAVE_POLL 1
29395 _ACEOF
29398 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
29399 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
29402 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
29403 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
29404 if test "${glibcxx_cv_S_ISREG+set}" = set; then
29405 echo $ECHO_N "(cached) $ECHO_C" >&6
29406 else
29408 if test x$gcc_no_link = xyes; then
29409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29411 { (exit 1); exit 1; }; }
29413 cat >conftest.$ac_ext <<_ACEOF
29414 /* confdefs.h. */
29415 _ACEOF
29416 cat confdefs.h >>conftest.$ac_ext
29417 cat >>conftest.$ac_ext <<_ACEOF
29418 /* end confdefs.h. */
29419 #include <sys/stat.h>
29421 main ()
29423 struct stat buffer;
29424 fstat(0, &buffer);
29425 S_ISREG(buffer.st_mode);
29427 return 0;
29429 _ACEOF
29430 rm -f conftest.$ac_objext conftest$ac_exeext
29431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29432 (eval $ac_link) 2>conftest.er1
29433 ac_status=$?
29434 grep -v '^ *+' conftest.er1 >conftest.err
29435 rm -f conftest.er1
29436 cat conftest.err >&5
29437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29438 (exit $ac_status); } &&
29439 { ac_try='test -z "$ac_c_werror_flag"
29440 || test ! -s conftest.err'
29441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29442 (eval $ac_try) 2>&5
29443 ac_status=$?
29444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29445 (exit $ac_status); }; } &&
29446 { ac_try='test -s conftest$ac_exeext'
29447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29448 (eval $ac_try) 2>&5
29449 ac_status=$?
29450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29451 (exit $ac_status); }; }; then
29452 glibcxx_cv_S_ISREG=yes
29453 else
29454 echo "$as_me: failed program was:" >&5
29455 sed 's/^/| /' conftest.$ac_ext >&5
29457 glibcxx_cv_S_ISREG=no
29459 rm -f conftest.err conftest.$ac_objext \
29460 conftest$ac_exeext conftest.$ac_ext
29464 if test "${glibcxx_cv_S_IFREG+set}" = set; then
29465 echo $ECHO_N "(cached) $ECHO_C" >&6
29466 else
29468 if test x$gcc_no_link = xyes; then
29469 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29471 { (exit 1); exit 1; }; }
29473 cat >conftest.$ac_ext <<_ACEOF
29474 /* confdefs.h. */
29475 _ACEOF
29476 cat confdefs.h >>conftest.$ac_ext
29477 cat >>conftest.$ac_ext <<_ACEOF
29478 /* end confdefs.h. */
29479 #include <sys/stat.h>
29481 main ()
29483 struct stat buffer;
29484 fstat(0, &buffer);
29485 S_IFREG & buffer.st_mode;
29487 return 0;
29489 _ACEOF
29490 rm -f conftest.$ac_objext conftest$ac_exeext
29491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29492 (eval $ac_link) 2>conftest.er1
29493 ac_status=$?
29494 grep -v '^ *+' conftest.er1 >conftest.err
29495 rm -f conftest.er1
29496 cat conftest.err >&5
29497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29498 (exit $ac_status); } &&
29499 { ac_try='test -z "$ac_c_werror_flag"
29500 || test ! -s conftest.err'
29501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29502 (eval $ac_try) 2>&5
29503 ac_status=$?
29504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29505 (exit $ac_status); }; } &&
29506 { ac_try='test -s conftest$ac_exeext'
29507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29508 (eval $ac_try) 2>&5
29509 ac_status=$?
29510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29511 (exit $ac_status); }; }; then
29512 glibcxx_cv_S_IFREG=yes
29513 else
29514 echo "$as_me: failed program was:" >&5
29515 sed 's/^/| /' conftest.$ac_ext >&5
29517 glibcxx_cv_S_IFREG=no
29519 rm -f conftest.err conftest.$ac_objext \
29520 conftest$ac_exeext conftest.$ac_ext
29524 res=no
29525 if test $glibcxx_cv_S_ISREG = yes; then
29527 cat >>confdefs.h <<\_ACEOF
29528 #define HAVE_S_ISREG 1
29529 _ACEOF
29531 res=S_ISREG
29532 elif test $glibcxx_cv_S_IFREG = yes; then
29534 cat >>confdefs.h <<\_ACEOF
29535 #define HAVE_S_IFREG 1
29536 _ACEOF
29538 res=S_IFREG
29540 echo "$as_me:$LINENO: result: $res" >&5
29541 echo "${ECHO_T}$res" >&6
29544 # For xsputn_2().
29546 for ac_header in sys/uio.h
29548 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29549 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29550 echo "$as_me:$LINENO: checking for $ac_header" >&5
29551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29552 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29553 echo $ECHO_N "(cached) $ECHO_C" >&6
29555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29556 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29557 else
29558 # Is the header compilable?
29559 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29560 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29561 cat >conftest.$ac_ext <<_ACEOF
29562 /* confdefs.h. */
29563 _ACEOF
29564 cat confdefs.h >>conftest.$ac_ext
29565 cat >>conftest.$ac_ext <<_ACEOF
29566 /* end confdefs.h. */
29567 $ac_includes_default
29568 #include <$ac_header>
29569 _ACEOF
29570 rm -f conftest.$ac_objext
29571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29572 (eval $ac_compile) 2>conftest.er1
29573 ac_status=$?
29574 grep -v '^ *+' conftest.er1 >conftest.err
29575 rm -f conftest.er1
29576 cat conftest.err >&5
29577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29578 (exit $ac_status); } &&
29579 { ac_try='test -z "$ac_c_werror_flag"
29580 || test ! -s conftest.err'
29581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29582 (eval $ac_try) 2>&5
29583 ac_status=$?
29584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29585 (exit $ac_status); }; } &&
29586 { ac_try='test -s conftest.$ac_objext'
29587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29588 (eval $ac_try) 2>&5
29589 ac_status=$?
29590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29591 (exit $ac_status); }; }; then
29592 ac_header_compiler=yes
29593 else
29594 echo "$as_me: failed program was:" >&5
29595 sed 's/^/| /' conftest.$ac_ext >&5
29597 ac_header_compiler=no
29599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29600 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29601 echo "${ECHO_T}$ac_header_compiler" >&6
29603 # Is the header present?
29604 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29605 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29606 cat >conftest.$ac_ext <<_ACEOF
29607 /* confdefs.h. */
29608 _ACEOF
29609 cat confdefs.h >>conftest.$ac_ext
29610 cat >>conftest.$ac_ext <<_ACEOF
29611 /* end confdefs.h. */
29612 #include <$ac_header>
29613 _ACEOF
29614 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29615 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29616 ac_status=$?
29617 grep -v '^ *+' conftest.er1 >conftest.err
29618 rm -f conftest.er1
29619 cat conftest.err >&5
29620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29621 (exit $ac_status); } >/dev/null; then
29622 if test -s conftest.err; then
29623 ac_cpp_err=$ac_c_preproc_warn_flag
29624 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29625 else
29626 ac_cpp_err=
29628 else
29629 ac_cpp_err=yes
29631 if test -z "$ac_cpp_err"; then
29632 ac_header_preproc=yes
29633 else
29634 echo "$as_me: failed program was:" >&5
29635 sed 's/^/| /' conftest.$ac_ext >&5
29637 ac_header_preproc=no
29639 rm -f conftest.err conftest.$ac_ext
29640 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29641 echo "${ECHO_T}$ac_header_preproc" >&6
29643 # So? What about this header?
29644 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29645 yes:no: )
29646 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29647 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29648 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29649 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29650 ac_header_preproc=yes
29652 no:yes:* )
29653 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29654 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29655 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29656 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29657 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29658 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29659 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29660 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29661 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29662 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29663 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29664 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29666 cat <<\_ASBOX
29667 ## ----------------------------------------- ##
29668 ## Report this to the package-unused lists. ##
29669 ## ----------------------------------------- ##
29670 _ASBOX
29672 sed "s/^/$as_me: WARNING: /" >&2
29674 esac
29675 echo "$as_me:$LINENO: checking for $ac_header" >&5
29676 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29677 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29678 echo $ECHO_N "(cached) $ECHO_C" >&6
29679 else
29680 eval "$as_ac_Header=\$ac_header_preproc"
29682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29683 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29686 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29687 cat >>confdefs.h <<_ACEOF
29688 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29689 _ACEOF
29693 done
29696 echo "$as_me:$LINENO: checking for writev" >&5
29697 echo $ECHO_N "checking for writev... $ECHO_C" >&6
29698 if test "${glibcxx_cv_WRITEV+set}" = set; then
29699 echo $ECHO_N "(cached) $ECHO_C" >&6
29700 else
29702 if test x$gcc_no_link = xyes; then
29703 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29705 { (exit 1); exit 1; }; }
29707 cat >conftest.$ac_ext <<_ACEOF
29708 /* confdefs.h. */
29709 _ACEOF
29710 cat confdefs.h >>conftest.$ac_ext
29711 cat >>conftest.$ac_ext <<_ACEOF
29712 /* end confdefs.h. */
29713 #include <sys/uio.h>
29715 main ()
29717 struct iovec iov[2];
29718 writev(0, iov, 0);
29720 return 0;
29722 _ACEOF
29723 rm -f conftest.$ac_objext conftest$ac_exeext
29724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29725 (eval $ac_link) 2>conftest.er1
29726 ac_status=$?
29727 grep -v '^ *+' conftest.er1 >conftest.err
29728 rm -f conftest.er1
29729 cat conftest.err >&5
29730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29731 (exit $ac_status); } &&
29732 { ac_try='test -z "$ac_c_werror_flag"
29733 || test ! -s conftest.err'
29734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29735 (eval $ac_try) 2>&5
29736 ac_status=$?
29737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29738 (exit $ac_status); }; } &&
29739 { ac_try='test -s conftest$ac_exeext'
29740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29741 (eval $ac_try) 2>&5
29742 ac_status=$?
29743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29744 (exit $ac_status); }; }; then
29745 glibcxx_cv_WRITEV=yes
29746 else
29747 echo "$as_me: failed program was:" >&5
29748 sed 's/^/| /' conftest.$ac_ext >&5
29750 glibcxx_cv_WRITEV=no
29752 rm -f conftest.err conftest.$ac_objext \
29753 conftest$ac_exeext conftest.$ac_ext
29757 if test $glibcxx_cv_WRITEV = yes; then
29759 cat >>confdefs.h <<\_ACEOF
29760 #define HAVE_WRITEV 1
29761 _ACEOF
29764 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
29765 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
29768 # For the __streamoff_base_type typedef.
29770 echo "$as_me:$LINENO: checking for int64_t" >&5
29771 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
29772 if test "${glibcxx_cv_INT64_T+set}" = set; then
29773 echo $ECHO_N "(cached) $ECHO_C" >&6
29774 else
29776 cat >conftest.$ac_ext <<_ACEOF
29777 /* confdefs.h. */
29778 _ACEOF
29779 cat confdefs.h >>conftest.$ac_ext
29780 cat >>conftest.$ac_ext <<_ACEOF
29781 /* end confdefs.h. */
29782 #include <stdint.h>
29784 main ()
29786 int64_t var;
29788 return 0;
29790 _ACEOF
29791 rm -f conftest.$ac_objext
29792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29793 (eval $ac_compile) 2>conftest.er1
29794 ac_status=$?
29795 grep -v '^ *+' conftest.er1 >conftest.err
29796 rm -f conftest.er1
29797 cat conftest.err >&5
29798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29799 (exit $ac_status); } &&
29800 { ac_try='test -z "$ac_c_werror_flag"
29801 || test ! -s conftest.err'
29802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29803 (eval $ac_try) 2>&5
29804 ac_status=$?
29805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29806 (exit $ac_status); }; } &&
29807 { ac_try='test -s conftest.$ac_objext'
29808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29809 (eval $ac_try) 2>&5
29810 ac_status=$?
29811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29812 (exit $ac_status); }; }; then
29813 glibcxx_cv_INT64_T=yes
29814 else
29815 echo "$as_me: failed program was:" >&5
29816 sed 's/^/| /' conftest.$ac_ext >&5
29818 glibcxx_cv_INT64_T=no
29820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29824 if test $glibcxx_cv_INT64_T = yes; then
29826 cat >>confdefs.h <<\_ACEOF
29827 #define HAVE_INT64_T 1
29828 _ACEOF
29831 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
29832 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
29835 # For LFS support.
29839 ac_ext=cc
29840 ac_cpp='$CXXCPP $CPPFLAGS'
29841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29845 ac_save_CXXFLAGS="$CXXFLAGS"
29846 CXXFLAGS="$CXXFLAGS -fno-exceptions"
29847 echo "$as_me:$LINENO: checking for LFS support" >&5
29848 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
29849 if test "${glibcxx_cv_LFS+set}" = set; then
29850 echo $ECHO_N "(cached) $ECHO_C" >&6
29851 else
29853 if test x$gcc_no_link = xyes; then
29854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29856 { (exit 1); exit 1; }; }
29858 cat >conftest.$ac_ext <<_ACEOF
29859 /* confdefs.h. */
29860 _ACEOF
29861 cat confdefs.h >>conftest.$ac_ext
29862 cat >>conftest.$ac_ext <<_ACEOF
29863 /* end confdefs.h. */
29864 #include <unistd.h>
29865 #include <stdio.h>
29866 #include <sys/stat.h>
29869 main ()
29871 FILE* fp;
29872 fopen64("t", "w");
29873 fseeko64(fp, 0, SEEK_CUR);
29874 ftello64(fp);
29875 lseek64(1, 0, SEEK_CUR);
29876 struct stat64 buf;
29877 fstat64(1, &buf);
29879 return 0;
29881 _ACEOF
29882 rm -f conftest.$ac_objext conftest$ac_exeext
29883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29884 (eval $ac_link) 2>conftest.er1
29885 ac_status=$?
29886 grep -v '^ *+' conftest.er1 >conftest.err
29887 rm -f conftest.er1
29888 cat conftest.err >&5
29889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29890 (exit $ac_status); } &&
29891 { ac_try='test -z "$ac_cxx_werror_flag"
29892 || test ! -s conftest.err'
29893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29894 (eval $ac_try) 2>&5
29895 ac_status=$?
29896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29897 (exit $ac_status); }; } &&
29898 { ac_try='test -s conftest$ac_exeext'
29899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29900 (eval $ac_try) 2>&5
29901 ac_status=$?
29902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29903 (exit $ac_status); }; }; then
29904 glibcxx_cv_LFS=yes
29905 else
29906 echo "$as_me: failed program was:" >&5
29907 sed 's/^/| /' conftest.$ac_ext >&5
29909 glibcxx_cv_LFS=no
29911 rm -f conftest.err conftest.$ac_objext \
29912 conftest$ac_exeext conftest.$ac_ext
29916 if test $glibcxx_cv_LFS = yes; then
29918 cat >>confdefs.h <<\_ACEOF
29919 #define _GLIBCXX_USE_LFS 1
29920 _ACEOF
29923 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
29924 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
29925 CXXFLAGS="$ac_save_CXXFLAGS"
29926 ac_ext=c
29927 ac_cpp='$CPP $CPPFLAGS'
29928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29934 # For TLS support.
29936 # Check whether --enable-tls or --disable-tls was given.
29937 if test "${enable_tls+set}" = set; then
29938 enableval="$enable_tls"
29940 case "$enableval" in
29941 yes|no) ;;
29942 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
29943 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
29944 { (exit 1); exit 1; }; } ;;
29945 esac
29947 else
29948 enable_tls=yes
29951 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
29952 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
29953 if test "${have_tls+set}" = set; then
29954 echo $ECHO_N "(cached) $ECHO_C" >&6
29955 else
29957 if test "$cross_compiling" = yes; then
29958 cat >conftest.$ac_ext <<_ACEOF
29959 __thread int foo;
29960 _ACEOF
29961 rm -f conftest.$ac_objext
29962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29963 (eval $ac_compile) 2>conftest.er1
29964 ac_status=$?
29965 grep -v '^ *+' conftest.er1 >conftest.err
29966 rm -f conftest.er1
29967 cat conftest.err >&5
29968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29969 (exit $ac_status); } &&
29970 { ac_try='test -z "$ac_c_werror_flag"
29971 || test ! -s conftest.err'
29972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29973 (eval $ac_try) 2>&5
29974 ac_status=$?
29975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29976 (exit $ac_status); }; } &&
29977 { ac_try='test -s conftest.$ac_objext'
29978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29979 (eval $ac_try) 2>&5
29980 ac_status=$?
29981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29982 (exit $ac_status); }; }; then
29983 have_tls=yes
29984 else
29985 echo "$as_me: failed program was:" >&5
29986 sed 's/^/| /' conftest.$ac_ext >&5
29988 have_tls=no
29990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29992 else
29993 cat >conftest.$ac_ext <<_ACEOF
29994 __thread int a; int b; int main() { return a = b; }
29995 _ACEOF
29996 rm -f conftest$ac_exeext
29997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29998 (eval $ac_link) 2>&5
29999 ac_status=$?
30000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30001 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30003 (eval $ac_try) 2>&5
30004 ac_status=$?
30005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30006 (exit $ac_status); }; }; then
30007 save_LDFLAGS="$LDFLAGS"
30008 LDFLAGS="-static $LDFLAGS"
30009 if test "$cross_compiling" = yes; then
30010 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
30011 See \`config.log' for more details." >&5
30012 echo "$as_me: error: cannot run test program while cross compiling
30013 See \`config.log' for more details." >&2;}
30014 { (exit 1); exit 1; }; }
30015 else
30016 cat >conftest.$ac_ext <<_ACEOF
30017 __thread int a; int b; int main() { return a = b; }
30018 _ACEOF
30019 rm -f conftest$ac_exeext
30020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30021 (eval $ac_link) 2>&5
30022 ac_status=$?
30023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30024 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30026 (eval $ac_try) 2>&5
30027 ac_status=$?
30028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30029 (exit $ac_status); }; }; then
30030 have_tls=yes
30031 else
30032 echo "$as_me: program exited with status $ac_status" >&5
30033 echo "$as_me: failed program was:" >&5
30034 sed 's/^/| /' conftest.$ac_ext >&5
30036 ( exit $ac_status )
30037 have_tls=no
30039 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30041 LDFLAGS="$save_LDFLAGS"
30042 else
30043 echo "$as_me: program exited with status $ac_status" >&5
30044 echo "$as_me: failed program was:" >&5
30045 sed 's/^/| /' conftest.$ac_ext >&5
30047 ( exit $ac_status )
30048 have_tls=no
30050 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30053 echo "$as_me:$LINENO: result: $have_tls" >&5
30054 echo "${ECHO_T}$have_tls" >&6
30055 if test "$enable_tls $have_tls" = "yes yes"; then
30057 cat >>confdefs.h <<\_ACEOF
30058 #define HAVE_TLS 1
30059 _ACEOF
30064 if test "${ac_cv_header_locale_h+set}" = set; then
30065 echo "$as_me:$LINENO: checking for locale.h" >&5
30066 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30067 if test "${ac_cv_header_locale_h+set}" = set; then
30068 echo $ECHO_N "(cached) $ECHO_C" >&6
30070 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30071 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30072 else
30073 # Is the header compilable?
30074 echo "$as_me:$LINENO: checking locale.h usability" >&5
30075 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
30076 cat >conftest.$ac_ext <<_ACEOF
30077 /* confdefs.h. */
30078 _ACEOF
30079 cat confdefs.h >>conftest.$ac_ext
30080 cat >>conftest.$ac_ext <<_ACEOF
30081 /* end confdefs.h. */
30082 $ac_includes_default
30083 #include <locale.h>
30084 _ACEOF
30085 rm -f conftest.$ac_objext
30086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30087 (eval $ac_compile) 2>conftest.er1
30088 ac_status=$?
30089 grep -v '^ *+' conftest.er1 >conftest.err
30090 rm -f conftest.er1
30091 cat conftest.err >&5
30092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30093 (exit $ac_status); } &&
30094 { ac_try='test -z "$ac_c_werror_flag"
30095 || test ! -s conftest.err'
30096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30097 (eval $ac_try) 2>&5
30098 ac_status=$?
30099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30100 (exit $ac_status); }; } &&
30101 { ac_try='test -s conftest.$ac_objext'
30102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30103 (eval $ac_try) 2>&5
30104 ac_status=$?
30105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30106 (exit $ac_status); }; }; then
30107 ac_header_compiler=yes
30108 else
30109 echo "$as_me: failed program was:" >&5
30110 sed 's/^/| /' conftest.$ac_ext >&5
30112 ac_header_compiler=no
30114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30115 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30116 echo "${ECHO_T}$ac_header_compiler" >&6
30118 # Is the header present?
30119 echo "$as_me:$LINENO: checking locale.h presence" >&5
30120 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
30121 cat >conftest.$ac_ext <<_ACEOF
30122 /* confdefs.h. */
30123 _ACEOF
30124 cat confdefs.h >>conftest.$ac_ext
30125 cat >>conftest.$ac_ext <<_ACEOF
30126 /* end confdefs.h. */
30127 #include <locale.h>
30128 _ACEOF
30129 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30130 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30131 ac_status=$?
30132 grep -v '^ *+' conftest.er1 >conftest.err
30133 rm -f conftest.er1
30134 cat conftest.err >&5
30135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30136 (exit $ac_status); } >/dev/null; then
30137 if test -s conftest.err; then
30138 ac_cpp_err=$ac_c_preproc_warn_flag
30139 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30140 else
30141 ac_cpp_err=
30143 else
30144 ac_cpp_err=yes
30146 if test -z "$ac_cpp_err"; then
30147 ac_header_preproc=yes
30148 else
30149 echo "$as_me: failed program was:" >&5
30150 sed 's/^/| /' conftest.$ac_ext >&5
30152 ac_header_preproc=no
30154 rm -f conftest.err conftest.$ac_ext
30155 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30156 echo "${ECHO_T}$ac_header_preproc" >&6
30158 # So? What about this header?
30159 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30160 yes:no: )
30161 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
30162 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30163 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
30164 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
30165 ac_header_preproc=yes
30167 no:yes:* )
30168 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
30169 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
30170 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
30171 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
30172 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
30173 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
30174 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
30175 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
30176 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
30177 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
30178 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
30179 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
30181 cat <<\_ASBOX
30182 ## ----------------------------------------- ##
30183 ## Report this to the package-unused lists. ##
30184 ## ----------------------------------------- ##
30185 _ASBOX
30187 sed "s/^/$as_me: WARNING: /" >&2
30189 esac
30190 echo "$as_me:$LINENO: checking for locale.h" >&5
30191 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30192 if test "${ac_cv_header_locale_h+set}" = set; then
30193 echo $ECHO_N "(cached) $ECHO_C" >&6
30194 else
30195 ac_cv_header_locale_h=$ac_header_preproc
30197 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30198 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30201 if test $ac_cv_header_locale_h = yes; then
30203 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
30204 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
30205 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
30206 echo $ECHO_N "(cached) $ECHO_C" >&6
30207 else
30208 if test x$gcc_no_link = xyes; then
30209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30211 { (exit 1); exit 1; }; }
30213 cat >conftest.$ac_ext <<_ACEOF
30214 /* confdefs.h. */
30215 _ACEOF
30216 cat confdefs.h >>conftest.$ac_ext
30217 cat >>conftest.$ac_ext <<_ACEOF
30218 /* end confdefs.h. */
30219 #include <locale.h>
30221 main ()
30223 return LC_MESSAGES
30225 return 0;
30227 _ACEOF
30228 rm -f conftest.$ac_objext conftest$ac_exeext
30229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30230 (eval $ac_link) 2>conftest.er1
30231 ac_status=$?
30232 grep -v '^ *+' conftest.er1 >conftest.err
30233 rm -f conftest.er1
30234 cat conftest.err >&5
30235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30236 (exit $ac_status); } &&
30237 { ac_try='test -z "$ac_c_werror_flag"
30238 || test ! -s conftest.err'
30239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30240 (eval $ac_try) 2>&5
30241 ac_status=$?
30242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30243 (exit $ac_status); }; } &&
30244 { ac_try='test -s conftest$ac_exeext'
30245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30246 (eval $ac_try) 2>&5
30247 ac_status=$?
30248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30249 (exit $ac_status); }; }; then
30250 ac_cv_val_LC_MESSAGES=yes
30251 else
30252 echo "$as_me: failed program was:" >&5
30253 sed 's/^/| /' conftest.$ac_ext >&5
30255 ac_cv_val_LC_MESSAGES=no
30257 rm -f conftest.err conftest.$ac_objext \
30258 conftest$ac_exeext conftest.$ac_ext
30260 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
30261 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
30262 if test $ac_cv_val_LC_MESSAGES = yes; then
30264 cat >>confdefs.h <<\_ACEOF
30265 #define HAVE_LC_MESSAGES 1
30266 _ACEOF
30275 cat >conftest.$ac_ext <<_ACEOF
30276 /* confdefs.h. */
30277 _ACEOF
30278 cat confdefs.h >>conftest.$ac_ext
30279 cat >>conftest.$ac_ext <<_ACEOF
30280 /* end confdefs.h. */
30281 #include <setjmp.h>
30283 main ()
30285 sigjmp_buf env;
30286 while (! sigsetjmp (env, 1))
30287 siglongjmp (env, 1);
30290 return 0;
30292 _ACEOF
30293 rm -f conftest.$ac_objext
30294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30295 (eval $ac_compile) 2>conftest.er1
30296 ac_status=$?
30297 grep -v '^ *+' conftest.er1 >conftest.err
30298 rm -f conftest.er1
30299 cat conftest.err >&5
30300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30301 (exit $ac_status); } &&
30302 { ac_try='test -z "$ac_c_werror_flag"
30303 || test ! -s conftest.err'
30304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30305 (eval $ac_try) 2>&5
30306 ac_status=$?
30307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30308 (exit $ac_status); }; } &&
30309 { ac_try='test -s conftest.$ac_objext'
30310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30311 (eval $ac_try) 2>&5
30312 ac_status=$?
30313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30314 (exit $ac_status); }; }; then
30316 cat >>confdefs.h <<\_ACEOF
30317 #define HAVE_SIGSETJMP 1
30318 _ACEOF
30320 else
30321 echo "$as_me: failed program was:" >&5
30322 sed 's/^/| /' conftest.$ac_ext >&5
30325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30327 if test x$gcc_no_link = xyes; then
30328 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30329 ac_cv_func_mmap_fixed_mapped=no
30332 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
30335 for ac_header in stdlib.h unistd.h
30337 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30338 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30339 echo "$as_me:$LINENO: checking for $ac_header" >&5
30340 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30341 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30342 echo $ECHO_N "(cached) $ECHO_C" >&6
30344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30345 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30346 else
30347 # Is the header compilable?
30348 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30349 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30350 cat >conftest.$ac_ext <<_ACEOF
30351 /* confdefs.h. */
30352 _ACEOF
30353 cat confdefs.h >>conftest.$ac_ext
30354 cat >>conftest.$ac_ext <<_ACEOF
30355 /* end confdefs.h. */
30356 $ac_includes_default
30357 #include <$ac_header>
30358 _ACEOF
30359 rm -f conftest.$ac_objext
30360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30361 (eval $ac_compile) 2>conftest.er1
30362 ac_status=$?
30363 grep -v '^ *+' conftest.er1 >conftest.err
30364 rm -f conftest.er1
30365 cat conftest.err >&5
30366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30367 (exit $ac_status); } &&
30368 { ac_try='test -z "$ac_c_werror_flag"
30369 || test ! -s conftest.err'
30370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30371 (eval $ac_try) 2>&5
30372 ac_status=$?
30373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30374 (exit $ac_status); }; } &&
30375 { ac_try='test -s conftest.$ac_objext'
30376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30377 (eval $ac_try) 2>&5
30378 ac_status=$?
30379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30380 (exit $ac_status); }; }; then
30381 ac_header_compiler=yes
30382 else
30383 echo "$as_me: failed program was:" >&5
30384 sed 's/^/| /' conftest.$ac_ext >&5
30386 ac_header_compiler=no
30388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30389 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30390 echo "${ECHO_T}$ac_header_compiler" >&6
30392 # Is the header present?
30393 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30394 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30395 cat >conftest.$ac_ext <<_ACEOF
30396 /* confdefs.h. */
30397 _ACEOF
30398 cat confdefs.h >>conftest.$ac_ext
30399 cat >>conftest.$ac_ext <<_ACEOF
30400 /* end confdefs.h. */
30401 #include <$ac_header>
30402 _ACEOF
30403 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30404 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30405 ac_status=$?
30406 grep -v '^ *+' conftest.er1 >conftest.err
30407 rm -f conftest.er1
30408 cat conftest.err >&5
30409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30410 (exit $ac_status); } >/dev/null; then
30411 if test -s conftest.err; then
30412 ac_cpp_err=$ac_c_preproc_warn_flag
30413 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30414 else
30415 ac_cpp_err=
30417 else
30418 ac_cpp_err=yes
30420 if test -z "$ac_cpp_err"; then
30421 ac_header_preproc=yes
30422 else
30423 echo "$as_me: failed program was:" >&5
30424 sed 's/^/| /' conftest.$ac_ext >&5
30426 ac_header_preproc=no
30428 rm -f conftest.err conftest.$ac_ext
30429 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30430 echo "${ECHO_T}$ac_header_preproc" >&6
30432 # So? What about this header?
30433 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30434 yes:no: )
30435 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30436 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30437 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30438 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30439 ac_header_preproc=yes
30441 no:yes:* )
30442 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30443 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30444 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30445 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30446 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30447 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30448 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30449 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30450 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30451 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30452 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30453 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30455 cat <<\_ASBOX
30456 ## ----------------------------------------- ##
30457 ## Report this to the package-unused lists. ##
30458 ## ----------------------------------------- ##
30459 _ASBOX
30461 sed "s/^/$as_me: WARNING: /" >&2
30463 esac
30464 echo "$as_me:$LINENO: checking for $ac_header" >&5
30465 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30466 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30467 echo $ECHO_N "(cached) $ECHO_C" >&6
30468 else
30469 eval "$as_ac_Header=\$ac_header_preproc"
30471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30472 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30475 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30476 cat >>confdefs.h <<_ACEOF
30477 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30478 _ACEOF
30482 done
30485 for ac_func in getpagesize
30487 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30488 echo "$as_me:$LINENO: checking for $ac_func" >&5
30489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30490 if eval "test \"\${$as_ac_var+set}\" = set"; then
30491 echo $ECHO_N "(cached) $ECHO_C" >&6
30492 else
30493 if test x$gcc_no_link = xyes; then
30494 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30496 { (exit 1); exit 1; }; }
30498 cat >conftest.$ac_ext <<_ACEOF
30499 /* confdefs.h. */
30500 _ACEOF
30501 cat confdefs.h >>conftest.$ac_ext
30502 cat >>conftest.$ac_ext <<_ACEOF
30503 /* end confdefs.h. */
30504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30506 #define $ac_func innocuous_$ac_func
30508 /* System header to define __stub macros and hopefully few prototypes,
30509 which can conflict with char $ac_func (); below.
30510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30511 <limits.h> exists even on freestanding compilers. */
30513 #ifdef __STDC__
30514 # include <limits.h>
30515 #else
30516 # include <assert.h>
30517 #endif
30519 #undef $ac_func
30521 /* Override any gcc2 internal prototype to avoid an error. */
30522 #ifdef __cplusplus
30523 extern "C"
30525 #endif
30526 /* We use char because int might match the return type of a gcc2
30527 builtin and then its argument prototype would still apply. */
30528 char $ac_func ();
30529 /* The GNU C library defines this for functions which it implements
30530 to always fail with ENOSYS. Some functions are actually named
30531 something starting with __ and the normal name is an alias. */
30532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30533 choke me
30534 #else
30535 char (*f) () = $ac_func;
30536 #endif
30537 #ifdef __cplusplus
30539 #endif
30542 main ()
30544 return f != $ac_func;
30546 return 0;
30548 _ACEOF
30549 rm -f conftest.$ac_objext conftest$ac_exeext
30550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30551 (eval $ac_link) 2>conftest.er1
30552 ac_status=$?
30553 grep -v '^ *+' conftest.er1 >conftest.err
30554 rm -f conftest.er1
30555 cat conftest.err >&5
30556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30557 (exit $ac_status); } &&
30558 { ac_try='test -z "$ac_c_werror_flag"
30559 || test ! -s conftest.err'
30560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30561 (eval $ac_try) 2>&5
30562 ac_status=$?
30563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30564 (exit $ac_status); }; } &&
30565 { ac_try='test -s conftest$ac_exeext'
30566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30567 (eval $ac_try) 2>&5
30568 ac_status=$?
30569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30570 (exit $ac_status); }; }; then
30571 eval "$as_ac_var=yes"
30572 else
30573 echo "$as_me: failed program was:" >&5
30574 sed 's/^/| /' conftest.$ac_ext >&5
30576 eval "$as_ac_var=no"
30578 rm -f conftest.err conftest.$ac_objext \
30579 conftest$ac_exeext conftest.$ac_ext
30581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30582 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30583 if test `eval echo '${'$as_ac_var'}'` = yes; then
30584 cat >>confdefs.h <<_ACEOF
30585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30586 _ACEOF
30589 done
30591 echo "$as_me:$LINENO: checking for working mmap" >&5
30592 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
30593 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
30594 echo $ECHO_N "(cached) $ECHO_C" >&6
30595 else
30596 if test "$cross_compiling" = yes; then
30597 ac_cv_func_mmap_fixed_mapped=no
30598 else
30599 cat >conftest.$ac_ext <<_ACEOF
30600 /* confdefs.h. */
30601 _ACEOF
30602 cat confdefs.h >>conftest.$ac_ext
30603 cat >>conftest.$ac_ext <<_ACEOF
30604 /* end confdefs.h. */
30605 $ac_includes_default
30606 /* malloc might have been renamed as rpl_malloc. */
30607 #undef malloc
30609 /* Thanks to Mike Haertel and Jim Avera for this test.
30610 Here is a matrix of mmap possibilities:
30611 mmap private not fixed
30612 mmap private fixed at somewhere currently unmapped
30613 mmap private fixed at somewhere already mapped
30614 mmap shared not fixed
30615 mmap shared fixed at somewhere currently unmapped
30616 mmap shared fixed at somewhere already mapped
30617 For private mappings, we should verify that changes cannot be read()
30618 back from the file, nor mmap's back from the file at a different
30619 address. (There have been systems where private was not correctly
30620 implemented like the infamous i386 svr4.0, and systems where the
30621 VM page cache was not coherent with the file system buffer cache
30622 like early versions of FreeBSD and possibly contemporary NetBSD.)
30623 For shared mappings, we should conversely verify that changes get
30624 propagated back to all the places they're supposed to be.
30626 Grep wants private fixed already mapped.
30627 The main things grep needs to know about mmap are:
30628 * does it exist and is it safe to write into the mmap'd area
30629 * how to use it (BSD variants) */
30631 #include <fcntl.h>
30632 #include <sys/mman.h>
30634 #if !STDC_HEADERS && !HAVE_STDLIB_H
30635 char *malloc ();
30636 #endif
30638 /* This mess was copied from the GNU getpagesize.h. */
30639 #if !HAVE_GETPAGESIZE
30640 /* Assume that all systems that can run configure have sys/param.h. */
30641 # if !HAVE_SYS_PARAM_H
30642 # define HAVE_SYS_PARAM_H 1
30643 # endif
30645 # ifdef _SC_PAGESIZE
30646 # define getpagesize() sysconf(_SC_PAGESIZE)
30647 # else /* no _SC_PAGESIZE */
30648 # if HAVE_SYS_PARAM_H
30649 # include <sys/param.h>
30650 # ifdef EXEC_PAGESIZE
30651 # define getpagesize() EXEC_PAGESIZE
30652 # else /* no EXEC_PAGESIZE */
30653 # ifdef NBPG
30654 # define getpagesize() NBPG * CLSIZE
30655 # ifndef CLSIZE
30656 # define CLSIZE 1
30657 # endif /* no CLSIZE */
30658 # else /* no NBPG */
30659 # ifdef NBPC
30660 # define getpagesize() NBPC
30661 # else /* no NBPC */
30662 # ifdef PAGESIZE
30663 # define getpagesize() PAGESIZE
30664 # endif /* PAGESIZE */
30665 # endif /* no NBPC */
30666 # endif /* no NBPG */
30667 # endif /* no EXEC_PAGESIZE */
30668 # else /* no HAVE_SYS_PARAM_H */
30669 # define getpagesize() 8192 /* punt totally */
30670 # endif /* no HAVE_SYS_PARAM_H */
30671 # endif /* no _SC_PAGESIZE */
30673 #endif /* no HAVE_GETPAGESIZE */
30676 main ()
30678 char *data, *data2, *data3;
30679 int i, pagesize;
30680 int fd;
30682 pagesize = getpagesize ();
30684 /* First, make a file with some known garbage in it. */
30685 data = (char *) malloc (pagesize);
30686 if (!data)
30687 exit (1);
30688 for (i = 0; i < pagesize; ++i)
30689 *(data + i) = rand ();
30690 umask (0);
30691 fd = creat ("conftest.mmap", 0600);
30692 if (fd < 0)
30693 exit (1);
30694 if (write (fd, data, pagesize) != pagesize)
30695 exit (1);
30696 close (fd);
30698 /* Next, try to mmap the file at a fixed address which already has
30699 something else allocated at it. If we can, also make sure that
30700 we see the same garbage. */
30701 fd = open ("conftest.mmap", O_RDWR);
30702 if (fd < 0)
30703 exit (1);
30704 data2 = (char *) malloc (2 * pagesize);
30705 if (!data2)
30706 exit (1);
30707 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
30708 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
30709 MAP_PRIVATE | MAP_FIXED, fd, 0L))
30710 exit (1);
30711 for (i = 0; i < pagesize; ++i)
30712 if (*(data + i) != *(data2 + i))
30713 exit (1);
30715 /* Finally, make sure that changes to the mapped area do not
30716 percolate back to the file as seen by read(). (This is a bug on
30717 some variants of i386 svr4.0.) */
30718 for (i = 0; i < pagesize; ++i)
30719 *(data2 + i) = *(data2 + i) + 1;
30720 data3 = (char *) malloc (pagesize);
30721 if (!data3)
30722 exit (1);
30723 if (read (fd, data3, pagesize) != pagesize)
30724 exit (1);
30725 for (i = 0; i < pagesize; ++i)
30726 if (*(data + i) != *(data3 + i))
30727 exit (1);
30728 close (fd);
30729 exit (0);
30731 _ACEOF
30732 rm -f conftest$ac_exeext
30733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30734 (eval $ac_link) 2>&5
30735 ac_status=$?
30736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30737 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30739 (eval $ac_try) 2>&5
30740 ac_status=$?
30741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30742 (exit $ac_status); }; }; then
30743 ac_cv_func_mmap_fixed_mapped=yes
30744 else
30745 echo "$as_me: program exited with status $ac_status" >&5
30746 echo "$as_me: failed program was:" >&5
30747 sed 's/^/| /' conftest.$ac_ext >&5
30749 ( exit $ac_status )
30750 ac_cv_func_mmap_fixed_mapped=no
30752 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30755 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
30756 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
30757 if test $ac_cv_func_mmap_fixed_mapped = yes; then
30759 cat >>confdefs.h <<\_ACEOF
30760 #define HAVE_MMAP 1
30761 _ACEOF
30764 rm -f conftest.mmap
30768 else
30770 # This lets us hard-code the functionality we know we'll have in the cross
30771 # target environment. "Let" is a sugar-coated word placed on an especially
30772 # dull and tedious hack, actually.
30774 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
30775 # that involve linking, can't be used:
30776 # "cannot open sim-crt0.o"
30777 # "cannot open crt0.o"
30778 # etc. All this is because there currently exists no unified, consistent
30779 # way for top level CC information to be passed down to target directories:
30780 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
30781 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
30782 # crosses can be removed.
30784 # If Canadian cross, then don't pick up tools from the build directory.
30785 # Used only in GLIBCXX_EXPORT_INCLUDES.
30786 if test -n "$with_cross_host" &&
30787 test x"$build_alias" != x"$with_cross_host" &&
30788 test x"$build" != x"$target";
30789 then
30790 CANADIAN=yes
30791 else
30792 CANADIAN=no
30795 # Construct crosses by hand, eliminating bits that need ld...
30796 # GLIBCXX_CHECK_COMPILER_FEATURES
30797 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
30798 # GLIBCXX_CHECK_MATH_SUPPORT
30800 # First, test for "known" system libraries. We may be using newlib even
30801 # on a hosted environment.
30802 if test "x${with_newlib}" = "xyes"; then
30803 os_include_dir="os/newlib"
30804 cat >>confdefs.h <<\_ACEOF
30805 #define HAVE_HYPOT 1
30806 _ACEOF
30809 # GLIBCXX_CHECK_STDLIB_SUPPORT
30810 cat >>confdefs.h <<\_ACEOF
30811 #define HAVE_STRTOF 1
30812 _ACEOF
30814 # AC_FUNC_MMAP
30815 cat >>confdefs.h <<\_ACEOF
30816 #define HAVE_MMAP 1
30817 _ACEOF
30820 cat >>confdefs.h <<\_ACEOF
30821 #define HAVE_ACOSF 1
30822 _ACEOF
30824 cat >>confdefs.h <<\_ACEOF
30825 #define HAVE_ASINF 1
30826 _ACEOF
30828 cat >>confdefs.h <<\_ACEOF
30829 #define HAVE_ATAN2F 1
30830 _ACEOF
30832 cat >>confdefs.h <<\_ACEOF
30833 #define HAVE_ATANF 1
30834 _ACEOF
30836 cat >>confdefs.h <<\_ACEOF
30837 #define HAVE_CEILF 1
30838 _ACEOF
30840 cat >>confdefs.h <<\_ACEOF
30841 #define HAVE_COPYSIGN 1
30842 _ACEOF
30844 cat >>confdefs.h <<\_ACEOF
30845 #define HAVE_COPYSIGNF 1
30846 _ACEOF
30848 cat >>confdefs.h <<\_ACEOF
30849 #define HAVE_COSF 1
30850 _ACEOF
30852 cat >>confdefs.h <<\_ACEOF
30853 #define HAVE_COSHF 1
30854 _ACEOF
30856 cat >>confdefs.h <<\_ACEOF
30857 #define HAVE_EXPF 1
30858 _ACEOF
30860 cat >>confdefs.h <<\_ACEOF
30861 #define HAVE_FABSF 1
30862 _ACEOF
30864 cat >>confdefs.h <<\_ACEOF
30865 #define HAVE_FLOORF 1
30866 _ACEOF
30868 cat >>confdefs.h <<\_ACEOF
30869 #define HAVE_FMODF 1
30870 _ACEOF
30872 cat >>confdefs.h <<\_ACEOF
30873 #define HAVE_FREXPF 1
30874 _ACEOF
30876 cat >>confdefs.h <<\_ACEOF
30877 #define HAVE_LDEXPF 1
30878 _ACEOF
30880 cat >>confdefs.h <<\_ACEOF
30881 #define HAVE_LOG10F 1
30882 _ACEOF
30884 cat >>confdefs.h <<\_ACEOF
30885 #define HAVE_LOGF 1
30886 _ACEOF
30888 cat >>confdefs.h <<\_ACEOF
30889 #define HAVE_MODFF 1
30890 _ACEOF
30892 cat >>confdefs.h <<\_ACEOF
30893 #define HAVE_POWF 1
30894 _ACEOF
30896 cat >>confdefs.h <<\_ACEOF
30897 #define HAVE_SINF 1
30898 _ACEOF
30900 cat >>confdefs.h <<\_ACEOF
30901 #define HAVE_SINHF 1
30902 _ACEOF
30904 cat >>confdefs.h <<\_ACEOF
30905 #define HAVE_SQRTF 1
30906 _ACEOF
30908 cat >>confdefs.h <<\_ACEOF
30909 #define HAVE_TANF 1
30910 _ACEOF
30912 cat >>confdefs.h <<\_ACEOF
30913 #define HAVE_TANHF 1
30914 _ACEOF
30917 cat >>confdefs.h <<\_ACEOF
30918 #define HAVE_S_ISREG 1
30919 _ACEOF
30921 cat >>confdefs.h <<\_ACEOF
30922 #define HAVE_S_IFREG 1
30923 _ACEOF
30925 else
30927 # Base decisions on target environment.
30928 case "${host}" in
30929 arm*-*-symbianelf*)
30930 # This is a freestanding configuration; there is nothing to do here.
30933 *-darwin*)
30934 # Darwin versions vary, but the linker should work in a cross environment,
30935 # so we just check for all the features here.
30936 # Check for available headers.
30950 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
30951 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
30952 sys/types.h
30954 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30955 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30956 echo "$as_me:$LINENO: checking for $ac_header" >&5
30957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30958 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30959 echo $ECHO_N "(cached) $ECHO_C" >&6
30961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30962 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30963 else
30964 # Is the header compilable?
30965 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30966 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30967 cat >conftest.$ac_ext <<_ACEOF
30968 /* confdefs.h. */
30969 _ACEOF
30970 cat confdefs.h >>conftest.$ac_ext
30971 cat >>conftest.$ac_ext <<_ACEOF
30972 /* end confdefs.h. */
30973 $ac_includes_default
30974 #include <$ac_header>
30975 _ACEOF
30976 rm -f conftest.$ac_objext
30977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30978 (eval $ac_compile) 2>conftest.er1
30979 ac_status=$?
30980 grep -v '^ *+' conftest.er1 >conftest.err
30981 rm -f conftest.er1
30982 cat conftest.err >&5
30983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30984 (exit $ac_status); } &&
30985 { ac_try='test -z "$ac_c_werror_flag"
30986 || test ! -s conftest.err'
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); }; } &&
30992 { ac_try='test -s conftest.$ac_objext'
30993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30994 (eval $ac_try) 2>&5
30995 ac_status=$?
30996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30997 (exit $ac_status); }; }; then
30998 ac_header_compiler=yes
30999 else
31000 echo "$as_me: failed program was:" >&5
31001 sed 's/^/| /' conftest.$ac_ext >&5
31003 ac_header_compiler=no
31005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31006 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31007 echo "${ECHO_T}$ac_header_compiler" >&6
31009 # Is the header present?
31010 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31011 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31012 cat >conftest.$ac_ext <<_ACEOF
31013 /* confdefs.h. */
31014 _ACEOF
31015 cat confdefs.h >>conftest.$ac_ext
31016 cat >>conftest.$ac_ext <<_ACEOF
31017 /* end confdefs.h. */
31018 #include <$ac_header>
31019 _ACEOF
31020 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31021 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31022 ac_status=$?
31023 grep -v '^ *+' conftest.er1 >conftest.err
31024 rm -f conftest.er1
31025 cat conftest.err >&5
31026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31027 (exit $ac_status); } >/dev/null; then
31028 if test -s conftest.err; then
31029 ac_cpp_err=$ac_c_preproc_warn_flag
31030 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31031 else
31032 ac_cpp_err=
31034 else
31035 ac_cpp_err=yes
31037 if test -z "$ac_cpp_err"; then
31038 ac_header_preproc=yes
31039 else
31040 echo "$as_me: failed program was:" >&5
31041 sed 's/^/| /' conftest.$ac_ext >&5
31043 ac_header_preproc=no
31045 rm -f conftest.err conftest.$ac_ext
31046 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31047 echo "${ECHO_T}$ac_header_preproc" >&6
31049 # So? What about this header?
31050 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31051 yes:no: )
31052 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31053 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31054 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31055 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31056 ac_header_preproc=yes
31058 no:yes:* )
31059 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31060 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31061 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31062 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31063 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31064 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31065 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31066 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31067 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31068 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31069 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31070 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31072 cat <<\_ASBOX
31073 ## ----------------------------------------- ##
31074 ## Report this to the package-unused lists. ##
31075 ## ----------------------------------------- ##
31076 _ASBOX
31078 sed "s/^/$as_me: WARNING: /" >&2
31080 esac
31081 echo "$as_me:$LINENO: checking for $ac_header" >&5
31082 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31083 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31084 echo $ECHO_N "(cached) $ECHO_C" >&6
31085 else
31086 eval "$as_ac_Header=\$ac_header_preproc"
31088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31089 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31092 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31093 cat >>confdefs.h <<_ACEOF
31094 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31095 _ACEOF
31099 done
31103 # All these tests are for C++; save the language and the compiler flags.
31104 # The CXXFLAGS thing is suspicious, but based on similar bits previously
31105 # found in GLIBCXX_CONFIGURE.
31108 ac_ext=cc
31109 ac_cpp='$CXXCPP $CPPFLAGS'
31110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31114 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31115 ac_save_CXXFLAGS="$CXXFLAGS"
31117 # Check for maintainer-mode bits.
31118 if test x"$USE_MAINTAINER_MODE" = xno; then
31119 WERROR=''
31120 else
31121 WERROR='-Werror'
31124 # Check for -ffunction-sections -fdata-sections
31125 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
31126 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
31127 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
31128 cat >conftest.$ac_ext <<_ACEOF
31129 /* confdefs.h. */
31130 _ACEOF
31131 cat confdefs.h >>conftest.$ac_ext
31132 cat >>conftest.$ac_ext <<_ACEOF
31133 /* end confdefs.h. */
31136 main ()
31138 int foo;
31140 return 0;
31142 _ACEOF
31143 rm -f conftest.$ac_objext
31144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31145 (eval $ac_compile) 2>conftest.er1
31146 ac_status=$?
31147 grep -v '^ *+' conftest.er1 >conftest.err
31148 rm -f conftest.er1
31149 cat conftest.err >&5
31150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31151 (exit $ac_status); } &&
31152 { ac_try='test -z "$ac_cxx_werror_flag"
31153 || test ! -s conftest.err'
31154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31155 (eval $ac_try) 2>&5
31156 ac_status=$?
31157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31158 (exit $ac_status); }; } &&
31159 { ac_try='test -s conftest.$ac_objext'
31160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31161 (eval $ac_try) 2>&5
31162 ac_status=$?
31163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31164 (exit $ac_status); }; }; then
31165 ac_fdsections=yes
31166 else
31167 echo "$as_me: failed program was:" >&5
31168 sed 's/^/| /' conftest.$ac_ext >&5
31170 ac_fdsections=no
31172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31173 if test "$ac_test_CXXFLAGS" = set; then
31174 CXXFLAGS="$ac_save_CXXFLAGS"
31175 else
31176 # this is the suspicious part
31177 CXXFLAGS=''
31179 if test x"$ac_fdsections" = x"yes"; then
31180 SECTION_FLAGS='-ffunction-sections -fdata-sections'
31182 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
31183 echo "${ECHO_T}$ac_fdsections" >&6
31185 ac_ext=c
31186 ac_cpp='$CPP $CPPFLAGS'
31187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31194 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
31196 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31197 ac_save_CXXFLAGS="$CXXFLAGS"
31198 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
31200 echo "$as_me:$LINENO: checking for sin in -lm" >&5
31201 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
31202 if test "${ac_cv_lib_m_sin+set}" = set; then
31203 echo $ECHO_N "(cached) $ECHO_C" >&6
31204 else
31205 ac_check_lib_save_LIBS=$LIBS
31206 LIBS="-lm $LIBS"
31207 if test x$gcc_no_link = xyes; then
31208 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31210 { (exit 1); exit 1; }; }
31212 cat >conftest.$ac_ext <<_ACEOF
31213 /* confdefs.h. */
31214 _ACEOF
31215 cat confdefs.h >>conftest.$ac_ext
31216 cat >>conftest.$ac_ext <<_ACEOF
31217 /* end confdefs.h. */
31219 /* Override any gcc2 internal prototype to avoid an error. */
31220 #ifdef __cplusplus
31221 extern "C"
31222 #endif
31223 /* We use char because int might match the return type of a gcc2
31224 builtin and then its argument prototype would still apply. */
31225 char sin ();
31227 main ()
31229 sin ();
31231 return 0;
31233 _ACEOF
31234 rm -f conftest.$ac_objext conftest$ac_exeext
31235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31236 (eval $ac_link) 2>conftest.er1
31237 ac_status=$?
31238 grep -v '^ *+' conftest.er1 >conftest.err
31239 rm -f conftest.er1
31240 cat conftest.err >&5
31241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31242 (exit $ac_status); } &&
31243 { ac_try='test -z "$ac_c_werror_flag"
31244 || test ! -s conftest.err'
31245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31246 (eval $ac_try) 2>&5
31247 ac_status=$?
31248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31249 (exit $ac_status); }; } &&
31250 { ac_try='test -s conftest$ac_exeext'
31251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31252 (eval $ac_try) 2>&5
31253 ac_status=$?
31254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31255 (exit $ac_status); }; }; then
31256 ac_cv_lib_m_sin=yes
31257 else
31258 echo "$as_me: failed program was:" >&5
31259 sed 's/^/| /' conftest.$ac_ext >&5
31261 ac_cv_lib_m_sin=no
31263 rm -f conftest.err conftest.$ac_objext \
31264 conftest$ac_exeext conftest.$ac_ext
31265 LIBS=$ac_check_lib_save_LIBS
31267 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
31268 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
31269 if test $ac_cv_lib_m_sin = yes; then
31270 libm="-lm"
31273 ac_save_LIBS="$LIBS"
31274 LIBS="$LIBS $libm"
31278 echo "$as_me:$LINENO: checking for isinf declaration" >&5
31279 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
31280 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
31281 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
31282 echo $ECHO_N "(cached) $ECHO_C" >&6
31283 else
31287 ac_ext=cc
31288 ac_cpp='$CXXCPP $CPPFLAGS'
31289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31293 cat >conftest.$ac_ext <<_ACEOF
31294 /* confdefs.h. */
31295 _ACEOF
31296 cat confdefs.h >>conftest.$ac_ext
31297 cat >>conftest.$ac_ext <<_ACEOF
31298 /* end confdefs.h. */
31299 #include <math.h>
31300 #ifdef HAVE_IEEEFP_H
31301 #include <ieeefp.h>
31302 #endif
31305 main ()
31307 isinf(0);
31309 return 0;
31311 _ACEOF
31312 rm -f conftest.$ac_objext
31313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31314 (eval $ac_compile) 2>conftest.er1
31315 ac_status=$?
31316 grep -v '^ *+' conftest.er1 >conftest.err
31317 rm -f conftest.er1
31318 cat conftest.err >&5
31319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31320 (exit $ac_status); } &&
31321 { ac_try='test -z "$ac_cxx_werror_flag"
31322 || test ! -s conftest.err'
31323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31324 (eval $ac_try) 2>&5
31325 ac_status=$?
31326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31327 (exit $ac_status); }; } &&
31328 { ac_try='test -s conftest.$ac_objext'
31329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31330 (eval $ac_try) 2>&5
31331 ac_status=$?
31332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31333 (exit $ac_status); }; }; then
31334 glibcxx_cv_func_isinf_use=yes
31335 else
31336 echo "$as_me: failed program was:" >&5
31337 sed 's/^/| /' conftest.$ac_ext >&5
31339 glibcxx_cv_func_isinf_use=no
31341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31342 ac_ext=c
31343 ac_cpp='$CPP $CPPFLAGS'
31344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31352 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
31353 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
31355 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
31357 for ac_func in isinf
31359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31360 echo "$as_me:$LINENO: checking for $ac_func" >&5
31361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31362 if eval "test \"\${$as_ac_var+set}\" = set"; then
31363 echo $ECHO_N "(cached) $ECHO_C" >&6
31364 else
31365 if test x$gcc_no_link = xyes; then
31366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31368 { (exit 1); exit 1; }; }
31370 cat >conftest.$ac_ext <<_ACEOF
31371 /* confdefs.h. */
31372 _ACEOF
31373 cat confdefs.h >>conftest.$ac_ext
31374 cat >>conftest.$ac_ext <<_ACEOF
31375 /* end confdefs.h. */
31376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31378 #define $ac_func innocuous_$ac_func
31380 /* System header to define __stub macros and hopefully few prototypes,
31381 which can conflict with char $ac_func (); below.
31382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31383 <limits.h> exists even on freestanding compilers. */
31385 #ifdef __STDC__
31386 # include <limits.h>
31387 #else
31388 # include <assert.h>
31389 #endif
31391 #undef $ac_func
31393 /* Override any gcc2 internal prototype to avoid an error. */
31394 #ifdef __cplusplus
31395 extern "C"
31397 #endif
31398 /* We use char because int might match the return type of a gcc2
31399 builtin and then its argument prototype would still apply. */
31400 char $ac_func ();
31401 /* The GNU C library defines this for functions which it implements
31402 to always fail with ENOSYS. Some functions are actually named
31403 something starting with __ and the normal name is an alias. */
31404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31405 choke me
31406 #else
31407 char (*f) () = $ac_func;
31408 #endif
31409 #ifdef __cplusplus
31411 #endif
31414 main ()
31416 return f != $ac_func;
31418 return 0;
31420 _ACEOF
31421 rm -f conftest.$ac_objext conftest$ac_exeext
31422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31423 (eval $ac_link) 2>conftest.er1
31424 ac_status=$?
31425 grep -v '^ *+' conftest.er1 >conftest.err
31426 rm -f conftest.er1
31427 cat conftest.err >&5
31428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31429 (exit $ac_status); } &&
31430 { ac_try='test -z "$ac_c_werror_flag"
31431 || test ! -s conftest.err'
31432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31433 (eval $ac_try) 2>&5
31434 ac_status=$?
31435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31436 (exit $ac_status); }; } &&
31437 { ac_try='test -s conftest$ac_exeext'
31438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31439 (eval $ac_try) 2>&5
31440 ac_status=$?
31441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31442 (exit $ac_status); }; }; then
31443 eval "$as_ac_var=yes"
31444 else
31445 echo "$as_me: failed program was:" >&5
31446 sed 's/^/| /' conftest.$ac_ext >&5
31448 eval "$as_ac_var=no"
31450 rm -f conftest.err conftest.$ac_objext \
31451 conftest$ac_exeext conftest.$ac_ext
31453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31455 if test `eval echo '${'$as_ac_var'}'` = yes; then
31456 cat >>confdefs.h <<_ACEOF
31457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31458 _ACEOF
31461 done
31463 else
31465 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
31466 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
31467 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
31468 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
31469 echo $ECHO_N "(cached) $ECHO_C" >&6
31470 else
31474 ac_ext=cc
31475 ac_cpp='$CXXCPP $CPPFLAGS'
31476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31480 cat >conftest.$ac_ext <<_ACEOF
31481 /* confdefs.h. */
31482 _ACEOF
31483 cat confdefs.h >>conftest.$ac_ext
31484 cat >>conftest.$ac_ext <<_ACEOF
31485 /* end confdefs.h. */
31486 #include <math.h>
31487 #ifdef HAVE_IEEEFP_H
31488 #include <ieeefp.h>
31489 #endif
31492 main ()
31494 _isinf(0);
31496 return 0;
31498 _ACEOF
31499 rm -f conftest.$ac_objext
31500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31501 (eval $ac_compile) 2>conftest.er1
31502 ac_status=$?
31503 grep -v '^ *+' conftest.er1 >conftest.err
31504 rm -f conftest.er1
31505 cat conftest.err >&5
31506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31507 (exit $ac_status); } &&
31508 { ac_try='test -z "$ac_cxx_werror_flag"
31509 || test ! -s conftest.err'
31510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31511 (eval $ac_try) 2>&5
31512 ac_status=$?
31513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31514 (exit $ac_status); }; } &&
31515 { ac_try='test -s conftest.$ac_objext'
31516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31517 (eval $ac_try) 2>&5
31518 ac_status=$?
31519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31520 (exit $ac_status); }; }; then
31521 glibcxx_cv_func__isinf_use=yes
31522 else
31523 echo "$as_me: failed program was:" >&5
31524 sed 's/^/| /' conftest.$ac_ext >&5
31526 glibcxx_cv_func__isinf_use=no
31528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31529 ac_ext=c
31530 ac_cpp='$CPP $CPPFLAGS'
31531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31539 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
31540 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
31542 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
31544 for ac_func in _isinf
31546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31547 echo "$as_me:$LINENO: checking for $ac_func" >&5
31548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31549 if eval "test \"\${$as_ac_var+set}\" = set"; then
31550 echo $ECHO_N "(cached) $ECHO_C" >&6
31551 else
31552 if test x$gcc_no_link = xyes; then
31553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31555 { (exit 1); exit 1; }; }
31557 cat >conftest.$ac_ext <<_ACEOF
31558 /* confdefs.h. */
31559 _ACEOF
31560 cat confdefs.h >>conftest.$ac_ext
31561 cat >>conftest.$ac_ext <<_ACEOF
31562 /* end confdefs.h. */
31563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31565 #define $ac_func innocuous_$ac_func
31567 /* System header to define __stub macros and hopefully few prototypes,
31568 which can conflict with char $ac_func (); below.
31569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31570 <limits.h> exists even on freestanding compilers. */
31572 #ifdef __STDC__
31573 # include <limits.h>
31574 #else
31575 # include <assert.h>
31576 #endif
31578 #undef $ac_func
31580 /* Override any gcc2 internal prototype to avoid an error. */
31581 #ifdef __cplusplus
31582 extern "C"
31584 #endif
31585 /* We use char because int might match the return type of a gcc2
31586 builtin and then its argument prototype would still apply. */
31587 char $ac_func ();
31588 /* The GNU C library defines this for functions which it implements
31589 to always fail with ENOSYS. Some functions are actually named
31590 something starting with __ and the normal name is an alias. */
31591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31592 choke me
31593 #else
31594 char (*f) () = $ac_func;
31595 #endif
31596 #ifdef __cplusplus
31598 #endif
31601 main ()
31603 return f != $ac_func;
31605 return 0;
31607 _ACEOF
31608 rm -f conftest.$ac_objext conftest$ac_exeext
31609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31610 (eval $ac_link) 2>conftest.er1
31611 ac_status=$?
31612 grep -v '^ *+' conftest.er1 >conftest.err
31613 rm -f conftest.er1
31614 cat conftest.err >&5
31615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31616 (exit $ac_status); } &&
31617 { ac_try='test -z "$ac_c_werror_flag"
31618 || test ! -s conftest.err'
31619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31620 (eval $ac_try) 2>&5
31621 ac_status=$?
31622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31623 (exit $ac_status); }; } &&
31624 { ac_try='test -s conftest$ac_exeext'
31625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31626 (eval $ac_try) 2>&5
31627 ac_status=$?
31628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31629 (exit $ac_status); }; }; then
31630 eval "$as_ac_var=yes"
31631 else
31632 echo "$as_me: failed program was:" >&5
31633 sed 's/^/| /' conftest.$ac_ext >&5
31635 eval "$as_ac_var=no"
31637 rm -f conftest.err conftest.$ac_objext \
31638 conftest$ac_exeext conftest.$ac_ext
31640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31642 if test `eval echo '${'$as_ac_var'}'` = yes; then
31643 cat >>confdefs.h <<_ACEOF
31644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31645 _ACEOF
31648 done
31658 echo "$as_me:$LINENO: checking for isnan declaration" >&5
31659 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
31660 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
31661 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
31662 echo $ECHO_N "(cached) $ECHO_C" >&6
31663 else
31667 ac_ext=cc
31668 ac_cpp='$CXXCPP $CPPFLAGS'
31669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31673 cat >conftest.$ac_ext <<_ACEOF
31674 /* confdefs.h. */
31675 _ACEOF
31676 cat confdefs.h >>conftest.$ac_ext
31677 cat >>conftest.$ac_ext <<_ACEOF
31678 /* end confdefs.h. */
31679 #include <math.h>
31680 #ifdef HAVE_IEEEFP_H
31681 #include <ieeefp.h>
31682 #endif
31685 main ()
31687 isnan(0);
31689 return 0;
31691 _ACEOF
31692 rm -f conftest.$ac_objext
31693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31694 (eval $ac_compile) 2>conftest.er1
31695 ac_status=$?
31696 grep -v '^ *+' conftest.er1 >conftest.err
31697 rm -f conftest.er1
31698 cat conftest.err >&5
31699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31700 (exit $ac_status); } &&
31701 { ac_try='test -z "$ac_cxx_werror_flag"
31702 || test ! -s conftest.err'
31703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31704 (eval $ac_try) 2>&5
31705 ac_status=$?
31706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31707 (exit $ac_status); }; } &&
31708 { ac_try='test -s conftest.$ac_objext'
31709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31710 (eval $ac_try) 2>&5
31711 ac_status=$?
31712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31713 (exit $ac_status); }; }; then
31714 glibcxx_cv_func_isnan_use=yes
31715 else
31716 echo "$as_me: failed program was:" >&5
31717 sed 's/^/| /' conftest.$ac_ext >&5
31719 glibcxx_cv_func_isnan_use=no
31721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31722 ac_ext=c
31723 ac_cpp='$CPP $CPPFLAGS'
31724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31732 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
31733 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
31735 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
31737 for ac_func in isnan
31739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31740 echo "$as_me:$LINENO: checking for $ac_func" >&5
31741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31742 if eval "test \"\${$as_ac_var+set}\" = set"; then
31743 echo $ECHO_N "(cached) $ECHO_C" >&6
31744 else
31745 if test x$gcc_no_link = xyes; then
31746 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31748 { (exit 1); exit 1; }; }
31750 cat >conftest.$ac_ext <<_ACEOF
31751 /* confdefs.h. */
31752 _ACEOF
31753 cat confdefs.h >>conftest.$ac_ext
31754 cat >>conftest.$ac_ext <<_ACEOF
31755 /* end confdefs.h. */
31756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31758 #define $ac_func innocuous_$ac_func
31760 /* System header to define __stub macros and hopefully few prototypes,
31761 which can conflict with char $ac_func (); below.
31762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31763 <limits.h> exists even on freestanding compilers. */
31765 #ifdef __STDC__
31766 # include <limits.h>
31767 #else
31768 # include <assert.h>
31769 #endif
31771 #undef $ac_func
31773 /* Override any gcc2 internal prototype to avoid an error. */
31774 #ifdef __cplusplus
31775 extern "C"
31777 #endif
31778 /* We use char because int might match the return type of a gcc2
31779 builtin and then its argument prototype would still apply. */
31780 char $ac_func ();
31781 /* The GNU C library defines this for functions which it implements
31782 to always fail with ENOSYS. Some functions are actually named
31783 something starting with __ and the normal name is an alias. */
31784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31785 choke me
31786 #else
31787 char (*f) () = $ac_func;
31788 #endif
31789 #ifdef __cplusplus
31791 #endif
31794 main ()
31796 return f != $ac_func;
31798 return 0;
31800 _ACEOF
31801 rm -f conftest.$ac_objext conftest$ac_exeext
31802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31803 (eval $ac_link) 2>conftest.er1
31804 ac_status=$?
31805 grep -v '^ *+' conftest.er1 >conftest.err
31806 rm -f conftest.er1
31807 cat conftest.err >&5
31808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31809 (exit $ac_status); } &&
31810 { ac_try='test -z "$ac_c_werror_flag"
31811 || test ! -s conftest.err'
31812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31813 (eval $ac_try) 2>&5
31814 ac_status=$?
31815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31816 (exit $ac_status); }; } &&
31817 { ac_try='test -s conftest$ac_exeext'
31818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31819 (eval $ac_try) 2>&5
31820 ac_status=$?
31821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31822 (exit $ac_status); }; }; then
31823 eval "$as_ac_var=yes"
31824 else
31825 echo "$as_me: failed program was:" >&5
31826 sed 's/^/| /' conftest.$ac_ext >&5
31828 eval "$as_ac_var=no"
31830 rm -f conftest.err conftest.$ac_objext \
31831 conftest$ac_exeext conftest.$ac_ext
31833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31835 if test `eval echo '${'$as_ac_var'}'` = yes; then
31836 cat >>confdefs.h <<_ACEOF
31837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31838 _ACEOF
31841 done
31843 else
31845 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
31846 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
31847 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
31848 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
31849 echo $ECHO_N "(cached) $ECHO_C" >&6
31850 else
31854 ac_ext=cc
31855 ac_cpp='$CXXCPP $CPPFLAGS'
31856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31860 cat >conftest.$ac_ext <<_ACEOF
31861 /* confdefs.h. */
31862 _ACEOF
31863 cat confdefs.h >>conftest.$ac_ext
31864 cat >>conftest.$ac_ext <<_ACEOF
31865 /* end confdefs.h. */
31866 #include <math.h>
31867 #ifdef HAVE_IEEEFP_H
31868 #include <ieeefp.h>
31869 #endif
31872 main ()
31874 _isnan(0);
31876 return 0;
31878 _ACEOF
31879 rm -f conftest.$ac_objext
31880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31881 (eval $ac_compile) 2>conftest.er1
31882 ac_status=$?
31883 grep -v '^ *+' conftest.er1 >conftest.err
31884 rm -f conftest.er1
31885 cat conftest.err >&5
31886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31887 (exit $ac_status); } &&
31888 { ac_try='test -z "$ac_cxx_werror_flag"
31889 || test ! -s conftest.err'
31890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31891 (eval $ac_try) 2>&5
31892 ac_status=$?
31893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31894 (exit $ac_status); }; } &&
31895 { ac_try='test -s conftest.$ac_objext'
31896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31897 (eval $ac_try) 2>&5
31898 ac_status=$?
31899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31900 (exit $ac_status); }; }; then
31901 glibcxx_cv_func__isnan_use=yes
31902 else
31903 echo "$as_me: failed program was:" >&5
31904 sed 's/^/| /' conftest.$ac_ext >&5
31906 glibcxx_cv_func__isnan_use=no
31908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31909 ac_ext=c
31910 ac_cpp='$CPP $CPPFLAGS'
31911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31919 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
31920 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
31922 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
31924 for ac_func in _isnan
31926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31927 echo "$as_me:$LINENO: checking for $ac_func" >&5
31928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31929 if eval "test \"\${$as_ac_var+set}\" = set"; then
31930 echo $ECHO_N "(cached) $ECHO_C" >&6
31931 else
31932 if test x$gcc_no_link = xyes; then
31933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31935 { (exit 1); exit 1; }; }
31937 cat >conftest.$ac_ext <<_ACEOF
31938 /* confdefs.h. */
31939 _ACEOF
31940 cat confdefs.h >>conftest.$ac_ext
31941 cat >>conftest.$ac_ext <<_ACEOF
31942 /* end confdefs.h. */
31943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31945 #define $ac_func innocuous_$ac_func
31947 /* System header to define __stub macros and hopefully few prototypes,
31948 which can conflict with char $ac_func (); below.
31949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31950 <limits.h> exists even on freestanding compilers. */
31952 #ifdef __STDC__
31953 # include <limits.h>
31954 #else
31955 # include <assert.h>
31956 #endif
31958 #undef $ac_func
31960 /* Override any gcc2 internal prototype to avoid an error. */
31961 #ifdef __cplusplus
31962 extern "C"
31964 #endif
31965 /* We use char because int might match the return type of a gcc2
31966 builtin and then its argument prototype would still apply. */
31967 char $ac_func ();
31968 /* The GNU C library defines this for functions which it implements
31969 to always fail with ENOSYS. Some functions are actually named
31970 something starting with __ and the normal name is an alias. */
31971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31972 choke me
31973 #else
31974 char (*f) () = $ac_func;
31975 #endif
31976 #ifdef __cplusplus
31978 #endif
31981 main ()
31983 return f != $ac_func;
31985 return 0;
31987 _ACEOF
31988 rm -f conftest.$ac_objext conftest$ac_exeext
31989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31990 (eval $ac_link) 2>conftest.er1
31991 ac_status=$?
31992 grep -v '^ *+' conftest.er1 >conftest.err
31993 rm -f conftest.er1
31994 cat conftest.err >&5
31995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31996 (exit $ac_status); } &&
31997 { ac_try='test -z "$ac_c_werror_flag"
31998 || test ! -s conftest.err'
31999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32000 (eval $ac_try) 2>&5
32001 ac_status=$?
32002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32003 (exit $ac_status); }; } &&
32004 { ac_try='test -s conftest$ac_exeext'
32005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32006 (eval $ac_try) 2>&5
32007 ac_status=$?
32008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32009 (exit $ac_status); }; }; then
32010 eval "$as_ac_var=yes"
32011 else
32012 echo "$as_me: failed program was:" >&5
32013 sed 's/^/| /' conftest.$ac_ext >&5
32015 eval "$as_ac_var=no"
32017 rm -f conftest.err conftest.$ac_objext \
32018 conftest$ac_exeext conftest.$ac_ext
32020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32022 if test `eval echo '${'$as_ac_var'}'` = yes; then
32023 cat >>confdefs.h <<_ACEOF
32024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32025 _ACEOF
32028 done
32038 echo "$as_me:$LINENO: checking for finite declaration" >&5
32039 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
32040 if test x${glibcxx_cv_func_finite_use+set} != xset; then
32041 if test "${glibcxx_cv_func_finite_use+set}" = set; then
32042 echo $ECHO_N "(cached) $ECHO_C" >&6
32043 else
32047 ac_ext=cc
32048 ac_cpp='$CXXCPP $CPPFLAGS'
32049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32053 cat >conftest.$ac_ext <<_ACEOF
32054 /* confdefs.h. */
32055 _ACEOF
32056 cat confdefs.h >>conftest.$ac_ext
32057 cat >>conftest.$ac_ext <<_ACEOF
32058 /* end confdefs.h. */
32059 #include <math.h>
32060 #ifdef HAVE_IEEEFP_H
32061 #include <ieeefp.h>
32062 #endif
32065 main ()
32067 finite(0);
32069 return 0;
32071 _ACEOF
32072 rm -f conftest.$ac_objext
32073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32074 (eval $ac_compile) 2>conftest.er1
32075 ac_status=$?
32076 grep -v '^ *+' conftest.er1 >conftest.err
32077 rm -f conftest.er1
32078 cat conftest.err >&5
32079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32080 (exit $ac_status); } &&
32081 { ac_try='test -z "$ac_cxx_werror_flag"
32082 || test ! -s conftest.err'
32083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32084 (eval $ac_try) 2>&5
32085 ac_status=$?
32086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32087 (exit $ac_status); }; } &&
32088 { ac_try='test -s conftest.$ac_objext'
32089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32090 (eval $ac_try) 2>&5
32091 ac_status=$?
32092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32093 (exit $ac_status); }; }; then
32094 glibcxx_cv_func_finite_use=yes
32095 else
32096 echo "$as_me: failed program was:" >&5
32097 sed 's/^/| /' conftest.$ac_ext >&5
32099 glibcxx_cv_func_finite_use=no
32101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32102 ac_ext=c
32103 ac_cpp='$CPP $CPPFLAGS'
32104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32112 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
32113 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
32115 if test x$glibcxx_cv_func_finite_use = x"yes"; then
32117 for ac_func in finite
32119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32120 echo "$as_me:$LINENO: checking for $ac_func" >&5
32121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32122 if eval "test \"\${$as_ac_var+set}\" = set"; then
32123 echo $ECHO_N "(cached) $ECHO_C" >&6
32124 else
32125 if test x$gcc_no_link = xyes; then
32126 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32128 { (exit 1); exit 1; }; }
32130 cat >conftest.$ac_ext <<_ACEOF
32131 /* confdefs.h. */
32132 _ACEOF
32133 cat confdefs.h >>conftest.$ac_ext
32134 cat >>conftest.$ac_ext <<_ACEOF
32135 /* end confdefs.h. */
32136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32138 #define $ac_func innocuous_$ac_func
32140 /* System header to define __stub macros and hopefully few prototypes,
32141 which can conflict with char $ac_func (); below.
32142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32143 <limits.h> exists even on freestanding compilers. */
32145 #ifdef __STDC__
32146 # include <limits.h>
32147 #else
32148 # include <assert.h>
32149 #endif
32151 #undef $ac_func
32153 /* Override any gcc2 internal prototype to avoid an error. */
32154 #ifdef __cplusplus
32155 extern "C"
32157 #endif
32158 /* We use char because int might match the return type of a gcc2
32159 builtin and then its argument prototype would still apply. */
32160 char $ac_func ();
32161 /* The GNU C library defines this for functions which it implements
32162 to always fail with ENOSYS. Some functions are actually named
32163 something starting with __ and the normal name is an alias. */
32164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32165 choke me
32166 #else
32167 char (*f) () = $ac_func;
32168 #endif
32169 #ifdef __cplusplus
32171 #endif
32174 main ()
32176 return f != $ac_func;
32178 return 0;
32180 _ACEOF
32181 rm -f conftest.$ac_objext conftest$ac_exeext
32182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32183 (eval $ac_link) 2>conftest.er1
32184 ac_status=$?
32185 grep -v '^ *+' conftest.er1 >conftest.err
32186 rm -f conftest.er1
32187 cat conftest.err >&5
32188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32189 (exit $ac_status); } &&
32190 { ac_try='test -z "$ac_c_werror_flag"
32191 || test ! -s conftest.err'
32192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32193 (eval $ac_try) 2>&5
32194 ac_status=$?
32195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32196 (exit $ac_status); }; } &&
32197 { ac_try='test -s conftest$ac_exeext'
32198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32199 (eval $ac_try) 2>&5
32200 ac_status=$?
32201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32202 (exit $ac_status); }; }; then
32203 eval "$as_ac_var=yes"
32204 else
32205 echo "$as_me: failed program was:" >&5
32206 sed 's/^/| /' conftest.$ac_ext >&5
32208 eval "$as_ac_var=no"
32210 rm -f conftest.err conftest.$ac_objext \
32211 conftest$ac_exeext conftest.$ac_ext
32213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32214 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32215 if test `eval echo '${'$as_ac_var'}'` = yes; then
32216 cat >>confdefs.h <<_ACEOF
32217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32218 _ACEOF
32221 done
32223 else
32225 echo "$as_me:$LINENO: checking for _finite declaration" >&5
32226 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
32227 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32228 if test "${glibcxx_cv_func__finite_use+set}" = set; then
32229 echo $ECHO_N "(cached) $ECHO_C" >&6
32230 else
32234 ac_ext=cc
32235 ac_cpp='$CXXCPP $CPPFLAGS'
32236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32240 cat >conftest.$ac_ext <<_ACEOF
32241 /* confdefs.h. */
32242 _ACEOF
32243 cat confdefs.h >>conftest.$ac_ext
32244 cat >>conftest.$ac_ext <<_ACEOF
32245 /* end confdefs.h. */
32246 #include <math.h>
32247 #ifdef HAVE_IEEEFP_H
32248 #include <ieeefp.h>
32249 #endif
32252 main ()
32254 _finite(0);
32256 return 0;
32258 _ACEOF
32259 rm -f conftest.$ac_objext
32260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32261 (eval $ac_compile) 2>conftest.er1
32262 ac_status=$?
32263 grep -v '^ *+' conftest.er1 >conftest.err
32264 rm -f conftest.er1
32265 cat conftest.err >&5
32266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32267 (exit $ac_status); } &&
32268 { ac_try='test -z "$ac_cxx_werror_flag"
32269 || test ! -s conftest.err'
32270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32271 (eval $ac_try) 2>&5
32272 ac_status=$?
32273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32274 (exit $ac_status); }; } &&
32275 { ac_try='test -s conftest.$ac_objext'
32276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32277 (eval $ac_try) 2>&5
32278 ac_status=$?
32279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32280 (exit $ac_status); }; }; then
32281 glibcxx_cv_func__finite_use=yes
32282 else
32283 echo "$as_me: failed program was:" >&5
32284 sed 's/^/| /' conftest.$ac_ext >&5
32286 glibcxx_cv_func__finite_use=no
32288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32289 ac_ext=c
32290 ac_cpp='$CPP $CPPFLAGS'
32291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32299 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
32300 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
32302 if test x$glibcxx_cv_func__finite_use = x"yes"; then
32304 for ac_func in _finite
32306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32307 echo "$as_me:$LINENO: checking for $ac_func" >&5
32308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32309 if eval "test \"\${$as_ac_var+set}\" = set"; then
32310 echo $ECHO_N "(cached) $ECHO_C" >&6
32311 else
32312 if test x$gcc_no_link = xyes; then
32313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32315 { (exit 1); exit 1; }; }
32317 cat >conftest.$ac_ext <<_ACEOF
32318 /* confdefs.h. */
32319 _ACEOF
32320 cat confdefs.h >>conftest.$ac_ext
32321 cat >>conftest.$ac_ext <<_ACEOF
32322 /* end confdefs.h. */
32323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32325 #define $ac_func innocuous_$ac_func
32327 /* System header to define __stub macros and hopefully few prototypes,
32328 which can conflict with char $ac_func (); below.
32329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32330 <limits.h> exists even on freestanding compilers. */
32332 #ifdef __STDC__
32333 # include <limits.h>
32334 #else
32335 # include <assert.h>
32336 #endif
32338 #undef $ac_func
32340 /* Override any gcc2 internal prototype to avoid an error. */
32341 #ifdef __cplusplus
32342 extern "C"
32344 #endif
32345 /* We use char because int might match the return type of a gcc2
32346 builtin and then its argument prototype would still apply. */
32347 char $ac_func ();
32348 /* The GNU C library defines this for functions which it implements
32349 to always fail with ENOSYS. Some functions are actually named
32350 something starting with __ and the normal name is an alias. */
32351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32352 choke me
32353 #else
32354 char (*f) () = $ac_func;
32355 #endif
32356 #ifdef __cplusplus
32358 #endif
32361 main ()
32363 return f != $ac_func;
32365 return 0;
32367 _ACEOF
32368 rm -f conftest.$ac_objext conftest$ac_exeext
32369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32370 (eval $ac_link) 2>conftest.er1
32371 ac_status=$?
32372 grep -v '^ *+' conftest.er1 >conftest.err
32373 rm -f conftest.er1
32374 cat conftest.err >&5
32375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32376 (exit $ac_status); } &&
32377 { ac_try='test -z "$ac_c_werror_flag"
32378 || test ! -s conftest.err'
32379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32380 (eval $ac_try) 2>&5
32381 ac_status=$?
32382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32383 (exit $ac_status); }; } &&
32384 { ac_try='test -s conftest$ac_exeext'
32385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32386 (eval $ac_try) 2>&5
32387 ac_status=$?
32388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32389 (exit $ac_status); }; }; then
32390 eval "$as_ac_var=yes"
32391 else
32392 echo "$as_me: failed program was:" >&5
32393 sed 's/^/| /' conftest.$ac_ext >&5
32395 eval "$as_ac_var=no"
32397 rm -f conftest.err conftest.$ac_objext \
32398 conftest$ac_exeext conftest.$ac_ext
32400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32402 if test `eval echo '${'$as_ac_var'}'` = yes; then
32403 cat >>confdefs.h <<_ACEOF
32404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32405 _ACEOF
32408 done
32418 echo "$as_me:$LINENO: checking for copysign declaration" >&5
32419 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
32420 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
32421 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
32422 echo $ECHO_N "(cached) $ECHO_C" >&6
32423 else
32427 ac_ext=cc
32428 ac_cpp='$CXXCPP $CPPFLAGS'
32429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32433 cat >conftest.$ac_ext <<_ACEOF
32434 /* confdefs.h. */
32435 _ACEOF
32436 cat confdefs.h >>conftest.$ac_ext
32437 cat >>conftest.$ac_ext <<_ACEOF
32438 /* end confdefs.h. */
32439 #include <math.h>
32441 main ()
32443 copysign(0, 0);
32445 return 0;
32447 _ACEOF
32448 rm -f conftest.$ac_objext
32449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32450 (eval $ac_compile) 2>conftest.er1
32451 ac_status=$?
32452 grep -v '^ *+' conftest.er1 >conftest.err
32453 rm -f conftest.er1
32454 cat conftest.err >&5
32455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32456 (exit $ac_status); } &&
32457 { ac_try='test -z "$ac_cxx_werror_flag"
32458 || test ! -s conftest.err'
32459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32460 (eval $ac_try) 2>&5
32461 ac_status=$?
32462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32463 (exit $ac_status); }; } &&
32464 { ac_try='test -s conftest.$ac_objext'
32465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32466 (eval $ac_try) 2>&5
32467 ac_status=$?
32468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32469 (exit $ac_status); }; }; then
32470 glibcxx_cv_func_copysign_use=yes
32471 else
32472 echo "$as_me: failed program was:" >&5
32473 sed 's/^/| /' conftest.$ac_ext >&5
32475 glibcxx_cv_func_copysign_use=no
32477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32478 ac_ext=c
32479 ac_cpp='$CPP $CPPFLAGS'
32480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32488 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
32489 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
32491 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
32493 for ac_func in copysign
32495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32496 echo "$as_me:$LINENO: checking for $ac_func" >&5
32497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32498 if eval "test \"\${$as_ac_var+set}\" = set"; then
32499 echo $ECHO_N "(cached) $ECHO_C" >&6
32500 else
32501 if test x$gcc_no_link = xyes; then
32502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32504 { (exit 1); exit 1; }; }
32506 cat >conftest.$ac_ext <<_ACEOF
32507 /* confdefs.h. */
32508 _ACEOF
32509 cat confdefs.h >>conftest.$ac_ext
32510 cat >>conftest.$ac_ext <<_ACEOF
32511 /* end confdefs.h. */
32512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32514 #define $ac_func innocuous_$ac_func
32516 /* System header to define __stub macros and hopefully few prototypes,
32517 which can conflict with char $ac_func (); below.
32518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32519 <limits.h> exists even on freestanding compilers. */
32521 #ifdef __STDC__
32522 # include <limits.h>
32523 #else
32524 # include <assert.h>
32525 #endif
32527 #undef $ac_func
32529 /* Override any gcc2 internal prototype to avoid an error. */
32530 #ifdef __cplusplus
32531 extern "C"
32533 #endif
32534 /* We use char because int might match the return type of a gcc2
32535 builtin and then its argument prototype would still apply. */
32536 char $ac_func ();
32537 /* The GNU C library defines this for functions which it implements
32538 to always fail with ENOSYS. Some functions are actually named
32539 something starting with __ and the normal name is an alias. */
32540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32541 choke me
32542 #else
32543 char (*f) () = $ac_func;
32544 #endif
32545 #ifdef __cplusplus
32547 #endif
32550 main ()
32552 return f != $ac_func;
32554 return 0;
32556 _ACEOF
32557 rm -f conftest.$ac_objext conftest$ac_exeext
32558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32559 (eval $ac_link) 2>conftest.er1
32560 ac_status=$?
32561 grep -v '^ *+' conftest.er1 >conftest.err
32562 rm -f conftest.er1
32563 cat conftest.err >&5
32564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32565 (exit $ac_status); } &&
32566 { ac_try='test -z "$ac_c_werror_flag"
32567 || test ! -s conftest.err'
32568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32569 (eval $ac_try) 2>&5
32570 ac_status=$?
32571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32572 (exit $ac_status); }; } &&
32573 { ac_try='test -s conftest$ac_exeext'
32574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32575 (eval $ac_try) 2>&5
32576 ac_status=$?
32577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32578 (exit $ac_status); }; }; then
32579 eval "$as_ac_var=yes"
32580 else
32581 echo "$as_me: failed program was:" >&5
32582 sed 's/^/| /' conftest.$ac_ext >&5
32584 eval "$as_ac_var=no"
32586 rm -f conftest.err conftest.$ac_objext \
32587 conftest$ac_exeext conftest.$ac_ext
32589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32591 if test `eval echo '${'$as_ac_var'}'` = yes; then
32592 cat >>confdefs.h <<_ACEOF
32593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32594 _ACEOF
32597 done
32599 else
32601 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
32602 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
32603 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
32604 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
32605 echo $ECHO_N "(cached) $ECHO_C" >&6
32606 else
32610 ac_ext=cc
32611 ac_cpp='$CXXCPP $CPPFLAGS'
32612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32616 cat >conftest.$ac_ext <<_ACEOF
32617 /* confdefs.h. */
32618 _ACEOF
32619 cat confdefs.h >>conftest.$ac_ext
32620 cat >>conftest.$ac_ext <<_ACEOF
32621 /* end confdefs.h. */
32622 #include <math.h>
32624 main ()
32626 _copysign(0, 0);
32628 return 0;
32630 _ACEOF
32631 rm -f conftest.$ac_objext
32632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32633 (eval $ac_compile) 2>conftest.er1
32634 ac_status=$?
32635 grep -v '^ *+' conftest.er1 >conftest.err
32636 rm -f conftest.er1
32637 cat conftest.err >&5
32638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32639 (exit $ac_status); } &&
32640 { ac_try='test -z "$ac_cxx_werror_flag"
32641 || test ! -s conftest.err'
32642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32643 (eval $ac_try) 2>&5
32644 ac_status=$?
32645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32646 (exit $ac_status); }; } &&
32647 { ac_try='test -s conftest.$ac_objext'
32648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32649 (eval $ac_try) 2>&5
32650 ac_status=$?
32651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32652 (exit $ac_status); }; }; then
32653 glibcxx_cv_func__copysign_use=yes
32654 else
32655 echo "$as_me: failed program was:" >&5
32656 sed 's/^/| /' conftest.$ac_ext >&5
32658 glibcxx_cv_func__copysign_use=no
32660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32661 ac_ext=c
32662 ac_cpp='$CPP $CPPFLAGS'
32663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32671 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
32672 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
32674 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
32676 for ac_func in _copysign
32678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32679 echo "$as_me:$LINENO: checking for $ac_func" >&5
32680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32681 if eval "test \"\${$as_ac_var+set}\" = set"; then
32682 echo $ECHO_N "(cached) $ECHO_C" >&6
32683 else
32684 if test x$gcc_no_link = xyes; then
32685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32687 { (exit 1); exit 1; }; }
32689 cat >conftest.$ac_ext <<_ACEOF
32690 /* confdefs.h. */
32691 _ACEOF
32692 cat confdefs.h >>conftest.$ac_ext
32693 cat >>conftest.$ac_ext <<_ACEOF
32694 /* end confdefs.h. */
32695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32697 #define $ac_func innocuous_$ac_func
32699 /* System header to define __stub macros and hopefully few prototypes,
32700 which can conflict with char $ac_func (); below.
32701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32702 <limits.h> exists even on freestanding compilers. */
32704 #ifdef __STDC__
32705 # include <limits.h>
32706 #else
32707 # include <assert.h>
32708 #endif
32710 #undef $ac_func
32712 /* Override any gcc2 internal prototype to avoid an error. */
32713 #ifdef __cplusplus
32714 extern "C"
32716 #endif
32717 /* We use char because int might match the return type of a gcc2
32718 builtin and then its argument prototype would still apply. */
32719 char $ac_func ();
32720 /* The GNU C library defines this for functions which it implements
32721 to always fail with ENOSYS. Some functions are actually named
32722 something starting with __ and the normal name is an alias. */
32723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32724 choke me
32725 #else
32726 char (*f) () = $ac_func;
32727 #endif
32728 #ifdef __cplusplus
32730 #endif
32733 main ()
32735 return f != $ac_func;
32737 return 0;
32739 _ACEOF
32740 rm -f conftest.$ac_objext conftest$ac_exeext
32741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32742 (eval $ac_link) 2>conftest.er1
32743 ac_status=$?
32744 grep -v '^ *+' conftest.er1 >conftest.err
32745 rm -f conftest.er1
32746 cat conftest.err >&5
32747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32748 (exit $ac_status); } &&
32749 { ac_try='test -z "$ac_c_werror_flag"
32750 || test ! -s conftest.err'
32751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32752 (eval $ac_try) 2>&5
32753 ac_status=$?
32754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32755 (exit $ac_status); }; } &&
32756 { ac_try='test -s conftest$ac_exeext'
32757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32758 (eval $ac_try) 2>&5
32759 ac_status=$?
32760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32761 (exit $ac_status); }; }; then
32762 eval "$as_ac_var=yes"
32763 else
32764 echo "$as_me: failed program was:" >&5
32765 sed 's/^/| /' conftest.$ac_ext >&5
32767 eval "$as_ac_var=no"
32769 rm -f conftest.err conftest.$ac_objext \
32770 conftest$ac_exeext conftest.$ac_ext
32772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32774 if test `eval echo '${'$as_ac_var'}'` = yes; then
32775 cat >>confdefs.h <<_ACEOF
32776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32777 _ACEOF
32780 done
32790 echo "$as_me:$LINENO: checking for sincos declaration" >&5
32791 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
32792 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32793 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
32794 echo $ECHO_N "(cached) $ECHO_C" >&6
32795 else
32799 ac_ext=cc
32800 ac_cpp='$CXXCPP $CPPFLAGS'
32801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32805 cat >conftest.$ac_ext <<_ACEOF
32806 /* confdefs.h. */
32807 _ACEOF
32808 cat confdefs.h >>conftest.$ac_ext
32809 cat >>conftest.$ac_ext <<_ACEOF
32810 /* end confdefs.h. */
32811 #include <math.h>
32813 main ()
32815 sincos(0, 0, 0);
32817 return 0;
32819 _ACEOF
32820 rm -f conftest.$ac_objext
32821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32822 (eval $ac_compile) 2>conftest.er1
32823 ac_status=$?
32824 grep -v '^ *+' conftest.er1 >conftest.err
32825 rm -f conftest.er1
32826 cat conftest.err >&5
32827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32828 (exit $ac_status); } &&
32829 { ac_try='test -z "$ac_cxx_werror_flag"
32830 || test ! -s conftest.err'
32831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32832 (eval $ac_try) 2>&5
32833 ac_status=$?
32834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32835 (exit $ac_status); }; } &&
32836 { ac_try='test -s conftest.$ac_objext'
32837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32838 (eval $ac_try) 2>&5
32839 ac_status=$?
32840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32841 (exit $ac_status); }; }; then
32842 glibcxx_cv_func_sincos_use=yes
32843 else
32844 echo "$as_me: failed program was:" >&5
32845 sed 's/^/| /' conftest.$ac_ext >&5
32847 glibcxx_cv_func_sincos_use=no
32849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32850 ac_ext=c
32851 ac_cpp='$CPP $CPPFLAGS'
32852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32860 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
32861 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
32863 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32865 for ac_func in sincos
32867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32868 echo "$as_me:$LINENO: checking for $ac_func" >&5
32869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32870 if eval "test \"\${$as_ac_var+set}\" = set"; then
32871 echo $ECHO_N "(cached) $ECHO_C" >&6
32872 else
32873 if test x$gcc_no_link = xyes; then
32874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32876 { (exit 1); exit 1; }; }
32878 cat >conftest.$ac_ext <<_ACEOF
32879 /* confdefs.h. */
32880 _ACEOF
32881 cat confdefs.h >>conftest.$ac_ext
32882 cat >>conftest.$ac_ext <<_ACEOF
32883 /* end confdefs.h. */
32884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32886 #define $ac_func innocuous_$ac_func
32888 /* System header to define __stub macros and hopefully few prototypes,
32889 which can conflict with char $ac_func (); below.
32890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32891 <limits.h> exists even on freestanding compilers. */
32893 #ifdef __STDC__
32894 # include <limits.h>
32895 #else
32896 # include <assert.h>
32897 #endif
32899 #undef $ac_func
32901 /* Override any gcc2 internal prototype to avoid an error. */
32902 #ifdef __cplusplus
32903 extern "C"
32905 #endif
32906 /* We use char because int might match the return type of a gcc2
32907 builtin and then its argument prototype would still apply. */
32908 char $ac_func ();
32909 /* The GNU C library defines this for functions which it implements
32910 to always fail with ENOSYS. Some functions are actually named
32911 something starting with __ and the normal name is an alias. */
32912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32913 choke me
32914 #else
32915 char (*f) () = $ac_func;
32916 #endif
32917 #ifdef __cplusplus
32919 #endif
32922 main ()
32924 return f != $ac_func;
32926 return 0;
32928 _ACEOF
32929 rm -f conftest.$ac_objext conftest$ac_exeext
32930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32931 (eval $ac_link) 2>conftest.er1
32932 ac_status=$?
32933 grep -v '^ *+' conftest.er1 >conftest.err
32934 rm -f conftest.er1
32935 cat conftest.err >&5
32936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32937 (exit $ac_status); } &&
32938 { ac_try='test -z "$ac_c_werror_flag"
32939 || test ! -s conftest.err'
32940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32941 (eval $ac_try) 2>&5
32942 ac_status=$?
32943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32944 (exit $ac_status); }; } &&
32945 { ac_try='test -s conftest$ac_exeext'
32946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32947 (eval $ac_try) 2>&5
32948 ac_status=$?
32949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32950 (exit $ac_status); }; }; then
32951 eval "$as_ac_var=yes"
32952 else
32953 echo "$as_me: failed program was:" >&5
32954 sed 's/^/| /' conftest.$ac_ext >&5
32956 eval "$as_ac_var=no"
32958 rm -f conftest.err conftest.$ac_objext \
32959 conftest$ac_exeext conftest.$ac_ext
32961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32963 if test `eval echo '${'$as_ac_var'}'` = yes; then
32964 cat >>confdefs.h <<_ACEOF
32965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32966 _ACEOF
32969 done
32971 else
32973 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
32974 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
32975 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32976 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
32977 echo $ECHO_N "(cached) $ECHO_C" >&6
32978 else
32982 ac_ext=cc
32983 ac_cpp='$CXXCPP $CPPFLAGS'
32984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32988 cat >conftest.$ac_ext <<_ACEOF
32989 /* confdefs.h. */
32990 _ACEOF
32991 cat confdefs.h >>conftest.$ac_ext
32992 cat >>conftest.$ac_ext <<_ACEOF
32993 /* end confdefs.h. */
32994 #include <math.h>
32996 main ()
32998 _sincos(0, 0, 0);
33000 return 0;
33002 _ACEOF
33003 rm -f conftest.$ac_objext
33004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33005 (eval $ac_compile) 2>conftest.er1
33006 ac_status=$?
33007 grep -v '^ *+' conftest.er1 >conftest.err
33008 rm -f conftest.er1
33009 cat conftest.err >&5
33010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33011 (exit $ac_status); } &&
33012 { ac_try='test -z "$ac_cxx_werror_flag"
33013 || test ! -s conftest.err'
33014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33015 (eval $ac_try) 2>&5
33016 ac_status=$?
33017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33018 (exit $ac_status); }; } &&
33019 { ac_try='test -s conftest.$ac_objext'
33020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33021 (eval $ac_try) 2>&5
33022 ac_status=$?
33023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33024 (exit $ac_status); }; }; then
33025 glibcxx_cv_func__sincos_use=yes
33026 else
33027 echo "$as_me: failed program was:" >&5
33028 sed 's/^/| /' conftest.$ac_ext >&5
33030 glibcxx_cv_func__sincos_use=no
33032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33033 ac_ext=c
33034 ac_cpp='$CPP $CPPFLAGS'
33035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33043 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
33044 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
33046 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33048 for ac_func in _sincos
33050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33051 echo "$as_me:$LINENO: checking for $ac_func" >&5
33052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33053 if eval "test \"\${$as_ac_var+set}\" = set"; then
33054 echo $ECHO_N "(cached) $ECHO_C" >&6
33055 else
33056 if test x$gcc_no_link = xyes; then
33057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33059 { (exit 1); exit 1; }; }
33061 cat >conftest.$ac_ext <<_ACEOF
33062 /* confdefs.h. */
33063 _ACEOF
33064 cat confdefs.h >>conftest.$ac_ext
33065 cat >>conftest.$ac_ext <<_ACEOF
33066 /* end confdefs.h. */
33067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33069 #define $ac_func innocuous_$ac_func
33071 /* System header to define __stub macros and hopefully few prototypes,
33072 which can conflict with char $ac_func (); below.
33073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33074 <limits.h> exists even on freestanding compilers. */
33076 #ifdef __STDC__
33077 # include <limits.h>
33078 #else
33079 # include <assert.h>
33080 #endif
33082 #undef $ac_func
33084 /* Override any gcc2 internal prototype to avoid an error. */
33085 #ifdef __cplusplus
33086 extern "C"
33088 #endif
33089 /* We use char because int might match the return type of a gcc2
33090 builtin and then its argument prototype would still apply. */
33091 char $ac_func ();
33092 /* The GNU C library defines this for functions which it implements
33093 to always fail with ENOSYS. Some functions are actually named
33094 something starting with __ and the normal name is an alias. */
33095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33096 choke me
33097 #else
33098 char (*f) () = $ac_func;
33099 #endif
33100 #ifdef __cplusplus
33102 #endif
33105 main ()
33107 return f != $ac_func;
33109 return 0;
33111 _ACEOF
33112 rm -f conftest.$ac_objext conftest$ac_exeext
33113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33114 (eval $ac_link) 2>conftest.er1
33115 ac_status=$?
33116 grep -v '^ *+' conftest.er1 >conftest.err
33117 rm -f conftest.er1
33118 cat conftest.err >&5
33119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33120 (exit $ac_status); } &&
33121 { ac_try='test -z "$ac_c_werror_flag"
33122 || test ! -s conftest.err'
33123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33124 (eval $ac_try) 2>&5
33125 ac_status=$?
33126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33127 (exit $ac_status); }; } &&
33128 { ac_try='test -s conftest$ac_exeext'
33129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33130 (eval $ac_try) 2>&5
33131 ac_status=$?
33132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33133 (exit $ac_status); }; }; then
33134 eval "$as_ac_var=yes"
33135 else
33136 echo "$as_me: failed program was:" >&5
33137 sed 's/^/| /' conftest.$ac_ext >&5
33139 eval "$as_ac_var=no"
33141 rm -f conftest.err conftest.$ac_objext \
33142 conftest$ac_exeext conftest.$ac_ext
33144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33146 if test `eval echo '${'$as_ac_var'}'` = yes; then
33147 cat >>confdefs.h <<_ACEOF
33148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33149 _ACEOF
33152 done
33162 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
33163 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
33164 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33165 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
33166 echo $ECHO_N "(cached) $ECHO_C" >&6
33167 else
33171 ac_ext=cc
33172 ac_cpp='$CXXCPP $CPPFLAGS'
33173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33177 cat >conftest.$ac_ext <<_ACEOF
33178 /* confdefs.h. */
33179 _ACEOF
33180 cat confdefs.h >>conftest.$ac_ext
33181 cat >>conftest.$ac_ext <<_ACEOF
33182 /* end confdefs.h. */
33183 #include <math.h>
33184 #ifdef HAVE_IEEEFP_H
33185 #include <ieeefp.h>
33186 #endif
33189 main ()
33191 fpclass(0);
33193 return 0;
33195 _ACEOF
33196 rm -f conftest.$ac_objext
33197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33198 (eval $ac_compile) 2>conftest.er1
33199 ac_status=$?
33200 grep -v '^ *+' conftest.er1 >conftest.err
33201 rm -f conftest.er1
33202 cat conftest.err >&5
33203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33204 (exit $ac_status); } &&
33205 { ac_try='test -z "$ac_cxx_werror_flag"
33206 || test ! -s conftest.err'
33207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33208 (eval $ac_try) 2>&5
33209 ac_status=$?
33210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33211 (exit $ac_status); }; } &&
33212 { ac_try='test -s conftest.$ac_objext'
33213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33214 (eval $ac_try) 2>&5
33215 ac_status=$?
33216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33217 (exit $ac_status); }; }; then
33218 glibcxx_cv_func_fpclass_use=yes
33219 else
33220 echo "$as_me: failed program was:" >&5
33221 sed 's/^/| /' conftest.$ac_ext >&5
33223 glibcxx_cv_func_fpclass_use=no
33225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33226 ac_ext=c
33227 ac_cpp='$CPP $CPPFLAGS'
33228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33236 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
33237 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
33239 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33241 for ac_func in fpclass
33243 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33244 echo "$as_me:$LINENO: checking for $ac_func" >&5
33245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33246 if eval "test \"\${$as_ac_var+set}\" = set"; then
33247 echo $ECHO_N "(cached) $ECHO_C" >&6
33248 else
33249 if test x$gcc_no_link = xyes; then
33250 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33252 { (exit 1); exit 1; }; }
33254 cat >conftest.$ac_ext <<_ACEOF
33255 /* confdefs.h. */
33256 _ACEOF
33257 cat confdefs.h >>conftest.$ac_ext
33258 cat >>conftest.$ac_ext <<_ACEOF
33259 /* end confdefs.h. */
33260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33262 #define $ac_func innocuous_$ac_func
33264 /* System header to define __stub macros and hopefully few prototypes,
33265 which can conflict with char $ac_func (); below.
33266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33267 <limits.h> exists even on freestanding compilers. */
33269 #ifdef __STDC__
33270 # include <limits.h>
33271 #else
33272 # include <assert.h>
33273 #endif
33275 #undef $ac_func
33277 /* Override any gcc2 internal prototype to avoid an error. */
33278 #ifdef __cplusplus
33279 extern "C"
33281 #endif
33282 /* We use char because int might match the return type of a gcc2
33283 builtin and then its argument prototype would still apply. */
33284 char $ac_func ();
33285 /* The GNU C library defines this for functions which it implements
33286 to always fail with ENOSYS. Some functions are actually named
33287 something starting with __ and the normal name is an alias. */
33288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33289 choke me
33290 #else
33291 char (*f) () = $ac_func;
33292 #endif
33293 #ifdef __cplusplus
33295 #endif
33298 main ()
33300 return f != $ac_func;
33302 return 0;
33304 _ACEOF
33305 rm -f conftest.$ac_objext conftest$ac_exeext
33306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33307 (eval $ac_link) 2>conftest.er1
33308 ac_status=$?
33309 grep -v '^ *+' conftest.er1 >conftest.err
33310 rm -f conftest.er1
33311 cat conftest.err >&5
33312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33313 (exit $ac_status); } &&
33314 { ac_try='test -z "$ac_c_werror_flag"
33315 || test ! -s conftest.err'
33316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33317 (eval $ac_try) 2>&5
33318 ac_status=$?
33319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33320 (exit $ac_status); }; } &&
33321 { ac_try='test -s conftest$ac_exeext'
33322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33323 (eval $ac_try) 2>&5
33324 ac_status=$?
33325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33326 (exit $ac_status); }; }; then
33327 eval "$as_ac_var=yes"
33328 else
33329 echo "$as_me: failed program was:" >&5
33330 sed 's/^/| /' conftest.$ac_ext >&5
33332 eval "$as_ac_var=no"
33334 rm -f conftest.err conftest.$ac_objext \
33335 conftest$ac_exeext conftest.$ac_ext
33337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33339 if test `eval echo '${'$as_ac_var'}'` = yes; then
33340 cat >>confdefs.h <<_ACEOF
33341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33342 _ACEOF
33345 done
33347 else
33349 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
33350 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
33351 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33352 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
33353 echo $ECHO_N "(cached) $ECHO_C" >&6
33354 else
33358 ac_ext=cc
33359 ac_cpp='$CXXCPP $CPPFLAGS'
33360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33364 cat >conftest.$ac_ext <<_ACEOF
33365 /* confdefs.h. */
33366 _ACEOF
33367 cat confdefs.h >>conftest.$ac_ext
33368 cat >>conftest.$ac_ext <<_ACEOF
33369 /* end confdefs.h. */
33370 #include <math.h>
33371 #ifdef HAVE_IEEEFP_H
33372 #include <ieeefp.h>
33373 #endif
33376 main ()
33378 _fpclass(0);
33380 return 0;
33382 _ACEOF
33383 rm -f conftest.$ac_objext
33384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33385 (eval $ac_compile) 2>conftest.er1
33386 ac_status=$?
33387 grep -v '^ *+' conftest.er1 >conftest.err
33388 rm -f conftest.er1
33389 cat conftest.err >&5
33390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33391 (exit $ac_status); } &&
33392 { ac_try='test -z "$ac_cxx_werror_flag"
33393 || test ! -s conftest.err'
33394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33395 (eval $ac_try) 2>&5
33396 ac_status=$?
33397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33398 (exit $ac_status); }; } &&
33399 { ac_try='test -s conftest.$ac_objext'
33400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33401 (eval $ac_try) 2>&5
33402 ac_status=$?
33403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33404 (exit $ac_status); }; }; then
33405 glibcxx_cv_func__fpclass_use=yes
33406 else
33407 echo "$as_me: failed program was:" >&5
33408 sed 's/^/| /' conftest.$ac_ext >&5
33410 glibcxx_cv_func__fpclass_use=no
33412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33413 ac_ext=c
33414 ac_cpp='$CPP $CPPFLAGS'
33415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33423 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
33424 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
33426 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33428 for ac_func in _fpclass
33430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33431 echo "$as_me:$LINENO: checking for $ac_func" >&5
33432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33433 if eval "test \"\${$as_ac_var+set}\" = set"; then
33434 echo $ECHO_N "(cached) $ECHO_C" >&6
33435 else
33436 if test x$gcc_no_link = xyes; then
33437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33439 { (exit 1); exit 1; }; }
33441 cat >conftest.$ac_ext <<_ACEOF
33442 /* confdefs.h. */
33443 _ACEOF
33444 cat confdefs.h >>conftest.$ac_ext
33445 cat >>conftest.$ac_ext <<_ACEOF
33446 /* end confdefs.h. */
33447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33449 #define $ac_func innocuous_$ac_func
33451 /* System header to define __stub macros and hopefully few prototypes,
33452 which can conflict with char $ac_func (); below.
33453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33454 <limits.h> exists even on freestanding compilers. */
33456 #ifdef __STDC__
33457 # include <limits.h>
33458 #else
33459 # include <assert.h>
33460 #endif
33462 #undef $ac_func
33464 /* Override any gcc2 internal prototype to avoid an error. */
33465 #ifdef __cplusplus
33466 extern "C"
33468 #endif
33469 /* We use char because int might match the return type of a gcc2
33470 builtin and then its argument prototype would still apply. */
33471 char $ac_func ();
33472 /* The GNU C library defines this for functions which it implements
33473 to always fail with ENOSYS. Some functions are actually named
33474 something starting with __ and the normal name is an alias. */
33475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33476 choke me
33477 #else
33478 char (*f) () = $ac_func;
33479 #endif
33480 #ifdef __cplusplus
33482 #endif
33485 main ()
33487 return f != $ac_func;
33489 return 0;
33491 _ACEOF
33492 rm -f conftest.$ac_objext conftest$ac_exeext
33493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33494 (eval $ac_link) 2>conftest.er1
33495 ac_status=$?
33496 grep -v '^ *+' conftest.er1 >conftest.err
33497 rm -f conftest.er1
33498 cat conftest.err >&5
33499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33500 (exit $ac_status); } &&
33501 { ac_try='test -z "$ac_c_werror_flag"
33502 || test ! -s conftest.err'
33503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33504 (eval $ac_try) 2>&5
33505 ac_status=$?
33506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33507 (exit $ac_status); }; } &&
33508 { ac_try='test -s conftest$ac_exeext'
33509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33510 (eval $ac_try) 2>&5
33511 ac_status=$?
33512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33513 (exit $ac_status); }; }; then
33514 eval "$as_ac_var=yes"
33515 else
33516 echo "$as_me: failed program was:" >&5
33517 sed 's/^/| /' conftest.$ac_ext >&5
33519 eval "$as_ac_var=no"
33521 rm -f conftest.err conftest.$ac_objext \
33522 conftest$ac_exeext conftest.$ac_ext
33524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33526 if test `eval echo '${'$as_ac_var'}'` = yes; then
33527 cat >>confdefs.h <<_ACEOF
33528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33529 _ACEOF
33532 done
33542 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
33543 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
33544 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33545 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
33546 echo $ECHO_N "(cached) $ECHO_C" >&6
33547 else
33551 ac_ext=cc
33552 ac_cpp='$CXXCPP $CPPFLAGS'
33553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33557 cat >conftest.$ac_ext <<_ACEOF
33558 /* confdefs.h. */
33559 _ACEOF
33560 cat confdefs.h >>conftest.$ac_ext
33561 cat >>conftest.$ac_ext <<_ACEOF
33562 /* end confdefs.h. */
33563 #include <math.h>
33564 #ifdef HAVE_IEEEFP_H
33565 #include <ieeefp.h>
33566 #endif
33569 main ()
33571 qfpclass(0);
33573 return 0;
33575 _ACEOF
33576 rm -f conftest.$ac_objext
33577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33578 (eval $ac_compile) 2>conftest.er1
33579 ac_status=$?
33580 grep -v '^ *+' conftest.er1 >conftest.err
33581 rm -f conftest.er1
33582 cat conftest.err >&5
33583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33584 (exit $ac_status); } &&
33585 { ac_try='test -z "$ac_cxx_werror_flag"
33586 || test ! -s conftest.err'
33587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33588 (eval $ac_try) 2>&5
33589 ac_status=$?
33590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33591 (exit $ac_status); }; } &&
33592 { ac_try='test -s conftest.$ac_objext'
33593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33594 (eval $ac_try) 2>&5
33595 ac_status=$?
33596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33597 (exit $ac_status); }; }; then
33598 glibcxx_cv_func_qfpclass_use=yes
33599 else
33600 echo "$as_me: failed program was:" >&5
33601 sed 's/^/| /' conftest.$ac_ext >&5
33603 glibcxx_cv_func_qfpclass_use=no
33605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33606 ac_ext=c
33607 ac_cpp='$CPP $CPPFLAGS'
33608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33616 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
33617 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
33619 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33621 for ac_func in qfpclass
33623 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33624 echo "$as_me:$LINENO: checking for $ac_func" >&5
33625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33626 if eval "test \"\${$as_ac_var+set}\" = set"; then
33627 echo $ECHO_N "(cached) $ECHO_C" >&6
33628 else
33629 if test x$gcc_no_link = xyes; then
33630 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33632 { (exit 1); exit 1; }; }
33634 cat >conftest.$ac_ext <<_ACEOF
33635 /* confdefs.h. */
33636 _ACEOF
33637 cat confdefs.h >>conftest.$ac_ext
33638 cat >>conftest.$ac_ext <<_ACEOF
33639 /* end confdefs.h. */
33640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33642 #define $ac_func innocuous_$ac_func
33644 /* System header to define __stub macros and hopefully few prototypes,
33645 which can conflict with char $ac_func (); below.
33646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33647 <limits.h> exists even on freestanding compilers. */
33649 #ifdef __STDC__
33650 # include <limits.h>
33651 #else
33652 # include <assert.h>
33653 #endif
33655 #undef $ac_func
33657 /* Override any gcc2 internal prototype to avoid an error. */
33658 #ifdef __cplusplus
33659 extern "C"
33661 #endif
33662 /* We use char because int might match the return type of a gcc2
33663 builtin and then its argument prototype would still apply. */
33664 char $ac_func ();
33665 /* The GNU C library defines this for functions which it implements
33666 to always fail with ENOSYS. Some functions are actually named
33667 something starting with __ and the normal name is an alias. */
33668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33669 choke me
33670 #else
33671 char (*f) () = $ac_func;
33672 #endif
33673 #ifdef __cplusplus
33675 #endif
33678 main ()
33680 return f != $ac_func;
33682 return 0;
33684 _ACEOF
33685 rm -f conftest.$ac_objext conftest$ac_exeext
33686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33687 (eval $ac_link) 2>conftest.er1
33688 ac_status=$?
33689 grep -v '^ *+' conftest.er1 >conftest.err
33690 rm -f conftest.er1
33691 cat conftest.err >&5
33692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33693 (exit $ac_status); } &&
33694 { ac_try='test -z "$ac_c_werror_flag"
33695 || test ! -s conftest.err'
33696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33697 (eval $ac_try) 2>&5
33698 ac_status=$?
33699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33700 (exit $ac_status); }; } &&
33701 { ac_try='test -s conftest$ac_exeext'
33702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33703 (eval $ac_try) 2>&5
33704 ac_status=$?
33705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33706 (exit $ac_status); }; }; then
33707 eval "$as_ac_var=yes"
33708 else
33709 echo "$as_me: failed program was:" >&5
33710 sed 's/^/| /' conftest.$ac_ext >&5
33712 eval "$as_ac_var=no"
33714 rm -f conftest.err conftest.$ac_objext \
33715 conftest$ac_exeext conftest.$ac_ext
33717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33719 if test `eval echo '${'$as_ac_var'}'` = yes; then
33720 cat >>confdefs.h <<_ACEOF
33721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33722 _ACEOF
33725 done
33727 else
33729 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
33730 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
33731 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33732 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
33733 echo $ECHO_N "(cached) $ECHO_C" >&6
33734 else
33738 ac_ext=cc
33739 ac_cpp='$CXXCPP $CPPFLAGS'
33740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33744 cat >conftest.$ac_ext <<_ACEOF
33745 /* confdefs.h. */
33746 _ACEOF
33747 cat confdefs.h >>conftest.$ac_ext
33748 cat >>conftest.$ac_ext <<_ACEOF
33749 /* end confdefs.h. */
33750 #include <math.h>
33751 #ifdef HAVE_IEEEFP_H
33752 #include <ieeefp.h>
33753 #endif
33756 main ()
33758 _qfpclass(0);
33760 return 0;
33762 _ACEOF
33763 rm -f conftest.$ac_objext
33764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33765 (eval $ac_compile) 2>conftest.er1
33766 ac_status=$?
33767 grep -v '^ *+' conftest.er1 >conftest.err
33768 rm -f conftest.er1
33769 cat conftest.err >&5
33770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33771 (exit $ac_status); } &&
33772 { ac_try='test -z "$ac_cxx_werror_flag"
33773 || test ! -s conftest.err'
33774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33775 (eval $ac_try) 2>&5
33776 ac_status=$?
33777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33778 (exit $ac_status); }; } &&
33779 { ac_try='test -s conftest.$ac_objext'
33780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33781 (eval $ac_try) 2>&5
33782 ac_status=$?
33783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33784 (exit $ac_status); }; }; then
33785 glibcxx_cv_func__qfpclass_use=yes
33786 else
33787 echo "$as_me: failed program was:" >&5
33788 sed 's/^/| /' conftest.$ac_ext >&5
33790 glibcxx_cv_func__qfpclass_use=no
33792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33793 ac_ext=c
33794 ac_cpp='$CPP $CPPFLAGS'
33795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33803 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
33804 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
33806 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33808 for ac_func in _qfpclass
33810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33811 echo "$as_me:$LINENO: checking for $ac_func" >&5
33812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33813 if eval "test \"\${$as_ac_var+set}\" = set"; then
33814 echo $ECHO_N "(cached) $ECHO_C" >&6
33815 else
33816 if test x$gcc_no_link = xyes; then
33817 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33819 { (exit 1); exit 1; }; }
33821 cat >conftest.$ac_ext <<_ACEOF
33822 /* confdefs.h. */
33823 _ACEOF
33824 cat confdefs.h >>conftest.$ac_ext
33825 cat >>conftest.$ac_ext <<_ACEOF
33826 /* end confdefs.h. */
33827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33829 #define $ac_func innocuous_$ac_func
33831 /* System header to define __stub macros and hopefully few prototypes,
33832 which can conflict with char $ac_func (); below.
33833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33834 <limits.h> exists even on freestanding compilers. */
33836 #ifdef __STDC__
33837 # include <limits.h>
33838 #else
33839 # include <assert.h>
33840 #endif
33842 #undef $ac_func
33844 /* Override any gcc2 internal prototype to avoid an error. */
33845 #ifdef __cplusplus
33846 extern "C"
33848 #endif
33849 /* We use char because int might match the return type of a gcc2
33850 builtin and then its argument prototype would still apply. */
33851 char $ac_func ();
33852 /* The GNU C library defines this for functions which it implements
33853 to always fail with ENOSYS. Some functions are actually named
33854 something starting with __ and the normal name is an alias. */
33855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33856 choke me
33857 #else
33858 char (*f) () = $ac_func;
33859 #endif
33860 #ifdef __cplusplus
33862 #endif
33865 main ()
33867 return f != $ac_func;
33869 return 0;
33871 _ACEOF
33872 rm -f conftest.$ac_objext conftest$ac_exeext
33873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33874 (eval $ac_link) 2>conftest.er1
33875 ac_status=$?
33876 grep -v '^ *+' conftest.er1 >conftest.err
33877 rm -f conftest.er1
33878 cat conftest.err >&5
33879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33880 (exit $ac_status); } &&
33881 { ac_try='test -z "$ac_c_werror_flag"
33882 || test ! -s conftest.err'
33883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33884 (eval $ac_try) 2>&5
33885 ac_status=$?
33886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33887 (exit $ac_status); }; } &&
33888 { ac_try='test -s conftest$ac_exeext'
33889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33890 (eval $ac_try) 2>&5
33891 ac_status=$?
33892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33893 (exit $ac_status); }; }; then
33894 eval "$as_ac_var=yes"
33895 else
33896 echo "$as_me: failed program was:" >&5
33897 sed 's/^/| /' conftest.$ac_ext >&5
33899 eval "$as_ac_var=no"
33901 rm -f conftest.err conftest.$ac_objext \
33902 conftest$ac_exeext conftest.$ac_ext
33904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33905 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33906 if test `eval echo '${'$as_ac_var'}'` = yes; then
33907 cat >>confdefs.h <<_ACEOF
33908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33909 _ACEOF
33912 done
33922 echo "$as_me:$LINENO: checking for hypot declaration" >&5
33923 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
33924 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33925 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
33926 echo $ECHO_N "(cached) $ECHO_C" >&6
33927 else
33931 ac_ext=cc
33932 ac_cpp='$CXXCPP $CPPFLAGS'
33933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33937 cat >conftest.$ac_ext <<_ACEOF
33938 /* confdefs.h. */
33939 _ACEOF
33940 cat confdefs.h >>conftest.$ac_ext
33941 cat >>conftest.$ac_ext <<_ACEOF
33942 /* end confdefs.h. */
33943 #include <math.h>
33945 main ()
33947 hypot(0, 0);
33949 return 0;
33951 _ACEOF
33952 rm -f conftest.$ac_objext
33953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33954 (eval $ac_compile) 2>conftest.er1
33955 ac_status=$?
33956 grep -v '^ *+' conftest.er1 >conftest.err
33957 rm -f conftest.er1
33958 cat conftest.err >&5
33959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33960 (exit $ac_status); } &&
33961 { ac_try='test -z "$ac_cxx_werror_flag"
33962 || test ! -s conftest.err'
33963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33964 (eval $ac_try) 2>&5
33965 ac_status=$?
33966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33967 (exit $ac_status); }; } &&
33968 { ac_try='test -s conftest.$ac_objext'
33969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33970 (eval $ac_try) 2>&5
33971 ac_status=$?
33972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33973 (exit $ac_status); }; }; then
33974 glibcxx_cv_func_hypot_use=yes
33975 else
33976 echo "$as_me: failed program was:" >&5
33977 sed 's/^/| /' conftest.$ac_ext >&5
33979 glibcxx_cv_func_hypot_use=no
33981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33982 ac_ext=c
33983 ac_cpp='$CPP $CPPFLAGS'
33984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33992 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
33993 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
33995 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33997 for ac_func in hypot
33999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34000 echo "$as_me:$LINENO: checking for $ac_func" >&5
34001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34002 if eval "test \"\${$as_ac_var+set}\" = set"; then
34003 echo $ECHO_N "(cached) $ECHO_C" >&6
34004 else
34005 if test x$gcc_no_link = xyes; then
34006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34008 { (exit 1); exit 1; }; }
34010 cat >conftest.$ac_ext <<_ACEOF
34011 /* confdefs.h. */
34012 _ACEOF
34013 cat confdefs.h >>conftest.$ac_ext
34014 cat >>conftest.$ac_ext <<_ACEOF
34015 /* end confdefs.h. */
34016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34018 #define $ac_func innocuous_$ac_func
34020 /* System header to define __stub macros and hopefully few prototypes,
34021 which can conflict with char $ac_func (); below.
34022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34023 <limits.h> exists even on freestanding compilers. */
34025 #ifdef __STDC__
34026 # include <limits.h>
34027 #else
34028 # include <assert.h>
34029 #endif
34031 #undef $ac_func
34033 /* Override any gcc2 internal prototype to avoid an error. */
34034 #ifdef __cplusplus
34035 extern "C"
34037 #endif
34038 /* We use char because int might match the return type of a gcc2
34039 builtin and then its argument prototype would still apply. */
34040 char $ac_func ();
34041 /* The GNU C library defines this for functions which it implements
34042 to always fail with ENOSYS. Some functions are actually named
34043 something starting with __ and the normal name is an alias. */
34044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34045 choke me
34046 #else
34047 char (*f) () = $ac_func;
34048 #endif
34049 #ifdef __cplusplus
34051 #endif
34054 main ()
34056 return f != $ac_func;
34058 return 0;
34060 _ACEOF
34061 rm -f conftest.$ac_objext conftest$ac_exeext
34062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34063 (eval $ac_link) 2>conftest.er1
34064 ac_status=$?
34065 grep -v '^ *+' conftest.er1 >conftest.err
34066 rm -f conftest.er1
34067 cat conftest.err >&5
34068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34069 (exit $ac_status); } &&
34070 { ac_try='test -z "$ac_c_werror_flag"
34071 || test ! -s conftest.err'
34072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34073 (eval $ac_try) 2>&5
34074 ac_status=$?
34075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34076 (exit $ac_status); }; } &&
34077 { ac_try='test -s conftest$ac_exeext'
34078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34079 (eval $ac_try) 2>&5
34080 ac_status=$?
34081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34082 (exit $ac_status); }; }; then
34083 eval "$as_ac_var=yes"
34084 else
34085 echo "$as_me: failed program was:" >&5
34086 sed 's/^/| /' conftest.$ac_ext >&5
34088 eval "$as_ac_var=no"
34090 rm -f conftest.err conftest.$ac_objext \
34091 conftest$ac_exeext conftest.$ac_ext
34093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34095 if test `eval echo '${'$as_ac_var'}'` = yes; then
34096 cat >>confdefs.h <<_ACEOF
34097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34098 _ACEOF
34101 done
34103 else
34105 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
34106 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
34107 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34108 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
34109 echo $ECHO_N "(cached) $ECHO_C" >&6
34110 else
34114 ac_ext=cc
34115 ac_cpp='$CXXCPP $CPPFLAGS'
34116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34120 cat >conftest.$ac_ext <<_ACEOF
34121 /* confdefs.h. */
34122 _ACEOF
34123 cat confdefs.h >>conftest.$ac_ext
34124 cat >>conftest.$ac_ext <<_ACEOF
34125 /* end confdefs.h. */
34126 #include <math.h>
34128 main ()
34130 _hypot(0, 0);
34132 return 0;
34134 _ACEOF
34135 rm -f conftest.$ac_objext
34136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34137 (eval $ac_compile) 2>conftest.er1
34138 ac_status=$?
34139 grep -v '^ *+' conftest.er1 >conftest.err
34140 rm -f conftest.er1
34141 cat conftest.err >&5
34142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34143 (exit $ac_status); } &&
34144 { ac_try='test -z "$ac_cxx_werror_flag"
34145 || test ! -s conftest.err'
34146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34147 (eval $ac_try) 2>&5
34148 ac_status=$?
34149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34150 (exit $ac_status); }; } &&
34151 { ac_try='test -s conftest.$ac_objext'
34152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34153 (eval $ac_try) 2>&5
34154 ac_status=$?
34155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34156 (exit $ac_status); }; }; then
34157 glibcxx_cv_func__hypot_use=yes
34158 else
34159 echo "$as_me: failed program was:" >&5
34160 sed 's/^/| /' conftest.$ac_ext >&5
34162 glibcxx_cv_func__hypot_use=no
34164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34165 ac_ext=c
34166 ac_cpp='$CPP $CPPFLAGS'
34167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34175 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
34176 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
34178 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34180 for ac_func in _hypot
34182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34183 echo "$as_me:$LINENO: checking for $ac_func" >&5
34184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34185 if eval "test \"\${$as_ac_var+set}\" = set"; then
34186 echo $ECHO_N "(cached) $ECHO_C" >&6
34187 else
34188 if test x$gcc_no_link = xyes; then
34189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34191 { (exit 1); exit 1; }; }
34193 cat >conftest.$ac_ext <<_ACEOF
34194 /* confdefs.h. */
34195 _ACEOF
34196 cat confdefs.h >>conftest.$ac_ext
34197 cat >>conftest.$ac_ext <<_ACEOF
34198 /* end confdefs.h. */
34199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34201 #define $ac_func innocuous_$ac_func
34203 /* System header to define __stub macros and hopefully few prototypes,
34204 which can conflict with char $ac_func (); below.
34205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34206 <limits.h> exists even on freestanding compilers. */
34208 #ifdef __STDC__
34209 # include <limits.h>
34210 #else
34211 # include <assert.h>
34212 #endif
34214 #undef $ac_func
34216 /* Override any gcc2 internal prototype to avoid an error. */
34217 #ifdef __cplusplus
34218 extern "C"
34220 #endif
34221 /* We use char because int might match the return type of a gcc2
34222 builtin and then its argument prototype would still apply. */
34223 char $ac_func ();
34224 /* The GNU C library defines this for functions which it implements
34225 to always fail with ENOSYS. Some functions are actually named
34226 something starting with __ and the normal name is an alias. */
34227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34228 choke me
34229 #else
34230 char (*f) () = $ac_func;
34231 #endif
34232 #ifdef __cplusplus
34234 #endif
34237 main ()
34239 return f != $ac_func;
34241 return 0;
34243 _ACEOF
34244 rm -f conftest.$ac_objext conftest$ac_exeext
34245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34246 (eval $ac_link) 2>conftest.er1
34247 ac_status=$?
34248 grep -v '^ *+' conftest.er1 >conftest.err
34249 rm -f conftest.er1
34250 cat conftest.err >&5
34251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34252 (exit $ac_status); } &&
34253 { ac_try='test -z "$ac_c_werror_flag"
34254 || test ! -s conftest.err'
34255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34256 (eval $ac_try) 2>&5
34257 ac_status=$?
34258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34259 (exit $ac_status); }; } &&
34260 { ac_try='test -s conftest$ac_exeext'
34261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34262 (eval $ac_try) 2>&5
34263 ac_status=$?
34264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34265 (exit $ac_status); }; }; then
34266 eval "$as_ac_var=yes"
34267 else
34268 echo "$as_me: failed program was:" >&5
34269 sed 's/^/| /' conftest.$ac_ext >&5
34271 eval "$as_ac_var=no"
34273 rm -f conftest.err conftest.$ac_objext \
34274 conftest$ac_exeext conftest.$ac_ext
34276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34278 if test `eval echo '${'$as_ac_var'}'` = yes; then
34279 cat >>confdefs.h <<_ACEOF
34280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34281 _ACEOF
34284 done
34294 echo "$as_me:$LINENO: checking for float trig functions" >&5
34295 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
34296 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
34297 echo $ECHO_N "(cached) $ECHO_C" >&6
34298 else
34302 ac_ext=cc
34303 ac_cpp='$CXXCPP $CPPFLAGS'
34304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34308 cat >conftest.$ac_ext <<_ACEOF
34309 /* confdefs.h. */
34310 _ACEOF
34311 cat confdefs.h >>conftest.$ac_ext
34312 cat >>conftest.$ac_ext <<_ACEOF
34313 /* end confdefs.h. */
34314 #include <math.h>
34316 main ()
34318 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34320 return 0;
34322 _ACEOF
34323 rm -f conftest.$ac_objext
34324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34325 (eval $ac_compile) 2>conftest.er1
34326 ac_status=$?
34327 grep -v '^ *+' conftest.er1 >conftest.err
34328 rm -f conftest.er1
34329 cat conftest.err >&5
34330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34331 (exit $ac_status); } &&
34332 { ac_try='test -z "$ac_cxx_werror_flag"
34333 || test ! -s conftest.err'
34334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34335 (eval $ac_try) 2>&5
34336 ac_status=$?
34337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34338 (exit $ac_status); }; } &&
34339 { ac_try='test -s conftest.$ac_objext'
34340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34341 (eval $ac_try) 2>&5
34342 ac_status=$?
34343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34344 (exit $ac_status); }; }; then
34345 glibcxx_cv_func_float_trig_use=yes
34346 else
34347 echo "$as_me: failed program was:" >&5
34348 sed 's/^/| /' conftest.$ac_ext >&5
34350 glibcxx_cv_func_float_trig_use=no
34352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34353 ac_ext=c
34354 ac_cpp='$CPP $CPPFLAGS'
34355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34361 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
34362 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
34363 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34373 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34375 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34376 echo "$as_me:$LINENO: checking for $ac_func" >&5
34377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34378 if eval "test \"\${$as_ac_var+set}\" = set"; then
34379 echo $ECHO_N "(cached) $ECHO_C" >&6
34380 else
34381 if test x$gcc_no_link = xyes; then
34382 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34383 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34384 { (exit 1); exit 1; }; }
34386 cat >conftest.$ac_ext <<_ACEOF
34387 /* confdefs.h. */
34388 _ACEOF
34389 cat confdefs.h >>conftest.$ac_ext
34390 cat >>conftest.$ac_ext <<_ACEOF
34391 /* end confdefs.h. */
34392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34394 #define $ac_func innocuous_$ac_func
34396 /* System header to define __stub macros and hopefully few prototypes,
34397 which can conflict with char $ac_func (); below.
34398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34399 <limits.h> exists even on freestanding compilers. */
34401 #ifdef __STDC__
34402 # include <limits.h>
34403 #else
34404 # include <assert.h>
34405 #endif
34407 #undef $ac_func
34409 /* Override any gcc2 internal prototype to avoid an error. */
34410 #ifdef __cplusplus
34411 extern "C"
34413 #endif
34414 /* We use char because int might match the return type of a gcc2
34415 builtin and then its argument prototype would still apply. */
34416 char $ac_func ();
34417 /* The GNU C library defines this for functions which it implements
34418 to always fail with ENOSYS. Some functions are actually named
34419 something starting with __ and the normal name is an alias. */
34420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34421 choke me
34422 #else
34423 char (*f) () = $ac_func;
34424 #endif
34425 #ifdef __cplusplus
34427 #endif
34430 main ()
34432 return f != $ac_func;
34434 return 0;
34436 _ACEOF
34437 rm -f conftest.$ac_objext conftest$ac_exeext
34438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34439 (eval $ac_link) 2>conftest.er1
34440 ac_status=$?
34441 grep -v '^ *+' conftest.er1 >conftest.err
34442 rm -f conftest.er1
34443 cat conftest.err >&5
34444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34445 (exit $ac_status); } &&
34446 { ac_try='test -z "$ac_c_werror_flag"
34447 || test ! -s conftest.err'
34448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34449 (eval $ac_try) 2>&5
34450 ac_status=$?
34451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34452 (exit $ac_status); }; } &&
34453 { ac_try='test -s conftest$ac_exeext'
34454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34455 (eval $ac_try) 2>&5
34456 ac_status=$?
34457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34458 (exit $ac_status); }; }; then
34459 eval "$as_ac_var=yes"
34460 else
34461 echo "$as_me: failed program was:" >&5
34462 sed 's/^/| /' conftest.$ac_ext >&5
34464 eval "$as_ac_var=no"
34466 rm -f conftest.err conftest.$ac_objext \
34467 conftest$ac_exeext conftest.$ac_ext
34469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34471 if test `eval echo '${'$as_ac_var'}'` = yes; then
34472 cat >>confdefs.h <<_ACEOF
34473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34474 _ACEOF
34477 done
34479 else
34480 echo "$as_me:$LINENO: checking for _float trig functions" >&5
34481 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
34482 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
34483 echo $ECHO_N "(cached) $ECHO_C" >&6
34484 else
34488 ac_ext=cc
34489 ac_cpp='$CXXCPP $CPPFLAGS'
34490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34494 cat >conftest.$ac_ext <<_ACEOF
34495 /* confdefs.h. */
34496 _ACEOF
34497 cat confdefs.h >>conftest.$ac_ext
34498 cat >>conftest.$ac_ext <<_ACEOF
34499 /* end confdefs.h. */
34500 #include <math.h>
34502 main ()
34504 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34506 return 0;
34508 _ACEOF
34509 rm -f conftest.$ac_objext
34510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34511 (eval $ac_compile) 2>conftest.er1
34512 ac_status=$?
34513 grep -v '^ *+' conftest.er1 >conftest.err
34514 rm -f conftest.er1
34515 cat conftest.err >&5
34516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34517 (exit $ac_status); } &&
34518 { ac_try='test -z "$ac_cxx_werror_flag"
34519 || test ! -s conftest.err'
34520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34521 (eval $ac_try) 2>&5
34522 ac_status=$?
34523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34524 (exit $ac_status); }; } &&
34525 { ac_try='test -s conftest.$ac_objext'
34526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34527 (eval $ac_try) 2>&5
34528 ac_status=$?
34529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34530 (exit $ac_status); }; }; then
34531 glibcxx_cv_func__float_trig_use=yes
34532 else
34533 echo "$as_me: failed program was:" >&5
34534 sed 's/^/| /' conftest.$ac_ext >&5
34536 glibcxx_cv_func__float_trig_use=no
34538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34539 ac_ext=c
34540 ac_cpp='$CPP $CPPFLAGS'
34541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34547 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
34548 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
34549 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34559 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34562 echo "$as_me:$LINENO: checking for $ac_func" >&5
34563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34564 if eval "test \"\${$as_ac_var+set}\" = set"; then
34565 echo $ECHO_N "(cached) $ECHO_C" >&6
34566 else
34567 if test x$gcc_no_link = xyes; then
34568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34570 { (exit 1); exit 1; }; }
34572 cat >conftest.$ac_ext <<_ACEOF
34573 /* confdefs.h. */
34574 _ACEOF
34575 cat confdefs.h >>conftest.$ac_ext
34576 cat >>conftest.$ac_ext <<_ACEOF
34577 /* end confdefs.h. */
34578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34580 #define $ac_func innocuous_$ac_func
34582 /* System header to define __stub macros and hopefully few prototypes,
34583 which can conflict with char $ac_func (); below.
34584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34585 <limits.h> exists even on freestanding compilers. */
34587 #ifdef __STDC__
34588 # include <limits.h>
34589 #else
34590 # include <assert.h>
34591 #endif
34593 #undef $ac_func
34595 /* Override any gcc2 internal prototype to avoid an error. */
34596 #ifdef __cplusplus
34597 extern "C"
34599 #endif
34600 /* We use char because int might match the return type of a gcc2
34601 builtin and then its argument prototype would still apply. */
34602 char $ac_func ();
34603 /* The GNU C library defines this for functions which it implements
34604 to always fail with ENOSYS. Some functions are actually named
34605 something starting with __ and the normal name is an alias. */
34606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34607 choke me
34608 #else
34609 char (*f) () = $ac_func;
34610 #endif
34611 #ifdef __cplusplus
34613 #endif
34616 main ()
34618 return f != $ac_func;
34620 return 0;
34622 _ACEOF
34623 rm -f conftest.$ac_objext conftest$ac_exeext
34624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34625 (eval $ac_link) 2>conftest.er1
34626 ac_status=$?
34627 grep -v '^ *+' conftest.er1 >conftest.err
34628 rm -f conftest.er1
34629 cat conftest.err >&5
34630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34631 (exit $ac_status); } &&
34632 { ac_try='test -z "$ac_c_werror_flag"
34633 || test ! -s conftest.err'
34634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34635 (eval $ac_try) 2>&5
34636 ac_status=$?
34637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34638 (exit $ac_status); }; } &&
34639 { ac_try='test -s conftest$ac_exeext'
34640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34641 (eval $ac_try) 2>&5
34642 ac_status=$?
34643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34644 (exit $ac_status); }; }; then
34645 eval "$as_ac_var=yes"
34646 else
34647 echo "$as_me: failed program was:" >&5
34648 sed 's/^/| /' conftest.$ac_ext >&5
34650 eval "$as_ac_var=no"
34652 rm -f conftest.err conftest.$ac_objext \
34653 conftest$ac_exeext conftest.$ac_ext
34655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34657 if test `eval echo '${'$as_ac_var'}'` = yes; then
34658 cat >>confdefs.h <<_ACEOF
34659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34660 _ACEOF
34663 done
34681 echo "$as_me:$LINENO: checking for float round functions" >&5
34682 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
34683 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
34684 echo $ECHO_N "(cached) $ECHO_C" >&6
34685 else
34689 ac_ext=cc
34690 ac_cpp='$CXXCPP $CPPFLAGS'
34691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34695 cat >conftest.$ac_ext <<_ACEOF
34696 /* confdefs.h. */
34697 _ACEOF
34698 cat confdefs.h >>conftest.$ac_ext
34699 cat >>conftest.$ac_ext <<_ACEOF
34700 /* end confdefs.h. */
34701 #include <math.h>
34703 main ()
34705 ceilf (0); floorf (0);
34707 return 0;
34709 _ACEOF
34710 rm -f conftest.$ac_objext
34711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34712 (eval $ac_compile) 2>conftest.er1
34713 ac_status=$?
34714 grep -v '^ *+' conftest.er1 >conftest.err
34715 rm -f conftest.er1
34716 cat conftest.err >&5
34717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34718 (exit $ac_status); } &&
34719 { ac_try='test -z "$ac_cxx_werror_flag"
34720 || test ! -s conftest.err'
34721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34722 (eval $ac_try) 2>&5
34723 ac_status=$?
34724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34725 (exit $ac_status); }; } &&
34726 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
34732 glibcxx_cv_func_float_round_use=yes
34733 else
34734 echo "$as_me: failed program was:" >&5
34735 sed 's/^/| /' conftest.$ac_ext >&5
34737 glibcxx_cv_func_float_round_use=no
34739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34740 ac_ext=c
34741 ac_cpp='$CPP $CPPFLAGS'
34742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34748 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
34749 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
34750 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34753 for ac_func in ceilf floorf
34755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34756 echo "$as_me:$LINENO: checking for $ac_func" >&5
34757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34758 if eval "test \"\${$as_ac_var+set}\" = set"; then
34759 echo $ECHO_N "(cached) $ECHO_C" >&6
34760 else
34761 if test x$gcc_no_link = xyes; then
34762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34764 { (exit 1); exit 1; }; }
34766 cat >conftest.$ac_ext <<_ACEOF
34767 /* confdefs.h. */
34768 _ACEOF
34769 cat confdefs.h >>conftest.$ac_ext
34770 cat >>conftest.$ac_ext <<_ACEOF
34771 /* end confdefs.h. */
34772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34774 #define $ac_func innocuous_$ac_func
34776 /* System header to define __stub macros and hopefully few prototypes,
34777 which can conflict with char $ac_func (); below.
34778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34779 <limits.h> exists even on freestanding compilers. */
34781 #ifdef __STDC__
34782 # include <limits.h>
34783 #else
34784 # include <assert.h>
34785 #endif
34787 #undef $ac_func
34789 /* Override any gcc2 internal prototype to avoid an error. */
34790 #ifdef __cplusplus
34791 extern "C"
34793 #endif
34794 /* We use char because int might match the return type of a gcc2
34795 builtin and then its argument prototype would still apply. */
34796 char $ac_func ();
34797 /* The GNU C library defines this for functions which it implements
34798 to always fail with ENOSYS. Some functions are actually named
34799 something starting with __ and the normal name is an alias. */
34800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34801 choke me
34802 #else
34803 char (*f) () = $ac_func;
34804 #endif
34805 #ifdef __cplusplus
34807 #endif
34810 main ()
34812 return f != $ac_func;
34814 return 0;
34816 _ACEOF
34817 rm -f conftest.$ac_objext conftest$ac_exeext
34818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34819 (eval $ac_link) 2>conftest.er1
34820 ac_status=$?
34821 grep -v '^ *+' conftest.er1 >conftest.err
34822 rm -f conftest.er1
34823 cat conftest.err >&5
34824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34825 (exit $ac_status); } &&
34826 { ac_try='test -z "$ac_c_werror_flag"
34827 || test ! -s conftest.err'
34828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34829 (eval $ac_try) 2>&5
34830 ac_status=$?
34831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34832 (exit $ac_status); }; } &&
34833 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
34839 eval "$as_ac_var=yes"
34840 else
34841 echo "$as_me: failed program was:" >&5
34842 sed 's/^/| /' conftest.$ac_ext >&5
34844 eval "$as_ac_var=no"
34846 rm -f conftest.err conftest.$ac_objext \
34847 conftest$ac_exeext conftest.$ac_ext
34849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34851 if test `eval echo '${'$as_ac_var'}'` = yes; then
34852 cat >>confdefs.h <<_ACEOF
34853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34854 _ACEOF
34857 done
34859 else
34860 echo "$as_me:$LINENO: checking for _float round functions" >&5
34861 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
34862 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
34863 echo $ECHO_N "(cached) $ECHO_C" >&6
34864 else
34868 ac_ext=cc
34869 ac_cpp='$CXXCPP $CPPFLAGS'
34870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34874 cat >conftest.$ac_ext <<_ACEOF
34875 /* confdefs.h. */
34876 _ACEOF
34877 cat confdefs.h >>conftest.$ac_ext
34878 cat >>conftest.$ac_ext <<_ACEOF
34879 /* end confdefs.h. */
34880 #include <math.h>
34882 main ()
34884 _ceilf (0); _floorf (0);
34886 return 0;
34888 _ACEOF
34889 rm -f conftest.$ac_objext
34890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34891 (eval $ac_compile) 2>conftest.er1
34892 ac_status=$?
34893 grep -v '^ *+' conftest.er1 >conftest.err
34894 rm -f conftest.er1
34895 cat conftest.err >&5
34896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34897 (exit $ac_status); } &&
34898 { ac_try='test -z "$ac_cxx_werror_flag"
34899 || test ! -s conftest.err'
34900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34901 (eval $ac_try) 2>&5
34902 ac_status=$?
34903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34904 (exit $ac_status); }; } &&
34905 { ac_try='test -s conftest.$ac_objext'
34906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34907 (eval $ac_try) 2>&5
34908 ac_status=$?
34909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34910 (exit $ac_status); }; }; then
34911 glibcxx_cv_func__float_round_use=yes
34912 else
34913 echo "$as_me: failed program was:" >&5
34914 sed 's/^/| /' conftest.$ac_ext >&5
34916 glibcxx_cv_func__float_round_use=no
34918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34919 ac_ext=c
34920 ac_cpp='$CPP $CPPFLAGS'
34921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34927 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
34928 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
34929 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34932 for ac_func in _ceilf _floorf
34934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34935 echo "$as_me:$LINENO: checking for $ac_func" >&5
34936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34937 if eval "test \"\${$as_ac_var+set}\" = set"; then
34938 echo $ECHO_N "(cached) $ECHO_C" >&6
34939 else
34940 if test x$gcc_no_link = xyes; then
34941 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34943 { (exit 1); exit 1; }; }
34945 cat >conftest.$ac_ext <<_ACEOF
34946 /* confdefs.h. */
34947 _ACEOF
34948 cat confdefs.h >>conftest.$ac_ext
34949 cat >>conftest.$ac_ext <<_ACEOF
34950 /* end confdefs.h. */
34951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34953 #define $ac_func innocuous_$ac_func
34955 /* System header to define __stub macros and hopefully few prototypes,
34956 which can conflict with char $ac_func (); below.
34957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34958 <limits.h> exists even on freestanding compilers. */
34960 #ifdef __STDC__
34961 # include <limits.h>
34962 #else
34963 # include <assert.h>
34964 #endif
34966 #undef $ac_func
34968 /* Override any gcc2 internal prototype to avoid an error. */
34969 #ifdef __cplusplus
34970 extern "C"
34972 #endif
34973 /* We use char because int might match the return type of a gcc2
34974 builtin and then its argument prototype would still apply. */
34975 char $ac_func ();
34976 /* The GNU C library defines this for functions which it implements
34977 to always fail with ENOSYS. Some functions are actually named
34978 something starting with __ and the normal name is an alias. */
34979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34980 choke me
34981 #else
34982 char (*f) () = $ac_func;
34983 #endif
34984 #ifdef __cplusplus
34986 #endif
34989 main ()
34991 return f != $ac_func;
34993 return 0;
34995 _ACEOF
34996 rm -f conftest.$ac_objext conftest$ac_exeext
34997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34998 (eval $ac_link) 2>conftest.er1
34999 ac_status=$?
35000 grep -v '^ *+' conftest.er1 >conftest.err
35001 rm -f conftest.er1
35002 cat conftest.err >&5
35003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35004 (exit $ac_status); } &&
35005 { ac_try='test -z "$ac_c_werror_flag"
35006 || test ! -s conftest.err'
35007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35008 (eval $ac_try) 2>&5
35009 ac_status=$?
35010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35011 (exit $ac_status); }; } &&
35012 { ac_try='test -s conftest$ac_exeext'
35013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35014 (eval $ac_try) 2>&5
35015 ac_status=$?
35016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35017 (exit $ac_status); }; }; then
35018 eval "$as_ac_var=yes"
35019 else
35020 echo "$as_me: failed program was:" >&5
35021 sed 's/^/| /' conftest.$ac_ext >&5
35023 eval "$as_ac_var=no"
35025 rm -f conftest.err conftest.$ac_objext \
35026 conftest$ac_exeext conftest.$ac_ext
35028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35030 if test `eval echo '${'$as_ac_var'}'` = yes; then
35031 cat >>confdefs.h <<_ACEOF
35032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35033 _ACEOF
35036 done
35048 echo "$as_me:$LINENO: checking for expf declaration" >&5
35049 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
35050 if test x${glibcxx_cv_func_expf_use+set} != xset; then
35051 if test "${glibcxx_cv_func_expf_use+set}" = set; then
35052 echo $ECHO_N "(cached) $ECHO_C" >&6
35053 else
35057 ac_ext=cc
35058 ac_cpp='$CXXCPP $CPPFLAGS'
35059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35063 cat >conftest.$ac_ext <<_ACEOF
35064 /* confdefs.h. */
35065 _ACEOF
35066 cat confdefs.h >>conftest.$ac_ext
35067 cat >>conftest.$ac_ext <<_ACEOF
35068 /* end confdefs.h. */
35069 #include <math.h>
35070 #ifdef HAVE_IEEEFP_H
35071 #include <ieeefp.h>
35072 #endif
35075 main ()
35077 expf(0);
35079 return 0;
35081 _ACEOF
35082 rm -f conftest.$ac_objext
35083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35084 (eval $ac_compile) 2>conftest.er1
35085 ac_status=$?
35086 grep -v '^ *+' conftest.er1 >conftest.err
35087 rm -f conftest.er1
35088 cat conftest.err >&5
35089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35090 (exit $ac_status); } &&
35091 { ac_try='test -z "$ac_cxx_werror_flag"
35092 || test ! -s conftest.err'
35093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35094 (eval $ac_try) 2>&5
35095 ac_status=$?
35096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35097 (exit $ac_status); }; } &&
35098 { ac_try='test -s conftest.$ac_objext'
35099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35100 (eval $ac_try) 2>&5
35101 ac_status=$?
35102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35103 (exit $ac_status); }; }; then
35104 glibcxx_cv_func_expf_use=yes
35105 else
35106 echo "$as_me: failed program was:" >&5
35107 sed 's/^/| /' conftest.$ac_ext >&5
35109 glibcxx_cv_func_expf_use=no
35111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35112 ac_ext=c
35113 ac_cpp='$CPP $CPPFLAGS'
35114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35122 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
35123 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
35125 if test x$glibcxx_cv_func_expf_use = x"yes"; then
35127 for ac_func in expf
35129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35130 echo "$as_me:$LINENO: checking for $ac_func" >&5
35131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35132 if eval "test \"\${$as_ac_var+set}\" = set"; then
35133 echo $ECHO_N "(cached) $ECHO_C" >&6
35134 else
35135 if test x$gcc_no_link = xyes; then
35136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35138 { (exit 1); exit 1; }; }
35140 cat >conftest.$ac_ext <<_ACEOF
35141 /* confdefs.h. */
35142 _ACEOF
35143 cat confdefs.h >>conftest.$ac_ext
35144 cat >>conftest.$ac_ext <<_ACEOF
35145 /* end confdefs.h. */
35146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35148 #define $ac_func innocuous_$ac_func
35150 /* System header to define __stub macros and hopefully few prototypes,
35151 which can conflict with char $ac_func (); below.
35152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35153 <limits.h> exists even on freestanding compilers. */
35155 #ifdef __STDC__
35156 # include <limits.h>
35157 #else
35158 # include <assert.h>
35159 #endif
35161 #undef $ac_func
35163 /* Override any gcc2 internal prototype to avoid an error. */
35164 #ifdef __cplusplus
35165 extern "C"
35167 #endif
35168 /* We use char because int might match the return type of a gcc2
35169 builtin and then its argument prototype would still apply. */
35170 char $ac_func ();
35171 /* The GNU C library defines this for functions which it implements
35172 to always fail with ENOSYS. Some functions are actually named
35173 something starting with __ and the normal name is an alias. */
35174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35175 choke me
35176 #else
35177 char (*f) () = $ac_func;
35178 #endif
35179 #ifdef __cplusplus
35181 #endif
35184 main ()
35186 return f != $ac_func;
35188 return 0;
35190 _ACEOF
35191 rm -f conftest.$ac_objext conftest$ac_exeext
35192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35193 (eval $ac_link) 2>conftest.er1
35194 ac_status=$?
35195 grep -v '^ *+' conftest.er1 >conftest.err
35196 rm -f conftest.er1
35197 cat conftest.err >&5
35198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35199 (exit $ac_status); } &&
35200 { ac_try='test -z "$ac_c_werror_flag"
35201 || test ! -s conftest.err'
35202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35203 (eval $ac_try) 2>&5
35204 ac_status=$?
35205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35206 (exit $ac_status); }; } &&
35207 { ac_try='test -s conftest$ac_exeext'
35208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35209 (eval $ac_try) 2>&5
35210 ac_status=$?
35211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35212 (exit $ac_status); }; }; then
35213 eval "$as_ac_var=yes"
35214 else
35215 echo "$as_me: failed program was:" >&5
35216 sed 's/^/| /' conftest.$ac_ext >&5
35218 eval "$as_ac_var=no"
35220 rm -f conftest.err conftest.$ac_objext \
35221 conftest$ac_exeext conftest.$ac_ext
35223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35225 if test `eval echo '${'$as_ac_var'}'` = yes; then
35226 cat >>confdefs.h <<_ACEOF
35227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35228 _ACEOF
35231 done
35233 else
35235 echo "$as_me:$LINENO: checking for _expf declaration" >&5
35236 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
35237 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35238 if test "${glibcxx_cv_func__expf_use+set}" = set; then
35239 echo $ECHO_N "(cached) $ECHO_C" >&6
35240 else
35244 ac_ext=cc
35245 ac_cpp='$CXXCPP $CPPFLAGS'
35246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35250 cat >conftest.$ac_ext <<_ACEOF
35251 /* confdefs.h. */
35252 _ACEOF
35253 cat confdefs.h >>conftest.$ac_ext
35254 cat >>conftest.$ac_ext <<_ACEOF
35255 /* end confdefs.h. */
35256 #include <math.h>
35257 #ifdef HAVE_IEEEFP_H
35258 #include <ieeefp.h>
35259 #endif
35262 main ()
35264 _expf(0);
35266 return 0;
35268 _ACEOF
35269 rm -f conftest.$ac_objext
35270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35271 (eval $ac_compile) 2>conftest.er1
35272 ac_status=$?
35273 grep -v '^ *+' conftest.er1 >conftest.err
35274 rm -f conftest.er1
35275 cat conftest.err >&5
35276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35277 (exit $ac_status); } &&
35278 { ac_try='test -z "$ac_cxx_werror_flag"
35279 || test ! -s conftest.err'
35280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35281 (eval $ac_try) 2>&5
35282 ac_status=$?
35283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35284 (exit $ac_status); }; } &&
35285 { ac_try='test -s conftest.$ac_objext'
35286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35287 (eval $ac_try) 2>&5
35288 ac_status=$?
35289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35290 (exit $ac_status); }; }; then
35291 glibcxx_cv_func__expf_use=yes
35292 else
35293 echo "$as_me: failed program was:" >&5
35294 sed 's/^/| /' conftest.$ac_ext >&5
35296 glibcxx_cv_func__expf_use=no
35298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35299 ac_ext=c
35300 ac_cpp='$CPP $CPPFLAGS'
35301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35309 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
35310 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
35312 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35314 for ac_func in _expf
35316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35317 echo "$as_me:$LINENO: checking for $ac_func" >&5
35318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35319 if eval "test \"\${$as_ac_var+set}\" = set"; then
35320 echo $ECHO_N "(cached) $ECHO_C" >&6
35321 else
35322 if test x$gcc_no_link = xyes; then
35323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35325 { (exit 1); exit 1; }; }
35327 cat >conftest.$ac_ext <<_ACEOF
35328 /* confdefs.h. */
35329 _ACEOF
35330 cat confdefs.h >>conftest.$ac_ext
35331 cat >>conftest.$ac_ext <<_ACEOF
35332 /* end confdefs.h. */
35333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35335 #define $ac_func innocuous_$ac_func
35337 /* System header to define __stub macros and hopefully few prototypes,
35338 which can conflict with char $ac_func (); below.
35339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35340 <limits.h> exists even on freestanding compilers. */
35342 #ifdef __STDC__
35343 # include <limits.h>
35344 #else
35345 # include <assert.h>
35346 #endif
35348 #undef $ac_func
35350 /* Override any gcc2 internal prototype to avoid an error. */
35351 #ifdef __cplusplus
35352 extern "C"
35354 #endif
35355 /* We use char because int might match the return type of a gcc2
35356 builtin and then its argument prototype would still apply. */
35357 char $ac_func ();
35358 /* The GNU C library defines this for functions which it implements
35359 to always fail with ENOSYS. Some functions are actually named
35360 something starting with __ and the normal name is an alias. */
35361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35362 choke me
35363 #else
35364 char (*f) () = $ac_func;
35365 #endif
35366 #ifdef __cplusplus
35368 #endif
35371 main ()
35373 return f != $ac_func;
35375 return 0;
35377 _ACEOF
35378 rm -f conftest.$ac_objext conftest$ac_exeext
35379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35380 (eval $ac_link) 2>conftest.er1
35381 ac_status=$?
35382 grep -v '^ *+' conftest.er1 >conftest.err
35383 rm -f conftest.er1
35384 cat conftest.err >&5
35385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35386 (exit $ac_status); } &&
35387 { ac_try='test -z "$ac_c_werror_flag"
35388 || test ! -s conftest.err'
35389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35390 (eval $ac_try) 2>&5
35391 ac_status=$?
35392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35393 (exit $ac_status); }; } &&
35394 { ac_try='test -s conftest$ac_exeext'
35395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35396 (eval $ac_try) 2>&5
35397 ac_status=$?
35398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35399 (exit $ac_status); }; }; then
35400 eval "$as_ac_var=yes"
35401 else
35402 echo "$as_me: failed program was:" >&5
35403 sed 's/^/| /' conftest.$ac_ext >&5
35405 eval "$as_ac_var=no"
35407 rm -f conftest.err conftest.$ac_objext \
35408 conftest$ac_exeext conftest.$ac_ext
35410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35412 if test `eval echo '${'$as_ac_var'}'` = yes; then
35413 cat >>confdefs.h <<_ACEOF
35414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35415 _ACEOF
35418 done
35428 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
35429 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
35430 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35431 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
35432 echo $ECHO_N "(cached) $ECHO_C" >&6
35433 else
35437 ac_ext=cc
35438 ac_cpp='$CXXCPP $CPPFLAGS'
35439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35443 cat >conftest.$ac_ext <<_ACEOF
35444 /* confdefs.h. */
35445 _ACEOF
35446 cat confdefs.h >>conftest.$ac_ext
35447 cat >>conftest.$ac_ext <<_ACEOF
35448 /* end confdefs.h. */
35449 #include <math.h>
35450 #ifdef HAVE_IEEEFP_H
35451 #include <ieeefp.h>
35452 #endif
35455 main ()
35457 isnanf(0);
35459 return 0;
35461 _ACEOF
35462 rm -f conftest.$ac_objext
35463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35464 (eval $ac_compile) 2>conftest.er1
35465 ac_status=$?
35466 grep -v '^ *+' conftest.er1 >conftest.err
35467 rm -f conftest.er1
35468 cat conftest.err >&5
35469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35470 (exit $ac_status); } &&
35471 { ac_try='test -z "$ac_cxx_werror_flag"
35472 || test ! -s conftest.err'
35473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35474 (eval $ac_try) 2>&5
35475 ac_status=$?
35476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35477 (exit $ac_status); }; } &&
35478 { ac_try='test -s conftest.$ac_objext'
35479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35480 (eval $ac_try) 2>&5
35481 ac_status=$?
35482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35483 (exit $ac_status); }; }; then
35484 glibcxx_cv_func_isnanf_use=yes
35485 else
35486 echo "$as_me: failed program was:" >&5
35487 sed 's/^/| /' conftest.$ac_ext >&5
35489 glibcxx_cv_func_isnanf_use=no
35491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35492 ac_ext=c
35493 ac_cpp='$CPP $CPPFLAGS'
35494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35502 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
35503 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
35505 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35507 for ac_func in isnanf
35509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35510 echo "$as_me:$LINENO: checking for $ac_func" >&5
35511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35512 if eval "test \"\${$as_ac_var+set}\" = set"; then
35513 echo $ECHO_N "(cached) $ECHO_C" >&6
35514 else
35515 if test x$gcc_no_link = xyes; then
35516 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35518 { (exit 1); exit 1; }; }
35520 cat >conftest.$ac_ext <<_ACEOF
35521 /* confdefs.h. */
35522 _ACEOF
35523 cat confdefs.h >>conftest.$ac_ext
35524 cat >>conftest.$ac_ext <<_ACEOF
35525 /* end confdefs.h. */
35526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35527 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35528 #define $ac_func innocuous_$ac_func
35530 /* System header to define __stub macros and hopefully few prototypes,
35531 which can conflict with char $ac_func (); below.
35532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35533 <limits.h> exists even on freestanding compilers. */
35535 #ifdef __STDC__
35536 # include <limits.h>
35537 #else
35538 # include <assert.h>
35539 #endif
35541 #undef $ac_func
35543 /* Override any gcc2 internal prototype to avoid an error. */
35544 #ifdef __cplusplus
35545 extern "C"
35547 #endif
35548 /* We use char because int might match the return type of a gcc2
35549 builtin and then its argument prototype would still apply. */
35550 char $ac_func ();
35551 /* The GNU C library defines this for functions which it implements
35552 to always fail with ENOSYS. Some functions are actually named
35553 something starting with __ and the normal name is an alias. */
35554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35555 choke me
35556 #else
35557 char (*f) () = $ac_func;
35558 #endif
35559 #ifdef __cplusplus
35561 #endif
35564 main ()
35566 return f != $ac_func;
35568 return 0;
35570 _ACEOF
35571 rm -f conftest.$ac_objext conftest$ac_exeext
35572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35573 (eval $ac_link) 2>conftest.er1
35574 ac_status=$?
35575 grep -v '^ *+' conftest.er1 >conftest.err
35576 rm -f conftest.er1
35577 cat conftest.err >&5
35578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35579 (exit $ac_status); } &&
35580 { ac_try='test -z "$ac_c_werror_flag"
35581 || test ! -s conftest.err'
35582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35583 (eval $ac_try) 2>&5
35584 ac_status=$?
35585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35586 (exit $ac_status); }; } &&
35587 { ac_try='test -s conftest$ac_exeext'
35588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35589 (eval $ac_try) 2>&5
35590 ac_status=$?
35591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35592 (exit $ac_status); }; }; then
35593 eval "$as_ac_var=yes"
35594 else
35595 echo "$as_me: failed program was:" >&5
35596 sed 's/^/| /' conftest.$ac_ext >&5
35598 eval "$as_ac_var=no"
35600 rm -f conftest.err conftest.$ac_objext \
35601 conftest$ac_exeext conftest.$ac_ext
35603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35605 if test `eval echo '${'$as_ac_var'}'` = yes; then
35606 cat >>confdefs.h <<_ACEOF
35607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35608 _ACEOF
35611 done
35613 else
35615 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
35616 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
35617 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35618 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
35619 echo $ECHO_N "(cached) $ECHO_C" >&6
35620 else
35624 ac_ext=cc
35625 ac_cpp='$CXXCPP $CPPFLAGS'
35626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35630 cat >conftest.$ac_ext <<_ACEOF
35631 /* confdefs.h. */
35632 _ACEOF
35633 cat confdefs.h >>conftest.$ac_ext
35634 cat >>conftest.$ac_ext <<_ACEOF
35635 /* end confdefs.h. */
35636 #include <math.h>
35637 #ifdef HAVE_IEEEFP_H
35638 #include <ieeefp.h>
35639 #endif
35642 main ()
35644 _isnanf(0);
35646 return 0;
35648 _ACEOF
35649 rm -f conftest.$ac_objext
35650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35651 (eval $ac_compile) 2>conftest.er1
35652 ac_status=$?
35653 grep -v '^ *+' conftest.er1 >conftest.err
35654 rm -f conftest.er1
35655 cat conftest.err >&5
35656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35657 (exit $ac_status); } &&
35658 { ac_try='test -z "$ac_cxx_werror_flag"
35659 || test ! -s conftest.err'
35660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35661 (eval $ac_try) 2>&5
35662 ac_status=$?
35663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35664 (exit $ac_status); }; } &&
35665 { ac_try='test -s conftest.$ac_objext'
35666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35667 (eval $ac_try) 2>&5
35668 ac_status=$?
35669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35670 (exit $ac_status); }; }; then
35671 glibcxx_cv_func__isnanf_use=yes
35672 else
35673 echo "$as_me: failed program was:" >&5
35674 sed 's/^/| /' conftest.$ac_ext >&5
35676 glibcxx_cv_func__isnanf_use=no
35678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35679 ac_ext=c
35680 ac_cpp='$CPP $CPPFLAGS'
35681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35689 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
35690 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
35692 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35694 for ac_func in _isnanf
35696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35697 echo "$as_me:$LINENO: checking for $ac_func" >&5
35698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35699 if eval "test \"\${$as_ac_var+set}\" = set"; then
35700 echo $ECHO_N "(cached) $ECHO_C" >&6
35701 else
35702 if test x$gcc_no_link = xyes; then
35703 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35705 { (exit 1); exit 1; }; }
35707 cat >conftest.$ac_ext <<_ACEOF
35708 /* confdefs.h. */
35709 _ACEOF
35710 cat confdefs.h >>conftest.$ac_ext
35711 cat >>conftest.$ac_ext <<_ACEOF
35712 /* end confdefs.h. */
35713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35715 #define $ac_func innocuous_$ac_func
35717 /* System header to define __stub macros and hopefully few prototypes,
35718 which can conflict with char $ac_func (); below.
35719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35720 <limits.h> exists even on freestanding compilers. */
35722 #ifdef __STDC__
35723 # include <limits.h>
35724 #else
35725 # include <assert.h>
35726 #endif
35728 #undef $ac_func
35730 /* Override any gcc2 internal prototype to avoid an error. */
35731 #ifdef __cplusplus
35732 extern "C"
35734 #endif
35735 /* We use char because int might match the return type of a gcc2
35736 builtin and then its argument prototype would still apply. */
35737 char $ac_func ();
35738 /* The GNU C library defines this for functions which it implements
35739 to always fail with ENOSYS. Some functions are actually named
35740 something starting with __ and the normal name is an alias. */
35741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35742 choke me
35743 #else
35744 char (*f) () = $ac_func;
35745 #endif
35746 #ifdef __cplusplus
35748 #endif
35751 main ()
35753 return f != $ac_func;
35755 return 0;
35757 _ACEOF
35758 rm -f conftest.$ac_objext conftest$ac_exeext
35759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35760 (eval $ac_link) 2>conftest.er1
35761 ac_status=$?
35762 grep -v '^ *+' conftest.er1 >conftest.err
35763 rm -f conftest.er1
35764 cat conftest.err >&5
35765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35766 (exit $ac_status); } &&
35767 { ac_try='test -z "$ac_c_werror_flag"
35768 || test ! -s conftest.err'
35769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35770 (eval $ac_try) 2>&5
35771 ac_status=$?
35772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35773 (exit $ac_status); }; } &&
35774 { ac_try='test -s conftest$ac_exeext'
35775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35776 (eval $ac_try) 2>&5
35777 ac_status=$?
35778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35779 (exit $ac_status); }; }; then
35780 eval "$as_ac_var=yes"
35781 else
35782 echo "$as_me: failed program was:" >&5
35783 sed 's/^/| /' conftest.$ac_ext >&5
35785 eval "$as_ac_var=no"
35787 rm -f conftest.err conftest.$ac_objext \
35788 conftest$ac_exeext conftest.$ac_ext
35790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35792 if test `eval echo '${'$as_ac_var'}'` = yes; then
35793 cat >>confdefs.h <<_ACEOF
35794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35795 _ACEOF
35798 done
35808 echo "$as_me:$LINENO: checking for isinff declaration" >&5
35809 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
35810 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35811 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
35812 echo $ECHO_N "(cached) $ECHO_C" >&6
35813 else
35817 ac_ext=cc
35818 ac_cpp='$CXXCPP $CPPFLAGS'
35819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35823 cat >conftest.$ac_ext <<_ACEOF
35824 /* confdefs.h. */
35825 _ACEOF
35826 cat confdefs.h >>conftest.$ac_ext
35827 cat >>conftest.$ac_ext <<_ACEOF
35828 /* end confdefs.h. */
35829 #include <math.h>
35830 #ifdef HAVE_IEEEFP_H
35831 #include <ieeefp.h>
35832 #endif
35835 main ()
35837 isinff(0);
35839 return 0;
35841 _ACEOF
35842 rm -f conftest.$ac_objext
35843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35844 (eval $ac_compile) 2>conftest.er1
35845 ac_status=$?
35846 grep -v '^ *+' conftest.er1 >conftest.err
35847 rm -f conftest.er1
35848 cat conftest.err >&5
35849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35850 (exit $ac_status); } &&
35851 { ac_try='test -z "$ac_cxx_werror_flag"
35852 || test ! -s conftest.err'
35853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35854 (eval $ac_try) 2>&5
35855 ac_status=$?
35856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35857 (exit $ac_status); }; } &&
35858 { ac_try='test -s conftest.$ac_objext'
35859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35860 (eval $ac_try) 2>&5
35861 ac_status=$?
35862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35863 (exit $ac_status); }; }; then
35864 glibcxx_cv_func_isinff_use=yes
35865 else
35866 echo "$as_me: failed program was:" >&5
35867 sed 's/^/| /' conftest.$ac_ext >&5
35869 glibcxx_cv_func_isinff_use=no
35871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35872 ac_ext=c
35873 ac_cpp='$CPP $CPPFLAGS'
35874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35882 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
35883 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
35885 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35887 for ac_func in isinff
35889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35890 echo "$as_me:$LINENO: checking for $ac_func" >&5
35891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35892 if eval "test \"\${$as_ac_var+set}\" = set"; then
35893 echo $ECHO_N "(cached) $ECHO_C" >&6
35894 else
35895 if test x$gcc_no_link = xyes; then
35896 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35898 { (exit 1); exit 1; }; }
35900 cat >conftest.$ac_ext <<_ACEOF
35901 /* confdefs.h. */
35902 _ACEOF
35903 cat confdefs.h >>conftest.$ac_ext
35904 cat >>conftest.$ac_ext <<_ACEOF
35905 /* end confdefs.h. */
35906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35908 #define $ac_func innocuous_$ac_func
35910 /* System header to define __stub macros and hopefully few prototypes,
35911 which can conflict with char $ac_func (); below.
35912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35913 <limits.h> exists even on freestanding compilers. */
35915 #ifdef __STDC__
35916 # include <limits.h>
35917 #else
35918 # include <assert.h>
35919 #endif
35921 #undef $ac_func
35923 /* Override any gcc2 internal prototype to avoid an error. */
35924 #ifdef __cplusplus
35925 extern "C"
35927 #endif
35928 /* We use char because int might match the return type of a gcc2
35929 builtin and then its argument prototype would still apply. */
35930 char $ac_func ();
35931 /* The GNU C library defines this for functions which it implements
35932 to always fail with ENOSYS. Some functions are actually named
35933 something starting with __ and the normal name is an alias. */
35934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35935 choke me
35936 #else
35937 char (*f) () = $ac_func;
35938 #endif
35939 #ifdef __cplusplus
35941 #endif
35944 main ()
35946 return f != $ac_func;
35948 return 0;
35950 _ACEOF
35951 rm -f conftest.$ac_objext conftest$ac_exeext
35952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35953 (eval $ac_link) 2>conftest.er1
35954 ac_status=$?
35955 grep -v '^ *+' conftest.er1 >conftest.err
35956 rm -f conftest.er1
35957 cat conftest.err >&5
35958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35959 (exit $ac_status); } &&
35960 { ac_try='test -z "$ac_c_werror_flag"
35961 || test ! -s conftest.err'
35962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35963 (eval $ac_try) 2>&5
35964 ac_status=$?
35965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35966 (exit $ac_status); }; } &&
35967 { ac_try='test -s conftest$ac_exeext'
35968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35969 (eval $ac_try) 2>&5
35970 ac_status=$?
35971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35972 (exit $ac_status); }; }; then
35973 eval "$as_ac_var=yes"
35974 else
35975 echo "$as_me: failed program was:" >&5
35976 sed 's/^/| /' conftest.$ac_ext >&5
35978 eval "$as_ac_var=no"
35980 rm -f conftest.err conftest.$ac_objext \
35981 conftest$ac_exeext conftest.$ac_ext
35983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35984 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35985 if test `eval echo '${'$as_ac_var'}'` = yes; then
35986 cat >>confdefs.h <<_ACEOF
35987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35988 _ACEOF
35991 done
35993 else
35995 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
35996 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
35997 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35998 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
35999 echo $ECHO_N "(cached) $ECHO_C" >&6
36000 else
36004 ac_ext=cc
36005 ac_cpp='$CXXCPP $CPPFLAGS'
36006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36010 cat >conftest.$ac_ext <<_ACEOF
36011 /* confdefs.h. */
36012 _ACEOF
36013 cat confdefs.h >>conftest.$ac_ext
36014 cat >>conftest.$ac_ext <<_ACEOF
36015 /* end confdefs.h. */
36016 #include <math.h>
36017 #ifdef HAVE_IEEEFP_H
36018 #include <ieeefp.h>
36019 #endif
36022 main ()
36024 _isinff(0);
36026 return 0;
36028 _ACEOF
36029 rm -f conftest.$ac_objext
36030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36031 (eval $ac_compile) 2>conftest.er1
36032 ac_status=$?
36033 grep -v '^ *+' conftest.er1 >conftest.err
36034 rm -f conftest.er1
36035 cat conftest.err >&5
36036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36037 (exit $ac_status); } &&
36038 { ac_try='test -z "$ac_cxx_werror_flag"
36039 || test ! -s conftest.err'
36040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36041 (eval $ac_try) 2>&5
36042 ac_status=$?
36043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36044 (exit $ac_status); }; } &&
36045 { ac_try='test -s conftest.$ac_objext'
36046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36047 (eval $ac_try) 2>&5
36048 ac_status=$?
36049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36050 (exit $ac_status); }; }; then
36051 glibcxx_cv_func__isinff_use=yes
36052 else
36053 echo "$as_me: failed program was:" >&5
36054 sed 's/^/| /' conftest.$ac_ext >&5
36056 glibcxx_cv_func__isinff_use=no
36058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36059 ac_ext=c
36060 ac_cpp='$CPP $CPPFLAGS'
36061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36069 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
36070 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
36072 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36074 for ac_func in _isinff
36076 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36077 echo "$as_me:$LINENO: checking for $ac_func" >&5
36078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36079 if eval "test \"\${$as_ac_var+set}\" = set"; then
36080 echo $ECHO_N "(cached) $ECHO_C" >&6
36081 else
36082 if test x$gcc_no_link = xyes; then
36083 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36085 { (exit 1); exit 1; }; }
36087 cat >conftest.$ac_ext <<_ACEOF
36088 /* confdefs.h. */
36089 _ACEOF
36090 cat confdefs.h >>conftest.$ac_ext
36091 cat >>conftest.$ac_ext <<_ACEOF
36092 /* end confdefs.h. */
36093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36095 #define $ac_func innocuous_$ac_func
36097 /* System header to define __stub macros and hopefully few prototypes,
36098 which can conflict with char $ac_func (); below.
36099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36100 <limits.h> exists even on freestanding compilers. */
36102 #ifdef __STDC__
36103 # include <limits.h>
36104 #else
36105 # include <assert.h>
36106 #endif
36108 #undef $ac_func
36110 /* Override any gcc2 internal prototype to avoid an error. */
36111 #ifdef __cplusplus
36112 extern "C"
36114 #endif
36115 /* We use char because int might match the return type of a gcc2
36116 builtin and then its argument prototype would still apply. */
36117 char $ac_func ();
36118 /* The GNU C library defines this for functions which it implements
36119 to always fail with ENOSYS. Some functions are actually named
36120 something starting with __ and the normal name is an alias. */
36121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36122 choke me
36123 #else
36124 char (*f) () = $ac_func;
36125 #endif
36126 #ifdef __cplusplus
36128 #endif
36131 main ()
36133 return f != $ac_func;
36135 return 0;
36137 _ACEOF
36138 rm -f conftest.$ac_objext conftest$ac_exeext
36139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36140 (eval $ac_link) 2>conftest.er1
36141 ac_status=$?
36142 grep -v '^ *+' conftest.er1 >conftest.err
36143 rm -f conftest.er1
36144 cat conftest.err >&5
36145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36146 (exit $ac_status); } &&
36147 { ac_try='test -z "$ac_c_werror_flag"
36148 || test ! -s conftest.err'
36149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36150 (eval $ac_try) 2>&5
36151 ac_status=$?
36152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36153 (exit $ac_status); }; } &&
36154 { ac_try='test -s conftest$ac_exeext'
36155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36156 (eval $ac_try) 2>&5
36157 ac_status=$?
36158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36159 (exit $ac_status); }; }; then
36160 eval "$as_ac_var=yes"
36161 else
36162 echo "$as_me: failed program was:" >&5
36163 sed 's/^/| /' conftest.$ac_ext >&5
36165 eval "$as_ac_var=no"
36167 rm -f conftest.err conftest.$ac_objext \
36168 conftest$ac_exeext conftest.$ac_ext
36170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36172 if test `eval echo '${'$as_ac_var'}'` = yes; then
36173 cat >>confdefs.h <<_ACEOF
36174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36175 _ACEOF
36178 done
36188 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
36189 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
36190 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36191 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
36192 echo $ECHO_N "(cached) $ECHO_C" >&6
36193 else
36197 ac_ext=cc
36198 ac_cpp='$CXXCPP $CPPFLAGS'
36199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36203 cat >conftest.$ac_ext <<_ACEOF
36204 /* confdefs.h. */
36205 _ACEOF
36206 cat confdefs.h >>conftest.$ac_ext
36207 cat >>conftest.$ac_ext <<_ACEOF
36208 /* end confdefs.h. */
36209 #include <math.h>
36211 main ()
36213 atan2f(0, 0);
36215 return 0;
36217 _ACEOF
36218 rm -f conftest.$ac_objext
36219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36220 (eval $ac_compile) 2>conftest.er1
36221 ac_status=$?
36222 grep -v '^ *+' conftest.er1 >conftest.err
36223 rm -f conftest.er1
36224 cat conftest.err >&5
36225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36226 (exit $ac_status); } &&
36227 { ac_try='test -z "$ac_cxx_werror_flag"
36228 || test ! -s conftest.err'
36229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36230 (eval $ac_try) 2>&5
36231 ac_status=$?
36232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36233 (exit $ac_status); }; } &&
36234 { ac_try='test -s conftest.$ac_objext'
36235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36236 (eval $ac_try) 2>&5
36237 ac_status=$?
36238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36239 (exit $ac_status); }; }; then
36240 glibcxx_cv_func_atan2f_use=yes
36241 else
36242 echo "$as_me: failed program was:" >&5
36243 sed 's/^/| /' conftest.$ac_ext >&5
36245 glibcxx_cv_func_atan2f_use=no
36247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36248 ac_ext=c
36249 ac_cpp='$CPP $CPPFLAGS'
36250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36258 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
36259 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
36261 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36263 for ac_func in atan2f
36265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36266 echo "$as_me:$LINENO: checking for $ac_func" >&5
36267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36268 if eval "test \"\${$as_ac_var+set}\" = set"; then
36269 echo $ECHO_N "(cached) $ECHO_C" >&6
36270 else
36271 if test x$gcc_no_link = xyes; then
36272 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36274 { (exit 1); exit 1; }; }
36276 cat >conftest.$ac_ext <<_ACEOF
36277 /* confdefs.h. */
36278 _ACEOF
36279 cat confdefs.h >>conftest.$ac_ext
36280 cat >>conftest.$ac_ext <<_ACEOF
36281 /* end confdefs.h. */
36282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36284 #define $ac_func innocuous_$ac_func
36286 /* System header to define __stub macros and hopefully few prototypes,
36287 which can conflict with char $ac_func (); below.
36288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36289 <limits.h> exists even on freestanding compilers. */
36291 #ifdef __STDC__
36292 # include <limits.h>
36293 #else
36294 # include <assert.h>
36295 #endif
36297 #undef $ac_func
36299 /* Override any gcc2 internal prototype to avoid an error. */
36300 #ifdef __cplusplus
36301 extern "C"
36303 #endif
36304 /* We use char because int might match the return type of a gcc2
36305 builtin and then its argument prototype would still apply. */
36306 char $ac_func ();
36307 /* The GNU C library defines this for functions which it implements
36308 to always fail with ENOSYS. Some functions are actually named
36309 something starting with __ and the normal name is an alias. */
36310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36311 choke me
36312 #else
36313 char (*f) () = $ac_func;
36314 #endif
36315 #ifdef __cplusplus
36317 #endif
36320 main ()
36322 return f != $ac_func;
36324 return 0;
36326 _ACEOF
36327 rm -f conftest.$ac_objext conftest$ac_exeext
36328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36329 (eval $ac_link) 2>conftest.er1
36330 ac_status=$?
36331 grep -v '^ *+' conftest.er1 >conftest.err
36332 rm -f conftest.er1
36333 cat conftest.err >&5
36334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36335 (exit $ac_status); } &&
36336 { ac_try='test -z "$ac_c_werror_flag"
36337 || test ! -s conftest.err'
36338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36339 (eval $ac_try) 2>&5
36340 ac_status=$?
36341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36342 (exit $ac_status); }; } &&
36343 { ac_try='test -s conftest$ac_exeext'
36344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36345 (eval $ac_try) 2>&5
36346 ac_status=$?
36347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36348 (exit $ac_status); }; }; then
36349 eval "$as_ac_var=yes"
36350 else
36351 echo "$as_me: failed program was:" >&5
36352 sed 's/^/| /' conftest.$ac_ext >&5
36354 eval "$as_ac_var=no"
36356 rm -f conftest.err conftest.$ac_objext \
36357 conftest$ac_exeext conftest.$ac_ext
36359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36361 if test `eval echo '${'$as_ac_var'}'` = yes; then
36362 cat >>confdefs.h <<_ACEOF
36363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36364 _ACEOF
36367 done
36369 else
36371 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
36372 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
36373 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36374 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
36375 echo $ECHO_N "(cached) $ECHO_C" >&6
36376 else
36380 ac_ext=cc
36381 ac_cpp='$CXXCPP $CPPFLAGS'
36382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36386 cat >conftest.$ac_ext <<_ACEOF
36387 /* confdefs.h. */
36388 _ACEOF
36389 cat confdefs.h >>conftest.$ac_ext
36390 cat >>conftest.$ac_ext <<_ACEOF
36391 /* end confdefs.h. */
36392 #include <math.h>
36394 main ()
36396 _atan2f(0, 0);
36398 return 0;
36400 _ACEOF
36401 rm -f conftest.$ac_objext
36402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36403 (eval $ac_compile) 2>conftest.er1
36404 ac_status=$?
36405 grep -v '^ *+' conftest.er1 >conftest.err
36406 rm -f conftest.er1
36407 cat conftest.err >&5
36408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36409 (exit $ac_status); } &&
36410 { ac_try='test -z "$ac_cxx_werror_flag"
36411 || test ! -s conftest.err'
36412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36413 (eval $ac_try) 2>&5
36414 ac_status=$?
36415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36416 (exit $ac_status); }; } &&
36417 { ac_try='test -s conftest.$ac_objext'
36418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36419 (eval $ac_try) 2>&5
36420 ac_status=$?
36421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36422 (exit $ac_status); }; }; then
36423 glibcxx_cv_func__atan2f_use=yes
36424 else
36425 echo "$as_me: failed program was:" >&5
36426 sed 's/^/| /' conftest.$ac_ext >&5
36428 glibcxx_cv_func__atan2f_use=no
36430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36431 ac_ext=c
36432 ac_cpp='$CPP $CPPFLAGS'
36433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36441 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
36442 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
36444 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36446 for ac_func in _atan2f
36448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36449 echo "$as_me:$LINENO: checking for $ac_func" >&5
36450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36451 if eval "test \"\${$as_ac_var+set}\" = set"; then
36452 echo $ECHO_N "(cached) $ECHO_C" >&6
36453 else
36454 if test x$gcc_no_link = xyes; then
36455 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36457 { (exit 1); exit 1; }; }
36459 cat >conftest.$ac_ext <<_ACEOF
36460 /* confdefs.h. */
36461 _ACEOF
36462 cat confdefs.h >>conftest.$ac_ext
36463 cat >>conftest.$ac_ext <<_ACEOF
36464 /* end confdefs.h. */
36465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36467 #define $ac_func innocuous_$ac_func
36469 /* System header to define __stub macros and hopefully few prototypes,
36470 which can conflict with char $ac_func (); below.
36471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36472 <limits.h> exists even on freestanding compilers. */
36474 #ifdef __STDC__
36475 # include <limits.h>
36476 #else
36477 # include <assert.h>
36478 #endif
36480 #undef $ac_func
36482 /* Override any gcc2 internal prototype to avoid an error. */
36483 #ifdef __cplusplus
36484 extern "C"
36486 #endif
36487 /* We use char because int might match the return type of a gcc2
36488 builtin and then its argument prototype would still apply. */
36489 char $ac_func ();
36490 /* The GNU C library defines this for functions which it implements
36491 to always fail with ENOSYS. Some functions are actually named
36492 something starting with __ and the normal name is an alias. */
36493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36494 choke me
36495 #else
36496 char (*f) () = $ac_func;
36497 #endif
36498 #ifdef __cplusplus
36500 #endif
36503 main ()
36505 return f != $ac_func;
36507 return 0;
36509 _ACEOF
36510 rm -f conftest.$ac_objext conftest$ac_exeext
36511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36512 (eval $ac_link) 2>conftest.er1
36513 ac_status=$?
36514 grep -v '^ *+' conftest.er1 >conftest.err
36515 rm -f conftest.er1
36516 cat conftest.err >&5
36517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36518 (exit $ac_status); } &&
36519 { ac_try='test -z "$ac_c_werror_flag"
36520 || test ! -s conftest.err'
36521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36522 (eval $ac_try) 2>&5
36523 ac_status=$?
36524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36525 (exit $ac_status); }; } &&
36526 { ac_try='test -s conftest$ac_exeext'
36527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36528 (eval $ac_try) 2>&5
36529 ac_status=$?
36530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36531 (exit $ac_status); }; }; then
36532 eval "$as_ac_var=yes"
36533 else
36534 echo "$as_me: failed program was:" >&5
36535 sed 's/^/| /' conftest.$ac_ext >&5
36537 eval "$as_ac_var=no"
36539 rm -f conftest.err conftest.$ac_objext \
36540 conftest$ac_exeext conftest.$ac_ext
36542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36544 if test `eval echo '${'$as_ac_var'}'` = yes; then
36545 cat >>confdefs.h <<_ACEOF
36546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36547 _ACEOF
36550 done
36560 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
36561 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
36562 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36563 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
36564 echo $ECHO_N "(cached) $ECHO_C" >&6
36565 else
36569 ac_ext=cc
36570 ac_cpp='$CXXCPP $CPPFLAGS'
36571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36575 cat >conftest.$ac_ext <<_ACEOF
36576 /* confdefs.h. */
36577 _ACEOF
36578 cat confdefs.h >>conftest.$ac_ext
36579 cat >>conftest.$ac_ext <<_ACEOF
36580 /* end confdefs.h. */
36581 #include <math.h>
36582 #ifdef HAVE_IEEEFP_H
36583 #include <ieeefp.h>
36584 #endif
36587 main ()
36589 fabsf(0);
36591 return 0;
36593 _ACEOF
36594 rm -f conftest.$ac_objext
36595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36596 (eval $ac_compile) 2>conftest.er1
36597 ac_status=$?
36598 grep -v '^ *+' conftest.er1 >conftest.err
36599 rm -f conftest.er1
36600 cat conftest.err >&5
36601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36602 (exit $ac_status); } &&
36603 { ac_try='test -z "$ac_cxx_werror_flag"
36604 || test ! -s conftest.err'
36605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36606 (eval $ac_try) 2>&5
36607 ac_status=$?
36608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36609 (exit $ac_status); }; } &&
36610 { ac_try='test -s conftest.$ac_objext'
36611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36612 (eval $ac_try) 2>&5
36613 ac_status=$?
36614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36615 (exit $ac_status); }; }; then
36616 glibcxx_cv_func_fabsf_use=yes
36617 else
36618 echo "$as_me: failed program was:" >&5
36619 sed 's/^/| /' conftest.$ac_ext >&5
36621 glibcxx_cv_func_fabsf_use=no
36623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36624 ac_ext=c
36625 ac_cpp='$CPP $CPPFLAGS'
36626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36634 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
36635 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
36637 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36639 for ac_func in fabsf
36641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36642 echo "$as_me:$LINENO: checking for $ac_func" >&5
36643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36644 if eval "test \"\${$as_ac_var+set}\" = set"; then
36645 echo $ECHO_N "(cached) $ECHO_C" >&6
36646 else
36647 if test x$gcc_no_link = xyes; then
36648 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36650 { (exit 1); exit 1; }; }
36652 cat >conftest.$ac_ext <<_ACEOF
36653 /* confdefs.h. */
36654 _ACEOF
36655 cat confdefs.h >>conftest.$ac_ext
36656 cat >>conftest.$ac_ext <<_ACEOF
36657 /* end confdefs.h. */
36658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36660 #define $ac_func innocuous_$ac_func
36662 /* System header to define __stub macros and hopefully few prototypes,
36663 which can conflict with char $ac_func (); below.
36664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36665 <limits.h> exists even on freestanding compilers. */
36667 #ifdef __STDC__
36668 # include <limits.h>
36669 #else
36670 # include <assert.h>
36671 #endif
36673 #undef $ac_func
36675 /* Override any gcc2 internal prototype to avoid an error. */
36676 #ifdef __cplusplus
36677 extern "C"
36679 #endif
36680 /* We use char because int might match the return type of a gcc2
36681 builtin and then its argument prototype would still apply. */
36682 char $ac_func ();
36683 /* The GNU C library defines this for functions which it implements
36684 to always fail with ENOSYS. Some functions are actually named
36685 something starting with __ and the normal name is an alias. */
36686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36687 choke me
36688 #else
36689 char (*f) () = $ac_func;
36690 #endif
36691 #ifdef __cplusplus
36693 #endif
36696 main ()
36698 return f != $ac_func;
36700 return 0;
36702 _ACEOF
36703 rm -f conftest.$ac_objext conftest$ac_exeext
36704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36705 (eval $ac_link) 2>conftest.er1
36706 ac_status=$?
36707 grep -v '^ *+' conftest.er1 >conftest.err
36708 rm -f conftest.er1
36709 cat conftest.err >&5
36710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36711 (exit $ac_status); } &&
36712 { ac_try='test -z "$ac_c_werror_flag"
36713 || test ! -s conftest.err'
36714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36715 (eval $ac_try) 2>&5
36716 ac_status=$?
36717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36718 (exit $ac_status); }; } &&
36719 { ac_try='test -s conftest$ac_exeext'
36720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36721 (eval $ac_try) 2>&5
36722 ac_status=$?
36723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36724 (exit $ac_status); }; }; then
36725 eval "$as_ac_var=yes"
36726 else
36727 echo "$as_me: failed program was:" >&5
36728 sed 's/^/| /' conftest.$ac_ext >&5
36730 eval "$as_ac_var=no"
36732 rm -f conftest.err conftest.$ac_objext \
36733 conftest$ac_exeext conftest.$ac_ext
36735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36737 if test `eval echo '${'$as_ac_var'}'` = yes; then
36738 cat >>confdefs.h <<_ACEOF
36739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36740 _ACEOF
36743 done
36745 else
36747 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
36748 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
36749 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36750 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
36751 echo $ECHO_N "(cached) $ECHO_C" >&6
36752 else
36756 ac_ext=cc
36757 ac_cpp='$CXXCPP $CPPFLAGS'
36758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36762 cat >conftest.$ac_ext <<_ACEOF
36763 /* confdefs.h. */
36764 _ACEOF
36765 cat confdefs.h >>conftest.$ac_ext
36766 cat >>conftest.$ac_ext <<_ACEOF
36767 /* end confdefs.h. */
36768 #include <math.h>
36769 #ifdef HAVE_IEEEFP_H
36770 #include <ieeefp.h>
36771 #endif
36774 main ()
36776 _fabsf(0);
36778 return 0;
36780 _ACEOF
36781 rm -f conftest.$ac_objext
36782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36783 (eval $ac_compile) 2>conftest.er1
36784 ac_status=$?
36785 grep -v '^ *+' conftest.er1 >conftest.err
36786 rm -f conftest.er1
36787 cat conftest.err >&5
36788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36789 (exit $ac_status); } &&
36790 { ac_try='test -z "$ac_cxx_werror_flag"
36791 || test ! -s conftest.err'
36792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36793 (eval $ac_try) 2>&5
36794 ac_status=$?
36795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36796 (exit $ac_status); }; } &&
36797 { ac_try='test -s conftest.$ac_objext'
36798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36799 (eval $ac_try) 2>&5
36800 ac_status=$?
36801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36802 (exit $ac_status); }; }; then
36803 glibcxx_cv_func__fabsf_use=yes
36804 else
36805 echo "$as_me: failed program was:" >&5
36806 sed 's/^/| /' conftest.$ac_ext >&5
36808 glibcxx_cv_func__fabsf_use=no
36810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36811 ac_ext=c
36812 ac_cpp='$CPP $CPPFLAGS'
36813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36821 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
36822 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
36824 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36826 for ac_func in _fabsf
36828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36829 echo "$as_me:$LINENO: checking for $ac_func" >&5
36830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36831 if eval "test \"\${$as_ac_var+set}\" = set"; then
36832 echo $ECHO_N "(cached) $ECHO_C" >&6
36833 else
36834 if test x$gcc_no_link = xyes; then
36835 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36837 { (exit 1); exit 1; }; }
36839 cat >conftest.$ac_ext <<_ACEOF
36840 /* confdefs.h. */
36841 _ACEOF
36842 cat confdefs.h >>conftest.$ac_ext
36843 cat >>conftest.$ac_ext <<_ACEOF
36844 /* end confdefs.h. */
36845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36847 #define $ac_func innocuous_$ac_func
36849 /* System header to define __stub macros and hopefully few prototypes,
36850 which can conflict with char $ac_func (); below.
36851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36852 <limits.h> exists even on freestanding compilers. */
36854 #ifdef __STDC__
36855 # include <limits.h>
36856 #else
36857 # include <assert.h>
36858 #endif
36860 #undef $ac_func
36862 /* Override any gcc2 internal prototype to avoid an error. */
36863 #ifdef __cplusplus
36864 extern "C"
36866 #endif
36867 /* We use char because int might match the return type of a gcc2
36868 builtin and then its argument prototype would still apply. */
36869 char $ac_func ();
36870 /* The GNU C library defines this for functions which it implements
36871 to always fail with ENOSYS. Some functions are actually named
36872 something starting with __ and the normal name is an alias. */
36873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36874 choke me
36875 #else
36876 char (*f) () = $ac_func;
36877 #endif
36878 #ifdef __cplusplus
36880 #endif
36883 main ()
36885 return f != $ac_func;
36887 return 0;
36889 _ACEOF
36890 rm -f conftest.$ac_objext conftest$ac_exeext
36891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36892 (eval $ac_link) 2>conftest.er1
36893 ac_status=$?
36894 grep -v '^ *+' conftest.er1 >conftest.err
36895 rm -f conftest.er1
36896 cat conftest.err >&5
36897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36898 (exit $ac_status); } &&
36899 { ac_try='test -z "$ac_c_werror_flag"
36900 || test ! -s conftest.err'
36901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36902 (eval $ac_try) 2>&5
36903 ac_status=$?
36904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36905 (exit $ac_status); }; } &&
36906 { ac_try='test -s conftest$ac_exeext'
36907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36908 (eval $ac_try) 2>&5
36909 ac_status=$?
36910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36911 (exit $ac_status); }; }; then
36912 eval "$as_ac_var=yes"
36913 else
36914 echo "$as_me: failed program was:" >&5
36915 sed 's/^/| /' conftest.$ac_ext >&5
36917 eval "$as_ac_var=no"
36919 rm -f conftest.err conftest.$ac_objext \
36920 conftest$ac_exeext conftest.$ac_ext
36922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36924 if test `eval echo '${'$as_ac_var'}'` = yes; then
36925 cat >>confdefs.h <<_ACEOF
36926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36927 _ACEOF
36930 done
36940 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
36941 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
36942 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36943 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
36944 echo $ECHO_N "(cached) $ECHO_C" >&6
36945 else
36949 ac_ext=cc
36950 ac_cpp='$CXXCPP $CPPFLAGS'
36951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36955 cat >conftest.$ac_ext <<_ACEOF
36956 /* confdefs.h. */
36957 _ACEOF
36958 cat confdefs.h >>conftest.$ac_ext
36959 cat >>conftest.$ac_ext <<_ACEOF
36960 /* end confdefs.h. */
36961 #include <math.h>
36963 main ()
36965 fmodf(0, 0);
36967 return 0;
36969 _ACEOF
36970 rm -f conftest.$ac_objext
36971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36972 (eval $ac_compile) 2>conftest.er1
36973 ac_status=$?
36974 grep -v '^ *+' conftest.er1 >conftest.err
36975 rm -f conftest.er1
36976 cat conftest.err >&5
36977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36978 (exit $ac_status); } &&
36979 { ac_try='test -z "$ac_cxx_werror_flag"
36980 || test ! -s conftest.err'
36981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36982 (eval $ac_try) 2>&5
36983 ac_status=$?
36984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36985 (exit $ac_status); }; } &&
36986 { ac_try='test -s conftest.$ac_objext'
36987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36988 (eval $ac_try) 2>&5
36989 ac_status=$?
36990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36991 (exit $ac_status); }; }; then
36992 glibcxx_cv_func_fmodf_use=yes
36993 else
36994 echo "$as_me: failed program was:" >&5
36995 sed 's/^/| /' conftest.$ac_ext >&5
36997 glibcxx_cv_func_fmodf_use=no
36999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37000 ac_ext=c
37001 ac_cpp='$CPP $CPPFLAGS'
37002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37010 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
37011 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
37013 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37015 for ac_func in fmodf
37017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37018 echo "$as_me:$LINENO: checking for $ac_func" >&5
37019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37020 if eval "test \"\${$as_ac_var+set}\" = set"; then
37021 echo $ECHO_N "(cached) $ECHO_C" >&6
37022 else
37023 if test x$gcc_no_link = xyes; then
37024 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37026 { (exit 1); exit 1; }; }
37028 cat >conftest.$ac_ext <<_ACEOF
37029 /* confdefs.h. */
37030 _ACEOF
37031 cat confdefs.h >>conftest.$ac_ext
37032 cat >>conftest.$ac_ext <<_ACEOF
37033 /* end confdefs.h. */
37034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37036 #define $ac_func innocuous_$ac_func
37038 /* System header to define __stub macros and hopefully few prototypes,
37039 which can conflict with char $ac_func (); below.
37040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37041 <limits.h> exists even on freestanding compilers. */
37043 #ifdef __STDC__
37044 # include <limits.h>
37045 #else
37046 # include <assert.h>
37047 #endif
37049 #undef $ac_func
37051 /* Override any gcc2 internal prototype to avoid an error. */
37052 #ifdef __cplusplus
37053 extern "C"
37055 #endif
37056 /* We use char because int might match the return type of a gcc2
37057 builtin and then its argument prototype would still apply. */
37058 char $ac_func ();
37059 /* The GNU C library defines this for functions which it implements
37060 to always fail with ENOSYS. Some functions are actually named
37061 something starting with __ and the normal name is an alias. */
37062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37063 choke me
37064 #else
37065 char (*f) () = $ac_func;
37066 #endif
37067 #ifdef __cplusplus
37069 #endif
37072 main ()
37074 return f != $ac_func;
37076 return 0;
37078 _ACEOF
37079 rm -f conftest.$ac_objext conftest$ac_exeext
37080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37081 (eval $ac_link) 2>conftest.er1
37082 ac_status=$?
37083 grep -v '^ *+' conftest.er1 >conftest.err
37084 rm -f conftest.er1
37085 cat conftest.err >&5
37086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37087 (exit $ac_status); } &&
37088 { ac_try='test -z "$ac_c_werror_flag"
37089 || test ! -s conftest.err'
37090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37091 (eval $ac_try) 2>&5
37092 ac_status=$?
37093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37094 (exit $ac_status); }; } &&
37095 { ac_try='test -s conftest$ac_exeext'
37096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37097 (eval $ac_try) 2>&5
37098 ac_status=$?
37099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37100 (exit $ac_status); }; }; then
37101 eval "$as_ac_var=yes"
37102 else
37103 echo "$as_me: failed program was:" >&5
37104 sed 's/^/| /' conftest.$ac_ext >&5
37106 eval "$as_ac_var=no"
37108 rm -f conftest.err conftest.$ac_objext \
37109 conftest$ac_exeext conftest.$ac_ext
37111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37113 if test `eval echo '${'$as_ac_var'}'` = yes; then
37114 cat >>confdefs.h <<_ACEOF
37115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37116 _ACEOF
37119 done
37121 else
37123 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
37124 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
37125 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37126 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
37127 echo $ECHO_N "(cached) $ECHO_C" >&6
37128 else
37132 ac_ext=cc
37133 ac_cpp='$CXXCPP $CPPFLAGS'
37134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37138 cat >conftest.$ac_ext <<_ACEOF
37139 /* confdefs.h. */
37140 _ACEOF
37141 cat confdefs.h >>conftest.$ac_ext
37142 cat >>conftest.$ac_ext <<_ACEOF
37143 /* end confdefs.h. */
37144 #include <math.h>
37146 main ()
37148 _fmodf(0, 0);
37150 return 0;
37152 _ACEOF
37153 rm -f conftest.$ac_objext
37154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37155 (eval $ac_compile) 2>conftest.er1
37156 ac_status=$?
37157 grep -v '^ *+' conftest.er1 >conftest.err
37158 rm -f conftest.er1
37159 cat conftest.err >&5
37160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37161 (exit $ac_status); } &&
37162 { ac_try='test -z "$ac_cxx_werror_flag"
37163 || test ! -s conftest.err'
37164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37165 (eval $ac_try) 2>&5
37166 ac_status=$?
37167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37168 (exit $ac_status); }; } &&
37169 { ac_try='test -s conftest.$ac_objext'
37170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37171 (eval $ac_try) 2>&5
37172 ac_status=$?
37173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37174 (exit $ac_status); }; }; then
37175 glibcxx_cv_func__fmodf_use=yes
37176 else
37177 echo "$as_me: failed program was:" >&5
37178 sed 's/^/| /' conftest.$ac_ext >&5
37180 glibcxx_cv_func__fmodf_use=no
37182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37183 ac_ext=c
37184 ac_cpp='$CPP $CPPFLAGS'
37185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37193 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
37194 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
37196 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37198 for ac_func in _fmodf
37200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37201 echo "$as_me:$LINENO: checking for $ac_func" >&5
37202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37203 if eval "test \"\${$as_ac_var+set}\" = set"; then
37204 echo $ECHO_N "(cached) $ECHO_C" >&6
37205 else
37206 if test x$gcc_no_link = xyes; then
37207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37209 { (exit 1); exit 1; }; }
37211 cat >conftest.$ac_ext <<_ACEOF
37212 /* confdefs.h. */
37213 _ACEOF
37214 cat confdefs.h >>conftest.$ac_ext
37215 cat >>conftest.$ac_ext <<_ACEOF
37216 /* end confdefs.h. */
37217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37219 #define $ac_func innocuous_$ac_func
37221 /* System header to define __stub macros and hopefully few prototypes,
37222 which can conflict with char $ac_func (); below.
37223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37224 <limits.h> exists even on freestanding compilers. */
37226 #ifdef __STDC__
37227 # include <limits.h>
37228 #else
37229 # include <assert.h>
37230 #endif
37232 #undef $ac_func
37234 /* Override any gcc2 internal prototype to avoid an error. */
37235 #ifdef __cplusplus
37236 extern "C"
37238 #endif
37239 /* We use char because int might match the return type of a gcc2
37240 builtin and then its argument prototype would still apply. */
37241 char $ac_func ();
37242 /* The GNU C library defines this for functions which it implements
37243 to always fail with ENOSYS. Some functions are actually named
37244 something starting with __ and the normal name is an alias. */
37245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37246 choke me
37247 #else
37248 char (*f) () = $ac_func;
37249 #endif
37250 #ifdef __cplusplus
37252 #endif
37255 main ()
37257 return f != $ac_func;
37259 return 0;
37261 _ACEOF
37262 rm -f conftest.$ac_objext conftest$ac_exeext
37263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37264 (eval $ac_link) 2>conftest.er1
37265 ac_status=$?
37266 grep -v '^ *+' conftest.er1 >conftest.err
37267 rm -f conftest.er1
37268 cat conftest.err >&5
37269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37270 (exit $ac_status); } &&
37271 { ac_try='test -z "$ac_c_werror_flag"
37272 || test ! -s conftest.err'
37273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37274 (eval $ac_try) 2>&5
37275 ac_status=$?
37276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37277 (exit $ac_status); }; } &&
37278 { ac_try='test -s conftest$ac_exeext'
37279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37280 (eval $ac_try) 2>&5
37281 ac_status=$?
37282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37283 (exit $ac_status); }; }; then
37284 eval "$as_ac_var=yes"
37285 else
37286 echo "$as_me: failed program was:" >&5
37287 sed 's/^/| /' conftest.$ac_ext >&5
37289 eval "$as_ac_var=no"
37291 rm -f conftest.err conftest.$ac_objext \
37292 conftest$ac_exeext conftest.$ac_ext
37294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37296 if test `eval echo '${'$as_ac_var'}'` = yes; then
37297 cat >>confdefs.h <<_ACEOF
37298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37299 _ACEOF
37302 done
37312 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
37313 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
37314 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37315 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
37316 echo $ECHO_N "(cached) $ECHO_C" >&6
37317 else
37321 ac_ext=cc
37322 ac_cpp='$CXXCPP $CPPFLAGS'
37323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37327 cat >conftest.$ac_ext <<_ACEOF
37328 /* confdefs.h. */
37329 _ACEOF
37330 cat confdefs.h >>conftest.$ac_ext
37331 cat >>conftest.$ac_ext <<_ACEOF
37332 /* end confdefs.h. */
37333 #include <math.h>
37335 main ()
37337 frexpf(0, 0);
37339 return 0;
37341 _ACEOF
37342 rm -f conftest.$ac_objext
37343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37344 (eval $ac_compile) 2>conftest.er1
37345 ac_status=$?
37346 grep -v '^ *+' conftest.er1 >conftest.err
37347 rm -f conftest.er1
37348 cat conftest.err >&5
37349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37350 (exit $ac_status); } &&
37351 { ac_try='test -z "$ac_cxx_werror_flag"
37352 || test ! -s conftest.err'
37353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37354 (eval $ac_try) 2>&5
37355 ac_status=$?
37356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37357 (exit $ac_status); }; } &&
37358 { ac_try='test -s conftest.$ac_objext'
37359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37360 (eval $ac_try) 2>&5
37361 ac_status=$?
37362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37363 (exit $ac_status); }; }; then
37364 glibcxx_cv_func_frexpf_use=yes
37365 else
37366 echo "$as_me: failed program was:" >&5
37367 sed 's/^/| /' conftest.$ac_ext >&5
37369 glibcxx_cv_func_frexpf_use=no
37371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37372 ac_ext=c
37373 ac_cpp='$CPP $CPPFLAGS'
37374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37382 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
37383 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
37385 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37387 for ac_func in frexpf
37389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37390 echo "$as_me:$LINENO: checking for $ac_func" >&5
37391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37392 if eval "test \"\${$as_ac_var+set}\" = set"; then
37393 echo $ECHO_N "(cached) $ECHO_C" >&6
37394 else
37395 if test x$gcc_no_link = xyes; then
37396 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37398 { (exit 1); exit 1; }; }
37400 cat >conftest.$ac_ext <<_ACEOF
37401 /* confdefs.h. */
37402 _ACEOF
37403 cat confdefs.h >>conftest.$ac_ext
37404 cat >>conftest.$ac_ext <<_ACEOF
37405 /* end confdefs.h. */
37406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37407 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37408 #define $ac_func innocuous_$ac_func
37410 /* System header to define __stub macros and hopefully few prototypes,
37411 which can conflict with char $ac_func (); below.
37412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37413 <limits.h> exists even on freestanding compilers. */
37415 #ifdef __STDC__
37416 # include <limits.h>
37417 #else
37418 # include <assert.h>
37419 #endif
37421 #undef $ac_func
37423 /* Override any gcc2 internal prototype to avoid an error. */
37424 #ifdef __cplusplus
37425 extern "C"
37427 #endif
37428 /* We use char because int might match the return type of a gcc2
37429 builtin and then its argument prototype would still apply. */
37430 char $ac_func ();
37431 /* The GNU C library defines this for functions which it implements
37432 to always fail with ENOSYS. Some functions are actually named
37433 something starting with __ and the normal name is an alias. */
37434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37435 choke me
37436 #else
37437 char (*f) () = $ac_func;
37438 #endif
37439 #ifdef __cplusplus
37441 #endif
37444 main ()
37446 return f != $ac_func;
37448 return 0;
37450 _ACEOF
37451 rm -f conftest.$ac_objext conftest$ac_exeext
37452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37453 (eval $ac_link) 2>conftest.er1
37454 ac_status=$?
37455 grep -v '^ *+' conftest.er1 >conftest.err
37456 rm -f conftest.er1
37457 cat conftest.err >&5
37458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37459 (exit $ac_status); } &&
37460 { ac_try='test -z "$ac_c_werror_flag"
37461 || test ! -s conftest.err'
37462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37463 (eval $ac_try) 2>&5
37464 ac_status=$?
37465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37466 (exit $ac_status); }; } &&
37467 { ac_try='test -s conftest$ac_exeext'
37468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37469 (eval $ac_try) 2>&5
37470 ac_status=$?
37471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37472 (exit $ac_status); }; }; then
37473 eval "$as_ac_var=yes"
37474 else
37475 echo "$as_me: failed program was:" >&5
37476 sed 's/^/| /' conftest.$ac_ext >&5
37478 eval "$as_ac_var=no"
37480 rm -f conftest.err conftest.$ac_objext \
37481 conftest$ac_exeext conftest.$ac_ext
37483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37485 if test `eval echo '${'$as_ac_var'}'` = yes; then
37486 cat >>confdefs.h <<_ACEOF
37487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37488 _ACEOF
37491 done
37493 else
37495 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
37496 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
37497 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37498 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
37499 echo $ECHO_N "(cached) $ECHO_C" >&6
37500 else
37504 ac_ext=cc
37505 ac_cpp='$CXXCPP $CPPFLAGS'
37506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37510 cat >conftest.$ac_ext <<_ACEOF
37511 /* confdefs.h. */
37512 _ACEOF
37513 cat confdefs.h >>conftest.$ac_ext
37514 cat >>conftest.$ac_ext <<_ACEOF
37515 /* end confdefs.h. */
37516 #include <math.h>
37518 main ()
37520 _frexpf(0, 0);
37522 return 0;
37524 _ACEOF
37525 rm -f conftest.$ac_objext
37526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37527 (eval $ac_compile) 2>conftest.er1
37528 ac_status=$?
37529 grep -v '^ *+' conftest.er1 >conftest.err
37530 rm -f conftest.er1
37531 cat conftest.err >&5
37532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37533 (exit $ac_status); } &&
37534 { ac_try='test -z "$ac_cxx_werror_flag"
37535 || test ! -s conftest.err'
37536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37537 (eval $ac_try) 2>&5
37538 ac_status=$?
37539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37540 (exit $ac_status); }; } &&
37541 { ac_try='test -s conftest.$ac_objext'
37542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37543 (eval $ac_try) 2>&5
37544 ac_status=$?
37545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37546 (exit $ac_status); }; }; then
37547 glibcxx_cv_func__frexpf_use=yes
37548 else
37549 echo "$as_me: failed program was:" >&5
37550 sed 's/^/| /' conftest.$ac_ext >&5
37552 glibcxx_cv_func__frexpf_use=no
37554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37555 ac_ext=c
37556 ac_cpp='$CPP $CPPFLAGS'
37557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37565 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
37566 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
37568 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37570 for ac_func in _frexpf
37572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37573 echo "$as_me:$LINENO: checking for $ac_func" >&5
37574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37575 if eval "test \"\${$as_ac_var+set}\" = set"; then
37576 echo $ECHO_N "(cached) $ECHO_C" >&6
37577 else
37578 if test x$gcc_no_link = xyes; then
37579 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37581 { (exit 1); exit 1; }; }
37583 cat >conftest.$ac_ext <<_ACEOF
37584 /* confdefs.h. */
37585 _ACEOF
37586 cat confdefs.h >>conftest.$ac_ext
37587 cat >>conftest.$ac_ext <<_ACEOF
37588 /* end confdefs.h. */
37589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37591 #define $ac_func innocuous_$ac_func
37593 /* System header to define __stub macros and hopefully few prototypes,
37594 which can conflict with char $ac_func (); below.
37595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37596 <limits.h> exists even on freestanding compilers. */
37598 #ifdef __STDC__
37599 # include <limits.h>
37600 #else
37601 # include <assert.h>
37602 #endif
37604 #undef $ac_func
37606 /* Override any gcc2 internal prototype to avoid an error. */
37607 #ifdef __cplusplus
37608 extern "C"
37610 #endif
37611 /* We use char because int might match the return type of a gcc2
37612 builtin and then its argument prototype would still apply. */
37613 char $ac_func ();
37614 /* The GNU C library defines this for functions which it implements
37615 to always fail with ENOSYS. Some functions are actually named
37616 something starting with __ and the normal name is an alias. */
37617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37618 choke me
37619 #else
37620 char (*f) () = $ac_func;
37621 #endif
37622 #ifdef __cplusplus
37624 #endif
37627 main ()
37629 return f != $ac_func;
37631 return 0;
37633 _ACEOF
37634 rm -f conftest.$ac_objext conftest$ac_exeext
37635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37636 (eval $ac_link) 2>conftest.er1
37637 ac_status=$?
37638 grep -v '^ *+' conftest.er1 >conftest.err
37639 rm -f conftest.er1
37640 cat conftest.err >&5
37641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37642 (exit $ac_status); } &&
37643 { ac_try='test -z "$ac_c_werror_flag"
37644 || test ! -s conftest.err'
37645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37646 (eval $ac_try) 2>&5
37647 ac_status=$?
37648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37649 (exit $ac_status); }; } &&
37650 { ac_try='test -s conftest$ac_exeext'
37651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37652 (eval $ac_try) 2>&5
37653 ac_status=$?
37654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37655 (exit $ac_status); }; }; then
37656 eval "$as_ac_var=yes"
37657 else
37658 echo "$as_me: failed program was:" >&5
37659 sed 's/^/| /' conftest.$ac_ext >&5
37661 eval "$as_ac_var=no"
37663 rm -f conftest.err conftest.$ac_objext \
37664 conftest$ac_exeext conftest.$ac_ext
37666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37668 if test `eval echo '${'$as_ac_var'}'` = yes; then
37669 cat >>confdefs.h <<_ACEOF
37670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37671 _ACEOF
37674 done
37684 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
37685 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
37686 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37687 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
37688 echo $ECHO_N "(cached) $ECHO_C" >&6
37689 else
37693 ac_ext=cc
37694 ac_cpp='$CXXCPP $CPPFLAGS'
37695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37699 cat >conftest.$ac_ext <<_ACEOF
37700 /* confdefs.h. */
37701 _ACEOF
37702 cat confdefs.h >>conftest.$ac_ext
37703 cat >>conftest.$ac_ext <<_ACEOF
37704 /* end confdefs.h. */
37705 #include <math.h>
37707 main ()
37709 hypotf(0, 0);
37711 return 0;
37713 _ACEOF
37714 rm -f conftest.$ac_objext
37715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37716 (eval $ac_compile) 2>conftest.er1
37717 ac_status=$?
37718 grep -v '^ *+' conftest.er1 >conftest.err
37719 rm -f conftest.er1
37720 cat conftest.err >&5
37721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37722 (exit $ac_status); } &&
37723 { ac_try='test -z "$ac_cxx_werror_flag"
37724 || test ! -s conftest.err'
37725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37726 (eval $ac_try) 2>&5
37727 ac_status=$?
37728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37729 (exit $ac_status); }; } &&
37730 { ac_try='test -s conftest.$ac_objext'
37731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37732 (eval $ac_try) 2>&5
37733 ac_status=$?
37734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37735 (exit $ac_status); }; }; then
37736 glibcxx_cv_func_hypotf_use=yes
37737 else
37738 echo "$as_me: failed program was:" >&5
37739 sed 's/^/| /' conftest.$ac_ext >&5
37741 glibcxx_cv_func_hypotf_use=no
37743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37744 ac_ext=c
37745 ac_cpp='$CPP $CPPFLAGS'
37746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37754 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
37755 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
37757 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37759 for ac_func in hypotf
37761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37762 echo "$as_me:$LINENO: checking for $ac_func" >&5
37763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37764 if eval "test \"\${$as_ac_var+set}\" = set"; then
37765 echo $ECHO_N "(cached) $ECHO_C" >&6
37766 else
37767 if test x$gcc_no_link = xyes; then
37768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37770 { (exit 1); exit 1; }; }
37772 cat >conftest.$ac_ext <<_ACEOF
37773 /* confdefs.h. */
37774 _ACEOF
37775 cat confdefs.h >>conftest.$ac_ext
37776 cat >>conftest.$ac_ext <<_ACEOF
37777 /* end confdefs.h. */
37778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37780 #define $ac_func innocuous_$ac_func
37782 /* System header to define __stub macros and hopefully few prototypes,
37783 which can conflict with char $ac_func (); below.
37784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37785 <limits.h> exists even on freestanding compilers. */
37787 #ifdef __STDC__
37788 # include <limits.h>
37789 #else
37790 # include <assert.h>
37791 #endif
37793 #undef $ac_func
37795 /* Override any gcc2 internal prototype to avoid an error. */
37796 #ifdef __cplusplus
37797 extern "C"
37799 #endif
37800 /* We use char because int might match the return type of a gcc2
37801 builtin and then its argument prototype would still apply. */
37802 char $ac_func ();
37803 /* The GNU C library defines this for functions which it implements
37804 to always fail with ENOSYS. Some functions are actually named
37805 something starting with __ and the normal name is an alias. */
37806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37807 choke me
37808 #else
37809 char (*f) () = $ac_func;
37810 #endif
37811 #ifdef __cplusplus
37813 #endif
37816 main ()
37818 return f != $ac_func;
37820 return 0;
37822 _ACEOF
37823 rm -f conftest.$ac_objext conftest$ac_exeext
37824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37825 (eval $ac_link) 2>conftest.er1
37826 ac_status=$?
37827 grep -v '^ *+' conftest.er1 >conftest.err
37828 rm -f conftest.er1
37829 cat conftest.err >&5
37830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37831 (exit $ac_status); } &&
37832 { ac_try='test -z "$ac_c_werror_flag"
37833 || test ! -s conftest.err'
37834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37835 (eval $ac_try) 2>&5
37836 ac_status=$?
37837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37838 (exit $ac_status); }; } &&
37839 { ac_try='test -s conftest$ac_exeext'
37840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37841 (eval $ac_try) 2>&5
37842 ac_status=$?
37843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37844 (exit $ac_status); }; }; then
37845 eval "$as_ac_var=yes"
37846 else
37847 echo "$as_me: failed program was:" >&5
37848 sed 's/^/| /' conftest.$ac_ext >&5
37850 eval "$as_ac_var=no"
37852 rm -f conftest.err conftest.$ac_objext \
37853 conftest$ac_exeext conftest.$ac_ext
37855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37857 if test `eval echo '${'$as_ac_var'}'` = yes; then
37858 cat >>confdefs.h <<_ACEOF
37859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37860 _ACEOF
37863 done
37865 else
37867 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
37868 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
37869 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37870 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
37871 echo $ECHO_N "(cached) $ECHO_C" >&6
37872 else
37876 ac_ext=cc
37877 ac_cpp='$CXXCPP $CPPFLAGS'
37878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37882 cat >conftest.$ac_ext <<_ACEOF
37883 /* confdefs.h. */
37884 _ACEOF
37885 cat confdefs.h >>conftest.$ac_ext
37886 cat >>conftest.$ac_ext <<_ACEOF
37887 /* end confdefs.h. */
37888 #include <math.h>
37890 main ()
37892 _hypotf(0, 0);
37894 return 0;
37896 _ACEOF
37897 rm -f conftest.$ac_objext
37898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37899 (eval $ac_compile) 2>conftest.er1
37900 ac_status=$?
37901 grep -v '^ *+' conftest.er1 >conftest.err
37902 rm -f conftest.er1
37903 cat conftest.err >&5
37904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37905 (exit $ac_status); } &&
37906 { ac_try='test -z "$ac_cxx_werror_flag"
37907 || test ! -s conftest.err'
37908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37909 (eval $ac_try) 2>&5
37910 ac_status=$?
37911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37912 (exit $ac_status); }; } &&
37913 { ac_try='test -s conftest.$ac_objext'
37914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37915 (eval $ac_try) 2>&5
37916 ac_status=$?
37917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37918 (exit $ac_status); }; }; then
37919 glibcxx_cv_func__hypotf_use=yes
37920 else
37921 echo "$as_me: failed program was:" >&5
37922 sed 's/^/| /' conftest.$ac_ext >&5
37924 glibcxx_cv_func__hypotf_use=no
37926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37927 ac_ext=c
37928 ac_cpp='$CPP $CPPFLAGS'
37929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37937 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
37938 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
37940 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37942 for ac_func in _hypotf
37944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37945 echo "$as_me:$LINENO: checking for $ac_func" >&5
37946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37947 if eval "test \"\${$as_ac_var+set}\" = set"; then
37948 echo $ECHO_N "(cached) $ECHO_C" >&6
37949 else
37950 if test x$gcc_no_link = xyes; then
37951 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37953 { (exit 1); exit 1; }; }
37955 cat >conftest.$ac_ext <<_ACEOF
37956 /* confdefs.h. */
37957 _ACEOF
37958 cat confdefs.h >>conftest.$ac_ext
37959 cat >>conftest.$ac_ext <<_ACEOF
37960 /* end confdefs.h. */
37961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37963 #define $ac_func innocuous_$ac_func
37965 /* System header to define __stub macros and hopefully few prototypes,
37966 which can conflict with char $ac_func (); below.
37967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37968 <limits.h> exists even on freestanding compilers. */
37970 #ifdef __STDC__
37971 # include <limits.h>
37972 #else
37973 # include <assert.h>
37974 #endif
37976 #undef $ac_func
37978 /* Override any gcc2 internal prototype to avoid an error. */
37979 #ifdef __cplusplus
37980 extern "C"
37982 #endif
37983 /* We use char because int might match the return type of a gcc2
37984 builtin and then its argument prototype would still apply. */
37985 char $ac_func ();
37986 /* The GNU C library defines this for functions which it implements
37987 to always fail with ENOSYS. Some functions are actually named
37988 something starting with __ and the normal name is an alias. */
37989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37990 choke me
37991 #else
37992 char (*f) () = $ac_func;
37993 #endif
37994 #ifdef __cplusplus
37996 #endif
37999 main ()
38001 return f != $ac_func;
38003 return 0;
38005 _ACEOF
38006 rm -f conftest.$ac_objext conftest$ac_exeext
38007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38008 (eval $ac_link) 2>conftest.er1
38009 ac_status=$?
38010 grep -v '^ *+' conftest.er1 >conftest.err
38011 rm -f conftest.er1
38012 cat conftest.err >&5
38013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38014 (exit $ac_status); } &&
38015 { ac_try='test -z "$ac_c_werror_flag"
38016 || test ! -s conftest.err'
38017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38018 (eval $ac_try) 2>&5
38019 ac_status=$?
38020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38021 (exit $ac_status); }; } &&
38022 { ac_try='test -s conftest$ac_exeext'
38023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38024 (eval $ac_try) 2>&5
38025 ac_status=$?
38026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38027 (exit $ac_status); }; }; then
38028 eval "$as_ac_var=yes"
38029 else
38030 echo "$as_me: failed program was:" >&5
38031 sed 's/^/| /' conftest.$ac_ext >&5
38033 eval "$as_ac_var=no"
38035 rm -f conftest.err conftest.$ac_objext \
38036 conftest$ac_exeext conftest.$ac_ext
38038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38040 if test `eval echo '${'$as_ac_var'}'` = yes; then
38041 cat >>confdefs.h <<_ACEOF
38042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38043 _ACEOF
38046 done
38056 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
38057 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
38058 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
38059 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
38060 echo $ECHO_N "(cached) $ECHO_C" >&6
38061 else
38065 ac_ext=cc
38066 ac_cpp='$CXXCPP $CPPFLAGS'
38067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38071 cat >conftest.$ac_ext <<_ACEOF
38072 /* confdefs.h. */
38073 _ACEOF
38074 cat confdefs.h >>conftest.$ac_ext
38075 cat >>conftest.$ac_ext <<_ACEOF
38076 /* end confdefs.h. */
38077 #include <math.h>
38079 main ()
38081 ldexpf(0, 0);
38083 return 0;
38085 _ACEOF
38086 rm -f conftest.$ac_objext
38087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38088 (eval $ac_compile) 2>conftest.er1
38089 ac_status=$?
38090 grep -v '^ *+' conftest.er1 >conftest.err
38091 rm -f conftest.er1
38092 cat conftest.err >&5
38093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38094 (exit $ac_status); } &&
38095 { ac_try='test -z "$ac_cxx_werror_flag"
38096 || test ! -s conftest.err'
38097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38098 (eval $ac_try) 2>&5
38099 ac_status=$?
38100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38101 (exit $ac_status); }; } &&
38102 { ac_try='test -s conftest.$ac_objext'
38103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38104 (eval $ac_try) 2>&5
38105 ac_status=$?
38106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38107 (exit $ac_status); }; }; then
38108 glibcxx_cv_func_ldexpf_use=yes
38109 else
38110 echo "$as_me: failed program was:" >&5
38111 sed 's/^/| /' conftest.$ac_ext >&5
38113 glibcxx_cv_func_ldexpf_use=no
38115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38116 ac_ext=c
38117 ac_cpp='$CPP $CPPFLAGS'
38118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38126 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
38127 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
38129 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
38131 for ac_func in ldexpf
38133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38134 echo "$as_me:$LINENO: checking for $ac_func" >&5
38135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38136 if eval "test \"\${$as_ac_var+set}\" = set"; then
38137 echo $ECHO_N "(cached) $ECHO_C" >&6
38138 else
38139 if test x$gcc_no_link = xyes; then
38140 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38142 { (exit 1); exit 1; }; }
38144 cat >conftest.$ac_ext <<_ACEOF
38145 /* confdefs.h. */
38146 _ACEOF
38147 cat confdefs.h >>conftest.$ac_ext
38148 cat >>conftest.$ac_ext <<_ACEOF
38149 /* end confdefs.h. */
38150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38152 #define $ac_func innocuous_$ac_func
38154 /* System header to define __stub macros and hopefully few prototypes,
38155 which can conflict with char $ac_func (); below.
38156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38157 <limits.h> exists even on freestanding compilers. */
38159 #ifdef __STDC__
38160 # include <limits.h>
38161 #else
38162 # include <assert.h>
38163 #endif
38165 #undef $ac_func
38167 /* Override any gcc2 internal prototype to avoid an error. */
38168 #ifdef __cplusplus
38169 extern "C"
38171 #endif
38172 /* We use char because int might match the return type of a gcc2
38173 builtin and then its argument prototype would still apply. */
38174 char $ac_func ();
38175 /* The GNU C library defines this for functions which it implements
38176 to always fail with ENOSYS. Some functions are actually named
38177 something starting with __ and the normal name is an alias. */
38178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38179 choke me
38180 #else
38181 char (*f) () = $ac_func;
38182 #endif
38183 #ifdef __cplusplus
38185 #endif
38188 main ()
38190 return f != $ac_func;
38192 return 0;
38194 _ACEOF
38195 rm -f conftest.$ac_objext conftest$ac_exeext
38196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38197 (eval $ac_link) 2>conftest.er1
38198 ac_status=$?
38199 grep -v '^ *+' conftest.er1 >conftest.err
38200 rm -f conftest.er1
38201 cat conftest.err >&5
38202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38203 (exit $ac_status); } &&
38204 { ac_try='test -z "$ac_c_werror_flag"
38205 || test ! -s conftest.err'
38206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38207 (eval $ac_try) 2>&5
38208 ac_status=$?
38209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38210 (exit $ac_status); }; } &&
38211 { ac_try='test -s conftest$ac_exeext'
38212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38213 (eval $ac_try) 2>&5
38214 ac_status=$?
38215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38216 (exit $ac_status); }; }; then
38217 eval "$as_ac_var=yes"
38218 else
38219 echo "$as_me: failed program was:" >&5
38220 sed 's/^/| /' conftest.$ac_ext >&5
38222 eval "$as_ac_var=no"
38224 rm -f conftest.err conftest.$ac_objext \
38225 conftest$ac_exeext conftest.$ac_ext
38227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38229 if test `eval echo '${'$as_ac_var'}'` = yes; then
38230 cat >>confdefs.h <<_ACEOF
38231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38232 _ACEOF
38235 done
38237 else
38239 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
38240 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
38241 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
38242 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
38243 echo $ECHO_N "(cached) $ECHO_C" >&6
38244 else
38248 ac_ext=cc
38249 ac_cpp='$CXXCPP $CPPFLAGS'
38250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38254 cat >conftest.$ac_ext <<_ACEOF
38255 /* confdefs.h. */
38256 _ACEOF
38257 cat confdefs.h >>conftest.$ac_ext
38258 cat >>conftest.$ac_ext <<_ACEOF
38259 /* end confdefs.h. */
38260 #include <math.h>
38262 main ()
38264 _ldexpf(0, 0);
38266 return 0;
38268 _ACEOF
38269 rm -f conftest.$ac_objext
38270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38271 (eval $ac_compile) 2>conftest.er1
38272 ac_status=$?
38273 grep -v '^ *+' conftest.er1 >conftest.err
38274 rm -f conftest.er1
38275 cat conftest.err >&5
38276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38277 (exit $ac_status); } &&
38278 { ac_try='test -z "$ac_cxx_werror_flag"
38279 || test ! -s conftest.err'
38280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38281 (eval $ac_try) 2>&5
38282 ac_status=$?
38283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38284 (exit $ac_status); }; } &&
38285 { ac_try='test -s conftest.$ac_objext'
38286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38287 (eval $ac_try) 2>&5
38288 ac_status=$?
38289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38290 (exit $ac_status); }; }; then
38291 glibcxx_cv_func__ldexpf_use=yes
38292 else
38293 echo "$as_me: failed program was:" >&5
38294 sed 's/^/| /' conftest.$ac_ext >&5
38296 glibcxx_cv_func__ldexpf_use=no
38298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38299 ac_ext=c
38300 ac_cpp='$CPP $CPPFLAGS'
38301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38309 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
38310 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
38312 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
38314 for ac_func in _ldexpf
38316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38317 echo "$as_me:$LINENO: checking for $ac_func" >&5
38318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38319 if eval "test \"\${$as_ac_var+set}\" = set"; then
38320 echo $ECHO_N "(cached) $ECHO_C" >&6
38321 else
38322 if test x$gcc_no_link = xyes; then
38323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38325 { (exit 1); exit 1; }; }
38327 cat >conftest.$ac_ext <<_ACEOF
38328 /* confdefs.h. */
38329 _ACEOF
38330 cat confdefs.h >>conftest.$ac_ext
38331 cat >>conftest.$ac_ext <<_ACEOF
38332 /* end confdefs.h. */
38333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38335 #define $ac_func innocuous_$ac_func
38337 /* System header to define __stub macros and hopefully few prototypes,
38338 which can conflict with char $ac_func (); below.
38339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38340 <limits.h> exists even on freestanding compilers. */
38342 #ifdef __STDC__
38343 # include <limits.h>
38344 #else
38345 # include <assert.h>
38346 #endif
38348 #undef $ac_func
38350 /* Override any gcc2 internal prototype to avoid an error. */
38351 #ifdef __cplusplus
38352 extern "C"
38354 #endif
38355 /* We use char because int might match the return type of a gcc2
38356 builtin and then its argument prototype would still apply. */
38357 char $ac_func ();
38358 /* The GNU C library defines this for functions which it implements
38359 to always fail with ENOSYS. Some functions are actually named
38360 something starting with __ and the normal name is an alias. */
38361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38362 choke me
38363 #else
38364 char (*f) () = $ac_func;
38365 #endif
38366 #ifdef __cplusplus
38368 #endif
38371 main ()
38373 return f != $ac_func;
38375 return 0;
38377 _ACEOF
38378 rm -f conftest.$ac_objext conftest$ac_exeext
38379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38380 (eval $ac_link) 2>conftest.er1
38381 ac_status=$?
38382 grep -v '^ *+' conftest.er1 >conftest.err
38383 rm -f conftest.er1
38384 cat conftest.err >&5
38385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38386 (exit $ac_status); } &&
38387 { ac_try='test -z "$ac_c_werror_flag"
38388 || test ! -s conftest.err'
38389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38390 (eval $ac_try) 2>&5
38391 ac_status=$?
38392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38393 (exit $ac_status); }; } &&
38394 { ac_try='test -s conftest$ac_exeext'
38395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38396 (eval $ac_try) 2>&5
38397 ac_status=$?
38398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38399 (exit $ac_status); }; }; then
38400 eval "$as_ac_var=yes"
38401 else
38402 echo "$as_me: failed program was:" >&5
38403 sed 's/^/| /' conftest.$ac_ext >&5
38405 eval "$as_ac_var=no"
38407 rm -f conftest.err conftest.$ac_objext \
38408 conftest$ac_exeext conftest.$ac_ext
38410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38412 if test `eval echo '${'$as_ac_var'}'` = yes; then
38413 cat >>confdefs.h <<_ACEOF
38414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38415 _ACEOF
38418 done
38428 echo "$as_me:$LINENO: checking for logf declaration" >&5
38429 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
38430 if test x${glibcxx_cv_func_logf_use+set} != xset; then
38431 if test "${glibcxx_cv_func_logf_use+set}" = set; then
38432 echo $ECHO_N "(cached) $ECHO_C" >&6
38433 else
38437 ac_ext=cc
38438 ac_cpp='$CXXCPP $CPPFLAGS'
38439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38443 cat >conftest.$ac_ext <<_ACEOF
38444 /* confdefs.h. */
38445 _ACEOF
38446 cat confdefs.h >>conftest.$ac_ext
38447 cat >>conftest.$ac_ext <<_ACEOF
38448 /* end confdefs.h. */
38449 #include <math.h>
38450 #ifdef HAVE_IEEEFP_H
38451 #include <ieeefp.h>
38452 #endif
38455 main ()
38457 logf(0);
38459 return 0;
38461 _ACEOF
38462 rm -f conftest.$ac_objext
38463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38464 (eval $ac_compile) 2>conftest.er1
38465 ac_status=$?
38466 grep -v '^ *+' conftest.er1 >conftest.err
38467 rm -f conftest.er1
38468 cat conftest.err >&5
38469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38470 (exit $ac_status); } &&
38471 { ac_try='test -z "$ac_cxx_werror_flag"
38472 || test ! -s conftest.err'
38473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38474 (eval $ac_try) 2>&5
38475 ac_status=$?
38476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38477 (exit $ac_status); }; } &&
38478 { ac_try='test -s conftest.$ac_objext'
38479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38480 (eval $ac_try) 2>&5
38481 ac_status=$?
38482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38483 (exit $ac_status); }; }; then
38484 glibcxx_cv_func_logf_use=yes
38485 else
38486 echo "$as_me: failed program was:" >&5
38487 sed 's/^/| /' conftest.$ac_ext >&5
38489 glibcxx_cv_func_logf_use=no
38491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38492 ac_ext=c
38493 ac_cpp='$CPP $CPPFLAGS'
38494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38502 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
38503 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
38505 if test x$glibcxx_cv_func_logf_use = x"yes"; then
38507 for ac_func in logf
38509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38510 echo "$as_me:$LINENO: checking for $ac_func" >&5
38511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38512 if eval "test \"\${$as_ac_var+set}\" = set"; then
38513 echo $ECHO_N "(cached) $ECHO_C" >&6
38514 else
38515 if test x$gcc_no_link = xyes; then
38516 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38518 { (exit 1); exit 1; }; }
38520 cat >conftest.$ac_ext <<_ACEOF
38521 /* confdefs.h. */
38522 _ACEOF
38523 cat confdefs.h >>conftest.$ac_ext
38524 cat >>conftest.$ac_ext <<_ACEOF
38525 /* end confdefs.h. */
38526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38527 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38528 #define $ac_func innocuous_$ac_func
38530 /* System header to define __stub macros and hopefully few prototypes,
38531 which can conflict with char $ac_func (); below.
38532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38533 <limits.h> exists even on freestanding compilers. */
38535 #ifdef __STDC__
38536 # include <limits.h>
38537 #else
38538 # include <assert.h>
38539 #endif
38541 #undef $ac_func
38543 /* Override any gcc2 internal prototype to avoid an error. */
38544 #ifdef __cplusplus
38545 extern "C"
38547 #endif
38548 /* We use char because int might match the return type of a gcc2
38549 builtin and then its argument prototype would still apply. */
38550 char $ac_func ();
38551 /* The GNU C library defines this for functions which it implements
38552 to always fail with ENOSYS. Some functions are actually named
38553 something starting with __ and the normal name is an alias. */
38554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38555 choke me
38556 #else
38557 char (*f) () = $ac_func;
38558 #endif
38559 #ifdef __cplusplus
38561 #endif
38564 main ()
38566 return f != $ac_func;
38568 return 0;
38570 _ACEOF
38571 rm -f conftest.$ac_objext conftest$ac_exeext
38572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38573 (eval $ac_link) 2>conftest.er1
38574 ac_status=$?
38575 grep -v '^ *+' conftest.er1 >conftest.err
38576 rm -f conftest.er1
38577 cat conftest.err >&5
38578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38579 (exit $ac_status); } &&
38580 { ac_try='test -z "$ac_c_werror_flag"
38581 || test ! -s conftest.err'
38582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38583 (eval $ac_try) 2>&5
38584 ac_status=$?
38585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38586 (exit $ac_status); }; } &&
38587 { ac_try='test -s conftest$ac_exeext'
38588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38589 (eval $ac_try) 2>&5
38590 ac_status=$?
38591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38592 (exit $ac_status); }; }; then
38593 eval "$as_ac_var=yes"
38594 else
38595 echo "$as_me: failed program was:" >&5
38596 sed 's/^/| /' conftest.$ac_ext >&5
38598 eval "$as_ac_var=no"
38600 rm -f conftest.err conftest.$ac_objext \
38601 conftest$ac_exeext conftest.$ac_ext
38603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38605 if test `eval echo '${'$as_ac_var'}'` = yes; then
38606 cat >>confdefs.h <<_ACEOF
38607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38608 _ACEOF
38611 done
38613 else
38615 echo "$as_me:$LINENO: checking for _logf declaration" >&5
38616 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
38617 if test x${glibcxx_cv_func__logf_use+set} != xset; then
38618 if test "${glibcxx_cv_func__logf_use+set}" = set; then
38619 echo $ECHO_N "(cached) $ECHO_C" >&6
38620 else
38624 ac_ext=cc
38625 ac_cpp='$CXXCPP $CPPFLAGS'
38626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38630 cat >conftest.$ac_ext <<_ACEOF
38631 /* confdefs.h. */
38632 _ACEOF
38633 cat confdefs.h >>conftest.$ac_ext
38634 cat >>conftest.$ac_ext <<_ACEOF
38635 /* end confdefs.h. */
38636 #include <math.h>
38637 #ifdef HAVE_IEEEFP_H
38638 #include <ieeefp.h>
38639 #endif
38642 main ()
38644 _logf(0);
38646 return 0;
38648 _ACEOF
38649 rm -f conftest.$ac_objext
38650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38651 (eval $ac_compile) 2>conftest.er1
38652 ac_status=$?
38653 grep -v '^ *+' conftest.er1 >conftest.err
38654 rm -f conftest.er1
38655 cat conftest.err >&5
38656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38657 (exit $ac_status); } &&
38658 { ac_try='test -z "$ac_cxx_werror_flag"
38659 || test ! -s conftest.err'
38660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38661 (eval $ac_try) 2>&5
38662 ac_status=$?
38663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38664 (exit $ac_status); }; } &&
38665 { ac_try='test -s conftest.$ac_objext'
38666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38667 (eval $ac_try) 2>&5
38668 ac_status=$?
38669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38670 (exit $ac_status); }; }; then
38671 glibcxx_cv_func__logf_use=yes
38672 else
38673 echo "$as_me: failed program was:" >&5
38674 sed 's/^/| /' conftest.$ac_ext >&5
38676 glibcxx_cv_func__logf_use=no
38678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38679 ac_ext=c
38680 ac_cpp='$CPP $CPPFLAGS'
38681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38689 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
38690 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
38692 if test x$glibcxx_cv_func__logf_use = x"yes"; then
38694 for ac_func in _logf
38696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38697 echo "$as_me:$LINENO: checking for $ac_func" >&5
38698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38699 if eval "test \"\${$as_ac_var+set}\" = set"; then
38700 echo $ECHO_N "(cached) $ECHO_C" >&6
38701 else
38702 if test x$gcc_no_link = xyes; then
38703 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38705 { (exit 1); exit 1; }; }
38707 cat >conftest.$ac_ext <<_ACEOF
38708 /* confdefs.h. */
38709 _ACEOF
38710 cat confdefs.h >>conftest.$ac_ext
38711 cat >>conftest.$ac_ext <<_ACEOF
38712 /* end confdefs.h. */
38713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38715 #define $ac_func innocuous_$ac_func
38717 /* System header to define __stub macros and hopefully few prototypes,
38718 which can conflict with char $ac_func (); below.
38719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38720 <limits.h> exists even on freestanding compilers. */
38722 #ifdef __STDC__
38723 # include <limits.h>
38724 #else
38725 # include <assert.h>
38726 #endif
38728 #undef $ac_func
38730 /* Override any gcc2 internal prototype to avoid an error. */
38731 #ifdef __cplusplus
38732 extern "C"
38734 #endif
38735 /* We use char because int might match the return type of a gcc2
38736 builtin and then its argument prototype would still apply. */
38737 char $ac_func ();
38738 /* The GNU C library defines this for functions which it implements
38739 to always fail with ENOSYS. Some functions are actually named
38740 something starting with __ and the normal name is an alias. */
38741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38742 choke me
38743 #else
38744 char (*f) () = $ac_func;
38745 #endif
38746 #ifdef __cplusplus
38748 #endif
38751 main ()
38753 return f != $ac_func;
38755 return 0;
38757 _ACEOF
38758 rm -f conftest.$ac_objext conftest$ac_exeext
38759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38760 (eval $ac_link) 2>conftest.er1
38761 ac_status=$?
38762 grep -v '^ *+' conftest.er1 >conftest.err
38763 rm -f conftest.er1
38764 cat conftest.err >&5
38765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38766 (exit $ac_status); } &&
38767 { ac_try='test -z "$ac_c_werror_flag"
38768 || test ! -s conftest.err'
38769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38770 (eval $ac_try) 2>&5
38771 ac_status=$?
38772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38773 (exit $ac_status); }; } &&
38774 { ac_try='test -s conftest$ac_exeext'
38775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38776 (eval $ac_try) 2>&5
38777 ac_status=$?
38778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38779 (exit $ac_status); }; }; then
38780 eval "$as_ac_var=yes"
38781 else
38782 echo "$as_me: failed program was:" >&5
38783 sed 's/^/| /' conftest.$ac_ext >&5
38785 eval "$as_ac_var=no"
38787 rm -f conftest.err conftest.$ac_objext \
38788 conftest$ac_exeext conftest.$ac_ext
38790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38792 if test `eval echo '${'$as_ac_var'}'` = yes; then
38793 cat >>confdefs.h <<_ACEOF
38794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38795 _ACEOF
38798 done
38808 echo "$as_me:$LINENO: checking for log10f declaration" >&5
38809 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
38810 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
38811 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
38812 echo $ECHO_N "(cached) $ECHO_C" >&6
38813 else
38817 ac_ext=cc
38818 ac_cpp='$CXXCPP $CPPFLAGS'
38819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38823 cat >conftest.$ac_ext <<_ACEOF
38824 /* confdefs.h. */
38825 _ACEOF
38826 cat confdefs.h >>conftest.$ac_ext
38827 cat >>conftest.$ac_ext <<_ACEOF
38828 /* end confdefs.h. */
38829 #include <math.h>
38830 #ifdef HAVE_IEEEFP_H
38831 #include <ieeefp.h>
38832 #endif
38835 main ()
38837 log10f(0);
38839 return 0;
38841 _ACEOF
38842 rm -f conftest.$ac_objext
38843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38844 (eval $ac_compile) 2>conftest.er1
38845 ac_status=$?
38846 grep -v '^ *+' conftest.er1 >conftest.err
38847 rm -f conftest.er1
38848 cat conftest.err >&5
38849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38850 (exit $ac_status); } &&
38851 { ac_try='test -z "$ac_cxx_werror_flag"
38852 || test ! -s conftest.err'
38853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38854 (eval $ac_try) 2>&5
38855 ac_status=$?
38856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38857 (exit $ac_status); }; } &&
38858 { ac_try='test -s conftest.$ac_objext'
38859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38860 (eval $ac_try) 2>&5
38861 ac_status=$?
38862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38863 (exit $ac_status); }; }; then
38864 glibcxx_cv_func_log10f_use=yes
38865 else
38866 echo "$as_me: failed program was:" >&5
38867 sed 's/^/| /' conftest.$ac_ext >&5
38869 glibcxx_cv_func_log10f_use=no
38871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38872 ac_ext=c
38873 ac_cpp='$CPP $CPPFLAGS'
38874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38882 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
38883 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
38885 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38887 for ac_func in log10f
38889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38890 echo "$as_me:$LINENO: checking for $ac_func" >&5
38891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38892 if eval "test \"\${$as_ac_var+set}\" = set"; then
38893 echo $ECHO_N "(cached) $ECHO_C" >&6
38894 else
38895 if test x$gcc_no_link = xyes; then
38896 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38898 { (exit 1); exit 1; }; }
38900 cat >conftest.$ac_ext <<_ACEOF
38901 /* confdefs.h. */
38902 _ACEOF
38903 cat confdefs.h >>conftest.$ac_ext
38904 cat >>conftest.$ac_ext <<_ACEOF
38905 /* end confdefs.h. */
38906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38908 #define $ac_func innocuous_$ac_func
38910 /* System header to define __stub macros and hopefully few prototypes,
38911 which can conflict with char $ac_func (); below.
38912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38913 <limits.h> exists even on freestanding compilers. */
38915 #ifdef __STDC__
38916 # include <limits.h>
38917 #else
38918 # include <assert.h>
38919 #endif
38921 #undef $ac_func
38923 /* Override any gcc2 internal prototype to avoid an error. */
38924 #ifdef __cplusplus
38925 extern "C"
38927 #endif
38928 /* We use char because int might match the return type of a gcc2
38929 builtin and then its argument prototype would still apply. */
38930 char $ac_func ();
38931 /* The GNU C library defines this for functions which it implements
38932 to always fail with ENOSYS. Some functions are actually named
38933 something starting with __ and the normal name is an alias. */
38934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38935 choke me
38936 #else
38937 char (*f) () = $ac_func;
38938 #endif
38939 #ifdef __cplusplus
38941 #endif
38944 main ()
38946 return f != $ac_func;
38948 return 0;
38950 _ACEOF
38951 rm -f conftest.$ac_objext conftest$ac_exeext
38952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38953 (eval $ac_link) 2>conftest.er1
38954 ac_status=$?
38955 grep -v '^ *+' conftest.er1 >conftest.err
38956 rm -f conftest.er1
38957 cat conftest.err >&5
38958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38959 (exit $ac_status); } &&
38960 { ac_try='test -z "$ac_c_werror_flag"
38961 || test ! -s conftest.err'
38962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38963 (eval $ac_try) 2>&5
38964 ac_status=$?
38965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38966 (exit $ac_status); }; } &&
38967 { ac_try='test -s conftest$ac_exeext'
38968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38969 (eval $ac_try) 2>&5
38970 ac_status=$?
38971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38972 (exit $ac_status); }; }; then
38973 eval "$as_ac_var=yes"
38974 else
38975 echo "$as_me: failed program was:" >&5
38976 sed 's/^/| /' conftest.$ac_ext >&5
38978 eval "$as_ac_var=no"
38980 rm -f conftest.err conftest.$ac_objext \
38981 conftest$ac_exeext conftest.$ac_ext
38983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38984 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38985 if test `eval echo '${'$as_ac_var'}'` = yes; then
38986 cat >>confdefs.h <<_ACEOF
38987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38988 _ACEOF
38991 done
38993 else
38995 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
38996 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
38997 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38998 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
38999 echo $ECHO_N "(cached) $ECHO_C" >&6
39000 else
39004 ac_ext=cc
39005 ac_cpp='$CXXCPP $CPPFLAGS'
39006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39010 cat >conftest.$ac_ext <<_ACEOF
39011 /* confdefs.h. */
39012 _ACEOF
39013 cat confdefs.h >>conftest.$ac_ext
39014 cat >>conftest.$ac_ext <<_ACEOF
39015 /* end confdefs.h. */
39016 #include <math.h>
39017 #ifdef HAVE_IEEEFP_H
39018 #include <ieeefp.h>
39019 #endif
39022 main ()
39024 _log10f(0);
39026 return 0;
39028 _ACEOF
39029 rm -f conftest.$ac_objext
39030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39031 (eval $ac_compile) 2>conftest.er1
39032 ac_status=$?
39033 grep -v '^ *+' conftest.er1 >conftest.err
39034 rm -f conftest.er1
39035 cat conftest.err >&5
39036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39037 (exit $ac_status); } &&
39038 { ac_try='test -z "$ac_cxx_werror_flag"
39039 || test ! -s conftest.err'
39040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39041 (eval $ac_try) 2>&5
39042 ac_status=$?
39043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39044 (exit $ac_status); }; } &&
39045 { ac_try='test -s conftest.$ac_objext'
39046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39047 (eval $ac_try) 2>&5
39048 ac_status=$?
39049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39050 (exit $ac_status); }; }; then
39051 glibcxx_cv_func__log10f_use=yes
39052 else
39053 echo "$as_me: failed program was:" >&5
39054 sed 's/^/| /' conftest.$ac_ext >&5
39056 glibcxx_cv_func__log10f_use=no
39058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39059 ac_ext=c
39060 ac_cpp='$CPP $CPPFLAGS'
39061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39069 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
39070 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
39072 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
39074 for ac_func in _log10f
39076 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39077 echo "$as_me:$LINENO: checking for $ac_func" >&5
39078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39079 if eval "test \"\${$as_ac_var+set}\" = set"; then
39080 echo $ECHO_N "(cached) $ECHO_C" >&6
39081 else
39082 if test x$gcc_no_link = xyes; then
39083 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39085 { (exit 1); exit 1; }; }
39087 cat >conftest.$ac_ext <<_ACEOF
39088 /* confdefs.h. */
39089 _ACEOF
39090 cat confdefs.h >>conftest.$ac_ext
39091 cat >>conftest.$ac_ext <<_ACEOF
39092 /* end confdefs.h. */
39093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39095 #define $ac_func innocuous_$ac_func
39097 /* System header to define __stub macros and hopefully few prototypes,
39098 which can conflict with char $ac_func (); below.
39099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39100 <limits.h> exists even on freestanding compilers. */
39102 #ifdef __STDC__
39103 # include <limits.h>
39104 #else
39105 # include <assert.h>
39106 #endif
39108 #undef $ac_func
39110 /* Override any gcc2 internal prototype to avoid an error. */
39111 #ifdef __cplusplus
39112 extern "C"
39114 #endif
39115 /* We use char because int might match the return type of a gcc2
39116 builtin and then its argument prototype would still apply. */
39117 char $ac_func ();
39118 /* The GNU C library defines this for functions which it implements
39119 to always fail with ENOSYS. Some functions are actually named
39120 something starting with __ and the normal name is an alias. */
39121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39122 choke me
39123 #else
39124 char (*f) () = $ac_func;
39125 #endif
39126 #ifdef __cplusplus
39128 #endif
39131 main ()
39133 return f != $ac_func;
39135 return 0;
39137 _ACEOF
39138 rm -f conftest.$ac_objext conftest$ac_exeext
39139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39140 (eval $ac_link) 2>conftest.er1
39141 ac_status=$?
39142 grep -v '^ *+' conftest.er1 >conftest.err
39143 rm -f conftest.er1
39144 cat conftest.err >&5
39145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39146 (exit $ac_status); } &&
39147 { ac_try='test -z "$ac_c_werror_flag"
39148 || test ! -s conftest.err'
39149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39150 (eval $ac_try) 2>&5
39151 ac_status=$?
39152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39153 (exit $ac_status); }; } &&
39154 { ac_try='test -s conftest$ac_exeext'
39155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39156 (eval $ac_try) 2>&5
39157 ac_status=$?
39158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39159 (exit $ac_status); }; }; then
39160 eval "$as_ac_var=yes"
39161 else
39162 echo "$as_me: failed program was:" >&5
39163 sed 's/^/| /' conftest.$ac_ext >&5
39165 eval "$as_ac_var=no"
39167 rm -f conftest.err conftest.$ac_objext \
39168 conftest$ac_exeext conftest.$ac_ext
39170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39172 if test `eval echo '${'$as_ac_var'}'` = yes; then
39173 cat >>confdefs.h <<_ACEOF
39174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39175 _ACEOF
39178 done
39188 echo "$as_me:$LINENO: checking for modff declaration" >&5
39189 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
39190 if test x${glibcxx_cv_func_modff_use+set} != xset; then
39191 if test "${glibcxx_cv_func_modff_use+set}" = set; then
39192 echo $ECHO_N "(cached) $ECHO_C" >&6
39193 else
39197 ac_ext=cc
39198 ac_cpp='$CXXCPP $CPPFLAGS'
39199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39203 cat >conftest.$ac_ext <<_ACEOF
39204 /* confdefs.h. */
39205 _ACEOF
39206 cat confdefs.h >>conftest.$ac_ext
39207 cat >>conftest.$ac_ext <<_ACEOF
39208 /* end confdefs.h. */
39209 #include <math.h>
39211 main ()
39213 modff(0, 0);
39215 return 0;
39217 _ACEOF
39218 rm -f conftest.$ac_objext
39219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39220 (eval $ac_compile) 2>conftest.er1
39221 ac_status=$?
39222 grep -v '^ *+' conftest.er1 >conftest.err
39223 rm -f conftest.er1
39224 cat conftest.err >&5
39225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39226 (exit $ac_status); } &&
39227 { ac_try='test -z "$ac_cxx_werror_flag"
39228 || test ! -s conftest.err'
39229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39230 (eval $ac_try) 2>&5
39231 ac_status=$?
39232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39233 (exit $ac_status); }; } &&
39234 { ac_try='test -s conftest.$ac_objext'
39235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39236 (eval $ac_try) 2>&5
39237 ac_status=$?
39238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39239 (exit $ac_status); }; }; then
39240 glibcxx_cv_func_modff_use=yes
39241 else
39242 echo "$as_me: failed program was:" >&5
39243 sed 's/^/| /' conftest.$ac_ext >&5
39245 glibcxx_cv_func_modff_use=no
39247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39248 ac_ext=c
39249 ac_cpp='$CPP $CPPFLAGS'
39250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39258 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
39259 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
39261 if test x$glibcxx_cv_func_modff_use = x"yes"; then
39263 for ac_func in modff
39265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39266 echo "$as_me:$LINENO: checking for $ac_func" >&5
39267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39268 if eval "test \"\${$as_ac_var+set}\" = set"; then
39269 echo $ECHO_N "(cached) $ECHO_C" >&6
39270 else
39271 if test x$gcc_no_link = xyes; then
39272 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39274 { (exit 1); exit 1; }; }
39276 cat >conftest.$ac_ext <<_ACEOF
39277 /* confdefs.h. */
39278 _ACEOF
39279 cat confdefs.h >>conftest.$ac_ext
39280 cat >>conftest.$ac_ext <<_ACEOF
39281 /* end confdefs.h. */
39282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39284 #define $ac_func innocuous_$ac_func
39286 /* System header to define __stub macros and hopefully few prototypes,
39287 which can conflict with char $ac_func (); below.
39288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39289 <limits.h> exists even on freestanding compilers. */
39291 #ifdef __STDC__
39292 # include <limits.h>
39293 #else
39294 # include <assert.h>
39295 #endif
39297 #undef $ac_func
39299 /* Override any gcc2 internal prototype to avoid an error. */
39300 #ifdef __cplusplus
39301 extern "C"
39303 #endif
39304 /* We use char because int might match the return type of a gcc2
39305 builtin and then its argument prototype would still apply. */
39306 char $ac_func ();
39307 /* The GNU C library defines this for functions which it implements
39308 to always fail with ENOSYS. Some functions are actually named
39309 something starting with __ and the normal name is an alias. */
39310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39311 choke me
39312 #else
39313 char (*f) () = $ac_func;
39314 #endif
39315 #ifdef __cplusplus
39317 #endif
39320 main ()
39322 return f != $ac_func;
39324 return 0;
39326 _ACEOF
39327 rm -f conftest.$ac_objext conftest$ac_exeext
39328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39329 (eval $ac_link) 2>conftest.er1
39330 ac_status=$?
39331 grep -v '^ *+' conftest.er1 >conftest.err
39332 rm -f conftest.er1
39333 cat conftest.err >&5
39334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39335 (exit $ac_status); } &&
39336 { ac_try='test -z "$ac_c_werror_flag"
39337 || test ! -s conftest.err'
39338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39339 (eval $ac_try) 2>&5
39340 ac_status=$?
39341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39342 (exit $ac_status); }; } &&
39343 { ac_try='test -s conftest$ac_exeext'
39344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39345 (eval $ac_try) 2>&5
39346 ac_status=$?
39347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39348 (exit $ac_status); }; }; then
39349 eval "$as_ac_var=yes"
39350 else
39351 echo "$as_me: failed program was:" >&5
39352 sed 's/^/| /' conftest.$ac_ext >&5
39354 eval "$as_ac_var=no"
39356 rm -f conftest.err conftest.$ac_objext \
39357 conftest$ac_exeext conftest.$ac_ext
39359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39361 if test `eval echo '${'$as_ac_var'}'` = yes; then
39362 cat >>confdefs.h <<_ACEOF
39363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39364 _ACEOF
39367 done
39369 else
39371 echo "$as_me:$LINENO: checking for _modff declaration" >&5
39372 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
39373 if test x${glibcxx_cv_func__modff_use+set} != xset; then
39374 if test "${glibcxx_cv_func__modff_use+set}" = set; then
39375 echo $ECHO_N "(cached) $ECHO_C" >&6
39376 else
39380 ac_ext=cc
39381 ac_cpp='$CXXCPP $CPPFLAGS'
39382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39386 cat >conftest.$ac_ext <<_ACEOF
39387 /* confdefs.h. */
39388 _ACEOF
39389 cat confdefs.h >>conftest.$ac_ext
39390 cat >>conftest.$ac_ext <<_ACEOF
39391 /* end confdefs.h. */
39392 #include <math.h>
39394 main ()
39396 _modff(0, 0);
39398 return 0;
39400 _ACEOF
39401 rm -f conftest.$ac_objext
39402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39403 (eval $ac_compile) 2>conftest.er1
39404 ac_status=$?
39405 grep -v '^ *+' conftest.er1 >conftest.err
39406 rm -f conftest.er1
39407 cat conftest.err >&5
39408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39409 (exit $ac_status); } &&
39410 { ac_try='test -z "$ac_cxx_werror_flag"
39411 || test ! -s conftest.err'
39412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39413 (eval $ac_try) 2>&5
39414 ac_status=$?
39415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39416 (exit $ac_status); }; } &&
39417 { ac_try='test -s conftest.$ac_objext'
39418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39419 (eval $ac_try) 2>&5
39420 ac_status=$?
39421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39422 (exit $ac_status); }; }; then
39423 glibcxx_cv_func__modff_use=yes
39424 else
39425 echo "$as_me: failed program was:" >&5
39426 sed 's/^/| /' conftest.$ac_ext >&5
39428 glibcxx_cv_func__modff_use=no
39430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39431 ac_ext=c
39432 ac_cpp='$CPP $CPPFLAGS'
39433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39441 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
39442 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
39444 if test x$glibcxx_cv_func__modff_use = x"yes"; then
39446 for ac_func in _modff
39448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39449 echo "$as_me:$LINENO: checking for $ac_func" >&5
39450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39451 if eval "test \"\${$as_ac_var+set}\" = set"; then
39452 echo $ECHO_N "(cached) $ECHO_C" >&6
39453 else
39454 if test x$gcc_no_link = xyes; then
39455 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39457 { (exit 1); exit 1; }; }
39459 cat >conftest.$ac_ext <<_ACEOF
39460 /* confdefs.h. */
39461 _ACEOF
39462 cat confdefs.h >>conftest.$ac_ext
39463 cat >>conftest.$ac_ext <<_ACEOF
39464 /* end confdefs.h. */
39465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39467 #define $ac_func innocuous_$ac_func
39469 /* System header to define __stub macros and hopefully few prototypes,
39470 which can conflict with char $ac_func (); below.
39471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39472 <limits.h> exists even on freestanding compilers. */
39474 #ifdef __STDC__
39475 # include <limits.h>
39476 #else
39477 # include <assert.h>
39478 #endif
39480 #undef $ac_func
39482 /* Override any gcc2 internal prototype to avoid an error. */
39483 #ifdef __cplusplus
39484 extern "C"
39486 #endif
39487 /* We use char because int might match the return type of a gcc2
39488 builtin and then its argument prototype would still apply. */
39489 char $ac_func ();
39490 /* The GNU C library defines this for functions which it implements
39491 to always fail with ENOSYS. Some functions are actually named
39492 something starting with __ and the normal name is an alias. */
39493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39494 choke me
39495 #else
39496 char (*f) () = $ac_func;
39497 #endif
39498 #ifdef __cplusplus
39500 #endif
39503 main ()
39505 return f != $ac_func;
39507 return 0;
39509 _ACEOF
39510 rm -f conftest.$ac_objext conftest$ac_exeext
39511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39512 (eval $ac_link) 2>conftest.er1
39513 ac_status=$?
39514 grep -v '^ *+' conftest.er1 >conftest.err
39515 rm -f conftest.er1
39516 cat conftest.err >&5
39517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39518 (exit $ac_status); } &&
39519 { ac_try='test -z "$ac_c_werror_flag"
39520 || test ! -s conftest.err'
39521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39522 (eval $ac_try) 2>&5
39523 ac_status=$?
39524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39525 (exit $ac_status); }; } &&
39526 { ac_try='test -s conftest$ac_exeext'
39527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39528 (eval $ac_try) 2>&5
39529 ac_status=$?
39530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39531 (exit $ac_status); }; }; then
39532 eval "$as_ac_var=yes"
39533 else
39534 echo "$as_me: failed program was:" >&5
39535 sed 's/^/| /' conftest.$ac_ext >&5
39537 eval "$as_ac_var=no"
39539 rm -f conftest.err conftest.$ac_objext \
39540 conftest$ac_exeext conftest.$ac_ext
39542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39544 if test `eval echo '${'$as_ac_var'}'` = yes; then
39545 cat >>confdefs.h <<_ACEOF
39546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39547 _ACEOF
39550 done
39560 echo "$as_me:$LINENO: checking for modf declaration" >&5
39561 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
39562 if test x${glibcxx_cv_func_modf_use+set} != xset; then
39563 if test "${glibcxx_cv_func_modf_use+set}" = set; then
39564 echo $ECHO_N "(cached) $ECHO_C" >&6
39565 else
39569 ac_ext=cc
39570 ac_cpp='$CXXCPP $CPPFLAGS'
39571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39575 cat >conftest.$ac_ext <<_ACEOF
39576 /* confdefs.h. */
39577 _ACEOF
39578 cat confdefs.h >>conftest.$ac_ext
39579 cat >>conftest.$ac_ext <<_ACEOF
39580 /* end confdefs.h. */
39581 #include <math.h>
39583 main ()
39585 modf(0, 0);
39587 return 0;
39589 _ACEOF
39590 rm -f conftest.$ac_objext
39591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39592 (eval $ac_compile) 2>conftest.er1
39593 ac_status=$?
39594 grep -v '^ *+' conftest.er1 >conftest.err
39595 rm -f conftest.er1
39596 cat conftest.err >&5
39597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39598 (exit $ac_status); } &&
39599 { ac_try='test -z "$ac_cxx_werror_flag"
39600 || test ! -s conftest.err'
39601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39602 (eval $ac_try) 2>&5
39603 ac_status=$?
39604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39605 (exit $ac_status); }; } &&
39606 { ac_try='test -s conftest.$ac_objext'
39607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39608 (eval $ac_try) 2>&5
39609 ac_status=$?
39610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39611 (exit $ac_status); }; }; then
39612 glibcxx_cv_func_modf_use=yes
39613 else
39614 echo "$as_me: failed program was:" >&5
39615 sed 's/^/| /' conftest.$ac_ext >&5
39617 glibcxx_cv_func_modf_use=no
39619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39620 ac_ext=c
39621 ac_cpp='$CPP $CPPFLAGS'
39622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39630 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
39631 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
39633 if test x$glibcxx_cv_func_modf_use = x"yes"; then
39635 for ac_func in modf
39637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39638 echo "$as_me:$LINENO: checking for $ac_func" >&5
39639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39640 if eval "test \"\${$as_ac_var+set}\" = set"; then
39641 echo $ECHO_N "(cached) $ECHO_C" >&6
39642 else
39643 if test x$gcc_no_link = xyes; then
39644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39646 { (exit 1); exit 1; }; }
39648 cat >conftest.$ac_ext <<_ACEOF
39649 /* confdefs.h. */
39650 _ACEOF
39651 cat confdefs.h >>conftest.$ac_ext
39652 cat >>conftest.$ac_ext <<_ACEOF
39653 /* end confdefs.h. */
39654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39656 #define $ac_func innocuous_$ac_func
39658 /* System header to define __stub macros and hopefully few prototypes,
39659 which can conflict with char $ac_func (); below.
39660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39661 <limits.h> exists even on freestanding compilers. */
39663 #ifdef __STDC__
39664 # include <limits.h>
39665 #else
39666 # include <assert.h>
39667 #endif
39669 #undef $ac_func
39671 /* Override any gcc2 internal prototype to avoid an error. */
39672 #ifdef __cplusplus
39673 extern "C"
39675 #endif
39676 /* We use char because int might match the return type of a gcc2
39677 builtin and then its argument prototype would still apply. */
39678 char $ac_func ();
39679 /* The GNU C library defines this for functions which it implements
39680 to always fail with ENOSYS. Some functions are actually named
39681 something starting with __ and the normal name is an alias. */
39682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39683 choke me
39684 #else
39685 char (*f) () = $ac_func;
39686 #endif
39687 #ifdef __cplusplus
39689 #endif
39692 main ()
39694 return f != $ac_func;
39696 return 0;
39698 _ACEOF
39699 rm -f conftest.$ac_objext conftest$ac_exeext
39700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39701 (eval $ac_link) 2>conftest.er1
39702 ac_status=$?
39703 grep -v '^ *+' conftest.er1 >conftest.err
39704 rm -f conftest.er1
39705 cat conftest.err >&5
39706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39707 (exit $ac_status); } &&
39708 { ac_try='test -z "$ac_c_werror_flag"
39709 || test ! -s conftest.err'
39710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39711 (eval $ac_try) 2>&5
39712 ac_status=$?
39713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39714 (exit $ac_status); }; } &&
39715 { ac_try='test -s conftest$ac_exeext'
39716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39717 (eval $ac_try) 2>&5
39718 ac_status=$?
39719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39720 (exit $ac_status); }; }; then
39721 eval "$as_ac_var=yes"
39722 else
39723 echo "$as_me: failed program was:" >&5
39724 sed 's/^/| /' conftest.$ac_ext >&5
39726 eval "$as_ac_var=no"
39728 rm -f conftest.err conftest.$ac_objext \
39729 conftest$ac_exeext conftest.$ac_ext
39731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39733 if test `eval echo '${'$as_ac_var'}'` = yes; then
39734 cat >>confdefs.h <<_ACEOF
39735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39736 _ACEOF
39739 done
39741 else
39743 echo "$as_me:$LINENO: checking for _modf declaration" >&5
39744 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
39745 if test x${glibcxx_cv_func__modf_use+set} != xset; then
39746 if test "${glibcxx_cv_func__modf_use+set}" = set; then
39747 echo $ECHO_N "(cached) $ECHO_C" >&6
39748 else
39752 ac_ext=cc
39753 ac_cpp='$CXXCPP $CPPFLAGS'
39754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39758 cat >conftest.$ac_ext <<_ACEOF
39759 /* confdefs.h. */
39760 _ACEOF
39761 cat confdefs.h >>conftest.$ac_ext
39762 cat >>conftest.$ac_ext <<_ACEOF
39763 /* end confdefs.h. */
39764 #include <math.h>
39766 main ()
39768 _modf(0, 0);
39770 return 0;
39772 _ACEOF
39773 rm -f conftest.$ac_objext
39774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39775 (eval $ac_compile) 2>conftest.er1
39776 ac_status=$?
39777 grep -v '^ *+' conftest.er1 >conftest.err
39778 rm -f conftest.er1
39779 cat conftest.err >&5
39780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39781 (exit $ac_status); } &&
39782 { ac_try='test -z "$ac_cxx_werror_flag"
39783 || test ! -s conftest.err'
39784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39785 (eval $ac_try) 2>&5
39786 ac_status=$?
39787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39788 (exit $ac_status); }; } &&
39789 { ac_try='test -s conftest.$ac_objext'
39790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39791 (eval $ac_try) 2>&5
39792 ac_status=$?
39793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39794 (exit $ac_status); }; }; then
39795 glibcxx_cv_func__modf_use=yes
39796 else
39797 echo "$as_me: failed program was:" >&5
39798 sed 's/^/| /' conftest.$ac_ext >&5
39800 glibcxx_cv_func__modf_use=no
39802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39803 ac_ext=c
39804 ac_cpp='$CPP $CPPFLAGS'
39805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39813 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
39814 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
39816 if test x$glibcxx_cv_func__modf_use = x"yes"; then
39818 for ac_func in _modf
39820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39821 echo "$as_me:$LINENO: checking for $ac_func" >&5
39822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39823 if eval "test \"\${$as_ac_var+set}\" = set"; then
39824 echo $ECHO_N "(cached) $ECHO_C" >&6
39825 else
39826 if test x$gcc_no_link = xyes; then
39827 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39829 { (exit 1); exit 1; }; }
39831 cat >conftest.$ac_ext <<_ACEOF
39832 /* confdefs.h. */
39833 _ACEOF
39834 cat confdefs.h >>conftest.$ac_ext
39835 cat >>conftest.$ac_ext <<_ACEOF
39836 /* end confdefs.h. */
39837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39839 #define $ac_func innocuous_$ac_func
39841 /* System header to define __stub macros and hopefully few prototypes,
39842 which can conflict with char $ac_func (); below.
39843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39844 <limits.h> exists even on freestanding compilers. */
39846 #ifdef __STDC__
39847 # include <limits.h>
39848 #else
39849 # include <assert.h>
39850 #endif
39852 #undef $ac_func
39854 /* Override any gcc2 internal prototype to avoid an error. */
39855 #ifdef __cplusplus
39856 extern "C"
39858 #endif
39859 /* We use char because int might match the return type of a gcc2
39860 builtin and then its argument prototype would still apply. */
39861 char $ac_func ();
39862 /* The GNU C library defines this for functions which it implements
39863 to always fail with ENOSYS. Some functions are actually named
39864 something starting with __ and the normal name is an alias. */
39865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39866 choke me
39867 #else
39868 char (*f) () = $ac_func;
39869 #endif
39870 #ifdef __cplusplus
39872 #endif
39875 main ()
39877 return f != $ac_func;
39879 return 0;
39881 _ACEOF
39882 rm -f conftest.$ac_objext conftest$ac_exeext
39883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39884 (eval $ac_link) 2>conftest.er1
39885 ac_status=$?
39886 grep -v '^ *+' conftest.er1 >conftest.err
39887 rm -f conftest.er1
39888 cat conftest.err >&5
39889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39890 (exit $ac_status); } &&
39891 { ac_try='test -z "$ac_c_werror_flag"
39892 || test ! -s conftest.err'
39893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39894 (eval $ac_try) 2>&5
39895 ac_status=$?
39896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39897 (exit $ac_status); }; } &&
39898 { ac_try='test -s conftest$ac_exeext'
39899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39900 (eval $ac_try) 2>&5
39901 ac_status=$?
39902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39903 (exit $ac_status); }; }; then
39904 eval "$as_ac_var=yes"
39905 else
39906 echo "$as_me: failed program was:" >&5
39907 sed 's/^/| /' conftest.$ac_ext >&5
39909 eval "$as_ac_var=no"
39911 rm -f conftest.err conftest.$ac_objext \
39912 conftest$ac_exeext conftest.$ac_ext
39914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39916 if test `eval echo '${'$as_ac_var'}'` = yes; then
39917 cat >>confdefs.h <<_ACEOF
39918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39919 _ACEOF
39922 done
39932 echo "$as_me:$LINENO: checking for powf declaration" >&5
39933 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
39934 if test x${glibcxx_cv_func_powf_use+set} != xset; then
39935 if test "${glibcxx_cv_func_powf_use+set}" = set; then
39936 echo $ECHO_N "(cached) $ECHO_C" >&6
39937 else
39941 ac_ext=cc
39942 ac_cpp='$CXXCPP $CPPFLAGS'
39943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39947 cat >conftest.$ac_ext <<_ACEOF
39948 /* confdefs.h. */
39949 _ACEOF
39950 cat confdefs.h >>conftest.$ac_ext
39951 cat >>conftest.$ac_ext <<_ACEOF
39952 /* end confdefs.h. */
39953 #include <math.h>
39955 main ()
39957 powf(0, 0);
39959 return 0;
39961 _ACEOF
39962 rm -f conftest.$ac_objext
39963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39964 (eval $ac_compile) 2>conftest.er1
39965 ac_status=$?
39966 grep -v '^ *+' conftest.er1 >conftest.err
39967 rm -f conftest.er1
39968 cat conftest.err >&5
39969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39970 (exit $ac_status); } &&
39971 { ac_try='test -z "$ac_cxx_werror_flag"
39972 || test ! -s conftest.err'
39973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39974 (eval $ac_try) 2>&5
39975 ac_status=$?
39976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39977 (exit $ac_status); }; } &&
39978 { ac_try='test -s conftest.$ac_objext'
39979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39980 (eval $ac_try) 2>&5
39981 ac_status=$?
39982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39983 (exit $ac_status); }; }; then
39984 glibcxx_cv_func_powf_use=yes
39985 else
39986 echo "$as_me: failed program was:" >&5
39987 sed 's/^/| /' conftest.$ac_ext >&5
39989 glibcxx_cv_func_powf_use=no
39991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39992 ac_ext=c
39993 ac_cpp='$CPP $CPPFLAGS'
39994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40002 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
40003 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
40005 if test x$glibcxx_cv_func_powf_use = x"yes"; then
40007 for ac_func in powf
40009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40010 echo "$as_me:$LINENO: checking for $ac_func" >&5
40011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40012 if eval "test \"\${$as_ac_var+set}\" = set"; then
40013 echo $ECHO_N "(cached) $ECHO_C" >&6
40014 else
40015 if test x$gcc_no_link = xyes; then
40016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40018 { (exit 1); exit 1; }; }
40020 cat >conftest.$ac_ext <<_ACEOF
40021 /* confdefs.h. */
40022 _ACEOF
40023 cat confdefs.h >>conftest.$ac_ext
40024 cat >>conftest.$ac_ext <<_ACEOF
40025 /* end confdefs.h. */
40026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40028 #define $ac_func innocuous_$ac_func
40030 /* System header to define __stub macros and hopefully few prototypes,
40031 which can conflict with char $ac_func (); below.
40032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40033 <limits.h> exists even on freestanding compilers. */
40035 #ifdef __STDC__
40036 # include <limits.h>
40037 #else
40038 # include <assert.h>
40039 #endif
40041 #undef $ac_func
40043 /* Override any gcc2 internal prototype to avoid an error. */
40044 #ifdef __cplusplus
40045 extern "C"
40047 #endif
40048 /* We use char because int might match the return type of a gcc2
40049 builtin and then its argument prototype would still apply. */
40050 char $ac_func ();
40051 /* The GNU C library defines this for functions which it implements
40052 to always fail with ENOSYS. Some functions are actually named
40053 something starting with __ and the normal name is an alias. */
40054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40055 choke me
40056 #else
40057 char (*f) () = $ac_func;
40058 #endif
40059 #ifdef __cplusplus
40061 #endif
40064 main ()
40066 return f != $ac_func;
40068 return 0;
40070 _ACEOF
40071 rm -f conftest.$ac_objext conftest$ac_exeext
40072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40073 (eval $ac_link) 2>conftest.er1
40074 ac_status=$?
40075 grep -v '^ *+' conftest.er1 >conftest.err
40076 rm -f conftest.er1
40077 cat conftest.err >&5
40078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40079 (exit $ac_status); } &&
40080 { ac_try='test -z "$ac_c_werror_flag"
40081 || test ! -s conftest.err'
40082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40083 (eval $ac_try) 2>&5
40084 ac_status=$?
40085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40086 (exit $ac_status); }; } &&
40087 { ac_try='test -s conftest$ac_exeext'
40088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40089 (eval $ac_try) 2>&5
40090 ac_status=$?
40091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40092 (exit $ac_status); }; }; then
40093 eval "$as_ac_var=yes"
40094 else
40095 echo "$as_me: failed program was:" >&5
40096 sed 's/^/| /' conftest.$ac_ext >&5
40098 eval "$as_ac_var=no"
40100 rm -f conftest.err conftest.$ac_objext \
40101 conftest$ac_exeext conftest.$ac_ext
40103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40105 if test `eval echo '${'$as_ac_var'}'` = yes; then
40106 cat >>confdefs.h <<_ACEOF
40107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40108 _ACEOF
40111 done
40113 else
40115 echo "$as_me:$LINENO: checking for _powf declaration" >&5
40116 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
40117 if test x${glibcxx_cv_func__powf_use+set} != xset; then
40118 if test "${glibcxx_cv_func__powf_use+set}" = set; then
40119 echo $ECHO_N "(cached) $ECHO_C" >&6
40120 else
40124 ac_ext=cc
40125 ac_cpp='$CXXCPP $CPPFLAGS'
40126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40130 cat >conftest.$ac_ext <<_ACEOF
40131 /* confdefs.h. */
40132 _ACEOF
40133 cat confdefs.h >>conftest.$ac_ext
40134 cat >>conftest.$ac_ext <<_ACEOF
40135 /* end confdefs.h. */
40136 #include <math.h>
40138 main ()
40140 _powf(0, 0);
40142 return 0;
40144 _ACEOF
40145 rm -f conftest.$ac_objext
40146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40147 (eval $ac_compile) 2>conftest.er1
40148 ac_status=$?
40149 grep -v '^ *+' conftest.er1 >conftest.err
40150 rm -f conftest.er1
40151 cat conftest.err >&5
40152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40153 (exit $ac_status); } &&
40154 { ac_try='test -z "$ac_cxx_werror_flag"
40155 || test ! -s conftest.err'
40156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40157 (eval $ac_try) 2>&5
40158 ac_status=$?
40159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40160 (exit $ac_status); }; } &&
40161 { ac_try='test -s conftest.$ac_objext'
40162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40163 (eval $ac_try) 2>&5
40164 ac_status=$?
40165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40166 (exit $ac_status); }; }; then
40167 glibcxx_cv_func__powf_use=yes
40168 else
40169 echo "$as_me: failed program was:" >&5
40170 sed 's/^/| /' conftest.$ac_ext >&5
40172 glibcxx_cv_func__powf_use=no
40174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40175 ac_ext=c
40176 ac_cpp='$CPP $CPPFLAGS'
40177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40185 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
40186 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
40188 if test x$glibcxx_cv_func__powf_use = x"yes"; then
40190 for ac_func in _powf
40192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40193 echo "$as_me:$LINENO: checking for $ac_func" >&5
40194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40195 if eval "test \"\${$as_ac_var+set}\" = set"; then
40196 echo $ECHO_N "(cached) $ECHO_C" >&6
40197 else
40198 if test x$gcc_no_link = xyes; then
40199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40201 { (exit 1); exit 1; }; }
40203 cat >conftest.$ac_ext <<_ACEOF
40204 /* confdefs.h. */
40205 _ACEOF
40206 cat confdefs.h >>conftest.$ac_ext
40207 cat >>conftest.$ac_ext <<_ACEOF
40208 /* end confdefs.h. */
40209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40211 #define $ac_func innocuous_$ac_func
40213 /* System header to define __stub macros and hopefully few prototypes,
40214 which can conflict with char $ac_func (); below.
40215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40216 <limits.h> exists even on freestanding compilers. */
40218 #ifdef __STDC__
40219 # include <limits.h>
40220 #else
40221 # include <assert.h>
40222 #endif
40224 #undef $ac_func
40226 /* Override any gcc2 internal prototype to avoid an error. */
40227 #ifdef __cplusplus
40228 extern "C"
40230 #endif
40231 /* We use char because int might match the return type of a gcc2
40232 builtin and then its argument prototype would still apply. */
40233 char $ac_func ();
40234 /* The GNU C library defines this for functions which it implements
40235 to always fail with ENOSYS. Some functions are actually named
40236 something starting with __ and the normal name is an alias. */
40237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40238 choke me
40239 #else
40240 char (*f) () = $ac_func;
40241 #endif
40242 #ifdef __cplusplus
40244 #endif
40247 main ()
40249 return f != $ac_func;
40251 return 0;
40253 _ACEOF
40254 rm -f conftest.$ac_objext conftest$ac_exeext
40255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40256 (eval $ac_link) 2>conftest.er1
40257 ac_status=$?
40258 grep -v '^ *+' conftest.er1 >conftest.err
40259 rm -f conftest.er1
40260 cat conftest.err >&5
40261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40262 (exit $ac_status); } &&
40263 { ac_try='test -z "$ac_c_werror_flag"
40264 || test ! -s conftest.err'
40265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40266 (eval $ac_try) 2>&5
40267 ac_status=$?
40268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40269 (exit $ac_status); }; } &&
40270 { ac_try='test -s conftest$ac_exeext'
40271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40272 (eval $ac_try) 2>&5
40273 ac_status=$?
40274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40275 (exit $ac_status); }; }; then
40276 eval "$as_ac_var=yes"
40277 else
40278 echo "$as_me: failed program was:" >&5
40279 sed 's/^/| /' conftest.$ac_ext >&5
40281 eval "$as_ac_var=no"
40283 rm -f conftest.err conftest.$ac_objext \
40284 conftest$ac_exeext conftest.$ac_ext
40286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40288 if test `eval echo '${'$as_ac_var'}'` = yes; then
40289 cat >>confdefs.h <<_ACEOF
40290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40291 _ACEOF
40294 done
40304 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
40305 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
40306 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
40307 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
40308 echo $ECHO_N "(cached) $ECHO_C" >&6
40309 else
40313 ac_ext=cc
40314 ac_cpp='$CXXCPP $CPPFLAGS'
40315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40319 cat >conftest.$ac_ext <<_ACEOF
40320 /* confdefs.h. */
40321 _ACEOF
40322 cat confdefs.h >>conftest.$ac_ext
40323 cat >>conftest.$ac_ext <<_ACEOF
40324 /* end confdefs.h. */
40325 #include <math.h>
40326 #ifdef HAVE_IEEEFP_H
40327 #include <ieeefp.h>
40328 #endif
40331 main ()
40333 sqrtf(0);
40335 return 0;
40337 _ACEOF
40338 rm -f conftest.$ac_objext
40339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40340 (eval $ac_compile) 2>conftest.er1
40341 ac_status=$?
40342 grep -v '^ *+' conftest.er1 >conftest.err
40343 rm -f conftest.er1
40344 cat conftest.err >&5
40345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40346 (exit $ac_status); } &&
40347 { ac_try='test -z "$ac_cxx_werror_flag"
40348 || test ! -s conftest.err'
40349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40350 (eval $ac_try) 2>&5
40351 ac_status=$?
40352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40353 (exit $ac_status); }; } &&
40354 { ac_try='test -s conftest.$ac_objext'
40355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40356 (eval $ac_try) 2>&5
40357 ac_status=$?
40358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40359 (exit $ac_status); }; }; then
40360 glibcxx_cv_func_sqrtf_use=yes
40361 else
40362 echo "$as_me: failed program was:" >&5
40363 sed 's/^/| /' conftest.$ac_ext >&5
40365 glibcxx_cv_func_sqrtf_use=no
40367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40368 ac_ext=c
40369 ac_cpp='$CPP $CPPFLAGS'
40370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40378 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
40379 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
40381 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
40383 for ac_func in sqrtf
40385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40386 echo "$as_me:$LINENO: checking for $ac_func" >&5
40387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40388 if eval "test \"\${$as_ac_var+set}\" = set"; then
40389 echo $ECHO_N "(cached) $ECHO_C" >&6
40390 else
40391 if test x$gcc_no_link = xyes; then
40392 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40394 { (exit 1); exit 1; }; }
40396 cat >conftest.$ac_ext <<_ACEOF
40397 /* confdefs.h. */
40398 _ACEOF
40399 cat confdefs.h >>conftest.$ac_ext
40400 cat >>conftest.$ac_ext <<_ACEOF
40401 /* end confdefs.h. */
40402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40404 #define $ac_func innocuous_$ac_func
40406 /* System header to define __stub macros and hopefully few prototypes,
40407 which can conflict with char $ac_func (); below.
40408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40409 <limits.h> exists even on freestanding compilers. */
40411 #ifdef __STDC__
40412 # include <limits.h>
40413 #else
40414 # include <assert.h>
40415 #endif
40417 #undef $ac_func
40419 /* Override any gcc2 internal prototype to avoid an error. */
40420 #ifdef __cplusplus
40421 extern "C"
40423 #endif
40424 /* We use char because int might match the return type of a gcc2
40425 builtin and then its argument prototype would still apply. */
40426 char $ac_func ();
40427 /* The GNU C library defines this for functions which it implements
40428 to always fail with ENOSYS. Some functions are actually named
40429 something starting with __ and the normal name is an alias. */
40430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40431 choke me
40432 #else
40433 char (*f) () = $ac_func;
40434 #endif
40435 #ifdef __cplusplus
40437 #endif
40440 main ()
40442 return f != $ac_func;
40444 return 0;
40446 _ACEOF
40447 rm -f conftest.$ac_objext conftest$ac_exeext
40448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40449 (eval $ac_link) 2>conftest.er1
40450 ac_status=$?
40451 grep -v '^ *+' conftest.er1 >conftest.err
40452 rm -f conftest.er1
40453 cat conftest.err >&5
40454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40455 (exit $ac_status); } &&
40456 { ac_try='test -z "$ac_c_werror_flag"
40457 || test ! -s conftest.err'
40458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40459 (eval $ac_try) 2>&5
40460 ac_status=$?
40461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40462 (exit $ac_status); }; } &&
40463 { ac_try='test -s conftest$ac_exeext'
40464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40465 (eval $ac_try) 2>&5
40466 ac_status=$?
40467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40468 (exit $ac_status); }; }; then
40469 eval "$as_ac_var=yes"
40470 else
40471 echo "$as_me: failed program was:" >&5
40472 sed 's/^/| /' conftest.$ac_ext >&5
40474 eval "$as_ac_var=no"
40476 rm -f conftest.err conftest.$ac_objext \
40477 conftest$ac_exeext conftest.$ac_ext
40479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40480 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40481 if test `eval echo '${'$as_ac_var'}'` = yes; then
40482 cat >>confdefs.h <<_ACEOF
40483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40484 _ACEOF
40487 done
40489 else
40491 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
40492 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
40493 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
40494 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
40495 echo $ECHO_N "(cached) $ECHO_C" >&6
40496 else
40500 ac_ext=cc
40501 ac_cpp='$CXXCPP $CPPFLAGS'
40502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40506 cat >conftest.$ac_ext <<_ACEOF
40507 /* confdefs.h. */
40508 _ACEOF
40509 cat confdefs.h >>conftest.$ac_ext
40510 cat >>conftest.$ac_ext <<_ACEOF
40511 /* end confdefs.h. */
40512 #include <math.h>
40513 #ifdef HAVE_IEEEFP_H
40514 #include <ieeefp.h>
40515 #endif
40518 main ()
40520 _sqrtf(0);
40522 return 0;
40524 _ACEOF
40525 rm -f conftest.$ac_objext
40526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40527 (eval $ac_compile) 2>conftest.er1
40528 ac_status=$?
40529 grep -v '^ *+' conftest.er1 >conftest.err
40530 rm -f conftest.er1
40531 cat conftest.err >&5
40532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40533 (exit $ac_status); } &&
40534 { ac_try='test -z "$ac_cxx_werror_flag"
40535 || test ! -s conftest.err'
40536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40537 (eval $ac_try) 2>&5
40538 ac_status=$?
40539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40540 (exit $ac_status); }; } &&
40541 { ac_try='test -s conftest.$ac_objext'
40542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40543 (eval $ac_try) 2>&5
40544 ac_status=$?
40545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40546 (exit $ac_status); }; }; then
40547 glibcxx_cv_func__sqrtf_use=yes
40548 else
40549 echo "$as_me: failed program was:" >&5
40550 sed 's/^/| /' conftest.$ac_ext >&5
40552 glibcxx_cv_func__sqrtf_use=no
40554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40555 ac_ext=c
40556 ac_cpp='$CPP $CPPFLAGS'
40557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40565 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
40566 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
40568 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
40570 for ac_func in _sqrtf
40572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40573 echo "$as_me:$LINENO: checking for $ac_func" >&5
40574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40575 if eval "test \"\${$as_ac_var+set}\" = set"; then
40576 echo $ECHO_N "(cached) $ECHO_C" >&6
40577 else
40578 if test x$gcc_no_link = xyes; then
40579 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40581 { (exit 1); exit 1; }; }
40583 cat >conftest.$ac_ext <<_ACEOF
40584 /* confdefs.h. */
40585 _ACEOF
40586 cat confdefs.h >>conftest.$ac_ext
40587 cat >>conftest.$ac_ext <<_ACEOF
40588 /* end confdefs.h. */
40589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40591 #define $ac_func innocuous_$ac_func
40593 /* System header to define __stub macros and hopefully few prototypes,
40594 which can conflict with char $ac_func (); below.
40595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40596 <limits.h> exists even on freestanding compilers. */
40598 #ifdef __STDC__
40599 # include <limits.h>
40600 #else
40601 # include <assert.h>
40602 #endif
40604 #undef $ac_func
40606 /* Override any gcc2 internal prototype to avoid an error. */
40607 #ifdef __cplusplus
40608 extern "C"
40610 #endif
40611 /* We use char because int might match the return type of a gcc2
40612 builtin and then its argument prototype would still apply. */
40613 char $ac_func ();
40614 /* The GNU C library defines this for functions which it implements
40615 to always fail with ENOSYS. Some functions are actually named
40616 something starting with __ and the normal name is an alias. */
40617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40618 choke me
40619 #else
40620 char (*f) () = $ac_func;
40621 #endif
40622 #ifdef __cplusplus
40624 #endif
40627 main ()
40629 return f != $ac_func;
40631 return 0;
40633 _ACEOF
40634 rm -f conftest.$ac_objext conftest$ac_exeext
40635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40636 (eval $ac_link) 2>conftest.er1
40637 ac_status=$?
40638 grep -v '^ *+' conftest.er1 >conftest.err
40639 rm -f conftest.er1
40640 cat conftest.err >&5
40641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40642 (exit $ac_status); } &&
40643 { ac_try='test -z "$ac_c_werror_flag"
40644 || test ! -s conftest.err'
40645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40646 (eval $ac_try) 2>&5
40647 ac_status=$?
40648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40649 (exit $ac_status); }; } &&
40650 { ac_try='test -s conftest$ac_exeext'
40651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40652 (eval $ac_try) 2>&5
40653 ac_status=$?
40654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40655 (exit $ac_status); }; }; then
40656 eval "$as_ac_var=yes"
40657 else
40658 echo "$as_me: failed program was:" >&5
40659 sed 's/^/| /' conftest.$ac_ext >&5
40661 eval "$as_ac_var=no"
40663 rm -f conftest.err conftest.$ac_objext \
40664 conftest$ac_exeext conftest.$ac_ext
40666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40668 if test `eval echo '${'$as_ac_var'}'` = yes; then
40669 cat >>confdefs.h <<_ACEOF
40670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40671 _ACEOF
40674 done
40684 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
40685 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
40686 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
40687 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
40688 echo $ECHO_N "(cached) $ECHO_C" >&6
40689 else
40693 ac_ext=cc
40694 ac_cpp='$CXXCPP $CPPFLAGS'
40695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40699 cat >conftest.$ac_ext <<_ACEOF
40700 /* confdefs.h. */
40701 _ACEOF
40702 cat confdefs.h >>conftest.$ac_ext
40703 cat >>conftest.$ac_ext <<_ACEOF
40704 /* end confdefs.h. */
40705 #include <math.h>
40707 main ()
40709 sincosf(0, 0, 0);
40711 return 0;
40713 _ACEOF
40714 rm -f conftest.$ac_objext
40715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40716 (eval $ac_compile) 2>conftest.er1
40717 ac_status=$?
40718 grep -v '^ *+' conftest.er1 >conftest.err
40719 rm -f conftest.er1
40720 cat conftest.err >&5
40721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40722 (exit $ac_status); } &&
40723 { ac_try='test -z "$ac_cxx_werror_flag"
40724 || test ! -s conftest.err'
40725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40726 (eval $ac_try) 2>&5
40727 ac_status=$?
40728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40729 (exit $ac_status); }; } &&
40730 { ac_try='test -s conftest.$ac_objext'
40731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40732 (eval $ac_try) 2>&5
40733 ac_status=$?
40734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40735 (exit $ac_status); }; }; then
40736 glibcxx_cv_func_sincosf_use=yes
40737 else
40738 echo "$as_me: failed program was:" >&5
40739 sed 's/^/| /' conftest.$ac_ext >&5
40741 glibcxx_cv_func_sincosf_use=no
40743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40744 ac_ext=c
40745 ac_cpp='$CPP $CPPFLAGS'
40746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40754 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
40755 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
40757 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
40759 for ac_func in sincosf
40761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40762 echo "$as_me:$LINENO: checking for $ac_func" >&5
40763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40764 if eval "test \"\${$as_ac_var+set}\" = set"; then
40765 echo $ECHO_N "(cached) $ECHO_C" >&6
40766 else
40767 if test x$gcc_no_link = xyes; then
40768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40770 { (exit 1); exit 1; }; }
40772 cat >conftest.$ac_ext <<_ACEOF
40773 /* confdefs.h. */
40774 _ACEOF
40775 cat confdefs.h >>conftest.$ac_ext
40776 cat >>conftest.$ac_ext <<_ACEOF
40777 /* end confdefs.h. */
40778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40780 #define $ac_func innocuous_$ac_func
40782 /* System header to define __stub macros and hopefully few prototypes,
40783 which can conflict with char $ac_func (); below.
40784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40785 <limits.h> exists even on freestanding compilers. */
40787 #ifdef __STDC__
40788 # include <limits.h>
40789 #else
40790 # include <assert.h>
40791 #endif
40793 #undef $ac_func
40795 /* Override any gcc2 internal prototype to avoid an error. */
40796 #ifdef __cplusplus
40797 extern "C"
40799 #endif
40800 /* We use char because int might match the return type of a gcc2
40801 builtin and then its argument prototype would still apply. */
40802 char $ac_func ();
40803 /* The GNU C library defines this for functions which it implements
40804 to always fail with ENOSYS. Some functions are actually named
40805 something starting with __ and the normal name is an alias. */
40806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40807 choke me
40808 #else
40809 char (*f) () = $ac_func;
40810 #endif
40811 #ifdef __cplusplus
40813 #endif
40816 main ()
40818 return f != $ac_func;
40820 return 0;
40822 _ACEOF
40823 rm -f conftest.$ac_objext conftest$ac_exeext
40824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40825 (eval $ac_link) 2>conftest.er1
40826 ac_status=$?
40827 grep -v '^ *+' conftest.er1 >conftest.err
40828 rm -f conftest.er1
40829 cat conftest.err >&5
40830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40831 (exit $ac_status); } &&
40832 { ac_try='test -z "$ac_c_werror_flag"
40833 || test ! -s conftest.err'
40834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40835 (eval $ac_try) 2>&5
40836 ac_status=$?
40837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40838 (exit $ac_status); }; } &&
40839 { ac_try='test -s conftest$ac_exeext'
40840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40841 (eval $ac_try) 2>&5
40842 ac_status=$?
40843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40844 (exit $ac_status); }; }; then
40845 eval "$as_ac_var=yes"
40846 else
40847 echo "$as_me: failed program was:" >&5
40848 sed 's/^/| /' conftest.$ac_ext >&5
40850 eval "$as_ac_var=no"
40852 rm -f conftest.err conftest.$ac_objext \
40853 conftest$ac_exeext conftest.$ac_ext
40855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40857 if test `eval echo '${'$as_ac_var'}'` = yes; then
40858 cat >>confdefs.h <<_ACEOF
40859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40860 _ACEOF
40863 done
40865 else
40867 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
40868 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
40869 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
40870 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
40871 echo $ECHO_N "(cached) $ECHO_C" >&6
40872 else
40876 ac_ext=cc
40877 ac_cpp='$CXXCPP $CPPFLAGS'
40878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40882 cat >conftest.$ac_ext <<_ACEOF
40883 /* confdefs.h. */
40884 _ACEOF
40885 cat confdefs.h >>conftest.$ac_ext
40886 cat >>conftest.$ac_ext <<_ACEOF
40887 /* end confdefs.h. */
40888 #include <math.h>
40890 main ()
40892 _sincosf(0, 0, 0);
40894 return 0;
40896 _ACEOF
40897 rm -f conftest.$ac_objext
40898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40899 (eval $ac_compile) 2>conftest.er1
40900 ac_status=$?
40901 grep -v '^ *+' conftest.er1 >conftest.err
40902 rm -f conftest.er1
40903 cat conftest.err >&5
40904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40905 (exit $ac_status); } &&
40906 { ac_try='test -z "$ac_cxx_werror_flag"
40907 || test ! -s conftest.err'
40908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40909 (eval $ac_try) 2>&5
40910 ac_status=$?
40911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40912 (exit $ac_status); }; } &&
40913 { ac_try='test -s conftest.$ac_objext'
40914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40915 (eval $ac_try) 2>&5
40916 ac_status=$?
40917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40918 (exit $ac_status); }; }; then
40919 glibcxx_cv_func__sincosf_use=yes
40920 else
40921 echo "$as_me: failed program was:" >&5
40922 sed 's/^/| /' conftest.$ac_ext >&5
40924 glibcxx_cv_func__sincosf_use=no
40926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40927 ac_ext=c
40928 ac_cpp='$CPP $CPPFLAGS'
40929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40937 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
40938 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
40940 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
40942 for ac_func in _sincosf
40944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40945 echo "$as_me:$LINENO: checking for $ac_func" >&5
40946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40947 if eval "test \"\${$as_ac_var+set}\" = set"; then
40948 echo $ECHO_N "(cached) $ECHO_C" >&6
40949 else
40950 if test x$gcc_no_link = xyes; then
40951 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40953 { (exit 1); exit 1; }; }
40955 cat >conftest.$ac_ext <<_ACEOF
40956 /* confdefs.h. */
40957 _ACEOF
40958 cat confdefs.h >>conftest.$ac_ext
40959 cat >>conftest.$ac_ext <<_ACEOF
40960 /* end confdefs.h. */
40961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40963 #define $ac_func innocuous_$ac_func
40965 /* System header to define __stub macros and hopefully few prototypes,
40966 which can conflict with char $ac_func (); below.
40967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40968 <limits.h> exists even on freestanding compilers. */
40970 #ifdef __STDC__
40971 # include <limits.h>
40972 #else
40973 # include <assert.h>
40974 #endif
40976 #undef $ac_func
40978 /* Override any gcc2 internal prototype to avoid an error. */
40979 #ifdef __cplusplus
40980 extern "C"
40982 #endif
40983 /* We use char because int might match the return type of a gcc2
40984 builtin and then its argument prototype would still apply. */
40985 char $ac_func ();
40986 /* The GNU C library defines this for functions which it implements
40987 to always fail with ENOSYS. Some functions are actually named
40988 something starting with __ and the normal name is an alias. */
40989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40990 choke me
40991 #else
40992 char (*f) () = $ac_func;
40993 #endif
40994 #ifdef __cplusplus
40996 #endif
40999 main ()
41001 return f != $ac_func;
41003 return 0;
41005 _ACEOF
41006 rm -f conftest.$ac_objext conftest$ac_exeext
41007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41008 (eval $ac_link) 2>conftest.er1
41009 ac_status=$?
41010 grep -v '^ *+' conftest.er1 >conftest.err
41011 rm -f conftest.er1
41012 cat conftest.err >&5
41013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41014 (exit $ac_status); } &&
41015 { ac_try='test -z "$ac_c_werror_flag"
41016 || test ! -s conftest.err'
41017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41018 (eval $ac_try) 2>&5
41019 ac_status=$?
41020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41021 (exit $ac_status); }; } &&
41022 { ac_try='test -s conftest$ac_exeext'
41023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41024 (eval $ac_try) 2>&5
41025 ac_status=$?
41026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41027 (exit $ac_status); }; }; then
41028 eval "$as_ac_var=yes"
41029 else
41030 echo "$as_me: failed program was:" >&5
41031 sed 's/^/| /' conftest.$ac_ext >&5
41033 eval "$as_ac_var=no"
41035 rm -f conftest.err conftest.$ac_objext \
41036 conftest$ac_exeext conftest.$ac_ext
41038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41040 if test `eval echo '${'$as_ac_var'}'` = yes; then
41041 cat >>confdefs.h <<_ACEOF
41042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41043 _ACEOF
41046 done
41056 echo "$as_me:$LINENO: checking for finitef declaration" >&5
41057 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
41058 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41059 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
41060 echo $ECHO_N "(cached) $ECHO_C" >&6
41061 else
41065 ac_ext=cc
41066 ac_cpp='$CXXCPP $CPPFLAGS'
41067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41071 cat >conftest.$ac_ext <<_ACEOF
41072 /* confdefs.h. */
41073 _ACEOF
41074 cat confdefs.h >>conftest.$ac_ext
41075 cat >>conftest.$ac_ext <<_ACEOF
41076 /* end confdefs.h. */
41077 #include <math.h>
41078 #ifdef HAVE_IEEEFP_H
41079 #include <ieeefp.h>
41080 #endif
41083 main ()
41085 finitef(0);
41087 return 0;
41089 _ACEOF
41090 rm -f conftest.$ac_objext
41091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41092 (eval $ac_compile) 2>conftest.er1
41093 ac_status=$?
41094 grep -v '^ *+' conftest.er1 >conftest.err
41095 rm -f conftest.er1
41096 cat conftest.err >&5
41097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41098 (exit $ac_status); } &&
41099 { ac_try='test -z "$ac_cxx_werror_flag"
41100 || test ! -s conftest.err'
41101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41102 (eval $ac_try) 2>&5
41103 ac_status=$?
41104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41105 (exit $ac_status); }; } &&
41106 { ac_try='test -s conftest.$ac_objext'
41107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41108 (eval $ac_try) 2>&5
41109 ac_status=$?
41110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41111 (exit $ac_status); }; }; then
41112 glibcxx_cv_func_finitef_use=yes
41113 else
41114 echo "$as_me: failed program was:" >&5
41115 sed 's/^/| /' conftest.$ac_ext >&5
41117 glibcxx_cv_func_finitef_use=no
41119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41120 ac_ext=c
41121 ac_cpp='$CPP $CPPFLAGS'
41122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41130 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
41131 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
41133 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41135 for ac_func in finitef
41137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41138 echo "$as_me:$LINENO: checking for $ac_func" >&5
41139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41140 if eval "test \"\${$as_ac_var+set}\" = set"; then
41141 echo $ECHO_N "(cached) $ECHO_C" >&6
41142 else
41143 if test x$gcc_no_link = xyes; then
41144 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41146 { (exit 1); exit 1; }; }
41148 cat >conftest.$ac_ext <<_ACEOF
41149 /* confdefs.h. */
41150 _ACEOF
41151 cat confdefs.h >>conftest.$ac_ext
41152 cat >>conftest.$ac_ext <<_ACEOF
41153 /* end confdefs.h. */
41154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41156 #define $ac_func innocuous_$ac_func
41158 /* System header to define __stub macros and hopefully few prototypes,
41159 which can conflict with char $ac_func (); below.
41160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41161 <limits.h> exists even on freestanding compilers. */
41163 #ifdef __STDC__
41164 # include <limits.h>
41165 #else
41166 # include <assert.h>
41167 #endif
41169 #undef $ac_func
41171 /* Override any gcc2 internal prototype to avoid an error. */
41172 #ifdef __cplusplus
41173 extern "C"
41175 #endif
41176 /* We use char because int might match the return type of a gcc2
41177 builtin and then its argument prototype would still apply. */
41178 char $ac_func ();
41179 /* The GNU C library defines this for functions which it implements
41180 to always fail with ENOSYS. Some functions are actually named
41181 something starting with __ and the normal name is an alias. */
41182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41183 choke me
41184 #else
41185 char (*f) () = $ac_func;
41186 #endif
41187 #ifdef __cplusplus
41189 #endif
41192 main ()
41194 return f != $ac_func;
41196 return 0;
41198 _ACEOF
41199 rm -f conftest.$ac_objext conftest$ac_exeext
41200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41201 (eval $ac_link) 2>conftest.er1
41202 ac_status=$?
41203 grep -v '^ *+' conftest.er1 >conftest.err
41204 rm -f conftest.er1
41205 cat conftest.err >&5
41206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41207 (exit $ac_status); } &&
41208 { ac_try='test -z "$ac_c_werror_flag"
41209 || test ! -s conftest.err'
41210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41211 (eval $ac_try) 2>&5
41212 ac_status=$?
41213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41214 (exit $ac_status); }; } &&
41215 { ac_try='test -s conftest$ac_exeext'
41216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41217 (eval $ac_try) 2>&5
41218 ac_status=$?
41219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41220 (exit $ac_status); }; }; then
41221 eval "$as_ac_var=yes"
41222 else
41223 echo "$as_me: failed program was:" >&5
41224 sed 's/^/| /' conftest.$ac_ext >&5
41226 eval "$as_ac_var=no"
41228 rm -f conftest.err conftest.$ac_objext \
41229 conftest$ac_exeext conftest.$ac_ext
41231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41233 if test `eval echo '${'$as_ac_var'}'` = yes; then
41234 cat >>confdefs.h <<_ACEOF
41235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41236 _ACEOF
41239 done
41241 else
41243 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
41244 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
41245 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41246 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
41247 echo $ECHO_N "(cached) $ECHO_C" >&6
41248 else
41252 ac_ext=cc
41253 ac_cpp='$CXXCPP $CPPFLAGS'
41254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41258 cat >conftest.$ac_ext <<_ACEOF
41259 /* confdefs.h. */
41260 _ACEOF
41261 cat confdefs.h >>conftest.$ac_ext
41262 cat >>conftest.$ac_ext <<_ACEOF
41263 /* end confdefs.h. */
41264 #include <math.h>
41265 #ifdef HAVE_IEEEFP_H
41266 #include <ieeefp.h>
41267 #endif
41270 main ()
41272 _finitef(0);
41274 return 0;
41276 _ACEOF
41277 rm -f conftest.$ac_objext
41278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41279 (eval $ac_compile) 2>conftest.er1
41280 ac_status=$?
41281 grep -v '^ *+' conftest.er1 >conftest.err
41282 rm -f conftest.er1
41283 cat conftest.err >&5
41284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41285 (exit $ac_status); } &&
41286 { ac_try='test -z "$ac_cxx_werror_flag"
41287 || test ! -s conftest.err'
41288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41289 (eval $ac_try) 2>&5
41290 ac_status=$?
41291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41292 (exit $ac_status); }; } &&
41293 { ac_try='test -s conftest.$ac_objext'
41294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41295 (eval $ac_try) 2>&5
41296 ac_status=$?
41297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41298 (exit $ac_status); }; }; then
41299 glibcxx_cv_func__finitef_use=yes
41300 else
41301 echo "$as_me: failed program was:" >&5
41302 sed 's/^/| /' conftest.$ac_ext >&5
41304 glibcxx_cv_func__finitef_use=no
41306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41307 ac_ext=c
41308 ac_cpp='$CPP $CPPFLAGS'
41309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41317 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
41318 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
41320 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41322 for ac_func in _finitef
41324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41325 echo "$as_me:$LINENO: checking for $ac_func" >&5
41326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41327 if eval "test \"\${$as_ac_var+set}\" = set"; then
41328 echo $ECHO_N "(cached) $ECHO_C" >&6
41329 else
41330 if test x$gcc_no_link = xyes; then
41331 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41333 { (exit 1); exit 1; }; }
41335 cat >conftest.$ac_ext <<_ACEOF
41336 /* confdefs.h. */
41337 _ACEOF
41338 cat confdefs.h >>conftest.$ac_ext
41339 cat >>conftest.$ac_ext <<_ACEOF
41340 /* end confdefs.h. */
41341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41343 #define $ac_func innocuous_$ac_func
41345 /* System header to define __stub macros and hopefully few prototypes,
41346 which can conflict with char $ac_func (); below.
41347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41348 <limits.h> exists even on freestanding compilers. */
41350 #ifdef __STDC__
41351 # include <limits.h>
41352 #else
41353 # include <assert.h>
41354 #endif
41356 #undef $ac_func
41358 /* Override any gcc2 internal prototype to avoid an error. */
41359 #ifdef __cplusplus
41360 extern "C"
41362 #endif
41363 /* We use char because int might match the return type of a gcc2
41364 builtin and then its argument prototype would still apply. */
41365 char $ac_func ();
41366 /* The GNU C library defines this for functions which it implements
41367 to always fail with ENOSYS. Some functions are actually named
41368 something starting with __ and the normal name is an alias. */
41369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41370 choke me
41371 #else
41372 char (*f) () = $ac_func;
41373 #endif
41374 #ifdef __cplusplus
41376 #endif
41379 main ()
41381 return f != $ac_func;
41383 return 0;
41385 _ACEOF
41386 rm -f conftest.$ac_objext conftest$ac_exeext
41387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41388 (eval $ac_link) 2>conftest.er1
41389 ac_status=$?
41390 grep -v '^ *+' conftest.er1 >conftest.err
41391 rm -f conftest.er1
41392 cat conftest.err >&5
41393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41394 (exit $ac_status); } &&
41395 { ac_try='test -z "$ac_c_werror_flag"
41396 || test ! -s conftest.err'
41397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41398 (eval $ac_try) 2>&5
41399 ac_status=$?
41400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41401 (exit $ac_status); }; } &&
41402 { ac_try='test -s conftest$ac_exeext'
41403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41404 (eval $ac_try) 2>&5
41405 ac_status=$?
41406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41407 (exit $ac_status); }; }; then
41408 eval "$as_ac_var=yes"
41409 else
41410 echo "$as_me: failed program was:" >&5
41411 sed 's/^/| /' conftest.$ac_ext >&5
41413 eval "$as_ac_var=no"
41415 rm -f conftest.err conftest.$ac_objext \
41416 conftest$ac_exeext conftest.$ac_ext
41418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41420 if test `eval echo '${'$as_ac_var'}'` = yes; then
41421 cat >>confdefs.h <<_ACEOF
41422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41423 _ACEOF
41426 done
41436 echo "$as_me:$LINENO: checking for long double trig functions" >&5
41437 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
41438 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
41439 echo $ECHO_N "(cached) $ECHO_C" >&6
41440 else
41444 ac_ext=cc
41445 ac_cpp='$CXXCPP $CPPFLAGS'
41446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41450 cat >conftest.$ac_ext <<_ACEOF
41451 /* confdefs.h. */
41452 _ACEOF
41453 cat confdefs.h >>conftest.$ac_ext
41454 cat >>conftest.$ac_ext <<_ACEOF
41455 /* end confdefs.h. */
41456 #include <math.h>
41458 main ()
41460 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41462 return 0;
41464 _ACEOF
41465 rm -f conftest.$ac_objext
41466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41467 (eval $ac_compile) 2>conftest.er1
41468 ac_status=$?
41469 grep -v '^ *+' conftest.er1 >conftest.err
41470 rm -f conftest.er1
41471 cat conftest.err >&5
41472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41473 (exit $ac_status); } &&
41474 { ac_try='test -z "$ac_cxx_werror_flag"
41475 || test ! -s conftest.err'
41476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41477 (eval $ac_try) 2>&5
41478 ac_status=$?
41479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41480 (exit $ac_status); }; } &&
41481 { ac_try='test -s conftest.$ac_objext'
41482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41483 (eval $ac_try) 2>&5
41484 ac_status=$?
41485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41486 (exit $ac_status); }; }; then
41487 glibcxx_cv_func_long_double_trig_use=yes
41488 else
41489 echo "$as_me: failed program was:" >&5
41490 sed 's/^/| /' conftest.$ac_ext >&5
41492 glibcxx_cv_func_long_double_trig_use=no
41494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41495 ac_ext=c
41496 ac_cpp='$CPP $CPPFLAGS'
41497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41503 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
41504 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
41505 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41515 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41518 echo "$as_me:$LINENO: checking for $ac_func" >&5
41519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41520 if eval "test \"\${$as_ac_var+set}\" = set"; then
41521 echo $ECHO_N "(cached) $ECHO_C" >&6
41522 else
41523 if test x$gcc_no_link = xyes; then
41524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41526 { (exit 1); exit 1; }; }
41528 cat >conftest.$ac_ext <<_ACEOF
41529 /* confdefs.h. */
41530 _ACEOF
41531 cat confdefs.h >>conftest.$ac_ext
41532 cat >>conftest.$ac_ext <<_ACEOF
41533 /* end confdefs.h. */
41534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41536 #define $ac_func innocuous_$ac_func
41538 /* System header to define __stub macros and hopefully few prototypes,
41539 which can conflict with char $ac_func (); below.
41540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41541 <limits.h> exists even on freestanding compilers. */
41543 #ifdef __STDC__
41544 # include <limits.h>
41545 #else
41546 # include <assert.h>
41547 #endif
41549 #undef $ac_func
41551 /* Override any gcc2 internal prototype to avoid an error. */
41552 #ifdef __cplusplus
41553 extern "C"
41555 #endif
41556 /* We use char because int might match the return type of a gcc2
41557 builtin and then its argument prototype would still apply. */
41558 char $ac_func ();
41559 /* The GNU C library defines this for functions which it implements
41560 to always fail with ENOSYS. Some functions are actually named
41561 something starting with __ and the normal name is an alias. */
41562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41563 choke me
41564 #else
41565 char (*f) () = $ac_func;
41566 #endif
41567 #ifdef __cplusplus
41569 #endif
41572 main ()
41574 return f != $ac_func;
41576 return 0;
41578 _ACEOF
41579 rm -f conftest.$ac_objext conftest$ac_exeext
41580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41581 (eval $ac_link) 2>conftest.er1
41582 ac_status=$?
41583 grep -v '^ *+' conftest.er1 >conftest.err
41584 rm -f conftest.er1
41585 cat conftest.err >&5
41586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41587 (exit $ac_status); } &&
41588 { ac_try='test -z "$ac_c_werror_flag"
41589 || test ! -s conftest.err'
41590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41591 (eval $ac_try) 2>&5
41592 ac_status=$?
41593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41594 (exit $ac_status); }; } &&
41595 { ac_try='test -s conftest$ac_exeext'
41596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41597 (eval $ac_try) 2>&5
41598 ac_status=$?
41599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41600 (exit $ac_status); }; }; then
41601 eval "$as_ac_var=yes"
41602 else
41603 echo "$as_me: failed program was:" >&5
41604 sed 's/^/| /' conftest.$ac_ext >&5
41606 eval "$as_ac_var=no"
41608 rm -f conftest.err conftest.$ac_objext \
41609 conftest$ac_exeext conftest.$ac_ext
41611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41613 if test `eval echo '${'$as_ac_var'}'` = yes; then
41614 cat >>confdefs.h <<_ACEOF
41615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41616 _ACEOF
41619 done
41621 else
41622 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
41623 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
41624 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
41625 echo $ECHO_N "(cached) $ECHO_C" >&6
41626 else
41630 ac_ext=cc
41631 ac_cpp='$CXXCPP $CPPFLAGS'
41632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41636 cat >conftest.$ac_ext <<_ACEOF
41637 /* confdefs.h. */
41638 _ACEOF
41639 cat confdefs.h >>conftest.$ac_ext
41640 cat >>conftest.$ac_ext <<_ACEOF
41641 /* end confdefs.h. */
41642 #include <math.h>
41644 main ()
41646 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41648 return 0;
41650 _ACEOF
41651 rm -f conftest.$ac_objext
41652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41653 (eval $ac_compile) 2>conftest.er1
41654 ac_status=$?
41655 grep -v '^ *+' conftest.er1 >conftest.err
41656 rm -f conftest.er1
41657 cat conftest.err >&5
41658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41659 (exit $ac_status); } &&
41660 { ac_try='test -z "$ac_cxx_werror_flag"
41661 || test ! -s conftest.err'
41662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41663 (eval $ac_try) 2>&5
41664 ac_status=$?
41665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41666 (exit $ac_status); }; } &&
41667 { ac_try='test -s conftest.$ac_objext'
41668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41669 (eval $ac_try) 2>&5
41670 ac_status=$?
41671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41672 (exit $ac_status); }; }; then
41673 glibcxx_cv_func__long_double_trig_use=yes
41674 else
41675 echo "$as_me: failed program was:" >&5
41676 sed 's/^/| /' conftest.$ac_ext >&5
41678 glibcxx_cv_func__long_double_trig_use=no
41680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41681 ac_ext=c
41682 ac_cpp='$CPP $CPPFLAGS'
41683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41689 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
41690 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
41691 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41701 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41704 echo "$as_me:$LINENO: checking for $ac_func" >&5
41705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41706 if eval "test \"\${$as_ac_var+set}\" = set"; then
41707 echo $ECHO_N "(cached) $ECHO_C" >&6
41708 else
41709 if test x$gcc_no_link = xyes; then
41710 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41712 { (exit 1); exit 1; }; }
41714 cat >conftest.$ac_ext <<_ACEOF
41715 /* confdefs.h. */
41716 _ACEOF
41717 cat confdefs.h >>conftest.$ac_ext
41718 cat >>conftest.$ac_ext <<_ACEOF
41719 /* end confdefs.h. */
41720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41722 #define $ac_func innocuous_$ac_func
41724 /* System header to define __stub macros and hopefully few prototypes,
41725 which can conflict with char $ac_func (); below.
41726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41727 <limits.h> exists even on freestanding compilers. */
41729 #ifdef __STDC__
41730 # include <limits.h>
41731 #else
41732 # include <assert.h>
41733 #endif
41735 #undef $ac_func
41737 /* Override any gcc2 internal prototype to avoid an error. */
41738 #ifdef __cplusplus
41739 extern "C"
41741 #endif
41742 /* We use char because int might match the return type of a gcc2
41743 builtin and then its argument prototype would still apply. */
41744 char $ac_func ();
41745 /* The GNU C library defines this for functions which it implements
41746 to always fail with ENOSYS. Some functions are actually named
41747 something starting with __ and the normal name is an alias. */
41748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41749 choke me
41750 #else
41751 char (*f) () = $ac_func;
41752 #endif
41753 #ifdef __cplusplus
41755 #endif
41758 main ()
41760 return f != $ac_func;
41762 return 0;
41764 _ACEOF
41765 rm -f conftest.$ac_objext conftest$ac_exeext
41766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41767 (eval $ac_link) 2>conftest.er1
41768 ac_status=$?
41769 grep -v '^ *+' conftest.er1 >conftest.err
41770 rm -f conftest.er1
41771 cat conftest.err >&5
41772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41773 (exit $ac_status); } &&
41774 { ac_try='test -z "$ac_c_werror_flag"
41775 || test ! -s conftest.err'
41776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41777 (eval $ac_try) 2>&5
41778 ac_status=$?
41779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41780 (exit $ac_status); }; } &&
41781 { ac_try='test -s conftest$ac_exeext'
41782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41783 (eval $ac_try) 2>&5
41784 ac_status=$?
41785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41786 (exit $ac_status); }; }; then
41787 eval "$as_ac_var=yes"
41788 else
41789 echo "$as_me: failed program was:" >&5
41790 sed 's/^/| /' conftest.$ac_ext >&5
41792 eval "$as_ac_var=no"
41794 rm -f conftest.err conftest.$ac_objext \
41795 conftest$ac_exeext conftest.$ac_ext
41797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41799 if test `eval echo '${'$as_ac_var'}'` = yes; then
41800 cat >>confdefs.h <<_ACEOF
41801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41802 _ACEOF
41805 done
41823 echo "$as_me:$LINENO: checking for long double round functions" >&5
41824 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
41825 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
41826 echo $ECHO_N "(cached) $ECHO_C" >&6
41827 else
41831 ac_ext=cc
41832 ac_cpp='$CXXCPP $CPPFLAGS'
41833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41837 cat >conftest.$ac_ext <<_ACEOF
41838 /* confdefs.h. */
41839 _ACEOF
41840 cat confdefs.h >>conftest.$ac_ext
41841 cat >>conftest.$ac_ext <<_ACEOF
41842 /* end confdefs.h. */
41843 #include <math.h>
41845 main ()
41847 ceill (0); floorl (0);
41849 return 0;
41851 _ACEOF
41852 rm -f conftest.$ac_objext
41853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41854 (eval $ac_compile) 2>conftest.er1
41855 ac_status=$?
41856 grep -v '^ *+' conftest.er1 >conftest.err
41857 rm -f conftest.er1
41858 cat conftest.err >&5
41859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41860 (exit $ac_status); } &&
41861 { ac_try='test -z "$ac_cxx_werror_flag"
41862 || test ! -s conftest.err'
41863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41864 (eval $ac_try) 2>&5
41865 ac_status=$?
41866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41867 (exit $ac_status); }; } &&
41868 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
41874 glibcxx_cv_func_long_double_round_use=yes
41875 else
41876 echo "$as_me: failed program was:" >&5
41877 sed 's/^/| /' conftest.$ac_ext >&5
41879 glibcxx_cv_func_long_double_round_use=no
41881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41882 ac_ext=c
41883 ac_cpp='$CPP $CPPFLAGS'
41884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41890 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
41891 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
41892 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41895 for ac_func in ceill floorl
41897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41898 echo "$as_me:$LINENO: checking for $ac_func" >&5
41899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41900 if eval "test \"\${$as_ac_var+set}\" = set"; then
41901 echo $ECHO_N "(cached) $ECHO_C" >&6
41902 else
41903 if test x$gcc_no_link = xyes; then
41904 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41906 { (exit 1); exit 1; }; }
41908 cat >conftest.$ac_ext <<_ACEOF
41909 /* confdefs.h. */
41910 _ACEOF
41911 cat confdefs.h >>conftest.$ac_ext
41912 cat >>conftest.$ac_ext <<_ACEOF
41913 /* end confdefs.h. */
41914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41916 #define $ac_func innocuous_$ac_func
41918 /* System header to define __stub macros and hopefully few prototypes,
41919 which can conflict with char $ac_func (); below.
41920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41921 <limits.h> exists even on freestanding compilers. */
41923 #ifdef __STDC__
41924 # include <limits.h>
41925 #else
41926 # include <assert.h>
41927 #endif
41929 #undef $ac_func
41931 /* Override any gcc2 internal prototype to avoid an error. */
41932 #ifdef __cplusplus
41933 extern "C"
41935 #endif
41936 /* We use char because int might match the return type of a gcc2
41937 builtin and then its argument prototype would still apply. */
41938 char $ac_func ();
41939 /* The GNU C library defines this for functions which it implements
41940 to always fail with ENOSYS. Some functions are actually named
41941 something starting with __ and the normal name is an alias. */
41942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41943 choke me
41944 #else
41945 char (*f) () = $ac_func;
41946 #endif
41947 #ifdef __cplusplus
41949 #endif
41952 main ()
41954 return f != $ac_func;
41956 return 0;
41958 _ACEOF
41959 rm -f conftest.$ac_objext conftest$ac_exeext
41960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41961 (eval $ac_link) 2>conftest.er1
41962 ac_status=$?
41963 grep -v '^ *+' conftest.er1 >conftest.err
41964 rm -f conftest.er1
41965 cat conftest.err >&5
41966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41967 (exit $ac_status); } &&
41968 { ac_try='test -z "$ac_c_werror_flag"
41969 || test ! -s conftest.err'
41970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41971 (eval $ac_try) 2>&5
41972 ac_status=$?
41973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41974 (exit $ac_status); }; } &&
41975 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
41981 eval "$as_ac_var=yes"
41982 else
41983 echo "$as_me: failed program was:" >&5
41984 sed 's/^/| /' conftest.$ac_ext >&5
41986 eval "$as_ac_var=no"
41988 rm -f conftest.err conftest.$ac_objext \
41989 conftest$ac_exeext conftest.$ac_ext
41991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41993 if test `eval echo '${'$as_ac_var'}'` = yes; then
41994 cat >>confdefs.h <<_ACEOF
41995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41996 _ACEOF
41999 done
42001 else
42002 echo "$as_me:$LINENO: checking for _long double round functions" >&5
42003 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
42004 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
42005 echo $ECHO_N "(cached) $ECHO_C" >&6
42006 else
42010 ac_ext=cc
42011 ac_cpp='$CXXCPP $CPPFLAGS'
42012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42016 cat >conftest.$ac_ext <<_ACEOF
42017 /* confdefs.h. */
42018 _ACEOF
42019 cat confdefs.h >>conftest.$ac_ext
42020 cat >>conftest.$ac_ext <<_ACEOF
42021 /* end confdefs.h. */
42022 #include <math.h>
42024 main ()
42026 _ceill (0); _floorl (0);
42028 return 0;
42030 _ACEOF
42031 rm -f conftest.$ac_objext
42032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42033 (eval $ac_compile) 2>conftest.er1
42034 ac_status=$?
42035 grep -v '^ *+' conftest.er1 >conftest.err
42036 rm -f conftest.er1
42037 cat conftest.err >&5
42038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42039 (exit $ac_status); } &&
42040 { ac_try='test -z "$ac_cxx_werror_flag"
42041 || test ! -s conftest.err'
42042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42043 (eval $ac_try) 2>&5
42044 ac_status=$?
42045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42046 (exit $ac_status); }; } &&
42047 { ac_try='test -s conftest.$ac_objext'
42048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42049 (eval $ac_try) 2>&5
42050 ac_status=$?
42051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42052 (exit $ac_status); }; }; then
42053 glibcxx_cv_func__long_double_round_use=yes
42054 else
42055 echo "$as_me: failed program was:" >&5
42056 sed 's/^/| /' conftest.$ac_ext >&5
42058 glibcxx_cv_func__long_double_round_use=no
42060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42061 ac_ext=c
42062 ac_cpp='$CPP $CPPFLAGS'
42063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42069 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
42070 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
42071 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42074 for ac_func in _ceill _floorl
42076 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42077 echo "$as_me:$LINENO: checking for $ac_func" >&5
42078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42079 if eval "test \"\${$as_ac_var+set}\" = set"; then
42080 echo $ECHO_N "(cached) $ECHO_C" >&6
42081 else
42082 if test x$gcc_no_link = xyes; then
42083 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42085 { (exit 1); exit 1; }; }
42087 cat >conftest.$ac_ext <<_ACEOF
42088 /* confdefs.h. */
42089 _ACEOF
42090 cat confdefs.h >>conftest.$ac_ext
42091 cat >>conftest.$ac_ext <<_ACEOF
42092 /* end confdefs.h. */
42093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42095 #define $ac_func innocuous_$ac_func
42097 /* System header to define __stub macros and hopefully few prototypes,
42098 which can conflict with char $ac_func (); below.
42099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42100 <limits.h> exists even on freestanding compilers. */
42102 #ifdef __STDC__
42103 # include <limits.h>
42104 #else
42105 # include <assert.h>
42106 #endif
42108 #undef $ac_func
42110 /* Override any gcc2 internal prototype to avoid an error. */
42111 #ifdef __cplusplus
42112 extern "C"
42114 #endif
42115 /* We use char because int might match the return type of a gcc2
42116 builtin and then its argument prototype would still apply. */
42117 char $ac_func ();
42118 /* The GNU C library defines this for functions which it implements
42119 to always fail with ENOSYS. Some functions are actually named
42120 something starting with __ and the normal name is an alias. */
42121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42122 choke me
42123 #else
42124 char (*f) () = $ac_func;
42125 #endif
42126 #ifdef __cplusplus
42128 #endif
42131 main ()
42133 return f != $ac_func;
42135 return 0;
42137 _ACEOF
42138 rm -f conftest.$ac_objext conftest$ac_exeext
42139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42140 (eval $ac_link) 2>conftest.er1
42141 ac_status=$?
42142 grep -v '^ *+' conftest.er1 >conftest.err
42143 rm -f conftest.er1
42144 cat conftest.err >&5
42145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42146 (exit $ac_status); } &&
42147 { ac_try='test -z "$ac_c_werror_flag"
42148 || test ! -s conftest.err'
42149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42150 (eval $ac_try) 2>&5
42151 ac_status=$?
42152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42153 (exit $ac_status); }; } &&
42154 { ac_try='test -s conftest$ac_exeext'
42155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42156 (eval $ac_try) 2>&5
42157 ac_status=$?
42158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42159 (exit $ac_status); }; }; then
42160 eval "$as_ac_var=yes"
42161 else
42162 echo "$as_me: failed program was:" >&5
42163 sed 's/^/| /' conftest.$ac_ext >&5
42165 eval "$as_ac_var=no"
42167 rm -f conftest.err conftest.$ac_objext \
42168 conftest$ac_exeext conftest.$ac_ext
42170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42172 if test `eval echo '${'$as_ac_var'}'` = yes; then
42173 cat >>confdefs.h <<_ACEOF
42174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42175 _ACEOF
42178 done
42190 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
42191 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
42192 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42193 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
42194 echo $ECHO_N "(cached) $ECHO_C" >&6
42195 else
42199 ac_ext=cc
42200 ac_cpp='$CXXCPP $CPPFLAGS'
42201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42205 cat >conftest.$ac_ext <<_ACEOF
42206 /* confdefs.h. */
42207 _ACEOF
42208 cat confdefs.h >>conftest.$ac_ext
42209 cat >>conftest.$ac_ext <<_ACEOF
42210 /* end confdefs.h. */
42211 #include <math.h>
42212 #ifdef HAVE_IEEEFP_H
42213 #include <ieeefp.h>
42214 #endif
42217 main ()
42219 isnanl(0);
42221 return 0;
42223 _ACEOF
42224 rm -f conftest.$ac_objext
42225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42226 (eval $ac_compile) 2>conftest.er1
42227 ac_status=$?
42228 grep -v '^ *+' conftest.er1 >conftest.err
42229 rm -f conftest.er1
42230 cat conftest.err >&5
42231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42232 (exit $ac_status); } &&
42233 { ac_try='test -z "$ac_cxx_werror_flag"
42234 || test ! -s conftest.err'
42235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42236 (eval $ac_try) 2>&5
42237 ac_status=$?
42238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42239 (exit $ac_status); }; } &&
42240 { ac_try='test -s conftest.$ac_objext'
42241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42242 (eval $ac_try) 2>&5
42243 ac_status=$?
42244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42245 (exit $ac_status); }; }; then
42246 glibcxx_cv_func_isnanl_use=yes
42247 else
42248 echo "$as_me: failed program was:" >&5
42249 sed 's/^/| /' conftest.$ac_ext >&5
42251 glibcxx_cv_func_isnanl_use=no
42253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42254 ac_ext=c
42255 ac_cpp='$CPP $CPPFLAGS'
42256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42264 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
42265 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
42267 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42269 for ac_func in isnanl
42271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42272 echo "$as_me:$LINENO: checking for $ac_func" >&5
42273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42274 if eval "test \"\${$as_ac_var+set}\" = set"; then
42275 echo $ECHO_N "(cached) $ECHO_C" >&6
42276 else
42277 if test x$gcc_no_link = xyes; then
42278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42280 { (exit 1); exit 1; }; }
42282 cat >conftest.$ac_ext <<_ACEOF
42283 /* confdefs.h. */
42284 _ACEOF
42285 cat confdefs.h >>conftest.$ac_ext
42286 cat >>conftest.$ac_ext <<_ACEOF
42287 /* end confdefs.h. */
42288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42290 #define $ac_func innocuous_$ac_func
42292 /* System header to define __stub macros and hopefully few prototypes,
42293 which can conflict with char $ac_func (); below.
42294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42295 <limits.h> exists even on freestanding compilers. */
42297 #ifdef __STDC__
42298 # include <limits.h>
42299 #else
42300 # include <assert.h>
42301 #endif
42303 #undef $ac_func
42305 /* Override any gcc2 internal prototype to avoid an error. */
42306 #ifdef __cplusplus
42307 extern "C"
42309 #endif
42310 /* We use char because int might match the return type of a gcc2
42311 builtin and then its argument prototype would still apply. */
42312 char $ac_func ();
42313 /* The GNU C library defines this for functions which it implements
42314 to always fail with ENOSYS. Some functions are actually named
42315 something starting with __ and the normal name is an alias. */
42316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42317 choke me
42318 #else
42319 char (*f) () = $ac_func;
42320 #endif
42321 #ifdef __cplusplus
42323 #endif
42326 main ()
42328 return f != $ac_func;
42330 return 0;
42332 _ACEOF
42333 rm -f conftest.$ac_objext conftest$ac_exeext
42334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42335 (eval $ac_link) 2>conftest.er1
42336 ac_status=$?
42337 grep -v '^ *+' conftest.er1 >conftest.err
42338 rm -f conftest.er1
42339 cat conftest.err >&5
42340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42341 (exit $ac_status); } &&
42342 { ac_try='test -z "$ac_c_werror_flag"
42343 || test ! -s conftest.err'
42344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42345 (eval $ac_try) 2>&5
42346 ac_status=$?
42347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42348 (exit $ac_status); }; } &&
42349 { ac_try='test -s conftest$ac_exeext'
42350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42351 (eval $ac_try) 2>&5
42352 ac_status=$?
42353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42354 (exit $ac_status); }; }; then
42355 eval "$as_ac_var=yes"
42356 else
42357 echo "$as_me: failed program was:" >&5
42358 sed 's/^/| /' conftest.$ac_ext >&5
42360 eval "$as_ac_var=no"
42362 rm -f conftest.err conftest.$ac_objext \
42363 conftest$ac_exeext conftest.$ac_ext
42365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42367 if test `eval echo '${'$as_ac_var'}'` = yes; then
42368 cat >>confdefs.h <<_ACEOF
42369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42370 _ACEOF
42373 done
42375 else
42377 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
42378 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
42379 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42380 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
42381 echo $ECHO_N "(cached) $ECHO_C" >&6
42382 else
42386 ac_ext=cc
42387 ac_cpp='$CXXCPP $CPPFLAGS'
42388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42392 cat >conftest.$ac_ext <<_ACEOF
42393 /* confdefs.h. */
42394 _ACEOF
42395 cat confdefs.h >>conftest.$ac_ext
42396 cat >>conftest.$ac_ext <<_ACEOF
42397 /* end confdefs.h. */
42398 #include <math.h>
42399 #ifdef HAVE_IEEEFP_H
42400 #include <ieeefp.h>
42401 #endif
42404 main ()
42406 _isnanl(0);
42408 return 0;
42410 _ACEOF
42411 rm -f conftest.$ac_objext
42412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42413 (eval $ac_compile) 2>conftest.er1
42414 ac_status=$?
42415 grep -v '^ *+' conftest.er1 >conftest.err
42416 rm -f conftest.er1
42417 cat conftest.err >&5
42418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42419 (exit $ac_status); } &&
42420 { ac_try='test -z "$ac_cxx_werror_flag"
42421 || test ! -s conftest.err'
42422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42423 (eval $ac_try) 2>&5
42424 ac_status=$?
42425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42426 (exit $ac_status); }; } &&
42427 { ac_try='test -s conftest.$ac_objext'
42428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42429 (eval $ac_try) 2>&5
42430 ac_status=$?
42431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42432 (exit $ac_status); }; }; then
42433 glibcxx_cv_func__isnanl_use=yes
42434 else
42435 echo "$as_me: failed program was:" >&5
42436 sed 's/^/| /' conftest.$ac_ext >&5
42438 glibcxx_cv_func__isnanl_use=no
42440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42441 ac_ext=c
42442 ac_cpp='$CPP $CPPFLAGS'
42443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42451 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
42452 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
42454 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42456 for ac_func in _isnanl
42458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42459 echo "$as_me:$LINENO: checking for $ac_func" >&5
42460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42461 if eval "test \"\${$as_ac_var+set}\" = set"; then
42462 echo $ECHO_N "(cached) $ECHO_C" >&6
42463 else
42464 if test x$gcc_no_link = xyes; then
42465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42467 { (exit 1); exit 1; }; }
42469 cat >conftest.$ac_ext <<_ACEOF
42470 /* confdefs.h. */
42471 _ACEOF
42472 cat confdefs.h >>conftest.$ac_ext
42473 cat >>conftest.$ac_ext <<_ACEOF
42474 /* end confdefs.h. */
42475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42477 #define $ac_func innocuous_$ac_func
42479 /* System header to define __stub macros and hopefully few prototypes,
42480 which can conflict with char $ac_func (); below.
42481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42482 <limits.h> exists even on freestanding compilers. */
42484 #ifdef __STDC__
42485 # include <limits.h>
42486 #else
42487 # include <assert.h>
42488 #endif
42490 #undef $ac_func
42492 /* Override any gcc2 internal prototype to avoid an error. */
42493 #ifdef __cplusplus
42494 extern "C"
42496 #endif
42497 /* We use char because int might match the return type of a gcc2
42498 builtin and then its argument prototype would still apply. */
42499 char $ac_func ();
42500 /* The GNU C library defines this for functions which it implements
42501 to always fail with ENOSYS. Some functions are actually named
42502 something starting with __ and the normal name is an alias. */
42503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42504 choke me
42505 #else
42506 char (*f) () = $ac_func;
42507 #endif
42508 #ifdef __cplusplus
42510 #endif
42513 main ()
42515 return f != $ac_func;
42517 return 0;
42519 _ACEOF
42520 rm -f conftest.$ac_objext conftest$ac_exeext
42521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42522 (eval $ac_link) 2>conftest.er1
42523 ac_status=$?
42524 grep -v '^ *+' conftest.er1 >conftest.err
42525 rm -f conftest.er1
42526 cat conftest.err >&5
42527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42528 (exit $ac_status); } &&
42529 { ac_try='test -z "$ac_c_werror_flag"
42530 || test ! -s conftest.err'
42531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42532 (eval $ac_try) 2>&5
42533 ac_status=$?
42534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42535 (exit $ac_status); }; } &&
42536 { ac_try='test -s conftest$ac_exeext'
42537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42538 (eval $ac_try) 2>&5
42539 ac_status=$?
42540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42541 (exit $ac_status); }; }; then
42542 eval "$as_ac_var=yes"
42543 else
42544 echo "$as_me: failed program was:" >&5
42545 sed 's/^/| /' conftest.$ac_ext >&5
42547 eval "$as_ac_var=no"
42549 rm -f conftest.err conftest.$ac_objext \
42550 conftest$ac_exeext conftest.$ac_ext
42552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42554 if test `eval echo '${'$as_ac_var'}'` = yes; then
42555 cat >>confdefs.h <<_ACEOF
42556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42557 _ACEOF
42560 done
42570 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
42571 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
42572 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42573 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
42574 echo $ECHO_N "(cached) $ECHO_C" >&6
42575 else
42579 ac_ext=cc
42580 ac_cpp='$CXXCPP $CPPFLAGS'
42581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42585 cat >conftest.$ac_ext <<_ACEOF
42586 /* confdefs.h. */
42587 _ACEOF
42588 cat confdefs.h >>conftest.$ac_ext
42589 cat >>conftest.$ac_ext <<_ACEOF
42590 /* end confdefs.h. */
42591 #include <math.h>
42592 #ifdef HAVE_IEEEFP_H
42593 #include <ieeefp.h>
42594 #endif
42597 main ()
42599 isinfl(0);
42601 return 0;
42603 _ACEOF
42604 rm -f conftest.$ac_objext
42605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42606 (eval $ac_compile) 2>conftest.er1
42607 ac_status=$?
42608 grep -v '^ *+' conftest.er1 >conftest.err
42609 rm -f conftest.er1
42610 cat conftest.err >&5
42611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42612 (exit $ac_status); } &&
42613 { ac_try='test -z "$ac_cxx_werror_flag"
42614 || test ! -s conftest.err'
42615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42616 (eval $ac_try) 2>&5
42617 ac_status=$?
42618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42619 (exit $ac_status); }; } &&
42620 { ac_try='test -s conftest.$ac_objext'
42621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42622 (eval $ac_try) 2>&5
42623 ac_status=$?
42624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42625 (exit $ac_status); }; }; then
42626 glibcxx_cv_func_isinfl_use=yes
42627 else
42628 echo "$as_me: failed program was:" >&5
42629 sed 's/^/| /' conftest.$ac_ext >&5
42631 glibcxx_cv_func_isinfl_use=no
42633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42634 ac_ext=c
42635 ac_cpp='$CPP $CPPFLAGS'
42636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42644 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
42645 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
42647 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42649 for ac_func in isinfl
42651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42652 echo "$as_me:$LINENO: checking for $ac_func" >&5
42653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42654 if eval "test \"\${$as_ac_var+set}\" = set"; then
42655 echo $ECHO_N "(cached) $ECHO_C" >&6
42656 else
42657 if test x$gcc_no_link = xyes; then
42658 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42660 { (exit 1); exit 1; }; }
42662 cat >conftest.$ac_ext <<_ACEOF
42663 /* confdefs.h. */
42664 _ACEOF
42665 cat confdefs.h >>conftest.$ac_ext
42666 cat >>conftest.$ac_ext <<_ACEOF
42667 /* end confdefs.h. */
42668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42670 #define $ac_func innocuous_$ac_func
42672 /* System header to define __stub macros and hopefully few prototypes,
42673 which can conflict with char $ac_func (); below.
42674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42675 <limits.h> exists even on freestanding compilers. */
42677 #ifdef __STDC__
42678 # include <limits.h>
42679 #else
42680 # include <assert.h>
42681 #endif
42683 #undef $ac_func
42685 /* Override any gcc2 internal prototype to avoid an error. */
42686 #ifdef __cplusplus
42687 extern "C"
42689 #endif
42690 /* We use char because int might match the return type of a gcc2
42691 builtin and then its argument prototype would still apply. */
42692 char $ac_func ();
42693 /* The GNU C library defines this for functions which it implements
42694 to always fail with ENOSYS. Some functions are actually named
42695 something starting with __ and the normal name is an alias. */
42696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42697 choke me
42698 #else
42699 char (*f) () = $ac_func;
42700 #endif
42701 #ifdef __cplusplus
42703 #endif
42706 main ()
42708 return f != $ac_func;
42710 return 0;
42712 _ACEOF
42713 rm -f conftest.$ac_objext conftest$ac_exeext
42714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42715 (eval $ac_link) 2>conftest.er1
42716 ac_status=$?
42717 grep -v '^ *+' conftest.er1 >conftest.err
42718 rm -f conftest.er1
42719 cat conftest.err >&5
42720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42721 (exit $ac_status); } &&
42722 { ac_try='test -z "$ac_c_werror_flag"
42723 || test ! -s conftest.err'
42724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42725 (eval $ac_try) 2>&5
42726 ac_status=$?
42727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42728 (exit $ac_status); }; } &&
42729 { ac_try='test -s conftest$ac_exeext'
42730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42731 (eval $ac_try) 2>&5
42732 ac_status=$?
42733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42734 (exit $ac_status); }; }; then
42735 eval "$as_ac_var=yes"
42736 else
42737 echo "$as_me: failed program was:" >&5
42738 sed 's/^/| /' conftest.$ac_ext >&5
42740 eval "$as_ac_var=no"
42742 rm -f conftest.err conftest.$ac_objext \
42743 conftest$ac_exeext conftest.$ac_ext
42745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42746 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42747 if test `eval echo '${'$as_ac_var'}'` = yes; then
42748 cat >>confdefs.h <<_ACEOF
42749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42750 _ACEOF
42753 done
42755 else
42757 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
42758 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
42759 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42760 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
42761 echo $ECHO_N "(cached) $ECHO_C" >&6
42762 else
42766 ac_ext=cc
42767 ac_cpp='$CXXCPP $CPPFLAGS'
42768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42772 cat >conftest.$ac_ext <<_ACEOF
42773 /* confdefs.h. */
42774 _ACEOF
42775 cat confdefs.h >>conftest.$ac_ext
42776 cat >>conftest.$ac_ext <<_ACEOF
42777 /* end confdefs.h. */
42778 #include <math.h>
42779 #ifdef HAVE_IEEEFP_H
42780 #include <ieeefp.h>
42781 #endif
42784 main ()
42786 _isinfl(0);
42788 return 0;
42790 _ACEOF
42791 rm -f conftest.$ac_objext
42792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42793 (eval $ac_compile) 2>conftest.er1
42794 ac_status=$?
42795 grep -v '^ *+' conftest.er1 >conftest.err
42796 rm -f conftest.er1
42797 cat conftest.err >&5
42798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42799 (exit $ac_status); } &&
42800 { ac_try='test -z "$ac_cxx_werror_flag"
42801 || test ! -s conftest.err'
42802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42803 (eval $ac_try) 2>&5
42804 ac_status=$?
42805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42806 (exit $ac_status); }; } &&
42807 { ac_try='test -s conftest.$ac_objext'
42808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42809 (eval $ac_try) 2>&5
42810 ac_status=$?
42811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42812 (exit $ac_status); }; }; then
42813 glibcxx_cv_func__isinfl_use=yes
42814 else
42815 echo "$as_me: failed program was:" >&5
42816 sed 's/^/| /' conftest.$ac_ext >&5
42818 glibcxx_cv_func__isinfl_use=no
42820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42821 ac_ext=c
42822 ac_cpp='$CPP $CPPFLAGS'
42823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42831 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
42832 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
42834 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42836 for ac_func in _isinfl
42838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42839 echo "$as_me:$LINENO: checking for $ac_func" >&5
42840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42841 if eval "test \"\${$as_ac_var+set}\" = set"; then
42842 echo $ECHO_N "(cached) $ECHO_C" >&6
42843 else
42844 if test x$gcc_no_link = xyes; then
42845 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42847 { (exit 1); exit 1; }; }
42849 cat >conftest.$ac_ext <<_ACEOF
42850 /* confdefs.h. */
42851 _ACEOF
42852 cat confdefs.h >>conftest.$ac_ext
42853 cat >>conftest.$ac_ext <<_ACEOF
42854 /* end confdefs.h. */
42855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42857 #define $ac_func innocuous_$ac_func
42859 /* System header to define __stub macros and hopefully few prototypes,
42860 which can conflict with char $ac_func (); below.
42861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42862 <limits.h> exists even on freestanding compilers. */
42864 #ifdef __STDC__
42865 # include <limits.h>
42866 #else
42867 # include <assert.h>
42868 #endif
42870 #undef $ac_func
42872 /* Override any gcc2 internal prototype to avoid an error. */
42873 #ifdef __cplusplus
42874 extern "C"
42876 #endif
42877 /* We use char because int might match the return type of a gcc2
42878 builtin and then its argument prototype would still apply. */
42879 char $ac_func ();
42880 /* The GNU C library defines this for functions which it implements
42881 to always fail with ENOSYS. Some functions are actually named
42882 something starting with __ and the normal name is an alias. */
42883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42884 choke me
42885 #else
42886 char (*f) () = $ac_func;
42887 #endif
42888 #ifdef __cplusplus
42890 #endif
42893 main ()
42895 return f != $ac_func;
42897 return 0;
42899 _ACEOF
42900 rm -f conftest.$ac_objext conftest$ac_exeext
42901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42902 (eval $ac_link) 2>conftest.er1
42903 ac_status=$?
42904 grep -v '^ *+' conftest.er1 >conftest.err
42905 rm -f conftest.er1
42906 cat conftest.err >&5
42907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42908 (exit $ac_status); } &&
42909 { ac_try='test -z "$ac_c_werror_flag"
42910 || test ! -s conftest.err'
42911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42912 (eval $ac_try) 2>&5
42913 ac_status=$?
42914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42915 (exit $ac_status); }; } &&
42916 { ac_try='test -s conftest$ac_exeext'
42917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42918 (eval $ac_try) 2>&5
42919 ac_status=$?
42920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42921 (exit $ac_status); }; }; then
42922 eval "$as_ac_var=yes"
42923 else
42924 echo "$as_me: failed program was:" >&5
42925 sed 's/^/| /' conftest.$ac_ext >&5
42927 eval "$as_ac_var=no"
42929 rm -f conftest.err conftest.$ac_objext \
42930 conftest$ac_exeext conftest.$ac_ext
42932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42934 if test `eval echo '${'$as_ac_var'}'` = yes; then
42935 cat >>confdefs.h <<_ACEOF
42936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42937 _ACEOF
42940 done
42950 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
42951 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
42952 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
42953 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
42954 echo $ECHO_N "(cached) $ECHO_C" >&6
42955 else
42959 ac_ext=cc
42960 ac_cpp='$CXXCPP $CPPFLAGS'
42961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42965 cat >conftest.$ac_ext <<_ACEOF
42966 /* confdefs.h. */
42967 _ACEOF
42968 cat confdefs.h >>conftest.$ac_ext
42969 cat >>conftest.$ac_ext <<_ACEOF
42970 /* end confdefs.h. */
42971 #include <math.h>
42973 main ()
42975 copysignl(0, 0);
42977 return 0;
42979 _ACEOF
42980 rm -f conftest.$ac_objext
42981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42982 (eval $ac_compile) 2>conftest.er1
42983 ac_status=$?
42984 grep -v '^ *+' conftest.er1 >conftest.err
42985 rm -f conftest.er1
42986 cat conftest.err >&5
42987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42988 (exit $ac_status); } &&
42989 { ac_try='test -z "$ac_cxx_werror_flag"
42990 || test ! -s conftest.err'
42991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42992 (eval $ac_try) 2>&5
42993 ac_status=$?
42994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42995 (exit $ac_status); }; } &&
42996 { ac_try='test -s conftest.$ac_objext'
42997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42998 (eval $ac_try) 2>&5
42999 ac_status=$?
43000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43001 (exit $ac_status); }; }; then
43002 glibcxx_cv_func_copysignl_use=yes
43003 else
43004 echo "$as_me: failed program was:" >&5
43005 sed 's/^/| /' conftest.$ac_ext >&5
43007 glibcxx_cv_func_copysignl_use=no
43009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43010 ac_ext=c
43011 ac_cpp='$CPP $CPPFLAGS'
43012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43020 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
43021 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
43023 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
43025 for ac_func in copysignl
43027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43028 echo "$as_me:$LINENO: checking for $ac_func" >&5
43029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43030 if eval "test \"\${$as_ac_var+set}\" = set"; then
43031 echo $ECHO_N "(cached) $ECHO_C" >&6
43032 else
43033 if test x$gcc_no_link = xyes; then
43034 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43036 { (exit 1); exit 1; }; }
43038 cat >conftest.$ac_ext <<_ACEOF
43039 /* confdefs.h. */
43040 _ACEOF
43041 cat confdefs.h >>conftest.$ac_ext
43042 cat >>conftest.$ac_ext <<_ACEOF
43043 /* end confdefs.h. */
43044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43046 #define $ac_func innocuous_$ac_func
43048 /* System header to define __stub macros and hopefully few prototypes,
43049 which can conflict with char $ac_func (); below.
43050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43051 <limits.h> exists even on freestanding compilers. */
43053 #ifdef __STDC__
43054 # include <limits.h>
43055 #else
43056 # include <assert.h>
43057 #endif
43059 #undef $ac_func
43061 /* Override any gcc2 internal prototype to avoid an error. */
43062 #ifdef __cplusplus
43063 extern "C"
43065 #endif
43066 /* We use char because int might match the return type of a gcc2
43067 builtin and then its argument prototype would still apply. */
43068 char $ac_func ();
43069 /* The GNU C library defines this for functions which it implements
43070 to always fail with ENOSYS. Some functions are actually named
43071 something starting with __ and the normal name is an alias. */
43072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43073 choke me
43074 #else
43075 char (*f) () = $ac_func;
43076 #endif
43077 #ifdef __cplusplus
43079 #endif
43082 main ()
43084 return f != $ac_func;
43086 return 0;
43088 _ACEOF
43089 rm -f conftest.$ac_objext conftest$ac_exeext
43090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43091 (eval $ac_link) 2>conftest.er1
43092 ac_status=$?
43093 grep -v '^ *+' conftest.er1 >conftest.err
43094 rm -f conftest.er1
43095 cat conftest.err >&5
43096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43097 (exit $ac_status); } &&
43098 { ac_try='test -z "$ac_c_werror_flag"
43099 || test ! -s conftest.err'
43100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43101 (eval $ac_try) 2>&5
43102 ac_status=$?
43103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43104 (exit $ac_status); }; } &&
43105 { ac_try='test -s conftest$ac_exeext'
43106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43107 (eval $ac_try) 2>&5
43108 ac_status=$?
43109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43110 (exit $ac_status); }; }; then
43111 eval "$as_ac_var=yes"
43112 else
43113 echo "$as_me: failed program was:" >&5
43114 sed 's/^/| /' conftest.$ac_ext >&5
43116 eval "$as_ac_var=no"
43118 rm -f conftest.err conftest.$ac_objext \
43119 conftest$ac_exeext conftest.$ac_ext
43121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43123 if test `eval echo '${'$as_ac_var'}'` = yes; then
43124 cat >>confdefs.h <<_ACEOF
43125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43126 _ACEOF
43129 done
43131 else
43133 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
43134 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
43135 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
43136 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
43137 echo $ECHO_N "(cached) $ECHO_C" >&6
43138 else
43142 ac_ext=cc
43143 ac_cpp='$CXXCPP $CPPFLAGS'
43144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43148 cat >conftest.$ac_ext <<_ACEOF
43149 /* confdefs.h. */
43150 _ACEOF
43151 cat confdefs.h >>conftest.$ac_ext
43152 cat >>conftest.$ac_ext <<_ACEOF
43153 /* end confdefs.h. */
43154 #include <math.h>
43156 main ()
43158 _copysignl(0, 0);
43160 return 0;
43162 _ACEOF
43163 rm -f conftest.$ac_objext
43164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43165 (eval $ac_compile) 2>conftest.er1
43166 ac_status=$?
43167 grep -v '^ *+' conftest.er1 >conftest.err
43168 rm -f conftest.er1
43169 cat conftest.err >&5
43170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43171 (exit $ac_status); } &&
43172 { ac_try='test -z "$ac_cxx_werror_flag"
43173 || test ! -s conftest.err'
43174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43175 (eval $ac_try) 2>&5
43176 ac_status=$?
43177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43178 (exit $ac_status); }; } &&
43179 { ac_try='test -s conftest.$ac_objext'
43180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43181 (eval $ac_try) 2>&5
43182 ac_status=$?
43183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43184 (exit $ac_status); }; }; then
43185 glibcxx_cv_func__copysignl_use=yes
43186 else
43187 echo "$as_me: failed program was:" >&5
43188 sed 's/^/| /' conftest.$ac_ext >&5
43190 glibcxx_cv_func__copysignl_use=no
43192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43193 ac_ext=c
43194 ac_cpp='$CPP $CPPFLAGS'
43195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43203 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
43204 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
43206 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
43208 for ac_func in _copysignl
43210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43211 echo "$as_me:$LINENO: checking for $ac_func" >&5
43212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43213 if eval "test \"\${$as_ac_var+set}\" = set"; then
43214 echo $ECHO_N "(cached) $ECHO_C" >&6
43215 else
43216 if test x$gcc_no_link = xyes; then
43217 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43219 { (exit 1); exit 1; }; }
43221 cat >conftest.$ac_ext <<_ACEOF
43222 /* confdefs.h. */
43223 _ACEOF
43224 cat confdefs.h >>conftest.$ac_ext
43225 cat >>conftest.$ac_ext <<_ACEOF
43226 /* end confdefs.h. */
43227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43229 #define $ac_func innocuous_$ac_func
43231 /* System header to define __stub macros and hopefully few prototypes,
43232 which can conflict with char $ac_func (); below.
43233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43234 <limits.h> exists even on freestanding compilers. */
43236 #ifdef __STDC__
43237 # include <limits.h>
43238 #else
43239 # include <assert.h>
43240 #endif
43242 #undef $ac_func
43244 /* Override any gcc2 internal prototype to avoid an error. */
43245 #ifdef __cplusplus
43246 extern "C"
43248 #endif
43249 /* We use char because int might match the return type of a gcc2
43250 builtin and then its argument prototype would still apply. */
43251 char $ac_func ();
43252 /* The GNU C library defines this for functions which it implements
43253 to always fail with ENOSYS. Some functions are actually named
43254 something starting with __ and the normal name is an alias. */
43255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43256 choke me
43257 #else
43258 char (*f) () = $ac_func;
43259 #endif
43260 #ifdef __cplusplus
43262 #endif
43265 main ()
43267 return f != $ac_func;
43269 return 0;
43271 _ACEOF
43272 rm -f conftest.$ac_objext conftest$ac_exeext
43273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43274 (eval $ac_link) 2>conftest.er1
43275 ac_status=$?
43276 grep -v '^ *+' conftest.er1 >conftest.err
43277 rm -f conftest.er1
43278 cat conftest.err >&5
43279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43280 (exit $ac_status); } &&
43281 { ac_try='test -z "$ac_c_werror_flag"
43282 || test ! -s conftest.err'
43283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43284 (eval $ac_try) 2>&5
43285 ac_status=$?
43286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43287 (exit $ac_status); }; } &&
43288 { ac_try='test -s conftest$ac_exeext'
43289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43290 (eval $ac_try) 2>&5
43291 ac_status=$?
43292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43293 (exit $ac_status); }; }; then
43294 eval "$as_ac_var=yes"
43295 else
43296 echo "$as_me: failed program was:" >&5
43297 sed 's/^/| /' conftest.$ac_ext >&5
43299 eval "$as_ac_var=no"
43301 rm -f conftest.err conftest.$ac_objext \
43302 conftest$ac_exeext conftest.$ac_ext
43304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43306 if test `eval echo '${'$as_ac_var'}'` = yes; then
43307 cat >>confdefs.h <<_ACEOF
43308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43309 _ACEOF
43312 done
43322 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
43323 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
43324 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43325 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
43326 echo $ECHO_N "(cached) $ECHO_C" >&6
43327 else
43331 ac_ext=cc
43332 ac_cpp='$CXXCPP $CPPFLAGS'
43333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43337 cat >conftest.$ac_ext <<_ACEOF
43338 /* confdefs.h. */
43339 _ACEOF
43340 cat confdefs.h >>conftest.$ac_ext
43341 cat >>conftest.$ac_ext <<_ACEOF
43342 /* end confdefs.h. */
43343 #include <math.h>
43345 main ()
43347 atan2l(0, 0);
43349 return 0;
43351 _ACEOF
43352 rm -f conftest.$ac_objext
43353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43354 (eval $ac_compile) 2>conftest.er1
43355 ac_status=$?
43356 grep -v '^ *+' conftest.er1 >conftest.err
43357 rm -f conftest.er1
43358 cat conftest.err >&5
43359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43360 (exit $ac_status); } &&
43361 { ac_try='test -z "$ac_cxx_werror_flag"
43362 || test ! -s conftest.err'
43363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43364 (eval $ac_try) 2>&5
43365 ac_status=$?
43366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43367 (exit $ac_status); }; } &&
43368 { ac_try='test -s conftest.$ac_objext'
43369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43370 (eval $ac_try) 2>&5
43371 ac_status=$?
43372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43373 (exit $ac_status); }; }; then
43374 glibcxx_cv_func_atan2l_use=yes
43375 else
43376 echo "$as_me: failed program was:" >&5
43377 sed 's/^/| /' conftest.$ac_ext >&5
43379 glibcxx_cv_func_atan2l_use=no
43381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43382 ac_ext=c
43383 ac_cpp='$CPP $CPPFLAGS'
43384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43392 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
43393 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
43395 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43397 for ac_func in atan2l
43399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43400 echo "$as_me:$LINENO: checking for $ac_func" >&5
43401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43402 if eval "test \"\${$as_ac_var+set}\" = set"; then
43403 echo $ECHO_N "(cached) $ECHO_C" >&6
43404 else
43405 if test x$gcc_no_link = xyes; then
43406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43408 { (exit 1); exit 1; }; }
43410 cat >conftest.$ac_ext <<_ACEOF
43411 /* confdefs.h. */
43412 _ACEOF
43413 cat confdefs.h >>conftest.$ac_ext
43414 cat >>conftest.$ac_ext <<_ACEOF
43415 /* end confdefs.h. */
43416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43418 #define $ac_func innocuous_$ac_func
43420 /* System header to define __stub macros and hopefully few prototypes,
43421 which can conflict with char $ac_func (); below.
43422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43423 <limits.h> exists even on freestanding compilers. */
43425 #ifdef __STDC__
43426 # include <limits.h>
43427 #else
43428 # include <assert.h>
43429 #endif
43431 #undef $ac_func
43433 /* Override any gcc2 internal prototype to avoid an error. */
43434 #ifdef __cplusplus
43435 extern "C"
43437 #endif
43438 /* We use char because int might match the return type of a gcc2
43439 builtin and then its argument prototype would still apply. */
43440 char $ac_func ();
43441 /* The GNU C library defines this for functions which it implements
43442 to always fail with ENOSYS. Some functions are actually named
43443 something starting with __ and the normal name is an alias. */
43444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43445 choke me
43446 #else
43447 char (*f) () = $ac_func;
43448 #endif
43449 #ifdef __cplusplus
43451 #endif
43454 main ()
43456 return f != $ac_func;
43458 return 0;
43460 _ACEOF
43461 rm -f conftest.$ac_objext conftest$ac_exeext
43462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43463 (eval $ac_link) 2>conftest.er1
43464 ac_status=$?
43465 grep -v '^ *+' conftest.er1 >conftest.err
43466 rm -f conftest.er1
43467 cat conftest.err >&5
43468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43469 (exit $ac_status); } &&
43470 { ac_try='test -z "$ac_c_werror_flag"
43471 || test ! -s conftest.err'
43472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43473 (eval $ac_try) 2>&5
43474 ac_status=$?
43475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43476 (exit $ac_status); }; } &&
43477 { ac_try='test -s conftest$ac_exeext'
43478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43479 (eval $ac_try) 2>&5
43480 ac_status=$?
43481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43482 (exit $ac_status); }; }; then
43483 eval "$as_ac_var=yes"
43484 else
43485 echo "$as_me: failed program was:" >&5
43486 sed 's/^/| /' conftest.$ac_ext >&5
43488 eval "$as_ac_var=no"
43490 rm -f conftest.err conftest.$ac_objext \
43491 conftest$ac_exeext conftest.$ac_ext
43493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43495 if test `eval echo '${'$as_ac_var'}'` = yes; then
43496 cat >>confdefs.h <<_ACEOF
43497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43498 _ACEOF
43501 done
43503 else
43505 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
43506 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
43507 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43508 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
43509 echo $ECHO_N "(cached) $ECHO_C" >&6
43510 else
43514 ac_ext=cc
43515 ac_cpp='$CXXCPP $CPPFLAGS'
43516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43520 cat >conftest.$ac_ext <<_ACEOF
43521 /* confdefs.h. */
43522 _ACEOF
43523 cat confdefs.h >>conftest.$ac_ext
43524 cat >>conftest.$ac_ext <<_ACEOF
43525 /* end confdefs.h. */
43526 #include <math.h>
43528 main ()
43530 _atan2l(0, 0);
43532 return 0;
43534 _ACEOF
43535 rm -f conftest.$ac_objext
43536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43537 (eval $ac_compile) 2>conftest.er1
43538 ac_status=$?
43539 grep -v '^ *+' conftest.er1 >conftest.err
43540 rm -f conftest.er1
43541 cat conftest.err >&5
43542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43543 (exit $ac_status); } &&
43544 { ac_try='test -z "$ac_cxx_werror_flag"
43545 || test ! -s conftest.err'
43546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43547 (eval $ac_try) 2>&5
43548 ac_status=$?
43549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43550 (exit $ac_status); }; } &&
43551 { ac_try='test -s conftest.$ac_objext'
43552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43553 (eval $ac_try) 2>&5
43554 ac_status=$?
43555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43556 (exit $ac_status); }; }; then
43557 glibcxx_cv_func__atan2l_use=yes
43558 else
43559 echo "$as_me: failed program was:" >&5
43560 sed 's/^/| /' conftest.$ac_ext >&5
43562 glibcxx_cv_func__atan2l_use=no
43564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43565 ac_ext=c
43566 ac_cpp='$CPP $CPPFLAGS'
43567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43575 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
43576 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
43578 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43580 for ac_func in _atan2l
43582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43583 echo "$as_me:$LINENO: checking for $ac_func" >&5
43584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43585 if eval "test \"\${$as_ac_var+set}\" = set"; then
43586 echo $ECHO_N "(cached) $ECHO_C" >&6
43587 else
43588 if test x$gcc_no_link = xyes; then
43589 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43591 { (exit 1); exit 1; }; }
43593 cat >conftest.$ac_ext <<_ACEOF
43594 /* confdefs.h. */
43595 _ACEOF
43596 cat confdefs.h >>conftest.$ac_ext
43597 cat >>conftest.$ac_ext <<_ACEOF
43598 /* end confdefs.h. */
43599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43601 #define $ac_func innocuous_$ac_func
43603 /* System header to define __stub macros and hopefully few prototypes,
43604 which can conflict with char $ac_func (); below.
43605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43606 <limits.h> exists even on freestanding compilers. */
43608 #ifdef __STDC__
43609 # include <limits.h>
43610 #else
43611 # include <assert.h>
43612 #endif
43614 #undef $ac_func
43616 /* Override any gcc2 internal prototype to avoid an error. */
43617 #ifdef __cplusplus
43618 extern "C"
43620 #endif
43621 /* We use char because int might match the return type of a gcc2
43622 builtin and then its argument prototype would still apply. */
43623 char $ac_func ();
43624 /* The GNU C library defines this for functions which it implements
43625 to always fail with ENOSYS. Some functions are actually named
43626 something starting with __ and the normal name is an alias. */
43627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43628 choke me
43629 #else
43630 char (*f) () = $ac_func;
43631 #endif
43632 #ifdef __cplusplus
43634 #endif
43637 main ()
43639 return f != $ac_func;
43641 return 0;
43643 _ACEOF
43644 rm -f conftest.$ac_objext conftest$ac_exeext
43645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43646 (eval $ac_link) 2>conftest.er1
43647 ac_status=$?
43648 grep -v '^ *+' conftest.er1 >conftest.err
43649 rm -f conftest.er1
43650 cat conftest.err >&5
43651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43652 (exit $ac_status); } &&
43653 { ac_try='test -z "$ac_c_werror_flag"
43654 || test ! -s conftest.err'
43655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43656 (eval $ac_try) 2>&5
43657 ac_status=$?
43658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43659 (exit $ac_status); }; } &&
43660 { ac_try='test -s conftest$ac_exeext'
43661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43662 (eval $ac_try) 2>&5
43663 ac_status=$?
43664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43665 (exit $ac_status); }; }; then
43666 eval "$as_ac_var=yes"
43667 else
43668 echo "$as_me: failed program was:" >&5
43669 sed 's/^/| /' conftest.$ac_ext >&5
43671 eval "$as_ac_var=no"
43673 rm -f conftest.err conftest.$ac_objext \
43674 conftest$ac_exeext conftest.$ac_ext
43676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43677 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43678 if test `eval echo '${'$as_ac_var'}'` = yes; then
43679 cat >>confdefs.h <<_ACEOF
43680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43681 _ACEOF
43684 done
43694 echo "$as_me:$LINENO: checking for expl declaration" >&5
43695 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
43696 if test x${glibcxx_cv_func_expl_use+set} != xset; then
43697 if test "${glibcxx_cv_func_expl_use+set}" = set; then
43698 echo $ECHO_N "(cached) $ECHO_C" >&6
43699 else
43703 ac_ext=cc
43704 ac_cpp='$CXXCPP $CPPFLAGS'
43705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43709 cat >conftest.$ac_ext <<_ACEOF
43710 /* confdefs.h. */
43711 _ACEOF
43712 cat confdefs.h >>conftest.$ac_ext
43713 cat >>conftest.$ac_ext <<_ACEOF
43714 /* end confdefs.h. */
43715 #include <math.h>
43716 #ifdef HAVE_IEEEFP_H
43717 #include <ieeefp.h>
43718 #endif
43721 main ()
43723 expl(0);
43725 return 0;
43727 _ACEOF
43728 rm -f conftest.$ac_objext
43729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43730 (eval $ac_compile) 2>conftest.er1
43731 ac_status=$?
43732 grep -v '^ *+' conftest.er1 >conftest.err
43733 rm -f conftest.er1
43734 cat conftest.err >&5
43735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43736 (exit $ac_status); } &&
43737 { ac_try='test -z "$ac_cxx_werror_flag"
43738 || test ! -s conftest.err'
43739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43740 (eval $ac_try) 2>&5
43741 ac_status=$?
43742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43743 (exit $ac_status); }; } &&
43744 { ac_try='test -s conftest.$ac_objext'
43745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43746 (eval $ac_try) 2>&5
43747 ac_status=$?
43748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43749 (exit $ac_status); }; }; then
43750 glibcxx_cv_func_expl_use=yes
43751 else
43752 echo "$as_me: failed program was:" >&5
43753 sed 's/^/| /' conftest.$ac_ext >&5
43755 glibcxx_cv_func_expl_use=no
43757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43758 ac_ext=c
43759 ac_cpp='$CPP $CPPFLAGS'
43760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43768 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
43769 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
43771 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43773 for ac_func in expl
43775 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43776 echo "$as_me:$LINENO: checking for $ac_func" >&5
43777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43778 if eval "test \"\${$as_ac_var+set}\" = set"; then
43779 echo $ECHO_N "(cached) $ECHO_C" >&6
43780 else
43781 if test x$gcc_no_link = xyes; then
43782 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43784 { (exit 1); exit 1; }; }
43786 cat >conftest.$ac_ext <<_ACEOF
43787 /* confdefs.h. */
43788 _ACEOF
43789 cat confdefs.h >>conftest.$ac_ext
43790 cat >>conftest.$ac_ext <<_ACEOF
43791 /* end confdefs.h. */
43792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43794 #define $ac_func innocuous_$ac_func
43796 /* System header to define __stub macros and hopefully few prototypes,
43797 which can conflict with char $ac_func (); below.
43798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43799 <limits.h> exists even on freestanding compilers. */
43801 #ifdef __STDC__
43802 # include <limits.h>
43803 #else
43804 # include <assert.h>
43805 #endif
43807 #undef $ac_func
43809 /* Override any gcc2 internal prototype to avoid an error. */
43810 #ifdef __cplusplus
43811 extern "C"
43813 #endif
43814 /* We use char because int might match the return type of a gcc2
43815 builtin and then its argument prototype would still apply. */
43816 char $ac_func ();
43817 /* The GNU C library defines this for functions which it implements
43818 to always fail with ENOSYS. Some functions are actually named
43819 something starting with __ and the normal name is an alias. */
43820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43821 choke me
43822 #else
43823 char (*f) () = $ac_func;
43824 #endif
43825 #ifdef __cplusplus
43827 #endif
43830 main ()
43832 return f != $ac_func;
43834 return 0;
43836 _ACEOF
43837 rm -f conftest.$ac_objext conftest$ac_exeext
43838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43839 (eval $ac_link) 2>conftest.er1
43840 ac_status=$?
43841 grep -v '^ *+' conftest.er1 >conftest.err
43842 rm -f conftest.er1
43843 cat conftest.err >&5
43844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43845 (exit $ac_status); } &&
43846 { ac_try='test -z "$ac_c_werror_flag"
43847 || test ! -s conftest.err'
43848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43849 (eval $ac_try) 2>&5
43850 ac_status=$?
43851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43852 (exit $ac_status); }; } &&
43853 { ac_try='test -s conftest$ac_exeext'
43854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43855 (eval $ac_try) 2>&5
43856 ac_status=$?
43857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43858 (exit $ac_status); }; }; then
43859 eval "$as_ac_var=yes"
43860 else
43861 echo "$as_me: failed program was:" >&5
43862 sed 's/^/| /' conftest.$ac_ext >&5
43864 eval "$as_ac_var=no"
43866 rm -f conftest.err conftest.$ac_objext \
43867 conftest$ac_exeext conftest.$ac_ext
43869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43871 if test `eval echo '${'$as_ac_var'}'` = yes; then
43872 cat >>confdefs.h <<_ACEOF
43873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43874 _ACEOF
43877 done
43879 else
43881 echo "$as_me:$LINENO: checking for _expl declaration" >&5
43882 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
43883 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43884 if test "${glibcxx_cv_func__expl_use+set}" = set; then
43885 echo $ECHO_N "(cached) $ECHO_C" >&6
43886 else
43890 ac_ext=cc
43891 ac_cpp='$CXXCPP $CPPFLAGS'
43892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43896 cat >conftest.$ac_ext <<_ACEOF
43897 /* confdefs.h. */
43898 _ACEOF
43899 cat confdefs.h >>conftest.$ac_ext
43900 cat >>conftest.$ac_ext <<_ACEOF
43901 /* end confdefs.h. */
43902 #include <math.h>
43903 #ifdef HAVE_IEEEFP_H
43904 #include <ieeefp.h>
43905 #endif
43908 main ()
43910 _expl(0);
43912 return 0;
43914 _ACEOF
43915 rm -f conftest.$ac_objext
43916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43917 (eval $ac_compile) 2>conftest.er1
43918 ac_status=$?
43919 grep -v '^ *+' conftest.er1 >conftest.err
43920 rm -f conftest.er1
43921 cat conftest.err >&5
43922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43923 (exit $ac_status); } &&
43924 { ac_try='test -z "$ac_cxx_werror_flag"
43925 || test ! -s conftest.err'
43926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43927 (eval $ac_try) 2>&5
43928 ac_status=$?
43929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43930 (exit $ac_status); }; } &&
43931 { ac_try='test -s conftest.$ac_objext'
43932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43933 (eval $ac_try) 2>&5
43934 ac_status=$?
43935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43936 (exit $ac_status); }; }; then
43937 glibcxx_cv_func__expl_use=yes
43938 else
43939 echo "$as_me: failed program was:" >&5
43940 sed 's/^/| /' conftest.$ac_ext >&5
43942 glibcxx_cv_func__expl_use=no
43944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43945 ac_ext=c
43946 ac_cpp='$CPP $CPPFLAGS'
43947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43955 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
43956 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
43958 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43960 for ac_func in _expl
43962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43963 echo "$as_me:$LINENO: checking for $ac_func" >&5
43964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43965 if eval "test \"\${$as_ac_var+set}\" = set"; then
43966 echo $ECHO_N "(cached) $ECHO_C" >&6
43967 else
43968 if test x$gcc_no_link = xyes; then
43969 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43971 { (exit 1); exit 1; }; }
43973 cat >conftest.$ac_ext <<_ACEOF
43974 /* confdefs.h. */
43975 _ACEOF
43976 cat confdefs.h >>conftest.$ac_ext
43977 cat >>conftest.$ac_ext <<_ACEOF
43978 /* end confdefs.h. */
43979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43980 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43981 #define $ac_func innocuous_$ac_func
43983 /* System header to define __stub macros and hopefully few prototypes,
43984 which can conflict with char $ac_func (); below.
43985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43986 <limits.h> exists even on freestanding compilers. */
43988 #ifdef __STDC__
43989 # include <limits.h>
43990 #else
43991 # include <assert.h>
43992 #endif
43994 #undef $ac_func
43996 /* Override any gcc2 internal prototype to avoid an error. */
43997 #ifdef __cplusplus
43998 extern "C"
44000 #endif
44001 /* We use char because int might match the return type of a gcc2
44002 builtin and then its argument prototype would still apply. */
44003 char $ac_func ();
44004 /* The GNU C library defines this for functions which it implements
44005 to always fail with ENOSYS. Some functions are actually named
44006 something starting with __ and the normal name is an alias. */
44007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44008 choke me
44009 #else
44010 char (*f) () = $ac_func;
44011 #endif
44012 #ifdef __cplusplus
44014 #endif
44017 main ()
44019 return f != $ac_func;
44021 return 0;
44023 _ACEOF
44024 rm -f conftest.$ac_objext conftest$ac_exeext
44025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44026 (eval $ac_link) 2>conftest.er1
44027 ac_status=$?
44028 grep -v '^ *+' conftest.er1 >conftest.err
44029 rm -f conftest.er1
44030 cat conftest.err >&5
44031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44032 (exit $ac_status); } &&
44033 { ac_try='test -z "$ac_c_werror_flag"
44034 || test ! -s conftest.err'
44035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44036 (eval $ac_try) 2>&5
44037 ac_status=$?
44038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44039 (exit $ac_status); }; } &&
44040 { ac_try='test -s conftest$ac_exeext'
44041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44042 (eval $ac_try) 2>&5
44043 ac_status=$?
44044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44045 (exit $ac_status); }; }; then
44046 eval "$as_ac_var=yes"
44047 else
44048 echo "$as_me: failed program was:" >&5
44049 sed 's/^/| /' conftest.$ac_ext >&5
44051 eval "$as_ac_var=no"
44053 rm -f conftest.err conftest.$ac_objext \
44054 conftest$ac_exeext conftest.$ac_ext
44056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44058 if test `eval echo '${'$as_ac_var'}'` = yes; then
44059 cat >>confdefs.h <<_ACEOF
44060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44061 _ACEOF
44064 done
44074 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
44075 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
44076 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
44077 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
44078 echo $ECHO_N "(cached) $ECHO_C" >&6
44079 else
44083 ac_ext=cc
44084 ac_cpp='$CXXCPP $CPPFLAGS'
44085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44089 cat >conftest.$ac_ext <<_ACEOF
44090 /* confdefs.h. */
44091 _ACEOF
44092 cat confdefs.h >>conftest.$ac_ext
44093 cat >>conftest.$ac_ext <<_ACEOF
44094 /* end confdefs.h. */
44095 #include <math.h>
44096 #ifdef HAVE_IEEEFP_H
44097 #include <ieeefp.h>
44098 #endif
44101 main ()
44103 fabsl(0);
44105 return 0;
44107 _ACEOF
44108 rm -f conftest.$ac_objext
44109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44110 (eval $ac_compile) 2>conftest.er1
44111 ac_status=$?
44112 grep -v '^ *+' conftest.er1 >conftest.err
44113 rm -f conftest.er1
44114 cat conftest.err >&5
44115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44116 (exit $ac_status); } &&
44117 { ac_try='test -z "$ac_cxx_werror_flag"
44118 || test ! -s conftest.err'
44119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44120 (eval $ac_try) 2>&5
44121 ac_status=$?
44122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44123 (exit $ac_status); }; } &&
44124 { ac_try='test -s conftest.$ac_objext'
44125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44126 (eval $ac_try) 2>&5
44127 ac_status=$?
44128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44129 (exit $ac_status); }; }; then
44130 glibcxx_cv_func_fabsl_use=yes
44131 else
44132 echo "$as_me: failed program was:" >&5
44133 sed 's/^/| /' conftest.$ac_ext >&5
44135 glibcxx_cv_func_fabsl_use=no
44137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44138 ac_ext=c
44139 ac_cpp='$CPP $CPPFLAGS'
44140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44148 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
44149 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
44151 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
44153 for ac_func in fabsl
44155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44156 echo "$as_me:$LINENO: checking for $ac_func" >&5
44157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44158 if eval "test \"\${$as_ac_var+set}\" = set"; then
44159 echo $ECHO_N "(cached) $ECHO_C" >&6
44160 else
44161 if test x$gcc_no_link = xyes; then
44162 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44164 { (exit 1); exit 1; }; }
44166 cat >conftest.$ac_ext <<_ACEOF
44167 /* confdefs.h. */
44168 _ACEOF
44169 cat confdefs.h >>conftest.$ac_ext
44170 cat >>conftest.$ac_ext <<_ACEOF
44171 /* end confdefs.h. */
44172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44174 #define $ac_func innocuous_$ac_func
44176 /* System header to define __stub macros and hopefully few prototypes,
44177 which can conflict with char $ac_func (); below.
44178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44179 <limits.h> exists even on freestanding compilers. */
44181 #ifdef __STDC__
44182 # include <limits.h>
44183 #else
44184 # include <assert.h>
44185 #endif
44187 #undef $ac_func
44189 /* Override any gcc2 internal prototype to avoid an error. */
44190 #ifdef __cplusplus
44191 extern "C"
44193 #endif
44194 /* We use char because int might match the return type of a gcc2
44195 builtin and then its argument prototype would still apply. */
44196 char $ac_func ();
44197 /* The GNU C library defines this for functions which it implements
44198 to always fail with ENOSYS. Some functions are actually named
44199 something starting with __ and the normal name is an alias. */
44200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44201 choke me
44202 #else
44203 char (*f) () = $ac_func;
44204 #endif
44205 #ifdef __cplusplus
44207 #endif
44210 main ()
44212 return f != $ac_func;
44214 return 0;
44216 _ACEOF
44217 rm -f conftest.$ac_objext conftest$ac_exeext
44218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44219 (eval $ac_link) 2>conftest.er1
44220 ac_status=$?
44221 grep -v '^ *+' conftest.er1 >conftest.err
44222 rm -f conftest.er1
44223 cat conftest.err >&5
44224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44225 (exit $ac_status); } &&
44226 { ac_try='test -z "$ac_c_werror_flag"
44227 || test ! -s conftest.err'
44228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44229 (eval $ac_try) 2>&5
44230 ac_status=$?
44231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44232 (exit $ac_status); }; } &&
44233 { ac_try='test -s conftest$ac_exeext'
44234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44235 (eval $ac_try) 2>&5
44236 ac_status=$?
44237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44238 (exit $ac_status); }; }; then
44239 eval "$as_ac_var=yes"
44240 else
44241 echo "$as_me: failed program was:" >&5
44242 sed 's/^/| /' conftest.$ac_ext >&5
44244 eval "$as_ac_var=no"
44246 rm -f conftest.err conftest.$ac_objext \
44247 conftest$ac_exeext conftest.$ac_ext
44249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44251 if test `eval echo '${'$as_ac_var'}'` = yes; then
44252 cat >>confdefs.h <<_ACEOF
44253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44254 _ACEOF
44257 done
44259 else
44261 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
44262 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
44263 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44264 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
44265 echo $ECHO_N "(cached) $ECHO_C" >&6
44266 else
44270 ac_ext=cc
44271 ac_cpp='$CXXCPP $CPPFLAGS'
44272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44276 cat >conftest.$ac_ext <<_ACEOF
44277 /* confdefs.h. */
44278 _ACEOF
44279 cat confdefs.h >>conftest.$ac_ext
44280 cat >>conftest.$ac_ext <<_ACEOF
44281 /* end confdefs.h. */
44282 #include <math.h>
44283 #ifdef HAVE_IEEEFP_H
44284 #include <ieeefp.h>
44285 #endif
44288 main ()
44290 _fabsl(0);
44292 return 0;
44294 _ACEOF
44295 rm -f conftest.$ac_objext
44296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44297 (eval $ac_compile) 2>conftest.er1
44298 ac_status=$?
44299 grep -v '^ *+' conftest.er1 >conftest.err
44300 rm -f conftest.er1
44301 cat conftest.err >&5
44302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44303 (exit $ac_status); } &&
44304 { ac_try='test -z "$ac_cxx_werror_flag"
44305 || test ! -s conftest.err'
44306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44307 (eval $ac_try) 2>&5
44308 ac_status=$?
44309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44310 (exit $ac_status); }; } &&
44311 { ac_try='test -s conftest.$ac_objext'
44312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44313 (eval $ac_try) 2>&5
44314 ac_status=$?
44315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44316 (exit $ac_status); }; }; then
44317 glibcxx_cv_func__fabsl_use=yes
44318 else
44319 echo "$as_me: failed program was:" >&5
44320 sed 's/^/| /' conftest.$ac_ext >&5
44322 glibcxx_cv_func__fabsl_use=no
44324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44325 ac_ext=c
44326 ac_cpp='$CPP $CPPFLAGS'
44327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44335 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
44336 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
44338 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
44340 for ac_func in _fabsl
44342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44343 echo "$as_me:$LINENO: checking for $ac_func" >&5
44344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44345 if eval "test \"\${$as_ac_var+set}\" = set"; then
44346 echo $ECHO_N "(cached) $ECHO_C" >&6
44347 else
44348 if test x$gcc_no_link = xyes; then
44349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44351 { (exit 1); exit 1; }; }
44353 cat >conftest.$ac_ext <<_ACEOF
44354 /* confdefs.h. */
44355 _ACEOF
44356 cat confdefs.h >>conftest.$ac_ext
44357 cat >>conftest.$ac_ext <<_ACEOF
44358 /* end confdefs.h. */
44359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44361 #define $ac_func innocuous_$ac_func
44363 /* System header to define __stub macros and hopefully few prototypes,
44364 which can conflict with char $ac_func (); below.
44365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44366 <limits.h> exists even on freestanding compilers. */
44368 #ifdef __STDC__
44369 # include <limits.h>
44370 #else
44371 # include <assert.h>
44372 #endif
44374 #undef $ac_func
44376 /* Override any gcc2 internal prototype to avoid an error. */
44377 #ifdef __cplusplus
44378 extern "C"
44380 #endif
44381 /* We use char because int might match the return type of a gcc2
44382 builtin and then its argument prototype would still apply. */
44383 char $ac_func ();
44384 /* The GNU C library defines this for functions which it implements
44385 to always fail with ENOSYS. Some functions are actually named
44386 something starting with __ and the normal name is an alias. */
44387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44388 choke me
44389 #else
44390 char (*f) () = $ac_func;
44391 #endif
44392 #ifdef __cplusplus
44394 #endif
44397 main ()
44399 return f != $ac_func;
44401 return 0;
44403 _ACEOF
44404 rm -f conftest.$ac_objext conftest$ac_exeext
44405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44406 (eval $ac_link) 2>conftest.er1
44407 ac_status=$?
44408 grep -v '^ *+' conftest.er1 >conftest.err
44409 rm -f conftest.er1
44410 cat conftest.err >&5
44411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44412 (exit $ac_status); } &&
44413 { ac_try='test -z "$ac_c_werror_flag"
44414 || test ! -s conftest.err'
44415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44416 (eval $ac_try) 2>&5
44417 ac_status=$?
44418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44419 (exit $ac_status); }; } &&
44420 { ac_try='test -s conftest$ac_exeext'
44421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44422 (eval $ac_try) 2>&5
44423 ac_status=$?
44424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44425 (exit $ac_status); }; }; then
44426 eval "$as_ac_var=yes"
44427 else
44428 echo "$as_me: failed program was:" >&5
44429 sed 's/^/| /' conftest.$ac_ext >&5
44431 eval "$as_ac_var=no"
44433 rm -f conftest.err conftest.$ac_objext \
44434 conftest$ac_exeext conftest.$ac_ext
44436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44438 if test `eval echo '${'$as_ac_var'}'` = yes; then
44439 cat >>confdefs.h <<_ACEOF
44440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44441 _ACEOF
44444 done
44454 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
44455 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
44456 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
44457 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
44458 echo $ECHO_N "(cached) $ECHO_C" >&6
44459 else
44463 ac_ext=cc
44464 ac_cpp='$CXXCPP $CPPFLAGS'
44465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44469 cat >conftest.$ac_ext <<_ACEOF
44470 /* confdefs.h. */
44471 _ACEOF
44472 cat confdefs.h >>conftest.$ac_ext
44473 cat >>conftest.$ac_ext <<_ACEOF
44474 /* end confdefs.h. */
44475 #include <math.h>
44477 main ()
44479 fmodl(0, 0);
44481 return 0;
44483 _ACEOF
44484 rm -f conftest.$ac_objext
44485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44486 (eval $ac_compile) 2>conftest.er1
44487 ac_status=$?
44488 grep -v '^ *+' conftest.er1 >conftest.err
44489 rm -f conftest.er1
44490 cat conftest.err >&5
44491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44492 (exit $ac_status); } &&
44493 { ac_try='test -z "$ac_cxx_werror_flag"
44494 || test ! -s conftest.err'
44495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44496 (eval $ac_try) 2>&5
44497 ac_status=$?
44498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44499 (exit $ac_status); }; } &&
44500 { ac_try='test -s conftest.$ac_objext'
44501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44502 (eval $ac_try) 2>&5
44503 ac_status=$?
44504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44505 (exit $ac_status); }; }; then
44506 glibcxx_cv_func_fmodl_use=yes
44507 else
44508 echo "$as_me: failed program was:" >&5
44509 sed 's/^/| /' conftest.$ac_ext >&5
44511 glibcxx_cv_func_fmodl_use=no
44513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44514 ac_ext=c
44515 ac_cpp='$CPP $CPPFLAGS'
44516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44524 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
44525 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
44527 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44529 for ac_func in fmodl
44531 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44532 echo "$as_me:$LINENO: checking for $ac_func" >&5
44533 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44534 if eval "test \"\${$as_ac_var+set}\" = set"; then
44535 echo $ECHO_N "(cached) $ECHO_C" >&6
44536 else
44537 if test x$gcc_no_link = xyes; then
44538 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44540 { (exit 1); exit 1; }; }
44542 cat >conftest.$ac_ext <<_ACEOF
44543 /* confdefs.h. */
44544 _ACEOF
44545 cat confdefs.h >>conftest.$ac_ext
44546 cat >>conftest.$ac_ext <<_ACEOF
44547 /* end confdefs.h. */
44548 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44550 #define $ac_func innocuous_$ac_func
44552 /* System header to define __stub macros and hopefully few prototypes,
44553 which can conflict with char $ac_func (); below.
44554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44555 <limits.h> exists even on freestanding compilers. */
44557 #ifdef __STDC__
44558 # include <limits.h>
44559 #else
44560 # include <assert.h>
44561 #endif
44563 #undef $ac_func
44565 /* Override any gcc2 internal prototype to avoid an error. */
44566 #ifdef __cplusplus
44567 extern "C"
44569 #endif
44570 /* We use char because int might match the return type of a gcc2
44571 builtin and then its argument prototype would still apply. */
44572 char $ac_func ();
44573 /* The GNU C library defines this for functions which it implements
44574 to always fail with ENOSYS. Some functions are actually named
44575 something starting with __ and the normal name is an alias. */
44576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44577 choke me
44578 #else
44579 char (*f) () = $ac_func;
44580 #endif
44581 #ifdef __cplusplus
44583 #endif
44586 main ()
44588 return f != $ac_func;
44590 return 0;
44592 _ACEOF
44593 rm -f conftest.$ac_objext conftest$ac_exeext
44594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44595 (eval $ac_link) 2>conftest.er1
44596 ac_status=$?
44597 grep -v '^ *+' conftest.er1 >conftest.err
44598 rm -f conftest.er1
44599 cat conftest.err >&5
44600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44601 (exit $ac_status); } &&
44602 { ac_try='test -z "$ac_c_werror_flag"
44603 || test ! -s conftest.err'
44604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44605 (eval $ac_try) 2>&5
44606 ac_status=$?
44607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44608 (exit $ac_status); }; } &&
44609 { ac_try='test -s conftest$ac_exeext'
44610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44611 (eval $ac_try) 2>&5
44612 ac_status=$?
44613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44614 (exit $ac_status); }; }; then
44615 eval "$as_ac_var=yes"
44616 else
44617 echo "$as_me: failed program was:" >&5
44618 sed 's/^/| /' conftest.$ac_ext >&5
44620 eval "$as_ac_var=no"
44622 rm -f conftest.err conftest.$ac_objext \
44623 conftest$ac_exeext conftest.$ac_ext
44625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44627 if test `eval echo '${'$as_ac_var'}'` = yes; then
44628 cat >>confdefs.h <<_ACEOF
44629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44630 _ACEOF
44633 done
44635 else
44637 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
44638 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
44639 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44640 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
44641 echo $ECHO_N "(cached) $ECHO_C" >&6
44642 else
44646 ac_ext=cc
44647 ac_cpp='$CXXCPP $CPPFLAGS'
44648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44652 cat >conftest.$ac_ext <<_ACEOF
44653 /* confdefs.h. */
44654 _ACEOF
44655 cat confdefs.h >>conftest.$ac_ext
44656 cat >>conftest.$ac_ext <<_ACEOF
44657 /* end confdefs.h. */
44658 #include <math.h>
44660 main ()
44662 _fmodl(0, 0);
44664 return 0;
44666 _ACEOF
44667 rm -f conftest.$ac_objext
44668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44669 (eval $ac_compile) 2>conftest.er1
44670 ac_status=$?
44671 grep -v '^ *+' conftest.er1 >conftest.err
44672 rm -f conftest.er1
44673 cat conftest.err >&5
44674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44675 (exit $ac_status); } &&
44676 { ac_try='test -z "$ac_cxx_werror_flag"
44677 || test ! -s conftest.err'
44678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44679 (eval $ac_try) 2>&5
44680 ac_status=$?
44681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44682 (exit $ac_status); }; } &&
44683 { ac_try='test -s conftest.$ac_objext'
44684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44685 (eval $ac_try) 2>&5
44686 ac_status=$?
44687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44688 (exit $ac_status); }; }; then
44689 glibcxx_cv_func__fmodl_use=yes
44690 else
44691 echo "$as_me: failed program was:" >&5
44692 sed 's/^/| /' conftest.$ac_ext >&5
44694 glibcxx_cv_func__fmodl_use=no
44696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44697 ac_ext=c
44698 ac_cpp='$CPP $CPPFLAGS'
44699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44707 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
44708 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
44710 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44712 for ac_func in _fmodl
44714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44715 echo "$as_me:$LINENO: checking for $ac_func" >&5
44716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44717 if eval "test \"\${$as_ac_var+set}\" = set"; then
44718 echo $ECHO_N "(cached) $ECHO_C" >&6
44719 else
44720 if test x$gcc_no_link = xyes; then
44721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44723 { (exit 1); exit 1; }; }
44725 cat >conftest.$ac_ext <<_ACEOF
44726 /* confdefs.h. */
44727 _ACEOF
44728 cat confdefs.h >>conftest.$ac_ext
44729 cat >>conftest.$ac_ext <<_ACEOF
44730 /* end confdefs.h. */
44731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44733 #define $ac_func innocuous_$ac_func
44735 /* System header to define __stub macros and hopefully few prototypes,
44736 which can conflict with char $ac_func (); below.
44737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44738 <limits.h> exists even on freestanding compilers. */
44740 #ifdef __STDC__
44741 # include <limits.h>
44742 #else
44743 # include <assert.h>
44744 #endif
44746 #undef $ac_func
44748 /* Override any gcc2 internal prototype to avoid an error. */
44749 #ifdef __cplusplus
44750 extern "C"
44752 #endif
44753 /* We use char because int might match the return type of a gcc2
44754 builtin and then its argument prototype would still apply. */
44755 char $ac_func ();
44756 /* The GNU C library defines this for functions which it implements
44757 to always fail with ENOSYS. Some functions are actually named
44758 something starting with __ and the normal name is an alias. */
44759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44760 choke me
44761 #else
44762 char (*f) () = $ac_func;
44763 #endif
44764 #ifdef __cplusplus
44766 #endif
44769 main ()
44771 return f != $ac_func;
44773 return 0;
44775 _ACEOF
44776 rm -f conftest.$ac_objext conftest$ac_exeext
44777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44778 (eval $ac_link) 2>conftest.er1
44779 ac_status=$?
44780 grep -v '^ *+' conftest.er1 >conftest.err
44781 rm -f conftest.er1
44782 cat conftest.err >&5
44783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44784 (exit $ac_status); } &&
44785 { ac_try='test -z "$ac_c_werror_flag"
44786 || test ! -s conftest.err'
44787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44788 (eval $ac_try) 2>&5
44789 ac_status=$?
44790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44791 (exit $ac_status); }; } &&
44792 { ac_try='test -s conftest$ac_exeext'
44793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44794 (eval $ac_try) 2>&5
44795 ac_status=$?
44796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44797 (exit $ac_status); }; }; then
44798 eval "$as_ac_var=yes"
44799 else
44800 echo "$as_me: failed program was:" >&5
44801 sed 's/^/| /' conftest.$ac_ext >&5
44803 eval "$as_ac_var=no"
44805 rm -f conftest.err conftest.$ac_objext \
44806 conftest$ac_exeext conftest.$ac_ext
44808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44810 if test `eval echo '${'$as_ac_var'}'` = yes; then
44811 cat >>confdefs.h <<_ACEOF
44812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44813 _ACEOF
44816 done
44826 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
44827 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
44828 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44829 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
44830 echo $ECHO_N "(cached) $ECHO_C" >&6
44831 else
44835 ac_ext=cc
44836 ac_cpp='$CXXCPP $CPPFLAGS'
44837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44841 cat >conftest.$ac_ext <<_ACEOF
44842 /* confdefs.h. */
44843 _ACEOF
44844 cat confdefs.h >>conftest.$ac_ext
44845 cat >>conftest.$ac_ext <<_ACEOF
44846 /* end confdefs.h. */
44847 #include <math.h>
44849 main ()
44851 frexpl(0, 0);
44853 return 0;
44855 _ACEOF
44856 rm -f conftest.$ac_objext
44857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44858 (eval $ac_compile) 2>conftest.er1
44859 ac_status=$?
44860 grep -v '^ *+' conftest.er1 >conftest.err
44861 rm -f conftest.er1
44862 cat conftest.err >&5
44863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44864 (exit $ac_status); } &&
44865 { ac_try='test -z "$ac_cxx_werror_flag"
44866 || test ! -s conftest.err'
44867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44868 (eval $ac_try) 2>&5
44869 ac_status=$?
44870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44871 (exit $ac_status); }; } &&
44872 { ac_try='test -s conftest.$ac_objext'
44873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44874 (eval $ac_try) 2>&5
44875 ac_status=$?
44876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44877 (exit $ac_status); }; }; then
44878 glibcxx_cv_func_frexpl_use=yes
44879 else
44880 echo "$as_me: failed program was:" >&5
44881 sed 's/^/| /' conftest.$ac_ext >&5
44883 glibcxx_cv_func_frexpl_use=no
44885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44886 ac_ext=c
44887 ac_cpp='$CPP $CPPFLAGS'
44888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44896 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
44897 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
44899 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44901 for ac_func in frexpl
44903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44904 echo "$as_me:$LINENO: checking for $ac_func" >&5
44905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44906 if eval "test \"\${$as_ac_var+set}\" = set"; then
44907 echo $ECHO_N "(cached) $ECHO_C" >&6
44908 else
44909 if test x$gcc_no_link = xyes; then
44910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44912 { (exit 1); exit 1; }; }
44914 cat >conftest.$ac_ext <<_ACEOF
44915 /* confdefs.h. */
44916 _ACEOF
44917 cat confdefs.h >>conftest.$ac_ext
44918 cat >>conftest.$ac_ext <<_ACEOF
44919 /* end confdefs.h. */
44920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44922 #define $ac_func innocuous_$ac_func
44924 /* System header to define __stub macros and hopefully few prototypes,
44925 which can conflict with char $ac_func (); below.
44926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44927 <limits.h> exists even on freestanding compilers. */
44929 #ifdef __STDC__
44930 # include <limits.h>
44931 #else
44932 # include <assert.h>
44933 #endif
44935 #undef $ac_func
44937 /* Override any gcc2 internal prototype to avoid an error. */
44938 #ifdef __cplusplus
44939 extern "C"
44941 #endif
44942 /* We use char because int might match the return type of a gcc2
44943 builtin and then its argument prototype would still apply. */
44944 char $ac_func ();
44945 /* The GNU C library defines this for functions which it implements
44946 to always fail with ENOSYS. Some functions are actually named
44947 something starting with __ and the normal name is an alias. */
44948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44949 choke me
44950 #else
44951 char (*f) () = $ac_func;
44952 #endif
44953 #ifdef __cplusplus
44955 #endif
44958 main ()
44960 return f != $ac_func;
44962 return 0;
44964 _ACEOF
44965 rm -f conftest.$ac_objext conftest$ac_exeext
44966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44967 (eval $ac_link) 2>conftest.er1
44968 ac_status=$?
44969 grep -v '^ *+' conftest.er1 >conftest.err
44970 rm -f conftest.er1
44971 cat conftest.err >&5
44972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44973 (exit $ac_status); } &&
44974 { ac_try='test -z "$ac_c_werror_flag"
44975 || test ! -s conftest.err'
44976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44977 (eval $ac_try) 2>&5
44978 ac_status=$?
44979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44980 (exit $ac_status); }; } &&
44981 { ac_try='test -s conftest$ac_exeext'
44982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44983 (eval $ac_try) 2>&5
44984 ac_status=$?
44985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44986 (exit $ac_status); }; }; then
44987 eval "$as_ac_var=yes"
44988 else
44989 echo "$as_me: failed program was:" >&5
44990 sed 's/^/| /' conftest.$ac_ext >&5
44992 eval "$as_ac_var=no"
44994 rm -f conftest.err conftest.$ac_objext \
44995 conftest$ac_exeext conftest.$ac_ext
44997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44999 if test `eval echo '${'$as_ac_var'}'` = yes; then
45000 cat >>confdefs.h <<_ACEOF
45001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45002 _ACEOF
45005 done
45007 else
45009 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
45010 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
45011 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45012 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
45013 echo $ECHO_N "(cached) $ECHO_C" >&6
45014 else
45018 ac_ext=cc
45019 ac_cpp='$CXXCPP $CPPFLAGS'
45020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45024 cat >conftest.$ac_ext <<_ACEOF
45025 /* confdefs.h. */
45026 _ACEOF
45027 cat confdefs.h >>conftest.$ac_ext
45028 cat >>conftest.$ac_ext <<_ACEOF
45029 /* end confdefs.h. */
45030 #include <math.h>
45032 main ()
45034 _frexpl(0, 0);
45036 return 0;
45038 _ACEOF
45039 rm -f conftest.$ac_objext
45040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45041 (eval $ac_compile) 2>conftest.er1
45042 ac_status=$?
45043 grep -v '^ *+' conftest.er1 >conftest.err
45044 rm -f conftest.er1
45045 cat conftest.err >&5
45046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45047 (exit $ac_status); } &&
45048 { ac_try='test -z "$ac_cxx_werror_flag"
45049 || test ! -s conftest.err'
45050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45051 (eval $ac_try) 2>&5
45052 ac_status=$?
45053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45054 (exit $ac_status); }; } &&
45055 { ac_try='test -s conftest.$ac_objext'
45056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45057 (eval $ac_try) 2>&5
45058 ac_status=$?
45059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45060 (exit $ac_status); }; }; then
45061 glibcxx_cv_func__frexpl_use=yes
45062 else
45063 echo "$as_me: failed program was:" >&5
45064 sed 's/^/| /' conftest.$ac_ext >&5
45066 glibcxx_cv_func__frexpl_use=no
45068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45069 ac_ext=c
45070 ac_cpp='$CPP $CPPFLAGS'
45071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45079 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
45080 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
45082 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45084 for ac_func in _frexpl
45086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45087 echo "$as_me:$LINENO: checking for $ac_func" >&5
45088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45089 if eval "test \"\${$as_ac_var+set}\" = set"; then
45090 echo $ECHO_N "(cached) $ECHO_C" >&6
45091 else
45092 if test x$gcc_no_link = xyes; then
45093 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45095 { (exit 1); exit 1; }; }
45097 cat >conftest.$ac_ext <<_ACEOF
45098 /* confdefs.h. */
45099 _ACEOF
45100 cat confdefs.h >>conftest.$ac_ext
45101 cat >>conftest.$ac_ext <<_ACEOF
45102 /* end confdefs.h. */
45103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45105 #define $ac_func innocuous_$ac_func
45107 /* System header to define __stub macros and hopefully few prototypes,
45108 which can conflict with char $ac_func (); below.
45109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45110 <limits.h> exists even on freestanding compilers. */
45112 #ifdef __STDC__
45113 # include <limits.h>
45114 #else
45115 # include <assert.h>
45116 #endif
45118 #undef $ac_func
45120 /* Override any gcc2 internal prototype to avoid an error. */
45121 #ifdef __cplusplus
45122 extern "C"
45124 #endif
45125 /* We use char because int might match the return type of a gcc2
45126 builtin and then its argument prototype would still apply. */
45127 char $ac_func ();
45128 /* The GNU C library defines this for functions which it implements
45129 to always fail with ENOSYS. Some functions are actually named
45130 something starting with __ and the normal name is an alias. */
45131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45132 choke me
45133 #else
45134 char (*f) () = $ac_func;
45135 #endif
45136 #ifdef __cplusplus
45138 #endif
45141 main ()
45143 return f != $ac_func;
45145 return 0;
45147 _ACEOF
45148 rm -f conftest.$ac_objext conftest$ac_exeext
45149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45150 (eval $ac_link) 2>conftest.er1
45151 ac_status=$?
45152 grep -v '^ *+' conftest.er1 >conftest.err
45153 rm -f conftest.er1
45154 cat conftest.err >&5
45155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45156 (exit $ac_status); } &&
45157 { ac_try='test -z "$ac_c_werror_flag"
45158 || test ! -s conftest.err'
45159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45160 (eval $ac_try) 2>&5
45161 ac_status=$?
45162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45163 (exit $ac_status); }; } &&
45164 { ac_try='test -s conftest$ac_exeext'
45165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45166 (eval $ac_try) 2>&5
45167 ac_status=$?
45168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45169 (exit $ac_status); }; }; then
45170 eval "$as_ac_var=yes"
45171 else
45172 echo "$as_me: failed program was:" >&5
45173 sed 's/^/| /' conftest.$ac_ext >&5
45175 eval "$as_ac_var=no"
45177 rm -f conftest.err conftest.$ac_objext \
45178 conftest$ac_exeext conftest.$ac_ext
45180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45182 if test `eval echo '${'$as_ac_var'}'` = yes; then
45183 cat >>confdefs.h <<_ACEOF
45184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45185 _ACEOF
45188 done
45198 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
45199 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
45200 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45201 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
45202 echo $ECHO_N "(cached) $ECHO_C" >&6
45203 else
45207 ac_ext=cc
45208 ac_cpp='$CXXCPP $CPPFLAGS'
45209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45213 cat >conftest.$ac_ext <<_ACEOF
45214 /* confdefs.h. */
45215 _ACEOF
45216 cat confdefs.h >>conftest.$ac_ext
45217 cat >>conftest.$ac_ext <<_ACEOF
45218 /* end confdefs.h. */
45219 #include <math.h>
45221 main ()
45223 hypotl(0, 0);
45225 return 0;
45227 _ACEOF
45228 rm -f conftest.$ac_objext
45229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45230 (eval $ac_compile) 2>conftest.er1
45231 ac_status=$?
45232 grep -v '^ *+' conftest.er1 >conftest.err
45233 rm -f conftest.er1
45234 cat conftest.err >&5
45235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45236 (exit $ac_status); } &&
45237 { ac_try='test -z "$ac_cxx_werror_flag"
45238 || test ! -s conftest.err'
45239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45240 (eval $ac_try) 2>&5
45241 ac_status=$?
45242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45243 (exit $ac_status); }; } &&
45244 { ac_try='test -s conftest.$ac_objext'
45245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45246 (eval $ac_try) 2>&5
45247 ac_status=$?
45248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45249 (exit $ac_status); }; }; then
45250 glibcxx_cv_func_hypotl_use=yes
45251 else
45252 echo "$as_me: failed program was:" >&5
45253 sed 's/^/| /' conftest.$ac_ext >&5
45255 glibcxx_cv_func_hypotl_use=no
45257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45258 ac_ext=c
45259 ac_cpp='$CPP $CPPFLAGS'
45260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45268 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
45269 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
45271 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45273 for ac_func in hypotl
45275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45276 echo "$as_me:$LINENO: checking for $ac_func" >&5
45277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45278 if eval "test \"\${$as_ac_var+set}\" = set"; then
45279 echo $ECHO_N "(cached) $ECHO_C" >&6
45280 else
45281 if test x$gcc_no_link = xyes; then
45282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45284 { (exit 1); exit 1; }; }
45286 cat >conftest.$ac_ext <<_ACEOF
45287 /* confdefs.h. */
45288 _ACEOF
45289 cat confdefs.h >>conftest.$ac_ext
45290 cat >>conftest.$ac_ext <<_ACEOF
45291 /* end confdefs.h. */
45292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45294 #define $ac_func innocuous_$ac_func
45296 /* System header to define __stub macros and hopefully few prototypes,
45297 which can conflict with char $ac_func (); below.
45298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45299 <limits.h> exists even on freestanding compilers. */
45301 #ifdef __STDC__
45302 # include <limits.h>
45303 #else
45304 # include <assert.h>
45305 #endif
45307 #undef $ac_func
45309 /* Override any gcc2 internal prototype to avoid an error. */
45310 #ifdef __cplusplus
45311 extern "C"
45313 #endif
45314 /* We use char because int might match the return type of a gcc2
45315 builtin and then its argument prototype would still apply. */
45316 char $ac_func ();
45317 /* The GNU C library defines this for functions which it implements
45318 to always fail with ENOSYS. Some functions are actually named
45319 something starting with __ and the normal name is an alias. */
45320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45321 choke me
45322 #else
45323 char (*f) () = $ac_func;
45324 #endif
45325 #ifdef __cplusplus
45327 #endif
45330 main ()
45332 return f != $ac_func;
45334 return 0;
45336 _ACEOF
45337 rm -f conftest.$ac_objext conftest$ac_exeext
45338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45339 (eval $ac_link) 2>conftest.er1
45340 ac_status=$?
45341 grep -v '^ *+' conftest.er1 >conftest.err
45342 rm -f conftest.er1
45343 cat conftest.err >&5
45344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45345 (exit $ac_status); } &&
45346 { ac_try='test -z "$ac_c_werror_flag"
45347 || test ! -s conftest.err'
45348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45349 (eval $ac_try) 2>&5
45350 ac_status=$?
45351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45352 (exit $ac_status); }; } &&
45353 { ac_try='test -s conftest$ac_exeext'
45354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45355 (eval $ac_try) 2>&5
45356 ac_status=$?
45357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45358 (exit $ac_status); }; }; then
45359 eval "$as_ac_var=yes"
45360 else
45361 echo "$as_me: failed program was:" >&5
45362 sed 's/^/| /' conftest.$ac_ext >&5
45364 eval "$as_ac_var=no"
45366 rm -f conftest.err conftest.$ac_objext \
45367 conftest$ac_exeext conftest.$ac_ext
45369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45371 if test `eval echo '${'$as_ac_var'}'` = yes; then
45372 cat >>confdefs.h <<_ACEOF
45373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45374 _ACEOF
45377 done
45379 else
45381 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
45382 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
45383 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45384 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
45385 echo $ECHO_N "(cached) $ECHO_C" >&6
45386 else
45390 ac_ext=cc
45391 ac_cpp='$CXXCPP $CPPFLAGS'
45392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45396 cat >conftest.$ac_ext <<_ACEOF
45397 /* confdefs.h. */
45398 _ACEOF
45399 cat confdefs.h >>conftest.$ac_ext
45400 cat >>conftest.$ac_ext <<_ACEOF
45401 /* end confdefs.h. */
45402 #include <math.h>
45404 main ()
45406 _hypotl(0, 0);
45408 return 0;
45410 _ACEOF
45411 rm -f conftest.$ac_objext
45412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45413 (eval $ac_compile) 2>conftest.er1
45414 ac_status=$?
45415 grep -v '^ *+' conftest.er1 >conftest.err
45416 rm -f conftest.er1
45417 cat conftest.err >&5
45418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45419 (exit $ac_status); } &&
45420 { ac_try='test -z "$ac_cxx_werror_flag"
45421 || test ! -s conftest.err'
45422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45423 (eval $ac_try) 2>&5
45424 ac_status=$?
45425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45426 (exit $ac_status); }; } &&
45427 { ac_try='test -s conftest.$ac_objext'
45428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45429 (eval $ac_try) 2>&5
45430 ac_status=$?
45431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45432 (exit $ac_status); }; }; then
45433 glibcxx_cv_func__hypotl_use=yes
45434 else
45435 echo "$as_me: failed program was:" >&5
45436 sed 's/^/| /' conftest.$ac_ext >&5
45438 glibcxx_cv_func__hypotl_use=no
45440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45441 ac_ext=c
45442 ac_cpp='$CPP $CPPFLAGS'
45443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45451 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
45452 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
45454 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45456 for ac_func in _hypotl
45458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45459 echo "$as_me:$LINENO: checking for $ac_func" >&5
45460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45461 if eval "test \"\${$as_ac_var+set}\" = set"; then
45462 echo $ECHO_N "(cached) $ECHO_C" >&6
45463 else
45464 if test x$gcc_no_link = xyes; then
45465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45467 { (exit 1); exit 1; }; }
45469 cat >conftest.$ac_ext <<_ACEOF
45470 /* confdefs.h. */
45471 _ACEOF
45472 cat confdefs.h >>conftest.$ac_ext
45473 cat >>conftest.$ac_ext <<_ACEOF
45474 /* end confdefs.h. */
45475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45477 #define $ac_func innocuous_$ac_func
45479 /* System header to define __stub macros and hopefully few prototypes,
45480 which can conflict with char $ac_func (); below.
45481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45482 <limits.h> exists even on freestanding compilers. */
45484 #ifdef __STDC__
45485 # include <limits.h>
45486 #else
45487 # include <assert.h>
45488 #endif
45490 #undef $ac_func
45492 /* Override any gcc2 internal prototype to avoid an error. */
45493 #ifdef __cplusplus
45494 extern "C"
45496 #endif
45497 /* We use char because int might match the return type of a gcc2
45498 builtin and then its argument prototype would still apply. */
45499 char $ac_func ();
45500 /* The GNU C library defines this for functions which it implements
45501 to always fail with ENOSYS. Some functions are actually named
45502 something starting with __ and the normal name is an alias. */
45503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45504 choke me
45505 #else
45506 char (*f) () = $ac_func;
45507 #endif
45508 #ifdef __cplusplus
45510 #endif
45513 main ()
45515 return f != $ac_func;
45517 return 0;
45519 _ACEOF
45520 rm -f conftest.$ac_objext conftest$ac_exeext
45521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45522 (eval $ac_link) 2>conftest.er1
45523 ac_status=$?
45524 grep -v '^ *+' conftest.er1 >conftest.err
45525 rm -f conftest.er1
45526 cat conftest.err >&5
45527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45528 (exit $ac_status); } &&
45529 { ac_try='test -z "$ac_c_werror_flag"
45530 || test ! -s conftest.err'
45531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45532 (eval $ac_try) 2>&5
45533 ac_status=$?
45534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45535 (exit $ac_status); }; } &&
45536 { ac_try='test -s conftest$ac_exeext'
45537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45538 (eval $ac_try) 2>&5
45539 ac_status=$?
45540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45541 (exit $ac_status); }; }; then
45542 eval "$as_ac_var=yes"
45543 else
45544 echo "$as_me: failed program was:" >&5
45545 sed 's/^/| /' conftest.$ac_ext >&5
45547 eval "$as_ac_var=no"
45549 rm -f conftest.err conftest.$ac_objext \
45550 conftest$ac_exeext conftest.$ac_ext
45552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45554 if test `eval echo '${'$as_ac_var'}'` = yes; then
45555 cat >>confdefs.h <<_ACEOF
45556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45557 _ACEOF
45560 done
45570 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
45571 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
45572 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45573 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
45574 echo $ECHO_N "(cached) $ECHO_C" >&6
45575 else
45579 ac_ext=cc
45580 ac_cpp='$CXXCPP $CPPFLAGS'
45581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45585 cat >conftest.$ac_ext <<_ACEOF
45586 /* confdefs.h. */
45587 _ACEOF
45588 cat confdefs.h >>conftest.$ac_ext
45589 cat >>conftest.$ac_ext <<_ACEOF
45590 /* end confdefs.h. */
45591 #include <math.h>
45593 main ()
45595 ldexpl(0, 0);
45597 return 0;
45599 _ACEOF
45600 rm -f conftest.$ac_objext
45601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45602 (eval $ac_compile) 2>conftest.er1
45603 ac_status=$?
45604 grep -v '^ *+' conftest.er1 >conftest.err
45605 rm -f conftest.er1
45606 cat conftest.err >&5
45607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45608 (exit $ac_status); } &&
45609 { ac_try='test -z "$ac_cxx_werror_flag"
45610 || test ! -s conftest.err'
45611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45612 (eval $ac_try) 2>&5
45613 ac_status=$?
45614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45615 (exit $ac_status); }; } &&
45616 { ac_try='test -s conftest.$ac_objext'
45617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45618 (eval $ac_try) 2>&5
45619 ac_status=$?
45620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45621 (exit $ac_status); }; }; then
45622 glibcxx_cv_func_ldexpl_use=yes
45623 else
45624 echo "$as_me: failed program was:" >&5
45625 sed 's/^/| /' conftest.$ac_ext >&5
45627 glibcxx_cv_func_ldexpl_use=no
45629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45630 ac_ext=c
45631 ac_cpp='$CPP $CPPFLAGS'
45632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45640 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
45641 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
45643 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45645 for ac_func in ldexpl
45647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45648 echo "$as_me:$LINENO: checking for $ac_func" >&5
45649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45650 if eval "test \"\${$as_ac_var+set}\" = set"; then
45651 echo $ECHO_N "(cached) $ECHO_C" >&6
45652 else
45653 if test x$gcc_no_link = xyes; then
45654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45656 { (exit 1); exit 1; }; }
45658 cat >conftest.$ac_ext <<_ACEOF
45659 /* confdefs.h. */
45660 _ACEOF
45661 cat confdefs.h >>conftest.$ac_ext
45662 cat >>conftest.$ac_ext <<_ACEOF
45663 /* end confdefs.h. */
45664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45666 #define $ac_func innocuous_$ac_func
45668 /* System header to define __stub macros and hopefully few prototypes,
45669 which can conflict with char $ac_func (); below.
45670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45671 <limits.h> exists even on freestanding compilers. */
45673 #ifdef __STDC__
45674 # include <limits.h>
45675 #else
45676 # include <assert.h>
45677 #endif
45679 #undef $ac_func
45681 /* Override any gcc2 internal prototype to avoid an error. */
45682 #ifdef __cplusplus
45683 extern "C"
45685 #endif
45686 /* We use char because int might match the return type of a gcc2
45687 builtin and then its argument prototype would still apply. */
45688 char $ac_func ();
45689 /* The GNU C library defines this for functions which it implements
45690 to always fail with ENOSYS. Some functions are actually named
45691 something starting with __ and the normal name is an alias. */
45692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45693 choke me
45694 #else
45695 char (*f) () = $ac_func;
45696 #endif
45697 #ifdef __cplusplus
45699 #endif
45702 main ()
45704 return f != $ac_func;
45706 return 0;
45708 _ACEOF
45709 rm -f conftest.$ac_objext conftest$ac_exeext
45710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45711 (eval $ac_link) 2>conftest.er1
45712 ac_status=$?
45713 grep -v '^ *+' conftest.er1 >conftest.err
45714 rm -f conftest.er1
45715 cat conftest.err >&5
45716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45717 (exit $ac_status); } &&
45718 { ac_try='test -z "$ac_c_werror_flag"
45719 || test ! -s conftest.err'
45720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45721 (eval $ac_try) 2>&5
45722 ac_status=$?
45723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45724 (exit $ac_status); }; } &&
45725 { ac_try='test -s conftest$ac_exeext'
45726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45727 (eval $ac_try) 2>&5
45728 ac_status=$?
45729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45730 (exit $ac_status); }; }; then
45731 eval "$as_ac_var=yes"
45732 else
45733 echo "$as_me: failed program was:" >&5
45734 sed 's/^/| /' conftest.$ac_ext >&5
45736 eval "$as_ac_var=no"
45738 rm -f conftest.err conftest.$ac_objext \
45739 conftest$ac_exeext conftest.$ac_ext
45741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45743 if test `eval echo '${'$as_ac_var'}'` = yes; then
45744 cat >>confdefs.h <<_ACEOF
45745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45746 _ACEOF
45749 done
45751 else
45753 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
45754 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
45755 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45756 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
45757 echo $ECHO_N "(cached) $ECHO_C" >&6
45758 else
45762 ac_ext=cc
45763 ac_cpp='$CXXCPP $CPPFLAGS'
45764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45768 cat >conftest.$ac_ext <<_ACEOF
45769 /* confdefs.h. */
45770 _ACEOF
45771 cat confdefs.h >>conftest.$ac_ext
45772 cat >>conftest.$ac_ext <<_ACEOF
45773 /* end confdefs.h. */
45774 #include <math.h>
45776 main ()
45778 _ldexpl(0, 0);
45780 return 0;
45782 _ACEOF
45783 rm -f conftest.$ac_objext
45784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45785 (eval $ac_compile) 2>conftest.er1
45786 ac_status=$?
45787 grep -v '^ *+' conftest.er1 >conftest.err
45788 rm -f conftest.er1
45789 cat conftest.err >&5
45790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45791 (exit $ac_status); } &&
45792 { ac_try='test -z "$ac_cxx_werror_flag"
45793 || test ! -s conftest.err'
45794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45795 (eval $ac_try) 2>&5
45796 ac_status=$?
45797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45798 (exit $ac_status); }; } &&
45799 { ac_try='test -s conftest.$ac_objext'
45800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45801 (eval $ac_try) 2>&5
45802 ac_status=$?
45803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45804 (exit $ac_status); }; }; then
45805 glibcxx_cv_func__ldexpl_use=yes
45806 else
45807 echo "$as_me: failed program was:" >&5
45808 sed 's/^/| /' conftest.$ac_ext >&5
45810 glibcxx_cv_func__ldexpl_use=no
45812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45813 ac_ext=c
45814 ac_cpp='$CPP $CPPFLAGS'
45815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45823 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
45824 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
45826 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45828 for ac_func in _ldexpl
45830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45831 echo "$as_me:$LINENO: checking for $ac_func" >&5
45832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45833 if eval "test \"\${$as_ac_var+set}\" = set"; then
45834 echo $ECHO_N "(cached) $ECHO_C" >&6
45835 else
45836 if test x$gcc_no_link = xyes; then
45837 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45839 { (exit 1); exit 1; }; }
45841 cat >conftest.$ac_ext <<_ACEOF
45842 /* confdefs.h. */
45843 _ACEOF
45844 cat confdefs.h >>conftest.$ac_ext
45845 cat >>conftest.$ac_ext <<_ACEOF
45846 /* end confdefs.h. */
45847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45849 #define $ac_func innocuous_$ac_func
45851 /* System header to define __stub macros and hopefully few prototypes,
45852 which can conflict with char $ac_func (); below.
45853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45854 <limits.h> exists even on freestanding compilers. */
45856 #ifdef __STDC__
45857 # include <limits.h>
45858 #else
45859 # include <assert.h>
45860 #endif
45862 #undef $ac_func
45864 /* Override any gcc2 internal prototype to avoid an error. */
45865 #ifdef __cplusplus
45866 extern "C"
45868 #endif
45869 /* We use char because int might match the return type of a gcc2
45870 builtin and then its argument prototype would still apply. */
45871 char $ac_func ();
45872 /* The GNU C library defines this for functions which it implements
45873 to always fail with ENOSYS. Some functions are actually named
45874 something starting with __ and the normal name is an alias. */
45875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45876 choke me
45877 #else
45878 char (*f) () = $ac_func;
45879 #endif
45880 #ifdef __cplusplus
45882 #endif
45885 main ()
45887 return f != $ac_func;
45889 return 0;
45891 _ACEOF
45892 rm -f conftest.$ac_objext conftest$ac_exeext
45893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45894 (eval $ac_link) 2>conftest.er1
45895 ac_status=$?
45896 grep -v '^ *+' conftest.er1 >conftest.err
45897 rm -f conftest.er1
45898 cat conftest.err >&5
45899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45900 (exit $ac_status); } &&
45901 { ac_try='test -z "$ac_c_werror_flag"
45902 || test ! -s conftest.err'
45903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45904 (eval $ac_try) 2>&5
45905 ac_status=$?
45906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45907 (exit $ac_status); }; } &&
45908 { ac_try='test -s conftest$ac_exeext'
45909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45910 (eval $ac_try) 2>&5
45911 ac_status=$?
45912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45913 (exit $ac_status); }; }; then
45914 eval "$as_ac_var=yes"
45915 else
45916 echo "$as_me: failed program was:" >&5
45917 sed 's/^/| /' conftest.$ac_ext >&5
45919 eval "$as_ac_var=no"
45921 rm -f conftest.err conftest.$ac_objext \
45922 conftest$ac_exeext conftest.$ac_ext
45924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45926 if test `eval echo '${'$as_ac_var'}'` = yes; then
45927 cat >>confdefs.h <<_ACEOF
45928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45929 _ACEOF
45932 done
45942 echo "$as_me:$LINENO: checking for logl declaration" >&5
45943 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
45944 if test x${glibcxx_cv_func_logl_use+set} != xset; then
45945 if test "${glibcxx_cv_func_logl_use+set}" = set; then
45946 echo $ECHO_N "(cached) $ECHO_C" >&6
45947 else
45951 ac_ext=cc
45952 ac_cpp='$CXXCPP $CPPFLAGS'
45953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45957 cat >conftest.$ac_ext <<_ACEOF
45958 /* confdefs.h. */
45959 _ACEOF
45960 cat confdefs.h >>conftest.$ac_ext
45961 cat >>conftest.$ac_ext <<_ACEOF
45962 /* end confdefs.h. */
45963 #include <math.h>
45964 #ifdef HAVE_IEEEFP_H
45965 #include <ieeefp.h>
45966 #endif
45969 main ()
45971 logl(0);
45973 return 0;
45975 _ACEOF
45976 rm -f conftest.$ac_objext
45977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45978 (eval $ac_compile) 2>conftest.er1
45979 ac_status=$?
45980 grep -v '^ *+' conftest.er1 >conftest.err
45981 rm -f conftest.er1
45982 cat conftest.err >&5
45983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45984 (exit $ac_status); } &&
45985 { ac_try='test -z "$ac_cxx_werror_flag"
45986 || test ! -s conftest.err'
45987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45988 (eval $ac_try) 2>&5
45989 ac_status=$?
45990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45991 (exit $ac_status); }; } &&
45992 { ac_try='test -s conftest.$ac_objext'
45993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45994 (eval $ac_try) 2>&5
45995 ac_status=$?
45996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45997 (exit $ac_status); }; }; then
45998 glibcxx_cv_func_logl_use=yes
45999 else
46000 echo "$as_me: failed program was:" >&5
46001 sed 's/^/| /' conftest.$ac_ext >&5
46003 glibcxx_cv_func_logl_use=no
46005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46006 ac_ext=c
46007 ac_cpp='$CPP $CPPFLAGS'
46008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46016 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
46017 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
46019 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46021 for ac_func in logl
46023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46024 echo "$as_me:$LINENO: checking for $ac_func" >&5
46025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46026 if eval "test \"\${$as_ac_var+set}\" = set"; then
46027 echo $ECHO_N "(cached) $ECHO_C" >&6
46028 else
46029 if test x$gcc_no_link = xyes; then
46030 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46032 { (exit 1); exit 1; }; }
46034 cat >conftest.$ac_ext <<_ACEOF
46035 /* confdefs.h. */
46036 _ACEOF
46037 cat confdefs.h >>conftest.$ac_ext
46038 cat >>conftest.$ac_ext <<_ACEOF
46039 /* end confdefs.h. */
46040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46042 #define $ac_func innocuous_$ac_func
46044 /* System header to define __stub macros and hopefully few prototypes,
46045 which can conflict with char $ac_func (); below.
46046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46047 <limits.h> exists even on freestanding compilers. */
46049 #ifdef __STDC__
46050 # include <limits.h>
46051 #else
46052 # include <assert.h>
46053 #endif
46055 #undef $ac_func
46057 /* Override any gcc2 internal prototype to avoid an error. */
46058 #ifdef __cplusplus
46059 extern "C"
46061 #endif
46062 /* We use char because int might match the return type of a gcc2
46063 builtin and then its argument prototype would still apply. */
46064 char $ac_func ();
46065 /* The GNU C library defines this for functions which it implements
46066 to always fail with ENOSYS. Some functions are actually named
46067 something starting with __ and the normal name is an alias. */
46068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46069 choke me
46070 #else
46071 char (*f) () = $ac_func;
46072 #endif
46073 #ifdef __cplusplus
46075 #endif
46078 main ()
46080 return f != $ac_func;
46082 return 0;
46084 _ACEOF
46085 rm -f conftest.$ac_objext conftest$ac_exeext
46086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46087 (eval $ac_link) 2>conftest.er1
46088 ac_status=$?
46089 grep -v '^ *+' conftest.er1 >conftest.err
46090 rm -f conftest.er1
46091 cat conftest.err >&5
46092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46093 (exit $ac_status); } &&
46094 { ac_try='test -z "$ac_c_werror_flag"
46095 || test ! -s conftest.err'
46096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46097 (eval $ac_try) 2>&5
46098 ac_status=$?
46099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46100 (exit $ac_status); }; } &&
46101 { ac_try='test -s conftest$ac_exeext'
46102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46103 (eval $ac_try) 2>&5
46104 ac_status=$?
46105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46106 (exit $ac_status); }; }; then
46107 eval "$as_ac_var=yes"
46108 else
46109 echo "$as_me: failed program was:" >&5
46110 sed 's/^/| /' conftest.$ac_ext >&5
46112 eval "$as_ac_var=no"
46114 rm -f conftest.err conftest.$ac_objext \
46115 conftest$ac_exeext conftest.$ac_ext
46117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46119 if test `eval echo '${'$as_ac_var'}'` = yes; then
46120 cat >>confdefs.h <<_ACEOF
46121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46122 _ACEOF
46125 done
46127 else
46129 echo "$as_me:$LINENO: checking for _logl declaration" >&5
46130 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
46131 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46132 if test "${glibcxx_cv_func__logl_use+set}" = set; then
46133 echo $ECHO_N "(cached) $ECHO_C" >&6
46134 else
46138 ac_ext=cc
46139 ac_cpp='$CXXCPP $CPPFLAGS'
46140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46144 cat >conftest.$ac_ext <<_ACEOF
46145 /* confdefs.h. */
46146 _ACEOF
46147 cat confdefs.h >>conftest.$ac_ext
46148 cat >>conftest.$ac_ext <<_ACEOF
46149 /* end confdefs.h. */
46150 #include <math.h>
46151 #ifdef HAVE_IEEEFP_H
46152 #include <ieeefp.h>
46153 #endif
46156 main ()
46158 _logl(0);
46160 return 0;
46162 _ACEOF
46163 rm -f conftest.$ac_objext
46164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46165 (eval $ac_compile) 2>conftest.er1
46166 ac_status=$?
46167 grep -v '^ *+' conftest.er1 >conftest.err
46168 rm -f conftest.er1
46169 cat conftest.err >&5
46170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46171 (exit $ac_status); } &&
46172 { ac_try='test -z "$ac_cxx_werror_flag"
46173 || test ! -s conftest.err'
46174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46175 (eval $ac_try) 2>&5
46176 ac_status=$?
46177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46178 (exit $ac_status); }; } &&
46179 { ac_try='test -s conftest.$ac_objext'
46180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46181 (eval $ac_try) 2>&5
46182 ac_status=$?
46183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46184 (exit $ac_status); }; }; then
46185 glibcxx_cv_func__logl_use=yes
46186 else
46187 echo "$as_me: failed program was:" >&5
46188 sed 's/^/| /' conftest.$ac_ext >&5
46190 glibcxx_cv_func__logl_use=no
46192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46193 ac_ext=c
46194 ac_cpp='$CPP $CPPFLAGS'
46195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46203 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
46204 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
46206 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46208 for ac_func in _logl
46210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46211 echo "$as_me:$LINENO: checking for $ac_func" >&5
46212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46213 if eval "test \"\${$as_ac_var+set}\" = set"; then
46214 echo $ECHO_N "(cached) $ECHO_C" >&6
46215 else
46216 if test x$gcc_no_link = xyes; then
46217 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46219 { (exit 1); exit 1; }; }
46221 cat >conftest.$ac_ext <<_ACEOF
46222 /* confdefs.h. */
46223 _ACEOF
46224 cat confdefs.h >>conftest.$ac_ext
46225 cat >>conftest.$ac_ext <<_ACEOF
46226 /* end confdefs.h. */
46227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46229 #define $ac_func innocuous_$ac_func
46231 /* System header to define __stub macros and hopefully few prototypes,
46232 which can conflict with char $ac_func (); below.
46233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46234 <limits.h> exists even on freestanding compilers. */
46236 #ifdef __STDC__
46237 # include <limits.h>
46238 #else
46239 # include <assert.h>
46240 #endif
46242 #undef $ac_func
46244 /* Override any gcc2 internal prototype to avoid an error. */
46245 #ifdef __cplusplus
46246 extern "C"
46248 #endif
46249 /* We use char because int might match the return type of a gcc2
46250 builtin and then its argument prototype would still apply. */
46251 char $ac_func ();
46252 /* The GNU C library defines this for functions which it implements
46253 to always fail with ENOSYS. Some functions are actually named
46254 something starting with __ and the normal name is an alias. */
46255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46256 choke me
46257 #else
46258 char (*f) () = $ac_func;
46259 #endif
46260 #ifdef __cplusplus
46262 #endif
46265 main ()
46267 return f != $ac_func;
46269 return 0;
46271 _ACEOF
46272 rm -f conftest.$ac_objext conftest$ac_exeext
46273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46274 (eval $ac_link) 2>conftest.er1
46275 ac_status=$?
46276 grep -v '^ *+' conftest.er1 >conftest.err
46277 rm -f conftest.er1
46278 cat conftest.err >&5
46279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46280 (exit $ac_status); } &&
46281 { ac_try='test -z "$ac_c_werror_flag"
46282 || test ! -s conftest.err'
46283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46284 (eval $ac_try) 2>&5
46285 ac_status=$?
46286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46287 (exit $ac_status); }; } &&
46288 { ac_try='test -s conftest$ac_exeext'
46289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46290 (eval $ac_try) 2>&5
46291 ac_status=$?
46292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46293 (exit $ac_status); }; }; then
46294 eval "$as_ac_var=yes"
46295 else
46296 echo "$as_me: failed program was:" >&5
46297 sed 's/^/| /' conftest.$ac_ext >&5
46299 eval "$as_ac_var=no"
46301 rm -f conftest.err conftest.$ac_objext \
46302 conftest$ac_exeext conftest.$ac_ext
46304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46306 if test `eval echo '${'$as_ac_var'}'` = yes; then
46307 cat >>confdefs.h <<_ACEOF
46308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46309 _ACEOF
46312 done
46322 echo "$as_me:$LINENO: checking for log10l declaration" >&5
46323 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
46324 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46325 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
46326 echo $ECHO_N "(cached) $ECHO_C" >&6
46327 else
46331 ac_ext=cc
46332 ac_cpp='$CXXCPP $CPPFLAGS'
46333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46337 cat >conftest.$ac_ext <<_ACEOF
46338 /* confdefs.h. */
46339 _ACEOF
46340 cat confdefs.h >>conftest.$ac_ext
46341 cat >>conftest.$ac_ext <<_ACEOF
46342 /* end confdefs.h. */
46343 #include <math.h>
46344 #ifdef HAVE_IEEEFP_H
46345 #include <ieeefp.h>
46346 #endif
46349 main ()
46351 log10l(0);
46353 return 0;
46355 _ACEOF
46356 rm -f conftest.$ac_objext
46357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46358 (eval $ac_compile) 2>conftest.er1
46359 ac_status=$?
46360 grep -v '^ *+' conftest.er1 >conftest.err
46361 rm -f conftest.er1
46362 cat conftest.err >&5
46363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46364 (exit $ac_status); } &&
46365 { ac_try='test -z "$ac_cxx_werror_flag"
46366 || test ! -s conftest.err'
46367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46368 (eval $ac_try) 2>&5
46369 ac_status=$?
46370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46371 (exit $ac_status); }; } &&
46372 { ac_try='test -s conftest.$ac_objext'
46373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46374 (eval $ac_try) 2>&5
46375 ac_status=$?
46376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46377 (exit $ac_status); }; }; then
46378 glibcxx_cv_func_log10l_use=yes
46379 else
46380 echo "$as_me: failed program was:" >&5
46381 sed 's/^/| /' conftest.$ac_ext >&5
46383 glibcxx_cv_func_log10l_use=no
46385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46386 ac_ext=c
46387 ac_cpp='$CPP $CPPFLAGS'
46388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46396 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
46397 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
46399 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46401 for ac_func in log10l
46403 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46404 echo "$as_me:$LINENO: checking for $ac_func" >&5
46405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46406 if eval "test \"\${$as_ac_var+set}\" = set"; then
46407 echo $ECHO_N "(cached) $ECHO_C" >&6
46408 else
46409 if test x$gcc_no_link = xyes; then
46410 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46412 { (exit 1); exit 1; }; }
46414 cat >conftest.$ac_ext <<_ACEOF
46415 /* confdefs.h. */
46416 _ACEOF
46417 cat confdefs.h >>conftest.$ac_ext
46418 cat >>conftest.$ac_ext <<_ACEOF
46419 /* end confdefs.h. */
46420 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46421 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46422 #define $ac_func innocuous_$ac_func
46424 /* System header to define __stub macros and hopefully few prototypes,
46425 which can conflict with char $ac_func (); below.
46426 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46427 <limits.h> exists even on freestanding compilers. */
46429 #ifdef __STDC__
46430 # include <limits.h>
46431 #else
46432 # include <assert.h>
46433 #endif
46435 #undef $ac_func
46437 /* Override any gcc2 internal prototype to avoid an error. */
46438 #ifdef __cplusplus
46439 extern "C"
46441 #endif
46442 /* We use char because int might match the return type of a gcc2
46443 builtin and then its argument prototype would still apply. */
46444 char $ac_func ();
46445 /* The GNU C library defines this for functions which it implements
46446 to always fail with ENOSYS. Some functions are actually named
46447 something starting with __ and the normal name is an alias. */
46448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46449 choke me
46450 #else
46451 char (*f) () = $ac_func;
46452 #endif
46453 #ifdef __cplusplus
46455 #endif
46458 main ()
46460 return f != $ac_func;
46462 return 0;
46464 _ACEOF
46465 rm -f conftest.$ac_objext conftest$ac_exeext
46466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46467 (eval $ac_link) 2>conftest.er1
46468 ac_status=$?
46469 grep -v '^ *+' conftest.er1 >conftest.err
46470 rm -f conftest.er1
46471 cat conftest.err >&5
46472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46473 (exit $ac_status); } &&
46474 { ac_try='test -z "$ac_c_werror_flag"
46475 || test ! -s conftest.err'
46476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46477 (eval $ac_try) 2>&5
46478 ac_status=$?
46479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46480 (exit $ac_status); }; } &&
46481 { ac_try='test -s conftest$ac_exeext'
46482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46483 (eval $ac_try) 2>&5
46484 ac_status=$?
46485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46486 (exit $ac_status); }; }; then
46487 eval "$as_ac_var=yes"
46488 else
46489 echo "$as_me: failed program was:" >&5
46490 sed 's/^/| /' conftest.$ac_ext >&5
46492 eval "$as_ac_var=no"
46494 rm -f conftest.err conftest.$ac_objext \
46495 conftest$ac_exeext conftest.$ac_ext
46497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46499 if test `eval echo '${'$as_ac_var'}'` = yes; then
46500 cat >>confdefs.h <<_ACEOF
46501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46502 _ACEOF
46505 done
46507 else
46509 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
46510 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
46511 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46512 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
46513 echo $ECHO_N "(cached) $ECHO_C" >&6
46514 else
46518 ac_ext=cc
46519 ac_cpp='$CXXCPP $CPPFLAGS'
46520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46524 cat >conftest.$ac_ext <<_ACEOF
46525 /* confdefs.h. */
46526 _ACEOF
46527 cat confdefs.h >>conftest.$ac_ext
46528 cat >>conftest.$ac_ext <<_ACEOF
46529 /* end confdefs.h. */
46530 #include <math.h>
46531 #ifdef HAVE_IEEEFP_H
46532 #include <ieeefp.h>
46533 #endif
46536 main ()
46538 _log10l(0);
46540 return 0;
46542 _ACEOF
46543 rm -f conftest.$ac_objext
46544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46545 (eval $ac_compile) 2>conftest.er1
46546 ac_status=$?
46547 grep -v '^ *+' conftest.er1 >conftest.err
46548 rm -f conftest.er1
46549 cat conftest.err >&5
46550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46551 (exit $ac_status); } &&
46552 { ac_try='test -z "$ac_cxx_werror_flag"
46553 || test ! -s conftest.err'
46554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46555 (eval $ac_try) 2>&5
46556 ac_status=$?
46557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46558 (exit $ac_status); }; } &&
46559 { ac_try='test -s conftest.$ac_objext'
46560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46561 (eval $ac_try) 2>&5
46562 ac_status=$?
46563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46564 (exit $ac_status); }; }; then
46565 glibcxx_cv_func__log10l_use=yes
46566 else
46567 echo "$as_me: failed program was:" >&5
46568 sed 's/^/| /' conftest.$ac_ext >&5
46570 glibcxx_cv_func__log10l_use=no
46572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46573 ac_ext=c
46574 ac_cpp='$CPP $CPPFLAGS'
46575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46583 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
46584 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
46586 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46588 for ac_func in _log10l
46590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46591 echo "$as_me:$LINENO: checking for $ac_func" >&5
46592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46593 if eval "test \"\${$as_ac_var+set}\" = set"; then
46594 echo $ECHO_N "(cached) $ECHO_C" >&6
46595 else
46596 if test x$gcc_no_link = xyes; then
46597 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46599 { (exit 1); exit 1; }; }
46601 cat >conftest.$ac_ext <<_ACEOF
46602 /* confdefs.h. */
46603 _ACEOF
46604 cat confdefs.h >>conftest.$ac_ext
46605 cat >>conftest.$ac_ext <<_ACEOF
46606 /* end confdefs.h. */
46607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46609 #define $ac_func innocuous_$ac_func
46611 /* System header to define __stub macros and hopefully few prototypes,
46612 which can conflict with char $ac_func (); below.
46613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46614 <limits.h> exists even on freestanding compilers. */
46616 #ifdef __STDC__
46617 # include <limits.h>
46618 #else
46619 # include <assert.h>
46620 #endif
46622 #undef $ac_func
46624 /* Override any gcc2 internal prototype to avoid an error. */
46625 #ifdef __cplusplus
46626 extern "C"
46628 #endif
46629 /* We use char because int might match the return type of a gcc2
46630 builtin and then its argument prototype would still apply. */
46631 char $ac_func ();
46632 /* The GNU C library defines this for functions which it implements
46633 to always fail with ENOSYS. Some functions are actually named
46634 something starting with __ and the normal name is an alias. */
46635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46636 choke me
46637 #else
46638 char (*f) () = $ac_func;
46639 #endif
46640 #ifdef __cplusplus
46642 #endif
46645 main ()
46647 return f != $ac_func;
46649 return 0;
46651 _ACEOF
46652 rm -f conftest.$ac_objext conftest$ac_exeext
46653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46654 (eval $ac_link) 2>conftest.er1
46655 ac_status=$?
46656 grep -v '^ *+' conftest.er1 >conftest.err
46657 rm -f conftest.er1
46658 cat conftest.err >&5
46659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46660 (exit $ac_status); } &&
46661 { ac_try='test -z "$ac_c_werror_flag"
46662 || test ! -s conftest.err'
46663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46664 (eval $ac_try) 2>&5
46665 ac_status=$?
46666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46667 (exit $ac_status); }; } &&
46668 { ac_try='test -s conftest$ac_exeext'
46669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46670 (eval $ac_try) 2>&5
46671 ac_status=$?
46672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46673 (exit $ac_status); }; }; then
46674 eval "$as_ac_var=yes"
46675 else
46676 echo "$as_me: failed program was:" >&5
46677 sed 's/^/| /' conftest.$ac_ext >&5
46679 eval "$as_ac_var=no"
46681 rm -f conftest.err conftest.$ac_objext \
46682 conftest$ac_exeext conftest.$ac_ext
46684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46686 if test `eval echo '${'$as_ac_var'}'` = yes; then
46687 cat >>confdefs.h <<_ACEOF
46688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46689 _ACEOF
46692 done
46702 echo "$as_me:$LINENO: checking for modfl declaration" >&5
46703 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
46704 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46705 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
46706 echo $ECHO_N "(cached) $ECHO_C" >&6
46707 else
46711 ac_ext=cc
46712 ac_cpp='$CXXCPP $CPPFLAGS'
46713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46717 cat >conftest.$ac_ext <<_ACEOF
46718 /* confdefs.h. */
46719 _ACEOF
46720 cat confdefs.h >>conftest.$ac_ext
46721 cat >>conftest.$ac_ext <<_ACEOF
46722 /* end confdefs.h. */
46723 #include <math.h>
46725 main ()
46727 modfl(0, 0);
46729 return 0;
46731 _ACEOF
46732 rm -f conftest.$ac_objext
46733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46734 (eval $ac_compile) 2>conftest.er1
46735 ac_status=$?
46736 grep -v '^ *+' conftest.er1 >conftest.err
46737 rm -f conftest.er1
46738 cat conftest.err >&5
46739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46740 (exit $ac_status); } &&
46741 { ac_try='test -z "$ac_cxx_werror_flag"
46742 || test ! -s conftest.err'
46743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46744 (eval $ac_try) 2>&5
46745 ac_status=$?
46746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46747 (exit $ac_status); }; } &&
46748 { ac_try='test -s conftest.$ac_objext'
46749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46750 (eval $ac_try) 2>&5
46751 ac_status=$?
46752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46753 (exit $ac_status); }; }; then
46754 glibcxx_cv_func_modfl_use=yes
46755 else
46756 echo "$as_me: failed program was:" >&5
46757 sed 's/^/| /' conftest.$ac_ext >&5
46759 glibcxx_cv_func_modfl_use=no
46761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46762 ac_ext=c
46763 ac_cpp='$CPP $CPPFLAGS'
46764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46772 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
46773 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
46775 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46777 for ac_func in modfl
46779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46780 echo "$as_me:$LINENO: checking for $ac_func" >&5
46781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46782 if eval "test \"\${$as_ac_var+set}\" = set"; then
46783 echo $ECHO_N "(cached) $ECHO_C" >&6
46784 else
46785 if test x$gcc_no_link = xyes; then
46786 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46788 { (exit 1); exit 1; }; }
46790 cat >conftest.$ac_ext <<_ACEOF
46791 /* confdefs.h. */
46792 _ACEOF
46793 cat confdefs.h >>conftest.$ac_ext
46794 cat >>conftest.$ac_ext <<_ACEOF
46795 /* end confdefs.h. */
46796 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46798 #define $ac_func innocuous_$ac_func
46800 /* System header to define __stub macros and hopefully few prototypes,
46801 which can conflict with char $ac_func (); below.
46802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46803 <limits.h> exists even on freestanding compilers. */
46805 #ifdef __STDC__
46806 # include <limits.h>
46807 #else
46808 # include <assert.h>
46809 #endif
46811 #undef $ac_func
46813 /* Override any gcc2 internal prototype to avoid an error. */
46814 #ifdef __cplusplus
46815 extern "C"
46817 #endif
46818 /* We use char because int might match the return type of a gcc2
46819 builtin and then its argument prototype would still apply. */
46820 char $ac_func ();
46821 /* The GNU C library defines this for functions which it implements
46822 to always fail with ENOSYS. Some functions are actually named
46823 something starting with __ and the normal name is an alias. */
46824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46825 choke me
46826 #else
46827 char (*f) () = $ac_func;
46828 #endif
46829 #ifdef __cplusplus
46831 #endif
46834 main ()
46836 return f != $ac_func;
46838 return 0;
46840 _ACEOF
46841 rm -f conftest.$ac_objext conftest$ac_exeext
46842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46843 (eval $ac_link) 2>conftest.er1
46844 ac_status=$?
46845 grep -v '^ *+' conftest.er1 >conftest.err
46846 rm -f conftest.er1
46847 cat conftest.err >&5
46848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46849 (exit $ac_status); } &&
46850 { ac_try='test -z "$ac_c_werror_flag"
46851 || test ! -s conftest.err'
46852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46853 (eval $ac_try) 2>&5
46854 ac_status=$?
46855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46856 (exit $ac_status); }; } &&
46857 { ac_try='test -s conftest$ac_exeext'
46858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46859 (eval $ac_try) 2>&5
46860 ac_status=$?
46861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46862 (exit $ac_status); }; }; then
46863 eval "$as_ac_var=yes"
46864 else
46865 echo "$as_me: failed program was:" >&5
46866 sed 's/^/| /' conftest.$ac_ext >&5
46868 eval "$as_ac_var=no"
46870 rm -f conftest.err conftest.$ac_objext \
46871 conftest$ac_exeext conftest.$ac_ext
46873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46874 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46875 if test `eval echo '${'$as_ac_var'}'` = yes; then
46876 cat >>confdefs.h <<_ACEOF
46877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46878 _ACEOF
46881 done
46883 else
46885 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
46886 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
46887 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46888 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
46889 echo $ECHO_N "(cached) $ECHO_C" >&6
46890 else
46894 ac_ext=cc
46895 ac_cpp='$CXXCPP $CPPFLAGS'
46896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46900 cat >conftest.$ac_ext <<_ACEOF
46901 /* confdefs.h. */
46902 _ACEOF
46903 cat confdefs.h >>conftest.$ac_ext
46904 cat >>conftest.$ac_ext <<_ACEOF
46905 /* end confdefs.h. */
46906 #include <math.h>
46908 main ()
46910 _modfl(0, 0);
46912 return 0;
46914 _ACEOF
46915 rm -f conftest.$ac_objext
46916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46917 (eval $ac_compile) 2>conftest.er1
46918 ac_status=$?
46919 grep -v '^ *+' conftest.er1 >conftest.err
46920 rm -f conftest.er1
46921 cat conftest.err >&5
46922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46923 (exit $ac_status); } &&
46924 { ac_try='test -z "$ac_cxx_werror_flag"
46925 || test ! -s conftest.err'
46926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46927 (eval $ac_try) 2>&5
46928 ac_status=$?
46929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46930 (exit $ac_status); }; } &&
46931 { ac_try='test -s conftest.$ac_objext'
46932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46933 (eval $ac_try) 2>&5
46934 ac_status=$?
46935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46936 (exit $ac_status); }; }; then
46937 glibcxx_cv_func__modfl_use=yes
46938 else
46939 echo "$as_me: failed program was:" >&5
46940 sed 's/^/| /' conftest.$ac_ext >&5
46942 glibcxx_cv_func__modfl_use=no
46944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46945 ac_ext=c
46946 ac_cpp='$CPP $CPPFLAGS'
46947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46955 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
46956 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
46958 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46960 for ac_func in _modfl
46962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46963 echo "$as_me:$LINENO: checking for $ac_func" >&5
46964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46965 if eval "test \"\${$as_ac_var+set}\" = set"; then
46966 echo $ECHO_N "(cached) $ECHO_C" >&6
46967 else
46968 if test x$gcc_no_link = xyes; then
46969 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46971 { (exit 1); exit 1; }; }
46973 cat >conftest.$ac_ext <<_ACEOF
46974 /* confdefs.h. */
46975 _ACEOF
46976 cat confdefs.h >>conftest.$ac_ext
46977 cat >>conftest.$ac_ext <<_ACEOF
46978 /* end confdefs.h. */
46979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46980 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46981 #define $ac_func innocuous_$ac_func
46983 /* System header to define __stub macros and hopefully few prototypes,
46984 which can conflict with char $ac_func (); below.
46985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46986 <limits.h> exists even on freestanding compilers. */
46988 #ifdef __STDC__
46989 # include <limits.h>
46990 #else
46991 # include <assert.h>
46992 #endif
46994 #undef $ac_func
46996 /* Override any gcc2 internal prototype to avoid an error. */
46997 #ifdef __cplusplus
46998 extern "C"
47000 #endif
47001 /* We use char because int might match the return type of a gcc2
47002 builtin and then its argument prototype would still apply. */
47003 char $ac_func ();
47004 /* The GNU C library defines this for functions which it implements
47005 to always fail with ENOSYS. Some functions are actually named
47006 something starting with __ and the normal name is an alias. */
47007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47008 choke me
47009 #else
47010 char (*f) () = $ac_func;
47011 #endif
47012 #ifdef __cplusplus
47014 #endif
47017 main ()
47019 return f != $ac_func;
47021 return 0;
47023 _ACEOF
47024 rm -f conftest.$ac_objext conftest$ac_exeext
47025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47026 (eval $ac_link) 2>conftest.er1
47027 ac_status=$?
47028 grep -v '^ *+' conftest.er1 >conftest.err
47029 rm -f conftest.er1
47030 cat conftest.err >&5
47031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47032 (exit $ac_status); } &&
47033 { ac_try='test -z "$ac_c_werror_flag"
47034 || test ! -s conftest.err'
47035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47036 (eval $ac_try) 2>&5
47037 ac_status=$?
47038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47039 (exit $ac_status); }; } &&
47040 { ac_try='test -s conftest$ac_exeext'
47041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47042 (eval $ac_try) 2>&5
47043 ac_status=$?
47044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47045 (exit $ac_status); }; }; then
47046 eval "$as_ac_var=yes"
47047 else
47048 echo "$as_me: failed program was:" >&5
47049 sed 's/^/| /' conftest.$ac_ext >&5
47051 eval "$as_ac_var=no"
47053 rm -f conftest.err conftest.$ac_objext \
47054 conftest$ac_exeext conftest.$ac_ext
47056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47058 if test `eval echo '${'$as_ac_var'}'` = yes; then
47059 cat >>confdefs.h <<_ACEOF
47060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47061 _ACEOF
47064 done
47074 echo "$as_me:$LINENO: checking for powl declaration" >&5
47075 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
47076 if test x${glibcxx_cv_func_powl_use+set} != xset; then
47077 if test "${glibcxx_cv_func_powl_use+set}" = set; then
47078 echo $ECHO_N "(cached) $ECHO_C" >&6
47079 else
47083 ac_ext=cc
47084 ac_cpp='$CXXCPP $CPPFLAGS'
47085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47089 cat >conftest.$ac_ext <<_ACEOF
47090 /* confdefs.h. */
47091 _ACEOF
47092 cat confdefs.h >>conftest.$ac_ext
47093 cat >>conftest.$ac_ext <<_ACEOF
47094 /* end confdefs.h. */
47095 #include <math.h>
47097 main ()
47099 powl(0, 0);
47101 return 0;
47103 _ACEOF
47104 rm -f conftest.$ac_objext
47105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47106 (eval $ac_compile) 2>conftest.er1
47107 ac_status=$?
47108 grep -v '^ *+' conftest.er1 >conftest.err
47109 rm -f conftest.er1
47110 cat conftest.err >&5
47111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47112 (exit $ac_status); } &&
47113 { ac_try='test -z "$ac_cxx_werror_flag"
47114 || test ! -s conftest.err'
47115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47116 (eval $ac_try) 2>&5
47117 ac_status=$?
47118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47119 (exit $ac_status); }; } &&
47120 { ac_try='test -s conftest.$ac_objext'
47121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47122 (eval $ac_try) 2>&5
47123 ac_status=$?
47124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47125 (exit $ac_status); }; }; then
47126 glibcxx_cv_func_powl_use=yes
47127 else
47128 echo "$as_me: failed program was:" >&5
47129 sed 's/^/| /' conftest.$ac_ext >&5
47131 glibcxx_cv_func_powl_use=no
47133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47134 ac_ext=c
47135 ac_cpp='$CPP $CPPFLAGS'
47136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47144 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
47145 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
47147 if test x$glibcxx_cv_func_powl_use = x"yes"; then
47149 for ac_func in powl
47151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47152 echo "$as_me:$LINENO: checking for $ac_func" >&5
47153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47154 if eval "test \"\${$as_ac_var+set}\" = set"; then
47155 echo $ECHO_N "(cached) $ECHO_C" >&6
47156 else
47157 if test x$gcc_no_link = xyes; then
47158 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47160 { (exit 1); exit 1; }; }
47162 cat >conftest.$ac_ext <<_ACEOF
47163 /* confdefs.h. */
47164 _ACEOF
47165 cat confdefs.h >>conftest.$ac_ext
47166 cat >>conftest.$ac_ext <<_ACEOF
47167 /* end confdefs.h. */
47168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47170 #define $ac_func innocuous_$ac_func
47172 /* System header to define __stub macros and hopefully few prototypes,
47173 which can conflict with char $ac_func (); below.
47174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47175 <limits.h> exists even on freestanding compilers. */
47177 #ifdef __STDC__
47178 # include <limits.h>
47179 #else
47180 # include <assert.h>
47181 #endif
47183 #undef $ac_func
47185 /* Override any gcc2 internal prototype to avoid an error. */
47186 #ifdef __cplusplus
47187 extern "C"
47189 #endif
47190 /* We use char because int might match the return type of a gcc2
47191 builtin and then its argument prototype would still apply. */
47192 char $ac_func ();
47193 /* The GNU C library defines this for functions which it implements
47194 to always fail with ENOSYS. Some functions are actually named
47195 something starting with __ and the normal name is an alias. */
47196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47197 choke me
47198 #else
47199 char (*f) () = $ac_func;
47200 #endif
47201 #ifdef __cplusplus
47203 #endif
47206 main ()
47208 return f != $ac_func;
47210 return 0;
47212 _ACEOF
47213 rm -f conftest.$ac_objext conftest$ac_exeext
47214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47215 (eval $ac_link) 2>conftest.er1
47216 ac_status=$?
47217 grep -v '^ *+' conftest.er1 >conftest.err
47218 rm -f conftest.er1
47219 cat conftest.err >&5
47220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47221 (exit $ac_status); } &&
47222 { ac_try='test -z "$ac_c_werror_flag"
47223 || test ! -s conftest.err'
47224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47225 (eval $ac_try) 2>&5
47226 ac_status=$?
47227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47228 (exit $ac_status); }; } &&
47229 { ac_try='test -s conftest$ac_exeext'
47230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47231 (eval $ac_try) 2>&5
47232 ac_status=$?
47233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47234 (exit $ac_status); }; }; then
47235 eval "$as_ac_var=yes"
47236 else
47237 echo "$as_me: failed program was:" >&5
47238 sed 's/^/| /' conftest.$ac_ext >&5
47240 eval "$as_ac_var=no"
47242 rm -f conftest.err conftest.$ac_objext \
47243 conftest$ac_exeext conftest.$ac_ext
47245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47247 if test `eval echo '${'$as_ac_var'}'` = yes; then
47248 cat >>confdefs.h <<_ACEOF
47249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47250 _ACEOF
47253 done
47255 else
47257 echo "$as_me:$LINENO: checking for _powl declaration" >&5
47258 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
47259 if test x${glibcxx_cv_func__powl_use+set} != xset; then
47260 if test "${glibcxx_cv_func__powl_use+set}" = set; then
47261 echo $ECHO_N "(cached) $ECHO_C" >&6
47262 else
47266 ac_ext=cc
47267 ac_cpp='$CXXCPP $CPPFLAGS'
47268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47272 cat >conftest.$ac_ext <<_ACEOF
47273 /* confdefs.h. */
47274 _ACEOF
47275 cat confdefs.h >>conftest.$ac_ext
47276 cat >>conftest.$ac_ext <<_ACEOF
47277 /* end confdefs.h. */
47278 #include <math.h>
47280 main ()
47282 _powl(0, 0);
47284 return 0;
47286 _ACEOF
47287 rm -f conftest.$ac_objext
47288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47289 (eval $ac_compile) 2>conftest.er1
47290 ac_status=$?
47291 grep -v '^ *+' conftest.er1 >conftest.err
47292 rm -f conftest.er1
47293 cat conftest.err >&5
47294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47295 (exit $ac_status); } &&
47296 { ac_try='test -z "$ac_cxx_werror_flag"
47297 || test ! -s conftest.err'
47298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47299 (eval $ac_try) 2>&5
47300 ac_status=$?
47301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47302 (exit $ac_status); }; } &&
47303 { ac_try='test -s conftest.$ac_objext'
47304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47305 (eval $ac_try) 2>&5
47306 ac_status=$?
47307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47308 (exit $ac_status); }; }; then
47309 glibcxx_cv_func__powl_use=yes
47310 else
47311 echo "$as_me: failed program was:" >&5
47312 sed 's/^/| /' conftest.$ac_ext >&5
47314 glibcxx_cv_func__powl_use=no
47316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47317 ac_ext=c
47318 ac_cpp='$CPP $CPPFLAGS'
47319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47327 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
47328 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
47330 if test x$glibcxx_cv_func__powl_use = x"yes"; then
47332 for ac_func in _powl
47334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47335 echo "$as_me:$LINENO: checking for $ac_func" >&5
47336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47337 if eval "test \"\${$as_ac_var+set}\" = set"; then
47338 echo $ECHO_N "(cached) $ECHO_C" >&6
47339 else
47340 if test x$gcc_no_link = xyes; then
47341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47343 { (exit 1); exit 1; }; }
47345 cat >conftest.$ac_ext <<_ACEOF
47346 /* confdefs.h. */
47347 _ACEOF
47348 cat confdefs.h >>conftest.$ac_ext
47349 cat >>conftest.$ac_ext <<_ACEOF
47350 /* end confdefs.h. */
47351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47353 #define $ac_func innocuous_$ac_func
47355 /* System header to define __stub macros and hopefully few prototypes,
47356 which can conflict with char $ac_func (); below.
47357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47358 <limits.h> exists even on freestanding compilers. */
47360 #ifdef __STDC__
47361 # include <limits.h>
47362 #else
47363 # include <assert.h>
47364 #endif
47366 #undef $ac_func
47368 /* Override any gcc2 internal prototype to avoid an error. */
47369 #ifdef __cplusplus
47370 extern "C"
47372 #endif
47373 /* We use char because int might match the return type of a gcc2
47374 builtin and then its argument prototype would still apply. */
47375 char $ac_func ();
47376 /* The GNU C library defines this for functions which it implements
47377 to always fail with ENOSYS. Some functions are actually named
47378 something starting with __ and the normal name is an alias. */
47379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47380 choke me
47381 #else
47382 char (*f) () = $ac_func;
47383 #endif
47384 #ifdef __cplusplus
47386 #endif
47389 main ()
47391 return f != $ac_func;
47393 return 0;
47395 _ACEOF
47396 rm -f conftest.$ac_objext conftest$ac_exeext
47397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47398 (eval $ac_link) 2>conftest.er1
47399 ac_status=$?
47400 grep -v '^ *+' conftest.er1 >conftest.err
47401 rm -f conftest.er1
47402 cat conftest.err >&5
47403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47404 (exit $ac_status); } &&
47405 { ac_try='test -z "$ac_c_werror_flag"
47406 || test ! -s conftest.err'
47407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47408 (eval $ac_try) 2>&5
47409 ac_status=$?
47410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47411 (exit $ac_status); }; } &&
47412 { ac_try='test -s conftest$ac_exeext'
47413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47414 (eval $ac_try) 2>&5
47415 ac_status=$?
47416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47417 (exit $ac_status); }; }; then
47418 eval "$as_ac_var=yes"
47419 else
47420 echo "$as_me: failed program was:" >&5
47421 sed 's/^/| /' conftest.$ac_ext >&5
47423 eval "$as_ac_var=no"
47425 rm -f conftest.err conftest.$ac_objext \
47426 conftest$ac_exeext conftest.$ac_ext
47428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47430 if test `eval echo '${'$as_ac_var'}'` = yes; then
47431 cat >>confdefs.h <<_ACEOF
47432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47433 _ACEOF
47436 done
47446 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
47447 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
47448 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
47449 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
47450 echo $ECHO_N "(cached) $ECHO_C" >&6
47451 else
47455 ac_ext=cc
47456 ac_cpp='$CXXCPP $CPPFLAGS'
47457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47461 cat >conftest.$ac_ext <<_ACEOF
47462 /* confdefs.h. */
47463 _ACEOF
47464 cat confdefs.h >>conftest.$ac_ext
47465 cat >>conftest.$ac_ext <<_ACEOF
47466 /* end confdefs.h. */
47467 #include <math.h>
47468 #ifdef HAVE_IEEEFP_H
47469 #include <ieeefp.h>
47470 #endif
47473 main ()
47475 sqrtl(0);
47477 return 0;
47479 _ACEOF
47480 rm -f conftest.$ac_objext
47481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47482 (eval $ac_compile) 2>conftest.er1
47483 ac_status=$?
47484 grep -v '^ *+' conftest.er1 >conftest.err
47485 rm -f conftest.er1
47486 cat conftest.err >&5
47487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47488 (exit $ac_status); } &&
47489 { ac_try='test -z "$ac_cxx_werror_flag"
47490 || test ! -s conftest.err'
47491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47492 (eval $ac_try) 2>&5
47493 ac_status=$?
47494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47495 (exit $ac_status); }; } &&
47496 { ac_try='test -s conftest.$ac_objext'
47497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47498 (eval $ac_try) 2>&5
47499 ac_status=$?
47500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47501 (exit $ac_status); }; }; then
47502 glibcxx_cv_func_sqrtl_use=yes
47503 else
47504 echo "$as_me: failed program was:" >&5
47505 sed 's/^/| /' conftest.$ac_ext >&5
47507 glibcxx_cv_func_sqrtl_use=no
47509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47510 ac_ext=c
47511 ac_cpp='$CPP $CPPFLAGS'
47512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47520 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
47521 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
47523 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
47525 for ac_func in sqrtl
47527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47528 echo "$as_me:$LINENO: checking for $ac_func" >&5
47529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47530 if eval "test \"\${$as_ac_var+set}\" = set"; then
47531 echo $ECHO_N "(cached) $ECHO_C" >&6
47532 else
47533 if test x$gcc_no_link = xyes; then
47534 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47536 { (exit 1); exit 1; }; }
47538 cat >conftest.$ac_ext <<_ACEOF
47539 /* confdefs.h. */
47540 _ACEOF
47541 cat confdefs.h >>conftest.$ac_ext
47542 cat >>conftest.$ac_ext <<_ACEOF
47543 /* end confdefs.h. */
47544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47546 #define $ac_func innocuous_$ac_func
47548 /* System header to define __stub macros and hopefully few prototypes,
47549 which can conflict with char $ac_func (); below.
47550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47551 <limits.h> exists even on freestanding compilers. */
47553 #ifdef __STDC__
47554 # include <limits.h>
47555 #else
47556 # include <assert.h>
47557 #endif
47559 #undef $ac_func
47561 /* Override any gcc2 internal prototype to avoid an error. */
47562 #ifdef __cplusplus
47563 extern "C"
47565 #endif
47566 /* We use char because int might match the return type of a gcc2
47567 builtin and then its argument prototype would still apply. */
47568 char $ac_func ();
47569 /* The GNU C library defines this for functions which it implements
47570 to always fail with ENOSYS. Some functions are actually named
47571 something starting with __ and the normal name is an alias. */
47572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47573 choke me
47574 #else
47575 char (*f) () = $ac_func;
47576 #endif
47577 #ifdef __cplusplus
47579 #endif
47582 main ()
47584 return f != $ac_func;
47586 return 0;
47588 _ACEOF
47589 rm -f conftest.$ac_objext conftest$ac_exeext
47590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47591 (eval $ac_link) 2>conftest.er1
47592 ac_status=$?
47593 grep -v '^ *+' conftest.er1 >conftest.err
47594 rm -f conftest.er1
47595 cat conftest.err >&5
47596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47597 (exit $ac_status); } &&
47598 { ac_try='test -z "$ac_c_werror_flag"
47599 || test ! -s conftest.err'
47600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47601 (eval $ac_try) 2>&5
47602 ac_status=$?
47603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47604 (exit $ac_status); }; } &&
47605 { ac_try='test -s conftest$ac_exeext'
47606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47607 (eval $ac_try) 2>&5
47608 ac_status=$?
47609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47610 (exit $ac_status); }; }; then
47611 eval "$as_ac_var=yes"
47612 else
47613 echo "$as_me: failed program was:" >&5
47614 sed 's/^/| /' conftest.$ac_ext >&5
47616 eval "$as_ac_var=no"
47618 rm -f conftest.err conftest.$ac_objext \
47619 conftest$ac_exeext conftest.$ac_ext
47621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47623 if test `eval echo '${'$as_ac_var'}'` = yes; then
47624 cat >>confdefs.h <<_ACEOF
47625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47626 _ACEOF
47629 done
47631 else
47633 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
47634 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
47635 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
47636 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
47637 echo $ECHO_N "(cached) $ECHO_C" >&6
47638 else
47642 ac_ext=cc
47643 ac_cpp='$CXXCPP $CPPFLAGS'
47644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47648 cat >conftest.$ac_ext <<_ACEOF
47649 /* confdefs.h. */
47650 _ACEOF
47651 cat confdefs.h >>conftest.$ac_ext
47652 cat >>conftest.$ac_ext <<_ACEOF
47653 /* end confdefs.h. */
47654 #include <math.h>
47655 #ifdef HAVE_IEEEFP_H
47656 #include <ieeefp.h>
47657 #endif
47660 main ()
47662 _sqrtl(0);
47664 return 0;
47666 _ACEOF
47667 rm -f conftest.$ac_objext
47668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47669 (eval $ac_compile) 2>conftest.er1
47670 ac_status=$?
47671 grep -v '^ *+' conftest.er1 >conftest.err
47672 rm -f conftest.er1
47673 cat conftest.err >&5
47674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47675 (exit $ac_status); } &&
47676 { ac_try='test -z "$ac_cxx_werror_flag"
47677 || test ! -s conftest.err'
47678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47679 (eval $ac_try) 2>&5
47680 ac_status=$?
47681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47682 (exit $ac_status); }; } &&
47683 { ac_try='test -s conftest.$ac_objext'
47684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47685 (eval $ac_try) 2>&5
47686 ac_status=$?
47687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47688 (exit $ac_status); }; }; then
47689 glibcxx_cv_func__sqrtl_use=yes
47690 else
47691 echo "$as_me: failed program was:" >&5
47692 sed 's/^/| /' conftest.$ac_ext >&5
47694 glibcxx_cv_func__sqrtl_use=no
47696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47697 ac_ext=c
47698 ac_cpp='$CPP $CPPFLAGS'
47699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47707 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
47708 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
47710 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
47712 for ac_func in _sqrtl
47714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47715 echo "$as_me:$LINENO: checking for $ac_func" >&5
47716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47717 if eval "test \"\${$as_ac_var+set}\" = set"; then
47718 echo $ECHO_N "(cached) $ECHO_C" >&6
47719 else
47720 if test x$gcc_no_link = xyes; then
47721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47723 { (exit 1); exit 1; }; }
47725 cat >conftest.$ac_ext <<_ACEOF
47726 /* confdefs.h. */
47727 _ACEOF
47728 cat confdefs.h >>conftest.$ac_ext
47729 cat >>conftest.$ac_ext <<_ACEOF
47730 /* end confdefs.h. */
47731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47733 #define $ac_func innocuous_$ac_func
47735 /* System header to define __stub macros and hopefully few prototypes,
47736 which can conflict with char $ac_func (); below.
47737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47738 <limits.h> exists even on freestanding compilers. */
47740 #ifdef __STDC__
47741 # include <limits.h>
47742 #else
47743 # include <assert.h>
47744 #endif
47746 #undef $ac_func
47748 /* Override any gcc2 internal prototype to avoid an error. */
47749 #ifdef __cplusplus
47750 extern "C"
47752 #endif
47753 /* We use char because int might match the return type of a gcc2
47754 builtin and then its argument prototype would still apply. */
47755 char $ac_func ();
47756 /* The GNU C library defines this for functions which it implements
47757 to always fail with ENOSYS. Some functions are actually named
47758 something starting with __ and the normal name is an alias. */
47759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47760 choke me
47761 #else
47762 char (*f) () = $ac_func;
47763 #endif
47764 #ifdef __cplusplus
47766 #endif
47769 main ()
47771 return f != $ac_func;
47773 return 0;
47775 _ACEOF
47776 rm -f conftest.$ac_objext conftest$ac_exeext
47777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47778 (eval $ac_link) 2>conftest.er1
47779 ac_status=$?
47780 grep -v '^ *+' conftest.er1 >conftest.err
47781 rm -f conftest.er1
47782 cat conftest.err >&5
47783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47784 (exit $ac_status); } &&
47785 { ac_try='test -z "$ac_c_werror_flag"
47786 || test ! -s conftest.err'
47787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47788 (eval $ac_try) 2>&5
47789 ac_status=$?
47790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47791 (exit $ac_status); }; } &&
47792 { ac_try='test -s conftest$ac_exeext'
47793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47794 (eval $ac_try) 2>&5
47795 ac_status=$?
47796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47797 (exit $ac_status); }; }; then
47798 eval "$as_ac_var=yes"
47799 else
47800 echo "$as_me: failed program was:" >&5
47801 sed 's/^/| /' conftest.$ac_ext >&5
47803 eval "$as_ac_var=no"
47805 rm -f conftest.err conftest.$ac_objext \
47806 conftest$ac_exeext conftest.$ac_ext
47808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47810 if test `eval echo '${'$as_ac_var'}'` = yes; then
47811 cat >>confdefs.h <<_ACEOF
47812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47813 _ACEOF
47816 done
47826 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
47827 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
47828 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
47829 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
47830 echo $ECHO_N "(cached) $ECHO_C" >&6
47831 else
47835 ac_ext=cc
47836 ac_cpp='$CXXCPP $CPPFLAGS'
47837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47841 cat >conftest.$ac_ext <<_ACEOF
47842 /* confdefs.h. */
47843 _ACEOF
47844 cat confdefs.h >>conftest.$ac_ext
47845 cat >>conftest.$ac_ext <<_ACEOF
47846 /* end confdefs.h. */
47847 #include <math.h>
47849 main ()
47851 sincosl(0, 0, 0);
47853 return 0;
47855 _ACEOF
47856 rm -f conftest.$ac_objext
47857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47858 (eval $ac_compile) 2>conftest.er1
47859 ac_status=$?
47860 grep -v '^ *+' conftest.er1 >conftest.err
47861 rm -f conftest.er1
47862 cat conftest.err >&5
47863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47864 (exit $ac_status); } &&
47865 { ac_try='test -z "$ac_cxx_werror_flag"
47866 || test ! -s conftest.err'
47867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47868 (eval $ac_try) 2>&5
47869 ac_status=$?
47870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47871 (exit $ac_status); }; } &&
47872 { ac_try='test -s conftest.$ac_objext'
47873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47874 (eval $ac_try) 2>&5
47875 ac_status=$?
47876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47877 (exit $ac_status); }; }; then
47878 glibcxx_cv_func_sincosl_use=yes
47879 else
47880 echo "$as_me: failed program was:" >&5
47881 sed 's/^/| /' conftest.$ac_ext >&5
47883 glibcxx_cv_func_sincosl_use=no
47885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47886 ac_ext=c
47887 ac_cpp='$CPP $CPPFLAGS'
47888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47896 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
47897 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
47899 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
47901 for ac_func in sincosl
47903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47904 echo "$as_me:$LINENO: checking for $ac_func" >&5
47905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47906 if eval "test \"\${$as_ac_var+set}\" = set"; then
47907 echo $ECHO_N "(cached) $ECHO_C" >&6
47908 else
47909 if test x$gcc_no_link = xyes; then
47910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47912 { (exit 1); exit 1; }; }
47914 cat >conftest.$ac_ext <<_ACEOF
47915 /* confdefs.h. */
47916 _ACEOF
47917 cat confdefs.h >>conftest.$ac_ext
47918 cat >>conftest.$ac_ext <<_ACEOF
47919 /* end confdefs.h. */
47920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47922 #define $ac_func innocuous_$ac_func
47924 /* System header to define __stub macros and hopefully few prototypes,
47925 which can conflict with char $ac_func (); below.
47926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47927 <limits.h> exists even on freestanding compilers. */
47929 #ifdef __STDC__
47930 # include <limits.h>
47931 #else
47932 # include <assert.h>
47933 #endif
47935 #undef $ac_func
47937 /* Override any gcc2 internal prototype to avoid an error. */
47938 #ifdef __cplusplus
47939 extern "C"
47941 #endif
47942 /* We use char because int might match the return type of a gcc2
47943 builtin and then its argument prototype would still apply. */
47944 char $ac_func ();
47945 /* The GNU C library defines this for functions which it implements
47946 to always fail with ENOSYS. Some functions are actually named
47947 something starting with __ and the normal name is an alias. */
47948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47949 choke me
47950 #else
47951 char (*f) () = $ac_func;
47952 #endif
47953 #ifdef __cplusplus
47955 #endif
47958 main ()
47960 return f != $ac_func;
47962 return 0;
47964 _ACEOF
47965 rm -f conftest.$ac_objext conftest$ac_exeext
47966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47967 (eval $ac_link) 2>conftest.er1
47968 ac_status=$?
47969 grep -v '^ *+' conftest.er1 >conftest.err
47970 rm -f conftest.er1
47971 cat conftest.err >&5
47972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47973 (exit $ac_status); } &&
47974 { ac_try='test -z "$ac_c_werror_flag"
47975 || test ! -s conftest.err'
47976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47977 (eval $ac_try) 2>&5
47978 ac_status=$?
47979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47980 (exit $ac_status); }; } &&
47981 { ac_try='test -s conftest$ac_exeext'
47982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47983 (eval $ac_try) 2>&5
47984 ac_status=$?
47985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47986 (exit $ac_status); }; }; then
47987 eval "$as_ac_var=yes"
47988 else
47989 echo "$as_me: failed program was:" >&5
47990 sed 's/^/| /' conftest.$ac_ext >&5
47992 eval "$as_ac_var=no"
47994 rm -f conftest.err conftest.$ac_objext \
47995 conftest$ac_exeext conftest.$ac_ext
47997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47999 if test `eval echo '${'$as_ac_var'}'` = yes; then
48000 cat >>confdefs.h <<_ACEOF
48001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48002 _ACEOF
48005 done
48007 else
48009 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
48010 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
48011 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
48012 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
48013 echo $ECHO_N "(cached) $ECHO_C" >&6
48014 else
48018 ac_ext=cc
48019 ac_cpp='$CXXCPP $CPPFLAGS'
48020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48024 cat >conftest.$ac_ext <<_ACEOF
48025 /* confdefs.h. */
48026 _ACEOF
48027 cat confdefs.h >>conftest.$ac_ext
48028 cat >>conftest.$ac_ext <<_ACEOF
48029 /* end confdefs.h. */
48030 #include <math.h>
48032 main ()
48034 _sincosl(0, 0, 0);
48036 return 0;
48038 _ACEOF
48039 rm -f conftest.$ac_objext
48040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48041 (eval $ac_compile) 2>conftest.er1
48042 ac_status=$?
48043 grep -v '^ *+' conftest.er1 >conftest.err
48044 rm -f conftest.er1
48045 cat conftest.err >&5
48046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48047 (exit $ac_status); } &&
48048 { ac_try='test -z "$ac_cxx_werror_flag"
48049 || test ! -s conftest.err'
48050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48051 (eval $ac_try) 2>&5
48052 ac_status=$?
48053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48054 (exit $ac_status); }; } &&
48055 { ac_try='test -s conftest.$ac_objext'
48056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48057 (eval $ac_try) 2>&5
48058 ac_status=$?
48059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48060 (exit $ac_status); }; }; then
48061 glibcxx_cv_func__sincosl_use=yes
48062 else
48063 echo "$as_me: failed program was:" >&5
48064 sed 's/^/| /' conftest.$ac_ext >&5
48066 glibcxx_cv_func__sincosl_use=no
48068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48069 ac_ext=c
48070 ac_cpp='$CPP $CPPFLAGS'
48071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48079 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
48080 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
48082 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
48084 for ac_func in _sincosl
48086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48087 echo "$as_me:$LINENO: checking for $ac_func" >&5
48088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48089 if eval "test \"\${$as_ac_var+set}\" = set"; then
48090 echo $ECHO_N "(cached) $ECHO_C" >&6
48091 else
48092 if test x$gcc_no_link = xyes; then
48093 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48095 { (exit 1); exit 1; }; }
48097 cat >conftest.$ac_ext <<_ACEOF
48098 /* confdefs.h. */
48099 _ACEOF
48100 cat confdefs.h >>conftest.$ac_ext
48101 cat >>conftest.$ac_ext <<_ACEOF
48102 /* end confdefs.h. */
48103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48105 #define $ac_func innocuous_$ac_func
48107 /* System header to define __stub macros and hopefully few prototypes,
48108 which can conflict with char $ac_func (); below.
48109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48110 <limits.h> exists even on freestanding compilers. */
48112 #ifdef __STDC__
48113 # include <limits.h>
48114 #else
48115 # include <assert.h>
48116 #endif
48118 #undef $ac_func
48120 /* Override any gcc2 internal prototype to avoid an error. */
48121 #ifdef __cplusplus
48122 extern "C"
48124 #endif
48125 /* We use char because int might match the return type of a gcc2
48126 builtin and then its argument prototype would still apply. */
48127 char $ac_func ();
48128 /* The GNU C library defines this for functions which it implements
48129 to always fail with ENOSYS. Some functions are actually named
48130 something starting with __ and the normal name is an alias. */
48131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48132 choke me
48133 #else
48134 char (*f) () = $ac_func;
48135 #endif
48136 #ifdef __cplusplus
48138 #endif
48141 main ()
48143 return f != $ac_func;
48145 return 0;
48147 _ACEOF
48148 rm -f conftest.$ac_objext conftest$ac_exeext
48149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48150 (eval $ac_link) 2>conftest.er1
48151 ac_status=$?
48152 grep -v '^ *+' conftest.er1 >conftest.err
48153 rm -f conftest.er1
48154 cat conftest.err >&5
48155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48156 (exit $ac_status); } &&
48157 { ac_try='test -z "$ac_c_werror_flag"
48158 || test ! -s conftest.err'
48159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48160 (eval $ac_try) 2>&5
48161 ac_status=$?
48162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48163 (exit $ac_status); }; } &&
48164 { ac_try='test -s conftest$ac_exeext'
48165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48166 (eval $ac_try) 2>&5
48167 ac_status=$?
48168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48169 (exit $ac_status); }; }; then
48170 eval "$as_ac_var=yes"
48171 else
48172 echo "$as_me: failed program was:" >&5
48173 sed 's/^/| /' conftest.$ac_ext >&5
48175 eval "$as_ac_var=no"
48177 rm -f conftest.err conftest.$ac_objext \
48178 conftest$ac_exeext conftest.$ac_ext
48180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48182 if test `eval echo '${'$as_ac_var'}'` = yes; then
48183 cat >>confdefs.h <<_ACEOF
48184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48185 _ACEOF
48188 done
48198 echo "$as_me:$LINENO: checking for finitel declaration" >&5
48199 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
48200 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
48201 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
48202 echo $ECHO_N "(cached) $ECHO_C" >&6
48203 else
48207 ac_ext=cc
48208 ac_cpp='$CXXCPP $CPPFLAGS'
48209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48213 cat >conftest.$ac_ext <<_ACEOF
48214 /* confdefs.h. */
48215 _ACEOF
48216 cat confdefs.h >>conftest.$ac_ext
48217 cat >>conftest.$ac_ext <<_ACEOF
48218 /* end confdefs.h. */
48219 #include <math.h>
48220 #ifdef HAVE_IEEEFP_H
48221 #include <ieeefp.h>
48222 #endif
48225 main ()
48227 finitel(0);
48229 return 0;
48231 _ACEOF
48232 rm -f conftest.$ac_objext
48233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48234 (eval $ac_compile) 2>conftest.er1
48235 ac_status=$?
48236 grep -v '^ *+' conftest.er1 >conftest.err
48237 rm -f conftest.er1
48238 cat conftest.err >&5
48239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48240 (exit $ac_status); } &&
48241 { ac_try='test -z "$ac_cxx_werror_flag"
48242 || test ! -s conftest.err'
48243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48244 (eval $ac_try) 2>&5
48245 ac_status=$?
48246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48247 (exit $ac_status); }; } &&
48248 { ac_try='test -s conftest.$ac_objext'
48249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48250 (eval $ac_try) 2>&5
48251 ac_status=$?
48252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48253 (exit $ac_status); }; }; then
48254 glibcxx_cv_func_finitel_use=yes
48255 else
48256 echo "$as_me: failed program was:" >&5
48257 sed 's/^/| /' conftest.$ac_ext >&5
48259 glibcxx_cv_func_finitel_use=no
48261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48262 ac_ext=c
48263 ac_cpp='$CPP $CPPFLAGS'
48264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48272 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
48273 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
48275 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
48277 for ac_func in finitel
48279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48280 echo "$as_me:$LINENO: checking for $ac_func" >&5
48281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48282 if eval "test \"\${$as_ac_var+set}\" = set"; then
48283 echo $ECHO_N "(cached) $ECHO_C" >&6
48284 else
48285 if test x$gcc_no_link = xyes; then
48286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48288 { (exit 1); exit 1; }; }
48290 cat >conftest.$ac_ext <<_ACEOF
48291 /* confdefs.h. */
48292 _ACEOF
48293 cat confdefs.h >>conftest.$ac_ext
48294 cat >>conftest.$ac_ext <<_ACEOF
48295 /* end confdefs.h. */
48296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48298 #define $ac_func innocuous_$ac_func
48300 /* System header to define __stub macros and hopefully few prototypes,
48301 which can conflict with char $ac_func (); below.
48302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48303 <limits.h> exists even on freestanding compilers. */
48305 #ifdef __STDC__
48306 # include <limits.h>
48307 #else
48308 # include <assert.h>
48309 #endif
48311 #undef $ac_func
48313 /* Override any gcc2 internal prototype to avoid an error. */
48314 #ifdef __cplusplus
48315 extern "C"
48317 #endif
48318 /* We use char because int might match the return type of a gcc2
48319 builtin and then its argument prototype would still apply. */
48320 char $ac_func ();
48321 /* The GNU C library defines this for functions which it implements
48322 to always fail with ENOSYS. Some functions are actually named
48323 something starting with __ and the normal name is an alias. */
48324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48325 choke me
48326 #else
48327 char (*f) () = $ac_func;
48328 #endif
48329 #ifdef __cplusplus
48331 #endif
48334 main ()
48336 return f != $ac_func;
48338 return 0;
48340 _ACEOF
48341 rm -f conftest.$ac_objext conftest$ac_exeext
48342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48343 (eval $ac_link) 2>conftest.er1
48344 ac_status=$?
48345 grep -v '^ *+' conftest.er1 >conftest.err
48346 rm -f conftest.er1
48347 cat conftest.err >&5
48348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48349 (exit $ac_status); } &&
48350 { ac_try='test -z "$ac_c_werror_flag"
48351 || test ! -s conftest.err'
48352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48353 (eval $ac_try) 2>&5
48354 ac_status=$?
48355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48356 (exit $ac_status); }; } &&
48357 { ac_try='test -s conftest$ac_exeext'
48358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48359 (eval $ac_try) 2>&5
48360 ac_status=$?
48361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48362 (exit $ac_status); }; }; then
48363 eval "$as_ac_var=yes"
48364 else
48365 echo "$as_me: failed program was:" >&5
48366 sed 's/^/| /' conftest.$ac_ext >&5
48368 eval "$as_ac_var=no"
48370 rm -f conftest.err conftest.$ac_objext \
48371 conftest$ac_exeext conftest.$ac_ext
48373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48375 if test `eval echo '${'$as_ac_var'}'` = yes; then
48376 cat >>confdefs.h <<_ACEOF
48377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48378 _ACEOF
48381 done
48383 else
48385 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
48386 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
48387 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
48388 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
48389 echo $ECHO_N "(cached) $ECHO_C" >&6
48390 else
48394 ac_ext=cc
48395 ac_cpp='$CXXCPP $CPPFLAGS'
48396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48400 cat >conftest.$ac_ext <<_ACEOF
48401 /* confdefs.h. */
48402 _ACEOF
48403 cat confdefs.h >>conftest.$ac_ext
48404 cat >>conftest.$ac_ext <<_ACEOF
48405 /* end confdefs.h. */
48406 #include <math.h>
48407 #ifdef HAVE_IEEEFP_H
48408 #include <ieeefp.h>
48409 #endif
48412 main ()
48414 _finitel(0);
48416 return 0;
48418 _ACEOF
48419 rm -f conftest.$ac_objext
48420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48421 (eval $ac_compile) 2>conftest.er1
48422 ac_status=$?
48423 grep -v '^ *+' conftest.er1 >conftest.err
48424 rm -f conftest.er1
48425 cat conftest.err >&5
48426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48427 (exit $ac_status); } &&
48428 { ac_try='test -z "$ac_cxx_werror_flag"
48429 || test ! -s conftest.err'
48430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48431 (eval $ac_try) 2>&5
48432 ac_status=$?
48433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48434 (exit $ac_status); }; } &&
48435 { ac_try='test -s conftest.$ac_objext'
48436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48437 (eval $ac_try) 2>&5
48438 ac_status=$?
48439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48440 (exit $ac_status); }; }; then
48441 glibcxx_cv_func__finitel_use=yes
48442 else
48443 echo "$as_me: failed program was:" >&5
48444 sed 's/^/| /' conftest.$ac_ext >&5
48446 glibcxx_cv_func__finitel_use=no
48448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48449 ac_ext=c
48450 ac_cpp='$CPP $CPPFLAGS'
48451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48459 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
48460 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
48462 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
48464 for ac_func in _finitel
48466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48467 echo "$as_me:$LINENO: checking for $ac_func" >&5
48468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48469 if eval "test \"\${$as_ac_var+set}\" = set"; then
48470 echo $ECHO_N "(cached) $ECHO_C" >&6
48471 else
48472 if test x$gcc_no_link = xyes; then
48473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48475 { (exit 1); exit 1; }; }
48477 cat >conftest.$ac_ext <<_ACEOF
48478 /* confdefs.h. */
48479 _ACEOF
48480 cat confdefs.h >>conftest.$ac_ext
48481 cat >>conftest.$ac_ext <<_ACEOF
48482 /* end confdefs.h. */
48483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48485 #define $ac_func innocuous_$ac_func
48487 /* System header to define __stub macros and hopefully few prototypes,
48488 which can conflict with char $ac_func (); below.
48489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48490 <limits.h> exists even on freestanding compilers. */
48492 #ifdef __STDC__
48493 # include <limits.h>
48494 #else
48495 # include <assert.h>
48496 #endif
48498 #undef $ac_func
48500 /* Override any gcc2 internal prototype to avoid an error. */
48501 #ifdef __cplusplus
48502 extern "C"
48504 #endif
48505 /* We use char because int might match the return type of a gcc2
48506 builtin and then its argument prototype would still apply. */
48507 char $ac_func ();
48508 /* The GNU C library defines this for functions which it implements
48509 to always fail with ENOSYS. Some functions are actually named
48510 something starting with __ and the normal name is an alias. */
48511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48512 choke me
48513 #else
48514 char (*f) () = $ac_func;
48515 #endif
48516 #ifdef __cplusplus
48518 #endif
48521 main ()
48523 return f != $ac_func;
48525 return 0;
48527 _ACEOF
48528 rm -f conftest.$ac_objext conftest$ac_exeext
48529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48530 (eval $ac_link) 2>conftest.er1
48531 ac_status=$?
48532 grep -v '^ *+' conftest.er1 >conftest.err
48533 rm -f conftest.er1
48534 cat conftest.err >&5
48535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48536 (exit $ac_status); } &&
48537 { ac_try='test -z "$ac_c_werror_flag"
48538 || test ! -s conftest.err'
48539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48540 (eval $ac_try) 2>&5
48541 ac_status=$?
48542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48543 (exit $ac_status); }; } &&
48544 { ac_try='test -s conftest$ac_exeext'
48545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48546 (eval $ac_try) 2>&5
48547 ac_status=$?
48548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48549 (exit $ac_status); }; }; then
48550 eval "$as_ac_var=yes"
48551 else
48552 echo "$as_me: failed program was:" >&5
48553 sed 's/^/| /' conftest.$ac_ext >&5
48555 eval "$as_ac_var=no"
48557 rm -f conftest.err conftest.$ac_objext \
48558 conftest$ac_exeext conftest.$ac_ext
48560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48562 if test `eval echo '${'$as_ac_var'}'` = yes; then
48563 cat >>confdefs.h <<_ACEOF
48564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48565 _ACEOF
48568 done
48577 LIBS="$ac_save_LIBS"
48578 CXXFLAGS="$ac_save_CXXFLAGS"
48582 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
48583 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
48584 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
48585 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
48586 echo $ECHO_N "(cached) $ECHO_C" >&6
48587 else
48591 ac_ext=cc
48592 ac_cpp='$CXXCPP $CPPFLAGS'
48593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48597 cat >conftest.$ac_ext <<_ACEOF
48598 /* confdefs.h. */
48599 _ACEOF
48600 cat confdefs.h >>conftest.$ac_ext
48601 cat >>conftest.$ac_ext <<_ACEOF
48602 /* end confdefs.h. */
48603 #include <math.h>
48605 main ()
48607 __builtin_abs(0);
48609 return 0;
48611 _ACEOF
48612 rm -f conftest.$ac_objext
48613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48614 (eval $ac_compile) 2>conftest.er1
48615 ac_status=$?
48616 grep -v '^ *+' conftest.er1 >conftest.err
48617 rm -f conftest.er1
48618 cat conftest.err >&5
48619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48620 (exit $ac_status); } &&
48621 { ac_try='test -z "$ac_cxx_werror_flag"
48622 || test ! -s conftest.err'
48623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48624 (eval $ac_try) 2>&5
48625 ac_status=$?
48626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48627 (exit $ac_status); }; } &&
48628 { ac_try='test -s conftest.$ac_objext'
48629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48630 (eval $ac_try) 2>&5
48631 ac_status=$?
48632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48633 (exit $ac_status); }; }; then
48634 glibcxx_cv_func___builtin_abs_use=yes
48635 else
48636 echo "$as_me: failed program was:" >&5
48637 sed 's/^/| /' conftest.$ac_ext >&5
48639 glibcxx_cv_func___builtin_abs_use=no
48641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48642 ac_ext=c
48643 ac_cpp='$CPP $CPPFLAGS'
48644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48652 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
48653 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
48654 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
48655 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
48656 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
48657 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
48658 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
48659 echo $ECHO_N "(cached) $ECHO_C" >&6
48660 else
48662 if test x$gcc_no_link = xyes; then
48663 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48665 { (exit 1); exit 1; }; }
48667 cat >conftest.$ac_ext <<_ACEOF
48668 /* confdefs.h. */
48669 _ACEOF
48670 cat confdefs.h >>conftest.$ac_ext
48671 cat >>conftest.$ac_ext <<_ACEOF
48672 /* end confdefs.h. */
48673 #include <math.h>
48675 main ()
48677 __builtin_abs(0);
48679 return 0;
48681 _ACEOF
48682 rm -f conftest.$ac_objext conftest$ac_exeext
48683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48684 (eval $ac_link) 2>conftest.er1
48685 ac_status=$?
48686 grep -v '^ *+' conftest.er1 >conftest.err
48687 rm -f conftest.er1
48688 cat conftest.err >&5
48689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48690 (exit $ac_status); } &&
48691 { ac_try='test -z "$ac_c_werror_flag"
48692 || test ! -s conftest.err'
48693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48694 (eval $ac_try) 2>&5
48695 ac_status=$?
48696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48697 (exit $ac_status); }; } &&
48698 { ac_try='test -s conftest$ac_exeext'
48699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48700 (eval $ac_try) 2>&5
48701 ac_status=$?
48702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48703 (exit $ac_status); }; }; then
48704 glibcxx_cv_func___builtin_abs_link=yes
48705 else
48706 echo "$as_me: failed program was:" >&5
48707 sed 's/^/| /' conftest.$ac_ext >&5
48709 glibcxx_cv_func___builtin_abs_link=no
48711 rm -f conftest.err conftest.$ac_objext \
48712 conftest$ac_exeext conftest.$ac_ext
48717 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
48718 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
48720 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
48722 cat >>confdefs.h <<\_ACEOF
48723 #define HAVE___BUILTIN_ABS 1
48724 _ACEOF
48731 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
48732 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
48733 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
48734 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
48735 echo $ECHO_N "(cached) $ECHO_C" >&6
48736 else
48740 ac_ext=cc
48741 ac_cpp='$CXXCPP $CPPFLAGS'
48742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48746 cat >conftest.$ac_ext <<_ACEOF
48747 /* confdefs.h. */
48748 _ACEOF
48749 cat confdefs.h >>conftest.$ac_ext
48750 cat >>conftest.$ac_ext <<_ACEOF
48751 /* end confdefs.h. */
48752 #include <math.h>
48754 main ()
48756 __builtin_fabsf(0);
48758 return 0;
48760 _ACEOF
48761 rm -f conftest.$ac_objext
48762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48763 (eval $ac_compile) 2>conftest.er1
48764 ac_status=$?
48765 grep -v '^ *+' conftest.er1 >conftest.err
48766 rm -f conftest.er1
48767 cat conftest.err >&5
48768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48769 (exit $ac_status); } &&
48770 { ac_try='test -z "$ac_cxx_werror_flag"
48771 || test ! -s conftest.err'
48772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48773 (eval $ac_try) 2>&5
48774 ac_status=$?
48775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48776 (exit $ac_status); }; } &&
48777 { ac_try='test -s conftest.$ac_objext'
48778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48779 (eval $ac_try) 2>&5
48780 ac_status=$?
48781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48782 (exit $ac_status); }; }; then
48783 glibcxx_cv_func___builtin_fabsf_use=yes
48784 else
48785 echo "$as_me: failed program was:" >&5
48786 sed 's/^/| /' conftest.$ac_ext >&5
48788 glibcxx_cv_func___builtin_fabsf_use=no
48790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48791 ac_ext=c
48792 ac_cpp='$CPP $CPPFLAGS'
48793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48801 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
48802 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
48803 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
48804 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
48805 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
48806 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
48807 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
48808 echo $ECHO_N "(cached) $ECHO_C" >&6
48809 else
48811 if test x$gcc_no_link = xyes; then
48812 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48814 { (exit 1); exit 1; }; }
48816 cat >conftest.$ac_ext <<_ACEOF
48817 /* confdefs.h. */
48818 _ACEOF
48819 cat confdefs.h >>conftest.$ac_ext
48820 cat >>conftest.$ac_ext <<_ACEOF
48821 /* end confdefs.h. */
48822 #include <math.h>
48824 main ()
48826 __builtin_fabsf(0);
48828 return 0;
48830 _ACEOF
48831 rm -f conftest.$ac_objext conftest$ac_exeext
48832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48833 (eval $ac_link) 2>conftest.er1
48834 ac_status=$?
48835 grep -v '^ *+' conftest.er1 >conftest.err
48836 rm -f conftest.er1
48837 cat conftest.err >&5
48838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48839 (exit $ac_status); } &&
48840 { ac_try='test -z "$ac_c_werror_flag"
48841 || test ! -s conftest.err'
48842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48843 (eval $ac_try) 2>&5
48844 ac_status=$?
48845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48846 (exit $ac_status); }; } &&
48847 { ac_try='test -s conftest$ac_exeext'
48848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48849 (eval $ac_try) 2>&5
48850 ac_status=$?
48851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48852 (exit $ac_status); }; }; then
48853 glibcxx_cv_func___builtin_fabsf_link=yes
48854 else
48855 echo "$as_me: failed program was:" >&5
48856 sed 's/^/| /' conftest.$ac_ext >&5
48858 glibcxx_cv_func___builtin_fabsf_link=no
48860 rm -f conftest.err conftest.$ac_objext \
48861 conftest$ac_exeext conftest.$ac_ext
48866 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
48867 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
48869 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
48871 cat >>confdefs.h <<\_ACEOF
48872 #define HAVE___BUILTIN_FABSF 1
48873 _ACEOF
48880 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
48881 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
48882 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
48883 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
48884 echo $ECHO_N "(cached) $ECHO_C" >&6
48885 else
48889 ac_ext=cc
48890 ac_cpp='$CXXCPP $CPPFLAGS'
48891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48895 cat >conftest.$ac_ext <<_ACEOF
48896 /* confdefs.h. */
48897 _ACEOF
48898 cat confdefs.h >>conftest.$ac_ext
48899 cat >>conftest.$ac_ext <<_ACEOF
48900 /* end confdefs.h. */
48901 #include <math.h>
48903 main ()
48905 __builtin_fabs(0);
48907 return 0;
48909 _ACEOF
48910 rm -f conftest.$ac_objext
48911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48912 (eval $ac_compile) 2>conftest.er1
48913 ac_status=$?
48914 grep -v '^ *+' conftest.er1 >conftest.err
48915 rm -f conftest.er1
48916 cat conftest.err >&5
48917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48918 (exit $ac_status); } &&
48919 { ac_try='test -z "$ac_cxx_werror_flag"
48920 || test ! -s conftest.err'
48921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48922 (eval $ac_try) 2>&5
48923 ac_status=$?
48924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48925 (exit $ac_status); }; } &&
48926 { ac_try='test -s conftest.$ac_objext'
48927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48928 (eval $ac_try) 2>&5
48929 ac_status=$?
48930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48931 (exit $ac_status); }; }; then
48932 glibcxx_cv_func___builtin_fabs_use=yes
48933 else
48934 echo "$as_me: failed program was:" >&5
48935 sed 's/^/| /' conftest.$ac_ext >&5
48937 glibcxx_cv_func___builtin_fabs_use=no
48939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48940 ac_ext=c
48941 ac_cpp='$CPP $CPPFLAGS'
48942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48950 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
48951 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
48952 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
48953 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
48954 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
48955 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
48956 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
48957 echo $ECHO_N "(cached) $ECHO_C" >&6
48958 else
48960 if test x$gcc_no_link = xyes; then
48961 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48963 { (exit 1); exit 1; }; }
48965 cat >conftest.$ac_ext <<_ACEOF
48966 /* confdefs.h. */
48967 _ACEOF
48968 cat confdefs.h >>conftest.$ac_ext
48969 cat >>conftest.$ac_ext <<_ACEOF
48970 /* end confdefs.h. */
48971 #include <math.h>
48973 main ()
48975 __builtin_fabs(0);
48977 return 0;
48979 _ACEOF
48980 rm -f conftest.$ac_objext conftest$ac_exeext
48981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48982 (eval $ac_link) 2>conftest.er1
48983 ac_status=$?
48984 grep -v '^ *+' conftest.er1 >conftest.err
48985 rm -f conftest.er1
48986 cat conftest.err >&5
48987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48988 (exit $ac_status); } &&
48989 { ac_try='test -z "$ac_c_werror_flag"
48990 || test ! -s conftest.err'
48991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48992 (eval $ac_try) 2>&5
48993 ac_status=$?
48994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48995 (exit $ac_status); }; } &&
48996 { ac_try='test -s conftest$ac_exeext'
48997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48998 (eval $ac_try) 2>&5
48999 ac_status=$?
49000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49001 (exit $ac_status); }; }; then
49002 glibcxx_cv_func___builtin_fabs_link=yes
49003 else
49004 echo "$as_me: failed program was:" >&5
49005 sed 's/^/| /' conftest.$ac_ext >&5
49007 glibcxx_cv_func___builtin_fabs_link=no
49009 rm -f conftest.err conftest.$ac_objext \
49010 conftest$ac_exeext conftest.$ac_ext
49015 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
49016 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
49018 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
49020 cat >>confdefs.h <<\_ACEOF
49021 #define HAVE___BUILTIN_FABS 1
49022 _ACEOF
49029 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
49030 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
49031 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
49032 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
49033 echo $ECHO_N "(cached) $ECHO_C" >&6
49034 else
49038 ac_ext=cc
49039 ac_cpp='$CXXCPP $CPPFLAGS'
49040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49044 cat >conftest.$ac_ext <<_ACEOF
49045 /* confdefs.h. */
49046 _ACEOF
49047 cat confdefs.h >>conftest.$ac_ext
49048 cat >>conftest.$ac_ext <<_ACEOF
49049 /* end confdefs.h. */
49050 #include <math.h>
49052 main ()
49054 __builtin_fabsl(0);
49056 return 0;
49058 _ACEOF
49059 rm -f conftest.$ac_objext
49060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49061 (eval $ac_compile) 2>conftest.er1
49062 ac_status=$?
49063 grep -v '^ *+' conftest.er1 >conftest.err
49064 rm -f conftest.er1
49065 cat conftest.err >&5
49066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49067 (exit $ac_status); } &&
49068 { ac_try='test -z "$ac_cxx_werror_flag"
49069 || test ! -s conftest.err'
49070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49071 (eval $ac_try) 2>&5
49072 ac_status=$?
49073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49074 (exit $ac_status); }; } &&
49075 { ac_try='test -s conftest.$ac_objext'
49076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49077 (eval $ac_try) 2>&5
49078 ac_status=$?
49079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49080 (exit $ac_status); }; }; then
49081 glibcxx_cv_func___builtin_fabsl_use=yes
49082 else
49083 echo "$as_me: failed program was:" >&5
49084 sed 's/^/| /' conftest.$ac_ext >&5
49086 glibcxx_cv_func___builtin_fabsl_use=no
49088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49089 ac_ext=c
49090 ac_cpp='$CPP $CPPFLAGS'
49091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49099 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
49100 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
49101 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
49102 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
49103 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
49104 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
49105 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
49106 echo $ECHO_N "(cached) $ECHO_C" >&6
49107 else
49109 if test x$gcc_no_link = xyes; then
49110 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49112 { (exit 1); exit 1; }; }
49114 cat >conftest.$ac_ext <<_ACEOF
49115 /* confdefs.h. */
49116 _ACEOF
49117 cat confdefs.h >>conftest.$ac_ext
49118 cat >>conftest.$ac_ext <<_ACEOF
49119 /* end confdefs.h. */
49120 #include <math.h>
49122 main ()
49124 __builtin_fabsl(0);
49126 return 0;
49128 _ACEOF
49129 rm -f conftest.$ac_objext conftest$ac_exeext
49130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49131 (eval $ac_link) 2>conftest.er1
49132 ac_status=$?
49133 grep -v '^ *+' conftest.er1 >conftest.err
49134 rm -f conftest.er1
49135 cat conftest.err >&5
49136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49137 (exit $ac_status); } &&
49138 { ac_try='test -z "$ac_c_werror_flag"
49139 || test ! -s conftest.err'
49140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49141 (eval $ac_try) 2>&5
49142 ac_status=$?
49143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49144 (exit $ac_status); }; } &&
49145 { ac_try='test -s conftest$ac_exeext'
49146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49147 (eval $ac_try) 2>&5
49148 ac_status=$?
49149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49150 (exit $ac_status); }; }; then
49151 glibcxx_cv_func___builtin_fabsl_link=yes
49152 else
49153 echo "$as_me: failed program was:" >&5
49154 sed 's/^/| /' conftest.$ac_ext >&5
49156 glibcxx_cv_func___builtin_fabsl_link=no
49158 rm -f conftest.err conftest.$ac_objext \
49159 conftest$ac_exeext conftest.$ac_ext
49164 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
49165 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
49167 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
49169 cat >>confdefs.h <<\_ACEOF
49170 #define HAVE___BUILTIN_FABSL 1
49171 _ACEOF
49178 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
49179 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
49180 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
49181 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
49182 echo $ECHO_N "(cached) $ECHO_C" >&6
49183 else
49187 ac_ext=cc
49188 ac_cpp='$CXXCPP $CPPFLAGS'
49189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49193 cat >conftest.$ac_ext <<_ACEOF
49194 /* confdefs.h. */
49195 _ACEOF
49196 cat confdefs.h >>conftest.$ac_ext
49197 cat >>conftest.$ac_ext <<_ACEOF
49198 /* end confdefs.h. */
49199 #include <math.h>
49201 main ()
49203 __builtin_labs(0);
49205 return 0;
49207 _ACEOF
49208 rm -f conftest.$ac_objext
49209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49210 (eval $ac_compile) 2>conftest.er1
49211 ac_status=$?
49212 grep -v '^ *+' conftest.er1 >conftest.err
49213 rm -f conftest.er1
49214 cat conftest.err >&5
49215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49216 (exit $ac_status); } &&
49217 { ac_try='test -z "$ac_cxx_werror_flag"
49218 || test ! -s conftest.err'
49219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49220 (eval $ac_try) 2>&5
49221 ac_status=$?
49222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49223 (exit $ac_status); }; } &&
49224 { ac_try='test -s conftest.$ac_objext'
49225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49226 (eval $ac_try) 2>&5
49227 ac_status=$?
49228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49229 (exit $ac_status); }; }; then
49230 glibcxx_cv_func___builtin_labs_use=yes
49231 else
49232 echo "$as_me: failed program was:" >&5
49233 sed 's/^/| /' conftest.$ac_ext >&5
49235 glibcxx_cv_func___builtin_labs_use=no
49237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49238 ac_ext=c
49239 ac_cpp='$CPP $CPPFLAGS'
49240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49248 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
49249 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
49250 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
49251 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
49252 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
49253 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
49254 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
49255 echo $ECHO_N "(cached) $ECHO_C" >&6
49256 else
49258 if test x$gcc_no_link = xyes; then
49259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49261 { (exit 1); exit 1; }; }
49263 cat >conftest.$ac_ext <<_ACEOF
49264 /* confdefs.h. */
49265 _ACEOF
49266 cat confdefs.h >>conftest.$ac_ext
49267 cat >>conftest.$ac_ext <<_ACEOF
49268 /* end confdefs.h. */
49269 #include <math.h>
49271 main ()
49273 __builtin_labs(0);
49275 return 0;
49277 _ACEOF
49278 rm -f conftest.$ac_objext conftest$ac_exeext
49279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49280 (eval $ac_link) 2>conftest.er1
49281 ac_status=$?
49282 grep -v '^ *+' conftest.er1 >conftest.err
49283 rm -f conftest.er1
49284 cat conftest.err >&5
49285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49286 (exit $ac_status); } &&
49287 { ac_try='test -z "$ac_c_werror_flag"
49288 || test ! -s conftest.err'
49289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49290 (eval $ac_try) 2>&5
49291 ac_status=$?
49292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49293 (exit $ac_status); }; } &&
49294 { ac_try='test -s conftest$ac_exeext'
49295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49296 (eval $ac_try) 2>&5
49297 ac_status=$?
49298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49299 (exit $ac_status); }; }; then
49300 glibcxx_cv_func___builtin_labs_link=yes
49301 else
49302 echo "$as_me: failed program was:" >&5
49303 sed 's/^/| /' conftest.$ac_ext >&5
49305 glibcxx_cv_func___builtin_labs_link=no
49307 rm -f conftest.err conftest.$ac_objext \
49308 conftest$ac_exeext conftest.$ac_ext
49313 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
49314 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
49316 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
49318 cat >>confdefs.h <<\_ACEOF
49319 #define HAVE___BUILTIN_LABS 1
49320 _ACEOF
49328 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
49329 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
49330 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
49331 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
49332 echo $ECHO_N "(cached) $ECHO_C" >&6
49333 else
49337 ac_ext=cc
49338 ac_cpp='$CXXCPP $CPPFLAGS'
49339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49343 cat >conftest.$ac_ext <<_ACEOF
49344 /* confdefs.h. */
49345 _ACEOF
49346 cat confdefs.h >>conftest.$ac_ext
49347 cat >>conftest.$ac_ext <<_ACEOF
49348 /* end confdefs.h. */
49349 #include <math.h>
49351 main ()
49353 __builtin_sqrtf(0);
49355 return 0;
49357 _ACEOF
49358 rm -f conftest.$ac_objext
49359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49360 (eval $ac_compile) 2>conftest.er1
49361 ac_status=$?
49362 grep -v '^ *+' conftest.er1 >conftest.err
49363 rm -f conftest.er1
49364 cat conftest.err >&5
49365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49366 (exit $ac_status); } &&
49367 { ac_try='test -z "$ac_cxx_werror_flag"
49368 || test ! -s conftest.err'
49369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49370 (eval $ac_try) 2>&5
49371 ac_status=$?
49372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49373 (exit $ac_status); }; } &&
49374 { ac_try='test -s conftest.$ac_objext'
49375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49376 (eval $ac_try) 2>&5
49377 ac_status=$?
49378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49379 (exit $ac_status); }; }; then
49380 glibcxx_cv_func___builtin_sqrtf_use=yes
49381 else
49382 echo "$as_me: failed program was:" >&5
49383 sed 's/^/| /' conftest.$ac_ext >&5
49385 glibcxx_cv_func___builtin_sqrtf_use=no
49387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49388 ac_ext=c
49389 ac_cpp='$CPP $CPPFLAGS'
49390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49398 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
49399 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
49400 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
49401 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
49402 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
49403 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
49404 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
49405 echo $ECHO_N "(cached) $ECHO_C" >&6
49406 else
49408 if test x$gcc_no_link = xyes; then
49409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49411 { (exit 1); exit 1; }; }
49413 cat >conftest.$ac_ext <<_ACEOF
49414 /* confdefs.h. */
49415 _ACEOF
49416 cat confdefs.h >>conftest.$ac_ext
49417 cat >>conftest.$ac_ext <<_ACEOF
49418 /* end confdefs.h. */
49419 #include <math.h>
49421 main ()
49423 __builtin_sqrtf(0);
49425 return 0;
49427 _ACEOF
49428 rm -f conftest.$ac_objext conftest$ac_exeext
49429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49430 (eval $ac_link) 2>conftest.er1
49431 ac_status=$?
49432 grep -v '^ *+' conftest.er1 >conftest.err
49433 rm -f conftest.er1
49434 cat conftest.err >&5
49435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49436 (exit $ac_status); } &&
49437 { ac_try='test -z "$ac_c_werror_flag"
49438 || test ! -s conftest.err'
49439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49440 (eval $ac_try) 2>&5
49441 ac_status=$?
49442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49443 (exit $ac_status); }; } &&
49444 { ac_try='test -s conftest$ac_exeext'
49445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49446 (eval $ac_try) 2>&5
49447 ac_status=$?
49448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49449 (exit $ac_status); }; }; then
49450 glibcxx_cv_func___builtin_sqrtf_link=yes
49451 else
49452 echo "$as_me: failed program was:" >&5
49453 sed 's/^/| /' conftest.$ac_ext >&5
49455 glibcxx_cv_func___builtin_sqrtf_link=no
49457 rm -f conftest.err conftest.$ac_objext \
49458 conftest$ac_exeext conftest.$ac_ext
49463 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
49464 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
49466 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
49468 cat >>confdefs.h <<\_ACEOF
49469 #define HAVE___BUILTIN_SQRTF 1
49470 _ACEOF
49477 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
49478 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
49479 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
49480 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
49481 echo $ECHO_N "(cached) $ECHO_C" >&6
49482 else
49486 ac_ext=cc
49487 ac_cpp='$CXXCPP $CPPFLAGS'
49488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49492 cat >conftest.$ac_ext <<_ACEOF
49493 /* confdefs.h. */
49494 _ACEOF
49495 cat confdefs.h >>conftest.$ac_ext
49496 cat >>conftest.$ac_ext <<_ACEOF
49497 /* end confdefs.h. */
49498 #include <math.h>
49500 main ()
49502 __builtin_sqrt(0);
49504 return 0;
49506 _ACEOF
49507 rm -f conftest.$ac_objext
49508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49509 (eval $ac_compile) 2>conftest.er1
49510 ac_status=$?
49511 grep -v '^ *+' conftest.er1 >conftest.err
49512 rm -f conftest.er1
49513 cat conftest.err >&5
49514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49515 (exit $ac_status); } &&
49516 { ac_try='test -z "$ac_cxx_werror_flag"
49517 || test ! -s conftest.err'
49518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49519 (eval $ac_try) 2>&5
49520 ac_status=$?
49521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49522 (exit $ac_status); }; } &&
49523 { ac_try='test -s conftest.$ac_objext'
49524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49525 (eval $ac_try) 2>&5
49526 ac_status=$?
49527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49528 (exit $ac_status); }; }; then
49529 glibcxx_cv_func___builtin_sqrt_use=yes
49530 else
49531 echo "$as_me: failed program was:" >&5
49532 sed 's/^/| /' conftest.$ac_ext >&5
49534 glibcxx_cv_func___builtin_sqrt_use=no
49536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49537 ac_ext=c
49538 ac_cpp='$CPP $CPPFLAGS'
49539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49547 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
49548 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
49549 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
49550 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
49551 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
49552 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
49553 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
49554 echo $ECHO_N "(cached) $ECHO_C" >&6
49555 else
49557 if test x$gcc_no_link = xyes; then
49558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49560 { (exit 1); exit 1; }; }
49562 cat >conftest.$ac_ext <<_ACEOF
49563 /* confdefs.h. */
49564 _ACEOF
49565 cat confdefs.h >>conftest.$ac_ext
49566 cat >>conftest.$ac_ext <<_ACEOF
49567 /* end confdefs.h. */
49568 #include <math.h>
49570 main ()
49572 __builtin_sqrt(0);
49574 return 0;
49576 _ACEOF
49577 rm -f conftest.$ac_objext conftest$ac_exeext
49578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49579 (eval $ac_link) 2>conftest.er1
49580 ac_status=$?
49581 grep -v '^ *+' conftest.er1 >conftest.err
49582 rm -f conftest.er1
49583 cat conftest.err >&5
49584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49585 (exit $ac_status); } &&
49586 { ac_try='test -z "$ac_c_werror_flag"
49587 || test ! -s conftest.err'
49588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49589 (eval $ac_try) 2>&5
49590 ac_status=$?
49591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49592 (exit $ac_status); }; } &&
49593 { ac_try='test -s conftest$ac_exeext'
49594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49595 (eval $ac_try) 2>&5
49596 ac_status=$?
49597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49598 (exit $ac_status); }; }; then
49599 glibcxx_cv_func___builtin_sqrt_link=yes
49600 else
49601 echo "$as_me: failed program was:" >&5
49602 sed 's/^/| /' conftest.$ac_ext >&5
49604 glibcxx_cv_func___builtin_sqrt_link=no
49606 rm -f conftest.err conftest.$ac_objext \
49607 conftest$ac_exeext conftest.$ac_ext
49612 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
49613 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
49615 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
49617 cat >>confdefs.h <<\_ACEOF
49618 #define HAVE___BUILTIN_SQRT 1
49619 _ACEOF
49626 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
49627 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
49628 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
49629 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
49630 echo $ECHO_N "(cached) $ECHO_C" >&6
49631 else
49635 ac_ext=cc
49636 ac_cpp='$CXXCPP $CPPFLAGS'
49637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49641 cat >conftest.$ac_ext <<_ACEOF
49642 /* confdefs.h. */
49643 _ACEOF
49644 cat confdefs.h >>conftest.$ac_ext
49645 cat >>conftest.$ac_ext <<_ACEOF
49646 /* end confdefs.h. */
49647 #include <math.h>
49649 main ()
49651 __builtin_sqrtl(0);
49653 return 0;
49655 _ACEOF
49656 rm -f conftest.$ac_objext
49657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49658 (eval $ac_compile) 2>conftest.er1
49659 ac_status=$?
49660 grep -v '^ *+' conftest.er1 >conftest.err
49661 rm -f conftest.er1
49662 cat conftest.err >&5
49663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49664 (exit $ac_status); } &&
49665 { ac_try='test -z "$ac_cxx_werror_flag"
49666 || test ! -s conftest.err'
49667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49668 (eval $ac_try) 2>&5
49669 ac_status=$?
49670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49671 (exit $ac_status); }; } &&
49672 { ac_try='test -s conftest.$ac_objext'
49673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49674 (eval $ac_try) 2>&5
49675 ac_status=$?
49676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49677 (exit $ac_status); }; }; then
49678 glibcxx_cv_func___builtin_sqrtl_use=yes
49679 else
49680 echo "$as_me: failed program was:" >&5
49681 sed 's/^/| /' conftest.$ac_ext >&5
49683 glibcxx_cv_func___builtin_sqrtl_use=no
49685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49686 ac_ext=c
49687 ac_cpp='$CPP $CPPFLAGS'
49688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49696 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
49697 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
49698 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
49699 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
49700 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
49701 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
49702 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
49703 echo $ECHO_N "(cached) $ECHO_C" >&6
49704 else
49706 if test x$gcc_no_link = xyes; then
49707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49709 { (exit 1); exit 1; }; }
49711 cat >conftest.$ac_ext <<_ACEOF
49712 /* confdefs.h. */
49713 _ACEOF
49714 cat confdefs.h >>conftest.$ac_ext
49715 cat >>conftest.$ac_ext <<_ACEOF
49716 /* end confdefs.h. */
49717 #include <math.h>
49719 main ()
49721 __builtin_sqrtl(0);
49723 return 0;
49725 _ACEOF
49726 rm -f conftest.$ac_objext conftest$ac_exeext
49727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49728 (eval $ac_link) 2>conftest.er1
49729 ac_status=$?
49730 grep -v '^ *+' conftest.er1 >conftest.err
49731 rm -f conftest.er1
49732 cat conftest.err >&5
49733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49734 (exit $ac_status); } &&
49735 { ac_try='test -z "$ac_c_werror_flag"
49736 || test ! -s conftest.err'
49737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49738 (eval $ac_try) 2>&5
49739 ac_status=$?
49740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49741 (exit $ac_status); }; } &&
49742 { ac_try='test -s conftest$ac_exeext'
49743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49744 (eval $ac_try) 2>&5
49745 ac_status=$?
49746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49747 (exit $ac_status); }; }; then
49748 glibcxx_cv_func___builtin_sqrtl_link=yes
49749 else
49750 echo "$as_me: failed program was:" >&5
49751 sed 's/^/| /' conftest.$ac_ext >&5
49753 glibcxx_cv_func___builtin_sqrtl_link=no
49755 rm -f conftest.err conftest.$ac_objext \
49756 conftest$ac_exeext conftest.$ac_ext
49761 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
49762 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
49764 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
49766 cat >>confdefs.h <<\_ACEOF
49767 #define HAVE___BUILTIN_SQRTL 1
49768 _ACEOF
49776 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
49777 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
49778 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
49779 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
49780 echo $ECHO_N "(cached) $ECHO_C" >&6
49781 else
49785 ac_ext=cc
49786 ac_cpp='$CXXCPP $CPPFLAGS'
49787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49791 cat >conftest.$ac_ext <<_ACEOF
49792 /* confdefs.h. */
49793 _ACEOF
49794 cat confdefs.h >>conftest.$ac_ext
49795 cat >>conftest.$ac_ext <<_ACEOF
49796 /* end confdefs.h. */
49797 #include <math.h>
49799 main ()
49801 __builtin_sinf(0);
49803 return 0;
49805 _ACEOF
49806 rm -f conftest.$ac_objext
49807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49808 (eval $ac_compile) 2>conftest.er1
49809 ac_status=$?
49810 grep -v '^ *+' conftest.er1 >conftest.err
49811 rm -f conftest.er1
49812 cat conftest.err >&5
49813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49814 (exit $ac_status); } &&
49815 { ac_try='test -z "$ac_cxx_werror_flag"
49816 || test ! -s conftest.err'
49817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49818 (eval $ac_try) 2>&5
49819 ac_status=$?
49820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49821 (exit $ac_status); }; } &&
49822 { ac_try='test -s conftest.$ac_objext'
49823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49824 (eval $ac_try) 2>&5
49825 ac_status=$?
49826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49827 (exit $ac_status); }; }; then
49828 glibcxx_cv_func___builtin_sinf_use=yes
49829 else
49830 echo "$as_me: failed program was:" >&5
49831 sed 's/^/| /' conftest.$ac_ext >&5
49833 glibcxx_cv_func___builtin_sinf_use=no
49835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49836 ac_ext=c
49837 ac_cpp='$CPP $CPPFLAGS'
49838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49846 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
49847 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
49848 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
49849 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
49850 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
49851 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
49852 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
49853 echo $ECHO_N "(cached) $ECHO_C" >&6
49854 else
49856 if test x$gcc_no_link = xyes; then
49857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49859 { (exit 1); exit 1; }; }
49861 cat >conftest.$ac_ext <<_ACEOF
49862 /* confdefs.h. */
49863 _ACEOF
49864 cat confdefs.h >>conftest.$ac_ext
49865 cat >>conftest.$ac_ext <<_ACEOF
49866 /* end confdefs.h. */
49867 #include <math.h>
49869 main ()
49871 __builtin_sinf(0);
49873 return 0;
49875 _ACEOF
49876 rm -f conftest.$ac_objext conftest$ac_exeext
49877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49878 (eval $ac_link) 2>conftest.er1
49879 ac_status=$?
49880 grep -v '^ *+' conftest.er1 >conftest.err
49881 rm -f conftest.er1
49882 cat conftest.err >&5
49883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49884 (exit $ac_status); } &&
49885 { ac_try='test -z "$ac_c_werror_flag"
49886 || test ! -s conftest.err'
49887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49888 (eval $ac_try) 2>&5
49889 ac_status=$?
49890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49891 (exit $ac_status); }; } &&
49892 { ac_try='test -s conftest$ac_exeext'
49893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49894 (eval $ac_try) 2>&5
49895 ac_status=$?
49896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49897 (exit $ac_status); }; }; then
49898 glibcxx_cv_func___builtin_sinf_link=yes
49899 else
49900 echo "$as_me: failed program was:" >&5
49901 sed 's/^/| /' conftest.$ac_ext >&5
49903 glibcxx_cv_func___builtin_sinf_link=no
49905 rm -f conftest.err conftest.$ac_objext \
49906 conftest$ac_exeext conftest.$ac_ext
49911 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
49912 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
49914 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
49916 cat >>confdefs.h <<\_ACEOF
49917 #define HAVE___BUILTIN_SINF 1
49918 _ACEOF
49925 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
49926 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
49927 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
49928 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
49929 echo $ECHO_N "(cached) $ECHO_C" >&6
49930 else
49934 ac_ext=cc
49935 ac_cpp='$CXXCPP $CPPFLAGS'
49936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49940 cat >conftest.$ac_ext <<_ACEOF
49941 /* confdefs.h. */
49942 _ACEOF
49943 cat confdefs.h >>conftest.$ac_ext
49944 cat >>conftest.$ac_ext <<_ACEOF
49945 /* end confdefs.h. */
49946 #include <math.h>
49948 main ()
49950 __builtin_sin(0);
49952 return 0;
49954 _ACEOF
49955 rm -f conftest.$ac_objext
49956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49957 (eval $ac_compile) 2>conftest.er1
49958 ac_status=$?
49959 grep -v '^ *+' conftest.er1 >conftest.err
49960 rm -f conftest.er1
49961 cat conftest.err >&5
49962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49963 (exit $ac_status); } &&
49964 { ac_try='test -z "$ac_cxx_werror_flag"
49965 || test ! -s conftest.err'
49966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49967 (eval $ac_try) 2>&5
49968 ac_status=$?
49969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49970 (exit $ac_status); }; } &&
49971 { ac_try='test -s conftest.$ac_objext'
49972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49973 (eval $ac_try) 2>&5
49974 ac_status=$?
49975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49976 (exit $ac_status); }; }; then
49977 glibcxx_cv_func___builtin_sin_use=yes
49978 else
49979 echo "$as_me: failed program was:" >&5
49980 sed 's/^/| /' conftest.$ac_ext >&5
49982 glibcxx_cv_func___builtin_sin_use=no
49984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49985 ac_ext=c
49986 ac_cpp='$CPP $CPPFLAGS'
49987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49995 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
49996 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
49997 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
49998 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
49999 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
50000 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
50001 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
50002 echo $ECHO_N "(cached) $ECHO_C" >&6
50003 else
50005 if test x$gcc_no_link = xyes; then
50006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50008 { (exit 1); exit 1; }; }
50010 cat >conftest.$ac_ext <<_ACEOF
50011 /* confdefs.h. */
50012 _ACEOF
50013 cat confdefs.h >>conftest.$ac_ext
50014 cat >>conftest.$ac_ext <<_ACEOF
50015 /* end confdefs.h. */
50016 #include <math.h>
50018 main ()
50020 __builtin_sin(0);
50022 return 0;
50024 _ACEOF
50025 rm -f conftest.$ac_objext conftest$ac_exeext
50026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50027 (eval $ac_link) 2>conftest.er1
50028 ac_status=$?
50029 grep -v '^ *+' conftest.er1 >conftest.err
50030 rm -f conftest.er1
50031 cat conftest.err >&5
50032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50033 (exit $ac_status); } &&
50034 { ac_try='test -z "$ac_c_werror_flag"
50035 || test ! -s conftest.err'
50036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50037 (eval $ac_try) 2>&5
50038 ac_status=$?
50039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50040 (exit $ac_status); }; } &&
50041 { ac_try='test -s conftest$ac_exeext'
50042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50043 (eval $ac_try) 2>&5
50044 ac_status=$?
50045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50046 (exit $ac_status); }; }; then
50047 glibcxx_cv_func___builtin_sin_link=yes
50048 else
50049 echo "$as_me: failed program was:" >&5
50050 sed 's/^/| /' conftest.$ac_ext >&5
50052 glibcxx_cv_func___builtin_sin_link=no
50054 rm -f conftest.err conftest.$ac_objext \
50055 conftest$ac_exeext conftest.$ac_ext
50060 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
50061 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
50063 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
50065 cat >>confdefs.h <<\_ACEOF
50066 #define HAVE___BUILTIN_SIN 1
50067 _ACEOF
50074 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
50075 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
50076 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
50077 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
50078 echo $ECHO_N "(cached) $ECHO_C" >&6
50079 else
50083 ac_ext=cc
50084 ac_cpp='$CXXCPP $CPPFLAGS'
50085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50089 cat >conftest.$ac_ext <<_ACEOF
50090 /* confdefs.h. */
50091 _ACEOF
50092 cat confdefs.h >>conftest.$ac_ext
50093 cat >>conftest.$ac_ext <<_ACEOF
50094 /* end confdefs.h. */
50095 #include <math.h>
50097 main ()
50099 __builtin_sinl(0);
50101 return 0;
50103 _ACEOF
50104 rm -f conftest.$ac_objext
50105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50106 (eval $ac_compile) 2>conftest.er1
50107 ac_status=$?
50108 grep -v '^ *+' conftest.er1 >conftest.err
50109 rm -f conftest.er1
50110 cat conftest.err >&5
50111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50112 (exit $ac_status); } &&
50113 { ac_try='test -z "$ac_cxx_werror_flag"
50114 || test ! -s conftest.err'
50115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50116 (eval $ac_try) 2>&5
50117 ac_status=$?
50118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50119 (exit $ac_status); }; } &&
50120 { ac_try='test -s conftest.$ac_objext'
50121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50122 (eval $ac_try) 2>&5
50123 ac_status=$?
50124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50125 (exit $ac_status); }; }; then
50126 glibcxx_cv_func___builtin_sinl_use=yes
50127 else
50128 echo "$as_me: failed program was:" >&5
50129 sed 's/^/| /' conftest.$ac_ext >&5
50131 glibcxx_cv_func___builtin_sinl_use=no
50133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50134 ac_ext=c
50135 ac_cpp='$CPP $CPPFLAGS'
50136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50144 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
50145 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
50146 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
50147 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
50148 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
50149 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
50150 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
50151 echo $ECHO_N "(cached) $ECHO_C" >&6
50152 else
50154 if test x$gcc_no_link = xyes; then
50155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50157 { (exit 1); exit 1; }; }
50159 cat >conftest.$ac_ext <<_ACEOF
50160 /* confdefs.h. */
50161 _ACEOF
50162 cat confdefs.h >>conftest.$ac_ext
50163 cat >>conftest.$ac_ext <<_ACEOF
50164 /* end confdefs.h. */
50165 #include <math.h>
50167 main ()
50169 __builtin_sinl(0);
50171 return 0;
50173 _ACEOF
50174 rm -f conftest.$ac_objext conftest$ac_exeext
50175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50176 (eval $ac_link) 2>conftest.er1
50177 ac_status=$?
50178 grep -v '^ *+' conftest.er1 >conftest.err
50179 rm -f conftest.er1
50180 cat conftest.err >&5
50181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50182 (exit $ac_status); } &&
50183 { ac_try='test -z "$ac_c_werror_flag"
50184 || test ! -s conftest.err'
50185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50186 (eval $ac_try) 2>&5
50187 ac_status=$?
50188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50189 (exit $ac_status); }; } &&
50190 { ac_try='test -s conftest$ac_exeext'
50191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50192 (eval $ac_try) 2>&5
50193 ac_status=$?
50194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50195 (exit $ac_status); }; }; then
50196 glibcxx_cv_func___builtin_sinl_link=yes
50197 else
50198 echo "$as_me: failed program was:" >&5
50199 sed 's/^/| /' conftest.$ac_ext >&5
50201 glibcxx_cv_func___builtin_sinl_link=no
50203 rm -f conftest.err conftest.$ac_objext \
50204 conftest$ac_exeext conftest.$ac_ext
50209 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
50210 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
50212 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
50214 cat >>confdefs.h <<\_ACEOF
50215 #define HAVE___BUILTIN_SINL 1
50216 _ACEOF
50224 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
50225 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
50226 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
50227 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
50228 echo $ECHO_N "(cached) $ECHO_C" >&6
50229 else
50233 ac_ext=cc
50234 ac_cpp='$CXXCPP $CPPFLAGS'
50235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50239 cat >conftest.$ac_ext <<_ACEOF
50240 /* confdefs.h. */
50241 _ACEOF
50242 cat confdefs.h >>conftest.$ac_ext
50243 cat >>conftest.$ac_ext <<_ACEOF
50244 /* end confdefs.h. */
50245 #include <math.h>
50247 main ()
50249 __builtin_cosf(0);
50251 return 0;
50253 _ACEOF
50254 rm -f conftest.$ac_objext
50255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50256 (eval $ac_compile) 2>conftest.er1
50257 ac_status=$?
50258 grep -v '^ *+' conftest.er1 >conftest.err
50259 rm -f conftest.er1
50260 cat conftest.err >&5
50261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50262 (exit $ac_status); } &&
50263 { ac_try='test -z "$ac_cxx_werror_flag"
50264 || test ! -s conftest.err'
50265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50266 (eval $ac_try) 2>&5
50267 ac_status=$?
50268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50269 (exit $ac_status); }; } &&
50270 { ac_try='test -s conftest.$ac_objext'
50271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50272 (eval $ac_try) 2>&5
50273 ac_status=$?
50274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50275 (exit $ac_status); }; }; then
50276 glibcxx_cv_func___builtin_cosf_use=yes
50277 else
50278 echo "$as_me: failed program was:" >&5
50279 sed 's/^/| /' conftest.$ac_ext >&5
50281 glibcxx_cv_func___builtin_cosf_use=no
50283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50284 ac_ext=c
50285 ac_cpp='$CPP $CPPFLAGS'
50286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50294 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
50295 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
50296 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
50297 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
50298 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
50299 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
50300 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
50301 echo $ECHO_N "(cached) $ECHO_C" >&6
50302 else
50304 if test x$gcc_no_link = xyes; then
50305 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50307 { (exit 1); exit 1; }; }
50309 cat >conftest.$ac_ext <<_ACEOF
50310 /* confdefs.h. */
50311 _ACEOF
50312 cat confdefs.h >>conftest.$ac_ext
50313 cat >>conftest.$ac_ext <<_ACEOF
50314 /* end confdefs.h. */
50315 #include <math.h>
50317 main ()
50319 __builtin_cosf(0);
50321 return 0;
50323 _ACEOF
50324 rm -f conftest.$ac_objext conftest$ac_exeext
50325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50326 (eval $ac_link) 2>conftest.er1
50327 ac_status=$?
50328 grep -v '^ *+' conftest.er1 >conftest.err
50329 rm -f conftest.er1
50330 cat conftest.err >&5
50331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50332 (exit $ac_status); } &&
50333 { ac_try='test -z "$ac_c_werror_flag"
50334 || test ! -s conftest.err'
50335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50336 (eval $ac_try) 2>&5
50337 ac_status=$?
50338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50339 (exit $ac_status); }; } &&
50340 { ac_try='test -s conftest$ac_exeext'
50341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50342 (eval $ac_try) 2>&5
50343 ac_status=$?
50344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50345 (exit $ac_status); }; }; then
50346 glibcxx_cv_func___builtin_cosf_link=yes
50347 else
50348 echo "$as_me: failed program was:" >&5
50349 sed 's/^/| /' conftest.$ac_ext >&5
50351 glibcxx_cv_func___builtin_cosf_link=no
50353 rm -f conftest.err conftest.$ac_objext \
50354 conftest$ac_exeext conftest.$ac_ext
50359 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
50360 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
50362 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
50364 cat >>confdefs.h <<\_ACEOF
50365 #define HAVE___BUILTIN_COSF 1
50366 _ACEOF
50373 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
50374 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
50375 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
50376 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
50377 echo $ECHO_N "(cached) $ECHO_C" >&6
50378 else
50382 ac_ext=cc
50383 ac_cpp='$CXXCPP $CPPFLAGS'
50384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50388 cat >conftest.$ac_ext <<_ACEOF
50389 /* confdefs.h. */
50390 _ACEOF
50391 cat confdefs.h >>conftest.$ac_ext
50392 cat >>conftest.$ac_ext <<_ACEOF
50393 /* end confdefs.h. */
50394 #include <math.h>
50396 main ()
50398 __builtin_cos(0);
50400 return 0;
50402 _ACEOF
50403 rm -f conftest.$ac_objext
50404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50405 (eval $ac_compile) 2>conftest.er1
50406 ac_status=$?
50407 grep -v '^ *+' conftest.er1 >conftest.err
50408 rm -f conftest.er1
50409 cat conftest.err >&5
50410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50411 (exit $ac_status); } &&
50412 { ac_try='test -z "$ac_cxx_werror_flag"
50413 || test ! -s conftest.err'
50414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50415 (eval $ac_try) 2>&5
50416 ac_status=$?
50417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50418 (exit $ac_status); }; } &&
50419 { ac_try='test -s conftest.$ac_objext'
50420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50421 (eval $ac_try) 2>&5
50422 ac_status=$?
50423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50424 (exit $ac_status); }; }; then
50425 glibcxx_cv_func___builtin_cos_use=yes
50426 else
50427 echo "$as_me: failed program was:" >&5
50428 sed 's/^/| /' conftest.$ac_ext >&5
50430 glibcxx_cv_func___builtin_cos_use=no
50432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50433 ac_ext=c
50434 ac_cpp='$CPP $CPPFLAGS'
50435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50443 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
50444 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
50445 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
50446 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
50447 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
50448 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
50449 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
50450 echo $ECHO_N "(cached) $ECHO_C" >&6
50451 else
50453 if test x$gcc_no_link = xyes; then
50454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50456 { (exit 1); exit 1; }; }
50458 cat >conftest.$ac_ext <<_ACEOF
50459 /* confdefs.h. */
50460 _ACEOF
50461 cat confdefs.h >>conftest.$ac_ext
50462 cat >>conftest.$ac_ext <<_ACEOF
50463 /* end confdefs.h. */
50464 #include <math.h>
50466 main ()
50468 __builtin_cos(0);
50470 return 0;
50472 _ACEOF
50473 rm -f conftest.$ac_objext conftest$ac_exeext
50474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50475 (eval $ac_link) 2>conftest.er1
50476 ac_status=$?
50477 grep -v '^ *+' conftest.er1 >conftest.err
50478 rm -f conftest.er1
50479 cat conftest.err >&5
50480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50481 (exit $ac_status); } &&
50482 { ac_try='test -z "$ac_c_werror_flag"
50483 || test ! -s conftest.err'
50484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50485 (eval $ac_try) 2>&5
50486 ac_status=$?
50487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50488 (exit $ac_status); }; } &&
50489 { ac_try='test -s conftest$ac_exeext'
50490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50491 (eval $ac_try) 2>&5
50492 ac_status=$?
50493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50494 (exit $ac_status); }; }; then
50495 glibcxx_cv_func___builtin_cos_link=yes
50496 else
50497 echo "$as_me: failed program was:" >&5
50498 sed 's/^/| /' conftest.$ac_ext >&5
50500 glibcxx_cv_func___builtin_cos_link=no
50502 rm -f conftest.err conftest.$ac_objext \
50503 conftest$ac_exeext conftest.$ac_ext
50508 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
50509 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
50511 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
50513 cat >>confdefs.h <<\_ACEOF
50514 #define HAVE___BUILTIN_COS 1
50515 _ACEOF
50522 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
50523 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
50524 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
50525 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
50526 echo $ECHO_N "(cached) $ECHO_C" >&6
50527 else
50531 ac_ext=cc
50532 ac_cpp='$CXXCPP $CPPFLAGS'
50533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50537 cat >conftest.$ac_ext <<_ACEOF
50538 /* confdefs.h. */
50539 _ACEOF
50540 cat confdefs.h >>conftest.$ac_ext
50541 cat >>conftest.$ac_ext <<_ACEOF
50542 /* end confdefs.h. */
50543 #include <math.h>
50545 main ()
50547 __builtin_cosl(0);
50549 return 0;
50551 _ACEOF
50552 rm -f conftest.$ac_objext
50553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50554 (eval $ac_compile) 2>conftest.er1
50555 ac_status=$?
50556 grep -v '^ *+' conftest.er1 >conftest.err
50557 rm -f conftest.er1
50558 cat conftest.err >&5
50559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50560 (exit $ac_status); } &&
50561 { ac_try='test -z "$ac_cxx_werror_flag"
50562 || test ! -s conftest.err'
50563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50564 (eval $ac_try) 2>&5
50565 ac_status=$?
50566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50567 (exit $ac_status); }; } &&
50568 { ac_try='test -s conftest.$ac_objext'
50569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50570 (eval $ac_try) 2>&5
50571 ac_status=$?
50572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50573 (exit $ac_status); }; }; then
50574 glibcxx_cv_func___builtin_cosl_use=yes
50575 else
50576 echo "$as_me: failed program was:" >&5
50577 sed 's/^/| /' conftest.$ac_ext >&5
50579 glibcxx_cv_func___builtin_cosl_use=no
50581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50582 ac_ext=c
50583 ac_cpp='$CPP $CPPFLAGS'
50584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50592 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
50593 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
50594 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
50595 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
50596 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
50597 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
50598 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
50599 echo $ECHO_N "(cached) $ECHO_C" >&6
50600 else
50602 if test x$gcc_no_link = xyes; then
50603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50605 { (exit 1); exit 1; }; }
50607 cat >conftest.$ac_ext <<_ACEOF
50608 /* confdefs.h. */
50609 _ACEOF
50610 cat confdefs.h >>conftest.$ac_ext
50611 cat >>conftest.$ac_ext <<_ACEOF
50612 /* end confdefs.h. */
50613 #include <math.h>
50615 main ()
50617 __builtin_cosl(0);
50619 return 0;
50621 _ACEOF
50622 rm -f conftest.$ac_objext conftest$ac_exeext
50623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50624 (eval $ac_link) 2>conftest.er1
50625 ac_status=$?
50626 grep -v '^ *+' conftest.er1 >conftest.err
50627 rm -f conftest.er1
50628 cat conftest.err >&5
50629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50630 (exit $ac_status); } &&
50631 { ac_try='test -z "$ac_c_werror_flag"
50632 || test ! -s conftest.err'
50633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50634 (eval $ac_try) 2>&5
50635 ac_status=$?
50636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50637 (exit $ac_status); }; } &&
50638 { ac_try='test -s conftest$ac_exeext'
50639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50640 (eval $ac_try) 2>&5
50641 ac_status=$?
50642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50643 (exit $ac_status); }; }; then
50644 glibcxx_cv_func___builtin_cosl_link=yes
50645 else
50646 echo "$as_me: failed program was:" >&5
50647 sed 's/^/| /' conftest.$ac_ext >&5
50649 glibcxx_cv_func___builtin_cosl_link=no
50651 rm -f conftest.err conftest.$ac_objext \
50652 conftest$ac_exeext conftest.$ac_ext
50657 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
50658 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
50660 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
50662 cat >>confdefs.h <<\_ACEOF
50663 #define HAVE___BUILTIN_COSL 1
50664 _ACEOF
50673 echo "$as_me:$LINENO: checking for main in -lm" >&5
50674 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
50675 if test "${ac_cv_lib_m_main+set}" = set; then
50676 echo $ECHO_N "(cached) $ECHO_C" >&6
50677 else
50678 ac_check_lib_save_LIBS=$LIBS
50679 LIBS="-lm $LIBS"
50680 if test x$gcc_no_link = xyes; then
50681 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50683 { (exit 1); exit 1; }; }
50685 cat >conftest.$ac_ext <<_ACEOF
50686 /* confdefs.h. */
50687 _ACEOF
50688 cat confdefs.h >>conftest.$ac_ext
50689 cat >>conftest.$ac_ext <<_ACEOF
50690 /* end confdefs.h. */
50694 main ()
50696 main ();
50698 return 0;
50700 _ACEOF
50701 rm -f conftest.$ac_objext conftest$ac_exeext
50702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50703 (eval $ac_link) 2>conftest.er1
50704 ac_status=$?
50705 grep -v '^ *+' conftest.er1 >conftest.err
50706 rm -f conftest.er1
50707 cat conftest.err >&5
50708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50709 (exit $ac_status); } &&
50710 { ac_try='test -z "$ac_c_werror_flag"
50711 || test ! -s conftest.err'
50712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50713 (eval $ac_try) 2>&5
50714 ac_status=$?
50715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50716 (exit $ac_status); }; } &&
50717 { ac_try='test -s conftest$ac_exeext'
50718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50719 (eval $ac_try) 2>&5
50720 ac_status=$?
50721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50722 (exit $ac_status); }; }; then
50723 ac_cv_lib_m_main=yes
50724 else
50725 echo "$as_me: failed program was:" >&5
50726 sed 's/^/| /' conftest.$ac_ext >&5
50728 ac_cv_lib_m_main=no
50730 rm -f conftest.err conftest.$ac_objext \
50731 conftest$ac_exeext conftest.$ac_ext
50732 LIBS=$ac_check_lib_save_LIBS
50734 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
50735 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
50736 if test $ac_cv_lib_m_main = yes; then
50737 cat >>confdefs.h <<_ACEOF
50738 #define HAVE_LIBM 1
50739 _ACEOF
50741 LIBS="-lm $LIBS"
50746 for ac_func in copysignf
50748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50749 echo "$as_me:$LINENO: checking for $ac_func" >&5
50750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50751 if eval "test \"\${$as_ac_var+set}\" = set"; then
50752 echo $ECHO_N "(cached) $ECHO_C" >&6
50753 else
50754 if test x$gcc_no_link = xyes; then
50755 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50757 { (exit 1); exit 1; }; }
50759 cat >conftest.$ac_ext <<_ACEOF
50760 /* confdefs.h. */
50761 _ACEOF
50762 cat confdefs.h >>conftest.$ac_ext
50763 cat >>conftest.$ac_ext <<_ACEOF
50764 /* end confdefs.h. */
50765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50767 #define $ac_func innocuous_$ac_func
50769 /* System header to define __stub macros and hopefully few prototypes,
50770 which can conflict with char $ac_func (); below.
50771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50772 <limits.h> exists even on freestanding compilers. */
50774 #ifdef __STDC__
50775 # include <limits.h>
50776 #else
50777 # include <assert.h>
50778 #endif
50780 #undef $ac_func
50782 /* Override any gcc2 internal prototype to avoid an error. */
50783 #ifdef __cplusplus
50784 extern "C"
50786 #endif
50787 /* We use char because int might match the return type of a gcc2
50788 builtin and then its argument prototype would still apply. */
50789 char $ac_func ();
50790 /* The GNU C library defines this for functions which it implements
50791 to always fail with ENOSYS. Some functions are actually named
50792 something starting with __ and the normal name is an alias. */
50793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50794 choke me
50795 #else
50796 char (*f) () = $ac_func;
50797 #endif
50798 #ifdef __cplusplus
50800 #endif
50803 main ()
50805 return f != $ac_func;
50807 return 0;
50809 _ACEOF
50810 rm -f conftest.$ac_objext conftest$ac_exeext
50811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50812 (eval $ac_link) 2>conftest.er1
50813 ac_status=$?
50814 grep -v '^ *+' conftest.er1 >conftest.err
50815 rm -f conftest.er1
50816 cat conftest.err >&5
50817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50818 (exit $ac_status); } &&
50819 { ac_try='test -z "$ac_c_werror_flag"
50820 || test ! -s conftest.err'
50821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50822 (eval $ac_try) 2>&5
50823 ac_status=$?
50824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50825 (exit $ac_status); }; } &&
50826 { ac_try='test -s conftest$ac_exeext'
50827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50828 (eval $ac_try) 2>&5
50829 ac_status=$?
50830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50831 (exit $ac_status); }; }; then
50832 eval "$as_ac_var=yes"
50833 else
50834 echo "$as_me: failed program was:" >&5
50835 sed 's/^/| /' conftest.$ac_ext >&5
50837 eval "$as_ac_var=no"
50839 rm -f conftest.err conftest.$ac_objext \
50840 conftest$ac_exeext conftest.$ac_ext
50842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50844 if test `eval echo '${'$as_ac_var'}'` = yes; then
50845 cat >>confdefs.h <<_ACEOF
50846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50847 _ACEOF
50849 else
50850 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
50852 done
50856 for ac_func in __signbit
50858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50859 echo "$as_me:$LINENO: checking for $ac_func" >&5
50860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50861 if eval "test \"\${$as_ac_var+set}\" = set"; then
50862 echo $ECHO_N "(cached) $ECHO_C" >&6
50863 else
50864 if test x$gcc_no_link = xyes; then
50865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50867 { (exit 1); exit 1; }; }
50869 cat >conftest.$ac_ext <<_ACEOF
50870 /* confdefs.h. */
50871 _ACEOF
50872 cat confdefs.h >>conftest.$ac_ext
50873 cat >>conftest.$ac_ext <<_ACEOF
50874 /* end confdefs.h. */
50875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50877 #define $ac_func innocuous_$ac_func
50879 /* System header to define __stub macros and hopefully few prototypes,
50880 which can conflict with char $ac_func (); below.
50881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50882 <limits.h> exists even on freestanding compilers. */
50884 #ifdef __STDC__
50885 # include <limits.h>
50886 #else
50887 # include <assert.h>
50888 #endif
50890 #undef $ac_func
50892 /* Override any gcc2 internal prototype to avoid an error. */
50893 #ifdef __cplusplus
50894 extern "C"
50896 #endif
50897 /* We use char because int might match the return type of a gcc2
50898 builtin and then its argument prototype would still apply. */
50899 char $ac_func ();
50900 /* The GNU C library defines this for functions which it implements
50901 to always fail with ENOSYS. Some functions are actually named
50902 something starting with __ and the normal name is an alias. */
50903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50904 choke me
50905 #else
50906 char (*f) () = $ac_func;
50907 #endif
50908 #ifdef __cplusplus
50910 #endif
50913 main ()
50915 return f != $ac_func;
50917 return 0;
50919 _ACEOF
50920 rm -f conftest.$ac_objext conftest$ac_exeext
50921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50922 (eval $ac_link) 2>conftest.er1
50923 ac_status=$?
50924 grep -v '^ *+' conftest.er1 >conftest.err
50925 rm -f conftest.er1
50926 cat conftest.err >&5
50927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50928 (exit $ac_status); } &&
50929 { ac_try='test -z "$ac_c_werror_flag"
50930 || test ! -s conftest.err'
50931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50932 (eval $ac_try) 2>&5
50933 ac_status=$?
50934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50935 (exit $ac_status); }; } &&
50936 { ac_try='test -s conftest$ac_exeext'
50937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50938 (eval $ac_try) 2>&5
50939 ac_status=$?
50940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50941 (exit $ac_status); }; }; then
50942 eval "$as_ac_var=yes"
50943 else
50944 echo "$as_me: failed program was:" >&5
50945 sed 's/^/| /' conftest.$ac_ext >&5
50947 eval "$as_ac_var=no"
50949 rm -f conftest.err conftest.$ac_objext \
50950 conftest$ac_exeext conftest.$ac_ext
50952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50954 if test `eval echo '${'$as_ac_var'}'` = yes; then
50955 cat >>confdefs.h <<_ACEOF
50956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50957 _ACEOF
50959 else
50960 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
50962 done
50966 for ac_func in __signbitf
50968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50969 echo "$as_me:$LINENO: checking for $ac_func" >&5
50970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50971 if eval "test \"\${$as_ac_var+set}\" = set"; then
50972 echo $ECHO_N "(cached) $ECHO_C" >&6
50973 else
50974 if test x$gcc_no_link = xyes; then
50975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50977 { (exit 1); exit 1; }; }
50979 cat >conftest.$ac_ext <<_ACEOF
50980 /* confdefs.h. */
50981 _ACEOF
50982 cat confdefs.h >>conftest.$ac_ext
50983 cat >>conftest.$ac_ext <<_ACEOF
50984 /* end confdefs.h. */
50985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50987 #define $ac_func innocuous_$ac_func
50989 /* System header to define __stub macros and hopefully few prototypes,
50990 which can conflict with char $ac_func (); below.
50991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50992 <limits.h> exists even on freestanding compilers. */
50994 #ifdef __STDC__
50995 # include <limits.h>
50996 #else
50997 # include <assert.h>
50998 #endif
51000 #undef $ac_func
51002 /* Override any gcc2 internal prototype to avoid an error. */
51003 #ifdef __cplusplus
51004 extern "C"
51006 #endif
51007 /* We use char because int might match the return type of a gcc2
51008 builtin and then its argument prototype would still apply. */
51009 char $ac_func ();
51010 /* The GNU C library defines this for functions which it implements
51011 to always fail with ENOSYS. Some functions are actually named
51012 something starting with __ and the normal name is an alias. */
51013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51014 choke me
51015 #else
51016 char (*f) () = $ac_func;
51017 #endif
51018 #ifdef __cplusplus
51020 #endif
51023 main ()
51025 return f != $ac_func;
51027 return 0;
51029 _ACEOF
51030 rm -f conftest.$ac_objext conftest$ac_exeext
51031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51032 (eval $ac_link) 2>conftest.er1
51033 ac_status=$?
51034 grep -v '^ *+' conftest.er1 >conftest.err
51035 rm -f conftest.er1
51036 cat conftest.err >&5
51037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51038 (exit $ac_status); } &&
51039 { ac_try='test -z "$ac_c_werror_flag"
51040 || test ! -s conftest.err'
51041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51042 (eval $ac_try) 2>&5
51043 ac_status=$?
51044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51045 (exit $ac_status); }; } &&
51046 { ac_try='test -s conftest$ac_exeext'
51047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51048 (eval $ac_try) 2>&5
51049 ac_status=$?
51050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51051 (exit $ac_status); }; }; then
51052 eval "$as_ac_var=yes"
51053 else
51054 echo "$as_me: failed program was:" >&5
51055 sed 's/^/| /' conftest.$ac_ext >&5
51057 eval "$as_ac_var=no"
51059 rm -f conftest.err conftest.$ac_objext \
51060 conftest$ac_exeext conftest.$ac_ext
51062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51064 if test `eval echo '${'$as_ac_var'}'` = yes; then
51065 cat >>confdefs.h <<_ACEOF
51066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51067 _ACEOF
51069 else
51070 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
51072 done
51075 if test x$ac_cv_func_copysignl = x"yes"; then
51077 for ac_func in __signbitl
51079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51080 echo "$as_me:$LINENO: checking for $ac_func" >&5
51081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51082 if eval "test \"\${$as_ac_var+set}\" = set"; then
51083 echo $ECHO_N "(cached) $ECHO_C" >&6
51084 else
51085 if test x$gcc_no_link = xyes; then
51086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51088 { (exit 1); exit 1; }; }
51090 cat >conftest.$ac_ext <<_ACEOF
51091 /* confdefs.h. */
51092 _ACEOF
51093 cat confdefs.h >>conftest.$ac_ext
51094 cat >>conftest.$ac_ext <<_ACEOF
51095 /* end confdefs.h. */
51096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51098 #define $ac_func innocuous_$ac_func
51100 /* System header to define __stub macros and hopefully few prototypes,
51101 which can conflict with char $ac_func (); below.
51102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51103 <limits.h> exists even on freestanding compilers. */
51105 #ifdef __STDC__
51106 # include <limits.h>
51107 #else
51108 # include <assert.h>
51109 #endif
51111 #undef $ac_func
51113 /* Override any gcc2 internal prototype to avoid an error. */
51114 #ifdef __cplusplus
51115 extern "C"
51117 #endif
51118 /* We use char because int might match the return type of a gcc2
51119 builtin and then its argument prototype would still apply. */
51120 char $ac_func ();
51121 /* The GNU C library defines this for functions which it implements
51122 to always fail with ENOSYS. Some functions are actually named
51123 something starting with __ and the normal name is an alias. */
51124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51125 choke me
51126 #else
51127 char (*f) () = $ac_func;
51128 #endif
51129 #ifdef __cplusplus
51131 #endif
51134 main ()
51136 return f != $ac_func;
51138 return 0;
51140 _ACEOF
51141 rm -f conftest.$ac_objext conftest$ac_exeext
51142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51143 (eval $ac_link) 2>conftest.er1
51144 ac_status=$?
51145 grep -v '^ *+' conftest.er1 >conftest.err
51146 rm -f conftest.er1
51147 cat conftest.err >&5
51148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51149 (exit $ac_status); } &&
51150 { ac_try='test -z "$ac_c_werror_flag"
51151 || test ! -s conftest.err'
51152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51153 (eval $ac_try) 2>&5
51154 ac_status=$?
51155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51156 (exit $ac_status); }; } &&
51157 { ac_try='test -s conftest$ac_exeext'
51158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51159 (eval $ac_try) 2>&5
51160 ac_status=$?
51161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51162 (exit $ac_status); }; }; then
51163 eval "$as_ac_var=yes"
51164 else
51165 echo "$as_me: failed program was:" >&5
51166 sed 's/^/| /' conftest.$ac_ext >&5
51168 eval "$as_ac_var=no"
51170 rm -f conftest.err conftest.$ac_objext \
51171 conftest$ac_exeext conftest.$ac_ext
51173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51175 if test `eval echo '${'$as_ac_var'}'` = yes; then
51176 cat >>confdefs.h <<_ACEOF
51177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51178 _ACEOF
51180 else
51181 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
51183 done
51187 # Used in libmath/Makefile.am.
51188 if test -n "$LIBMATHOBJS"; then
51189 need_libmath=yes
51195 enable_iconv=no
51196 # Only continue checking if the ISO C99 headers exist and support is on.
51197 if test x"$enable_wchar_t" = xyes; then
51199 # Use iconv for wchar_t to char conversions. As such, check for
51200 # X/Open Portability Guide, version 2 features (XPG2).
51201 if test "${ac_cv_header_iconv_h+set}" = set; then
51202 echo "$as_me:$LINENO: checking for iconv.h" >&5
51203 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51204 if test "${ac_cv_header_iconv_h+set}" = set; then
51205 echo $ECHO_N "(cached) $ECHO_C" >&6
51207 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51208 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51209 else
51210 # Is the header compilable?
51211 echo "$as_me:$LINENO: checking iconv.h usability" >&5
51212 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
51213 cat >conftest.$ac_ext <<_ACEOF
51214 /* confdefs.h. */
51215 _ACEOF
51216 cat confdefs.h >>conftest.$ac_ext
51217 cat >>conftest.$ac_ext <<_ACEOF
51218 /* end confdefs.h. */
51219 $ac_includes_default
51220 #include <iconv.h>
51221 _ACEOF
51222 rm -f conftest.$ac_objext
51223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51224 (eval $ac_compile) 2>conftest.er1
51225 ac_status=$?
51226 grep -v '^ *+' conftest.er1 >conftest.err
51227 rm -f conftest.er1
51228 cat conftest.err >&5
51229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51230 (exit $ac_status); } &&
51231 { ac_try='test -z "$ac_c_werror_flag"
51232 || test ! -s conftest.err'
51233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51234 (eval $ac_try) 2>&5
51235 ac_status=$?
51236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51237 (exit $ac_status); }; } &&
51238 { ac_try='test -s conftest.$ac_objext'
51239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51240 (eval $ac_try) 2>&5
51241 ac_status=$?
51242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51243 (exit $ac_status); }; }; then
51244 ac_header_compiler=yes
51245 else
51246 echo "$as_me: failed program was:" >&5
51247 sed 's/^/| /' conftest.$ac_ext >&5
51249 ac_header_compiler=no
51251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51252 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51253 echo "${ECHO_T}$ac_header_compiler" >&6
51255 # Is the header present?
51256 echo "$as_me:$LINENO: checking iconv.h presence" >&5
51257 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
51258 cat >conftest.$ac_ext <<_ACEOF
51259 /* confdefs.h. */
51260 _ACEOF
51261 cat confdefs.h >>conftest.$ac_ext
51262 cat >>conftest.$ac_ext <<_ACEOF
51263 /* end confdefs.h. */
51264 #include <iconv.h>
51265 _ACEOF
51266 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51267 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51268 ac_status=$?
51269 grep -v '^ *+' conftest.er1 >conftest.err
51270 rm -f conftest.er1
51271 cat conftest.err >&5
51272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51273 (exit $ac_status); } >/dev/null; then
51274 if test -s conftest.err; then
51275 ac_cpp_err=$ac_c_preproc_warn_flag
51276 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51277 else
51278 ac_cpp_err=
51280 else
51281 ac_cpp_err=yes
51283 if test -z "$ac_cpp_err"; then
51284 ac_header_preproc=yes
51285 else
51286 echo "$as_me: failed program was:" >&5
51287 sed 's/^/| /' conftest.$ac_ext >&5
51289 ac_header_preproc=no
51291 rm -f conftest.err conftest.$ac_ext
51292 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51293 echo "${ECHO_T}$ac_header_preproc" >&6
51295 # So? What about this header?
51296 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51297 yes:no: )
51298 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
51299 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51300 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
51301 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
51302 ac_header_preproc=yes
51304 no:yes:* )
51305 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
51306 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
51307 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
51308 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
51309 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
51310 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
51311 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
51312 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
51313 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
51314 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
51315 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
51316 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
51318 cat <<\_ASBOX
51319 ## ----------------------------------------- ##
51320 ## Report this to the package-unused lists. ##
51321 ## ----------------------------------------- ##
51322 _ASBOX
51324 sed "s/^/$as_me: WARNING: /" >&2
51326 esac
51327 echo "$as_me:$LINENO: checking for iconv.h" >&5
51328 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51329 if test "${ac_cv_header_iconv_h+set}" = set; then
51330 echo $ECHO_N "(cached) $ECHO_C" >&6
51331 else
51332 ac_cv_header_iconv_h=$ac_header_preproc
51334 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51335 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51338 if test $ac_cv_header_iconv_h = yes; then
51339 ac_has_iconv_h=yes
51340 else
51341 ac_has_iconv_h=no
51345 if test "${ac_cv_header_langinfo_h+set}" = set; then
51346 echo "$as_me:$LINENO: checking for langinfo.h" >&5
51347 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51348 if test "${ac_cv_header_langinfo_h+set}" = set; then
51349 echo $ECHO_N "(cached) $ECHO_C" >&6
51351 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51352 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51353 else
51354 # Is the header compilable?
51355 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
51356 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
51357 cat >conftest.$ac_ext <<_ACEOF
51358 /* confdefs.h. */
51359 _ACEOF
51360 cat confdefs.h >>conftest.$ac_ext
51361 cat >>conftest.$ac_ext <<_ACEOF
51362 /* end confdefs.h. */
51363 $ac_includes_default
51364 #include <langinfo.h>
51365 _ACEOF
51366 rm -f conftest.$ac_objext
51367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51368 (eval $ac_compile) 2>conftest.er1
51369 ac_status=$?
51370 grep -v '^ *+' conftest.er1 >conftest.err
51371 rm -f conftest.er1
51372 cat conftest.err >&5
51373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51374 (exit $ac_status); } &&
51375 { ac_try='test -z "$ac_c_werror_flag"
51376 || test ! -s conftest.err'
51377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51378 (eval $ac_try) 2>&5
51379 ac_status=$?
51380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51381 (exit $ac_status); }; } &&
51382 { ac_try='test -s conftest.$ac_objext'
51383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51384 (eval $ac_try) 2>&5
51385 ac_status=$?
51386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51387 (exit $ac_status); }; }; then
51388 ac_header_compiler=yes
51389 else
51390 echo "$as_me: failed program was:" >&5
51391 sed 's/^/| /' conftest.$ac_ext >&5
51393 ac_header_compiler=no
51395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51396 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51397 echo "${ECHO_T}$ac_header_compiler" >&6
51399 # Is the header present?
51400 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
51401 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
51402 cat >conftest.$ac_ext <<_ACEOF
51403 /* confdefs.h. */
51404 _ACEOF
51405 cat confdefs.h >>conftest.$ac_ext
51406 cat >>conftest.$ac_ext <<_ACEOF
51407 /* end confdefs.h. */
51408 #include <langinfo.h>
51409 _ACEOF
51410 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51411 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51412 ac_status=$?
51413 grep -v '^ *+' conftest.er1 >conftest.err
51414 rm -f conftest.er1
51415 cat conftest.err >&5
51416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51417 (exit $ac_status); } >/dev/null; then
51418 if test -s conftest.err; then
51419 ac_cpp_err=$ac_c_preproc_warn_flag
51420 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51421 else
51422 ac_cpp_err=
51424 else
51425 ac_cpp_err=yes
51427 if test -z "$ac_cpp_err"; then
51428 ac_header_preproc=yes
51429 else
51430 echo "$as_me: failed program was:" >&5
51431 sed 's/^/| /' conftest.$ac_ext >&5
51433 ac_header_preproc=no
51435 rm -f conftest.err conftest.$ac_ext
51436 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51437 echo "${ECHO_T}$ac_header_preproc" >&6
51439 # So? What about this header?
51440 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51441 yes:no: )
51442 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
51443 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51444 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
51445 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
51446 ac_header_preproc=yes
51448 no:yes:* )
51449 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
51450 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
51451 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
51452 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
51453 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
51454 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
51455 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
51456 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
51457 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
51458 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
51459 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
51460 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
51462 cat <<\_ASBOX
51463 ## ----------------------------------------- ##
51464 ## Report this to the package-unused lists. ##
51465 ## ----------------------------------------- ##
51466 _ASBOX
51468 sed "s/^/$as_me: WARNING: /" >&2
51470 esac
51471 echo "$as_me:$LINENO: checking for langinfo.h" >&5
51472 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51473 if test "${ac_cv_header_langinfo_h+set}" = set; then
51474 echo $ECHO_N "(cached) $ECHO_C" >&6
51475 else
51476 ac_cv_header_langinfo_h=$ac_header_preproc
51478 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51479 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51482 if test $ac_cv_header_langinfo_h = yes; then
51483 ac_has_langinfo_h=yes
51484 else
51485 ac_has_langinfo_h=no
51490 # Check for existence of libiconv.a providing XPG2 wchar_t support.
51491 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
51492 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
51493 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
51494 echo $ECHO_N "(cached) $ECHO_C" >&6
51495 else
51496 ac_check_lib_save_LIBS=$LIBS
51497 LIBS="-liconv $LIBS"
51498 if test x$gcc_no_link = xyes; then
51499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51501 { (exit 1); exit 1; }; }
51503 cat >conftest.$ac_ext <<_ACEOF
51504 /* confdefs.h. */
51505 _ACEOF
51506 cat confdefs.h >>conftest.$ac_ext
51507 cat >>conftest.$ac_ext <<_ACEOF
51508 /* end confdefs.h. */
51510 /* Override any gcc2 internal prototype to avoid an error. */
51511 #ifdef __cplusplus
51512 extern "C"
51513 #endif
51514 /* We use char because int might match the return type of a gcc2
51515 builtin and then its argument prototype would still apply. */
51516 char iconv ();
51518 main ()
51520 iconv ();
51522 return 0;
51524 _ACEOF
51525 rm -f conftest.$ac_objext conftest$ac_exeext
51526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51527 (eval $ac_link) 2>conftest.er1
51528 ac_status=$?
51529 grep -v '^ *+' conftest.er1 >conftest.err
51530 rm -f conftest.er1
51531 cat conftest.err >&5
51532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51533 (exit $ac_status); } &&
51534 { ac_try='test -z "$ac_c_werror_flag"
51535 || test ! -s conftest.err'
51536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51537 (eval $ac_try) 2>&5
51538 ac_status=$?
51539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51540 (exit $ac_status); }; } &&
51541 { ac_try='test -s conftest$ac_exeext'
51542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51543 (eval $ac_try) 2>&5
51544 ac_status=$?
51545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51546 (exit $ac_status); }; }; then
51547 ac_cv_lib_iconv_iconv=yes
51548 else
51549 echo "$as_me: failed program was:" >&5
51550 sed 's/^/| /' conftest.$ac_ext >&5
51552 ac_cv_lib_iconv_iconv=no
51554 rm -f conftest.err conftest.$ac_objext \
51555 conftest$ac_exeext conftest.$ac_ext
51556 LIBS=$ac_check_lib_save_LIBS
51558 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
51559 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
51560 if test $ac_cv_lib_iconv_iconv = yes; then
51561 LIBICONV="-liconv"
51564 ac_save_LIBS="$LIBS"
51565 LIBS="$LIBS $LIBICONV"
51572 for ac_func in iconv_open iconv_close iconv nl_langinfo
51574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51575 echo "$as_me:$LINENO: checking for $ac_func" >&5
51576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51577 if eval "test \"\${$as_ac_var+set}\" = set"; then
51578 echo $ECHO_N "(cached) $ECHO_C" >&6
51579 else
51580 if test x$gcc_no_link = xyes; then
51581 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51583 { (exit 1); exit 1; }; }
51585 cat >conftest.$ac_ext <<_ACEOF
51586 /* confdefs.h. */
51587 _ACEOF
51588 cat confdefs.h >>conftest.$ac_ext
51589 cat >>conftest.$ac_ext <<_ACEOF
51590 /* end confdefs.h. */
51591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51593 #define $ac_func innocuous_$ac_func
51595 /* System header to define __stub macros and hopefully few prototypes,
51596 which can conflict with char $ac_func (); below.
51597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51598 <limits.h> exists even on freestanding compilers. */
51600 #ifdef __STDC__
51601 # include <limits.h>
51602 #else
51603 # include <assert.h>
51604 #endif
51606 #undef $ac_func
51608 /* Override any gcc2 internal prototype to avoid an error. */
51609 #ifdef __cplusplus
51610 extern "C"
51612 #endif
51613 /* We use char because int might match the return type of a gcc2
51614 builtin and then its argument prototype would still apply. */
51615 char $ac_func ();
51616 /* The GNU C library defines this for functions which it implements
51617 to always fail with ENOSYS. Some functions are actually named
51618 something starting with __ and the normal name is an alias. */
51619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51620 choke me
51621 #else
51622 char (*f) () = $ac_func;
51623 #endif
51624 #ifdef __cplusplus
51626 #endif
51629 main ()
51631 return f != $ac_func;
51633 return 0;
51635 _ACEOF
51636 rm -f conftest.$ac_objext conftest$ac_exeext
51637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51638 (eval $ac_link) 2>conftest.er1
51639 ac_status=$?
51640 grep -v '^ *+' conftest.er1 >conftest.err
51641 rm -f conftest.er1
51642 cat conftest.err >&5
51643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51644 (exit $ac_status); } &&
51645 { ac_try='test -z "$ac_c_werror_flag"
51646 || test ! -s conftest.err'
51647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51648 (eval $ac_try) 2>&5
51649 ac_status=$?
51650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51651 (exit $ac_status); }; } &&
51652 { ac_try='test -s conftest$ac_exeext'
51653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51654 (eval $ac_try) 2>&5
51655 ac_status=$?
51656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51657 (exit $ac_status); }; }; then
51658 eval "$as_ac_var=yes"
51659 else
51660 echo "$as_me: failed program was:" >&5
51661 sed 's/^/| /' conftest.$ac_ext >&5
51663 eval "$as_ac_var=no"
51665 rm -f conftest.err conftest.$ac_objext \
51666 conftest$ac_exeext conftest.$ac_ext
51668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51670 if test `eval echo '${'$as_ac_var'}'` = yes; then
51671 cat >>confdefs.h <<_ACEOF
51672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51673 _ACEOF
51674 ac_XPG2funcs=yes
51675 else
51676 ac_XPG2funcs=no
51678 done
51681 LIBS="$ac_save_LIBS"
51683 if test x"$ac_has_iconv_h" = xyes &&
51684 test x"$ac_has_langinfo_h" = xyes &&
51685 test x"$ac_XPG2funcs" = xyes;
51686 then
51688 cat >>confdefs.h <<\_ACEOF
51689 #define _GLIBCXX_USE_ICONV 1
51690 _ACEOF
51692 enable_iconv=yes
51695 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
51696 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
51697 echo "$as_me:$LINENO: result: $enable_iconv" >&5
51698 echo "${ECHO_T}$enable_iconv" >&6
51701 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51702 ac_save_CXXFLAGS="$CXXFLAGS"
51703 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51706 echo "$as_me:$LINENO: checking for strtold declaration" >&5
51707 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
51708 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51709 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
51710 echo $ECHO_N "(cached) $ECHO_C" >&6
51711 else
51715 ac_ext=cc
51716 ac_cpp='$CXXCPP $CPPFLAGS'
51717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51721 cat >conftest.$ac_ext <<_ACEOF
51722 /* confdefs.h. */
51723 _ACEOF
51724 cat confdefs.h >>conftest.$ac_ext
51725 cat >>conftest.$ac_ext <<_ACEOF
51726 /* end confdefs.h. */
51727 #include <stdlib.h>
51729 main ()
51731 strtold(0, 0);
51733 return 0;
51735 _ACEOF
51736 rm -f conftest.$ac_objext
51737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51738 (eval $ac_compile) 2>conftest.er1
51739 ac_status=$?
51740 grep -v '^ *+' conftest.er1 >conftest.err
51741 rm -f conftest.er1
51742 cat conftest.err >&5
51743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51744 (exit $ac_status); } &&
51745 { ac_try='test -z "$ac_cxx_werror_flag"
51746 || test ! -s conftest.err'
51747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51748 (eval $ac_try) 2>&5
51749 ac_status=$?
51750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51751 (exit $ac_status); }; } &&
51752 { ac_try='test -s conftest.$ac_objext'
51753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51754 (eval $ac_try) 2>&5
51755 ac_status=$?
51756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51757 (exit $ac_status); }; }; then
51758 glibcxx_cv_func_strtold_use=yes
51759 else
51760 echo "$as_me: failed program was:" >&5
51761 sed 's/^/| /' conftest.$ac_ext >&5
51763 glibcxx_cv_func_strtold_use=no
51765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51766 ac_ext=c
51767 ac_cpp='$CPP $CPPFLAGS'
51768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51776 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
51777 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
51778 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51780 for ac_func in strtold
51782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51783 echo "$as_me:$LINENO: checking for $ac_func" >&5
51784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51785 if eval "test \"\${$as_ac_var+set}\" = set"; then
51786 echo $ECHO_N "(cached) $ECHO_C" >&6
51787 else
51788 if test x$gcc_no_link = xyes; then
51789 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51791 { (exit 1); exit 1; }; }
51793 cat >conftest.$ac_ext <<_ACEOF
51794 /* confdefs.h. */
51795 _ACEOF
51796 cat confdefs.h >>conftest.$ac_ext
51797 cat >>conftest.$ac_ext <<_ACEOF
51798 /* end confdefs.h. */
51799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51801 #define $ac_func innocuous_$ac_func
51803 /* System header to define __stub macros and hopefully few prototypes,
51804 which can conflict with char $ac_func (); below.
51805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51806 <limits.h> exists even on freestanding compilers. */
51808 #ifdef __STDC__
51809 # include <limits.h>
51810 #else
51811 # include <assert.h>
51812 #endif
51814 #undef $ac_func
51816 /* Override any gcc2 internal prototype to avoid an error. */
51817 #ifdef __cplusplus
51818 extern "C"
51820 #endif
51821 /* We use char because int might match the return type of a gcc2
51822 builtin and then its argument prototype would still apply. */
51823 char $ac_func ();
51824 /* The GNU C library defines this for functions which it implements
51825 to always fail with ENOSYS. Some functions are actually named
51826 something starting with __ and the normal name is an alias. */
51827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51828 choke me
51829 #else
51830 char (*f) () = $ac_func;
51831 #endif
51832 #ifdef __cplusplus
51834 #endif
51837 main ()
51839 return f != $ac_func;
51841 return 0;
51843 _ACEOF
51844 rm -f conftest.$ac_objext conftest$ac_exeext
51845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51846 (eval $ac_link) 2>conftest.er1
51847 ac_status=$?
51848 grep -v '^ *+' conftest.er1 >conftest.err
51849 rm -f conftest.er1
51850 cat conftest.err >&5
51851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51852 (exit $ac_status); } &&
51853 { ac_try='test -z "$ac_c_werror_flag"
51854 || test ! -s conftest.err'
51855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51856 (eval $ac_try) 2>&5
51857 ac_status=$?
51858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51859 (exit $ac_status); }; } &&
51860 { ac_try='test -s conftest$ac_exeext'
51861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51862 (eval $ac_try) 2>&5
51863 ac_status=$?
51864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51865 (exit $ac_status); }; }; then
51866 eval "$as_ac_var=yes"
51867 else
51868 echo "$as_me: failed program was:" >&5
51869 sed 's/^/| /' conftest.$ac_ext >&5
51871 eval "$as_ac_var=no"
51873 rm -f conftest.err conftest.$ac_objext \
51874 conftest$ac_exeext conftest.$ac_ext
51876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51878 if test `eval echo '${'$as_ac_var'}'` = yes; then
51879 cat >>confdefs.h <<_ACEOF
51880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51881 _ACEOF
51884 done
51892 echo "$as_me:$LINENO: checking for strtof declaration" >&5
51893 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
51894 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51895 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
51896 echo $ECHO_N "(cached) $ECHO_C" >&6
51897 else
51901 ac_ext=cc
51902 ac_cpp='$CXXCPP $CPPFLAGS'
51903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51907 cat >conftest.$ac_ext <<_ACEOF
51908 /* confdefs.h. */
51909 _ACEOF
51910 cat confdefs.h >>conftest.$ac_ext
51911 cat >>conftest.$ac_ext <<_ACEOF
51912 /* end confdefs.h. */
51913 #include <stdlib.h>
51915 main ()
51917 strtof(0, 0);
51919 return 0;
51921 _ACEOF
51922 rm -f conftest.$ac_objext
51923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51924 (eval $ac_compile) 2>conftest.er1
51925 ac_status=$?
51926 grep -v '^ *+' conftest.er1 >conftest.err
51927 rm -f conftest.er1
51928 cat conftest.err >&5
51929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51930 (exit $ac_status); } &&
51931 { ac_try='test -z "$ac_cxx_werror_flag"
51932 || test ! -s conftest.err'
51933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51934 (eval $ac_try) 2>&5
51935 ac_status=$?
51936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51937 (exit $ac_status); }; } &&
51938 { ac_try='test -s conftest.$ac_objext'
51939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51940 (eval $ac_try) 2>&5
51941 ac_status=$?
51942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51943 (exit $ac_status); }; }; then
51944 glibcxx_cv_func_strtof_use=yes
51945 else
51946 echo "$as_me: failed program was:" >&5
51947 sed 's/^/| /' conftest.$ac_ext >&5
51949 glibcxx_cv_func_strtof_use=no
51951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51952 ac_ext=c
51953 ac_cpp='$CPP $CPPFLAGS'
51954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51962 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
51963 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
51964 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51966 for ac_func in strtof
51968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51969 echo "$as_me:$LINENO: checking for $ac_func" >&5
51970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51971 if eval "test \"\${$as_ac_var+set}\" = set"; then
51972 echo $ECHO_N "(cached) $ECHO_C" >&6
51973 else
51974 if test x$gcc_no_link = xyes; then
51975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51977 { (exit 1); exit 1; }; }
51979 cat >conftest.$ac_ext <<_ACEOF
51980 /* confdefs.h. */
51981 _ACEOF
51982 cat confdefs.h >>conftest.$ac_ext
51983 cat >>conftest.$ac_ext <<_ACEOF
51984 /* end confdefs.h. */
51985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51987 #define $ac_func innocuous_$ac_func
51989 /* System header to define __stub macros and hopefully few prototypes,
51990 which can conflict with char $ac_func (); below.
51991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51992 <limits.h> exists even on freestanding compilers. */
51994 #ifdef __STDC__
51995 # include <limits.h>
51996 #else
51997 # include <assert.h>
51998 #endif
52000 #undef $ac_func
52002 /* Override any gcc2 internal prototype to avoid an error. */
52003 #ifdef __cplusplus
52004 extern "C"
52006 #endif
52007 /* We use char because int might match the return type of a gcc2
52008 builtin and then its argument prototype would still apply. */
52009 char $ac_func ();
52010 /* The GNU C library defines this for functions which it implements
52011 to always fail with ENOSYS. Some functions are actually named
52012 something starting with __ and the normal name is an alias. */
52013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52014 choke me
52015 #else
52016 char (*f) () = $ac_func;
52017 #endif
52018 #ifdef __cplusplus
52020 #endif
52023 main ()
52025 return f != $ac_func;
52027 return 0;
52029 _ACEOF
52030 rm -f conftest.$ac_objext conftest$ac_exeext
52031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52032 (eval $ac_link) 2>conftest.er1
52033 ac_status=$?
52034 grep -v '^ *+' conftest.er1 >conftest.err
52035 rm -f conftest.er1
52036 cat conftest.err >&5
52037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52038 (exit $ac_status); } &&
52039 { ac_try='test -z "$ac_c_werror_flag"
52040 || test ! -s conftest.err'
52041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52042 (eval $ac_try) 2>&5
52043 ac_status=$?
52044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52045 (exit $ac_status); }; } &&
52046 { ac_try='test -s conftest$ac_exeext'
52047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52048 (eval $ac_try) 2>&5
52049 ac_status=$?
52050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52051 (exit $ac_status); }; }; then
52052 eval "$as_ac_var=yes"
52053 else
52054 echo "$as_me: failed program was:" >&5
52055 sed 's/^/| /' conftest.$ac_ext >&5
52057 eval "$as_ac_var=no"
52059 rm -f conftest.err conftest.$ac_objext \
52060 conftest$ac_exeext conftest.$ac_ext
52062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52064 if test `eval echo '${'$as_ac_var'}'` = yes; then
52065 cat >>confdefs.h <<_ACEOF
52066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52067 _ACEOF
52070 done
52078 CXXFLAGS="$ac_save_CXXFLAGS"
52081 # For showmanyc_helper().
52084 for ac_header in sys/ioctl.h sys/filio.h
52086 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52087 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52088 echo "$as_me:$LINENO: checking for $ac_header" >&5
52089 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52090 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52091 echo $ECHO_N "(cached) $ECHO_C" >&6
52093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52094 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52095 else
52096 # Is the header compilable?
52097 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52098 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52099 cat >conftest.$ac_ext <<_ACEOF
52100 /* confdefs.h. */
52101 _ACEOF
52102 cat confdefs.h >>conftest.$ac_ext
52103 cat >>conftest.$ac_ext <<_ACEOF
52104 /* end confdefs.h. */
52105 $ac_includes_default
52106 #include <$ac_header>
52107 _ACEOF
52108 rm -f conftest.$ac_objext
52109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52110 (eval $ac_compile) 2>conftest.er1
52111 ac_status=$?
52112 grep -v '^ *+' conftest.er1 >conftest.err
52113 rm -f conftest.er1
52114 cat conftest.err >&5
52115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52116 (exit $ac_status); } &&
52117 { ac_try='test -z "$ac_c_werror_flag"
52118 || test ! -s conftest.err'
52119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52120 (eval $ac_try) 2>&5
52121 ac_status=$?
52122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52123 (exit $ac_status); }; } &&
52124 { ac_try='test -s conftest.$ac_objext'
52125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52126 (eval $ac_try) 2>&5
52127 ac_status=$?
52128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52129 (exit $ac_status); }; }; then
52130 ac_header_compiler=yes
52131 else
52132 echo "$as_me: failed program was:" >&5
52133 sed 's/^/| /' conftest.$ac_ext >&5
52135 ac_header_compiler=no
52137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52138 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52139 echo "${ECHO_T}$ac_header_compiler" >&6
52141 # Is the header present?
52142 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52143 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52144 cat >conftest.$ac_ext <<_ACEOF
52145 /* confdefs.h. */
52146 _ACEOF
52147 cat confdefs.h >>conftest.$ac_ext
52148 cat >>conftest.$ac_ext <<_ACEOF
52149 /* end confdefs.h. */
52150 #include <$ac_header>
52151 _ACEOF
52152 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52153 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52154 ac_status=$?
52155 grep -v '^ *+' conftest.er1 >conftest.err
52156 rm -f conftest.er1
52157 cat conftest.err >&5
52158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52159 (exit $ac_status); } >/dev/null; then
52160 if test -s conftest.err; then
52161 ac_cpp_err=$ac_c_preproc_warn_flag
52162 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52163 else
52164 ac_cpp_err=
52166 else
52167 ac_cpp_err=yes
52169 if test -z "$ac_cpp_err"; then
52170 ac_header_preproc=yes
52171 else
52172 echo "$as_me: failed program was:" >&5
52173 sed 's/^/| /' conftest.$ac_ext >&5
52175 ac_header_preproc=no
52177 rm -f conftest.err conftest.$ac_ext
52178 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52179 echo "${ECHO_T}$ac_header_preproc" >&6
52181 # So? What about this header?
52182 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52183 yes:no: )
52184 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52185 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52186 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52187 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52188 ac_header_preproc=yes
52190 no:yes:* )
52191 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52192 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52193 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52194 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52195 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52196 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52197 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52198 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52199 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52200 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52201 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52202 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52204 cat <<\_ASBOX
52205 ## ----------------------------------------- ##
52206 ## Report this to the package-unused lists. ##
52207 ## ----------------------------------------- ##
52208 _ASBOX
52210 sed "s/^/$as_me: WARNING: /" >&2
52212 esac
52213 echo "$as_me:$LINENO: checking for $ac_header" >&5
52214 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52215 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52216 echo $ECHO_N "(cached) $ECHO_C" >&6
52217 else
52218 eval "$as_ac_Header=\$ac_header_preproc"
52220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52221 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52224 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52225 cat >>confdefs.h <<_ACEOF
52226 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52227 _ACEOF
52231 done
52234 echo "$as_me:$LINENO: checking for poll" >&5
52235 echo $ECHO_N "checking for poll... $ECHO_C" >&6
52236 if test "${glibcxx_cv_POLL+set}" = set; then
52237 echo $ECHO_N "(cached) $ECHO_C" >&6
52238 else
52240 if test x$gcc_no_link = xyes; then
52241 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52243 { (exit 1); exit 1; }; }
52245 cat >conftest.$ac_ext <<_ACEOF
52246 /* confdefs.h. */
52247 _ACEOF
52248 cat confdefs.h >>conftest.$ac_ext
52249 cat >>conftest.$ac_ext <<_ACEOF
52250 /* end confdefs.h. */
52251 #include <poll.h>
52253 main ()
52255 struct pollfd pfd[1];
52256 pfd[0].events = POLLIN;
52257 poll(pfd, 1, 0);
52259 return 0;
52261 _ACEOF
52262 rm -f conftest.$ac_objext conftest$ac_exeext
52263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52264 (eval $ac_link) 2>conftest.er1
52265 ac_status=$?
52266 grep -v '^ *+' conftest.er1 >conftest.err
52267 rm -f conftest.er1
52268 cat conftest.err >&5
52269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52270 (exit $ac_status); } &&
52271 { ac_try='test -z "$ac_c_werror_flag"
52272 || test ! -s conftest.err'
52273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52274 (eval $ac_try) 2>&5
52275 ac_status=$?
52276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52277 (exit $ac_status); }; } &&
52278 { ac_try='test -s conftest$ac_exeext'
52279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52280 (eval $ac_try) 2>&5
52281 ac_status=$?
52282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52283 (exit $ac_status); }; }; then
52284 glibcxx_cv_POLL=yes
52285 else
52286 echo "$as_me: failed program was:" >&5
52287 sed 's/^/| /' conftest.$ac_ext >&5
52289 glibcxx_cv_POLL=no
52291 rm -f conftest.err conftest.$ac_objext \
52292 conftest$ac_exeext conftest.$ac_ext
52296 if test $glibcxx_cv_POLL = yes; then
52298 cat >>confdefs.h <<\_ACEOF
52299 #define HAVE_POLL 1
52300 _ACEOF
52303 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
52304 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
52307 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
52308 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
52309 if test "${glibcxx_cv_S_ISREG+set}" = set; then
52310 echo $ECHO_N "(cached) $ECHO_C" >&6
52311 else
52313 if test x$gcc_no_link = xyes; then
52314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52316 { (exit 1); exit 1; }; }
52318 cat >conftest.$ac_ext <<_ACEOF
52319 /* confdefs.h. */
52320 _ACEOF
52321 cat confdefs.h >>conftest.$ac_ext
52322 cat >>conftest.$ac_ext <<_ACEOF
52323 /* end confdefs.h. */
52324 #include <sys/stat.h>
52326 main ()
52328 struct stat buffer;
52329 fstat(0, &buffer);
52330 S_ISREG(buffer.st_mode);
52332 return 0;
52334 _ACEOF
52335 rm -f conftest.$ac_objext conftest$ac_exeext
52336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52337 (eval $ac_link) 2>conftest.er1
52338 ac_status=$?
52339 grep -v '^ *+' conftest.er1 >conftest.err
52340 rm -f conftest.er1
52341 cat conftest.err >&5
52342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52343 (exit $ac_status); } &&
52344 { ac_try='test -z "$ac_c_werror_flag"
52345 || test ! -s conftest.err'
52346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52347 (eval $ac_try) 2>&5
52348 ac_status=$?
52349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52350 (exit $ac_status); }; } &&
52351 { ac_try='test -s conftest$ac_exeext'
52352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52353 (eval $ac_try) 2>&5
52354 ac_status=$?
52355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52356 (exit $ac_status); }; }; then
52357 glibcxx_cv_S_ISREG=yes
52358 else
52359 echo "$as_me: failed program was:" >&5
52360 sed 's/^/| /' conftest.$ac_ext >&5
52362 glibcxx_cv_S_ISREG=no
52364 rm -f conftest.err conftest.$ac_objext \
52365 conftest$ac_exeext conftest.$ac_ext
52369 if test "${glibcxx_cv_S_IFREG+set}" = set; then
52370 echo $ECHO_N "(cached) $ECHO_C" >&6
52371 else
52373 if test x$gcc_no_link = xyes; then
52374 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52376 { (exit 1); exit 1; }; }
52378 cat >conftest.$ac_ext <<_ACEOF
52379 /* confdefs.h. */
52380 _ACEOF
52381 cat confdefs.h >>conftest.$ac_ext
52382 cat >>conftest.$ac_ext <<_ACEOF
52383 /* end confdefs.h. */
52384 #include <sys/stat.h>
52386 main ()
52388 struct stat buffer;
52389 fstat(0, &buffer);
52390 S_IFREG & buffer.st_mode;
52392 return 0;
52394 _ACEOF
52395 rm -f conftest.$ac_objext conftest$ac_exeext
52396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52397 (eval $ac_link) 2>conftest.er1
52398 ac_status=$?
52399 grep -v '^ *+' conftest.er1 >conftest.err
52400 rm -f conftest.er1
52401 cat conftest.err >&5
52402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52403 (exit $ac_status); } &&
52404 { ac_try='test -z "$ac_c_werror_flag"
52405 || test ! -s conftest.err'
52406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52407 (eval $ac_try) 2>&5
52408 ac_status=$?
52409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52410 (exit $ac_status); }; } &&
52411 { ac_try='test -s conftest$ac_exeext'
52412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52413 (eval $ac_try) 2>&5
52414 ac_status=$?
52415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52416 (exit $ac_status); }; }; then
52417 glibcxx_cv_S_IFREG=yes
52418 else
52419 echo "$as_me: failed program was:" >&5
52420 sed 's/^/| /' conftest.$ac_ext >&5
52422 glibcxx_cv_S_IFREG=no
52424 rm -f conftest.err conftest.$ac_objext \
52425 conftest$ac_exeext conftest.$ac_ext
52429 res=no
52430 if test $glibcxx_cv_S_ISREG = yes; then
52432 cat >>confdefs.h <<\_ACEOF
52433 #define HAVE_S_ISREG 1
52434 _ACEOF
52436 res=S_ISREG
52437 elif test $glibcxx_cv_S_IFREG = yes; then
52439 cat >>confdefs.h <<\_ACEOF
52440 #define HAVE_S_IFREG 1
52441 _ACEOF
52443 res=S_IFREG
52445 echo "$as_me:$LINENO: result: $res" >&5
52446 echo "${ECHO_T}$res" >&6
52449 # For xsputn_2().
52451 for ac_header in sys/uio.h
52453 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52455 echo "$as_me:$LINENO: checking for $ac_header" >&5
52456 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52457 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52458 echo $ECHO_N "(cached) $ECHO_C" >&6
52460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52461 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52462 else
52463 # Is the header compilable?
52464 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52465 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52466 cat >conftest.$ac_ext <<_ACEOF
52467 /* confdefs.h. */
52468 _ACEOF
52469 cat confdefs.h >>conftest.$ac_ext
52470 cat >>conftest.$ac_ext <<_ACEOF
52471 /* end confdefs.h. */
52472 $ac_includes_default
52473 #include <$ac_header>
52474 _ACEOF
52475 rm -f conftest.$ac_objext
52476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52477 (eval $ac_compile) 2>conftest.er1
52478 ac_status=$?
52479 grep -v '^ *+' conftest.er1 >conftest.err
52480 rm -f conftest.er1
52481 cat conftest.err >&5
52482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52483 (exit $ac_status); } &&
52484 { ac_try='test -z "$ac_c_werror_flag"
52485 || test ! -s conftest.err'
52486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52487 (eval $ac_try) 2>&5
52488 ac_status=$?
52489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52490 (exit $ac_status); }; } &&
52491 { ac_try='test -s conftest.$ac_objext'
52492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52493 (eval $ac_try) 2>&5
52494 ac_status=$?
52495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52496 (exit $ac_status); }; }; then
52497 ac_header_compiler=yes
52498 else
52499 echo "$as_me: failed program was:" >&5
52500 sed 's/^/| /' conftest.$ac_ext >&5
52502 ac_header_compiler=no
52504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52505 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52506 echo "${ECHO_T}$ac_header_compiler" >&6
52508 # Is the header present?
52509 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52510 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52511 cat >conftest.$ac_ext <<_ACEOF
52512 /* confdefs.h. */
52513 _ACEOF
52514 cat confdefs.h >>conftest.$ac_ext
52515 cat >>conftest.$ac_ext <<_ACEOF
52516 /* end confdefs.h. */
52517 #include <$ac_header>
52518 _ACEOF
52519 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52520 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52521 ac_status=$?
52522 grep -v '^ *+' conftest.er1 >conftest.err
52523 rm -f conftest.er1
52524 cat conftest.err >&5
52525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52526 (exit $ac_status); } >/dev/null; then
52527 if test -s conftest.err; then
52528 ac_cpp_err=$ac_c_preproc_warn_flag
52529 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52530 else
52531 ac_cpp_err=
52533 else
52534 ac_cpp_err=yes
52536 if test -z "$ac_cpp_err"; then
52537 ac_header_preproc=yes
52538 else
52539 echo "$as_me: failed program was:" >&5
52540 sed 's/^/| /' conftest.$ac_ext >&5
52542 ac_header_preproc=no
52544 rm -f conftest.err conftest.$ac_ext
52545 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52546 echo "${ECHO_T}$ac_header_preproc" >&6
52548 # So? What about this header?
52549 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52550 yes:no: )
52551 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52552 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52553 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52554 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52555 ac_header_preproc=yes
52557 no:yes:* )
52558 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52559 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52560 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52561 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52562 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52563 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52564 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52565 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52566 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52567 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52568 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52569 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52571 cat <<\_ASBOX
52572 ## ----------------------------------------- ##
52573 ## Report this to the package-unused lists. ##
52574 ## ----------------------------------------- ##
52575 _ASBOX
52577 sed "s/^/$as_me: WARNING: /" >&2
52579 esac
52580 echo "$as_me:$LINENO: checking for $ac_header" >&5
52581 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52582 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52583 echo $ECHO_N "(cached) $ECHO_C" >&6
52584 else
52585 eval "$as_ac_Header=\$ac_header_preproc"
52587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52588 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52591 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52592 cat >>confdefs.h <<_ACEOF
52593 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52594 _ACEOF
52598 done
52601 echo "$as_me:$LINENO: checking for writev" >&5
52602 echo $ECHO_N "checking for writev... $ECHO_C" >&6
52603 if test "${glibcxx_cv_WRITEV+set}" = set; then
52604 echo $ECHO_N "(cached) $ECHO_C" >&6
52605 else
52607 if test x$gcc_no_link = xyes; then
52608 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52610 { (exit 1); exit 1; }; }
52612 cat >conftest.$ac_ext <<_ACEOF
52613 /* confdefs.h. */
52614 _ACEOF
52615 cat confdefs.h >>conftest.$ac_ext
52616 cat >>conftest.$ac_ext <<_ACEOF
52617 /* end confdefs.h. */
52618 #include <sys/uio.h>
52620 main ()
52622 struct iovec iov[2];
52623 writev(0, iov, 0);
52625 return 0;
52627 _ACEOF
52628 rm -f conftest.$ac_objext conftest$ac_exeext
52629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52630 (eval $ac_link) 2>conftest.er1
52631 ac_status=$?
52632 grep -v '^ *+' conftest.er1 >conftest.err
52633 rm -f conftest.er1
52634 cat conftest.err >&5
52635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52636 (exit $ac_status); } &&
52637 { ac_try='test -z "$ac_c_werror_flag"
52638 || test ! -s conftest.err'
52639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52640 (eval $ac_try) 2>&5
52641 ac_status=$?
52642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52643 (exit $ac_status); }; } &&
52644 { ac_try='test -s conftest$ac_exeext'
52645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52646 (eval $ac_try) 2>&5
52647 ac_status=$?
52648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52649 (exit $ac_status); }; }; then
52650 glibcxx_cv_WRITEV=yes
52651 else
52652 echo "$as_me: failed program was:" >&5
52653 sed 's/^/| /' conftest.$ac_ext >&5
52655 glibcxx_cv_WRITEV=no
52657 rm -f conftest.err conftest.$ac_objext \
52658 conftest$ac_exeext conftest.$ac_ext
52662 if test $glibcxx_cv_WRITEV = yes; then
52664 cat >>confdefs.h <<\_ACEOF
52665 #define HAVE_WRITEV 1
52666 _ACEOF
52669 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
52670 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
52673 cat >>confdefs.h <<\_ACEOF
52674 #define HAVE_LC_MESSAGES 1
52675 _ACEOF
52678 cat >conftest.$ac_ext <<_ACEOF
52679 /* confdefs.h. */
52680 _ACEOF
52681 cat confdefs.h >>conftest.$ac_ext
52682 cat >>conftest.$ac_ext <<_ACEOF
52683 /* end confdefs.h. */
52684 #include <setjmp.h>
52686 main ()
52688 sigjmp_buf env;
52689 while (! sigsetjmp (env, 1))
52690 siglongjmp (env, 1);
52693 return 0;
52695 _ACEOF
52696 rm -f conftest.$ac_objext
52697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52698 (eval $ac_compile) 2>conftest.er1
52699 ac_status=$?
52700 grep -v '^ *+' conftest.er1 >conftest.err
52701 rm -f conftest.er1
52702 cat conftest.err >&5
52703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52704 (exit $ac_status); } &&
52705 { ac_try='test -z "$ac_c_werror_flag"
52706 || test ! -s conftest.err'
52707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52708 (eval $ac_try) 2>&5
52709 ac_status=$?
52710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52711 (exit $ac_status); }; } &&
52712 { ac_try='test -s conftest.$ac_objext'
52713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52714 (eval $ac_try) 2>&5
52715 ac_status=$?
52716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52717 (exit $ac_status); }; }; then
52719 cat >>confdefs.h <<\_ACEOF
52720 #define HAVE_SIGSETJMP 1
52721 _ACEOF
52723 else
52724 echo "$as_me: failed program was:" >&5
52725 sed 's/^/| /' conftest.$ac_ext >&5
52728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52730 cat >>confdefs.h <<\_ACEOF
52731 #define HAVE_MMAP 1
52732 _ACEOF
52736 *djgpp)
52757 for ac_header in float.h ieeefp.h inttypes.h locale.h \
52758 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
52759 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
52760 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
52762 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52763 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52764 echo "$as_me:$LINENO: checking for $ac_header" >&5
52765 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52766 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52767 echo $ECHO_N "(cached) $ECHO_C" >&6
52769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52770 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52771 else
52772 # Is the header compilable?
52773 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52774 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52775 cat >conftest.$ac_ext <<_ACEOF
52776 /* confdefs.h. */
52777 _ACEOF
52778 cat confdefs.h >>conftest.$ac_ext
52779 cat >>conftest.$ac_ext <<_ACEOF
52780 /* end confdefs.h. */
52781 $ac_includes_default
52782 #include <$ac_header>
52783 _ACEOF
52784 rm -f conftest.$ac_objext
52785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52786 (eval $ac_compile) 2>conftest.er1
52787 ac_status=$?
52788 grep -v '^ *+' conftest.er1 >conftest.err
52789 rm -f conftest.er1
52790 cat conftest.err >&5
52791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52792 (exit $ac_status); } &&
52793 { ac_try='test -z "$ac_c_werror_flag"
52794 || test ! -s conftest.err'
52795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52796 (eval $ac_try) 2>&5
52797 ac_status=$?
52798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52799 (exit $ac_status); }; } &&
52800 { ac_try='test -s conftest.$ac_objext'
52801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52802 (eval $ac_try) 2>&5
52803 ac_status=$?
52804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52805 (exit $ac_status); }; }; then
52806 ac_header_compiler=yes
52807 else
52808 echo "$as_me: failed program was:" >&5
52809 sed 's/^/| /' conftest.$ac_ext >&5
52811 ac_header_compiler=no
52813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52814 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52815 echo "${ECHO_T}$ac_header_compiler" >&6
52817 # Is the header present?
52818 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52819 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52820 cat >conftest.$ac_ext <<_ACEOF
52821 /* confdefs.h. */
52822 _ACEOF
52823 cat confdefs.h >>conftest.$ac_ext
52824 cat >>conftest.$ac_ext <<_ACEOF
52825 /* end confdefs.h. */
52826 #include <$ac_header>
52827 _ACEOF
52828 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52829 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52830 ac_status=$?
52831 grep -v '^ *+' conftest.er1 >conftest.err
52832 rm -f conftest.er1
52833 cat conftest.err >&5
52834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52835 (exit $ac_status); } >/dev/null; then
52836 if test -s conftest.err; then
52837 ac_cpp_err=$ac_c_preproc_warn_flag
52838 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52839 else
52840 ac_cpp_err=
52842 else
52843 ac_cpp_err=yes
52845 if test -z "$ac_cpp_err"; then
52846 ac_header_preproc=yes
52847 else
52848 echo "$as_me: failed program was:" >&5
52849 sed 's/^/| /' conftest.$ac_ext >&5
52851 ac_header_preproc=no
52853 rm -f conftest.err conftest.$ac_ext
52854 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52855 echo "${ECHO_T}$ac_header_preproc" >&6
52857 # So? What about this header?
52858 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52859 yes:no: )
52860 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52861 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52862 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52863 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52864 ac_header_preproc=yes
52866 no:yes:* )
52867 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52868 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52869 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52870 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52871 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52872 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52873 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52874 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52875 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52876 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52877 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52878 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52880 cat <<\_ASBOX
52881 ## ----------------------------------------- ##
52882 ## Report this to the package-unused lists. ##
52883 ## ----------------------------------------- ##
52884 _ASBOX
52886 sed "s/^/$as_me: WARNING: /" >&2
52888 esac
52889 echo "$as_me:$LINENO: checking for $ac_header" >&5
52890 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52891 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52892 echo $ECHO_N "(cached) $ECHO_C" >&6
52893 else
52894 eval "$as_ac_Header=\$ac_header_preproc"
52896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52897 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52900 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52901 cat >>confdefs.h <<_ACEOF
52902 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52903 _ACEOF
52907 done
52910 # All these tests are for C++; save the language and the compiler flags.
52911 # The CXXFLAGS thing is suspicious, but based on similar bits previously
52912 # found in GLIBCXX_CONFIGURE.
52915 ac_ext=cc
52916 ac_cpp='$CXXCPP $CPPFLAGS'
52917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52921 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52922 ac_save_CXXFLAGS="$CXXFLAGS"
52924 # Check for maintainer-mode bits.
52925 if test x"$USE_MAINTAINER_MODE" = xno; then
52926 WERROR=''
52927 else
52928 WERROR='-Werror'
52931 # Check for -ffunction-sections -fdata-sections
52932 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
52933 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
52934 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
52935 cat >conftest.$ac_ext <<_ACEOF
52936 /* confdefs.h. */
52937 _ACEOF
52938 cat confdefs.h >>conftest.$ac_ext
52939 cat >>conftest.$ac_ext <<_ACEOF
52940 /* end confdefs.h. */
52943 main ()
52945 int foo;
52947 return 0;
52949 _ACEOF
52950 rm -f conftest.$ac_objext
52951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52952 (eval $ac_compile) 2>conftest.er1
52953 ac_status=$?
52954 grep -v '^ *+' conftest.er1 >conftest.err
52955 rm -f conftest.er1
52956 cat conftest.err >&5
52957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52958 (exit $ac_status); } &&
52959 { ac_try='test -z "$ac_cxx_werror_flag"
52960 || test ! -s conftest.err'
52961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52962 (eval $ac_try) 2>&5
52963 ac_status=$?
52964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52965 (exit $ac_status); }; } &&
52966 { ac_try='test -s conftest.$ac_objext'
52967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52968 (eval $ac_try) 2>&5
52969 ac_status=$?
52970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52971 (exit $ac_status); }; }; then
52972 ac_fdsections=yes
52973 else
52974 echo "$as_me: failed program was:" >&5
52975 sed 's/^/| /' conftest.$ac_ext >&5
52977 ac_fdsections=no
52979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52980 if test "$ac_test_CXXFLAGS" = set; then
52981 CXXFLAGS="$ac_save_CXXFLAGS"
52982 else
52983 # this is the suspicious part
52984 CXXFLAGS=''
52986 if test x"$ac_fdsections" = x"yes"; then
52987 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52989 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
52990 echo "${ECHO_T}$ac_fdsections" >&6
52992 ac_ext=c
52993 ac_cpp='$CPP $CPPFLAGS'
52994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53002 # If we're not using GNU ld, then there's no point in even trying these
53003 # tests. Check for that first. We should have already tested for gld
53004 # by now (in libtool), but require it now just to be safe...
53005 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53006 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53010 # The name set by libtool depends on the version of libtool. Shame on us
53011 # for depending on an impl detail, but c'est la vie. Older versions used
53012 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53013 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53014 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53015 # set (hence we're using an older libtool), then set it.
53016 if test x${with_gnu_ld+set} != xset; then
53017 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53018 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53019 with_gnu_ld=no
53020 else
53021 with_gnu_ld=$ac_cv_prog_gnu_ld
53025 # Start by getting the version number. I think the libtool test already
53026 # does some of this, but throws away the result.
53028 ldver=`$LD --version 2>/dev/null | head -1 | \
53029 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
53031 glibcxx_gnu_ld_version=`echo $ldver | \
53032 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53034 # Set --gc-sections.
53035 if test "$with_gnu_ld" = "notbroken"; then
53036 # GNU ld it is! Joy and bunny rabbits!
53038 # All these tests are for C++; save the language and the compiler flags.
53039 # Need to do this so that g++ won't try to link in libstdc++
53040 ac_test_CFLAGS="${CFLAGS+set}"
53041 ac_save_CFLAGS="$CFLAGS"
53042 CFLAGS='-x c++ -Wl,--gc-sections'
53044 # Check for -Wl,--gc-sections
53045 # XXX This test is broken at the moment, as symbols required for linking
53046 # are now in libsupc++ (not built yet). In addition, this test has
53047 # cored on solaris in the past. In addition, --gc-sections doesn't
53048 # really work at the moment (keeps on discarding used sections, first
53049 # .eh_frame and now some of the glibc sections for iconv).
53050 # Bzzzzt. Thanks for playing, maybe next time.
53051 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
53052 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
53053 if test "$cross_compiling" = yes; then
53054 ac_sectionLDflags=yes
53055 else
53056 cat >conftest.$ac_ext <<_ACEOF
53057 /* confdefs.h. */
53058 _ACEOF
53059 cat confdefs.h >>conftest.$ac_ext
53060 cat >>conftest.$ac_ext <<_ACEOF
53061 /* end confdefs.h. */
53063 int main(void)
53065 try { throw 1; }
53066 catch (...) { };
53067 return 0;
53070 _ACEOF
53071 rm -f conftest$ac_exeext
53072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53073 (eval $ac_link) 2>&5
53074 ac_status=$?
53075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53076 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
53077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53078 (eval $ac_try) 2>&5
53079 ac_status=$?
53080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53081 (exit $ac_status); }; }; then
53082 ac_sectionLDflags=yes
53083 else
53084 echo "$as_me: program exited with status $ac_status" >&5
53085 echo "$as_me: failed program was:" >&5
53086 sed 's/^/| /' conftest.$ac_ext >&5
53088 ( exit $ac_status )
53089 ac_sectionLDflags=no
53091 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
53093 if test "$ac_test_CFLAGS" = set; then
53094 CFLAGS="$ac_save_CFLAGS"
53095 else
53096 # this is the suspicious part
53097 CFLAGS=''
53099 if test "$ac_sectionLDflags" = "yes"; then
53100 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53102 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
53103 echo "${ECHO_T}$ac_sectionLDflags" >&6
53106 # Set linker optimization flags.
53107 if test x"$with_gnu_ld" = x"yes"; then
53108 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53115 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53116 ac_save_CXXFLAGS="$CXXFLAGS"
53117 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53119 echo "$as_me:$LINENO: checking for sin in -lm" >&5
53120 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
53121 if test "${ac_cv_lib_m_sin+set}" = set; then
53122 echo $ECHO_N "(cached) $ECHO_C" >&6
53123 else
53124 ac_check_lib_save_LIBS=$LIBS
53125 LIBS="-lm $LIBS"
53126 if test x$gcc_no_link = xyes; then
53127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53129 { (exit 1); exit 1; }; }
53131 cat >conftest.$ac_ext <<_ACEOF
53132 /* confdefs.h. */
53133 _ACEOF
53134 cat confdefs.h >>conftest.$ac_ext
53135 cat >>conftest.$ac_ext <<_ACEOF
53136 /* end confdefs.h. */
53138 /* Override any gcc2 internal prototype to avoid an error. */
53139 #ifdef __cplusplus
53140 extern "C"
53141 #endif
53142 /* We use char because int might match the return type of a gcc2
53143 builtin and then its argument prototype would still apply. */
53144 char sin ();
53146 main ()
53148 sin ();
53150 return 0;
53152 _ACEOF
53153 rm -f conftest.$ac_objext conftest$ac_exeext
53154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53155 (eval $ac_link) 2>conftest.er1
53156 ac_status=$?
53157 grep -v '^ *+' conftest.er1 >conftest.err
53158 rm -f conftest.er1
53159 cat conftest.err >&5
53160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53161 (exit $ac_status); } &&
53162 { ac_try='test -z "$ac_c_werror_flag"
53163 || test ! -s conftest.err'
53164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53165 (eval $ac_try) 2>&5
53166 ac_status=$?
53167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53168 (exit $ac_status); }; } &&
53169 { ac_try='test -s conftest$ac_exeext'
53170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53171 (eval $ac_try) 2>&5
53172 ac_status=$?
53173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53174 (exit $ac_status); }; }; then
53175 ac_cv_lib_m_sin=yes
53176 else
53177 echo "$as_me: failed program was:" >&5
53178 sed 's/^/| /' conftest.$ac_ext >&5
53180 ac_cv_lib_m_sin=no
53182 rm -f conftest.err conftest.$ac_objext \
53183 conftest$ac_exeext conftest.$ac_ext
53184 LIBS=$ac_check_lib_save_LIBS
53186 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
53187 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
53188 if test $ac_cv_lib_m_sin = yes; then
53189 libm="-lm"
53192 ac_save_LIBS="$LIBS"
53193 LIBS="$LIBS $libm"
53197 echo "$as_me:$LINENO: checking for isinf declaration" >&5
53198 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
53199 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
53200 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
53201 echo $ECHO_N "(cached) $ECHO_C" >&6
53202 else
53206 ac_ext=cc
53207 ac_cpp='$CXXCPP $CPPFLAGS'
53208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53212 cat >conftest.$ac_ext <<_ACEOF
53213 /* confdefs.h. */
53214 _ACEOF
53215 cat confdefs.h >>conftest.$ac_ext
53216 cat >>conftest.$ac_ext <<_ACEOF
53217 /* end confdefs.h. */
53218 #include <math.h>
53219 #ifdef HAVE_IEEEFP_H
53220 #include <ieeefp.h>
53221 #endif
53224 main ()
53226 isinf(0);
53228 return 0;
53230 _ACEOF
53231 rm -f conftest.$ac_objext
53232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53233 (eval $ac_compile) 2>conftest.er1
53234 ac_status=$?
53235 grep -v '^ *+' conftest.er1 >conftest.err
53236 rm -f conftest.er1
53237 cat conftest.err >&5
53238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53239 (exit $ac_status); } &&
53240 { ac_try='test -z "$ac_cxx_werror_flag"
53241 || test ! -s conftest.err'
53242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53243 (eval $ac_try) 2>&5
53244 ac_status=$?
53245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53246 (exit $ac_status); }; } &&
53247 { ac_try='test -s conftest.$ac_objext'
53248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53249 (eval $ac_try) 2>&5
53250 ac_status=$?
53251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53252 (exit $ac_status); }; }; then
53253 glibcxx_cv_func_isinf_use=yes
53254 else
53255 echo "$as_me: failed program was:" >&5
53256 sed 's/^/| /' conftest.$ac_ext >&5
53258 glibcxx_cv_func_isinf_use=no
53260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53261 ac_ext=c
53262 ac_cpp='$CPP $CPPFLAGS'
53263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53271 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
53272 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
53274 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
53276 for ac_func in isinf
53278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53279 echo "$as_me:$LINENO: checking for $ac_func" >&5
53280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53281 if eval "test \"\${$as_ac_var+set}\" = set"; then
53282 echo $ECHO_N "(cached) $ECHO_C" >&6
53283 else
53284 if test x$gcc_no_link = xyes; then
53285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53287 { (exit 1); exit 1; }; }
53289 cat >conftest.$ac_ext <<_ACEOF
53290 /* confdefs.h. */
53291 _ACEOF
53292 cat confdefs.h >>conftest.$ac_ext
53293 cat >>conftest.$ac_ext <<_ACEOF
53294 /* end confdefs.h. */
53295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53297 #define $ac_func innocuous_$ac_func
53299 /* System header to define __stub macros and hopefully few prototypes,
53300 which can conflict with char $ac_func (); below.
53301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53302 <limits.h> exists even on freestanding compilers. */
53304 #ifdef __STDC__
53305 # include <limits.h>
53306 #else
53307 # include <assert.h>
53308 #endif
53310 #undef $ac_func
53312 /* Override any gcc2 internal prototype to avoid an error. */
53313 #ifdef __cplusplus
53314 extern "C"
53316 #endif
53317 /* We use char because int might match the return type of a gcc2
53318 builtin and then its argument prototype would still apply. */
53319 char $ac_func ();
53320 /* The GNU C library defines this for functions which it implements
53321 to always fail with ENOSYS. Some functions are actually named
53322 something starting with __ and the normal name is an alias. */
53323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53324 choke me
53325 #else
53326 char (*f) () = $ac_func;
53327 #endif
53328 #ifdef __cplusplus
53330 #endif
53333 main ()
53335 return f != $ac_func;
53337 return 0;
53339 _ACEOF
53340 rm -f conftest.$ac_objext conftest$ac_exeext
53341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53342 (eval $ac_link) 2>conftest.er1
53343 ac_status=$?
53344 grep -v '^ *+' conftest.er1 >conftest.err
53345 rm -f conftest.er1
53346 cat conftest.err >&5
53347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53348 (exit $ac_status); } &&
53349 { ac_try='test -z "$ac_c_werror_flag"
53350 || test ! -s conftest.err'
53351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53352 (eval $ac_try) 2>&5
53353 ac_status=$?
53354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53355 (exit $ac_status); }; } &&
53356 { ac_try='test -s conftest$ac_exeext'
53357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53358 (eval $ac_try) 2>&5
53359 ac_status=$?
53360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53361 (exit $ac_status); }; }; then
53362 eval "$as_ac_var=yes"
53363 else
53364 echo "$as_me: failed program was:" >&5
53365 sed 's/^/| /' conftest.$ac_ext >&5
53367 eval "$as_ac_var=no"
53369 rm -f conftest.err conftest.$ac_objext \
53370 conftest$ac_exeext conftest.$ac_ext
53372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53374 if test `eval echo '${'$as_ac_var'}'` = yes; then
53375 cat >>confdefs.h <<_ACEOF
53376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53377 _ACEOF
53380 done
53382 else
53384 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
53385 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
53386 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
53387 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
53388 echo $ECHO_N "(cached) $ECHO_C" >&6
53389 else
53393 ac_ext=cc
53394 ac_cpp='$CXXCPP $CPPFLAGS'
53395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53399 cat >conftest.$ac_ext <<_ACEOF
53400 /* confdefs.h. */
53401 _ACEOF
53402 cat confdefs.h >>conftest.$ac_ext
53403 cat >>conftest.$ac_ext <<_ACEOF
53404 /* end confdefs.h. */
53405 #include <math.h>
53406 #ifdef HAVE_IEEEFP_H
53407 #include <ieeefp.h>
53408 #endif
53411 main ()
53413 _isinf(0);
53415 return 0;
53417 _ACEOF
53418 rm -f conftest.$ac_objext
53419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53420 (eval $ac_compile) 2>conftest.er1
53421 ac_status=$?
53422 grep -v '^ *+' conftest.er1 >conftest.err
53423 rm -f conftest.er1
53424 cat conftest.err >&5
53425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53426 (exit $ac_status); } &&
53427 { ac_try='test -z "$ac_cxx_werror_flag"
53428 || test ! -s conftest.err'
53429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53430 (eval $ac_try) 2>&5
53431 ac_status=$?
53432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53433 (exit $ac_status); }; } &&
53434 { ac_try='test -s conftest.$ac_objext'
53435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53436 (eval $ac_try) 2>&5
53437 ac_status=$?
53438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53439 (exit $ac_status); }; }; then
53440 glibcxx_cv_func__isinf_use=yes
53441 else
53442 echo "$as_me: failed program was:" >&5
53443 sed 's/^/| /' conftest.$ac_ext >&5
53445 glibcxx_cv_func__isinf_use=no
53447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53448 ac_ext=c
53449 ac_cpp='$CPP $CPPFLAGS'
53450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53458 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
53459 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
53461 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
53463 for ac_func in _isinf
53465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53466 echo "$as_me:$LINENO: checking for $ac_func" >&5
53467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53468 if eval "test \"\${$as_ac_var+set}\" = set"; then
53469 echo $ECHO_N "(cached) $ECHO_C" >&6
53470 else
53471 if test x$gcc_no_link = xyes; then
53472 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53474 { (exit 1); exit 1; }; }
53476 cat >conftest.$ac_ext <<_ACEOF
53477 /* confdefs.h. */
53478 _ACEOF
53479 cat confdefs.h >>conftest.$ac_ext
53480 cat >>conftest.$ac_ext <<_ACEOF
53481 /* end confdefs.h. */
53482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53483 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53484 #define $ac_func innocuous_$ac_func
53486 /* System header to define __stub macros and hopefully few prototypes,
53487 which can conflict with char $ac_func (); below.
53488 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53489 <limits.h> exists even on freestanding compilers. */
53491 #ifdef __STDC__
53492 # include <limits.h>
53493 #else
53494 # include <assert.h>
53495 #endif
53497 #undef $ac_func
53499 /* Override any gcc2 internal prototype to avoid an error. */
53500 #ifdef __cplusplus
53501 extern "C"
53503 #endif
53504 /* We use char because int might match the return type of a gcc2
53505 builtin and then its argument prototype would still apply. */
53506 char $ac_func ();
53507 /* The GNU C library defines this for functions which it implements
53508 to always fail with ENOSYS. Some functions are actually named
53509 something starting with __ and the normal name is an alias. */
53510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53511 choke me
53512 #else
53513 char (*f) () = $ac_func;
53514 #endif
53515 #ifdef __cplusplus
53517 #endif
53520 main ()
53522 return f != $ac_func;
53524 return 0;
53526 _ACEOF
53527 rm -f conftest.$ac_objext conftest$ac_exeext
53528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53529 (eval $ac_link) 2>conftest.er1
53530 ac_status=$?
53531 grep -v '^ *+' conftest.er1 >conftest.err
53532 rm -f conftest.er1
53533 cat conftest.err >&5
53534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53535 (exit $ac_status); } &&
53536 { ac_try='test -z "$ac_c_werror_flag"
53537 || test ! -s conftest.err'
53538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53539 (eval $ac_try) 2>&5
53540 ac_status=$?
53541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53542 (exit $ac_status); }; } &&
53543 { ac_try='test -s conftest$ac_exeext'
53544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53545 (eval $ac_try) 2>&5
53546 ac_status=$?
53547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53548 (exit $ac_status); }; }; then
53549 eval "$as_ac_var=yes"
53550 else
53551 echo "$as_me: failed program was:" >&5
53552 sed 's/^/| /' conftest.$ac_ext >&5
53554 eval "$as_ac_var=no"
53556 rm -f conftest.err conftest.$ac_objext \
53557 conftest$ac_exeext conftest.$ac_ext
53559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53561 if test `eval echo '${'$as_ac_var'}'` = yes; then
53562 cat >>confdefs.h <<_ACEOF
53563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53564 _ACEOF
53567 done
53577 echo "$as_me:$LINENO: checking for isnan declaration" >&5
53578 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
53579 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
53580 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
53581 echo $ECHO_N "(cached) $ECHO_C" >&6
53582 else
53586 ac_ext=cc
53587 ac_cpp='$CXXCPP $CPPFLAGS'
53588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53592 cat >conftest.$ac_ext <<_ACEOF
53593 /* confdefs.h. */
53594 _ACEOF
53595 cat confdefs.h >>conftest.$ac_ext
53596 cat >>conftest.$ac_ext <<_ACEOF
53597 /* end confdefs.h. */
53598 #include <math.h>
53599 #ifdef HAVE_IEEEFP_H
53600 #include <ieeefp.h>
53601 #endif
53604 main ()
53606 isnan(0);
53608 return 0;
53610 _ACEOF
53611 rm -f conftest.$ac_objext
53612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53613 (eval $ac_compile) 2>conftest.er1
53614 ac_status=$?
53615 grep -v '^ *+' conftest.er1 >conftest.err
53616 rm -f conftest.er1
53617 cat conftest.err >&5
53618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53619 (exit $ac_status); } &&
53620 { ac_try='test -z "$ac_cxx_werror_flag"
53621 || test ! -s conftest.err'
53622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53623 (eval $ac_try) 2>&5
53624 ac_status=$?
53625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53626 (exit $ac_status); }; } &&
53627 { ac_try='test -s conftest.$ac_objext'
53628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53629 (eval $ac_try) 2>&5
53630 ac_status=$?
53631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53632 (exit $ac_status); }; }; then
53633 glibcxx_cv_func_isnan_use=yes
53634 else
53635 echo "$as_me: failed program was:" >&5
53636 sed 's/^/| /' conftest.$ac_ext >&5
53638 glibcxx_cv_func_isnan_use=no
53640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53641 ac_ext=c
53642 ac_cpp='$CPP $CPPFLAGS'
53643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53651 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
53652 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
53654 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
53656 for ac_func in isnan
53658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53659 echo "$as_me:$LINENO: checking for $ac_func" >&5
53660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53661 if eval "test \"\${$as_ac_var+set}\" = set"; then
53662 echo $ECHO_N "(cached) $ECHO_C" >&6
53663 else
53664 if test x$gcc_no_link = xyes; then
53665 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53667 { (exit 1); exit 1; }; }
53669 cat >conftest.$ac_ext <<_ACEOF
53670 /* confdefs.h. */
53671 _ACEOF
53672 cat confdefs.h >>conftest.$ac_ext
53673 cat >>conftest.$ac_ext <<_ACEOF
53674 /* end confdefs.h. */
53675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53677 #define $ac_func innocuous_$ac_func
53679 /* System header to define __stub macros and hopefully few prototypes,
53680 which can conflict with char $ac_func (); below.
53681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53682 <limits.h> exists even on freestanding compilers. */
53684 #ifdef __STDC__
53685 # include <limits.h>
53686 #else
53687 # include <assert.h>
53688 #endif
53690 #undef $ac_func
53692 /* Override any gcc2 internal prototype to avoid an error. */
53693 #ifdef __cplusplus
53694 extern "C"
53696 #endif
53697 /* We use char because int might match the return type of a gcc2
53698 builtin and then its argument prototype would still apply. */
53699 char $ac_func ();
53700 /* The GNU C library defines this for functions which it implements
53701 to always fail with ENOSYS. Some functions are actually named
53702 something starting with __ and the normal name is an alias. */
53703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53704 choke me
53705 #else
53706 char (*f) () = $ac_func;
53707 #endif
53708 #ifdef __cplusplus
53710 #endif
53713 main ()
53715 return f != $ac_func;
53717 return 0;
53719 _ACEOF
53720 rm -f conftest.$ac_objext conftest$ac_exeext
53721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53722 (eval $ac_link) 2>conftest.er1
53723 ac_status=$?
53724 grep -v '^ *+' conftest.er1 >conftest.err
53725 rm -f conftest.er1
53726 cat conftest.err >&5
53727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53728 (exit $ac_status); } &&
53729 { ac_try='test -z "$ac_c_werror_flag"
53730 || test ! -s conftest.err'
53731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53732 (eval $ac_try) 2>&5
53733 ac_status=$?
53734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53735 (exit $ac_status); }; } &&
53736 { ac_try='test -s conftest$ac_exeext'
53737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53738 (eval $ac_try) 2>&5
53739 ac_status=$?
53740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53741 (exit $ac_status); }; }; then
53742 eval "$as_ac_var=yes"
53743 else
53744 echo "$as_me: failed program was:" >&5
53745 sed 's/^/| /' conftest.$ac_ext >&5
53747 eval "$as_ac_var=no"
53749 rm -f conftest.err conftest.$ac_objext \
53750 conftest$ac_exeext conftest.$ac_ext
53752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53754 if test `eval echo '${'$as_ac_var'}'` = yes; then
53755 cat >>confdefs.h <<_ACEOF
53756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53757 _ACEOF
53760 done
53762 else
53764 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
53765 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
53766 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
53767 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
53768 echo $ECHO_N "(cached) $ECHO_C" >&6
53769 else
53773 ac_ext=cc
53774 ac_cpp='$CXXCPP $CPPFLAGS'
53775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53779 cat >conftest.$ac_ext <<_ACEOF
53780 /* confdefs.h. */
53781 _ACEOF
53782 cat confdefs.h >>conftest.$ac_ext
53783 cat >>conftest.$ac_ext <<_ACEOF
53784 /* end confdefs.h. */
53785 #include <math.h>
53786 #ifdef HAVE_IEEEFP_H
53787 #include <ieeefp.h>
53788 #endif
53791 main ()
53793 _isnan(0);
53795 return 0;
53797 _ACEOF
53798 rm -f conftest.$ac_objext
53799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53800 (eval $ac_compile) 2>conftest.er1
53801 ac_status=$?
53802 grep -v '^ *+' conftest.er1 >conftest.err
53803 rm -f conftest.er1
53804 cat conftest.err >&5
53805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53806 (exit $ac_status); } &&
53807 { ac_try='test -z "$ac_cxx_werror_flag"
53808 || test ! -s conftest.err'
53809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53810 (eval $ac_try) 2>&5
53811 ac_status=$?
53812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53813 (exit $ac_status); }; } &&
53814 { ac_try='test -s conftest.$ac_objext'
53815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53816 (eval $ac_try) 2>&5
53817 ac_status=$?
53818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53819 (exit $ac_status); }; }; then
53820 glibcxx_cv_func__isnan_use=yes
53821 else
53822 echo "$as_me: failed program was:" >&5
53823 sed 's/^/| /' conftest.$ac_ext >&5
53825 glibcxx_cv_func__isnan_use=no
53827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53828 ac_ext=c
53829 ac_cpp='$CPP $CPPFLAGS'
53830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53838 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
53839 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
53841 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
53843 for ac_func in _isnan
53845 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53846 echo "$as_me:$LINENO: checking for $ac_func" >&5
53847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53848 if eval "test \"\${$as_ac_var+set}\" = set"; then
53849 echo $ECHO_N "(cached) $ECHO_C" >&6
53850 else
53851 if test x$gcc_no_link = xyes; then
53852 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53854 { (exit 1); exit 1; }; }
53856 cat >conftest.$ac_ext <<_ACEOF
53857 /* confdefs.h. */
53858 _ACEOF
53859 cat confdefs.h >>conftest.$ac_ext
53860 cat >>conftest.$ac_ext <<_ACEOF
53861 /* end confdefs.h. */
53862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53864 #define $ac_func innocuous_$ac_func
53866 /* System header to define __stub macros and hopefully few prototypes,
53867 which can conflict with char $ac_func (); below.
53868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53869 <limits.h> exists even on freestanding compilers. */
53871 #ifdef __STDC__
53872 # include <limits.h>
53873 #else
53874 # include <assert.h>
53875 #endif
53877 #undef $ac_func
53879 /* Override any gcc2 internal prototype to avoid an error. */
53880 #ifdef __cplusplus
53881 extern "C"
53883 #endif
53884 /* We use char because int might match the return type of a gcc2
53885 builtin and then its argument prototype would still apply. */
53886 char $ac_func ();
53887 /* The GNU C library defines this for functions which it implements
53888 to always fail with ENOSYS. Some functions are actually named
53889 something starting with __ and the normal name is an alias. */
53890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53891 choke me
53892 #else
53893 char (*f) () = $ac_func;
53894 #endif
53895 #ifdef __cplusplus
53897 #endif
53900 main ()
53902 return f != $ac_func;
53904 return 0;
53906 _ACEOF
53907 rm -f conftest.$ac_objext conftest$ac_exeext
53908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53909 (eval $ac_link) 2>conftest.er1
53910 ac_status=$?
53911 grep -v '^ *+' conftest.er1 >conftest.err
53912 rm -f conftest.er1
53913 cat conftest.err >&5
53914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53915 (exit $ac_status); } &&
53916 { ac_try='test -z "$ac_c_werror_flag"
53917 || test ! -s conftest.err'
53918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53919 (eval $ac_try) 2>&5
53920 ac_status=$?
53921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53922 (exit $ac_status); }; } &&
53923 { ac_try='test -s conftest$ac_exeext'
53924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53925 (eval $ac_try) 2>&5
53926 ac_status=$?
53927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53928 (exit $ac_status); }; }; then
53929 eval "$as_ac_var=yes"
53930 else
53931 echo "$as_me: failed program was:" >&5
53932 sed 's/^/| /' conftest.$ac_ext >&5
53934 eval "$as_ac_var=no"
53936 rm -f conftest.err conftest.$ac_objext \
53937 conftest$ac_exeext conftest.$ac_ext
53939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53940 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53941 if test `eval echo '${'$as_ac_var'}'` = yes; then
53942 cat >>confdefs.h <<_ACEOF
53943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53944 _ACEOF
53947 done
53957 echo "$as_me:$LINENO: checking for finite declaration" >&5
53958 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
53959 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53960 if test "${glibcxx_cv_func_finite_use+set}" = set; then
53961 echo $ECHO_N "(cached) $ECHO_C" >&6
53962 else
53966 ac_ext=cc
53967 ac_cpp='$CXXCPP $CPPFLAGS'
53968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53972 cat >conftest.$ac_ext <<_ACEOF
53973 /* confdefs.h. */
53974 _ACEOF
53975 cat confdefs.h >>conftest.$ac_ext
53976 cat >>conftest.$ac_ext <<_ACEOF
53977 /* end confdefs.h. */
53978 #include <math.h>
53979 #ifdef HAVE_IEEEFP_H
53980 #include <ieeefp.h>
53981 #endif
53984 main ()
53986 finite(0);
53988 return 0;
53990 _ACEOF
53991 rm -f conftest.$ac_objext
53992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53993 (eval $ac_compile) 2>conftest.er1
53994 ac_status=$?
53995 grep -v '^ *+' conftest.er1 >conftest.err
53996 rm -f conftest.er1
53997 cat conftest.err >&5
53998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53999 (exit $ac_status); } &&
54000 { ac_try='test -z "$ac_cxx_werror_flag"
54001 || test ! -s conftest.err'
54002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54003 (eval $ac_try) 2>&5
54004 ac_status=$?
54005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54006 (exit $ac_status); }; } &&
54007 { ac_try='test -s conftest.$ac_objext'
54008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54009 (eval $ac_try) 2>&5
54010 ac_status=$?
54011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54012 (exit $ac_status); }; }; then
54013 glibcxx_cv_func_finite_use=yes
54014 else
54015 echo "$as_me: failed program was:" >&5
54016 sed 's/^/| /' conftest.$ac_ext >&5
54018 glibcxx_cv_func_finite_use=no
54020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54021 ac_ext=c
54022 ac_cpp='$CPP $CPPFLAGS'
54023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54031 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
54032 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
54034 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54036 for ac_func in finite
54038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54039 echo "$as_me:$LINENO: checking for $ac_func" >&5
54040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54041 if eval "test \"\${$as_ac_var+set}\" = set"; then
54042 echo $ECHO_N "(cached) $ECHO_C" >&6
54043 else
54044 if test x$gcc_no_link = xyes; then
54045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54047 { (exit 1); exit 1; }; }
54049 cat >conftest.$ac_ext <<_ACEOF
54050 /* confdefs.h. */
54051 _ACEOF
54052 cat confdefs.h >>conftest.$ac_ext
54053 cat >>conftest.$ac_ext <<_ACEOF
54054 /* end confdefs.h. */
54055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54057 #define $ac_func innocuous_$ac_func
54059 /* System header to define __stub macros and hopefully few prototypes,
54060 which can conflict with char $ac_func (); below.
54061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54062 <limits.h> exists even on freestanding compilers. */
54064 #ifdef __STDC__
54065 # include <limits.h>
54066 #else
54067 # include <assert.h>
54068 #endif
54070 #undef $ac_func
54072 /* Override any gcc2 internal prototype to avoid an error. */
54073 #ifdef __cplusplus
54074 extern "C"
54076 #endif
54077 /* We use char because int might match the return type of a gcc2
54078 builtin and then its argument prototype would still apply. */
54079 char $ac_func ();
54080 /* The GNU C library defines this for functions which it implements
54081 to always fail with ENOSYS. Some functions are actually named
54082 something starting with __ and the normal name is an alias. */
54083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54084 choke me
54085 #else
54086 char (*f) () = $ac_func;
54087 #endif
54088 #ifdef __cplusplus
54090 #endif
54093 main ()
54095 return f != $ac_func;
54097 return 0;
54099 _ACEOF
54100 rm -f conftest.$ac_objext conftest$ac_exeext
54101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54102 (eval $ac_link) 2>conftest.er1
54103 ac_status=$?
54104 grep -v '^ *+' conftest.er1 >conftest.err
54105 rm -f conftest.er1
54106 cat conftest.err >&5
54107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54108 (exit $ac_status); } &&
54109 { ac_try='test -z "$ac_c_werror_flag"
54110 || test ! -s conftest.err'
54111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54112 (eval $ac_try) 2>&5
54113 ac_status=$?
54114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54115 (exit $ac_status); }; } &&
54116 { ac_try='test -s conftest$ac_exeext'
54117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54118 (eval $ac_try) 2>&5
54119 ac_status=$?
54120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54121 (exit $ac_status); }; }; then
54122 eval "$as_ac_var=yes"
54123 else
54124 echo "$as_me: failed program was:" >&5
54125 sed 's/^/| /' conftest.$ac_ext >&5
54127 eval "$as_ac_var=no"
54129 rm -f conftest.err conftest.$ac_objext \
54130 conftest$ac_exeext conftest.$ac_ext
54132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54134 if test `eval echo '${'$as_ac_var'}'` = yes; then
54135 cat >>confdefs.h <<_ACEOF
54136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54137 _ACEOF
54140 done
54142 else
54144 echo "$as_me:$LINENO: checking for _finite declaration" >&5
54145 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
54146 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54147 if test "${glibcxx_cv_func__finite_use+set}" = set; then
54148 echo $ECHO_N "(cached) $ECHO_C" >&6
54149 else
54153 ac_ext=cc
54154 ac_cpp='$CXXCPP $CPPFLAGS'
54155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54159 cat >conftest.$ac_ext <<_ACEOF
54160 /* confdefs.h. */
54161 _ACEOF
54162 cat confdefs.h >>conftest.$ac_ext
54163 cat >>conftest.$ac_ext <<_ACEOF
54164 /* end confdefs.h. */
54165 #include <math.h>
54166 #ifdef HAVE_IEEEFP_H
54167 #include <ieeefp.h>
54168 #endif
54171 main ()
54173 _finite(0);
54175 return 0;
54177 _ACEOF
54178 rm -f conftest.$ac_objext
54179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54180 (eval $ac_compile) 2>conftest.er1
54181 ac_status=$?
54182 grep -v '^ *+' conftest.er1 >conftest.err
54183 rm -f conftest.er1
54184 cat conftest.err >&5
54185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54186 (exit $ac_status); } &&
54187 { ac_try='test -z "$ac_cxx_werror_flag"
54188 || test ! -s conftest.err'
54189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54190 (eval $ac_try) 2>&5
54191 ac_status=$?
54192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54193 (exit $ac_status); }; } &&
54194 { ac_try='test -s conftest.$ac_objext'
54195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54196 (eval $ac_try) 2>&5
54197 ac_status=$?
54198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54199 (exit $ac_status); }; }; then
54200 glibcxx_cv_func__finite_use=yes
54201 else
54202 echo "$as_me: failed program was:" >&5
54203 sed 's/^/| /' conftest.$ac_ext >&5
54205 glibcxx_cv_func__finite_use=no
54207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54208 ac_ext=c
54209 ac_cpp='$CPP $CPPFLAGS'
54210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54218 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
54219 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
54221 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54223 for ac_func in _finite
54225 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54226 echo "$as_me:$LINENO: checking for $ac_func" >&5
54227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54228 if eval "test \"\${$as_ac_var+set}\" = set"; then
54229 echo $ECHO_N "(cached) $ECHO_C" >&6
54230 else
54231 if test x$gcc_no_link = xyes; then
54232 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54234 { (exit 1); exit 1; }; }
54236 cat >conftest.$ac_ext <<_ACEOF
54237 /* confdefs.h. */
54238 _ACEOF
54239 cat confdefs.h >>conftest.$ac_ext
54240 cat >>conftest.$ac_ext <<_ACEOF
54241 /* end confdefs.h. */
54242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54243 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54244 #define $ac_func innocuous_$ac_func
54246 /* System header to define __stub macros and hopefully few prototypes,
54247 which can conflict with char $ac_func (); below.
54248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54249 <limits.h> exists even on freestanding compilers. */
54251 #ifdef __STDC__
54252 # include <limits.h>
54253 #else
54254 # include <assert.h>
54255 #endif
54257 #undef $ac_func
54259 /* Override any gcc2 internal prototype to avoid an error. */
54260 #ifdef __cplusplus
54261 extern "C"
54263 #endif
54264 /* We use char because int might match the return type of a gcc2
54265 builtin and then its argument prototype would still apply. */
54266 char $ac_func ();
54267 /* The GNU C library defines this for functions which it implements
54268 to always fail with ENOSYS. Some functions are actually named
54269 something starting with __ and the normal name is an alias. */
54270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54271 choke me
54272 #else
54273 char (*f) () = $ac_func;
54274 #endif
54275 #ifdef __cplusplus
54277 #endif
54280 main ()
54282 return f != $ac_func;
54284 return 0;
54286 _ACEOF
54287 rm -f conftest.$ac_objext conftest$ac_exeext
54288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54289 (eval $ac_link) 2>conftest.er1
54290 ac_status=$?
54291 grep -v '^ *+' conftest.er1 >conftest.err
54292 rm -f conftest.er1
54293 cat conftest.err >&5
54294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54295 (exit $ac_status); } &&
54296 { ac_try='test -z "$ac_c_werror_flag"
54297 || test ! -s conftest.err'
54298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54299 (eval $ac_try) 2>&5
54300 ac_status=$?
54301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54302 (exit $ac_status); }; } &&
54303 { ac_try='test -s conftest$ac_exeext'
54304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54305 (eval $ac_try) 2>&5
54306 ac_status=$?
54307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54308 (exit $ac_status); }; }; then
54309 eval "$as_ac_var=yes"
54310 else
54311 echo "$as_me: failed program was:" >&5
54312 sed 's/^/| /' conftest.$ac_ext >&5
54314 eval "$as_ac_var=no"
54316 rm -f conftest.err conftest.$ac_objext \
54317 conftest$ac_exeext conftest.$ac_ext
54319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54320 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54321 if test `eval echo '${'$as_ac_var'}'` = yes; then
54322 cat >>confdefs.h <<_ACEOF
54323 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54324 _ACEOF
54327 done
54337 echo "$as_me:$LINENO: checking for copysign declaration" >&5
54338 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
54339 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
54340 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
54341 echo $ECHO_N "(cached) $ECHO_C" >&6
54342 else
54346 ac_ext=cc
54347 ac_cpp='$CXXCPP $CPPFLAGS'
54348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54352 cat >conftest.$ac_ext <<_ACEOF
54353 /* confdefs.h. */
54354 _ACEOF
54355 cat confdefs.h >>conftest.$ac_ext
54356 cat >>conftest.$ac_ext <<_ACEOF
54357 /* end confdefs.h. */
54358 #include <math.h>
54360 main ()
54362 copysign(0, 0);
54364 return 0;
54366 _ACEOF
54367 rm -f conftest.$ac_objext
54368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54369 (eval $ac_compile) 2>conftest.er1
54370 ac_status=$?
54371 grep -v '^ *+' conftest.er1 >conftest.err
54372 rm -f conftest.er1
54373 cat conftest.err >&5
54374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54375 (exit $ac_status); } &&
54376 { ac_try='test -z "$ac_cxx_werror_flag"
54377 || test ! -s conftest.err'
54378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54379 (eval $ac_try) 2>&5
54380 ac_status=$?
54381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54382 (exit $ac_status); }; } &&
54383 { ac_try='test -s conftest.$ac_objext'
54384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54385 (eval $ac_try) 2>&5
54386 ac_status=$?
54387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54388 (exit $ac_status); }; }; then
54389 glibcxx_cv_func_copysign_use=yes
54390 else
54391 echo "$as_me: failed program was:" >&5
54392 sed 's/^/| /' conftest.$ac_ext >&5
54394 glibcxx_cv_func_copysign_use=no
54396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54397 ac_ext=c
54398 ac_cpp='$CPP $CPPFLAGS'
54399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54407 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
54408 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
54410 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
54412 for ac_func in copysign
54414 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54415 echo "$as_me:$LINENO: checking for $ac_func" >&5
54416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54417 if eval "test \"\${$as_ac_var+set}\" = set"; then
54418 echo $ECHO_N "(cached) $ECHO_C" >&6
54419 else
54420 if test x$gcc_no_link = xyes; then
54421 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54423 { (exit 1); exit 1; }; }
54425 cat >conftest.$ac_ext <<_ACEOF
54426 /* confdefs.h. */
54427 _ACEOF
54428 cat confdefs.h >>conftest.$ac_ext
54429 cat >>conftest.$ac_ext <<_ACEOF
54430 /* end confdefs.h. */
54431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54433 #define $ac_func innocuous_$ac_func
54435 /* System header to define __stub macros and hopefully few prototypes,
54436 which can conflict with char $ac_func (); below.
54437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54438 <limits.h> exists even on freestanding compilers. */
54440 #ifdef __STDC__
54441 # include <limits.h>
54442 #else
54443 # include <assert.h>
54444 #endif
54446 #undef $ac_func
54448 /* Override any gcc2 internal prototype to avoid an error. */
54449 #ifdef __cplusplus
54450 extern "C"
54452 #endif
54453 /* We use char because int might match the return type of a gcc2
54454 builtin and then its argument prototype would still apply. */
54455 char $ac_func ();
54456 /* The GNU C library defines this for functions which it implements
54457 to always fail with ENOSYS. Some functions are actually named
54458 something starting with __ and the normal name is an alias. */
54459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54460 choke me
54461 #else
54462 char (*f) () = $ac_func;
54463 #endif
54464 #ifdef __cplusplus
54466 #endif
54469 main ()
54471 return f != $ac_func;
54473 return 0;
54475 _ACEOF
54476 rm -f conftest.$ac_objext conftest$ac_exeext
54477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54478 (eval $ac_link) 2>conftest.er1
54479 ac_status=$?
54480 grep -v '^ *+' conftest.er1 >conftest.err
54481 rm -f conftest.er1
54482 cat conftest.err >&5
54483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54484 (exit $ac_status); } &&
54485 { ac_try='test -z "$ac_c_werror_flag"
54486 || test ! -s conftest.err'
54487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54488 (eval $ac_try) 2>&5
54489 ac_status=$?
54490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54491 (exit $ac_status); }; } &&
54492 { ac_try='test -s conftest$ac_exeext'
54493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54494 (eval $ac_try) 2>&5
54495 ac_status=$?
54496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54497 (exit $ac_status); }; }; then
54498 eval "$as_ac_var=yes"
54499 else
54500 echo "$as_me: failed program was:" >&5
54501 sed 's/^/| /' conftest.$ac_ext >&5
54503 eval "$as_ac_var=no"
54505 rm -f conftest.err conftest.$ac_objext \
54506 conftest$ac_exeext conftest.$ac_ext
54508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54510 if test `eval echo '${'$as_ac_var'}'` = yes; then
54511 cat >>confdefs.h <<_ACEOF
54512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54513 _ACEOF
54516 done
54518 else
54520 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
54521 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
54522 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
54523 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
54524 echo $ECHO_N "(cached) $ECHO_C" >&6
54525 else
54529 ac_ext=cc
54530 ac_cpp='$CXXCPP $CPPFLAGS'
54531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54535 cat >conftest.$ac_ext <<_ACEOF
54536 /* confdefs.h. */
54537 _ACEOF
54538 cat confdefs.h >>conftest.$ac_ext
54539 cat >>conftest.$ac_ext <<_ACEOF
54540 /* end confdefs.h. */
54541 #include <math.h>
54543 main ()
54545 _copysign(0, 0);
54547 return 0;
54549 _ACEOF
54550 rm -f conftest.$ac_objext
54551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54552 (eval $ac_compile) 2>conftest.er1
54553 ac_status=$?
54554 grep -v '^ *+' conftest.er1 >conftest.err
54555 rm -f conftest.er1
54556 cat conftest.err >&5
54557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54558 (exit $ac_status); } &&
54559 { ac_try='test -z "$ac_cxx_werror_flag"
54560 || test ! -s conftest.err'
54561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54562 (eval $ac_try) 2>&5
54563 ac_status=$?
54564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54565 (exit $ac_status); }; } &&
54566 { ac_try='test -s conftest.$ac_objext'
54567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54568 (eval $ac_try) 2>&5
54569 ac_status=$?
54570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54571 (exit $ac_status); }; }; then
54572 glibcxx_cv_func__copysign_use=yes
54573 else
54574 echo "$as_me: failed program was:" >&5
54575 sed 's/^/| /' conftest.$ac_ext >&5
54577 glibcxx_cv_func__copysign_use=no
54579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54580 ac_ext=c
54581 ac_cpp='$CPP $CPPFLAGS'
54582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54590 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
54591 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
54593 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
54595 for ac_func in _copysign
54597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54598 echo "$as_me:$LINENO: checking for $ac_func" >&5
54599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54600 if eval "test \"\${$as_ac_var+set}\" = set"; then
54601 echo $ECHO_N "(cached) $ECHO_C" >&6
54602 else
54603 if test x$gcc_no_link = xyes; then
54604 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54606 { (exit 1); exit 1; }; }
54608 cat >conftest.$ac_ext <<_ACEOF
54609 /* confdefs.h. */
54610 _ACEOF
54611 cat confdefs.h >>conftest.$ac_ext
54612 cat >>conftest.$ac_ext <<_ACEOF
54613 /* end confdefs.h. */
54614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54616 #define $ac_func innocuous_$ac_func
54618 /* System header to define __stub macros and hopefully few prototypes,
54619 which can conflict with char $ac_func (); below.
54620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54621 <limits.h> exists even on freestanding compilers. */
54623 #ifdef __STDC__
54624 # include <limits.h>
54625 #else
54626 # include <assert.h>
54627 #endif
54629 #undef $ac_func
54631 /* Override any gcc2 internal prototype to avoid an error. */
54632 #ifdef __cplusplus
54633 extern "C"
54635 #endif
54636 /* We use char because int might match the return type of a gcc2
54637 builtin and then its argument prototype would still apply. */
54638 char $ac_func ();
54639 /* The GNU C library defines this for functions which it implements
54640 to always fail with ENOSYS. Some functions are actually named
54641 something starting with __ and the normal name is an alias. */
54642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54643 choke me
54644 #else
54645 char (*f) () = $ac_func;
54646 #endif
54647 #ifdef __cplusplus
54649 #endif
54652 main ()
54654 return f != $ac_func;
54656 return 0;
54658 _ACEOF
54659 rm -f conftest.$ac_objext conftest$ac_exeext
54660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54661 (eval $ac_link) 2>conftest.er1
54662 ac_status=$?
54663 grep -v '^ *+' conftest.er1 >conftest.err
54664 rm -f conftest.er1
54665 cat conftest.err >&5
54666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54667 (exit $ac_status); } &&
54668 { ac_try='test -z "$ac_c_werror_flag"
54669 || test ! -s conftest.err'
54670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54671 (eval $ac_try) 2>&5
54672 ac_status=$?
54673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54674 (exit $ac_status); }; } &&
54675 { ac_try='test -s conftest$ac_exeext'
54676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54677 (eval $ac_try) 2>&5
54678 ac_status=$?
54679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54680 (exit $ac_status); }; }; then
54681 eval "$as_ac_var=yes"
54682 else
54683 echo "$as_me: failed program was:" >&5
54684 sed 's/^/| /' conftest.$ac_ext >&5
54686 eval "$as_ac_var=no"
54688 rm -f conftest.err conftest.$ac_objext \
54689 conftest$ac_exeext conftest.$ac_ext
54691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54693 if test `eval echo '${'$as_ac_var'}'` = yes; then
54694 cat >>confdefs.h <<_ACEOF
54695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54696 _ACEOF
54699 done
54709 echo "$as_me:$LINENO: checking for sincos declaration" >&5
54710 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
54711 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54712 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
54713 echo $ECHO_N "(cached) $ECHO_C" >&6
54714 else
54718 ac_ext=cc
54719 ac_cpp='$CXXCPP $CPPFLAGS'
54720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54724 cat >conftest.$ac_ext <<_ACEOF
54725 /* confdefs.h. */
54726 _ACEOF
54727 cat confdefs.h >>conftest.$ac_ext
54728 cat >>conftest.$ac_ext <<_ACEOF
54729 /* end confdefs.h. */
54730 #include <math.h>
54732 main ()
54734 sincos(0, 0, 0);
54736 return 0;
54738 _ACEOF
54739 rm -f conftest.$ac_objext
54740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54741 (eval $ac_compile) 2>conftest.er1
54742 ac_status=$?
54743 grep -v '^ *+' conftest.er1 >conftest.err
54744 rm -f conftest.er1
54745 cat conftest.err >&5
54746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54747 (exit $ac_status); } &&
54748 { ac_try='test -z "$ac_cxx_werror_flag"
54749 || test ! -s conftest.err'
54750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54751 (eval $ac_try) 2>&5
54752 ac_status=$?
54753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54754 (exit $ac_status); }; } &&
54755 { ac_try='test -s conftest.$ac_objext'
54756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54757 (eval $ac_try) 2>&5
54758 ac_status=$?
54759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54760 (exit $ac_status); }; }; then
54761 glibcxx_cv_func_sincos_use=yes
54762 else
54763 echo "$as_me: failed program was:" >&5
54764 sed 's/^/| /' conftest.$ac_ext >&5
54766 glibcxx_cv_func_sincos_use=no
54768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54769 ac_ext=c
54770 ac_cpp='$CPP $CPPFLAGS'
54771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54779 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
54780 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
54782 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54784 for ac_func in sincos
54786 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54787 echo "$as_me:$LINENO: checking for $ac_func" >&5
54788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54789 if eval "test \"\${$as_ac_var+set}\" = set"; then
54790 echo $ECHO_N "(cached) $ECHO_C" >&6
54791 else
54792 if test x$gcc_no_link = xyes; then
54793 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54795 { (exit 1); exit 1; }; }
54797 cat >conftest.$ac_ext <<_ACEOF
54798 /* confdefs.h. */
54799 _ACEOF
54800 cat confdefs.h >>conftest.$ac_ext
54801 cat >>conftest.$ac_ext <<_ACEOF
54802 /* end confdefs.h. */
54803 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54805 #define $ac_func innocuous_$ac_func
54807 /* System header to define __stub macros and hopefully few prototypes,
54808 which can conflict with char $ac_func (); below.
54809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54810 <limits.h> exists even on freestanding compilers. */
54812 #ifdef __STDC__
54813 # include <limits.h>
54814 #else
54815 # include <assert.h>
54816 #endif
54818 #undef $ac_func
54820 /* Override any gcc2 internal prototype to avoid an error. */
54821 #ifdef __cplusplus
54822 extern "C"
54824 #endif
54825 /* We use char because int might match the return type of a gcc2
54826 builtin and then its argument prototype would still apply. */
54827 char $ac_func ();
54828 /* The GNU C library defines this for functions which it implements
54829 to always fail with ENOSYS. Some functions are actually named
54830 something starting with __ and the normal name is an alias. */
54831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54832 choke me
54833 #else
54834 char (*f) () = $ac_func;
54835 #endif
54836 #ifdef __cplusplus
54838 #endif
54841 main ()
54843 return f != $ac_func;
54845 return 0;
54847 _ACEOF
54848 rm -f conftest.$ac_objext conftest$ac_exeext
54849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54850 (eval $ac_link) 2>conftest.er1
54851 ac_status=$?
54852 grep -v '^ *+' conftest.er1 >conftest.err
54853 rm -f conftest.er1
54854 cat conftest.err >&5
54855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54856 (exit $ac_status); } &&
54857 { ac_try='test -z "$ac_c_werror_flag"
54858 || test ! -s conftest.err'
54859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54860 (eval $ac_try) 2>&5
54861 ac_status=$?
54862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54863 (exit $ac_status); }; } &&
54864 { ac_try='test -s conftest$ac_exeext'
54865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54866 (eval $ac_try) 2>&5
54867 ac_status=$?
54868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54869 (exit $ac_status); }; }; then
54870 eval "$as_ac_var=yes"
54871 else
54872 echo "$as_me: failed program was:" >&5
54873 sed 's/^/| /' conftest.$ac_ext >&5
54875 eval "$as_ac_var=no"
54877 rm -f conftest.err conftest.$ac_objext \
54878 conftest$ac_exeext conftest.$ac_ext
54880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54881 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54882 if test `eval echo '${'$as_ac_var'}'` = yes; then
54883 cat >>confdefs.h <<_ACEOF
54884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54885 _ACEOF
54888 done
54890 else
54892 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
54893 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
54894 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54895 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
54896 echo $ECHO_N "(cached) $ECHO_C" >&6
54897 else
54901 ac_ext=cc
54902 ac_cpp='$CXXCPP $CPPFLAGS'
54903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54907 cat >conftest.$ac_ext <<_ACEOF
54908 /* confdefs.h. */
54909 _ACEOF
54910 cat confdefs.h >>conftest.$ac_ext
54911 cat >>conftest.$ac_ext <<_ACEOF
54912 /* end confdefs.h. */
54913 #include <math.h>
54915 main ()
54917 _sincos(0, 0, 0);
54919 return 0;
54921 _ACEOF
54922 rm -f conftest.$ac_objext
54923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54924 (eval $ac_compile) 2>conftest.er1
54925 ac_status=$?
54926 grep -v '^ *+' conftest.er1 >conftest.err
54927 rm -f conftest.er1
54928 cat conftest.err >&5
54929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54930 (exit $ac_status); } &&
54931 { ac_try='test -z "$ac_cxx_werror_flag"
54932 || test ! -s conftest.err'
54933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54934 (eval $ac_try) 2>&5
54935 ac_status=$?
54936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54937 (exit $ac_status); }; } &&
54938 { ac_try='test -s conftest.$ac_objext'
54939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54940 (eval $ac_try) 2>&5
54941 ac_status=$?
54942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54943 (exit $ac_status); }; }; then
54944 glibcxx_cv_func__sincos_use=yes
54945 else
54946 echo "$as_me: failed program was:" >&5
54947 sed 's/^/| /' conftest.$ac_ext >&5
54949 glibcxx_cv_func__sincos_use=no
54951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54952 ac_ext=c
54953 ac_cpp='$CPP $CPPFLAGS'
54954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54962 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
54963 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
54965 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54967 for ac_func in _sincos
54969 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54970 echo "$as_me:$LINENO: checking for $ac_func" >&5
54971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54972 if eval "test \"\${$as_ac_var+set}\" = set"; then
54973 echo $ECHO_N "(cached) $ECHO_C" >&6
54974 else
54975 if test x$gcc_no_link = xyes; then
54976 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54978 { (exit 1); exit 1; }; }
54980 cat >conftest.$ac_ext <<_ACEOF
54981 /* confdefs.h. */
54982 _ACEOF
54983 cat confdefs.h >>conftest.$ac_ext
54984 cat >>conftest.$ac_ext <<_ACEOF
54985 /* end confdefs.h. */
54986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54988 #define $ac_func innocuous_$ac_func
54990 /* System header to define __stub macros and hopefully few prototypes,
54991 which can conflict with char $ac_func (); below.
54992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54993 <limits.h> exists even on freestanding compilers. */
54995 #ifdef __STDC__
54996 # include <limits.h>
54997 #else
54998 # include <assert.h>
54999 #endif
55001 #undef $ac_func
55003 /* Override any gcc2 internal prototype to avoid an error. */
55004 #ifdef __cplusplus
55005 extern "C"
55007 #endif
55008 /* We use char because int might match the return type of a gcc2
55009 builtin and then its argument prototype would still apply. */
55010 char $ac_func ();
55011 /* The GNU C library defines this for functions which it implements
55012 to always fail with ENOSYS. Some functions are actually named
55013 something starting with __ and the normal name is an alias. */
55014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55015 choke me
55016 #else
55017 char (*f) () = $ac_func;
55018 #endif
55019 #ifdef __cplusplus
55021 #endif
55024 main ()
55026 return f != $ac_func;
55028 return 0;
55030 _ACEOF
55031 rm -f conftest.$ac_objext conftest$ac_exeext
55032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55033 (eval $ac_link) 2>conftest.er1
55034 ac_status=$?
55035 grep -v '^ *+' conftest.er1 >conftest.err
55036 rm -f conftest.er1
55037 cat conftest.err >&5
55038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55039 (exit $ac_status); } &&
55040 { ac_try='test -z "$ac_c_werror_flag"
55041 || test ! -s conftest.err'
55042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55043 (eval $ac_try) 2>&5
55044 ac_status=$?
55045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55046 (exit $ac_status); }; } &&
55047 { ac_try='test -s conftest$ac_exeext'
55048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55049 (eval $ac_try) 2>&5
55050 ac_status=$?
55051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55052 (exit $ac_status); }; }; then
55053 eval "$as_ac_var=yes"
55054 else
55055 echo "$as_me: failed program was:" >&5
55056 sed 's/^/| /' conftest.$ac_ext >&5
55058 eval "$as_ac_var=no"
55060 rm -f conftest.err conftest.$ac_objext \
55061 conftest$ac_exeext conftest.$ac_ext
55063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55065 if test `eval echo '${'$as_ac_var'}'` = yes; then
55066 cat >>confdefs.h <<_ACEOF
55067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55068 _ACEOF
55071 done
55081 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
55082 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
55083 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
55084 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
55085 echo $ECHO_N "(cached) $ECHO_C" >&6
55086 else
55090 ac_ext=cc
55091 ac_cpp='$CXXCPP $CPPFLAGS'
55092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55096 cat >conftest.$ac_ext <<_ACEOF
55097 /* confdefs.h. */
55098 _ACEOF
55099 cat confdefs.h >>conftest.$ac_ext
55100 cat >>conftest.$ac_ext <<_ACEOF
55101 /* end confdefs.h. */
55102 #include <math.h>
55103 #ifdef HAVE_IEEEFP_H
55104 #include <ieeefp.h>
55105 #endif
55108 main ()
55110 fpclass(0);
55112 return 0;
55114 _ACEOF
55115 rm -f conftest.$ac_objext
55116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55117 (eval $ac_compile) 2>conftest.er1
55118 ac_status=$?
55119 grep -v '^ *+' conftest.er1 >conftest.err
55120 rm -f conftest.er1
55121 cat conftest.err >&5
55122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55123 (exit $ac_status); } &&
55124 { ac_try='test -z "$ac_cxx_werror_flag"
55125 || test ! -s conftest.err'
55126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55127 (eval $ac_try) 2>&5
55128 ac_status=$?
55129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55130 (exit $ac_status); }; } &&
55131 { ac_try='test -s conftest.$ac_objext'
55132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55133 (eval $ac_try) 2>&5
55134 ac_status=$?
55135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55136 (exit $ac_status); }; }; then
55137 glibcxx_cv_func_fpclass_use=yes
55138 else
55139 echo "$as_me: failed program was:" >&5
55140 sed 's/^/| /' conftest.$ac_ext >&5
55142 glibcxx_cv_func_fpclass_use=no
55144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55145 ac_ext=c
55146 ac_cpp='$CPP $CPPFLAGS'
55147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55155 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
55156 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
55158 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55160 for ac_func in fpclass
55162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55163 echo "$as_me:$LINENO: checking for $ac_func" >&5
55164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55165 if eval "test \"\${$as_ac_var+set}\" = set"; then
55166 echo $ECHO_N "(cached) $ECHO_C" >&6
55167 else
55168 if test x$gcc_no_link = xyes; then
55169 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55171 { (exit 1); exit 1; }; }
55173 cat >conftest.$ac_ext <<_ACEOF
55174 /* confdefs.h. */
55175 _ACEOF
55176 cat confdefs.h >>conftest.$ac_ext
55177 cat >>conftest.$ac_ext <<_ACEOF
55178 /* end confdefs.h. */
55179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55181 #define $ac_func innocuous_$ac_func
55183 /* System header to define __stub macros and hopefully few prototypes,
55184 which can conflict with char $ac_func (); below.
55185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55186 <limits.h> exists even on freestanding compilers. */
55188 #ifdef __STDC__
55189 # include <limits.h>
55190 #else
55191 # include <assert.h>
55192 #endif
55194 #undef $ac_func
55196 /* Override any gcc2 internal prototype to avoid an error. */
55197 #ifdef __cplusplus
55198 extern "C"
55200 #endif
55201 /* We use char because int might match the return type of a gcc2
55202 builtin and then its argument prototype would still apply. */
55203 char $ac_func ();
55204 /* The GNU C library defines this for functions which it implements
55205 to always fail with ENOSYS. Some functions are actually named
55206 something starting with __ and the normal name is an alias. */
55207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55208 choke me
55209 #else
55210 char (*f) () = $ac_func;
55211 #endif
55212 #ifdef __cplusplus
55214 #endif
55217 main ()
55219 return f != $ac_func;
55221 return 0;
55223 _ACEOF
55224 rm -f conftest.$ac_objext conftest$ac_exeext
55225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55226 (eval $ac_link) 2>conftest.er1
55227 ac_status=$?
55228 grep -v '^ *+' conftest.er1 >conftest.err
55229 rm -f conftest.er1
55230 cat conftest.err >&5
55231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55232 (exit $ac_status); } &&
55233 { ac_try='test -z "$ac_c_werror_flag"
55234 || test ! -s conftest.err'
55235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55236 (eval $ac_try) 2>&5
55237 ac_status=$?
55238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55239 (exit $ac_status); }; } &&
55240 { ac_try='test -s conftest$ac_exeext'
55241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55242 (eval $ac_try) 2>&5
55243 ac_status=$?
55244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55245 (exit $ac_status); }; }; then
55246 eval "$as_ac_var=yes"
55247 else
55248 echo "$as_me: failed program was:" >&5
55249 sed 's/^/| /' conftest.$ac_ext >&5
55251 eval "$as_ac_var=no"
55253 rm -f conftest.err conftest.$ac_objext \
55254 conftest$ac_exeext conftest.$ac_ext
55256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55257 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55258 if test `eval echo '${'$as_ac_var'}'` = yes; then
55259 cat >>confdefs.h <<_ACEOF
55260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55261 _ACEOF
55264 done
55266 else
55268 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
55269 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
55270 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55271 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
55272 echo $ECHO_N "(cached) $ECHO_C" >&6
55273 else
55277 ac_ext=cc
55278 ac_cpp='$CXXCPP $CPPFLAGS'
55279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55283 cat >conftest.$ac_ext <<_ACEOF
55284 /* confdefs.h. */
55285 _ACEOF
55286 cat confdefs.h >>conftest.$ac_ext
55287 cat >>conftest.$ac_ext <<_ACEOF
55288 /* end confdefs.h. */
55289 #include <math.h>
55290 #ifdef HAVE_IEEEFP_H
55291 #include <ieeefp.h>
55292 #endif
55295 main ()
55297 _fpclass(0);
55299 return 0;
55301 _ACEOF
55302 rm -f conftest.$ac_objext
55303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55304 (eval $ac_compile) 2>conftest.er1
55305 ac_status=$?
55306 grep -v '^ *+' conftest.er1 >conftest.err
55307 rm -f conftest.er1
55308 cat conftest.err >&5
55309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55310 (exit $ac_status); } &&
55311 { ac_try='test -z "$ac_cxx_werror_flag"
55312 || test ! -s conftest.err'
55313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55314 (eval $ac_try) 2>&5
55315 ac_status=$?
55316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55317 (exit $ac_status); }; } &&
55318 { ac_try='test -s conftest.$ac_objext'
55319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55320 (eval $ac_try) 2>&5
55321 ac_status=$?
55322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55323 (exit $ac_status); }; }; then
55324 glibcxx_cv_func__fpclass_use=yes
55325 else
55326 echo "$as_me: failed program was:" >&5
55327 sed 's/^/| /' conftest.$ac_ext >&5
55329 glibcxx_cv_func__fpclass_use=no
55331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55332 ac_ext=c
55333 ac_cpp='$CPP $CPPFLAGS'
55334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55342 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
55343 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
55345 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55347 for ac_func in _fpclass
55349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55350 echo "$as_me:$LINENO: checking for $ac_func" >&5
55351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55352 if eval "test \"\${$as_ac_var+set}\" = set"; then
55353 echo $ECHO_N "(cached) $ECHO_C" >&6
55354 else
55355 if test x$gcc_no_link = xyes; then
55356 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55358 { (exit 1); exit 1; }; }
55360 cat >conftest.$ac_ext <<_ACEOF
55361 /* confdefs.h. */
55362 _ACEOF
55363 cat confdefs.h >>conftest.$ac_ext
55364 cat >>conftest.$ac_ext <<_ACEOF
55365 /* end confdefs.h. */
55366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55368 #define $ac_func innocuous_$ac_func
55370 /* System header to define __stub macros and hopefully few prototypes,
55371 which can conflict with char $ac_func (); below.
55372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55373 <limits.h> exists even on freestanding compilers. */
55375 #ifdef __STDC__
55376 # include <limits.h>
55377 #else
55378 # include <assert.h>
55379 #endif
55381 #undef $ac_func
55383 /* Override any gcc2 internal prototype to avoid an error. */
55384 #ifdef __cplusplus
55385 extern "C"
55387 #endif
55388 /* We use char because int might match the return type of a gcc2
55389 builtin and then its argument prototype would still apply. */
55390 char $ac_func ();
55391 /* The GNU C library defines this for functions which it implements
55392 to always fail with ENOSYS. Some functions are actually named
55393 something starting with __ and the normal name is an alias. */
55394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55395 choke me
55396 #else
55397 char (*f) () = $ac_func;
55398 #endif
55399 #ifdef __cplusplus
55401 #endif
55404 main ()
55406 return f != $ac_func;
55408 return 0;
55410 _ACEOF
55411 rm -f conftest.$ac_objext conftest$ac_exeext
55412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55413 (eval $ac_link) 2>conftest.er1
55414 ac_status=$?
55415 grep -v '^ *+' conftest.er1 >conftest.err
55416 rm -f conftest.er1
55417 cat conftest.err >&5
55418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55419 (exit $ac_status); } &&
55420 { ac_try='test -z "$ac_c_werror_flag"
55421 || test ! -s conftest.err'
55422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55423 (eval $ac_try) 2>&5
55424 ac_status=$?
55425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55426 (exit $ac_status); }; } &&
55427 { ac_try='test -s conftest$ac_exeext'
55428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55429 (eval $ac_try) 2>&5
55430 ac_status=$?
55431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55432 (exit $ac_status); }; }; then
55433 eval "$as_ac_var=yes"
55434 else
55435 echo "$as_me: failed program was:" >&5
55436 sed 's/^/| /' conftest.$ac_ext >&5
55438 eval "$as_ac_var=no"
55440 rm -f conftest.err conftest.$ac_objext \
55441 conftest$ac_exeext conftest.$ac_ext
55443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55445 if test `eval echo '${'$as_ac_var'}'` = yes; then
55446 cat >>confdefs.h <<_ACEOF
55447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55448 _ACEOF
55451 done
55461 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
55462 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
55463 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55464 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
55465 echo $ECHO_N "(cached) $ECHO_C" >&6
55466 else
55470 ac_ext=cc
55471 ac_cpp='$CXXCPP $CPPFLAGS'
55472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55476 cat >conftest.$ac_ext <<_ACEOF
55477 /* confdefs.h. */
55478 _ACEOF
55479 cat confdefs.h >>conftest.$ac_ext
55480 cat >>conftest.$ac_ext <<_ACEOF
55481 /* end confdefs.h. */
55482 #include <math.h>
55483 #ifdef HAVE_IEEEFP_H
55484 #include <ieeefp.h>
55485 #endif
55488 main ()
55490 qfpclass(0);
55492 return 0;
55494 _ACEOF
55495 rm -f conftest.$ac_objext
55496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55497 (eval $ac_compile) 2>conftest.er1
55498 ac_status=$?
55499 grep -v '^ *+' conftest.er1 >conftest.err
55500 rm -f conftest.er1
55501 cat conftest.err >&5
55502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55503 (exit $ac_status); } &&
55504 { ac_try='test -z "$ac_cxx_werror_flag"
55505 || test ! -s conftest.err'
55506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55507 (eval $ac_try) 2>&5
55508 ac_status=$?
55509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55510 (exit $ac_status); }; } &&
55511 { ac_try='test -s conftest.$ac_objext'
55512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55513 (eval $ac_try) 2>&5
55514 ac_status=$?
55515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55516 (exit $ac_status); }; }; then
55517 glibcxx_cv_func_qfpclass_use=yes
55518 else
55519 echo "$as_me: failed program was:" >&5
55520 sed 's/^/| /' conftest.$ac_ext >&5
55522 glibcxx_cv_func_qfpclass_use=no
55524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55525 ac_ext=c
55526 ac_cpp='$CPP $CPPFLAGS'
55527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55535 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
55536 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
55538 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55540 for ac_func in qfpclass
55542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55543 echo "$as_me:$LINENO: checking for $ac_func" >&5
55544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55545 if eval "test \"\${$as_ac_var+set}\" = set"; then
55546 echo $ECHO_N "(cached) $ECHO_C" >&6
55547 else
55548 if test x$gcc_no_link = xyes; then
55549 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55551 { (exit 1); exit 1; }; }
55553 cat >conftest.$ac_ext <<_ACEOF
55554 /* confdefs.h. */
55555 _ACEOF
55556 cat confdefs.h >>conftest.$ac_ext
55557 cat >>conftest.$ac_ext <<_ACEOF
55558 /* end confdefs.h. */
55559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55561 #define $ac_func innocuous_$ac_func
55563 /* System header to define __stub macros and hopefully few prototypes,
55564 which can conflict with char $ac_func (); below.
55565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55566 <limits.h> exists even on freestanding compilers. */
55568 #ifdef __STDC__
55569 # include <limits.h>
55570 #else
55571 # include <assert.h>
55572 #endif
55574 #undef $ac_func
55576 /* Override any gcc2 internal prototype to avoid an error. */
55577 #ifdef __cplusplus
55578 extern "C"
55580 #endif
55581 /* We use char because int might match the return type of a gcc2
55582 builtin and then its argument prototype would still apply. */
55583 char $ac_func ();
55584 /* The GNU C library defines this for functions which it implements
55585 to always fail with ENOSYS. Some functions are actually named
55586 something starting with __ and the normal name is an alias. */
55587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55588 choke me
55589 #else
55590 char (*f) () = $ac_func;
55591 #endif
55592 #ifdef __cplusplus
55594 #endif
55597 main ()
55599 return f != $ac_func;
55601 return 0;
55603 _ACEOF
55604 rm -f conftest.$ac_objext conftest$ac_exeext
55605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55606 (eval $ac_link) 2>conftest.er1
55607 ac_status=$?
55608 grep -v '^ *+' conftest.er1 >conftest.err
55609 rm -f conftest.er1
55610 cat conftest.err >&5
55611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55612 (exit $ac_status); } &&
55613 { ac_try='test -z "$ac_c_werror_flag"
55614 || test ! -s conftest.err'
55615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55616 (eval $ac_try) 2>&5
55617 ac_status=$?
55618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55619 (exit $ac_status); }; } &&
55620 { ac_try='test -s conftest$ac_exeext'
55621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55622 (eval $ac_try) 2>&5
55623 ac_status=$?
55624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55625 (exit $ac_status); }; }; then
55626 eval "$as_ac_var=yes"
55627 else
55628 echo "$as_me: failed program was:" >&5
55629 sed 's/^/| /' conftest.$ac_ext >&5
55631 eval "$as_ac_var=no"
55633 rm -f conftest.err conftest.$ac_objext \
55634 conftest$ac_exeext conftest.$ac_ext
55636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55638 if test `eval echo '${'$as_ac_var'}'` = yes; then
55639 cat >>confdefs.h <<_ACEOF
55640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55641 _ACEOF
55644 done
55646 else
55648 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
55649 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
55650 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55651 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
55652 echo $ECHO_N "(cached) $ECHO_C" >&6
55653 else
55657 ac_ext=cc
55658 ac_cpp='$CXXCPP $CPPFLAGS'
55659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55663 cat >conftest.$ac_ext <<_ACEOF
55664 /* confdefs.h. */
55665 _ACEOF
55666 cat confdefs.h >>conftest.$ac_ext
55667 cat >>conftest.$ac_ext <<_ACEOF
55668 /* end confdefs.h. */
55669 #include <math.h>
55670 #ifdef HAVE_IEEEFP_H
55671 #include <ieeefp.h>
55672 #endif
55675 main ()
55677 _qfpclass(0);
55679 return 0;
55681 _ACEOF
55682 rm -f conftest.$ac_objext
55683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55684 (eval $ac_compile) 2>conftest.er1
55685 ac_status=$?
55686 grep -v '^ *+' conftest.er1 >conftest.err
55687 rm -f conftest.er1
55688 cat conftest.err >&5
55689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55690 (exit $ac_status); } &&
55691 { ac_try='test -z "$ac_cxx_werror_flag"
55692 || test ! -s conftest.err'
55693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55694 (eval $ac_try) 2>&5
55695 ac_status=$?
55696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55697 (exit $ac_status); }; } &&
55698 { ac_try='test -s conftest.$ac_objext'
55699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55700 (eval $ac_try) 2>&5
55701 ac_status=$?
55702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55703 (exit $ac_status); }; }; then
55704 glibcxx_cv_func__qfpclass_use=yes
55705 else
55706 echo "$as_me: failed program was:" >&5
55707 sed 's/^/| /' conftest.$ac_ext >&5
55709 glibcxx_cv_func__qfpclass_use=no
55711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55712 ac_ext=c
55713 ac_cpp='$CPP $CPPFLAGS'
55714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55722 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
55723 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
55725 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55727 for ac_func in _qfpclass
55729 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55730 echo "$as_me:$LINENO: checking for $ac_func" >&5
55731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55732 if eval "test \"\${$as_ac_var+set}\" = set"; then
55733 echo $ECHO_N "(cached) $ECHO_C" >&6
55734 else
55735 if test x$gcc_no_link = xyes; then
55736 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55738 { (exit 1); exit 1; }; }
55740 cat >conftest.$ac_ext <<_ACEOF
55741 /* confdefs.h. */
55742 _ACEOF
55743 cat confdefs.h >>conftest.$ac_ext
55744 cat >>conftest.$ac_ext <<_ACEOF
55745 /* end confdefs.h. */
55746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55748 #define $ac_func innocuous_$ac_func
55750 /* System header to define __stub macros and hopefully few prototypes,
55751 which can conflict with char $ac_func (); below.
55752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55753 <limits.h> exists even on freestanding compilers. */
55755 #ifdef __STDC__
55756 # include <limits.h>
55757 #else
55758 # include <assert.h>
55759 #endif
55761 #undef $ac_func
55763 /* Override any gcc2 internal prototype to avoid an error. */
55764 #ifdef __cplusplus
55765 extern "C"
55767 #endif
55768 /* We use char because int might match the return type of a gcc2
55769 builtin and then its argument prototype would still apply. */
55770 char $ac_func ();
55771 /* The GNU C library defines this for functions which it implements
55772 to always fail with ENOSYS. Some functions are actually named
55773 something starting with __ and the normal name is an alias. */
55774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55775 choke me
55776 #else
55777 char (*f) () = $ac_func;
55778 #endif
55779 #ifdef __cplusplus
55781 #endif
55784 main ()
55786 return f != $ac_func;
55788 return 0;
55790 _ACEOF
55791 rm -f conftest.$ac_objext conftest$ac_exeext
55792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55793 (eval $ac_link) 2>conftest.er1
55794 ac_status=$?
55795 grep -v '^ *+' conftest.er1 >conftest.err
55796 rm -f conftest.er1
55797 cat conftest.err >&5
55798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55799 (exit $ac_status); } &&
55800 { ac_try='test -z "$ac_c_werror_flag"
55801 || test ! -s conftest.err'
55802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55803 (eval $ac_try) 2>&5
55804 ac_status=$?
55805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55806 (exit $ac_status); }; } &&
55807 { ac_try='test -s conftest$ac_exeext'
55808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55809 (eval $ac_try) 2>&5
55810 ac_status=$?
55811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55812 (exit $ac_status); }; }; then
55813 eval "$as_ac_var=yes"
55814 else
55815 echo "$as_me: failed program was:" >&5
55816 sed 's/^/| /' conftest.$ac_ext >&5
55818 eval "$as_ac_var=no"
55820 rm -f conftest.err conftest.$ac_objext \
55821 conftest$ac_exeext conftest.$ac_ext
55823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55825 if test `eval echo '${'$as_ac_var'}'` = yes; then
55826 cat >>confdefs.h <<_ACEOF
55827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55828 _ACEOF
55831 done
55841 echo "$as_me:$LINENO: checking for hypot declaration" >&5
55842 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
55843 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55844 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
55845 echo $ECHO_N "(cached) $ECHO_C" >&6
55846 else
55850 ac_ext=cc
55851 ac_cpp='$CXXCPP $CPPFLAGS'
55852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55856 cat >conftest.$ac_ext <<_ACEOF
55857 /* confdefs.h. */
55858 _ACEOF
55859 cat confdefs.h >>conftest.$ac_ext
55860 cat >>conftest.$ac_ext <<_ACEOF
55861 /* end confdefs.h. */
55862 #include <math.h>
55864 main ()
55866 hypot(0, 0);
55868 return 0;
55870 _ACEOF
55871 rm -f conftest.$ac_objext
55872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55873 (eval $ac_compile) 2>conftest.er1
55874 ac_status=$?
55875 grep -v '^ *+' conftest.er1 >conftest.err
55876 rm -f conftest.er1
55877 cat conftest.err >&5
55878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55879 (exit $ac_status); } &&
55880 { ac_try='test -z "$ac_cxx_werror_flag"
55881 || test ! -s conftest.err'
55882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55883 (eval $ac_try) 2>&5
55884 ac_status=$?
55885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55886 (exit $ac_status); }; } &&
55887 { ac_try='test -s conftest.$ac_objext'
55888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55889 (eval $ac_try) 2>&5
55890 ac_status=$?
55891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55892 (exit $ac_status); }; }; then
55893 glibcxx_cv_func_hypot_use=yes
55894 else
55895 echo "$as_me: failed program was:" >&5
55896 sed 's/^/| /' conftest.$ac_ext >&5
55898 glibcxx_cv_func_hypot_use=no
55900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55901 ac_ext=c
55902 ac_cpp='$CPP $CPPFLAGS'
55903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55911 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
55912 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
55914 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55916 for ac_func in hypot
55918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55919 echo "$as_me:$LINENO: checking for $ac_func" >&5
55920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55921 if eval "test \"\${$as_ac_var+set}\" = set"; then
55922 echo $ECHO_N "(cached) $ECHO_C" >&6
55923 else
55924 if test x$gcc_no_link = xyes; then
55925 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55927 { (exit 1); exit 1; }; }
55929 cat >conftest.$ac_ext <<_ACEOF
55930 /* confdefs.h. */
55931 _ACEOF
55932 cat confdefs.h >>conftest.$ac_ext
55933 cat >>conftest.$ac_ext <<_ACEOF
55934 /* end confdefs.h. */
55935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55937 #define $ac_func innocuous_$ac_func
55939 /* System header to define __stub macros and hopefully few prototypes,
55940 which can conflict with char $ac_func (); below.
55941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55942 <limits.h> exists even on freestanding compilers. */
55944 #ifdef __STDC__
55945 # include <limits.h>
55946 #else
55947 # include <assert.h>
55948 #endif
55950 #undef $ac_func
55952 /* Override any gcc2 internal prototype to avoid an error. */
55953 #ifdef __cplusplus
55954 extern "C"
55956 #endif
55957 /* We use char because int might match the return type of a gcc2
55958 builtin and then its argument prototype would still apply. */
55959 char $ac_func ();
55960 /* The GNU C library defines this for functions which it implements
55961 to always fail with ENOSYS. Some functions are actually named
55962 something starting with __ and the normal name is an alias. */
55963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55964 choke me
55965 #else
55966 char (*f) () = $ac_func;
55967 #endif
55968 #ifdef __cplusplus
55970 #endif
55973 main ()
55975 return f != $ac_func;
55977 return 0;
55979 _ACEOF
55980 rm -f conftest.$ac_objext conftest$ac_exeext
55981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55982 (eval $ac_link) 2>conftest.er1
55983 ac_status=$?
55984 grep -v '^ *+' conftest.er1 >conftest.err
55985 rm -f conftest.er1
55986 cat conftest.err >&5
55987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55988 (exit $ac_status); } &&
55989 { ac_try='test -z "$ac_c_werror_flag"
55990 || test ! -s conftest.err'
55991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55992 (eval $ac_try) 2>&5
55993 ac_status=$?
55994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55995 (exit $ac_status); }; } &&
55996 { ac_try='test -s conftest$ac_exeext'
55997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55998 (eval $ac_try) 2>&5
55999 ac_status=$?
56000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56001 (exit $ac_status); }; }; then
56002 eval "$as_ac_var=yes"
56003 else
56004 echo "$as_me: failed program was:" >&5
56005 sed 's/^/| /' conftest.$ac_ext >&5
56007 eval "$as_ac_var=no"
56009 rm -f conftest.err conftest.$ac_objext \
56010 conftest$ac_exeext conftest.$ac_ext
56012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56014 if test `eval echo '${'$as_ac_var'}'` = yes; then
56015 cat >>confdefs.h <<_ACEOF
56016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56017 _ACEOF
56020 done
56022 else
56024 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
56025 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
56026 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
56027 if test "${glibcxx_cv_func__hypot_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 _hypot(0, 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__hypot_use=yes
56077 else
56078 echo "$as_me: failed program was:" >&5
56079 sed 's/^/| /' conftest.$ac_ext >&5
56081 glibcxx_cv_func__hypot_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
56094 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
56095 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
56097 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
56099 for ac_func in _hypot
56101 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56102 echo "$as_me:$LINENO: checking for $ac_func" >&5
56103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56104 if eval "test \"\${$as_ac_var+set}\" = set"; then
56105 echo $ECHO_N "(cached) $ECHO_C" >&6
56106 else
56107 if test x$gcc_no_link = xyes; then
56108 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56110 { (exit 1); exit 1; }; }
56112 cat >conftest.$ac_ext <<_ACEOF
56113 /* confdefs.h. */
56114 _ACEOF
56115 cat confdefs.h >>conftest.$ac_ext
56116 cat >>conftest.$ac_ext <<_ACEOF
56117 /* end confdefs.h. */
56118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56120 #define $ac_func innocuous_$ac_func
56122 /* System header to define __stub macros and hopefully few prototypes,
56123 which can conflict with char $ac_func (); below.
56124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56125 <limits.h> exists even on freestanding compilers. */
56127 #ifdef __STDC__
56128 # include <limits.h>
56129 #else
56130 # include <assert.h>
56131 #endif
56133 #undef $ac_func
56135 /* Override any gcc2 internal prototype to avoid an error. */
56136 #ifdef __cplusplus
56137 extern "C"
56139 #endif
56140 /* We use char because int might match the return type of a gcc2
56141 builtin and then its argument prototype would still apply. */
56142 char $ac_func ();
56143 /* The GNU C library defines this for functions which it implements
56144 to always fail with ENOSYS. Some functions are actually named
56145 something starting with __ and the normal name is an alias. */
56146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56147 choke me
56148 #else
56149 char (*f) () = $ac_func;
56150 #endif
56151 #ifdef __cplusplus
56153 #endif
56156 main ()
56158 return f != $ac_func;
56160 return 0;
56162 _ACEOF
56163 rm -f conftest.$ac_objext conftest$ac_exeext
56164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56165 (eval $ac_link) 2>conftest.er1
56166 ac_status=$?
56167 grep -v '^ *+' conftest.er1 >conftest.err
56168 rm -f conftest.er1
56169 cat conftest.err >&5
56170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56171 (exit $ac_status); } &&
56172 { ac_try='test -z "$ac_c_werror_flag"
56173 || test ! -s conftest.err'
56174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56175 (eval $ac_try) 2>&5
56176 ac_status=$?
56177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56178 (exit $ac_status); }; } &&
56179 { ac_try='test -s conftest$ac_exeext'
56180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56181 (eval $ac_try) 2>&5
56182 ac_status=$?
56183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56184 (exit $ac_status); }; }; then
56185 eval "$as_ac_var=yes"
56186 else
56187 echo "$as_me: failed program was:" >&5
56188 sed 's/^/| /' conftest.$ac_ext >&5
56190 eval "$as_ac_var=no"
56192 rm -f conftest.err conftest.$ac_objext \
56193 conftest$ac_exeext conftest.$ac_ext
56195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56197 if test `eval echo '${'$as_ac_var'}'` = yes; then
56198 cat >>confdefs.h <<_ACEOF
56199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56200 _ACEOF
56203 done
56213 echo "$as_me:$LINENO: checking for float trig functions" >&5
56214 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
56215 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
56216 echo $ECHO_N "(cached) $ECHO_C" >&6
56217 else
56221 ac_ext=cc
56222 ac_cpp='$CXXCPP $CPPFLAGS'
56223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56227 cat >conftest.$ac_ext <<_ACEOF
56228 /* confdefs.h. */
56229 _ACEOF
56230 cat confdefs.h >>conftest.$ac_ext
56231 cat >>conftest.$ac_ext <<_ACEOF
56232 /* end confdefs.h. */
56233 #include <math.h>
56235 main ()
56237 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
56239 return 0;
56241 _ACEOF
56242 rm -f conftest.$ac_objext
56243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56244 (eval $ac_compile) 2>conftest.er1
56245 ac_status=$?
56246 grep -v '^ *+' conftest.er1 >conftest.err
56247 rm -f conftest.er1
56248 cat conftest.err >&5
56249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56250 (exit $ac_status); } &&
56251 { ac_try='test -z "$ac_cxx_werror_flag"
56252 || test ! -s conftest.err'
56253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56254 (eval $ac_try) 2>&5
56255 ac_status=$?
56256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56257 (exit $ac_status); }; } &&
56258 { ac_try='test -s conftest.$ac_objext'
56259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56260 (eval $ac_try) 2>&5
56261 ac_status=$?
56262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56263 (exit $ac_status); }; }; then
56264 glibcxx_cv_func_float_trig_use=yes
56265 else
56266 echo "$as_me: failed program was:" >&5
56267 sed 's/^/| /' conftest.$ac_ext >&5
56269 glibcxx_cv_func_float_trig_use=no
56271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56272 ac_ext=c
56273 ac_cpp='$CPP $CPPFLAGS'
56274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56280 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
56281 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
56282 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
56292 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
56294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56295 echo "$as_me:$LINENO: checking for $ac_func" >&5
56296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56297 if eval "test \"\${$as_ac_var+set}\" = set"; then
56298 echo $ECHO_N "(cached) $ECHO_C" >&6
56299 else
56300 if test x$gcc_no_link = xyes; then
56301 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56303 { (exit 1); exit 1; }; }
56305 cat >conftest.$ac_ext <<_ACEOF
56306 /* confdefs.h. */
56307 _ACEOF
56308 cat confdefs.h >>conftest.$ac_ext
56309 cat >>conftest.$ac_ext <<_ACEOF
56310 /* end confdefs.h. */
56311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56313 #define $ac_func innocuous_$ac_func
56315 /* System header to define __stub macros and hopefully few prototypes,
56316 which can conflict with char $ac_func (); below.
56317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56318 <limits.h> exists even on freestanding compilers. */
56320 #ifdef __STDC__
56321 # include <limits.h>
56322 #else
56323 # include <assert.h>
56324 #endif
56326 #undef $ac_func
56328 /* Override any gcc2 internal prototype to avoid an error. */
56329 #ifdef __cplusplus
56330 extern "C"
56332 #endif
56333 /* We use char because int might match the return type of a gcc2
56334 builtin and then its argument prototype would still apply. */
56335 char $ac_func ();
56336 /* The GNU C library defines this for functions which it implements
56337 to always fail with ENOSYS. Some functions are actually named
56338 something starting with __ and the normal name is an alias. */
56339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56340 choke me
56341 #else
56342 char (*f) () = $ac_func;
56343 #endif
56344 #ifdef __cplusplus
56346 #endif
56349 main ()
56351 return f != $ac_func;
56353 return 0;
56355 _ACEOF
56356 rm -f conftest.$ac_objext conftest$ac_exeext
56357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56358 (eval $ac_link) 2>conftest.er1
56359 ac_status=$?
56360 grep -v '^ *+' conftest.er1 >conftest.err
56361 rm -f conftest.er1
56362 cat conftest.err >&5
56363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56364 (exit $ac_status); } &&
56365 { ac_try='test -z "$ac_c_werror_flag"
56366 || test ! -s conftest.err'
56367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56368 (eval $ac_try) 2>&5
56369 ac_status=$?
56370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56371 (exit $ac_status); }; } &&
56372 { ac_try='test -s conftest$ac_exeext'
56373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56374 (eval $ac_try) 2>&5
56375 ac_status=$?
56376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56377 (exit $ac_status); }; }; then
56378 eval "$as_ac_var=yes"
56379 else
56380 echo "$as_me: failed program was:" >&5
56381 sed 's/^/| /' conftest.$ac_ext >&5
56383 eval "$as_ac_var=no"
56385 rm -f conftest.err conftest.$ac_objext \
56386 conftest$ac_exeext conftest.$ac_ext
56388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56389 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56390 if test `eval echo '${'$as_ac_var'}'` = yes; then
56391 cat >>confdefs.h <<_ACEOF
56392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56393 _ACEOF
56396 done
56398 else
56399 echo "$as_me:$LINENO: checking for _float trig functions" >&5
56400 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
56401 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
56402 echo $ECHO_N "(cached) $ECHO_C" >&6
56403 else
56407 ac_ext=cc
56408 ac_cpp='$CXXCPP $CPPFLAGS'
56409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56413 cat >conftest.$ac_ext <<_ACEOF
56414 /* confdefs.h. */
56415 _ACEOF
56416 cat confdefs.h >>conftest.$ac_ext
56417 cat >>conftest.$ac_ext <<_ACEOF
56418 /* end confdefs.h. */
56419 #include <math.h>
56421 main ()
56423 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
56425 return 0;
56427 _ACEOF
56428 rm -f conftest.$ac_objext
56429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56430 (eval $ac_compile) 2>conftest.er1
56431 ac_status=$?
56432 grep -v '^ *+' conftest.er1 >conftest.err
56433 rm -f conftest.er1
56434 cat conftest.err >&5
56435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56436 (exit $ac_status); } &&
56437 { ac_try='test -z "$ac_cxx_werror_flag"
56438 || test ! -s conftest.err'
56439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56440 (eval $ac_try) 2>&5
56441 ac_status=$?
56442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56443 (exit $ac_status); }; } &&
56444 { ac_try='test -s conftest.$ac_objext'
56445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56446 (eval $ac_try) 2>&5
56447 ac_status=$?
56448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56449 (exit $ac_status); }; }; then
56450 glibcxx_cv_func__float_trig_use=yes
56451 else
56452 echo "$as_me: failed program was:" >&5
56453 sed 's/^/| /' conftest.$ac_ext >&5
56455 glibcxx_cv_func__float_trig_use=no
56457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56458 ac_ext=c
56459 ac_cpp='$CPP $CPPFLAGS'
56460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56466 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
56467 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
56468 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
56478 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
56480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56481 echo "$as_me:$LINENO: checking for $ac_func" >&5
56482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56483 if eval "test \"\${$as_ac_var+set}\" = set"; then
56484 echo $ECHO_N "(cached) $ECHO_C" >&6
56485 else
56486 if test x$gcc_no_link = xyes; then
56487 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56489 { (exit 1); exit 1; }; }
56491 cat >conftest.$ac_ext <<_ACEOF
56492 /* confdefs.h. */
56493 _ACEOF
56494 cat confdefs.h >>conftest.$ac_ext
56495 cat >>conftest.$ac_ext <<_ACEOF
56496 /* end confdefs.h. */
56497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56499 #define $ac_func innocuous_$ac_func
56501 /* System header to define __stub macros and hopefully few prototypes,
56502 which can conflict with char $ac_func (); below.
56503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56504 <limits.h> exists even on freestanding compilers. */
56506 #ifdef __STDC__
56507 # include <limits.h>
56508 #else
56509 # include <assert.h>
56510 #endif
56512 #undef $ac_func
56514 /* Override any gcc2 internal prototype to avoid an error. */
56515 #ifdef __cplusplus
56516 extern "C"
56518 #endif
56519 /* We use char because int might match the return type of a gcc2
56520 builtin and then its argument prototype would still apply. */
56521 char $ac_func ();
56522 /* The GNU C library defines this for functions which it implements
56523 to always fail with ENOSYS. Some functions are actually named
56524 something starting with __ and the normal name is an alias. */
56525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56526 choke me
56527 #else
56528 char (*f) () = $ac_func;
56529 #endif
56530 #ifdef __cplusplus
56532 #endif
56535 main ()
56537 return f != $ac_func;
56539 return 0;
56541 _ACEOF
56542 rm -f conftest.$ac_objext conftest$ac_exeext
56543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56544 (eval $ac_link) 2>conftest.er1
56545 ac_status=$?
56546 grep -v '^ *+' conftest.er1 >conftest.err
56547 rm -f conftest.er1
56548 cat conftest.err >&5
56549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56550 (exit $ac_status); } &&
56551 { ac_try='test -z "$ac_c_werror_flag"
56552 || test ! -s conftest.err'
56553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56554 (eval $ac_try) 2>&5
56555 ac_status=$?
56556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56557 (exit $ac_status); }; } &&
56558 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
56564 eval "$as_ac_var=yes"
56565 else
56566 echo "$as_me: failed program was:" >&5
56567 sed 's/^/| /' conftest.$ac_ext >&5
56569 eval "$as_ac_var=no"
56571 rm -f conftest.err conftest.$ac_objext \
56572 conftest$ac_exeext conftest.$ac_ext
56574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56576 if test `eval echo '${'$as_ac_var'}'` = yes; then
56577 cat >>confdefs.h <<_ACEOF
56578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56579 _ACEOF
56582 done
56600 echo "$as_me:$LINENO: checking for float round functions" >&5
56601 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
56602 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
56603 echo $ECHO_N "(cached) $ECHO_C" >&6
56604 else
56608 ac_ext=cc
56609 ac_cpp='$CXXCPP $CPPFLAGS'
56610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56614 cat >conftest.$ac_ext <<_ACEOF
56615 /* confdefs.h. */
56616 _ACEOF
56617 cat confdefs.h >>conftest.$ac_ext
56618 cat >>conftest.$ac_ext <<_ACEOF
56619 /* end confdefs.h. */
56620 #include <math.h>
56622 main ()
56624 ceilf (0); floorf (0);
56626 return 0;
56628 _ACEOF
56629 rm -f conftest.$ac_objext
56630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56631 (eval $ac_compile) 2>conftest.er1
56632 ac_status=$?
56633 grep -v '^ *+' conftest.er1 >conftest.err
56634 rm -f conftest.er1
56635 cat conftest.err >&5
56636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56637 (exit $ac_status); } &&
56638 { ac_try='test -z "$ac_cxx_werror_flag"
56639 || test ! -s conftest.err'
56640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56641 (eval $ac_try) 2>&5
56642 ac_status=$?
56643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56644 (exit $ac_status); }; } &&
56645 { ac_try='test -s conftest.$ac_objext'
56646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56647 (eval $ac_try) 2>&5
56648 ac_status=$?
56649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56650 (exit $ac_status); }; }; then
56651 glibcxx_cv_func_float_round_use=yes
56652 else
56653 echo "$as_me: failed program was:" >&5
56654 sed 's/^/| /' conftest.$ac_ext >&5
56656 glibcxx_cv_func_float_round_use=no
56658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56659 ac_ext=c
56660 ac_cpp='$CPP $CPPFLAGS'
56661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56667 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
56668 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
56669 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
56672 for ac_func in ceilf floorf
56674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56675 echo "$as_me:$LINENO: checking for $ac_func" >&5
56676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56677 if eval "test \"\${$as_ac_var+set}\" = set"; then
56678 echo $ECHO_N "(cached) $ECHO_C" >&6
56679 else
56680 if test x$gcc_no_link = xyes; then
56681 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56683 { (exit 1); exit 1; }; }
56685 cat >conftest.$ac_ext <<_ACEOF
56686 /* confdefs.h. */
56687 _ACEOF
56688 cat confdefs.h >>conftest.$ac_ext
56689 cat >>conftest.$ac_ext <<_ACEOF
56690 /* end confdefs.h. */
56691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56693 #define $ac_func innocuous_$ac_func
56695 /* System header to define __stub macros and hopefully few prototypes,
56696 which can conflict with char $ac_func (); below.
56697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56698 <limits.h> exists even on freestanding compilers. */
56700 #ifdef __STDC__
56701 # include <limits.h>
56702 #else
56703 # include <assert.h>
56704 #endif
56706 #undef $ac_func
56708 /* Override any gcc2 internal prototype to avoid an error. */
56709 #ifdef __cplusplus
56710 extern "C"
56712 #endif
56713 /* We use char because int might match the return type of a gcc2
56714 builtin and then its argument prototype would still apply. */
56715 char $ac_func ();
56716 /* The GNU C library defines this for functions which it implements
56717 to always fail with ENOSYS. Some functions are actually named
56718 something starting with __ and the normal name is an alias. */
56719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56720 choke me
56721 #else
56722 char (*f) () = $ac_func;
56723 #endif
56724 #ifdef __cplusplus
56726 #endif
56729 main ()
56731 return f != $ac_func;
56733 return 0;
56735 _ACEOF
56736 rm -f conftest.$ac_objext conftest$ac_exeext
56737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56738 (eval $ac_link) 2>conftest.er1
56739 ac_status=$?
56740 grep -v '^ *+' conftest.er1 >conftest.err
56741 rm -f conftest.er1
56742 cat conftest.err >&5
56743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56744 (exit $ac_status); } &&
56745 { ac_try='test -z "$ac_c_werror_flag"
56746 || test ! -s conftest.err'
56747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56748 (eval $ac_try) 2>&5
56749 ac_status=$?
56750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56751 (exit $ac_status); }; } &&
56752 { ac_try='test -s conftest$ac_exeext'
56753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56754 (eval $ac_try) 2>&5
56755 ac_status=$?
56756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56757 (exit $ac_status); }; }; then
56758 eval "$as_ac_var=yes"
56759 else
56760 echo "$as_me: failed program was:" >&5
56761 sed 's/^/| /' conftest.$ac_ext >&5
56763 eval "$as_ac_var=no"
56765 rm -f conftest.err conftest.$ac_objext \
56766 conftest$ac_exeext conftest.$ac_ext
56768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56770 if test `eval echo '${'$as_ac_var'}'` = yes; then
56771 cat >>confdefs.h <<_ACEOF
56772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56773 _ACEOF
56776 done
56778 else
56779 echo "$as_me:$LINENO: checking for _float round functions" >&5
56780 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
56781 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
56782 echo $ECHO_N "(cached) $ECHO_C" >&6
56783 else
56787 ac_ext=cc
56788 ac_cpp='$CXXCPP $CPPFLAGS'
56789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56793 cat >conftest.$ac_ext <<_ACEOF
56794 /* confdefs.h. */
56795 _ACEOF
56796 cat confdefs.h >>conftest.$ac_ext
56797 cat >>conftest.$ac_ext <<_ACEOF
56798 /* end confdefs.h. */
56799 #include <math.h>
56801 main ()
56803 _ceilf (0); _floorf (0);
56805 return 0;
56807 _ACEOF
56808 rm -f conftest.$ac_objext
56809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56810 (eval $ac_compile) 2>conftest.er1
56811 ac_status=$?
56812 grep -v '^ *+' conftest.er1 >conftest.err
56813 rm -f conftest.er1
56814 cat conftest.err >&5
56815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56816 (exit $ac_status); } &&
56817 { ac_try='test -z "$ac_cxx_werror_flag"
56818 || test ! -s conftest.err'
56819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56820 (eval $ac_try) 2>&5
56821 ac_status=$?
56822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56823 (exit $ac_status); }; } &&
56824 { ac_try='test -s conftest.$ac_objext'
56825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56826 (eval $ac_try) 2>&5
56827 ac_status=$?
56828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56829 (exit $ac_status); }; }; then
56830 glibcxx_cv_func__float_round_use=yes
56831 else
56832 echo "$as_me: failed program was:" >&5
56833 sed 's/^/| /' conftest.$ac_ext >&5
56835 glibcxx_cv_func__float_round_use=no
56837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56838 ac_ext=c
56839 ac_cpp='$CPP $CPPFLAGS'
56840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56846 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
56847 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
56848 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
56851 for ac_func in _ceilf _floorf
56853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56854 echo "$as_me:$LINENO: checking for $ac_func" >&5
56855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56856 if eval "test \"\${$as_ac_var+set}\" = set"; then
56857 echo $ECHO_N "(cached) $ECHO_C" >&6
56858 else
56859 if test x$gcc_no_link = xyes; then
56860 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56862 { (exit 1); exit 1; }; }
56864 cat >conftest.$ac_ext <<_ACEOF
56865 /* confdefs.h. */
56866 _ACEOF
56867 cat confdefs.h >>conftest.$ac_ext
56868 cat >>conftest.$ac_ext <<_ACEOF
56869 /* end confdefs.h. */
56870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56872 #define $ac_func innocuous_$ac_func
56874 /* System header to define __stub macros and hopefully few prototypes,
56875 which can conflict with char $ac_func (); below.
56876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56877 <limits.h> exists even on freestanding compilers. */
56879 #ifdef __STDC__
56880 # include <limits.h>
56881 #else
56882 # include <assert.h>
56883 #endif
56885 #undef $ac_func
56887 /* Override any gcc2 internal prototype to avoid an error. */
56888 #ifdef __cplusplus
56889 extern "C"
56891 #endif
56892 /* We use char because int might match the return type of a gcc2
56893 builtin and then its argument prototype would still apply. */
56894 char $ac_func ();
56895 /* The GNU C library defines this for functions which it implements
56896 to always fail with ENOSYS. Some functions are actually named
56897 something starting with __ and the normal name is an alias. */
56898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56899 choke me
56900 #else
56901 char (*f) () = $ac_func;
56902 #endif
56903 #ifdef __cplusplus
56905 #endif
56908 main ()
56910 return f != $ac_func;
56912 return 0;
56914 _ACEOF
56915 rm -f conftest.$ac_objext conftest$ac_exeext
56916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56917 (eval $ac_link) 2>conftest.er1
56918 ac_status=$?
56919 grep -v '^ *+' conftest.er1 >conftest.err
56920 rm -f conftest.er1
56921 cat conftest.err >&5
56922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56923 (exit $ac_status); } &&
56924 { ac_try='test -z "$ac_c_werror_flag"
56925 || test ! -s conftest.err'
56926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56927 (eval $ac_try) 2>&5
56928 ac_status=$?
56929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56930 (exit $ac_status); }; } &&
56931 { ac_try='test -s conftest$ac_exeext'
56932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56933 (eval $ac_try) 2>&5
56934 ac_status=$?
56935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56936 (exit $ac_status); }; }; then
56937 eval "$as_ac_var=yes"
56938 else
56939 echo "$as_me: failed program was:" >&5
56940 sed 's/^/| /' conftest.$ac_ext >&5
56942 eval "$as_ac_var=no"
56944 rm -f conftest.err conftest.$ac_objext \
56945 conftest$ac_exeext conftest.$ac_ext
56947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56948 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56949 if test `eval echo '${'$as_ac_var'}'` = yes; then
56950 cat >>confdefs.h <<_ACEOF
56951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56952 _ACEOF
56955 done
56967 echo "$as_me:$LINENO: checking for expf declaration" >&5
56968 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
56969 if test x${glibcxx_cv_func_expf_use+set} != xset; then
56970 if test "${glibcxx_cv_func_expf_use+set}" = set; then
56971 echo $ECHO_N "(cached) $ECHO_C" >&6
56972 else
56976 ac_ext=cc
56977 ac_cpp='$CXXCPP $CPPFLAGS'
56978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56982 cat >conftest.$ac_ext <<_ACEOF
56983 /* confdefs.h. */
56984 _ACEOF
56985 cat confdefs.h >>conftest.$ac_ext
56986 cat >>conftest.$ac_ext <<_ACEOF
56987 /* end confdefs.h. */
56988 #include <math.h>
56989 #ifdef HAVE_IEEEFP_H
56990 #include <ieeefp.h>
56991 #endif
56994 main ()
56996 expf(0);
56998 return 0;
57000 _ACEOF
57001 rm -f conftest.$ac_objext
57002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57003 (eval $ac_compile) 2>conftest.er1
57004 ac_status=$?
57005 grep -v '^ *+' conftest.er1 >conftest.err
57006 rm -f conftest.er1
57007 cat conftest.err >&5
57008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57009 (exit $ac_status); } &&
57010 { ac_try='test -z "$ac_cxx_werror_flag"
57011 || test ! -s conftest.err'
57012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57013 (eval $ac_try) 2>&5
57014 ac_status=$?
57015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57016 (exit $ac_status); }; } &&
57017 { ac_try='test -s conftest.$ac_objext'
57018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57019 (eval $ac_try) 2>&5
57020 ac_status=$?
57021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57022 (exit $ac_status); }; }; then
57023 glibcxx_cv_func_expf_use=yes
57024 else
57025 echo "$as_me: failed program was:" >&5
57026 sed 's/^/| /' conftest.$ac_ext >&5
57028 glibcxx_cv_func_expf_use=no
57030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57031 ac_ext=c
57032 ac_cpp='$CPP $CPPFLAGS'
57033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57041 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
57042 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
57044 if test x$glibcxx_cv_func_expf_use = x"yes"; then
57046 for ac_func in expf
57048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57049 echo "$as_me:$LINENO: checking for $ac_func" >&5
57050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57051 if eval "test \"\${$as_ac_var+set}\" = set"; then
57052 echo $ECHO_N "(cached) $ECHO_C" >&6
57053 else
57054 if test x$gcc_no_link = xyes; then
57055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57057 { (exit 1); exit 1; }; }
57059 cat >conftest.$ac_ext <<_ACEOF
57060 /* confdefs.h. */
57061 _ACEOF
57062 cat confdefs.h >>conftest.$ac_ext
57063 cat >>conftest.$ac_ext <<_ACEOF
57064 /* end confdefs.h. */
57065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57067 #define $ac_func innocuous_$ac_func
57069 /* System header to define __stub macros and hopefully few prototypes,
57070 which can conflict with char $ac_func (); below.
57071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57072 <limits.h> exists even on freestanding compilers. */
57074 #ifdef __STDC__
57075 # include <limits.h>
57076 #else
57077 # include <assert.h>
57078 #endif
57080 #undef $ac_func
57082 /* Override any gcc2 internal prototype to avoid an error. */
57083 #ifdef __cplusplus
57084 extern "C"
57086 #endif
57087 /* We use char because int might match the return type of a gcc2
57088 builtin and then its argument prototype would still apply. */
57089 char $ac_func ();
57090 /* The GNU C library defines this for functions which it implements
57091 to always fail with ENOSYS. Some functions are actually named
57092 something starting with __ and the normal name is an alias. */
57093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57094 choke me
57095 #else
57096 char (*f) () = $ac_func;
57097 #endif
57098 #ifdef __cplusplus
57100 #endif
57103 main ()
57105 return f != $ac_func;
57107 return 0;
57109 _ACEOF
57110 rm -f conftest.$ac_objext conftest$ac_exeext
57111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57112 (eval $ac_link) 2>conftest.er1
57113 ac_status=$?
57114 grep -v '^ *+' conftest.er1 >conftest.err
57115 rm -f conftest.er1
57116 cat conftest.err >&5
57117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57118 (exit $ac_status); } &&
57119 { ac_try='test -z "$ac_c_werror_flag"
57120 || test ! -s conftest.err'
57121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57122 (eval $ac_try) 2>&5
57123 ac_status=$?
57124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57125 (exit $ac_status); }; } &&
57126 { ac_try='test -s conftest$ac_exeext'
57127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57128 (eval $ac_try) 2>&5
57129 ac_status=$?
57130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57131 (exit $ac_status); }; }; then
57132 eval "$as_ac_var=yes"
57133 else
57134 echo "$as_me: failed program was:" >&5
57135 sed 's/^/| /' conftest.$ac_ext >&5
57137 eval "$as_ac_var=no"
57139 rm -f conftest.err conftest.$ac_objext \
57140 conftest$ac_exeext conftest.$ac_ext
57142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57144 if test `eval echo '${'$as_ac_var'}'` = yes; then
57145 cat >>confdefs.h <<_ACEOF
57146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57147 _ACEOF
57150 done
57152 else
57154 echo "$as_me:$LINENO: checking for _expf declaration" >&5
57155 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
57156 if test x${glibcxx_cv_func__expf_use+set} != xset; then
57157 if test "${glibcxx_cv_func__expf_use+set}" = set; then
57158 echo $ECHO_N "(cached) $ECHO_C" >&6
57159 else
57163 ac_ext=cc
57164 ac_cpp='$CXXCPP $CPPFLAGS'
57165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57169 cat >conftest.$ac_ext <<_ACEOF
57170 /* confdefs.h. */
57171 _ACEOF
57172 cat confdefs.h >>conftest.$ac_ext
57173 cat >>conftest.$ac_ext <<_ACEOF
57174 /* end confdefs.h. */
57175 #include <math.h>
57176 #ifdef HAVE_IEEEFP_H
57177 #include <ieeefp.h>
57178 #endif
57181 main ()
57183 _expf(0);
57185 return 0;
57187 _ACEOF
57188 rm -f conftest.$ac_objext
57189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57190 (eval $ac_compile) 2>conftest.er1
57191 ac_status=$?
57192 grep -v '^ *+' conftest.er1 >conftest.err
57193 rm -f conftest.er1
57194 cat conftest.err >&5
57195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57196 (exit $ac_status); } &&
57197 { ac_try='test -z "$ac_cxx_werror_flag"
57198 || test ! -s conftest.err'
57199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57200 (eval $ac_try) 2>&5
57201 ac_status=$?
57202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57203 (exit $ac_status); }; } &&
57204 { ac_try='test -s conftest.$ac_objext'
57205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57206 (eval $ac_try) 2>&5
57207 ac_status=$?
57208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57209 (exit $ac_status); }; }; then
57210 glibcxx_cv_func__expf_use=yes
57211 else
57212 echo "$as_me: failed program was:" >&5
57213 sed 's/^/| /' conftest.$ac_ext >&5
57215 glibcxx_cv_func__expf_use=no
57217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57218 ac_ext=c
57219 ac_cpp='$CPP $CPPFLAGS'
57220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57228 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
57229 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
57231 if test x$glibcxx_cv_func__expf_use = x"yes"; then
57233 for ac_func in _expf
57235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57236 echo "$as_me:$LINENO: checking for $ac_func" >&5
57237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57238 if eval "test \"\${$as_ac_var+set}\" = set"; then
57239 echo $ECHO_N "(cached) $ECHO_C" >&6
57240 else
57241 if test x$gcc_no_link = xyes; then
57242 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57244 { (exit 1); exit 1; }; }
57246 cat >conftest.$ac_ext <<_ACEOF
57247 /* confdefs.h. */
57248 _ACEOF
57249 cat confdefs.h >>conftest.$ac_ext
57250 cat >>conftest.$ac_ext <<_ACEOF
57251 /* end confdefs.h. */
57252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57254 #define $ac_func innocuous_$ac_func
57256 /* System header to define __stub macros and hopefully few prototypes,
57257 which can conflict with char $ac_func (); below.
57258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57259 <limits.h> exists even on freestanding compilers. */
57261 #ifdef __STDC__
57262 # include <limits.h>
57263 #else
57264 # include <assert.h>
57265 #endif
57267 #undef $ac_func
57269 /* Override any gcc2 internal prototype to avoid an error. */
57270 #ifdef __cplusplus
57271 extern "C"
57273 #endif
57274 /* We use char because int might match the return type of a gcc2
57275 builtin and then its argument prototype would still apply. */
57276 char $ac_func ();
57277 /* The GNU C library defines this for functions which it implements
57278 to always fail with ENOSYS. Some functions are actually named
57279 something starting with __ and the normal name is an alias. */
57280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57281 choke me
57282 #else
57283 char (*f) () = $ac_func;
57284 #endif
57285 #ifdef __cplusplus
57287 #endif
57290 main ()
57292 return f != $ac_func;
57294 return 0;
57296 _ACEOF
57297 rm -f conftest.$ac_objext conftest$ac_exeext
57298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57299 (eval $ac_link) 2>conftest.er1
57300 ac_status=$?
57301 grep -v '^ *+' conftest.er1 >conftest.err
57302 rm -f conftest.er1
57303 cat conftest.err >&5
57304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57305 (exit $ac_status); } &&
57306 { ac_try='test -z "$ac_c_werror_flag"
57307 || test ! -s conftest.err'
57308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57309 (eval $ac_try) 2>&5
57310 ac_status=$?
57311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57312 (exit $ac_status); }; } &&
57313 { ac_try='test -s conftest$ac_exeext'
57314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57315 (eval $ac_try) 2>&5
57316 ac_status=$?
57317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57318 (exit $ac_status); }; }; then
57319 eval "$as_ac_var=yes"
57320 else
57321 echo "$as_me: failed program was:" >&5
57322 sed 's/^/| /' conftest.$ac_ext >&5
57324 eval "$as_ac_var=no"
57326 rm -f conftest.err conftest.$ac_objext \
57327 conftest$ac_exeext conftest.$ac_ext
57329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57331 if test `eval echo '${'$as_ac_var'}'` = yes; then
57332 cat >>confdefs.h <<_ACEOF
57333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57334 _ACEOF
57337 done
57347 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
57348 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
57349 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
57350 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
57351 echo $ECHO_N "(cached) $ECHO_C" >&6
57352 else
57356 ac_ext=cc
57357 ac_cpp='$CXXCPP $CPPFLAGS'
57358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57362 cat >conftest.$ac_ext <<_ACEOF
57363 /* confdefs.h. */
57364 _ACEOF
57365 cat confdefs.h >>conftest.$ac_ext
57366 cat >>conftest.$ac_ext <<_ACEOF
57367 /* end confdefs.h. */
57368 #include <math.h>
57369 #ifdef HAVE_IEEEFP_H
57370 #include <ieeefp.h>
57371 #endif
57374 main ()
57376 isnanf(0);
57378 return 0;
57380 _ACEOF
57381 rm -f conftest.$ac_objext
57382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57383 (eval $ac_compile) 2>conftest.er1
57384 ac_status=$?
57385 grep -v '^ *+' conftest.er1 >conftest.err
57386 rm -f conftest.er1
57387 cat conftest.err >&5
57388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57389 (exit $ac_status); } &&
57390 { ac_try='test -z "$ac_cxx_werror_flag"
57391 || test ! -s conftest.err'
57392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57393 (eval $ac_try) 2>&5
57394 ac_status=$?
57395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57396 (exit $ac_status); }; } &&
57397 { ac_try='test -s conftest.$ac_objext'
57398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57399 (eval $ac_try) 2>&5
57400 ac_status=$?
57401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57402 (exit $ac_status); }; }; then
57403 glibcxx_cv_func_isnanf_use=yes
57404 else
57405 echo "$as_me: failed program was:" >&5
57406 sed 's/^/| /' conftest.$ac_ext >&5
57408 glibcxx_cv_func_isnanf_use=no
57410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57411 ac_ext=c
57412 ac_cpp='$CPP $CPPFLAGS'
57413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57421 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
57422 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
57424 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
57426 for ac_func in isnanf
57428 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57429 echo "$as_me:$LINENO: checking for $ac_func" >&5
57430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57431 if eval "test \"\${$as_ac_var+set}\" = set"; then
57432 echo $ECHO_N "(cached) $ECHO_C" >&6
57433 else
57434 if test x$gcc_no_link = xyes; then
57435 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57437 { (exit 1); exit 1; }; }
57439 cat >conftest.$ac_ext <<_ACEOF
57440 /* confdefs.h. */
57441 _ACEOF
57442 cat confdefs.h >>conftest.$ac_ext
57443 cat >>conftest.$ac_ext <<_ACEOF
57444 /* end confdefs.h. */
57445 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57447 #define $ac_func innocuous_$ac_func
57449 /* System header to define __stub macros and hopefully few prototypes,
57450 which can conflict with char $ac_func (); below.
57451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57452 <limits.h> exists even on freestanding compilers. */
57454 #ifdef __STDC__
57455 # include <limits.h>
57456 #else
57457 # include <assert.h>
57458 #endif
57460 #undef $ac_func
57462 /* Override any gcc2 internal prototype to avoid an error. */
57463 #ifdef __cplusplus
57464 extern "C"
57466 #endif
57467 /* We use char because int might match the return type of a gcc2
57468 builtin and then its argument prototype would still apply. */
57469 char $ac_func ();
57470 /* The GNU C library defines this for functions which it implements
57471 to always fail with ENOSYS. Some functions are actually named
57472 something starting with __ and the normal name is an alias. */
57473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57474 choke me
57475 #else
57476 char (*f) () = $ac_func;
57477 #endif
57478 #ifdef __cplusplus
57480 #endif
57483 main ()
57485 return f != $ac_func;
57487 return 0;
57489 _ACEOF
57490 rm -f conftest.$ac_objext conftest$ac_exeext
57491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57492 (eval $ac_link) 2>conftest.er1
57493 ac_status=$?
57494 grep -v '^ *+' conftest.er1 >conftest.err
57495 rm -f conftest.er1
57496 cat conftest.err >&5
57497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57498 (exit $ac_status); } &&
57499 { ac_try='test -z "$ac_c_werror_flag"
57500 || test ! -s conftest.err'
57501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57502 (eval $ac_try) 2>&5
57503 ac_status=$?
57504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57505 (exit $ac_status); }; } &&
57506 { ac_try='test -s conftest$ac_exeext'
57507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57508 (eval $ac_try) 2>&5
57509 ac_status=$?
57510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57511 (exit $ac_status); }; }; then
57512 eval "$as_ac_var=yes"
57513 else
57514 echo "$as_me: failed program was:" >&5
57515 sed 's/^/| /' conftest.$ac_ext >&5
57517 eval "$as_ac_var=no"
57519 rm -f conftest.err conftest.$ac_objext \
57520 conftest$ac_exeext conftest.$ac_ext
57522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57523 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57524 if test `eval echo '${'$as_ac_var'}'` = yes; then
57525 cat >>confdefs.h <<_ACEOF
57526 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57527 _ACEOF
57530 done
57532 else
57534 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
57535 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
57536 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
57537 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
57538 echo $ECHO_N "(cached) $ECHO_C" >&6
57539 else
57543 ac_ext=cc
57544 ac_cpp='$CXXCPP $CPPFLAGS'
57545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57549 cat >conftest.$ac_ext <<_ACEOF
57550 /* confdefs.h. */
57551 _ACEOF
57552 cat confdefs.h >>conftest.$ac_ext
57553 cat >>conftest.$ac_ext <<_ACEOF
57554 /* end confdefs.h. */
57555 #include <math.h>
57556 #ifdef HAVE_IEEEFP_H
57557 #include <ieeefp.h>
57558 #endif
57561 main ()
57563 _isnanf(0);
57565 return 0;
57567 _ACEOF
57568 rm -f conftest.$ac_objext
57569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57570 (eval $ac_compile) 2>conftest.er1
57571 ac_status=$?
57572 grep -v '^ *+' conftest.er1 >conftest.err
57573 rm -f conftest.er1
57574 cat conftest.err >&5
57575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57576 (exit $ac_status); } &&
57577 { ac_try='test -z "$ac_cxx_werror_flag"
57578 || test ! -s conftest.err'
57579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57580 (eval $ac_try) 2>&5
57581 ac_status=$?
57582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57583 (exit $ac_status); }; } &&
57584 { ac_try='test -s conftest.$ac_objext'
57585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57586 (eval $ac_try) 2>&5
57587 ac_status=$?
57588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57589 (exit $ac_status); }; }; then
57590 glibcxx_cv_func__isnanf_use=yes
57591 else
57592 echo "$as_me: failed program was:" >&5
57593 sed 's/^/| /' conftest.$ac_ext >&5
57595 glibcxx_cv_func__isnanf_use=no
57597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57598 ac_ext=c
57599 ac_cpp='$CPP $CPPFLAGS'
57600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57608 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
57609 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
57611 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
57613 for ac_func in _isnanf
57615 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57616 echo "$as_me:$LINENO: checking for $ac_func" >&5
57617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57618 if eval "test \"\${$as_ac_var+set}\" = set"; then
57619 echo $ECHO_N "(cached) $ECHO_C" >&6
57620 else
57621 if test x$gcc_no_link = xyes; then
57622 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57624 { (exit 1); exit 1; }; }
57626 cat >conftest.$ac_ext <<_ACEOF
57627 /* confdefs.h. */
57628 _ACEOF
57629 cat confdefs.h >>conftest.$ac_ext
57630 cat >>conftest.$ac_ext <<_ACEOF
57631 /* end confdefs.h. */
57632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57634 #define $ac_func innocuous_$ac_func
57636 /* System header to define __stub macros and hopefully few prototypes,
57637 which can conflict with char $ac_func (); below.
57638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57639 <limits.h> exists even on freestanding compilers. */
57641 #ifdef __STDC__
57642 # include <limits.h>
57643 #else
57644 # include <assert.h>
57645 #endif
57647 #undef $ac_func
57649 /* Override any gcc2 internal prototype to avoid an error. */
57650 #ifdef __cplusplus
57651 extern "C"
57653 #endif
57654 /* We use char because int might match the return type of a gcc2
57655 builtin and then its argument prototype would still apply. */
57656 char $ac_func ();
57657 /* The GNU C library defines this for functions which it implements
57658 to always fail with ENOSYS. Some functions are actually named
57659 something starting with __ and the normal name is an alias. */
57660 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57661 choke me
57662 #else
57663 char (*f) () = $ac_func;
57664 #endif
57665 #ifdef __cplusplus
57667 #endif
57670 main ()
57672 return f != $ac_func;
57674 return 0;
57676 _ACEOF
57677 rm -f conftest.$ac_objext conftest$ac_exeext
57678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57679 (eval $ac_link) 2>conftest.er1
57680 ac_status=$?
57681 grep -v '^ *+' conftest.er1 >conftest.err
57682 rm -f conftest.er1
57683 cat conftest.err >&5
57684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57685 (exit $ac_status); } &&
57686 { ac_try='test -z "$ac_c_werror_flag"
57687 || test ! -s conftest.err'
57688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57689 (eval $ac_try) 2>&5
57690 ac_status=$?
57691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57692 (exit $ac_status); }; } &&
57693 { ac_try='test -s conftest$ac_exeext'
57694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57695 (eval $ac_try) 2>&5
57696 ac_status=$?
57697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57698 (exit $ac_status); }; }; then
57699 eval "$as_ac_var=yes"
57700 else
57701 echo "$as_me: failed program was:" >&5
57702 sed 's/^/| /' conftest.$ac_ext >&5
57704 eval "$as_ac_var=no"
57706 rm -f conftest.err conftest.$ac_objext \
57707 conftest$ac_exeext conftest.$ac_ext
57709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57710 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57711 if test `eval echo '${'$as_ac_var'}'` = yes; then
57712 cat >>confdefs.h <<_ACEOF
57713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57714 _ACEOF
57717 done
57727 echo "$as_me:$LINENO: checking for isinff declaration" >&5
57728 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
57729 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
57730 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
57731 echo $ECHO_N "(cached) $ECHO_C" >&6
57732 else
57736 ac_ext=cc
57737 ac_cpp='$CXXCPP $CPPFLAGS'
57738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57742 cat >conftest.$ac_ext <<_ACEOF
57743 /* confdefs.h. */
57744 _ACEOF
57745 cat confdefs.h >>conftest.$ac_ext
57746 cat >>conftest.$ac_ext <<_ACEOF
57747 /* end confdefs.h. */
57748 #include <math.h>
57749 #ifdef HAVE_IEEEFP_H
57750 #include <ieeefp.h>
57751 #endif
57754 main ()
57756 isinff(0);
57758 return 0;
57760 _ACEOF
57761 rm -f conftest.$ac_objext
57762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57763 (eval $ac_compile) 2>conftest.er1
57764 ac_status=$?
57765 grep -v '^ *+' conftest.er1 >conftest.err
57766 rm -f conftest.er1
57767 cat conftest.err >&5
57768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57769 (exit $ac_status); } &&
57770 { ac_try='test -z "$ac_cxx_werror_flag"
57771 || test ! -s conftest.err'
57772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57773 (eval $ac_try) 2>&5
57774 ac_status=$?
57775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57776 (exit $ac_status); }; } &&
57777 { ac_try='test -s conftest.$ac_objext'
57778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57779 (eval $ac_try) 2>&5
57780 ac_status=$?
57781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57782 (exit $ac_status); }; }; then
57783 glibcxx_cv_func_isinff_use=yes
57784 else
57785 echo "$as_me: failed program was:" >&5
57786 sed 's/^/| /' conftest.$ac_ext >&5
57788 glibcxx_cv_func_isinff_use=no
57790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57791 ac_ext=c
57792 ac_cpp='$CPP $CPPFLAGS'
57793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57801 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
57802 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
57804 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
57806 for ac_func in isinff
57808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57809 echo "$as_me:$LINENO: checking for $ac_func" >&5
57810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57811 if eval "test \"\${$as_ac_var+set}\" = set"; then
57812 echo $ECHO_N "(cached) $ECHO_C" >&6
57813 else
57814 if test x$gcc_no_link = xyes; then
57815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57817 { (exit 1); exit 1; }; }
57819 cat >conftest.$ac_ext <<_ACEOF
57820 /* confdefs.h. */
57821 _ACEOF
57822 cat confdefs.h >>conftest.$ac_ext
57823 cat >>conftest.$ac_ext <<_ACEOF
57824 /* end confdefs.h. */
57825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57827 #define $ac_func innocuous_$ac_func
57829 /* System header to define __stub macros and hopefully few prototypes,
57830 which can conflict with char $ac_func (); below.
57831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57832 <limits.h> exists even on freestanding compilers. */
57834 #ifdef __STDC__
57835 # include <limits.h>
57836 #else
57837 # include <assert.h>
57838 #endif
57840 #undef $ac_func
57842 /* Override any gcc2 internal prototype to avoid an error. */
57843 #ifdef __cplusplus
57844 extern "C"
57846 #endif
57847 /* We use char because int might match the return type of a gcc2
57848 builtin and then its argument prototype would still apply. */
57849 char $ac_func ();
57850 /* The GNU C library defines this for functions which it implements
57851 to always fail with ENOSYS. Some functions are actually named
57852 something starting with __ and the normal name is an alias. */
57853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57854 choke me
57855 #else
57856 char (*f) () = $ac_func;
57857 #endif
57858 #ifdef __cplusplus
57860 #endif
57863 main ()
57865 return f != $ac_func;
57867 return 0;
57869 _ACEOF
57870 rm -f conftest.$ac_objext conftest$ac_exeext
57871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57872 (eval $ac_link) 2>conftest.er1
57873 ac_status=$?
57874 grep -v '^ *+' conftest.er1 >conftest.err
57875 rm -f conftest.er1
57876 cat conftest.err >&5
57877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57878 (exit $ac_status); } &&
57879 { ac_try='test -z "$ac_c_werror_flag"
57880 || test ! -s conftest.err'
57881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57882 (eval $ac_try) 2>&5
57883 ac_status=$?
57884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57885 (exit $ac_status); }; } &&
57886 { ac_try='test -s conftest$ac_exeext'
57887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57888 (eval $ac_try) 2>&5
57889 ac_status=$?
57890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57891 (exit $ac_status); }; }; then
57892 eval "$as_ac_var=yes"
57893 else
57894 echo "$as_me: failed program was:" >&5
57895 sed 's/^/| /' conftest.$ac_ext >&5
57897 eval "$as_ac_var=no"
57899 rm -f conftest.err conftest.$ac_objext \
57900 conftest$ac_exeext conftest.$ac_ext
57902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57904 if test `eval echo '${'$as_ac_var'}'` = yes; then
57905 cat >>confdefs.h <<_ACEOF
57906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57907 _ACEOF
57910 done
57912 else
57914 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
57915 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
57916 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
57917 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
57918 echo $ECHO_N "(cached) $ECHO_C" >&6
57919 else
57923 ac_ext=cc
57924 ac_cpp='$CXXCPP $CPPFLAGS'
57925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57929 cat >conftest.$ac_ext <<_ACEOF
57930 /* confdefs.h. */
57931 _ACEOF
57932 cat confdefs.h >>conftest.$ac_ext
57933 cat >>conftest.$ac_ext <<_ACEOF
57934 /* end confdefs.h. */
57935 #include <math.h>
57936 #ifdef HAVE_IEEEFP_H
57937 #include <ieeefp.h>
57938 #endif
57941 main ()
57943 _isinff(0);
57945 return 0;
57947 _ACEOF
57948 rm -f conftest.$ac_objext
57949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57950 (eval $ac_compile) 2>conftest.er1
57951 ac_status=$?
57952 grep -v '^ *+' conftest.er1 >conftest.err
57953 rm -f conftest.er1
57954 cat conftest.err >&5
57955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57956 (exit $ac_status); } &&
57957 { ac_try='test -z "$ac_cxx_werror_flag"
57958 || test ! -s conftest.err'
57959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57960 (eval $ac_try) 2>&5
57961 ac_status=$?
57962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57963 (exit $ac_status); }; } &&
57964 { ac_try='test -s conftest.$ac_objext'
57965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57966 (eval $ac_try) 2>&5
57967 ac_status=$?
57968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57969 (exit $ac_status); }; }; then
57970 glibcxx_cv_func__isinff_use=yes
57971 else
57972 echo "$as_me: failed program was:" >&5
57973 sed 's/^/| /' conftest.$ac_ext >&5
57975 glibcxx_cv_func__isinff_use=no
57977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57978 ac_ext=c
57979 ac_cpp='$CPP $CPPFLAGS'
57980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57988 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
57989 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
57991 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
57993 for ac_func in _isinff
57995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57996 echo "$as_me:$LINENO: checking for $ac_func" >&5
57997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57998 if eval "test \"\${$as_ac_var+set}\" = set"; then
57999 echo $ECHO_N "(cached) $ECHO_C" >&6
58000 else
58001 if test x$gcc_no_link = xyes; then
58002 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58004 { (exit 1); exit 1; }; }
58006 cat >conftest.$ac_ext <<_ACEOF
58007 /* confdefs.h. */
58008 _ACEOF
58009 cat confdefs.h >>conftest.$ac_ext
58010 cat >>conftest.$ac_ext <<_ACEOF
58011 /* end confdefs.h. */
58012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58014 #define $ac_func innocuous_$ac_func
58016 /* System header to define __stub macros and hopefully few prototypes,
58017 which can conflict with char $ac_func (); below.
58018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58019 <limits.h> exists even on freestanding compilers. */
58021 #ifdef __STDC__
58022 # include <limits.h>
58023 #else
58024 # include <assert.h>
58025 #endif
58027 #undef $ac_func
58029 /* Override any gcc2 internal prototype to avoid an error. */
58030 #ifdef __cplusplus
58031 extern "C"
58033 #endif
58034 /* We use char because int might match the return type of a gcc2
58035 builtin and then its argument prototype would still apply. */
58036 char $ac_func ();
58037 /* The GNU C library defines this for functions which it implements
58038 to always fail with ENOSYS. Some functions are actually named
58039 something starting with __ and the normal name is an alias. */
58040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58041 choke me
58042 #else
58043 char (*f) () = $ac_func;
58044 #endif
58045 #ifdef __cplusplus
58047 #endif
58050 main ()
58052 return f != $ac_func;
58054 return 0;
58056 _ACEOF
58057 rm -f conftest.$ac_objext conftest$ac_exeext
58058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58059 (eval $ac_link) 2>conftest.er1
58060 ac_status=$?
58061 grep -v '^ *+' conftest.er1 >conftest.err
58062 rm -f conftest.er1
58063 cat conftest.err >&5
58064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58065 (exit $ac_status); } &&
58066 { ac_try='test -z "$ac_c_werror_flag"
58067 || test ! -s conftest.err'
58068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58069 (eval $ac_try) 2>&5
58070 ac_status=$?
58071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58072 (exit $ac_status); }; } &&
58073 { ac_try='test -s conftest$ac_exeext'
58074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58075 (eval $ac_try) 2>&5
58076 ac_status=$?
58077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58078 (exit $ac_status); }; }; then
58079 eval "$as_ac_var=yes"
58080 else
58081 echo "$as_me: failed program was:" >&5
58082 sed 's/^/| /' conftest.$ac_ext >&5
58084 eval "$as_ac_var=no"
58086 rm -f conftest.err conftest.$ac_objext \
58087 conftest$ac_exeext conftest.$ac_ext
58089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58091 if test `eval echo '${'$as_ac_var'}'` = yes; then
58092 cat >>confdefs.h <<_ACEOF
58093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58094 _ACEOF
58097 done
58107 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
58108 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
58109 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
58110 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
58111 echo $ECHO_N "(cached) $ECHO_C" >&6
58112 else
58116 ac_ext=cc
58117 ac_cpp='$CXXCPP $CPPFLAGS'
58118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58122 cat >conftest.$ac_ext <<_ACEOF
58123 /* confdefs.h. */
58124 _ACEOF
58125 cat confdefs.h >>conftest.$ac_ext
58126 cat >>conftest.$ac_ext <<_ACEOF
58127 /* end confdefs.h. */
58128 #include <math.h>
58130 main ()
58132 atan2f(0, 0);
58134 return 0;
58136 _ACEOF
58137 rm -f conftest.$ac_objext
58138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58139 (eval $ac_compile) 2>conftest.er1
58140 ac_status=$?
58141 grep -v '^ *+' conftest.er1 >conftest.err
58142 rm -f conftest.er1
58143 cat conftest.err >&5
58144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58145 (exit $ac_status); } &&
58146 { ac_try='test -z "$ac_cxx_werror_flag"
58147 || test ! -s conftest.err'
58148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58149 (eval $ac_try) 2>&5
58150 ac_status=$?
58151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58152 (exit $ac_status); }; } &&
58153 { ac_try='test -s conftest.$ac_objext'
58154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58155 (eval $ac_try) 2>&5
58156 ac_status=$?
58157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58158 (exit $ac_status); }; }; then
58159 glibcxx_cv_func_atan2f_use=yes
58160 else
58161 echo "$as_me: failed program was:" >&5
58162 sed 's/^/| /' conftest.$ac_ext >&5
58164 glibcxx_cv_func_atan2f_use=no
58166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58167 ac_ext=c
58168 ac_cpp='$CPP $CPPFLAGS'
58169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58177 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
58178 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
58180 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
58182 for ac_func in atan2f
58184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58185 echo "$as_me:$LINENO: checking for $ac_func" >&5
58186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58187 if eval "test \"\${$as_ac_var+set}\" = set"; then
58188 echo $ECHO_N "(cached) $ECHO_C" >&6
58189 else
58190 if test x$gcc_no_link = xyes; then
58191 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58193 { (exit 1); exit 1; }; }
58195 cat >conftest.$ac_ext <<_ACEOF
58196 /* confdefs.h. */
58197 _ACEOF
58198 cat confdefs.h >>conftest.$ac_ext
58199 cat >>conftest.$ac_ext <<_ACEOF
58200 /* end confdefs.h. */
58201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58203 #define $ac_func innocuous_$ac_func
58205 /* System header to define __stub macros and hopefully few prototypes,
58206 which can conflict with char $ac_func (); below.
58207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58208 <limits.h> exists even on freestanding compilers. */
58210 #ifdef __STDC__
58211 # include <limits.h>
58212 #else
58213 # include <assert.h>
58214 #endif
58216 #undef $ac_func
58218 /* Override any gcc2 internal prototype to avoid an error. */
58219 #ifdef __cplusplus
58220 extern "C"
58222 #endif
58223 /* We use char because int might match the return type of a gcc2
58224 builtin and then its argument prototype would still apply. */
58225 char $ac_func ();
58226 /* The GNU C library defines this for functions which it implements
58227 to always fail with ENOSYS. Some functions are actually named
58228 something starting with __ and the normal name is an alias. */
58229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58230 choke me
58231 #else
58232 char (*f) () = $ac_func;
58233 #endif
58234 #ifdef __cplusplus
58236 #endif
58239 main ()
58241 return f != $ac_func;
58243 return 0;
58245 _ACEOF
58246 rm -f conftest.$ac_objext conftest$ac_exeext
58247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58248 (eval $ac_link) 2>conftest.er1
58249 ac_status=$?
58250 grep -v '^ *+' conftest.er1 >conftest.err
58251 rm -f conftest.er1
58252 cat conftest.err >&5
58253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58254 (exit $ac_status); } &&
58255 { ac_try='test -z "$ac_c_werror_flag"
58256 || test ! -s conftest.err'
58257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58258 (eval $ac_try) 2>&5
58259 ac_status=$?
58260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58261 (exit $ac_status); }; } &&
58262 { ac_try='test -s conftest$ac_exeext'
58263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58264 (eval $ac_try) 2>&5
58265 ac_status=$?
58266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58267 (exit $ac_status); }; }; then
58268 eval "$as_ac_var=yes"
58269 else
58270 echo "$as_me: failed program was:" >&5
58271 sed 's/^/| /' conftest.$ac_ext >&5
58273 eval "$as_ac_var=no"
58275 rm -f conftest.err conftest.$ac_objext \
58276 conftest$ac_exeext conftest.$ac_ext
58278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58280 if test `eval echo '${'$as_ac_var'}'` = yes; then
58281 cat >>confdefs.h <<_ACEOF
58282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58283 _ACEOF
58286 done
58288 else
58290 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
58291 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
58292 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
58293 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
58294 echo $ECHO_N "(cached) $ECHO_C" >&6
58295 else
58299 ac_ext=cc
58300 ac_cpp='$CXXCPP $CPPFLAGS'
58301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58305 cat >conftest.$ac_ext <<_ACEOF
58306 /* confdefs.h. */
58307 _ACEOF
58308 cat confdefs.h >>conftest.$ac_ext
58309 cat >>conftest.$ac_ext <<_ACEOF
58310 /* end confdefs.h. */
58311 #include <math.h>
58313 main ()
58315 _atan2f(0, 0);
58317 return 0;
58319 _ACEOF
58320 rm -f conftest.$ac_objext
58321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58322 (eval $ac_compile) 2>conftest.er1
58323 ac_status=$?
58324 grep -v '^ *+' conftest.er1 >conftest.err
58325 rm -f conftest.er1
58326 cat conftest.err >&5
58327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58328 (exit $ac_status); } &&
58329 { ac_try='test -z "$ac_cxx_werror_flag"
58330 || test ! -s conftest.err'
58331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58332 (eval $ac_try) 2>&5
58333 ac_status=$?
58334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58335 (exit $ac_status); }; } &&
58336 { ac_try='test -s conftest.$ac_objext'
58337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58338 (eval $ac_try) 2>&5
58339 ac_status=$?
58340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58341 (exit $ac_status); }; }; then
58342 glibcxx_cv_func__atan2f_use=yes
58343 else
58344 echo "$as_me: failed program was:" >&5
58345 sed 's/^/| /' conftest.$ac_ext >&5
58347 glibcxx_cv_func__atan2f_use=no
58349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58350 ac_ext=c
58351 ac_cpp='$CPP $CPPFLAGS'
58352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58360 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
58361 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
58363 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
58365 for ac_func in _atan2f
58367 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58368 echo "$as_me:$LINENO: checking for $ac_func" >&5
58369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58370 if eval "test \"\${$as_ac_var+set}\" = set"; then
58371 echo $ECHO_N "(cached) $ECHO_C" >&6
58372 else
58373 if test x$gcc_no_link = xyes; then
58374 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58376 { (exit 1); exit 1; }; }
58378 cat >conftest.$ac_ext <<_ACEOF
58379 /* confdefs.h. */
58380 _ACEOF
58381 cat confdefs.h >>conftest.$ac_ext
58382 cat >>conftest.$ac_ext <<_ACEOF
58383 /* end confdefs.h. */
58384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58386 #define $ac_func innocuous_$ac_func
58388 /* System header to define __stub macros and hopefully few prototypes,
58389 which can conflict with char $ac_func (); below.
58390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58391 <limits.h> exists even on freestanding compilers. */
58393 #ifdef __STDC__
58394 # include <limits.h>
58395 #else
58396 # include <assert.h>
58397 #endif
58399 #undef $ac_func
58401 /* Override any gcc2 internal prototype to avoid an error. */
58402 #ifdef __cplusplus
58403 extern "C"
58405 #endif
58406 /* We use char because int might match the return type of a gcc2
58407 builtin and then its argument prototype would still apply. */
58408 char $ac_func ();
58409 /* The GNU C library defines this for functions which it implements
58410 to always fail with ENOSYS. Some functions are actually named
58411 something starting with __ and the normal name is an alias. */
58412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58413 choke me
58414 #else
58415 char (*f) () = $ac_func;
58416 #endif
58417 #ifdef __cplusplus
58419 #endif
58422 main ()
58424 return f != $ac_func;
58426 return 0;
58428 _ACEOF
58429 rm -f conftest.$ac_objext conftest$ac_exeext
58430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58431 (eval $ac_link) 2>conftest.er1
58432 ac_status=$?
58433 grep -v '^ *+' conftest.er1 >conftest.err
58434 rm -f conftest.er1
58435 cat conftest.err >&5
58436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58437 (exit $ac_status); } &&
58438 { ac_try='test -z "$ac_c_werror_flag"
58439 || test ! -s conftest.err'
58440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58441 (eval $ac_try) 2>&5
58442 ac_status=$?
58443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58444 (exit $ac_status); }; } &&
58445 { ac_try='test -s conftest$ac_exeext'
58446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58447 (eval $ac_try) 2>&5
58448 ac_status=$?
58449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58450 (exit $ac_status); }; }; then
58451 eval "$as_ac_var=yes"
58452 else
58453 echo "$as_me: failed program was:" >&5
58454 sed 's/^/| /' conftest.$ac_ext >&5
58456 eval "$as_ac_var=no"
58458 rm -f conftest.err conftest.$ac_objext \
58459 conftest$ac_exeext conftest.$ac_ext
58461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58463 if test `eval echo '${'$as_ac_var'}'` = yes; then
58464 cat >>confdefs.h <<_ACEOF
58465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58466 _ACEOF
58469 done
58479 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
58480 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
58481 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
58482 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
58483 echo $ECHO_N "(cached) $ECHO_C" >&6
58484 else
58488 ac_ext=cc
58489 ac_cpp='$CXXCPP $CPPFLAGS'
58490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58494 cat >conftest.$ac_ext <<_ACEOF
58495 /* confdefs.h. */
58496 _ACEOF
58497 cat confdefs.h >>conftest.$ac_ext
58498 cat >>conftest.$ac_ext <<_ACEOF
58499 /* end confdefs.h. */
58500 #include <math.h>
58501 #ifdef HAVE_IEEEFP_H
58502 #include <ieeefp.h>
58503 #endif
58506 main ()
58508 fabsf(0);
58510 return 0;
58512 _ACEOF
58513 rm -f conftest.$ac_objext
58514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58515 (eval $ac_compile) 2>conftest.er1
58516 ac_status=$?
58517 grep -v '^ *+' conftest.er1 >conftest.err
58518 rm -f conftest.er1
58519 cat conftest.err >&5
58520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58521 (exit $ac_status); } &&
58522 { ac_try='test -z "$ac_cxx_werror_flag"
58523 || test ! -s conftest.err'
58524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58525 (eval $ac_try) 2>&5
58526 ac_status=$?
58527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58528 (exit $ac_status); }; } &&
58529 { ac_try='test -s conftest.$ac_objext'
58530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58531 (eval $ac_try) 2>&5
58532 ac_status=$?
58533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58534 (exit $ac_status); }; }; then
58535 glibcxx_cv_func_fabsf_use=yes
58536 else
58537 echo "$as_me: failed program was:" >&5
58538 sed 's/^/| /' conftest.$ac_ext >&5
58540 glibcxx_cv_func_fabsf_use=no
58542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58543 ac_ext=c
58544 ac_cpp='$CPP $CPPFLAGS'
58545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58553 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
58554 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
58556 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
58558 for ac_func in fabsf
58560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58561 echo "$as_me:$LINENO: checking for $ac_func" >&5
58562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58563 if eval "test \"\${$as_ac_var+set}\" = set"; then
58564 echo $ECHO_N "(cached) $ECHO_C" >&6
58565 else
58566 if test x$gcc_no_link = xyes; then
58567 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58569 { (exit 1); exit 1; }; }
58571 cat >conftest.$ac_ext <<_ACEOF
58572 /* confdefs.h. */
58573 _ACEOF
58574 cat confdefs.h >>conftest.$ac_ext
58575 cat >>conftest.$ac_ext <<_ACEOF
58576 /* end confdefs.h. */
58577 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58579 #define $ac_func innocuous_$ac_func
58581 /* System header to define __stub macros and hopefully few prototypes,
58582 which can conflict with char $ac_func (); below.
58583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58584 <limits.h> exists even on freestanding compilers. */
58586 #ifdef __STDC__
58587 # include <limits.h>
58588 #else
58589 # include <assert.h>
58590 #endif
58592 #undef $ac_func
58594 /* Override any gcc2 internal prototype to avoid an error. */
58595 #ifdef __cplusplus
58596 extern "C"
58598 #endif
58599 /* We use char because int might match the return type of a gcc2
58600 builtin and then its argument prototype would still apply. */
58601 char $ac_func ();
58602 /* The GNU C library defines this for functions which it implements
58603 to always fail with ENOSYS. Some functions are actually named
58604 something starting with __ and the normal name is an alias. */
58605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58606 choke me
58607 #else
58608 char (*f) () = $ac_func;
58609 #endif
58610 #ifdef __cplusplus
58612 #endif
58615 main ()
58617 return f != $ac_func;
58619 return 0;
58621 _ACEOF
58622 rm -f conftest.$ac_objext conftest$ac_exeext
58623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58624 (eval $ac_link) 2>conftest.er1
58625 ac_status=$?
58626 grep -v '^ *+' conftest.er1 >conftest.err
58627 rm -f conftest.er1
58628 cat conftest.err >&5
58629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58630 (exit $ac_status); } &&
58631 { ac_try='test -z "$ac_c_werror_flag"
58632 || test ! -s conftest.err'
58633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58634 (eval $ac_try) 2>&5
58635 ac_status=$?
58636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58637 (exit $ac_status); }; } &&
58638 { ac_try='test -s conftest$ac_exeext'
58639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58640 (eval $ac_try) 2>&5
58641 ac_status=$?
58642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58643 (exit $ac_status); }; }; then
58644 eval "$as_ac_var=yes"
58645 else
58646 echo "$as_me: failed program was:" >&5
58647 sed 's/^/| /' conftest.$ac_ext >&5
58649 eval "$as_ac_var=no"
58651 rm -f conftest.err conftest.$ac_objext \
58652 conftest$ac_exeext conftest.$ac_ext
58654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58655 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58656 if test `eval echo '${'$as_ac_var'}'` = yes; then
58657 cat >>confdefs.h <<_ACEOF
58658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58659 _ACEOF
58662 done
58664 else
58666 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
58667 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
58668 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
58669 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
58670 echo $ECHO_N "(cached) $ECHO_C" >&6
58671 else
58675 ac_ext=cc
58676 ac_cpp='$CXXCPP $CPPFLAGS'
58677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58681 cat >conftest.$ac_ext <<_ACEOF
58682 /* confdefs.h. */
58683 _ACEOF
58684 cat confdefs.h >>conftest.$ac_ext
58685 cat >>conftest.$ac_ext <<_ACEOF
58686 /* end confdefs.h. */
58687 #include <math.h>
58688 #ifdef HAVE_IEEEFP_H
58689 #include <ieeefp.h>
58690 #endif
58693 main ()
58695 _fabsf(0);
58697 return 0;
58699 _ACEOF
58700 rm -f conftest.$ac_objext
58701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58702 (eval $ac_compile) 2>conftest.er1
58703 ac_status=$?
58704 grep -v '^ *+' conftest.er1 >conftest.err
58705 rm -f conftest.er1
58706 cat conftest.err >&5
58707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58708 (exit $ac_status); } &&
58709 { ac_try='test -z "$ac_cxx_werror_flag"
58710 || test ! -s conftest.err'
58711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58712 (eval $ac_try) 2>&5
58713 ac_status=$?
58714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58715 (exit $ac_status); }; } &&
58716 { ac_try='test -s conftest.$ac_objext'
58717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58718 (eval $ac_try) 2>&5
58719 ac_status=$?
58720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58721 (exit $ac_status); }; }; then
58722 glibcxx_cv_func__fabsf_use=yes
58723 else
58724 echo "$as_me: failed program was:" >&5
58725 sed 's/^/| /' conftest.$ac_ext >&5
58727 glibcxx_cv_func__fabsf_use=no
58729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58730 ac_ext=c
58731 ac_cpp='$CPP $CPPFLAGS'
58732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58740 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
58741 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
58743 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
58745 for ac_func in _fabsf
58747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58748 echo "$as_me:$LINENO: checking for $ac_func" >&5
58749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58750 if eval "test \"\${$as_ac_var+set}\" = set"; then
58751 echo $ECHO_N "(cached) $ECHO_C" >&6
58752 else
58753 if test x$gcc_no_link = xyes; then
58754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58756 { (exit 1); exit 1; }; }
58758 cat >conftest.$ac_ext <<_ACEOF
58759 /* confdefs.h. */
58760 _ACEOF
58761 cat confdefs.h >>conftest.$ac_ext
58762 cat >>conftest.$ac_ext <<_ACEOF
58763 /* end confdefs.h. */
58764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58766 #define $ac_func innocuous_$ac_func
58768 /* System header to define __stub macros and hopefully few prototypes,
58769 which can conflict with char $ac_func (); below.
58770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58771 <limits.h> exists even on freestanding compilers. */
58773 #ifdef __STDC__
58774 # include <limits.h>
58775 #else
58776 # include <assert.h>
58777 #endif
58779 #undef $ac_func
58781 /* Override any gcc2 internal prototype to avoid an error. */
58782 #ifdef __cplusplus
58783 extern "C"
58785 #endif
58786 /* We use char because int might match the return type of a gcc2
58787 builtin and then its argument prototype would still apply. */
58788 char $ac_func ();
58789 /* The GNU C library defines this for functions which it implements
58790 to always fail with ENOSYS. Some functions are actually named
58791 something starting with __ and the normal name is an alias. */
58792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58793 choke me
58794 #else
58795 char (*f) () = $ac_func;
58796 #endif
58797 #ifdef __cplusplus
58799 #endif
58802 main ()
58804 return f != $ac_func;
58806 return 0;
58808 _ACEOF
58809 rm -f conftest.$ac_objext conftest$ac_exeext
58810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58811 (eval $ac_link) 2>conftest.er1
58812 ac_status=$?
58813 grep -v '^ *+' conftest.er1 >conftest.err
58814 rm -f conftest.er1
58815 cat conftest.err >&5
58816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58817 (exit $ac_status); } &&
58818 { ac_try='test -z "$ac_c_werror_flag"
58819 || test ! -s conftest.err'
58820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58821 (eval $ac_try) 2>&5
58822 ac_status=$?
58823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58824 (exit $ac_status); }; } &&
58825 { ac_try='test -s conftest$ac_exeext'
58826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58827 (eval $ac_try) 2>&5
58828 ac_status=$?
58829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58830 (exit $ac_status); }; }; then
58831 eval "$as_ac_var=yes"
58832 else
58833 echo "$as_me: failed program was:" >&5
58834 sed 's/^/| /' conftest.$ac_ext >&5
58836 eval "$as_ac_var=no"
58838 rm -f conftest.err conftest.$ac_objext \
58839 conftest$ac_exeext conftest.$ac_ext
58841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58842 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58843 if test `eval echo '${'$as_ac_var'}'` = yes; then
58844 cat >>confdefs.h <<_ACEOF
58845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58846 _ACEOF
58849 done
58859 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
58860 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
58861 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
58862 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
58863 echo $ECHO_N "(cached) $ECHO_C" >&6
58864 else
58868 ac_ext=cc
58869 ac_cpp='$CXXCPP $CPPFLAGS'
58870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58874 cat >conftest.$ac_ext <<_ACEOF
58875 /* confdefs.h. */
58876 _ACEOF
58877 cat confdefs.h >>conftest.$ac_ext
58878 cat >>conftest.$ac_ext <<_ACEOF
58879 /* end confdefs.h. */
58880 #include <math.h>
58882 main ()
58884 fmodf(0, 0);
58886 return 0;
58888 _ACEOF
58889 rm -f conftest.$ac_objext
58890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58891 (eval $ac_compile) 2>conftest.er1
58892 ac_status=$?
58893 grep -v '^ *+' conftest.er1 >conftest.err
58894 rm -f conftest.er1
58895 cat conftest.err >&5
58896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58897 (exit $ac_status); } &&
58898 { ac_try='test -z "$ac_cxx_werror_flag"
58899 || test ! -s conftest.err'
58900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58901 (eval $ac_try) 2>&5
58902 ac_status=$?
58903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58904 (exit $ac_status); }; } &&
58905 { ac_try='test -s conftest.$ac_objext'
58906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58907 (eval $ac_try) 2>&5
58908 ac_status=$?
58909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58910 (exit $ac_status); }; }; then
58911 glibcxx_cv_func_fmodf_use=yes
58912 else
58913 echo "$as_me: failed program was:" >&5
58914 sed 's/^/| /' conftest.$ac_ext >&5
58916 glibcxx_cv_func_fmodf_use=no
58918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58919 ac_ext=c
58920 ac_cpp='$CPP $CPPFLAGS'
58921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58929 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
58930 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
58932 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
58934 for ac_func in fmodf
58936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58937 echo "$as_me:$LINENO: checking for $ac_func" >&5
58938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58939 if eval "test \"\${$as_ac_var+set}\" = set"; then
58940 echo $ECHO_N "(cached) $ECHO_C" >&6
58941 else
58942 if test x$gcc_no_link = xyes; then
58943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58945 { (exit 1); exit 1; }; }
58947 cat >conftest.$ac_ext <<_ACEOF
58948 /* confdefs.h. */
58949 _ACEOF
58950 cat confdefs.h >>conftest.$ac_ext
58951 cat >>conftest.$ac_ext <<_ACEOF
58952 /* end confdefs.h. */
58953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58955 #define $ac_func innocuous_$ac_func
58957 /* System header to define __stub macros and hopefully few prototypes,
58958 which can conflict with char $ac_func (); below.
58959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58960 <limits.h> exists even on freestanding compilers. */
58962 #ifdef __STDC__
58963 # include <limits.h>
58964 #else
58965 # include <assert.h>
58966 #endif
58968 #undef $ac_func
58970 /* Override any gcc2 internal prototype to avoid an error. */
58971 #ifdef __cplusplus
58972 extern "C"
58974 #endif
58975 /* We use char because int might match the return type of a gcc2
58976 builtin and then its argument prototype would still apply. */
58977 char $ac_func ();
58978 /* The GNU C library defines this for functions which it implements
58979 to always fail with ENOSYS. Some functions are actually named
58980 something starting with __ and the normal name is an alias. */
58981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58982 choke me
58983 #else
58984 char (*f) () = $ac_func;
58985 #endif
58986 #ifdef __cplusplus
58988 #endif
58991 main ()
58993 return f != $ac_func;
58995 return 0;
58997 _ACEOF
58998 rm -f conftest.$ac_objext conftest$ac_exeext
58999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59000 (eval $ac_link) 2>conftest.er1
59001 ac_status=$?
59002 grep -v '^ *+' conftest.er1 >conftest.err
59003 rm -f conftest.er1
59004 cat conftest.err >&5
59005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59006 (exit $ac_status); } &&
59007 { ac_try='test -z "$ac_c_werror_flag"
59008 || test ! -s conftest.err'
59009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59010 (eval $ac_try) 2>&5
59011 ac_status=$?
59012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59013 (exit $ac_status); }; } &&
59014 { ac_try='test -s conftest$ac_exeext'
59015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59016 (eval $ac_try) 2>&5
59017 ac_status=$?
59018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59019 (exit $ac_status); }; }; then
59020 eval "$as_ac_var=yes"
59021 else
59022 echo "$as_me: failed program was:" >&5
59023 sed 's/^/| /' conftest.$ac_ext >&5
59025 eval "$as_ac_var=no"
59027 rm -f conftest.err conftest.$ac_objext \
59028 conftest$ac_exeext conftest.$ac_ext
59030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59032 if test `eval echo '${'$as_ac_var'}'` = yes; then
59033 cat >>confdefs.h <<_ACEOF
59034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59035 _ACEOF
59038 done
59040 else
59042 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
59043 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
59044 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59045 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
59046 echo $ECHO_N "(cached) $ECHO_C" >&6
59047 else
59051 ac_ext=cc
59052 ac_cpp='$CXXCPP $CPPFLAGS'
59053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59057 cat >conftest.$ac_ext <<_ACEOF
59058 /* confdefs.h. */
59059 _ACEOF
59060 cat confdefs.h >>conftest.$ac_ext
59061 cat >>conftest.$ac_ext <<_ACEOF
59062 /* end confdefs.h. */
59063 #include <math.h>
59065 main ()
59067 _fmodf(0, 0);
59069 return 0;
59071 _ACEOF
59072 rm -f conftest.$ac_objext
59073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59074 (eval $ac_compile) 2>conftest.er1
59075 ac_status=$?
59076 grep -v '^ *+' conftest.er1 >conftest.err
59077 rm -f conftest.er1
59078 cat conftest.err >&5
59079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59080 (exit $ac_status); } &&
59081 { ac_try='test -z "$ac_cxx_werror_flag"
59082 || test ! -s conftest.err'
59083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59084 (eval $ac_try) 2>&5
59085 ac_status=$?
59086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59087 (exit $ac_status); }; } &&
59088 { ac_try='test -s conftest.$ac_objext'
59089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59090 (eval $ac_try) 2>&5
59091 ac_status=$?
59092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59093 (exit $ac_status); }; }; then
59094 glibcxx_cv_func__fmodf_use=yes
59095 else
59096 echo "$as_me: failed program was:" >&5
59097 sed 's/^/| /' conftest.$ac_ext >&5
59099 glibcxx_cv_func__fmodf_use=no
59101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59102 ac_ext=c
59103 ac_cpp='$CPP $CPPFLAGS'
59104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59112 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
59113 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
59115 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59117 for ac_func in _fmodf
59119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59120 echo "$as_me:$LINENO: checking for $ac_func" >&5
59121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59122 if eval "test \"\${$as_ac_var+set}\" = set"; then
59123 echo $ECHO_N "(cached) $ECHO_C" >&6
59124 else
59125 if test x$gcc_no_link = xyes; then
59126 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59128 { (exit 1); exit 1; }; }
59130 cat >conftest.$ac_ext <<_ACEOF
59131 /* confdefs.h. */
59132 _ACEOF
59133 cat confdefs.h >>conftest.$ac_ext
59134 cat >>conftest.$ac_ext <<_ACEOF
59135 /* end confdefs.h. */
59136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59138 #define $ac_func innocuous_$ac_func
59140 /* System header to define __stub macros and hopefully few prototypes,
59141 which can conflict with char $ac_func (); below.
59142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59143 <limits.h> exists even on freestanding compilers. */
59145 #ifdef __STDC__
59146 # include <limits.h>
59147 #else
59148 # include <assert.h>
59149 #endif
59151 #undef $ac_func
59153 /* Override any gcc2 internal prototype to avoid an error. */
59154 #ifdef __cplusplus
59155 extern "C"
59157 #endif
59158 /* We use char because int might match the return type of a gcc2
59159 builtin and then its argument prototype would still apply. */
59160 char $ac_func ();
59161 /* The GNU C library defines this for functions which it implements
59162 to always fail with ENOSYS. Some functions are actually named
59163 something starting with __ and the normal name is an alias. */
59164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59165 choke me
59166 #else
59167 char (*f) () = $ac_func;
59168 #endif
59169 #ifdef __cplusplus
59171 #endif
59174 main ()
59176 return f != $ac_func;
59178 return 0;
59180 _ACEOF
59181 rm -f conftest.$ac_objext conftest$ac_exeext
59182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59183 (eval $ac_link) 2>conftest.er1
59184 ac_status=$?
59185 grep -v '^ *+' conftest.er1 >conftest.err
59186 rm -f conftest.er1
59187 cat conftest.err >&5
59188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59189 (exit $ac_status); } &&
59190 { ac_try='test -z "$ac_c_werror_flag"
59191 || test ! -s conftest.err'
59192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59193 (eval $ac_try) 2>&5
59194 ac_status=$?
59195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59196 (exit $ac_status); }; } &&
59197 { ac_try='test -s conftest$ac_exeext'
59198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59199 (eval $ac_try) 2>&5
59200 ac_status=$?
59201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59202 (exit $ac_status); }; }; then
59203 eval "$as_ac_var=yes"
59204 else
59205 echo "$as_me: failed program was:" >&5
59206 sed 's/^/| /' conftest.$ac_ext >&5
59208 eval "$as_ac_var=no"
59210 rm -f conftest.err conftest.$ac_objext \
59211 conftest$ac_exeext conftest.$ac_ext
59213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59214 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59215 if test `eval echo '${'$as_ac_var'}'` = yes; then
59216 cat >>confdefs.h <<_ACEOF
59217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59218 _ACEOF
59221 done
59231 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
59232 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
59233 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59234 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
59235 echo $ECHO_N "(cached) $ECHO_C" >&6
59236 else
59240 ac_ext=cc
59241 ac_cpp='$CXXCPP $CPPFLAGS'
59242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59246 cat >conftest.$ac_ext <<_ACEOF
59247 /* confdefs.h. */
59248 _ACEOF
59249 cat confdefs.h >>conftest.$ac_ext
59250 cat >>conftest.$ac_ext <<_ACEOF
59251 /* end confdefs.h. */
59252 #include <math.h>
59254 main ()
59256 frexpf(0, 0);
59258 return 0;
59260 _ACEOF
59261 rm -f conftest.$ac_objext
59262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59263 (eval $ac_compile) 2>conftest.er1
59264 ac_status=$?
59265 grep -v '^ *+' conftest.er1 >conftest.err
59266 rm -f conftest.er1
59267 cat conftest.err >&5
59268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59269 (exit $ac_status); } &&
59270 { ac_try='test -z "$ac_cxx_werror_flag"
59271 || test ! -s conftest.err'
59272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59273 (eval $ac_try) 2>&5
59274 ac_status=$?
59275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59276 (exit $ac_status); }; } &&
59277 { ac_try='test -s conftest.$ac_objext'
59278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59279 (eval $ac_try) 2>&5
59280 ac_status=$?
59281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59282 (exit $ac_status); }; }; then
59283 glibcxx_cv_func_frexpf_use=yes
59284 else
59285 echo "$as_me: failed program was:" >&5
59286 sed 's/^/| /' conftest.$ac_ext >&5
59288 glibcxx_cv_func_frexpf_use=no
59290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59291 ac_ext=c
59292 ac_cpp='$CPP $CPPFLAGS'
59293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59301 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
59302 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
59304 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59306 for ac_func in frexpf
59308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59309 echo "$as_me:$LINENO: checking for $ac_func" >&5
59310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59311 if eval "test \"\${$as_ac_var+set}\" = set"; then
59312 echo $ECHO_N "(cached) $ECHO_C" >&6
59313 else
59314 if test x$gcc_no_link = xyes; then
59315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59317 { (exit 1); exit 1; }; }
59319 cat >conftest.$ac_ext <<_ACEOF
59320 /* confdefs.h. */
59321 _ACEOF
59322 cat confdefs.h >>conftest.$ac_ext
59323 cat >>conftest.$ac_ext <<_ACEOF
59324 /* end confdefs.h. */
59325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59327 #define $ac_func innocuous_$ac_func
59329 /* System header to define __stub macros and hopefully few prototypes,
59330 which can conflict with char $ac_func (); below.
59331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59332 <limits.h> exists even on freestanding compilers. */
59334 #ifdef __STDC__
59335 # include <limits.h>
59336 #else
59337 # include <assert.h>
59338 #endif
59340 #undef $ac_func
59342 /* Override any gcc2 internal prototype to avoid an error. */
59343 #ifdef __cplusplus
59344 extern "C"
59346 #endif
59347 /* We use char because int might match the return type of a gcc2
59348 builtin and then its argument prototype would still apply. */
59349 char $ac_func ();
59350 /* The GNU C library defines this for functions which it implements
59351 to always fail with ENOSYS. Some functions are actually named
59352 something starting with __ and the normal name is an alias. */
59353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59354 choke me
59355 #else
59356 char (*f) () = $ac_func;
59357 #endif
59358 #ifdef __cplusplus
59360 #endif
59363 main ()
59365 return f != $ac_func;
59367 return 0;
59369 _ACEOF
59370 rm -f conftest.$ac_objext conftest$ac_exeext
59371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59372 (eval $ac_link) 2>conftest.er1
59373 ac_status=$?
59374 grep -v '^ *+' conftest.er1 >conftest.err
59375 rm -f conftest.er1
59376 cat conftest.err >&5
59377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59378 (exit $ac_status); } &&
59379 { ac_try='test -z "$ac_c_werror_flag"
59380 || test ! -s conftest.err'
59381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59382 (eval $ac_try) 2>&5
59383 ac_status=$?
59384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59385 (exit $ac_status); }; } &&
59386 { ac_try='test -s conftest$ac_exeext'
59387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59388 (eval $ac_try) 2>&5
59389 ac_status=$?
59390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59391 (exit $ac_status); }; }; then
59392 eval "$as_ac_var=yes"
59393 else
59394 echo "$as_me: failed program was:" >&5
59395 sed 's/^/| /' conftest.$ac_ext >&5
59397 eval "$as_ac_var=no"
59399 rm -f conftest.err conftest.$ac_objext \
59400 conftest$ac_exeext conftest.$ac_ext
59402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59404 if test `eval echo '${'$as_ac_var'}'` = yes; then
59405 cat >>confdefs.h <<_ACEOF
59406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59407 _ACEOF
59410 done
59412 else
59414 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
59415 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
59416 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59417 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
59418 echo $ECHO_N "(cached) $ECHO_C" >&6
59419 else
59423 ac_ext=cc
59424 ac_cpp='$CXXCPP $CPPFLAGS'
59425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59429 cat >conftest.$ac_ext <<_ACEOF
59430 /* confdefs.h. */
59431 _ACEOF
59432 cat confdefs.h >>conftest.$ac_ext
59433 cat >>conftest.$ac_ext <<_ACEOF
59434 /* end confdefs.h. */
59435 #include <math.h>
59437 main ()
59439 _frexpf(0, 0);
59441 return 0;
59443 _ACEOF
59444 rm -f conftest.$ac_objext
59445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59446 (eval $ac_compile) 2>conftest.er1
59447 ac_status=$?
59448 grep -v '^ *+' conftest.er1 >conftest.err
59449 rm -f conftest.er1
59450 cat conftest.err >&5
59451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59452 (exit $ac_status); } &&
59453 { ac_try='test -z "$ac_cxx_werror_flag"
59454 || test ! -s conftest.err'
59455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59456 (eval $ac_try) 2>&5
59457 ac_status=$?
59458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59459 (exit $ac_status); }; } &&
59460 { ac_try='test -s conftest.$ac_objext'
59461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59462 (eval $ac_try) 2>&5
59463 ac_status=$?
59464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59465 (exit $ac_status); }; }; then
59466 glibcxx_cv_func__frexpf_use=yes
59467 else
59468 echo "$as_me: failed program was:" >&5
59469 sed 's/^/| /' conftest.$ac_ext >&5
59471 glibcxx_cv_func__frexpf_use=no
59473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59474 ac_ext=c
59475 ac_cpp='$CPP $CPPFLAGS'
59476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59484 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
59485 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
59487 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59489 for ac_func in _frexpf
59491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59492 echo "$as_me:$LINENO: checking for $ac_func" >&5
59493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59494 if eval "test \"\${$as_ac_var+set}\" = set"; then
59495 echo $ECHO_N "(cached) $ECHO_C" >&6
59496 else
59497 if test x$gcc_no_link = xyes; then
59498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59500 { (exit 1); exit 1; }; }
59502 cat >conftest.$ac_ext <<_ACEOF
59503 /* confdefs.h. */
59504 _ACEOF
59505 cat confdefs.h >>conftest.$ac_ext
59506 cat >>conftest.$ac_ext <<_ACEOF
59507 /* end confdefs.h. */
59508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59510 #define $ac_func innocuous_$ac_func
59512 /* System header to define __stub macros and hopefully few prototypes,
59513 which can conflict with char $ac_func (); below.
59514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59515 <limits.h> exists even on freestanding compilers. */
59517 #ifdef __STDC__
59518 # include <limits.h>
59519 #else
59520 # include <assert.h>
59521 #endif
59523 #undef $ac_func
59525 /* Override any gcc2 internal prototype to avoid an error. */
59526 #ifdef __cplusplus
59527 extern "C"
59529 #endif
59530 /* We use char because int might match the return type of a gcc2
59531 builtin and then its argument prototype would still apply. */
59532 char $ac_func ();
59533 /* The GNU C library defines this for functions which it implements
59534 to always fail with ENOSYS. Some functions are actually named
59535 something starting with __ and the normal name is an alias. */
59536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59537 choke me
59538 #else
59539 char (*f) () = $ac_func;
59540 #endif
59541 #ifdef __cplusplus
59543 #endif
59546 main ()
59548 return f != $ac_func;
59550 return 0;
59552 _ACEOF
59553 rm -f conftest.$ac_objext conftest$ac_exeext
59554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59555 (eval $ac_link) 2>conftest.er1
59556 ac_status=$?
59557 grep -v '^ *+' conftest.er1 >conftest.err
59558 rm -f conftest.er1
59559 cat conftest.err >&5
59560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59561 (exit $ac_status); } &&
59562 { ac_try='test -z "$ac_c_werror_flag"
59563 || test ! -s conftest.err'
59564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59565 (eval $ac_try) 2>&5
59566 ac_status=$?
59567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59568 (exit $ac_status); }; } &&
59569 { ac_try='test -s conftest$ac_exeext'
59570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59571 (eval $ac_try) 2>&5
59572 ac_status=$?
59573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59574 (exit $ac_status); }; }; then
59575 eval "$as_ac_var=yes"
59576 else
59577 echo "$as_me: failed program was:" >&5
59578 sed 's/^/| /' conftest.$ac_ext >&5
59580 eval "$as_ac_var=no"
59582 rm -f conftest.err conftest.$ac_objext \
59583 conftest$ac_exeext conftest.$ac_ext
59585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59587 if test `eval echo '${'$as_ac_var'}'` = yes; then
59588 cat >>confdefs.h <<_ACEOF
59589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59590 _ACEOF
59593 done
59603 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
59604 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
59605 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59606 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
59607 echo $ECHO_N "(cached) $ECHO_C" >&6
59608 else
59612 ac_ext=cc
59613 ac_cpp='$CXXCPP $CPPFLAGS'
59614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59618 cat >conftest.$ac_ext <<_ACEOF
59619 /* confdefs.h. */
59620 _ACEOF
59621 cat confdefs.h >>conftest.$ac_ext
59622 cat >>conftest.$ac_ext <<_ACEOF
59623 /* end confdefs.h. */
59624 #include <math.h>
59626 main ()
59628 hypotf(0, 0);
59630 return 0;
59632 _ACEOF
59633 rm -f conftest.$ac_objext
59634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59635 (eval $ac_compile) 2>conftest.er1
59636 ac_status=$?
59637 grep -v '^ *+' conftest.er1 >conftest.err
59638 rm -f conftest.er1
59639 cat conftest.err >&5
59640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59641 (exit $ac_status); } &&
59642 { ac_try='test -z "$ac_cxx_werror_flag"
59643 || test ! -s conftest.err'
59644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59645 (eval $ac_try) 2>&5
59646 ac_status=$?
59647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59648 (exit $ac_status); }; } &&
59649 { ac_try='test -s conftest.$ac_objext'
59650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59651 (eval $ac_try) 2>&5
59652 ac_status=$?
59653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59654 (exit $ac_status); }; }; then
59655 glibcxx_cv_func_hypotf_use=yes
59656 else
59657 echo "$as_me: failed program was:" >&5
59658 sed 's/^/| /' conftest.$ac_ext >&5
59660 glibcxx_cv_func_hypotf_use=no
59662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59663 ac_ext=c
59664 ac_cpp='$CPP $CPPFLAGS'
59665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59673 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
59674 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
59676 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59678 for ac_func in hypotf
59680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59681 echo "$as_me:$LINENO: checking for $ac_func" >&5
59682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59683 if eval "test \"\${$as_ac_var+set}\" = set"; then
59684 echo $ECHO_N "(cached) $ECHO_C" >&6
59685 else
59686 if test x$gcc_no_link = xyes; then
59687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59689 { (exit 1); exit 1; }; }
59691 cat >conftest.$ac_ext <<_ACEOF
59692 /* confdefs.h. */
59693 _ACEOF
59694 cat confdefs.h >>conftest.$ac_ext
59695 cat >>conftest.$ac_ext <<_ACEOF
59696 /* end confdefs.h. */
59697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59699 #define $ac_func innocuous_$ac_func
59701 /* System header to define __stub macros and hopefully few prototypes,
59702 which can conflict with char $ac_func (); below.
59703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59704 <limits.h> exists even on freestanding compilers. */
59706 #ifdef __STDC__
59707 # include <limits.h>
59708 #else
59709 # include <assert.h>
59710 #endif
59712 #undef $ac_func
59714 /* Override any gcc2 internal prototype to avoid an error. */
59715 #ifdef __cplusplus
59716 extern "C"
59718 #endif
59719 /* We use char because int might match the return type of a gcc2
59720 builtin and then its argument prototype would still apply. */
59721 char $ac_func ();
59722 /* The GNU C library defines this for functions which it implements
59723 to always fail with ENOSYS. Some functions are actually named
59724 something starting with __ and the normal name is an alias. */
59725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59726 choke me
59727 #else
59728 char (*f) () = $ac_func;
59729 #endif
59730 #ifdef __cplusplus
59732 #endif
59735 main ()
59737 return f != $ac_func;
59739 return 0;
59741 _ACEOF
59742 rm -f conftest.$ac_objext conftest$ac_exeext
59743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59744 (eval $ac_link) 2>conftest.er1
59745 ac_status=$?
59746 grep -v '^ *+' conftest.er1 >conftest.err
59747 rm -f conftest.er1
59748 cat conftest.err >&5
59749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59750 (exit $ac_status); } &&
59751 { ac_try='test -z "$ac_c_werror_flag"
59752 || test ! -s conftest.err'
59753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59754 (eval $ac_try) 2>&5
59755 ac_status=$?
59756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59757 (exit $ac_status); }; } &&
59758 { ac_try='test -s conftest$ac_exeext'
59759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59760 (eval $ac_try) 2>&5
59761 ac_status=$?
59762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59763 (exit $ac_status); }; }; then
59764 eval "$as_ac_var=yes"
59765 else
59766 echo "$as_me: failed program was:" >&5
59767 sed 's/^/| /' conftest.$ac_ext >&5
59769 eval "$as_ac_var=no"
59771 rm -f conftest.err conftest.$ac_objext \
59772 conftest$ac_exeext conftest.$ac_ext
59774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59776 if test `eval echo '${'$as_ac_var'}'` = yes; then
59777 cat >>confdefs.h <<_ACEOF
59778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59779 _ACEOF
59782 done
59784 else
59786 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
59787 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
59788 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59789 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
59790 echo $ECHO_N "(cached) $ECHO_C" >&6
59791 else
59795 ac_ext=cc
59796 ac_cpp='$CXXCPP $CPPFLAGS'
59797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59801 cat >conftest.$ac_ext <<_ACEOF
59802 /* confdefs.h. */
59803 _ACEOF
59804 cat confdefs.h >>conftest.$ac_ext
59805 cat >>conftest.$ac_ext <<_ACEOF
59806 /* end confdefs.h. */
59807 #include <math.h>
59809 main ()
59811 _hypotf(0, 0);
59813 return 0;
59815 _ACEOF
59816 rm -f conftest.$ac_objext
59817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59818 (eval $ac_compile) 2>conftest.er1
59819 ac_status=$?
59820 grep -v '^ *+' conftest.er1 >conftest.err
59821 rm -f conftest.er1
59822 cat conftest.err >&5
59823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59824 (exit $ac_status); } &&
59825 { ac_try='test -z "$ac_cxx_werror_flag"
59826 || test ! -s conftest.err'
59827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59828 (eval $ac_try) 2>&5
59829 ac_status=$?
59830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59831 (exit $ac_status); }; } &&
59832 { ac_try='test -s conftest.$ac_objext'
59833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59834 (eval $ac_try) 2>&5
59835 ac_status=$?
59836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59837 (exit $ac_status); }; }; then
59838 glibcxx_cv_func__hypotf_use=yes
59839 else
59840 echo "$as_me: failed program was:" >&5
59841 sed 's/^/| /' conftest.$ac_ext >&5
59843 glibcxx_cv_func__hypotf_use=no
59845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59846 ac_ext=c
59847 ac_cpp='$CPP $CPPFLAGS'
59848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59856 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
59857 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
59859 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59861 for ac_func in _hypotf
59863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59864 echo "$as_me:$LINENO: checking for $ac_func" >&5
59865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59866 if eval "test \"\${$as_ac_var+set}\" = set"; then
59867 echo $ECHO_N "(cached) $ECHO_C" >&6
59868 else
59869 if test x$gcc_no_link = xyes; then
59870 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59872 { (exit 1); exit 1; }; }
59874 cat >conftest.$ac_ext <<_ACEOF
59875 /* confdefs.h. */
59876 _ACEOF
59877 cat confdefs.h >>conftest.$ac_ext
59878 cat >>conftest.$ac_ext <<_ACEOF
59879 /* end confdefs.h. */
59880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59882 #define $ac_func innocuous_$ac_func
59884 /* System header to define __stub macros and hopefully few prototypes,
59885 which can conflict with char $ac_func (); below.
59886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59887 <limits.h> exists even on freestanding compilers. */
59889 #ifdef __STDC__
59890 # include <limits.h>
59891 #else
59892 # include <assert.h>
59893 #endif
59895 #undef $ac_func
59897 /* Override any gcc2 internal prototype to avoid an error. */
59898 #ifdef __cplusplus
59899 extern "C"
59901 #endif
59902 /* We use char because int might match the return type of a gcc2
59903 builtin and then its argument prototype would still apply. */
59904 char $ac_func ();
59905 /* The GNU C library defines this for functions which it implements
59906 to always fail with ENOSYS. Some functions are actually named
59907 something starting with __ and the normal name is an alias. */
59908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59909 choke me
59910 #else
59911 char (*f) () = $ac_func;
59912 #endif
59913 #ifdef __cplusplus
59915 #endif
59918 main ()
59920 return f != $ac_func;
59922 return 0;
59924 _ACEOF
59925 rm -f conftest.$ac_objext conftest$ac_exeext
59926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59927 (eval $ac_link) 2>conftest.er1
59928 ac_status=$?
59929 grep -v '^ *+' conftest.er1 >conftest.err
59930 rm -f conftest.er1
59931 cat conftest.err >&5
59932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59933 (exit $ac_status); } &&
59934 { ac_try='test -z "$ac_c_werror_flag"
59935 || test ! -s conftest.err'
59936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59937 (eval $ac_try) 2>&5
59938 ac_status=$?
59939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59940 (exit $ac_status); }; } &&
59941 { ac_try='test -s conftest$ac_exeext'
59942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59943 (eval $ac_try) 2>&5
59944 ac_status=$?
59945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59946 (exit $ac_status); }; }; then
59947 eval "$as_ac_var=yes"
59948 else
59949 echo "$as_me: failed program was:" >&5
59950 sed 's/^/| /' conftest.$ac_ext >&5
59952 eval "$as_ac_var=no"
59954 rm -f conftest.err conftest.$ac_objext \
59955 conftest$ac_exeext conftest.$ac_ext
59957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59959 if test `eval echo '${'$as_ac_var'}'` = yes; then
59960 cat >>confdefs.h <<_ACEOF
59961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59962 _ACEOF
59965 done
59975 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
59976 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
59977 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
59978 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
59979 echo $ECHO_N "(cached) $ECHO_C" >&6
59980 else
59984 ac_ext=cc
59985 ac_cpp='$CXXCPP $CPPFLAGS'
59986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59990 cat >conftest.$ac_ext <<_ACEOF
59991 /* confdefs.h. */
59992 _ACEOF
59993 cat confdefs.h >>conftest.$ac_ext
59994 cat >>conftest.$ac_ext <<_ACEOF
59995 /* end confdefs.h. */
59996 #include <math.h>
59998 main ()
60000 ldexpf(0, 0);
60002 return 0;
60004 _ACEOF
60005 rm -f conftest.$ac_objext
60006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60007 (eval $ac_compile) 2>conftest.er1
60008 ac_status=$?
60009 grep -v '^ *+' conftest.er1 >conftest.err
60010 rm -f conftest.er1
60011 cat conftest.err >&5
60012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60013 (exit $ac_status); } &&
60014 { ac_try='test -z "$ac_cxx_werror_flag"
60015 || test ! -s conftest.err'
60016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60017 (eval $ac_try) 2>&5
60018 ac_status=$?
60019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60020 (exit $ac_status); }; } &&
60021 { ac_try='test -s conftest.$ac_objext'
60022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60023 (eval $ac_try) 2>&5
60024 ac_status=$?
60025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60026 (exit $ac_status); }; }; then
60027 glibcxx_cv_func_ldexpf_use=yes
60028 else
60029 echo "$as_me: failed program was:" >&5
60030 sed 's/^/| /' conftest.$ac_ext >&5
60032 glibcxx_cv_func_ldexpf_use=no
60034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60035 ac_ext=c
60036 ac_cpp='$CPP $CPPFLAGS'
60037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60045 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
60046 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
60048 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60050 for ac_func in ldexpf
60052 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60053 echo "$as_me:$LINENO: checking for $ac_func" >&5
60054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60055 if eval "test \"\${$as_ac_var+set}\" = set"; then
60056 echo $ECHO_N "(cached) $ECHO_C" >&6
60057 else
60058 if test x$gcc_no_link = xyes; then
60059 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60061 { (exit 1); exit 1; }; }
60063 cat >conftest.$ac_ext <<_ACEOF
60064 /* confdefs.h. */
60065 _ACEOF
60066 cat confdefs.h >>conftest.$ac_ext
60067 cat >>conftest.$ac_ext <<_ACEOF
60068 /* end confdefs.h. */
60069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60071 #define $ac_func innocuous_$ac_func
60073 /* System header to define __stub macros and hopefully few prototypes,
60074 which can conflict with char $ac_func (); below.
60075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60076 <limits.h> exists even on freestanding compilers. */
60078 #ifdef __STDC__
60079 # include <limits.h>
60080 #else
60081 # include <assert.h>
60082 #endif
60084 #undef $ac_func
60086 /* Override any gcc2 internal prototype to avoid an error. */
60087 #ifdef __cplusplus
60088 extern "C"
60090 #endif
60091 /* We use char because int might match the return type of a gcc2
60092 builtin and then its argument prototype would still apply. */
60093 char $ac_func ();
60094 /* The GNU C library defines this for functions which it implements
60095 to always fail with ENOSYS. Some functions are actually named
60096 something starting with __ and the normal name is an alias. */
60097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60098 choke me
60099 #else
60100 char (*f) () = $ac_func;
60101 #endif
60102 #ifdef __cplusplus
60104 #endif
60107 main ()
60109 return f != $ac_func;
60111 return 0;
60113 _ACEOF
60114 rm -f conftest.$ac_objext conftest$ac_exeext
60115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60116 (eval $ac_link) 2>conftest.er1
60117 ac_status=$?
60118 grep -v '^ *+' conftest.er1 >conftest.err
60119 rm -f conftest.er1
60120 cat conftest.err >&5
60121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60122 (exit $ac_status); } &&
60123 { ac_try='test -z "$ac_c_werror_flag"
60124 || test ! -s conftest.err'
60125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60126 (eval $ac_try) 2>&5
60127 ac_status=$?
60128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60129 (exit $ac_status); }; } &&
60130 { ac_try='test -s conftest$ac_exeext'
60131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60132 (eval $ac_try) 2>&5
60133 ac_status=$?
60134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60135 (exit $ac_status); }; }; then
60136 eval "$as_ac_var=yes"
60137 else
60138 echo "$as_me: failed program was:" >&5
60139 sed 's/^/| /' conftest.$ac_ext >&5
60141 eval "$as_ac_var=no"
60143 rm -f conftest.err conftest.$ac_objext \
60144 conftest$ac_exeext conftest.$ac_ext
60146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60148 if test `eval echo '${'$as_ac_var'}'` = yes; then
60149 cat >>confdefs.h <<_ACEOF
60150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60151 _ACEOF
60154 done
60156 else
60158 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
60159 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
60160 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60161 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
60162 echo $ECHO_N "(cached) $ECHO_C" >&6
60163 else
60167 ac_ext=cc
60168 ac_cpp='$CXXCPP $CPPFLAGS'
60169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60173 cat >conftest.$ac_ext <<_ACEOF
60174 /* confdefs.h. */
60175 _ACEOF
60176 cat confdefs.h >>conftest.$ac_ext
60177 cat >>conftest.$ac_ext <<_ACEOF
60178 /* end confdefs.h. */
60179 #include <math.h>
60181 main ()
60183 _ldexpf(0, 0);
60185 return 0;
60187 _ACEOF
60188 rm -f conftest.$ac_objext
60189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60190 (eval $ac_compile) 2>conftest.er1
60191 ac_status=$?
60192 grep -v '^ *+' conftest.er1 >conftest.err
60193 rm -f conftest.er1
60194 cat conftest.err >&5
60195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60196 (exit $ac_status); } &&
60197 { ac_try='test -z "$ac_cxx_werror_flag"
60198 || test ! -s conftest.err'
60199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60200 (eval $ac_try) 2>&5
60201 ac_status=$?
60202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60203 (exit $ac_status); }; } &&
60204 { ac_try='test -s conftest.$ac_objext'
60205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60206 (eval $ac_try) 2>&5
60207 ac_status=$?
60208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60209 (exit $ac_status); }; }; then
60210 glibcxx_cv_func__ldexpf_use=yes
60211 else
60212 echo "$as_me: failed program was:" >&5
60213 sed 's/^/| /' conftest.$ac_ext >&5
60215 glibcxx_cv_func__ldexpf_use=no
60217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60218 ac_ext=c
60219 ac_cpp='$CPP $CPPFLAGS'
60220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60228 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
60229 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
60231 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60233 for ac_func in _ldexpf
60235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60236 echo "$as_me:$LINENO: checking for $ac_func" >&5
60237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60238 if eval "test \"\${$as_ac_var+set}\" = set"; then
60239 echo $ECHO_N "(cached) $ECHO_C" >&6
60240 else
60241 if test x$gcc_no_link = xyes; then
60242 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60244 { (exit 1); exit 1; }; }
60246 cat >conftest.$ac_ext <<_ACEOF
60247 /* confdefs.h. */
60248 _ACEOF
60249 cat confdefs.h >>conftest.$ac_ext
60250 cat >>conftest.$ac_ext <<_ACEOF
60251 /* end confdefs.h. */
60252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60254 #define $ac_func innocuous_$ac_func
60256 /* System header to define __stub macros and hopefully few prototypes,
60257 which can conflict with char $ac_func (); below.
60258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60259 <limits.h> exists even on freestanding compilers. */
60261 #ifdef __STDC__
60262 # include <limits.h>
60263 #else
60264 # include <assert.h>
60265 #endif
60267 #undef $ac_func
60269 /* Override any gcc2 internal prototype to avoid an error. */
60270 #ifdef __cplusplus
60271 extern "C"
60273 #endif
60274 /* We use char because int might match the return type of a gcc2
60275 builtin and then its argument prototype would still apply. */
60276 char $ac_func ();
60277 /* The GNU C library defines this for functions which it implements
60278 to always fail with ENOSYS. Some functions are actually named
60279 something starting with __ and the normal name is an alias. */
60280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60281 choke me
60282 #else
60283 char (*f) () = $ac_func;
60284 #endif
60285 #ifdef __cplusplus
60287 #endif
60290 main ()
60292 return f != $ac_func;
60294 return 0;
60296 _ACEOF
60297 rm -f conftest.$ac_objext conftest$ac_exeext
60298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60299 (eval $ac_link) 2>conftest.er1
60300 ac_status=$?
60301 grep -v '^ *+' conftest.er1 >conftest.err
60302 rm -f conftest.er1
60303 cat conftest.err >&5
60304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60305 (exit $ac_status); } &&
60306 { ac_try='test -z "$ac_c_werror_flag"
60307 || test ! -s conftest.err'
60308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60309 (eval $ac_try) 2>&5
60310 ac_status=$?
60311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60312 (exit $ac_status); }; } &&
60313 { ac_try='test -s conftest$ac_exeext'
60314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60315 (eval $ac_try) 2>&5
60316 ac_status=$?
60317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60318 (exit $ac_status); }; }; then
60319 eval "$as_ac_var=yes"
60320 else
60321 echo "$as_me: failed program was:" >&5
60322 sed 's/^/| /' conftest.$ac_ext >&5
60324 eval "$as_ac_var=no"
60326 rm -f conftest.err conftest.$ac_objext \
60327 conftest$ac_exeext conftest.$ac_ext
60329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60331 if test `eval echo '${'$as_ac_var'}'` = yes; then
60332 cat >>confdefs.h <<_ACEOF
60333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60334 _ACEOF
60337 done
60347 echo "$as_me:$LINENO: checking for logf declaration" >&5
60348 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
60349 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60350 if test "${glibcxx_cv_func_logf_use+set}" = set; then
60351 echo $ECHO_N "(cached) $ECHO_C" >&6
60352 else
60356 ac_ext=cc
60357 ac_cpp='$CXXCPP $CPPFLAGS'
60358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60362 cat >conftest.$ac_ext <<_ACEOF
60363 /* confdefs.h. */
60364 _ACEOF
60365 cat confdefs.h >>conftest.$ac_ext
60366 cat >>conftest.$ac_ext <<_ACEOF
60367 /* end confdefs.h. */
60368 #include <math.h>
60369 #ifdef HAVE_IEEEFP_H
60370 #include <ieeefp.h>
60371 #endif
60374 main ()
60376 logf(0);
60378 return 0;
60380 _ACEOF
60381 rm -f conftest.$ac_objext
60382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60383 (eval $ac_compile) 2>conftest.er1
60384 ac_status=$?
60385 grep -v '^ *+' conftest.er1 >conftest.err
60386 rm -f conftest.er1
60387 cat conftest.err >&5
60388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60389 (exit $ac_status); } &&
60390 { ac_try='test -z "$ac_cxx_werror_flag"
60391 || test ! -s conftest.err'
60392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60393 (eval $ac_try) 2>&5
60394 ac_status=$?
60395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60396 (exit $ac_status); }; } &&
60397 { ac_try='test -s conftest.$ac_objext'
60398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60399 (eval $ac_try) 2>&5
60400 ac_status=$?
60401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60402 (exit $ac_status); }; }; then
60403 glibcxx_cv_func_logf_use=yes
60404 else
60405 echo "$as_me: failed program was:" >&5
60406 sed 's/^/| /' conftest.$ac_ext >&5
60408 glibcxx_cv_func_logf_use=no
60410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60411 ac_ext=c
60412 ac_cpp='$CPP $CPPFLAGS'
60413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60421 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
60422 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
60424 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60426 for ac_func in logf
60428 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60429 echo "$as_me:$LINENO: checking for $ac_func" >&5
60430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60431 if eval "test \"\${$as_ac_var+set}\" = set"; then
60432 echo $ECHO_N "(cached) $ECHO_C" >&6
60433 else
60434 if test x$gcc_no_link = xyes; then
60435 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60437 { (exit 1); exit 1; }; }
60439 cat >conftest.$ac_ext <<_ACEOF
60440 /* confdefs.h. */
60441 _ACEOF
60442 cat confdefs.h >>conftest.$ac_ext
60443 cat >>conftest.$ac_ext <<_ACEOF
60444 /* end confdefs.h. */
60445 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60447 #define $ac_func innocuous_$ac_func
60449 /* System header to define __stub macros and hopefully few prototypes,
60450 which can conflict with char $ac_func (); below.
60451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60452 <limits.h> exists even on freestanding compilers. */
60454 #ifdef __STDC__
60455 # include <limits.h>
60456 #else
60457 # include <assert.h>
60458 #endif
60460 #undef $ac_func
60462 /* Override any gcc2 internal prototype to avoid an error. */
60463 #ifdef __cplusplus
60464 extern "C"
60466 #endif
60467 /* We use char because int might match the return type of a gcc2
60468 builtin and then its argument prototype would still apply. */
60469 char $ac_func ();
60470 /* The GNU C library defines this for functions which it implements
60471 to always fail with ENOSYS. Some functions are actually named
60472 something starting with __ and the normal name is an alias. */
60473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60474 choke me
60475 #else
60476 char (*f) () = $ac_func;
60477 #endif
60478 #ifdef __cplusplus
60480 #endif
60483 main ()
60485 return f != $ac_func;
60487 return 0;
60489 _ACEOF
60490 rm -f conftest.$ac_objext conftest$ac_exeext
60491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60492 (eval $ac_link) 2>conftest.er1
60493 ac_status=$?
60494 grep -v '^ *+' conftest.er1 >conftest.err
60495 rm -f conftest.er1
60496 cat conftest.err >&5
60497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60498 (exit $ac_status); } &&
60499 { ac_try='test -z "$ac_c_werror_flag"
60500 || test ! -s conftest.err'
60501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60502 (eval $ac_try) 2>&5
60503 ac_status=$?
60504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60505 (exit $ac_status); }; } &&
60506 { ac_try='test -s conftest$ac_exeext'
60507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60508 (eval $ac_try) 2>&5
60509 ac_status=$?
60510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60511 (exit $ac_status); }; }; then
60512 eval "$as_ac_var=yes"
60513 else
60514 echo "$as_me: failed program was:" >&5
60515 sed 's/^/| /' conftest.$ac_ext >&5
60517 eval "$as_ac_var=no"
60519 rm -f conftest.err conftest.$ac_objext \
60520 conftest$ac_exeext conftest.$ac_ext
60522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60523 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60524 if test `eval echo '${'$as_ac_var'}'` = yes; then
60525 cat >>confdefs.h <<_ACEOF
60526 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60527 _ACEOF
60530 done
60532 else
60534 echo "$as_me:$LINENO: checking for _logf declaration" >&5
60535 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
60536 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60537 if test "${glibcxx_cv_func__logf_use+set}" = set; then
60538 echo $ECHO_N "(cached) $ECHO_C" >&6
60539 else
60543 ac_ext=cc
60544 ac_cpp='$CXXCPP $CPPFLAGS'
60545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60549 cat >conftest.$ac_ext <<_ACEOF
60550 /* confdefs.h. */
60551 _ACEOF
60552 cat confdefs.h >>conftest.$ac_ext
60553 cat >>conftest.$ac_ext <<_ACEOF
60554 /* end confdefs.h. */
60555 #include <math.h>
60556 #ifdef HAVE_IEEEFP_H
60557 #include <ieeefp.h>
60558 #endif
60561 main ()
60563 _logf(0);
60565 return 0;
60567 _ACEOF
60568 rm -f conftest.$ac_objext
60569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60570 (eval $ac_compile) 2>conftest.er1
60571 ac_status=$?
60572 grep -v '^ *+' conftest.er1 >conftest.err
60573 rm -f conftest.er1
60574 cat conftest.err >&5
60575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60576 (exit $ac_status); } &&
60577 { ac_try='test -z "$ac_cxx_werror_flag"
60578 || test ! -s conftest.err'
60579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60580 (eval $ac_try) 2>&5
60581 ac_status=$?
60582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60583 (exit $ac_status); }; } &&
60584 { ac_try='test -s conftest.$ac_objext'
60585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60586 (eval $ac_try) 2>&5
60587 ac_status=$?
60588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60589 (exit $ac_status); }; }; then
60590 glibcxx_cv_func__logf_use=yes
60591 else
60592 echo "$as_me: failed program was:" >&5
60593 sed 's/^/| /' conftest.$ac_ext >&5
60595 glibcxx_cv_func__logf_use=no
60597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60598 ac_ext=c
60599 ac_cpp='$CPP $CPPFLAGS'
60600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60608 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
60609 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
60611 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60613 for ac_func in _logf
60615 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60616 echo "$as_me:$LINENO: checking for $ac_func" >&5
60617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60618 if eval "test \"\${$as_ac_var+set}\" = set"; then
60619 echo $ECHO_N "(cached) $ECHO_C" >&6
60620 else
60621 if test x$gcc_no_link = xyes; then
60622 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60624 { (exit 1); exit 1; }; }
60626 cat >conftest.$ac_ext <<_ACEOF
60627 /* confdefs.h. */
60628 _ACEOF
60629 cat confdefs.h >>conftest.$ac_ext
60630 cat >>conftest.$ac_ext <<_ACEOF
60631 /* end confdefs.h. */
60632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60634 #define $ac_func innocuous_$ac_func
60636 /* System header to define __stub macros and hopefully few prototypes,
60637 which can conflict with char $ac_func (); below.
60638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60639 <limits.h> exists even on freestanding compilers. */
60641 #ifdef __STDC__
60642 # include <limits.h>
60643 #else
60644 # include <assert.h>
60645 #endif
60647 #undef $ac_func
60649 /* Override any gcc2 internal prototype to avoid an error. */
60650 #ifdef __cplusplus
60651 extern "C"
60653 #endif
60654 /* We use char because int might match the return type of a gcc2
60655 builtin and then its argument prototype would still apply. */
60656 char $ac_func ();
60657 /* The GNU C library defines this for functions which it implements
60658 to always fail with ENOSYS. Some functions are actually named
60659 something starting with __ and the normal name is an alias. */
60660 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60661 choke me
60662 #else
60663 char (*f) () = $ac_func;
60664 #endif
60665 #ifdef __cplusplus
60667 #endif
60670 main ()
60672 return f != $ac_func;
60674 return 0;
60676 _ACEOF
60677 rm -f conftest.$ac_objext conftest$ac_exeext
60678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60679 (eval $ac_link) 2>conftest.er1
60680 ac_status=$?
60681 grep -v '^ *+' conftest.er1 >conftest.err
60682 rm -f conftest.er1
60683 cat conftest.err >&5
60684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60685 (exit $ac_status); } &&
60686 { ac_try='test -z "$ac_c_werror_flag"
60687 || test ! -s conftest.err'
60688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60689 (eval $ac_try) 2>&5
60690 ac_status=$?
60691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60692 (exit $ac_status); }; } &&
60693 { ac_try='test -s conftest$ac_exeext'
60694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60695 (eval $ac_try) 2>&5
60696 ac_status=$?
60697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60698 (exit $ac_status); }; }; then
60699 eval "$as_ac_var=yes"
60700 else
60701 echo "$as_me: failed program was:" >&5
60702 sed 's/^/| /' conftest.$ac_ext >&5
60704 eval "$as_ac_var=no"
60706 rm -f conftest.err conftest.$ac_objext \
60707 conftest$ac_exeext conftest.$ac_ext
60709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60710 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60711 if test `eval echo '${'$as_ac_var'}'` = yes; then
60712 cat >>confdefs.h <<_ACEOF
60713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60714 _ACEOF
60717 done
60727 echo "$as_me:$LINENO: checking for log10f declaration" >&5
60728 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
60729 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60730 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
60731 echo $ECHO_N "(cached) $ECHO_C" >&6
60732 else
60736 ac_ext=cc
60737 ac_cpp='$CXXCPP $CPPFLAGS'
60738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60742 cat >conftest.$ac_ext <<_ACEOF
60743 /* confdefs.h. */
60744 _ACEOF
60745 cat confdefs.h >>conftest.$ac_ext
60746 cat >>conftest.$ac_ext <<_ACEOF
60747 /* end confdefs.h. */
60748 #include <math.h>
60749 #ifdef HAVE_IEEEFP_H
60750 #include <ieeefp.h>
60751 #endif
60754 main ()
60756 log10f(0);
60758 return 0;
60760 _ACEOF
60761 rm -f conftest.$ac_objext
60762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60763 (eval $ac_compile) 2>conftest.er1
60764 ac_status=$?
60765 grep -v '^ *+' conftest.er1 >conftest.err
60766 rm -f conftest.er1
60767 cat conftest.err >&5
60768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60769 (exit $ac_status); } &&
60770 { ac_try='test -z "$ac_cxx_werror_flag"
60771 || test ! -s conftest.err'
60772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60773 (eval $ac_try) 2>&5
60774 ac_status=$?
60775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60776 (exit $ac_status); }; } &&
60777 { ac_try='test -s conftest.$ac_objext'
60778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60779 (eval $ac_try) 2>&5
60780 ac_status=$?
60781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60782 (exit $ac_status); }; }; then
60783 glibcxx_cv_func_log10f_use=yes
60784 else
60785 echo "$as_me: failed program was:" >&5
60786 sed 's/^/| /' conftest.$ac_ext >&5
60788 glibcxx_cv_func_log10f_use=no
60790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60791 ac_ext=c
60792 ac_cpp='$CPP $CPPFLAGS'
60793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60801 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
60802 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
60804 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60806 for ac_func in log10f
60808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60809 echo "$as_me:$LINENO: checking for $ac_func" >&5
60810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60811 if eval "test \"\${$as_ac_var+set}\" = set"; then
60812 echo $ECHO_N "(cached) $ECHO_C" >&6
60813 else
60814 if test x$gcc_no_link = xyes; then
60815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60817 { (exit 1); exit 1; }; }
60819 cat >conftest.$ac_ext <<_ACEOF
60820 /* confdefs.h. */
60821 _ACEOF
60822 cat confdefs.h >>conftest.$ac_ext
60823 cat >>conftest.$ac_ext <<_ACEOF
60824 /* end confdefs.h. */
60825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60827 #define $ac_func innocuous_$ac_func
60829 /* System header to define __stub macros and hopefully few prototypes,
60830 which can conflict with char $ac_func (); below.
60831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60832 <limits.h> exists even on freestanding compilers. */
60834 #ifdef __STDC__
60835 # include <limits.h>
60836 #else
60837 # include <assert.h>
60838 #endif
60840 #undef $ac_func
60842 /* Override any gcc2 internal prototype to avoid an error. */
60843 #ifdef __cplusplus
60844 extern "C"
60846 #endif
60847 /* We use char because int might match the return type of a gcc2
60848 builtin and then its argument prototype would still apply. */
60849 char $ac_func ();
60850 /* The GNU C library defines this for functions which it implements
60851 to always fail with ENOSYS. Some functions are actually named
60852 something starting with __ and the normal name is an alias. */
60853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60854 choke me
60855 #else
60856 char (*f) () = $ac_func;
60857 #endif
60858 #ifdef __cplusplus
60860 #endif
60863 main ()
60865 return f != $ac_func;
60867 return 0;
60869 _ACEOF
60870 rm -f conftest.$ac_objext conftest$ac_exeext
60871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60872 (eval $ac_link) 2>conftest.er1
60873 ac_status=$?
60874 grep -v '^ *+' conftest.er1 >conftest.err
60875 rm -f conftest.er1
60876 cat conftest.err >&5
60877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60878 (exit $ac_status); } &&
60879 { ac_try='test -z "$ac_c_werror_flag"
60880 || test ! -s conftest.err'
60881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60882 (eval $ac_try) 2>&5
60883 ac_status=$?
60884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60885 (exit $ac_status); }; } &&
60886 { ac_try='test -s conftest$ac_exeext'
60887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60888 (eval $ac_try) 2>&5
60889 ac_status=$?
60890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60891 (exit $ac_status); }; }; then
60892 eval "$as_ac_var=yes"
60893 else
60894 echo "$as_me: failed program was:" >&5
60895 sed 's/^/| /' conftest.$ac_ext >&5
60897 eval "$as_ac_var=no"
60899 rm -f conftest.err conftest.$ac_objext \
60900 conftest$ac_exeext conftest.$ac_ext
60902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60904 if test `eval echo '${'$as_ac_var'}'` = yes; then
60905 cat >>confdefs.h <<_ACEOF
60906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60907 _ACEOF
60910 done
60912 else
60914 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
60915 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
60916 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60917 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
60918 echo $ECHO_N "(cached) $ECHO_C" >&6
60919 else
60923 ac_ext=cc
60924 ac_cpp='$CXXCPP $CPPFLAGS'
60925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60929 cat >conftest.$ac_ext <<_ACEOF
60930 /* confdefs.h. */
60931 _ACEOF
60932 cat confdefs.h >>conftest.$ac_ext
60933 cat >>conftest.$ac_ext <<_ACEOF
60934 /* end confdefs.h. */
60935 #include <math.h>
60936 #ifdef HAVE_IEEEFP_H
60937 #include <ieeefp.h>
60938 #endif
60941 main ()
60943 _log10f(0);
60945 return 0;
60947 _ACEOF
60948 rm -f conftest.$ac_objext
60949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60950 (eval $ac_compile) 2>conftest.er1
60951 ac_status=$?
60952 grep -v '^ *+' conftest.er1 >conftest.err
60953 rm -f conftest.er1
60954 cat conftest.err >&5
60955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60956 (exit $ac_status); } &&
60957 { ac_try='test -z "$ac_cxx_werror_flag"
60958 || test ! -s conftest.err'
60959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60960 (eval $ac_try) 2>&5
60961 ac_status=$?
60962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60963 (exit $ac_status); }; } &&
60964 { ac_try='test -s conftest.$ac_objext'
60965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60966 (eval $ac_try) 2>&5
60967 ac_status=$?
60968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60969 (exit $ac_status); }; }; then
60970 glibcxx_cv_func__log10f_use=yes
60971 else
60972 echo "$as_me: failed program was:" >&5
60973 sed 's/^/| /' conftest.$ac_ext >&5
60975 glibcxx_cv_func__log10f_use=no
60977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60978 ac_ext=c
60979 ac_cpp='$CPP $CPPFLAGS'
60980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60988 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
60989 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
60991 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60993 for ac_func in _log10f
60995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60996 echo "$as_me:$LINENO: checking for $ac_func" >&5
60997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60998 if eval "test \"\${$as_ac_var+set}\" = set"; then
60999 echo $ECHO_N "(cached) $ECHO_C" >&6
61000 else
61001 if test x$gcc_no_link = xyes; then
61002 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61004 { (exit 1); exit 1; }; }
61006 cat >conftest.$ac_ext <<_ACEOF
61007 /* confdefs.h. */
61008 _ACEOF
61009 cat confdefs.h >>conftest.$ac_ext
61010 cat >>conftest.$ac_ext <<_ACEOF
61011 /* end confdefs.h. */
61012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61014 #define $ac_func innocuous_$ac_func
61016 /* System header to define __stub macros and hopefully few prototypes,
61017 which can conflict with char $ac_func (); below.
61018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61019 <limits.h> exists even on freestanding compilers. */
61021 #ifdef __STDC__
61022 # include <limits.h>
61023 #else
61024 # include <assert.h>
61025 #endif
61027 #undef $ac_func
61029 /* Override any gcc2 internal prototype to avoid an error. */
61030 #ifdef __cplusplus
61031 extern "C"
61033 #endif
61034 /* We use char because int might match the return type of a gcc2
61035 builtin and then its argument prototype would still apply. */
61036 char $ac_func ();
61037 /* The GNU C library defines this for functions which it implements
61038 to always fail with ENOSYS. Some functions are actually named
61039 something starting with __ and the normal name is an alias. */
61040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61041 choke me
61042 #else
61043 char (*f) () = $ac_func;
61044 #endif
61045 #ifdef __cplusplus
61047 #endif
61050 main ()
61052 return f != $ac_func;
61054 return 0;
61056 _ACEOF
61057 rm -f conftest.$ac_objext conftest$ac_exeext
61058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61059 (eval $ac_link) 2>conftest.er1
61060 ac_status=$?
61061 grep -v '^ *+' conftest.er1 >conftest.err
61062 rm -f conftest.er1
61063 cat conftest.err >&5
61064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61065 (exit $ac_status); } &&
61066 { ac_try='test -z "$ac_c_werror_flag"
61067 || test ! -s conftest.err'
61068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61069 (eval $ac_try) 2>&5
61070 ac_status=$?
61071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61072 (exit $ac_status); }; } &&
61073 { ac_try='test -s conftest$ac_exeext'
61074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61075 (eval $ac_try) 2>&5
61076 ac_status=$?
61077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61078 (exit $ac_status); }; }; then
61079 eval "$as_ac_var=yes"
61080 else
61081 echo "$as_me: failed program was:" >&5
61082 sed 's/^/| /' conftest.$ac_ext >&5
61084 eval "$as_ac_var=no"
61086 rm -f conftest.err conftest.$ac_objext \
61087 conftest$ac_exeext conftest.$ac_ext
61089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61091 if test `eval echo '${'$as_ac_var'}'` = yes; then
61092 cat >>confdefs.h <<_ACEOF
61093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61094 _ACEOF
61097 done
61107 echo "$as_me:$LINENO: checking for modff declaration" >&5
61108 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
61109 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61110 if test "${glibcxx_cv_func_modff_use+set}" = set; then
61111 echo $ECHO_N "(cached) $ECHO_C" >&6
61112 else
61116 ac_ext=cc
61117 ac_cpp='$CXXCPP $CPPFLAGS'
61118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61122 cat >conftest.$ac_ext <<_ACEOF
61123 /* confdefs.h. */
61124 _ACEOF
61125 cat confdefs.h >>conftest.$ac_ext
61126 cat >>conftest.$ac_ext <<_ACEOF
61127 /* end confdefs.h. */
61128 #include <math.h>
61130 main ()
61132 modff(0, 0);
61134 return 0;
61136 _ACEOF
61137 rm -f conftest.$ac_objext
61138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61139 (eval $ac_compile) 2>conftest.er1
61140 ac_status=$?
61141 grep -v '^ *+' conftest.er1 >conftest.err
61142 rm -f conftest.er1
61143 cat conftest.err >&5
61144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61145 (exit $ac_status); } &&
61146 { ac_try='test -z "$ac_cxx_werror_flag"
61147 || test ! -s conftest.err'
61148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61149 (eval $ac_try) 2>&5
61150 ac_status=$?
61151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61152 (exit $ac_status); }; } &&
61153 { ac_try='test -s conftest.$ac_objext'
61154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61155 (eval $ac_try) 2>&5
61156 ac_status=$?
61157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61158 (exit $ac_status); }; }; then
61159 glibcxx_cv_func_modff_use=yes
61160 else
61161 echo "$as_me: failed program was:" >&5
61162 sed 's/^/| /' conftest.$ac_ext >&5
61164 glibcxx_cv_func_modff_use=no
61166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61167 ac_ext=c
61168 ac_cpp='$CPP $CPPFLAGS'
61169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61177 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
61178 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
61180 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61182 for ac_func in modff
61184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61185 echo "$as_me:$LINENO: checking for $ac_func" >&5
61186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61187 if eval "test \"\${$as_ac_var+set}\" = set"; then
61188 echo $ECHO_N "(cached) $ECHO_C" >&6
61189 else
61190 if test x$gcc_no_link = xyes; then
61191 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61193 { (exit 1); exit 1; }; }
61195 cat >conftest.$ac_ext <<_ACEOF
61196 /* confdefs.h. */
61197 _ACEOF
61198 cat confdefs.h >>conftest.$ac_ext
61199 cat >>conftest.$ac_ext <<_ACEOF
61200 /* end confdefs.h. */
61201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61203 #define $ac_func innocuous_$ac_func
61205 /* System header to define __stub macros and hopefully few prototypes,
61206 which can conflict with char $ac_func (); below.
61207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61208 <limits.h> exists even on freestanding compilers. */
61210 #ifdef __STDC__
61211 # include <limits.h>
61212 #else
61213 # include <assert.h>
61214 #endif
61216 #undef $ac_func
61218 /* Override any gcc2 internal prototype to avoid an error. */
61219 #ifdef __cplusplus
61220 extern "C"
61222 #endif
61223 /* We use char because int might match the return type of a gcc2
61224 builtin and then its argument prototype would still apply. */
61225 char $ac_func ();
61226 /* The GNU C library defines this for functions which it implements
61227 to always fail with ENOSYS. Some functions are actually named
61228 something starting with __ and the normal name is an alias. */
61229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61230 choke me
61231 #else
61232 char (*f) () = $ac_func;
61233 #endif
61234 #ifdef __cplusplus
61236 #endif
61239 main ()
61241 return f != $ac_func;
61243 return 0;
61245 _ACEOF
61246 rm -f conftest.$ac_objext conftest$ac_exeext
61247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61248 (eval $ac_link) 2>conftest.er1
61249 ac_status=$?
61250 grep -v '^ *+' conftest.er1 >conftest.err
61251 rm -f conftest.er1
61252 cat conftest.err >&5
61253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61254 (exit $ac_status); } &&
61255 { ac_try='test -z "$ac_c_werror_flag"
61256 || test ! -s conftest.err'
61257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61258 (eval $ac_try) 2>&5
61259 ac_status=$?
61260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61261 (exit $ac_status); }; } &&
61262 { ac_try='test -s conftest$ac_exeext'
61263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61264 (eval $ac_try) 2>&5
61265 ac_status=$?
61266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61267 (exit $ac_status); }; }; then
61268 eval "$as_ac_var=yes"
61269 else
61270 echo "$as_me: failed program was:" >&5
61271 sed 's/^/| /' conftest.$ac_ext >&5
61273 eval "$as_ac_var=no"
61275 rm -f conftest.err conftest.$ac_objext \
61276 conftest$ac_exeext conftest.$ac_ext
61278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61280 if test `eval echo '${'$as_ac_var'}'` = yes; then
61281 cat >>confdefs.h <<_ACEOF
61282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61283 _ACEOF
61286 done
61288 else
61290 echo "$as_me:$LINENO: checking for _modff declaration" >&5
61291 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
61292 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61293 if test "${glibcxx_cv_func__modff_use+set}" = set; then
61294 echo $ECHO_N "(cached) $ECHO_C" >&6
61295 else
61299 ac_ext=cc
61300 ac_cpp='$CXXCPP $CPPFLAGS'
61301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61305 cat >conftest.$ac_ext <<_ACEOF
61306 /* confdefs.h. */
61307 _ACEOF
61308 cat confdefs.h >>conftest.$ac_ext
61309 cat >>conftest.$ac_ext <<_ACEOF
61310 /* end confdefs.h. */
61311 #include <math.h>
61313 main ()
61315 _modff(0, 0);
61317 return 0;
61319 _ACEOF
61320 rm -f conftest.$ac_objext
61321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61322 (eval $ac_compile) 2>conftest.er1
61323 ac_status=$?
61324 grep -v '^ *+' conftest.er1 >conftest.err
61325 rm -f conftest.er1
61326 cat conftest.err >&5
61327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61328 (exit $ac_status); } &&
61329 { ac_try='test -z "$ac_cxx_werror_flag"
61330 || test ! -s conftest.err'
61331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61332 (eval $ac_try) 2>&5
61333 ac_status=$?
61334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61335 (exit $ac_status); }; } &&
61336 { ac_try='test -s conftest.$ac_objext'
61337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61338 (eval $ac_try) 2>&5
61339 ac_status=$?
61340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61341 (exit $ac_status); }; }; then
61342 glibcxx_cv_func__modff_use=yes
61343 else
61344 echo "$as_me: failed program was:" >&5
61345 sed 's/^/| /' conftest.$ac_ext >&5
61347 glibcxx_cv_func__modff_use=no
61349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61350 ac_ext=c
61351 ac_cpp='$CPP $CPPFLAGS'
61352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61360 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
61361 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
61363 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61365 for ac_func in _modff
61367 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61368 echo "$as_me:$LINENO: checking for $ac_func" >&5
61369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61370 if eval "test \"\${$as_ac_var+set}\" = set"; then
61371 echo $ECHO_N "(cached) $ECHO_C" >&6
61372 else
61373 if test x$gcc_no_link = xyes; then
61374 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61376 { (exit 1); exit 1; }; }
61378 cat >conftest.$ac_ext <<_ACEOF
61379 /* confdefs.h. */
61380 _ACEOF
61381 cat confdefs.h >>conftest.$ac_ext
61382 cat >>conftest.$ac_ext <<_ACEOF
61383 /* end confdefs.h. */
61384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61386 #define $ac_func innocuous_$ac_func
61388 /* System header to define __stub macros and hopefully few prototypes,
61389 which can conflict with char $ac_func (); below.
61390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61391 <limits.h> exists even on freestanding compilers. */
61393 #ifdef __STDC__
61394 # include <limits.h>
61395 #else
61396 # include <assert.h>
61397 #endif
61399 #undef $ac_func
61401 /* Override any gcc2 internal prototype to avoid an error. */
61402 #ifdef __cplusplus
61403 extern "C"
61405 #endif
61406 /* We use char because int might match the return type of a gcc2
61407 builtin and then its argument prototype would still apply. */
61408 char $ac_func ();
61409 /* The GNU C library defines this for functions which it implements
61410 to always fail with ENOSYS. Some functions are actually named
61411 something starting with __ and the normal name is an alias. */
61412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61413 choke me
61414 #else
61415 char (*f) () = $ac_func;
61416 #endif
61417 #ifdef __cplusplus
61419 #endif
61422 main ()
61424 return f != $ac_func;
61426 return 0;
61428 _ACEOF
61429 rm -f conftest.$ac_objext conftest$ac_exeext
61430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61431 (eval $ac_link) 2>conftest.er1
61432 ac_status=$?
61433 grep -v '^ *+' conftest.er1 >conftest.err
61434 rm -f conftest.er1
61435 cat conftest.err >&5
61436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61437 (exit $ac_status); } &&
61438 { ac_try='test -z "$ac_c_werror_flag"
61439 || test ! -s conftest.err'
61440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61441 (eval $ac_try) 2>&5
61442 ac_status=$?
61443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61444 (exit $ac_status); }; } &&
61445 { ac_try='test -s conftest$ac_exeext'
61446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61447 (eval $ac_try) 2>&5
61448 ac_status=$?
61449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61450 (exit $ac_status); }; }; then
61451 eval "$as_ac_var=yes"
61452 else
61453 echo "$as_me: failed program was:" >&5
61454 sed 's/^/| /' conftest.$ac_ext >&5
61456 eval "$as_ac_var=no"
61458 rm -f conftest.err conftest.$ac_objext \
61459 conftest$ac_exeext conftest.$ac_ext
61461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61463 if test `eval echo '${'$as_ac_var'}'` = yes; then
61464 cat >>confdefs.h <<_ACEOF
61465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61466 _ACEOF
61469 done
61479 echo "$as_me:$LINENO: checking for modf declaration" >&5
61480 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
61481 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61482 if test "${glibcxx_cv_func_modf_use+set}" = set; then
61483 echo $ECHO_N "(cached) $ECHO_C" >&6
61484 else
61488 ac_ext=cc
61489 ac_cpp='$CXXCPP $CPPFLAGS'
61490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61494 cat >conftest.$ac_ext <<_ACEOF
61495 /* confdefs.h. */
61496 _ACEOF
61497 cat confdefs.h >>conftest.$ac_ext
61498 cat >>conftest.$ac_ext <<_ACEOF
61499 /* end confdefs.h. */
61500 #include <math.h>
61502 main ()
61504 modf(0, 0);
61506 return 0;
61508 _ACEOF
61509 rm -f conftest.$ac_objext
61510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61511 (eval $ac_compile) 2>conftest.er1
61512 ac_status=$?
61513 grep -v '^ *+' conftest.er1 >conftest.err
61514 rm -f conftest.er1
61515 cat conftest.err >&5
61516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61517 (exit $ac_status); } &&
61518 { ac_try='test -z "$ac_cxx_werror_flag"
61519 || test ! -s conftest.err'
61520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61521 (eval $ac_try) 2>&5
61522 ac_status=$?
61523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61524 (exit $ac_status); }; } &&
61525 { ac_try='test -s conftest.$ac_objext'
61526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61527 (eval $ac_try) 2>&5
61528 ac_status=$?
61529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61530 (exit $ac_status); }; }; then
61531 glibcxx_cv_func_modf_use=yes
61532 else
61533 echo "$as_me: failed program was:" >&5
61534 sed 's/^/| /' conftest.$ac_ext >&5
61536 glibcxx_cv_func_modf_use=no
61538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61539 ac_ext=c
61540 ac_cpp='$CPP $CPPFLAGS'
61541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61549 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
61550 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
61552 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61554 for ac_func in modf
61556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61557 echo "$as_me:$LINENO: checking for $ac_func" >&5
61558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61559 if eval "test \"\${$as_ac_var+set}\" = set"; then
61560 echo $ECHO_N "(cached) $ECHO_C" >&6
61561 else
61562 if test x$gcc_no_link = xyes; then
61563 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61565 { (exit 1); exit 1; }; }
61567 cat >conftest.$ac_ext <<_ACEOF
61568 /* confdefs.h. */
61569 _ACEOF
61570 cat confdefs.h >>conftest.$ac_ext
61571 cat >>conftest.$ac_ext <<_ACEOF
61572 /* end confdefs.h. */
61573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61575 #define $ac_func innocuous_$ac_func
61577 /* System header to define __stub macros and hopefully few prototypes,
61578 which can conflict with char $ac_func (); below.
61579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61580 <limits.h> exists even on freestanding compilers. */
61582 #ifdef __STDC__
61583 # include <limits.h>
61584 #else
61585 # include <assert.h>
61586 #endif
61588 #undef $ac_func
61590 /* Override any gcc2 internal prototype to avoid an error. */
61591 #ifdef __cplusplus
61592 extern "C"
61594 #endif
61595 /* We use char because int might match the return type of a gcc2
61596 builtin and then its argument prototype would still apply. */
61597 char $ac_func ();
61598 /* The GNU C library defines this for functions which it implements
61599 to always fail with ENOSYS. Some functions are actually named
61600 something starting with __ and the normal name is an alias. */
61601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61602 choke me
61603 #else
61604 char (*f) () = $ac_func;
61605 #endif
61606 #ifdef __cplusplus
61608 #endif
61611 main ()
61613 return f != $ac_func;
61615 return 0;
61617 _ACEOF
61618 rm -f conftest.$ac_objext conftest$ac_exeext
61619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61620 (eval $ac_link) 2>conftest.er1
61621 ac_status=$?
61622 grep -v '^ *+' conftest.er1 >conftest.err
61623 rm -f conftest.er1
61624 cat conftest.err >&5
61625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61626 (exit $ac_status); } &&
61627 { ac_try='test -z "$ac_c_werror_flag"
61628 || test ! -s conftest.err'
61629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61630 (eval $ac_try) 2>&5
61631 ac_status=$?
61632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61633 (exit $ac_status); }; } &&
61634 { ac_try='test -s conftest$ac_exeext'
61635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61636 (eval $ac_try) 2>&5
61637 ac_status=$?
61638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61639 (exit $ac_status); }; }; then
61640 eval "$as_ac_var=yes"
61641 else
61642 echo "$as_me: failed program was:" >&5
61643 sed 's/^/| /' conftest.$ac_ext >&5
61645 eval "$as_ac_var=no"
61647 rm -f conftest.err conftest.$ac_objext \
61648 conftest$ac_exeext conftest.$ac_ext
61650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61652 if test `eval echo '${'$as_ac_var'}'` = yes; then
61653 cat >>confdefs.h <<_ACEOF
61654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61655 _ACEOF
61658 done
61660 else
61662 echo "$as_me:$LINENO: checking for _modf declaration" >&5
61663 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
61664 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61665 if test "${glibcxx_cv_func__modf_use+set}" = set; then
61666 echo $ECHO_N "(cached) $ECHO_C" >&6
61667 else
61671 ac_ext=cc
61672 ac_cpp='$CXXCPP $CPPFLAGS'
61673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61677 cat >conftest.$ac_ext <<_ACEOF
61678 /* confdefs.h. */
61679 _ACEOF
61680 cat confdefs.h >>conftest.$ac_ext
61681 cat >>conftest.$ac_ext <<_ACEOF
61682 /* end confdefs.h. */
61683 #include <math.h>
61685 main ()
61687 _modf(0, 0);
61689 return 0;
61691 _ACEOF
61692 rm -f conftest.$ac_objext
61693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61694 (eval $ac_compile) 2>conftest.er1
61695 ac_status=$?
61696 grep -v '^ *+' conftest.er1 >conftest.err
61697 rm -f conftest.er1
61698 cat conftest.err >&5
61699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61700 (exit $ac_status); } &&
61701 { ac_try='test -z "$ac_cxx_werror_flag"
61702 || test ! -s conftest.err'
61703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61704 (eval $ac_try) 2>&5
61705 ac_status=$?
61706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61707 (exit $ac_status); }; } &&
61708 { ac_try='test -s conftest.$ac_objext'
61709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61710 (eval $ac_try) 2>&5
61711 ac_status=$?
61712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61713 (exit $ac_status); }; }; then
61714 glibcxx_cv_func__modf_use=yes
61715 else
61716 echo "$as_me: failed program was:" >&5
61717 sed 's/^/| /' conftest.$ac_ext >&5
61719 glibcxx_cv_func__modf_use=no
61721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61722 ac_ext=c
61723 ac_cpp='$CPP $CPPFLAGS'
61724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61732 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
61733 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
61735 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61737 for ac_func in _modf
61739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61740 echo "$as_me:$LINENO: checking for $ac_func" >&5
61741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61742 if eval "test \"\${$as_ac_var+set}\" = set"; then
61743 echo $ECHO_N "(cached) $ECHO_C" >&6
61744 else
61745 if test x$gcc_no_link = xyes; then
61746 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61748 { (exit 1); exit 1; }; }
61750 cat >conftest.$ac_ext <<_ACEOF
61751 /* confdefs.h. */
61752 _ACEOF
61753 cat confdefs.h >>conftest.$ac_ext
61754 cat >>conftest.$ac_ext <<_ACEOF
61755 /* end confdefs.h. */
61756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61758 #define $ac_func innocuous_$ac_func
61760 /* System header to define __stub macros and hopefully few prototypes,
61761 which can conflict with char $ac_func (); below.
61762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61763 <limits.h> exists even on freestanding compilers. */
61765 #ifdef __STDC__
61766 # include <limits.h>
61767 #else
61768 # include <assert.h>
61769 #endif
61771 #undef $ac_func
61773 /* Override any gcc2 internal prototype to avoid an error. */
61774 #ifdef __cplusplus
61775 extern "C"
61777 #endif
61778 /* We use char because int might match the return type of a gcc2
61779 builtin and then its argument prototype would still apply. */
61780 char $ac_func ();
61781 /* The GNU C library defines this for functions which it implements
61782 to always fail with ENOSYS. Some functions are actually named
61783 something starting with __ and the normal name is an alias. */
61784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61785 choke me
61786 #else
61787 char (*f) () = $ac_func;
61788 #endif
61789 #ifdef __cplusplus
61791 #endif
61794 main ()
61796 return f != $ac_func;
61798 return 0;
61800 _ACEOF
61801 rm -f conftest.$ac_objext conftest$ac_exeext
61802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61803 (eval $ac_link) 2>conftest.er1
61804 ac_status=$?
61805 grep -v '^ *+' conftest.er1 >conftest.err
61806 rm -f conftest.er1
61807 cat conftest.err >&5
61808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61809 (exit $ac_status); } &&
61810 { ac_try='test -z "$ac_c_werror_flag"
61811 || test ! -s conftest.err'
61812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61813 (eval $ac_try) 2>&5
61814 ac_status=$?
61815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61816 (exit $ac_status); }; } &&
61817 { ac_try='test -s conftest$ac_exeext'
61818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61819 (eval $ac_try) 2>&5
61820 ac_status=$?
61821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61822 (exit $ac_status); }; }; then
61823 eval "$as_ac_var=yes"
61824 else
61825 echo "$as_me: failed program was:" >&5
61826 sed 's/^/| /' conftest.$ac_ext >&5
61828 eval "$as_ac_var=no"
61830 rm -f conftest.err conftest.$ac_objext \
61831 conftest$ac_exeext conftest.$ac_ext
61833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61835 if test `eval echo '${'$as_ac_var'}'` = yes; then
61836 cat >>confdefs.h <<_ACEOF
61837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61838 _ACEOF
61841 done
61851 echo "$as_me:$LINENO: checking for powf declaration" >&5
61852 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
61853 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61854 if test "${glibcxx_cv_func_powf_use+set}" = set; then
61855 echo $ECHO_N "(cached) $ECHO_C" >&6
61856 else
61860 ac_ext=cc
61861 ac_cpp='$CXXCPP $CPPFLAGS'
61862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61866 cat >conftest.$ac_ext <<_ACEOF
61867 /* confdefs.h. */
61868 _ACEOF
61869 cat confdefs.h >>conftest.$ac_ext
61870 cat >>conftest.$ac_ext <<_ACEOF
61871 /* end confdefs.h. */
61872 #include <math.h>
61874 main ()
61876 powf(0, 0);
61878 return 0;
61880 _ACEOF
61881 rm -f conftest.$ac_objext
61882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61883 (eval $ac_compile) 2>conftest.er1
61884 ac_status=$?
61885 grep -v '^ *+' conftest.er1 >conftest.err
61886 rm -f conftest.er1
61887 cat conftest.err >&5
61888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61889 (exit $ac_status); } &&
61890 { ac_try='test -z "$ac_cxx_werror_flag"
61891 || test ! -s conftest.err'
61892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61893 (eval $ac_try) 2>&5
61894 ac_status=$?
61895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61896 (exit $ac_status); }; } &&
61897 { ac_try='test -s conftest.$ac_objext'
61898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61899 (eval $ac_try) 2>&5
61900 ac_status=$?
61901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61902 (exit $ac_status); }; }; then
61903 glibcxx_cv_func_powf_use=yes
61904 else
61905 echo "$as_me: failed program was:" >&5
61906 sed 's/^/| /' conftest.$ac_ext >&5
61908 glibcxx_cv_func_powf_use=no
61910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61911 ac_ext=c
61912 ac_cpp='$CPP $CPPFLAGS'
61913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61921 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
61922 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
61924 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61926 for ac_func in powf
61928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61929 echo "$as_me:$LINENO: checking for $ac_func" >&5
61930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61931 if eval "test \"\${$as_ac_var+set}\" = set"; then
61932 echo $ECHO_N "(cached) $ECHO_C" >&6
61933 else
61934 if test x$gcc_no_link = xyes; then
61935 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61937 { (exit 1); exit 1; }; }
61939 cat >conftest.$ac_ext <<_ACEOF
61940 /* confdefs.h. */
61941 _ACEOF
61942 cat confdefs.h >>conftest.$ac_ext
61943 cat >>conftest.$ac_ext <<_ACEOF
61944 /* end confdefs.h. */
61945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61947 #define $ac_func innocuous_$ac_func
61949 /* System header to define __stub macros and hopefully few prototypes,
61950 which can conflict with char $ac_func (); below.
61951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61952 <limits.h> exists even on freestanding compilers. */
61954 #ifdef __STDC__
61955 # include <limits.h>
61956 #else
61957 # include <assert.h>
61958 #endif
61960 #undef $ac_func
61962 /* Override any gcc2 internal prototype to avoid an error. */
61963 #ifdef __cplusplus
61964 extern "C"
61966 #endif
61967 /* We use char because int might match the return type of a gcc2
61968 builtin and then its argument prototype would still apply. */
61969 char $ac_func ();
61970 /* The GNU C library defines this for functions which it implements
61971 to always fail with ENOSYS. Some functions are actually named
61972 something starting with __ and the normal name is an alias. */
61973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61974 choke me
61975 #else
61976 char (*f) () = $ac_func;
61977 #endif
61978 #ifdef __cplusplus
61980 #endif
61983 main ()
61985 return f != $ac_func;
61987 return 0;
61989 _ACEOF
61990 rm -f conftest.$ac_objext conftest$ac_exeext
61991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61992 (eval $ac_link) 2>conftest.er1
61993 ac_status=$?
61994 grep -v '^ *+' conftest.er1 >conftest.err
61995 rm -f conftest.er1
61996 cat conftest.err >&5
61997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61998 (exit $ac_status); } &&
61999 { ac_try='test -z "$ac_c_werror_flag"
62000 || test ! -s conftest.err'
62001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62002 (eval $ac_try) 2>&5
62003 ac_status=$?
62004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62005 (exit $ac_status); }; } &&
62006 { ac_try='test -s conftest$ac_exeext'
62007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62008 (eval $ac_try) 2>&5
62009 ac_status=$?
62010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62011 (exit $ac_status); }; }; then
62012 eval "$as_ac_var=yes"
62013 else
62014 echo "$as_me: failed program was:" >&5
62015 sed 's/^/| /' conftest.$ac_ext >&5
62017 eval "$as_ac_var=no"
62019 rm -f conftest.err conftest.$ac_objext \
62020 conftest$ac_exeext conftest.$ac_ext
62022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62024 if test `eval echo '${'$as_ac_var'}'` = yes; then
62025 cat >>confdefs.h <<_ACEOF
62026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62027 _ACEOF
62030 done
62032 else
62034 echo "$as_me:$LINENO: checking for _powf declaration" >&5
62035 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
62036 if test x${glibcxx_cv_func__powf_use+set} != xset; then
62037 if test "${glibcxx_cv_func__powf_use+set}" = set; then
62038 echo $ECHO_N "(cached) $ECHO_C" >&6
62039 else
62043 ac_ext=cc
62044 ac_cpp='$CXXCPP $CPPFLAGS'
62045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62049 cat >conftest.$ac_ext <<_ACEOF
62050 /* confdefs.h. */
62051 _ACEOF
62052 cat confdefs.h >>conftest.$ac_ext
62053 cat >>conftest.$ac_ext <<_ACEOF
62054 /* end confdefs.h. */
62055 #include <math.h>
62057 main ()
62059 _powf(0, 0);
62061 return 0;
62063 _ACEOF
62064 rm -f conftest.$ac_objext
62065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62066 (eval $ac_compile) 2>conftest.er1
62067 ac_status=$?
62068 grep -v '^ *+' conftest.er1 >conftest.err
62069 rm -f conftest.er1
62070 cat conftest.err >&5
62071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62072 (exit $ac_status); } &&
62073 { ac_try='test -z "$ac_cxx_werror_flag"
62074 || test ! -s conftest.err'
62075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62076 (eval $ac_try) 2>&5
62077 ac_status=$?
62078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62079 (exit $ac_status); }; } &&
62080 { ac_try='test -s conftest.$ac_objext'
62081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62082 (eval $ac_try) 2>&5
62083 ac_status=$?
62084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62085 (exit $ac_status); }; }; then
62086 glibcxx_cv_func__powf_use=yes
62087 else
62088 echo "$as_me: failed program was:" >&5
62089 sed 's/^/| /' conftest.$ac_ext >&5
62091 glibcxx_cv_func__powf_use=no
62093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62094 ac_ext=c
62095 ac_cpp='$CPP $CPPFLAGS'
62096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62104 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
62105 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
62107 if test x$glibcxx_cv_func__powf_use = x"yes"; then
62109 for ac_func in _powf
62111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62112 echo "$as_me:$LINENO: checking for $ac_func" >&5
62113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62114 if eval "test \"\${$as_ac_var+set}\" = set"; then
62115 echo $ECHO_N "(cached) $ECHO_C" >&6
62116 else
62117 if test x$gcc_no_link = xyes; then
62118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62120 { (exit 1); exit 1; }; }
62122 cat >conftest.$ac_ext <<_ACEOF
62123 /* confdefs.h. */
62124 _ACEOF
62125 cat confdefs.h >>conftest.$ac_ext
62126 cat >>conftest.$ac_ext <<_ACEOF
62127 /* end confdefs.h. */
62128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62130 #define $ac_func innocuous_$ac_func
62132 /* System header to define __stub macros and hopefully few prototypes,
62133 which can conflict with char $ac_func (); below.
62134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62135 <limits.h> exists even on freestanding compilers. */
62137 #ifdef __STDC__
62138 # include <limits.h>
62139 #else
62140 # include <assert.h>
62141 #endif
62143 #undef $ac_func
62145 /* Override any gcc2 internal prototype to avoid an error. */
62146 #ifdef __cplusplus
62147 extern "C"
62149 #endif
62150 /* We use char because int might match the return type of a gcc2
62151 builtin and then its argument prototype would still apply. */
62152 char $ac_func ();
62153 /* The GNU C library defines this for functions which it implements
62154 to always fail with ENOSYS. Some functions are actually named
62155 something starting with __ and the normal name is an alias. */
62156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62157 choke me
62158 #else
62159 char (*f) () = $ac_func;
62160 #endif
62161 #ifdef __cplusplus
62163 #endif
62166 main ()
62168 return f != $ac_func;
62170 return 0;
62172 _ACEOF
62173 rm -f conftest.$ac_objext conftest$ac_exeext
62174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62175 (eval $ac_link) 2>conftest.er1
62176 ac_status=$?
62177 grep -v '^ *+' conftest.er1 >conftest.err
62178 rm -f conftest.er1
62179 cat conftest.err >&5
62180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62181 (exit $ac_status); } &&
62182 { ac_try='test -z "$ac_c_werror_flag"
62183 || test ! -s conftest.err'
62184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62185 (eval $ac_try) 2>&5
62186 ac_status=$?
62187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62188 (exit $ac_status); }; } &&
62189 { ac_try='test -s conftest$ac_exeext'
62190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62191 (eval $ac_try) 2>&5
62192 ac_status=$?
62193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62194 (exit $ac_status); }; }; then
62195 eval "$as_ac_var=yes"
62196 else
62197 echo "$as_me: failed program was:" >&5
62198 sed 's/^/| /' conftest.$ac_ext >&5
62200 eval "$as_ac_var=no"
62202 rm -f conftest.err conftest.$ac_objext \
62203 conftest$ac_exeext conftest.$ac_ext
62205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62207 if test `eval echo '${'$as_ac_var'}'` = yes; then
62208 cat >>confdefs.h <<_ACEOF
62209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62210 _ACEOF
62213 done
62223 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
62224 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
62225 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
62226 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
62227 echo $ECHO_N "(cached) $ECHO_C" >&6
62228 else
62232 ac_ext=cc
62233 ac_cpp='$CXXCPP $CPPFLAGS'
62234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62238 cat >conftest.$ac_ext <<_ACEOF
62239 /* confdefs.h. */
62240 _ACEOF
62241 cat confdefs.h >>conftest.$ac_ext
62242 cat >>conftest.$ac_ext <<_ACEOF
62243 /* end confdefs.h. */
62244 #include <math.h>
62245 #ifdef HAVE_IEEEFP_H
62246 #include <ieeefp.h>
62247 #endif
62250 main ()
62252 sqrtf(0);
62254 return 0;
62256 _ACEOF
62257 rm -f conftest.$ac_objext
62258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62259 (eval $ac_compile) 2>conftest.er1
62260 ac_status=$?
62261 grep -v '^ *+' conftest.er1 >conftest.err
62262 rm -f conftest.er1
62263 cat conftest.err >&5
62264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62265 (exit $ac_status); } &&
62266 { ac_try='test -z "$ac_cxx_werror_flag"
62267 || test ! -s conftest.err'
62268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62269 (eval $ac_try) 2>&5
62270 ac_status=$?
62271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62272 (exit $ac_status); }; } &&
62273 { ac_try='test -s conftest.$ac_objext'
62274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62275 (eval $ac_try) 2>&5
62276 ac_status=$?
62277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62278 (exit $ac_status); }; }; then
62279 glibcxx_cv_func_sqrtf_use=yes
62280 else
62281 echo "$as_me: failed program was:" >&5
62282 sed 's/^/| /' conftest.$ac_ext >&5
62284 glibcxx_cv_func_sqrtf_use=no
62286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62287 ac_ext=c
62288 ac_cpp='$CPP $CPPFLAGS'
62289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62297 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
62298 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
62300 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
62302 for ac_func in sqrtf
62304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62305 echo "$as_me:$LINENO: checking for $ac_func" >&5
62306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62307 if eval "test \"\${$as_ac_var+set}\" = set"; then
62308 echo $ECHO_N "(cached) $ECHO_C" >&6
62309 else
62310 if test x$gcc_no_link = xyes; then
62311 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62313 { (exit 1); exit 1; }; }
62315 cat >conftest.$ac_ext <<_ACEOF
62316 /* confdefs.h. */
62317 _ACEOF
62318 cat confdefs.h >>conftest.$ac_ext
62319 cat >>conftest.$ac_ext <<_ACEOF
62320 /* end confdefs.h. */
62321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62323 #define $ac_func innocuous_$ac_func
62325 /* System header to define __stub macros and hopefully few prototypes,
62326 which can conflict with char $ac_func (); below.
62327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62328 <limits.h> exists even on freestanding compilers. */
62330 #ifdef __STDC__
62331 # include <limits.h>
62332 #else
62333 # include <assert.h>
62334 #endif
62336 #undef $ac_func
62338 /* Override any gcc2 internal prototype to avoid an error. */
62339 #ifdef __cplusplus
62340 extern "C"
62342 #endif
62343 /* We use char because int might match the return type of a gcc2
62344 builtin and then its argument prototype would still apply. */
62345 char $ac_func ();
62346 /* The GNU C library defines this for functions which it implements
62347 to always fail with ENOSYS. Some functions are actually named
62348 something starting with __ and the normal name is an alias. */
62349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62350 choke me
62351 #else
62352 char (*f) () = $ac_func;
62353 #endif
62354 #ifdef __cplusplus
62356 #endif
62359 main ()
62361 return f != $ac_func;
62363 return 0;
62365 _ACEOF
62366 rm -f conftest.$ac_objext conftest$ac_exeext
62367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62368 (eval $ac_link) 2>conftest.er1
62369 ac_status=$?
62370 grep -v '^ *+' conftest.er1 >conftest.err
62371 rm -f conftest.er1
62372 cat conftest.err >&5
62373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62374 (exit $ac_status); } &&
62375 { ac_try='test -z "$ac_c_werror_flag"
62376 || test ! -s conftest.err'
62377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62378 (eval $ac_try) 2>&5
62379 ac_status=$?
62380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62381 (exit $ac_status); }; } &&
62382 { ac_try='test -s conftest$ac_exeext'
62383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62384 (eval $ac_try) 2>&5
62385 ac_status=$?
62386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62387 (exit $ac_status); }; }; then
62388 eval "$as_ac_var=yes"
62389 else
62390 echo "$as_me: failed program was:" >&5
62391 sed 's/^/| /' conftest.$ac_ext >&5
62393 eval "$as_ac_var=no"
62395 rm -f conftest.err conftest.$ac_objext \
62396 conftest$ac_exeext conftest.$ac_ext
62398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62399 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62400 if test `eval echo '${'$as_ac_var'}'` = yes; then
62401 cat >>confdefs.h <<_ACEOF
62402 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62403 _ACEOF
62406 done
62408 else
62410 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
62411 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
62412 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62413 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
62414 echo $ECHO_N "(cached) $ECHO_C" >&6
62415 else
62419 ac_ext=cc
62420 ac_cpp='$CXXCPP $CPPFLAGS'
62421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62425 cat >conftest.$ac_ext <<_ACEOF
62426 /* confdefs.h. */
62427 _ACEOF
62428 cat confdefs.h >>conftest.$ac_ext
62429 cat >>conftest.$ac_ext <<_ACEOF
62430 /* end confdefs.h. */
62431 #include <math.h>
62432 #ifdef HAVE_IEEEFP_H
62433 #include <ieeefp.h>
62434 #endif
62437 main ()
62439 _sqrtf(0);
62441 return 0;
62443 _ACEOF
62444 rm -f conftest.$ac_objext
62445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62446 (eval $ac_compile) 2>conftest.er1
62447 ac_status=$?
62448 grep -v '^ *+' conftest.er1 >conftest.err
62449 rm -f conftest.er1
62450 cat conftest.err >&5
62451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62452 (exit $ac_status); } &&
62453 { ac_try='test -z "$ac_cxx_werror_flag"
62454 || test ! -s conftest.err'
62455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62456 (eval $ac_try) 2>&5
62457 ac_status=$?
62458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62459 (exit $ac_status); }; } &&
62460 { ac_try='test -s conftest.$ac_objext'
62461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62462 (eval $ac_try) 2>&5
62463 ac_status=$?
62464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62465 (exit $ac_status); }; }; then
62466 glibcxx_cv_func__sqrtf_use=yes
62467 else
62468 echo "$as_me: failed program was:" >&5
62469 sed 's/^/| /' conftest.$ac_ext >&5
62471 glibcxx_cv_func__sqrtf_use=no
62473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62474 ac_ext=c
62475 ac_cpp='$CPP $CPPFLAGS'
62476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62484 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
62485 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
62487 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62489 for ac_func in _sqrtf
62491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62492 echo "$as_me:$LINENO: checking for $ac_func" >&5
62493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62494 if eval "test \"\${$as_ac_var+set}\" = set"; then
62495 echo $ECHO_N "(cached) $ECHO_C" >&6
62496 else
62497 if test x$gcc_no_link = xyes; then
62498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62500 { (exit 1); exit 1; }; }
62502 cat >conftest.$ac_ext <<_ACEOF
62503 /* confdefs.h. */
62504 _ACEOF
62505 cat confdefs.h >>conftest.$ac_ext
62506 cat >>conftest.$ac_ext <<_ACEOF
62507 /* end confdefs.h. */
62508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62510 #define $ac_func innocuous_$ac_func
62512 /* System header to define __stub macros and hopefully few prototypes,
62513 which can conflict with char $ac_func (); below.
62514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62515 <limits.h> exists even on freestanding compilers. */
62517 #ifdef __STDC__
62518 # include <limits.h>
62519 #else
62520 # include <assert.h>
62521 #endif
62523 #undef $ac_func
62525 /* Override any gcc2 internal prototype to avoid an error. */
62526 #ifdef __cplusplus
62527 extern "C"
62529 #endif
62530 /* We use char because int might match the return type of a gcc2
62531 builtin and then its argument prototype would still apply. */
62532 char $ac_func ();
62533 /* The GNU C library defines this for functions which it implements
62534 to always fail with ENOSYS. Some functions are actually named
62535 something starting with __ and the normal name is an alias. */
62536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62537 choke me
62538 #else
62539 char (*f) () = $ac_func;
62540 #endif
62541 #ifdef __cplusplus
62543 #endif
62546 main ()
62548 return f != $ac_func;
62550 return 0;
62552 _ACEOF
62553 rm -f conftest.$ac_objext conftest$ac_exeext
62554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62555 (eval $ac_link) 2>conftest.er1
62556 ac_status=$?
62557 grep -v '^ *+' conftest.er1 >conftest.err
62558 rm -f conftest.er1
62559 cat conftest.err >&5
62560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62561 (exit $ac_status); } &&
62562 { ac_try='test -z "$ac_c_werror_flag"
62563 || test ! -s conftest.err'
62564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62565 (eval $ac_try) 2>&5
62566 ac_status=$?
62567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62568 (exit $ac_status); }; } &&
62569 { ac_try='test -s conftest$ac_exeext'
62570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62571 (eval $ac_try) 2>&5
62572 ac_status=$?
62573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62574 (exit $ac_status); }; }; then
62575 eval "$as_ac_var=yes"
62576 else
62577 echo "$as_me: failed program was:" >&5
62578 sed 's/^/| /' conftest.$ac_ext >&5
62580 eval "$as_ac_var=no"
62582 rm -f conftest.err conftest.$ac_objext \
62583 conftest$ac_exeext conftest.$ac_ext
62585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62587 if test `eval echo '${'$as_ac_var'}'` = yes; then
62588 cat >>confdefs.h <<_ACEOF
62589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62590 _ACEOF
62593 done
62603 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
62604 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
62605 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62606 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
62607 echo $ECHO_N "(cached) $ECHO_C" >&6
62608 else
62612 ac_ext=cc
62613 ac_cpp='$CXXCPP $CPPFLAGS'
62614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62618 cat >conftest.$ac_ext <<_ACEOF
62619 /* confdefs.h. */
62620 _ACEOF
62621 cat confdefs.h >>conftest.$ac_ext
62622 cat >>conftest.$ac_ext <<_ACEOF
62623 /* end confdefs.h. */
62624 #include <math.h>
62626 main ()
62628 sincosf(0, 0, 0);
62630 return 0;
62632 _ACEOF
62633 rm -f conftest.$ac_objext
62634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62635 (eval $ac_compile) 2>conftest.er1
62636 ac_status=$?
62637 grep -v '^ *+' conftest.er1 >conftest.err
62638 rm -f conftest.er1
62639 cat conftest.err >&5
62640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62641 (exit $ac_status); } &&
62642 { ac_try='test -z "$ac_cxx_werror_flag"
62643 || test ! -s conftest.err'
62644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62645 (eval $ac_try) 2>&5
62646 ac_status=$?
62647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62648 (exit $ac_status); }; } &&
62649 { ac_try='test -s conftest.$ac_objext'
62650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62651 (eval $ac_try) 2>&5
62652 ac_status=$?
62653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62654 (exit $ac_status); }; }; then
62655 glibcxx_cv_func_sincosf_use=yes
62656 else
62657 echo "$as_me: failed program was:" >&5
62658 sed 's/^/| /' conftest.$ac_ext >&5
62660 glibcxx_cv_func_sincosf_use=no
62662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62663 ac_ext=c
62664 ac_cpp='$CPP $CPPFLAGS'
62665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62673 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
62674 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
62676 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62678 for ac_func in sincosf
62680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62681 echo "$as_me:$LINENO: checking for $ac_func" >&5
62682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62683 if eval "test \"\${$as_ac_var+set}\" = set"; then
62684 echo $ECHO_N "(cached) $ECHO_C" >&6
62685 else
62686 if test x$gcc_no_link = xyes; then
62687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62689 { (exit 1); exit 1; }; }
62691 cat >conftest.$ac_ext <<_ACEOF
62692 /* confdefs.h. */
62693 _ACEOF
62694 cat confdefs.h >>conftest.$ac_ext
62695 cat >>conftest.$ac_ext <<_ACEOF
62696 /* end confdefs.h. */
62697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62699 #define $ac_func innocuous_$ac_func
62701 /* System header to define __stub macros and hopefully few prototypes,
62702 which can conflict with char $ac_func (); below.
62703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62704 <limits.h> exists even on freestanding compilers. */
62706 #ifdef __STDC__
62707 # include <limits.h>
62708 #else
62709 # include <assert.h>
62710 #endif
62712 #undef $ac_func
62714 /* Override any gcc2 internal prototype to avoid an error. */
62715 #ifdef __cplusplus
62716 extern "C"
62718 #endif
62719 /* We use char because int might match the return type of a gcc2
62720 builtin and then its argument prototype would still apply. */
62721 char $ac_func ();
62722 /* The GNU C library defines this for functions which it implements
62723 to always fail with ENOSYS. Some functions are actually named
62724 something starting with __ and the normal name is an alias. */
62725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62726 choke me
62727 #else
62728 char (*f) () = $ac_func;
62729 #endif
62730 #ifdef __cplusplus
62732 #endif
62735 main ()
62737 return f != $ac_func;
62739 return 0;
62741 _ACEOF
62742 rm -f conftest.$ac_objext conftest$ac_exeext
62743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62744 (eval $ac_link) 2>conftest.er1
62745 ac_status=$?
62746 grep -v '^ *+' conftest.er1 >conftest.err
62747 rm -f conftest.er1
62748 cat conftest.err >&5
62749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62750 (exit $ac_status); } &&
62751 { ac_try='test -z "$ac_c_werror_flag"
62752 || test ! -s conftest.err'
62753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62754 (eval $ac_try) 2>&5
62755 ac_status=$?
62756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62757 (exit $ac_status); }; } &&
62758 { ac_try='test -s conftest$ac_exeext'
62759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62760 (eval $ac_try) 2>&5
62761 ac_status=$?
62762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62763 (exit $ac_status); }; }; then
62764 eval "$as_ac_var=yes"
62765 else
62766 echo "$as_me: failed program was:" >&5
62767 sed 's/^/| /' conftest.$ac_ext >&5
62769 eval "$as_ac_var=no"
62771 rm -f conftest.err conftest.$ac_objext \
62772 conftest$ac_exeext conftest.$ac_ext
62774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62776 if test `eval echo '${'$as_ac_var'}'` = yes; then
62777 cat >>confdefs.h <<_ACEOF
62778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62779 _ACEOF
62782 done
62784 else
62786 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
62787 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
62788 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62789 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
62790 echo $ECHO_N "(cached) $ECHO_C" >&6
62791 else
62795 ac_ext=cc
62796 ac_cpp='$CXXCPP $CPPFLAGS'
62797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62801 cat >conftest.$ac_ext <<_ACEOF
62802 /* confdefs.h. */
62803 _ACEOF
62804 cat confdefs.h >>conftest.$ac_ext
62805 cat >>conftest.$ac_ext <<_ACEOF
62806 /* end confdefs.h. */
62807 #include <math.h>
62809 main ()
62811 _sincosf(0, 0, 0);
62813 return 0;
62815 _ACEOF
62816 rm -f conftest.$ac_objext
62817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62818 (eval $ac_compile) 2>conftest.er1
62819 ac_status=$?
62820 grep -v '^ *+' conftest.er1 >conftest.err
62821 rm -f conftest.er1
62822 cat conftest.err >&5
62823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62824 (exit $ac_status); } &&
62825 { ac_try='test -z "$ac_cxx_werror_flag"
62826 || test ! -s conftest.err'
62827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62828 (eval $ac_try) 2>&5
62829 ac_status=$?
62830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62831 (exit $ac_status); }; } &&
62832 { ac_try='test -s conftest.$ac_objext'
62833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62834 (eval $ac_try) 2>&5
62835 ac_status=$?
62836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62837 (exit $ac_status); }; }; then
62838 glibcxx_cv_func__sincosf_use=yes
62839 else
62840 echo "$as_me: failed program was:" >&5
62841 sed 's/^/| /' conftest.$ac_ext >&5
62843 glibcxx_cv_func__sincosf_use=no
62845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62846 ac_ext=c
62847 ac_cpp='$CPP $CPPFLAGS'
62848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62856 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
62857 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
62859 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62861 for ac_func in _sincosf
62863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62864 echo "$as_me:$LINENO: checking for $ac_func" >&5
62865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62866 if eval "test \"\${$as_ac_var+set}\" = set"; then
62867 echo $ECHO_N "(cached) $ECHO_C" >&6
62868 else
62869 if test x$gcc_no_link = xyes; then
62870 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62872 { (exit 1); exit 1; }; }
62874 cat >conftest.$ac_ext <<_ACEOF
62875 /* confdefs.h. */
62876 _ACEOF
62877 cat confdefs.h >>conftest.$ac_ext
62878 cat >>conftest.$ac_ext <<_ACEOF
62879 /* end confdefs.h. */
62880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62882 #define $ac_func innocuous_$ac_func
62884 /* System header to define __stub macros and hopefully few prototypes,
62885 which can conflict with char $ac_func (); below.
62886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62887 <limits.h> exists even on freestanding compilers. */
62889 #ifdef __STDC__
62890 # include <limits.h>
62891 #else
62892 # include <assert.h>
62893 #endif
62895 #undef $ac_func
62897 /* Override any gcc2 internal prototype to avoid an error. */
62898 #ifdef __cplusplus
62899 extern "C"
62901 #endif
62902 /* We use char because int might match the return type of a gcc2
62903 builtin and then its argument prototype would still apply. */
62904 char $ac_func ();
62905 /* The GNU C library defines this for functions which it implements
62906 to always fail with ENOSYS. Some functions are actually named
62907 something starting with __ and the normal name is an alias. */
62908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62909 choke me
62910 #else
62911 char (*f) () = $ac_func;
62912 #endif
62913 #ifdef __cplusplus
62915 #endif
62918 main ()
62920 return f != $ac_func;
62922 return 0;
62924 _ACEOF
62925 rm -f conftest.$ac_objext conftest$ac_exeext
62926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62927 (eval $ac_link) 2>conftest.er1
62928 ac_status=$?
62929 grep -v '^ *+' conftest.er1 >conftest.err
62930 rm -f conftest.er1
62931 cat conftest.err >&5
62932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62933 (exit $ac_status); } &&
62934 { ac_try='test -z "$ac_c_werror_flag"
62935 || test ! -s conftest.err'
62936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62937 (eval $ac_try) 2>&5
62938 ac_status=$?
62939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62940 (exit $ac_status); }; } &&
62941 { ac_try='test -s conftest$ac_exeext'
62942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62943 (eval $ac_try) 2>&5
62944 ac_status=$?
62945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62946 (exit $ac_status); }; }; then
62947 eval "$as_ac_var=yes"
62948 else
62949 echo "$as_me: failed program was:" >&5
62950 sed 's/^/| /' conftest.$ac_ext >&5
62952 eval "$as_ac_var=no"
62954 rm -f conftest.err conftest.$ac_objext \
62955 conftest$ac_exeext conftest.$ac_ext
62957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62959 if test `eval echo '${'$as_ac_var'}'` = yes; then
62960 cat >>confdefs.h <<_ACEOF
62961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62962 _ACEOF
62965 done
62975 echo "$as_me:$LINENO: checking for finitef declaration" >&5
62976 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
62977 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62978 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
62979 echo $ECHO_N "(cached) $ECHO_C" >&6
62980 else
62984 ac_ext=cc
62985 ac_cpp='$CXXCPP $CPPFLAGS'
62986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62990 cat >conftest.$ac_ext <<_ACEOF
62991 /* confdefs.h. */
62992 _ACEOF
62993 cat confdefs.h >>conftest.$ac_ext
62994 cat >>conftest.$ac_ext <<_ACEOF
62995 /* end confdefs.h. */
62996 #include <math.h>
62997 #ifdef HAVE_IEEEFP_H
62998 #include <ieeefp.h>
62999 #endif
63002 main ()
63004 finitef(0);
63006 return 0;
63008 _ACEOF
63009 rm -f conftest.$ac_objext
63010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63011 (eval $ac_compile) 2>conftest.er1
63012 ac_status=$?
63013 grep -v '^ *+' conftest.er1 >conftest.err
63014 rm -f conftest.er1
63015 cat conftest.err >&5
63016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63017 (exit $ac_status); } &&
63018 { ac_try='test -z "$ac_cxx_werror_flag"
63019 || test ! -s conftest.err'
63020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63021 (eval $ac_try) 2>&5
63022 ac_status=$?
63023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63024 (exit $ac_status); }; } &&
63025 { ac_try='test -s conftest.$ac_objext'
63026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63027 (eval $ac_try) 2>&5
63028 ac_status=$?
63029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63030 (exit $ac_status); }; }; then
63031 glibcxx_cv_func_finitef_use=yes
63032 else
63033 echo "$as_me: failed program was:" >&5
63034 sed 's/^/| /' conftest.$ac_ext >&5
63036 glibcxx_cv_func_finitef_use=no
63038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63039 ac_ext=c
63040 ac_cpp='$CPP $CPPFLAGS'
63041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63049 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
63050 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
63052 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63054 for ac_func in finitef
63056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63057 echo "$as_me:$LINENO: checking for $ac_func" >&5
63058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63059 if eval "test \"\${$as_ac_var+set}\" = set"; then
63060 echo $ECHO_N "(cached) $ECHO_C" >&6
63061 else
63062 if test x$gcc_no_link = xyes; then
63063 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63065 { (exit 1); exit 1; }; }
63067 cat >conftest.$ac_ext <<_ACEOF
63068 /* confdefs.h. */
63069 _ACEOF
63070 cat confdefs.h >>conftest.$ac_ext
63071 cat >>conftest.$ac_ext <<_ACEOF
63072 /* end confdefs.h. */
63073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63075 #define $ac_func innocuous_$ac_func
63077 /* System header to define __stub macros and hopefully few prototypes,
63078 which can conflict with char $ac_func (); below.
63079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63080 <limits.h> exists even on freestanding compilers. */
63082 #ifdef __STDC__
63083 # include <limits.h>
63084 #else
63085 # include <assert.h>
63086 #endif
63088 #undef $ac_func
63090 /* Override any gcc2 internal prototype to avoid an error. */
63091 #ifdef __cplusplus
63092 extern "C"
63094 #endif
63095 /* We use char because int might match the return type of a gcc2
63096 builtin and then its argument prototype would still apply. */
63097 char $ac_func ();
63098 /* The GNU C library defines this for functions which it implements
63099 to always fail with ENOSYS. Some functions are actually named
63100 something starting with __ and the normal name is an alias. */
63101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63102 choke me
63103 #else
63104 char (*f) () = $ac_func;
63105 #endif
63106 #ifdef __cplusplus
63108 #endif
63111 main ()
63113 return f != $ac_func;
63115 return 0;
63117 _ACEOF
63118 rm -f conftest.$ac_objext conftest$ac_exeext
63119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63120 (eval $ac_link) 2>conftest.er1
63121 ac_status=$?
63122 grep -v '^ *+' conftest.er1 >conftest.err
63123 rm -f conftest.er1
63124 cat conftest.err >&5
63125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63126 (exit $ac_status); } &&
63127 { ac_try='test -z "$ac_c_werror_flag"
63128 || test ! -s conftest.err'
63129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63130 (eval $ac_try) 2>&5
63131 ac_status=$?
63132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63133 (exit $ac_status); }; } &&
63134 { ac_try='test -s conftest$ac_exeext'
63135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63136 (eval $ac_try) 2>&5
63137 ac_status=$?
63138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63139 (exit $ac_status); }; }; then
63140 eval "$as_ac_var=yes"
63141 else
63142 echo "$as_me: failed program was:" >&5
63143 sed 's/^/| /' conftest.$ac_ext >&5
63145 eval "$as_ac_var=no"
63147 rm -f conftest.err conftest.$ac_objext \
63148 conftest$ac_exeext conftest.$ac_ext
63150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63152 if test `eval echo '${'$as_ac_var'}'` = yes; then
63153 cat >>confdefs.h <<_ACEOF
63154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63155 _ACEOF
63158 done
63160 else
63162 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
63163 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
63164 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63165 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
63166 echo $ECHO_N "(cached) $ECHO_C" >&6
63167 else
63171 ac_ext=cc
63172 ac_cpp='$CXXCPP $CPPFLAGS'
63173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63177 cat >conftest.$ac_ext <<_ACEOF
63178 /* confdefs.h. */
63179 _ACEOF
63180 cat confdefs.h >>conftest.$ac_ext
63181 cat >>conftest.$ac_ext <<_ACEOF
63182 /* end confdefs.h. */
63183 #include <math.h>
63184 #ifdef HAVE_IEEEFP_H
63185 #include <ieeefp.h>
63186 #endif
63189 main ()
63191 _finitef(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__finitef_use=yes
63219 else
63220 echo "$as_me: failed program was:" >&5
63221 sed 's/^/| /' conftest.$ac_ext >&5
63223 glibcxx_cv_func__finitef_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
63236 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
63237 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
63239 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63241 for ac_func in _finitef
63243 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63244 echo "$as_me:$LINENO: checking for $ac_func" >&5
63245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63246 if eval "test \"\${$as_ac_var+set}\" = set"; then
63247 echo $ECHO_N "(cached) $ECHO_C" >&6
63248 else
63249 if test x$gcc_no_link = xyes; then
63250 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63252 { (exit 1); exit 1; }; }
63254 cat >conftest.$ac_ext <<_ACEOF
63255 /* confdefs.h. */
63256 _ACEOF
63257 cat confdefs.h >>conftest.$ac_ext
63258 cat >>conftest.$ac_ext <<_ACEOF
63259 /* end confdefs.h. */
63260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63262 #define $ac_func innocuous_$ac_func
63264 /* System header to define __stub macros and hopefully few prototypes,
63265 which can conflict with char $ac_func (); below.
63266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63267 <limits.h> exists even on freestanding compilers. */
63269 #ifdef __STDC__
63270 # include <limits.h>
63271 #else
63272 # include <assert.h>
63273 #endif
63275 #undef $ac_func
63277 /* Override any gcc2 internal prototype to avoid an error. */
63278 #ifdef __cplusplus
63279 extern "C"
63281 #endif
63282 /* We use char because int might match the return type of a gcc2
63283 builtin and then its argument prototype would still apply. */
63284 char $ac_func ();
63285 /* The GNU C library defines this for functions which it implements
63286 to always fail with ENOSYS. Some functions are actually named
63287 something starting with __ and the normal name is an alias. */
63288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63289 choke me
63290 #else
63291 char (*f) () = $ac_func;
63292 #endif
63293 #ifdef __cplusplus
63295 #endif
63298 main ()
63300 return f != $ac_func;
63302 return 0;
63304 _ACEOF
63305 rm -f conftest.$ac_objext conftest$ac_exeext
63306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63307 (eval $ac_link) 2>conftest.er1
63308 ac_status=$?
63309 grep -v '^ *+' conftest.er1 >conftest.err
63310 rm -f conftest.er1
63311 cat conftest.err >&5
63312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63313 (exit $ac_status); } &&
63314 { ac_try='test -z "$ac_c_werror_flag"
63315 || test ! -s conftest.err'
63316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63317 (eval $ac_try) 2>&5
63318 ac_status=$?
63319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63320 (exit $ac_status); }; } &&
63321 { ac_try='test -s conftest$ac_exeext'
63322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63323 (eval $ac_try) 2>&5
63324 ac_status=$?
63325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63326 (exit $ac_status); }; }; then
63327 eval "$as_ac_var=yes"
63328 else
63329 echo "$as_me: failed program was:" >&5
63330 sed 's/^/| /' conftest.$ac_ext >&5
63332 eval "$as_ac_var=no"
63334 rm -f conftest.err conftest.$ac_objext \
63335 conftest$ac_exeext conftest.$ac_ext
63337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63339 if test `eval echo '${'$as_ac_var'}'` = yes; then
63340 cat >>confdefs.h <<_ACEOF
63341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63342 _ACEOF
63345 done
63355 echo "$as_me:$LINENO: checking for long double trig functions" >&5
63356 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
63357 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
63358 echo $ECHO_N "(cached) $ECHO_C" >&6
63359 else
63363 ac_ext=cc
63364 ac_cpp='$CXXCPP $CPPFLAGS'
63365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63369 cat >conftest.$ac_ext <<_ACEOF
63370 /* confdefs.h. */
63371 _ACEOF
63372 cat confdefs.h >>conftest.$ac_ext
63373 cat >>conftest.$ac_ext <<_ACEOF
63374 /* end confdefs.h. */
63375 #include <math.h>
63377 main ()
63379 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63381 return 0;
63383 _ACEOF
63384 rm -f conftest.$ac_objext
63385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63386 (eval $ac_compile) 2>conftest.er1
63387 ac_status=$?
63388 grep -v '^ *+' conftest.er1 >conftest.err
63389 rm -f conftest.er1
63390 cat conftest.err >&5
63391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63392 (exit $ac_status); } &&
63393 { ac_try='test -z "$ac_cxx_werror_flag"
63394 || test ! -s conftest.err'
63395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63396 (eval $ac_try) 2>&5
63397 ac_status=$?
63398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63399 (exit $ac_status); }; } &&
63400 { ac_try='test -s conftest.$ac_objext'
63401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63402 (eval $ac_try) 2>&5
63403 ac_status=$?
63404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63405 (exit $ac_status); }; }; then
63406 glibcxx_cv_func_long_double_trig_use=yes
63407 else
63408 echo "$as_me: failed program was:" >&5
63409 sed 's/^/| /' conftest.$ac_ext >&5
63411 glibcxx_cv_func_long_double_trig_use=no
63413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63414 ac_ext=c
63415 ac_cpp='$CPP $CPPFLAGS'
63416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63422 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
63423 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
63424 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63434 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63437 echo "$as_me:$LINENO: checking for $ac_func" >&5
63438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63439 if eval "test \"\${$as_ac_var+set}\" = set"; then
63440 echo $ECHO_N "(cached) $ECHO_C" >&6
63441 else
63442 if test x$gcc_no_link = xyes; then
63443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63445 { (exit 1); exit 1; }; }
63447 cat >conftest.$ac_ext <<_ACEOF
63448 /* confdefs.h. */
63449 _ACEOF
63450 cat confdefs.h >>conftest.$ac_ext
63451 cat >>conftest.$ac_ext <<_ACEOF
63452 /* end confdefs.h. */
63453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63455 #define $ac_func innocuous_$ac_func
63457 /* System header to define __stub macros and hopefully few prototypes,
63458 which can conflict with char $ac_func (); below.
63459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63460 <limits.h> exists even on freestanding compilers. */
63462 #ifdef __STDC__
63463 # include <limits.h>
63464 #else
63465 # include <assert.h>
63466 #endif
63468 #undef $ac_func
63470 /* Override any gcc2 internal prototype to avoid an error. */
63471 #ifdef __cplusplus
63472 extern "C"
63474 #endif
63475 /* We use char because int might match the return type of a gcc2
63476 builtin and then its argument prototype would still apply. */
63477 char $ac_func ();
63478 /* The GNU C library defines this for functions which it implements
63479 to always fail with ENOSYS. Some functions are actually named
63480 something starting with __ and the normal name is an alias. */
63481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63482 choke me
63483 #else
63484 char (*f) () = $ac_func;
63485 #endif
63486 #ifdef __cplusplus
63488 #endif
63491 main ()
63493 return f != $ac_func;
63495 return 0;
63497 _ACEOF
63498 rm -f conftest.$ac_objext conftest$ac_exeext
63499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63500 (eval $ac_link) 2>conftest.er1
63501 ac_status=$?
63502 grep -v '^ *+' conftest.er1 >conftest.err
63503 rm -f conftest.er1
63504 cat conftest.err >&5
63505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63506 (exit $ac_status); } &&
63507 { ac_try='test -z "$ac_c_werror_flag"
63508 || test ! -s conftest.err'
63509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63510 (eval $ac_try) 2>&5
63511 ac_status=$?
63512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63513 (exit $ac_status); }; } &&
63514 { ac_try='test -s conftest$ac_exeext'
63515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63516 (eval $ac_try) 2>&5
63517 ac_status=$?
63518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63519 (exit $ac_status); }; }; then
63520 eval "$as_ac_var=yes"
63521 else
63522 echo "$as_me: failed program was:" >&5
63523 sed 's/^/| /' conftest.$ac_ext >&5
63525 eval "$as_ac_var=no"
63527 rm -f conftest.err conftest.$ac_objext \
63528 conftest$ac_exeext conftest.$ac_ext
63530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63532 if test `eval echo '${'$as_ac_var'}'` = yes; then
63533 cat >>confdefs.h <<_ACEOF
63534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63535 _ACEOF
63538 done
63540 else
63541 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
63542 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
63543 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
63544 echo $ECHO_N "(cached) $ECHO_C" >&6
63545 else
63549 ac_ext=cc
63550 ac_cpp='$CXXCPP $CPPFLAGS'
63551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63555 cat >conftest.$ac_ext <<_ACEOF
63556 /* confdefs.h. */
63557 _ACEOF
63558 cat confdefs.h >>conftest.$ac_ext
63559 cat >>conftest.$ac_ext <<_ACEOF
63560 /* end confdefs.h. */
63561 #include <math.h>
63563 main ()
63565 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63567 return 0;
63569 _ACEOF
63570 rm -f conftest.$ac_objext
63571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63572 (eval $ac_compile) 2>conftest.er1
63573 ac_status=$?
63574 grep -v '^ *+' conftest.er1 >conftest.err
63575 rm -f conftest.er1
63576 cat conftest.err >&5
63577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63578 (exit $ac_status); } &&
63579 { ac_try='test -z "$ac_cxx_werror_flag"
63580 || test ! -s conftest.err'
63581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63582 (eval $ac_try) 2>&5
63583 ac_status=$?
63584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63585 (exit $ac_status); }; } &&
63586 { ac_try='test -s conftest.$ac_objext'
63587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63588 (eval $ac_try) 2>&5
63589 ac_status=$?
63590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63591 (exit $ac_status); }; }; then
63592 glibcxx_cv_func__long_double_trig_use=yes
63593 else
63594 echo "$as_me: failed program was:" >&5
63595 sed 's/^/| /' conftest.$ac_ext >&5
63597 glibcxx_cv_func__long_double_trig_use=no
63599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63600 ac_ext=c
63601 ac_cpp='$CPP $CPPFLAGS'
63602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63608 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
63609 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
63610 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63620 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63623 echo "$as_me:$LINENO: checking for $ac_func" >&5
63624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63625 if eval "test \"\${$as_ac_var+set}\" = set"; then
63626 echo $ECHO_N "(cached) $ECHO_C" >&6
63627 else
63628 if test x$gcc_no_link = xyes; then
63629 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63631 { (exit 1); exit 1; }; }
63633 cat >conftest.$ac_ext <<_ACEOF
63634 /* confdefs.h. */
63635 _ACEOF
63636 cat confdefs.h >>conftest.$ac_ext
63637 cat >>conftest.$ac_ext <<_ACEOF
63638 /* end confdefs.h. */
63639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63641 #define $ac_func innocuous_$ac_func
63643 /* System header to define __stub macros and hopefully few prototypes,
63644 which can conflict with char $ac_func (); below.
63645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63646 <limits.h> exists even on freestanding compilers. */
63648 #ifdef __STDC__
63649 # include <limits.h>
63650 #else
63651 # include <assert.h>
63652 #endif
63654 #undef $ac_func
63656 /* Override any gcc2 internal prototype to avoid an error. */
63657 #ifdef __cplusplus
63658 extern "C"
63660 #endif
63661 /* We use char because int might match the return type of a gcc2
63662 builtin and then its argument prototype would still apply. */
63663 char $ac_func ();
63664 /* The GNU C library defines this for functions which it implements
63665 to always fail with ENOSYS. Some functions are actually named
63666 something starting with __ and the normal name is an alias. */
63667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63668 choke me
63669 #else
63670 char (*f) () = $ac_func;
63671 #endif
63672 #ifdef __cplusplus
63674 #endif
63677 main ()
63679 return f != $ac_func;
63681 return 0;
63683 _ACEOF
63684 rm -f conftest.$ac_objext conftest$ac_exeext
63685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63686 (eval $ac_link) 2>conftest.er1
63687 ac_status=$?
63688 grep -v '^ *+' conftest.er1 >conftest.err
63689 rm -f conftest.er1
63690 cat conftest.err >&5
63691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63692 (exit $ac_status); } &&
63693 { ac_try='test -z "$ac_c_werror_flag"
63694 || test ! -s conftest.err'
63695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63696 (eval $ac_try) 2>&5
63697 ac_status=$?
63698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63699 (exit $ac_status); }; } &&
63700 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
63706 eval "$as_ac_var=yes"
63707 else
63708 echo "$as_me: failed program was:" >&5
63709 sed 's/^/| /' conftest.$ac_ext >&5
63711 eval "$as_ac_var=no"
63713 rm -f conftest.err conftest.$ac_objext \
63714 conftest$ac_exeext conftest.$ac_ext
63716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63718 if test `eval echo '${'$as_ac_var'}'` = yes; then
63719 cat >>confdefs.h <<_ACEOF
63720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63721 _ACEOF
63724 done
63742 echo "$as_me:$LINENO: checking for long double round functions" >&5
63743 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
63744 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
63745 echo $ECHO_N "(cached) $ECHO_C" >&6
63746 else
63750 ac_ext=cc
63751 ac_cpp='$CXXCPP $CPPFLAGS'
63752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63756 cat >conftest.$ac_ext <<_ACEOF
63757 /* confdefs.h. */
63758 _ACEOF
63759 cat confdefs.h >>conftest.$ac_ext
63760 cat >>conftest.$ac_ext <<_ACEOF
63761 /* end confdefs.h. */
63762 #include <math.h>
63764 main ()
63766 ceill (0); floorl (0);
63768 return 0;
63770 _ACEOF
63771 rm -f conftest.$ac_objext
63772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63773 (eval $ac_compile) 2>conftest.er1
63774 ac_status=$?
63775 grep -v '^ *+' conftest.er1 >conftest.err
63776 rm -f conftest.er1
63777 cat conftest.err >&5
63778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63779 (exit $ac_status); } &&
63780 { ac_try='test -z "$ac_cxx_werror_flag"
63781 || test ! -s conftest.err'
63782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63783 (eval $ac_try) 2>&5
63784 ac_status=$?
63785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63786 (exit $ac_status); }; } &&
63787 { ac_try='test -s conftest.$ac_objext'
63788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63789 (eval $ac_try) 2>&5
63790 ac_status=$?
63791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63792 (exit $ac_status); }; }; then
63793 glibcxx_cv_func_long_double_round_use=yes
63794 else
63795 echo "$as_me: failed program was:" >&5
63796 sed 's/^/| /' conftest.$ac_ext >&5
63798 glibcxx_cv_func_long_double_round_use=no
63800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63801 ac_ext=c
63802 ac_cpp='$CPP $CPPFLAGS'
63803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63809 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
63810 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
63811 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63814 for ac_func in ceill floorl
63816 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63817 echo "$as_me:$LINENO: checking for $ac_func" >&5
63818 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63819 if eval "test \"\${$as_ac_var+set}\" = set"; then
63820 echo $ECHO_N "(cached) $ECHO_C" >&6
63821 else
63822 if test x$gcc_no_link = xyes; then
63823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63825 { (exit 1); exit 1; }; }
63827 cat >conftest.$ac_ext <<_ACEOF
63828 /* confdefs.h. */
63829 _ACEOF
63830 cat confdefs.h >>conftest.$ac_ext
63831 cat >>conftest.$ac_ext <<_ACEOF
63832 /* end confdefs.h. */
63833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63835 #define $ac_func innocuous_$ac_func
63837 /* System header to define __stub macros and hopefully few prototypes,
63838 which can conflict with char $ac_func (); below.
63839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63840 <limits.h> exists even on freestanding compilers. */
63842 #ifdef __STDC__
63843 # include <limits.h>
63844 #else
63845 # include <assert.h>
63846 #endif
63848 #undef $ac_func
63850 /* Override any gcc2 internal prototype to avoid an error. */
63851 #ifdef __cplusplus
63852 extern "C"
63854 #endif
63855 /* We use char because int might match the return type of a gcc2
63856 builtin and then its argument prototype would still apply. */
63857 char $ac_func ();
63858 /* The GNU C library defines this for functions which it implements
63859 to always fail with ENOSYS. Some functions are actually named
63860 something starting with __ and the normal name is an alias. */
63861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63862 choke me
63863 #else
63864 char (*f) () = $ac_func;
63865 #endif
63866 #ifdef __cplusplus
63868 #endif
63871 main ()
63873 return f != $ac_func;
63875 return 0;
63877 _ACEOF
63878 rm -f conftest.$ac_objext conftest$ac_exeext
63879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63880 (eval $ac_link) 2>conftest.er1
63881 ac_status=$?
63882 grep -v '^ *+' conftest.er1 >conftest.err
63883 rm -f conftest.er1
63884 cat conftest.err >&5
63885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63886 (exit $ac_status); } &&
63887 { ac_try='test -z "$ac_c_werror_flag"
63888 || test ! -s conftest.err'
63889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63890 (eval $ac_try) 2>&5
63891 ac_status=$?
63892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63893 (exit $ac_status); }; } &&
63894 { ac_try='test -s conftest$ac_exeext'
63895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63896 (eval $ac_try) 2>&5
63897 ac_status=$?
63898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63899 (exit $ac_status); }; }; then
63900 eval "$as_ac_var=yes"
63901 else
63902 echo "$as_me: failed program was:" >&5
63903 sed 's/^/| /' conftest.$ac_ext >&5
63905 eval "$as_ac_var=no"
63907 rm -f conftest.err conftest.$ac_objext \
63908 conftest$ac_exeext conftest.$ac_ext
63910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63912 if test `eval echo '${'$as_ac_var'}'` = yes; then
63913 cat >>confdefs.h <<_ACEOF
63914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63915 _ACEOF
63918 done
63920 else
63921 echo "$as_me:$LINENO: checking for _long double round functions" >&5
63922 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
63923 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
63924 echo $ECHO_N "(cached) $ECHO_C" >&6
63925 else
63929 ac_ext=cc
63930 ac_cpp='$CXXCPP $CPPFLAGS'
63931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63935 cat >conftest.$ac_ext <<_ACEOF
63936 /* confdefs.h. */
63937 _ACEOF
63938 cat confdefs.h >>conftest.$ac_ext
63939 cat >>conftest.$ac_ext <<_ACEOF
63940 /* end confdefs.h. */
63941 #include <math.h>
63943 main ()
63945 _ceill (0); _floorl (0);
63947 return 0;
63949 _ACEOF
63950 rm -f conftest.$ac_objext
63951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63952 (eval $ac_compile) 2>conftest.er1
63953 ac_status=$?
63954 grep -v '^ *+' conftest.er1 >conftest.err
63955 rm -f conftest.er1
63956 cat conftest.err >&5
63957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63958 (exit $ac_status); } &&
63959 { ac_try='test -z "$ac_cxx_werror_flag"
63960 || test ! -s conftest.err'
63961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63962 (eval $ac_try) 2>&5
63963 ac_status=$?
63964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63965 (exit $ac_status); }; } &&
63966 { ac_try='test -s conftest.$ac_objext'
63967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63968 (eval $ac_try) 2>&5
63969 ac_status=$?
63970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63971 (exit $ac_status); }; }; then
63972 glibcxx_cv_func__long_double_round_use=yes
63973 else
63974 echo "$as_me: failed program was:" >&5
63975 sed 's/^/| /' conftest.$ac_ext >&5
63977 glibcxx_cv_func__long_double_round_use=no
63979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63980 ac_ext=c
63981 ac_cpp='$CPP $CPPFLAGS'
63982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63988 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
63989 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
63990 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
63993 for ac_func in _ceill _floorl
63995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63996 echo "$as_me:$LINENO: checking for $ac_func" >&5
63997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63998 if eval "test \"\${$as_ac_var+set}\" = set"; then
63999 echo $ECHO_N "(cached) $ECHO_C" >&6
64000 else
64001 if test x$gcc_no_link = xyes; then
64002 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64004 { (exit 1); exit 1; }; }
64006 cat >conftest.$ac_ext <<_ACEOF
64007 /* confdefs.h. */
64008 _ACEOF
64009 cat confdefs.h >>conftest.$ac_ext
64010 cat >>conftest.$ac_ext <<_ACEOF
64011 /* end confdefs.h. */
64012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64014 #define $ac_func innocuous_$ac_func
64016 /* System header to define __stub macros and hopefully few prototypes,
64017 which can conflict with char $ac_func (); below.
64018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64019 <limits.h> exists even on freestanding compilers. */
64021 #ifdef __STDC__
64022 # include <limits.h>
64023 #else
64024 # include <assert.h>
64025 #endif
64027 #undef $ac_func
64029 /* Override any gcc2 internal prototype to avoid an error. */
64030 #ifdef __cplusplus
64031 extern "C"
64033 #endif
64034 /* We use char because int might match the return type of a gcc2
64035 builtin and then its argument prototype would still apply. */
64036 char $ac_func ();
64037 /* The GNU C library defines this for functions which it implements
64038 to always fail with ENOSYS. Some functions are actually named
64039 something starting with __ and the normal name is an alias. */
64040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64041 choke me
64042 #else
64043 char (*f) () = $ac_func;
64044 #endif
64045 #ifdef __cplusplus
64047 #endif
64050 main ()
64052 return f != $ac_func;
64054 return 0;
64056 _ACEOF
64057 rm -f conftest.$ac_objext conftest$ac_exeext
64058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64059 (eval $ac_link) 2>conftest.er1
64060 ac_status=$?
64061 grep -v '^ *+' conftest.er1 >conftest.err
64062 rm -f conftest.er1
64063 cat conftest.err >&5
64064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64065 (exit $ac_status); } &&
64066 { ac_try='test -z "$ac_c_werror_flag"
64067 || test ! -s conftest.err'
64068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64069 (eval $ac_try) 2>&5
64070 ac_status=$?
64071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64072 (exit $ac_status); }; } &&
64073 { ac_try='test -s conftest$ac_exeext'
64074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64075 (eval $ac_try) 2>&5
64076 ac_status=$?
64077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64078 (exit $ac_status); }; }; then
64079 eval "$as_ac_var=yes"
64080 else
64081 echo "$as_me: failed program was:" >&5
64082 sed 's/^/| /' conftest.$ac_ext >&5
64084 eval "$as_ac_var=no"
64086 rm -f conftest.err conftest.$ac_objext \
64087 conftest$ac_exeext conftest.$ac_ext
64089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64091 if test `eval echo '${'$as_ac_var'}'` = yes; then
64092 cat >>confdefs.h <<_ACEOF
64093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64094 _ACEOF
64097 done
64109 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
64110 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
64111 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
64112 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
64113 echo $ECHO_N "(cached) $ECHO_C" >&6
64114 else
64118 ac_ext=cc
64119 ac_cpp='$CXXCPP $CPPFLAGS'
64120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64124 cat >conftest.$ac_ext <<_ACEOF
64125 /* confdefs.h. */
64126 _ACEOF
64127 cat confdefs.h >>conftest.$ac_ext
64128 cat >>conftest.$ac_ext <<_ACEOF
64129 /* end confdefs.h. */
64130 #include <math.h>
64131 #ifdef HAVE_IEEEFP_H
64132 #include <ieeefp.h>
64133 #endif
64136 main ()
64138 isnanl(0);
64140 return 0;
64142 _ACEOF
64143 rm -f conftest.$ac_objext
64144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64145 (eval $ac_compile) 2>conftest.er1
64146 ac_status=$?
64147 grep -v '^ *+' conftest.er1 >conftest.err
64148 rm -f conftest.er1
64149 cat conftest.err >&5
64150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64151 (exit $ac_status); } &&
64152 { ac_try='test -z "$ac_cxx_werror_flag"
64153 || test ! -s conftest.err'
64154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64155 (eval $ac_try) 2>&5
64156 ac_status=$?
64157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64158 (exit $ac_status); }; } &&
64159 { ac_try='test -s conftest.$ac_objext'
64160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64161 (eval $ac_try) 2>&5
64162 ac_status=$?
64163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64164 (exit $ac_status); }; }; then
64165 glibcxx_cv_func_isnanl_use=yes
64166 else
64167 echo "$as_me: failed program was:" >&5
64168 sed 's/^/| /' conftest.$ac_ext >&5
64170 glibcxx_cv_func_isnanl_use=no
64172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64173 ac_ext=c
64174 ac_cpp='$CPP $CPPFLAGS'
64175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64183 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
64184 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
64186 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64188 for ac_func in isnanl
64190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64191 echo "$as_me:$LINENO: checking for $ac_func" >&5
64192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64193 if eval "test \"\${$as_ac_var+set}\" = set"; then
64194 echo $ECHO_N "(cached) $ECHO_C" >&6
64195 else
64196 if test x$gcc_no_link = xyes; then
64197 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64199 { (exit 1); exit 1; }; }
64201 cat >conftest.$ac_ext <<_ACEOF
64202 /* confdefs.h. */
64203 _ACEOF
64204 cat confdefs.h >>conftest.$ac_ext
64205 cat >>conftest.$ac_ext <<_ACEOF
64206 /* end confdefs.h. */
64207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64209 #define $ac_func innocuous_$ac_func
64211 /* System header to define __stub macros and hopefully few prototypes,
64212 which can conflict with char $ac_func (); below.
64213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64214 <limits.h> exists even on freestanding compilers. */
64216 #ifdef __STDC__
64217 # include <limits.h>
64218 #else
64219 # include <assert.h>
64220 #endif
64222 #undef $ac_func
64224 /* Override any gcc2 internal prototype to avoid an error. */
64225 #ifdef __cplusplus
64226 extern "C"
64228 #endif
64229 /* We use char because int might match the return type of a gcc2
64230 builtin and then its argument prototype would still apply. */
64231 char $ac_func ();
64232 /* The GNU C library defines this for functions which it implements
64233 to always fail with ENOSYS. Some functions are actually named
64234 something starting with __ and the normal name is an alias. */
64235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64236 choke me
64237 #else
64238 char (*f) () = $ac_func;
64239 #endif
64240 #ifdef __cplusplus
64242 #endif
64245 main ()
64247 return f != $ac_func;
64249 return 0;
64251 _ACEOF
64252 rm -f conftest.$ac_objext conftest$ac_exeext
64253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64254 (eval $ac_link) 2>conftest.er1
64255 ac_status=$?
64256 grep -v '^ *+' conftest.er1 >conftest.err
64257 rm -f conftest.er1
64258 cat conftest.err >&5
64259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64260 (exit $ac_status); } &&
64261 { ac_try='test -z "$ac_c_werror_flag"
64262 || test ! -s conftest.err'
64263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64264 (eval $ac_try) 2>&5
64265 ac_status=$?
64266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64267 (exit $ac_status); }; } &&
64268 { ac_try='test -s conftest$ac_exeext'
64269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64270 (eval $ac_try) 2>&5
64271 ac_status=$?
64272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64273 (exit $ac_status); }; }; then
64274 eval "$as_ac_var=yes"
64275 else
64276 echo "$as_me: failed program was:" >&5
64277 sed 's/^/| /' conftest.$ac_ext >&5
64279 eval "$as_ac_var=no"
64281 rm -f conftest.err conftest.$ac_objext \
64282 conftest$ac_exeext conftest.$ac_ext
64284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64286 if test `eval echo '${'$as_ac_var'}'` = yes; then
64287 cat >>confdefs.h <<_ACEOF
64288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64289 _ACEOF
64292 done
64294 else
64296 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
64297 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
64298 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64299 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
64300 echo $ECHO_N "(cached) $ECHO_C" >&6
64301 else
64305 ac_ext=cc
64306 ac_cpp='$CXXCPP $CPPFLAGS'
64307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64311 cat >conftest.$ac_ext <<_ACEOF
64312 /* confdefs.h. */
64313 _ACEOF
64314 cat confdefs.h >>conftest.$ac_ext
64315 cat >>conftest.$ac_ext <<_ACEOF
64316 /* end confdefs.h. */
64317 #include <math.h>
64318 #ifdef HAVE_IEEEFP_H
64319 #include <ieeefp.h>
64320 #endif
64323 main ()
64325 _isnanl(0);
64327 return 0;
64329 _ACEOF
64330 rm -f conftest.$ac_objext
64331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64332 (eval $ac_compile) 2>conftest.er1
64333 ac_status=$?
64334 grep -v '^ *+' conftest.er1 >conftest.err
64335 rm -f conftest.er1
64336 cat conftest.err >&5
64337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64338 (exit $ac_status); } &&
64339 { ac_try='test -z "$ac_cxx_werror_flag"
64340 || test ! -s conftest.err'
64341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64342 (eval $ac_try) 2>&5
64343 ac_status=$?
64344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64345 (exit $ac_status); }; } &&
64346 { ac_try='test -s conftest.$ac_objext'
64347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64348 (eval $ac_try) 2>&5
64349 ac_status=$?
64350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64351 (exit $ac_status); }; }; then
64352 glibcxx_cv_func__isnanl_use=yes
64353 else
64354 echo "$as_me: failed program was:" >&5
64355 sed 's/^/| /' conftest.$ac_ext >&5
64357 glibcxx_cv_func__isnanl_use=no
64359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64360 ac_ext=c
64361 ac_cpp='$CPP $CPPFLAGS'
64362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64370 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
64371 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
64373 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64375 for ac_func in _isnanl
64377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64378 echo "$as_me:$LINENO: checking for $ac_func" >&5
64379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64380 if eval "test \"\${$as_ac_var+set}\" = set"; then
64381 echo $ECHO_N "(cached) $ECHO_C" >&6
64382 else
64383 if test x$gcc_no_link = xyes; then
64384 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64386 { (exit 1); exit 1; }; }
64388 cat >conftest.$ac_ext <<_ACEOF
64389 /* confdefs.h. */
64390 _ACEOF
64391 cat confdefs.h >>conftest.$ac_ext
64392 cat >>conftest.$ac_ext <<_ACEOF
64393 /* end confdefs.h. */
64394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64396 #define $ac_func innocuous_$ac_func
64398 /* System header to define __stub macros and hopefully few prototypes,
64399 which can conflict with char $ac_func (); below.
64400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64401 <limits.h> exists even on freestanding compilers. */
64403 #ifdef __STDC__
64404 # include <limits.h>
64405 #else
64406 # include <assert.h>
64407 #endif
64409 #undef $ac_func
64411 /* Override any gcc2 internal prototype to avoid an error. */
64412 #ifdef __cplusplus
64413 extern "C"
64415 #endif
64416 /* We use char because int might match the return type of a gcc2
64417 builtin and then its argument prototype would still apply. */
64418 char $ac_func ();
64419 /* The GNU C library defines this for functions which it implements
64420 to always fail with ENOSYS. Some functions are actually named
64421 something starting with __ and the normal name is an alias. */
64422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64423 choke me
64424 #else
64425 char (*f) () = $ac_func;
64426 #endif
64427 #ifdef __cplusplus
64429 #endif
64432 main ()
64434 return f != $ac_func;
64436 return 0;
64438 _ACEOF
64439 rm -f conftest.$ac_objext conftest$ac_exeext
64440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64441 (eval $ac_link) 2>conftest.er1
64442 ac_status=$?
64443 grep -v '^ *+' conftest.er1 >conftest.err
64444 rm -f conftest.er1
64445 cat conftest.err >&5
64446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64447 (exit $ac_status); } &&
64448 { ac_try='test -z "$ac_c_werror_flag"
64449 || test ! -s conftest.err'
64450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64451 (eval $ac_try) 2>&5
64452 ac_status=$?
64453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64454 (exit $ac_status); }; } &&
64455 { ac_try='test -s conftest$ac_exeext'
64456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64457 (eval $ac_try) 2>&5
64458 ac_status=$?
64459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64460 (exit $ac_status); }; }; then
64461 eval "$as_ac_var=yes"
64462 else
64463 echo "$as_me: failed program was:" >&5
64464 sed 's/^/| /' conftest.$ac_ext >&5
64466 eval "$as_ac_var=no"
64468 rm -f conftest.err conftest.$ac_objext \
64469 conftest$ac_exeext conftest.$ac_ext
64471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64473 if test `eval echo '${'$as_ac_var'}'` = yes; then
64474 cat >>confdefs.h <<_ACEOF
64475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64476 _ACEOF
64479 done
64489 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
64490 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
64491 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64492 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
64493 echo $ECHO_N "(cached) $ECHO_C" >&6
64494 else
64498 ac_ext=cc
64499 ac_cpp='$CXXCPP $CPPFLAGS'
64500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64504 cat >conftest.$ac_ext <<_ACEOF
64505 /* confdefs.h. */
64506 _ACEOF
64507 cat confdefs.h >>conftest.$ac_ext
64508 cat >>conftest.$ac_ext <<_ACEOF
64509 /* end confdefs.h. */
64510 #include <math.h>
64511 #ifdef HAVE_IEEEFP_H
64512 #include <ieeefp.h>
64513 #endif
64516 main ()
64518 isinfl(0);
64520 return 0;
64522 _ACEOF
64523 rm -f conftest.$ac_objext
64524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64525 (eval $ac_compile) 2>conftest.er1
64526 ac_status=$?
64527 grep -v '^ *+' conftest.er1 >conftest.err
64528 rm -f conftest.er1
64529 cat conftest.err >&5
64530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64531 (exit $ac_status); } &&
64532 { ac_try='test -z "$ac_cxx_werror_flag"
64533 || test ! -s conftest.err'
64534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64535 (eval $ac_try) 2>&5
64536 ac_status=$?
64537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64538 (exit $ac_status); }; } &&
64539 { ac_try='test -s conftest.$ac_objext'
64540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64541 (eval $ac_try) 2>&5
64542 ac_status=$?
64543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64544 (exit $ac_status); }; }; then
64545 glibcxx_cv_func_isinfl_use=yes
64546 else
64547 echo "$as_me: failed program was:" >&5
64548 sed 's/^/| /' conftest.$ac_ext >&5
64550 glibcxx_cv_func_isinfl_use=no
64552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64553 ac_ext=c
64554 ac_cpp='$CPP $CPPFLAGS'
64555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64563 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
64564 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
64566 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64568 for ac_func in isinfl
64570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64571 echo "$as_me:$LINENO: checking for $ac_func" >&5
64572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64573 if eval "test \"\${$as_ac_var+set}\" = set"; then
64574 echo $ECHO_N "(cached) $ECHO_C" >&6
64575 else
64576 if test x$gcc_no_link = xyes; then
64577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64579 { (exit 1); exit 1; }; }
64581 cat >conftest.$ac_ext <<_ACEOF
64582 /* confdefs.h. */
64583 _ACEOF
64584 cat confdefs.h >>conftest.$ac_ext
64585 cat >>conftest.$ac_ext <<_ACEOF
64586 /* end confdefs.h. */
64587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64589 #define $ac_func innocuous_$ac_func
64591 /* System header to define __stub macros and hopefully few prototypes,
64592 which can conflict with char $ac_func (); below.
64593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64594 <limits.h> exists even on freestanding compilers. */
64596 #ifdef __STDC__
64597 # include <limits.h>
64598 #else
64599 # include <assert.h>
64600 #endif
64602 #undef $ac_func
64604 /* Override any gcc2 internal prototype to avoid an error. */
64605 #ifdef __cplusplus
64606 extern "C"
64608 #endif
64609 /* We use char because int might match the return type of a gcc2
64610 builtin and then its argument prototype would still apply. */
64611 char $ac_func ();
64612 /* The GNU C library defines this for functions which it implements
64613 to always fail with ENOSYS. Some functions are actually named
64614 something starting with __ and the normal name is an alias. */
64615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64616 choke me
64617 #else
64618 char (*f) () = $ac_func;
64619 #endif
64620 #ifdef __cplusplus
64622 #endif
64625 main ()
64627 return f != $ac_func;
64629 return 0;
64631 _ACEOF
64632 rm -f conftest.$ac_objext conftest$ac_exeext
64633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64634 (eval $ac_link) 2>conftest.er1
64635 ac_status=$?
64636 grep -v '^ *+' conftest.er1 >conftest.err
64637 rm -f conftest.er1
64638 cat conftest.err >&5
64639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64640 (exit $ac_status); } &&
64641 { ac_try='test -z "$ac_c_werror_flag"
64642 || test ! -s conftest.err'
64643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64644 (eval $ac_try) 2>&5
64645 ac_status=$?
64646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64647 (exit $ac_status); }; } &&
64648 { ac_try='test -s conftest$ac_exeext'
64649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64650 (eval $ac_try) 2>&5
64651 ac_status=$?
64652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64653 (exit $ac_status); }; }; then
64654 eval "$as_ac_var=yes"
64655 else
64656 echo "$as_me: failed program was:" >&5
64657 sed 's/^/| /' conftest.$ac_ext >&5
64659 eval "$as_ac_var=no"
64661 rm -f conftest.err conftest.$ac_objext \
64662 conftest$ac_exeext conftest.$ac_ext
64664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64666 if test `eval echo '${'$as_ac_var'}'` = yes; then
64667 cat >>confdefs.h <<_ACEOF
64668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64669 _ACEOF
64672 done
64674 else
64676 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
64677 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
64678 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64679 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
64680 echo $ECHO_N "(cached) $ECHO_C" >&6
64681 else
64685 ac_ext=cc
64686 ac_cpp='$CXXCPP $CPPFLAGS'
64687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64691 cat >conftest.$ac_ext <<_ACEOF
64692 /* confdefs.h. */
64693 _ACEOF
64694 cat confdefs.h >>conftest.$ac_ext
64695 cat >>conftest.$ac_ext <<_ACEOF
64696 /* end confdefs.h. */
64697 #include <math.h>
64698 #ifdef HAVE_IEEEFP_H
64699 #include <ieeefp.h>
64700 #endif
64703 main ()
64705 _isinfl(0);
64707 return 0;
64709 _ACEOF
64710 rm -f conftest.$ac_objext
64711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64712 (eval $ac_compile) 2>conftest.er1
64713 ac_status=$?
64714 grep -v '^ *+' conftest.er1 >conftest.err
64715 rm -f conftest.er1
64716 cat conftest.err >&5
64717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64718 (exit $ac_status); } &&
64719 { ac_try='test -z "$ac_cxx_werror_flag"
64720 || test ! -s conftest.err'
64721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64722 (eval $ac_try) 2>&5
64723 ac_status=$?
64724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64725 (exit $ac_status); }; } &&
64726 { ac_try='test -s conftest.$ac_objext'
64727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64728 (eval $ac_try) 2>&5
64729 ac_status=$?
64730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64731 (exit $ac_status); }; }; then
64732 glibcxx_cv_func__isinfl_use=yes
64733 else
64734 echo "$as_me: failed program was:" >&5
64735 sed 's/^/| /' conftest.$ac_ext >&5
64737 glibcxx_cv_func__isinfl_use=no
64739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64740 ac_ext=c
64741 ac_cpp='$CPP $CPPFLAGS'
64742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64750 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
64751 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
64753 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64755 for ac_func in _isinfl
64757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64758 echo "$as_me:$LINENO: checking for $ac_func" >&5
64759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64760 if eval "test \"\${$as_ac_var+set}\" = set"; then
64761 echo $ECHO_N "(cached) $ECHO_C" >&6
64762 else
64763 if test x$gcc_no_link = xyes; then
64764 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64766 { (exit 1); exit 1; }; }
64768 cat >conftest.$ac_ext <<_ACEOF
64769 /* confdefs.h. */
64770 _ACEOF
64771 cat confdefs.h >>conftest.$ac_ext
64772 cat >>conftest.$ac_ext <<_ACEOF
64773 /* end confdefs.h. */
64774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64776 #define $ac_func innocuous_$ac_func
64778 /* System header to define __stub macros and hopefully few prototypes,
64779 which can conflict with char $ac_func (); below.
64780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64781 <limits.h> exists even on freestanding compilers. */
64783 #ifdef __STDC__
64784 # include <limits.h>
64785 #else
64786 # include <assert.h>
64787 #endif
64789 #undef $ac_func
64791 /* Override any gcc2 internal prototype to avoid an error. */
64792 #ifdef __cplusplus
64793 extern "C"
64795 #endif
64796 /* We use char because int might match the return type of a gcc2
64797 builtin and then its argument prototype would still apply. */
64798 char $ac_func ();
64799 /* The GNU C library defines this for functions which it implements
64800 to always fail with ENOSYS. Some functions are actually named
64801 something starting with __ and the normal name is an alias. */
64802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64803 choke me
64804 #else
64805 char (*f) () = $ac_func;
64806 #endif
64807 #ifdef __cplusplus
64809 #endif
64812 main ()
64814 return f != $ac_func;
64816 return 0;
64818 _ACEOF
64819 rm -f conftest.$ac_objext conftest$ac_exeext
64820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64821 (eval $ac_link) 2>conftest.er1
64822 ac_status=$?
64823 grep -v '^ *+' conftest.er1 >conftest.err
64824 rm -f conftest.er1
64825 cat conftest.err >&5
64826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64827 (exit $ac_status); } &&
64828 { ac_try='test -z "$ac_c_werror_flag"
64829 || test ! -s conftest.err'
64830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64831 (eval $ac_try) 2>&5
64832 ac_status=$?
64833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64834 (exit $ac_status); }; } &&
64835 { ac_try='test -s conftest$ac_exeext'
64836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64837 (eval $ac_try) 2>&5
64838 ac_status=$?
64839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64840 (exit $ac_status); }; }; then
64841 eval "$as_ac_var=yes"
64842 else
64843 echo "$as_me: failed program was:" >&5
64844 sed 's/^/| /' conftest.$ac_ext >&5
64846 eval "$as_ac_var=no"
64848 rm -f conftest.err conftest.$ac_objext \
64849 conftest$ac_exeext conftest.$ac_ext
64851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64853 if test `eval echo '${'$as_ac_var'}'` = yes; then
64854 cat >>confdefs.h <<_ACEOF
64855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64856 _ACEOF
64859 done
64869 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
64870 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
64871 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
64872 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
64873 echo $ECHO_N "(cached) $ECHO_C" >&6
64874 else
64878 ac_ext=cc
64879 ac_cpp='$CXXCPP $CPPFLAGS'
64880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64884 cat >conftest.$ac_ext <<_ACEOF
64885 /* confdefs.h. */
64886 _ACEOF
64887 cat confdefs.h >>conftest.$ac_ext
64888 cat >>conftest.$ac_ext <<_ACEOF
64889 /* end confdefs.h. */
64890 #include <math.h>
64892 main ()
64894 copysignl(0, 0);
64896 return 0;
64898 _ACEOF
64899 rm -f conftest.$ac_objext
64900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64901 (eval $ac_compile) 2>conftest.er1
64902 ac_status=$?
64903 grep -v '^ *+' conftest.er1 >conftest.err
64904 rm -f conftest.er1
64905 cat conftest.err >&5
64906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64907 (exit $ac_status); } &&
64908 { ac_try='test -z "$ac_cxx_werror_flag"
64909 || test ! -s conftest.err'
64910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64911 (eval $ac_try) 2>&5
64912 ac_status=$?
64913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64914 (exit $ac_status); }; } &&
64915 { ac_try='test -s conftest.$ac_objext'
64916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64917 (eval $ac_try) 2>&5
64918 ac_status=$?
64919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64920 (exit $ac_status); }; }; then
64921 glibcxx_cv_func_copysignl_use=yes
64922 else
64923 echo "$as_me: failed program was:" >&5
64924 sed 's/^/| /' conftest.$ac_ext >&5
64926 glibcxx_cv_func_copysignl_use=no
64928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64929 ac_ext=c
64930 ac_cpp='$CPP $CPPFLAGS'
64931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64939 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
64940 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
64942 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
64944 for ac_func in copysignl
64946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64947 echo "$as_me:$LINENO: checking for $ac_func" >&5
64948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64949 if eval "test \"\${$as_ac_var+set}\" = set"; then
64950 echo $ECHO_N "(cached) $ECHO_C" >&6
64951 else
64952 if test x$gcc_no_link = xyes; then
64953 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64955 { (exit 1); exit 1; }; }
64957 cat >conftest.$ac_ext <<_ACEOF
64958 /* confdefs.h. */
64959 _ACEOF
64960 cat confdefs.h >>conftest.$ac_ext
64961 cat >>conftest.$ac_ext <<_ACEOF
64962 /* end confdefs.h. */
64963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64965 #define $ac_func innocuous_$ac_func
64967 /* System header to define __stub macros and hopefully few prototypes,
64968 which can conflict with char $ac_func (); below.
64969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64970 <limits.h> exists even on freestanding compilers. */
64972 #ifdef __STDC__
64973 # include <limits.h>
64974 #else
64975 # include <assert.h>
64976 #endif
64978 #undef $ac_func
64980 /* Override any gcc2 internal prototype to avoid an error. */
64981 #ifdef __cplusplus
64982 extern "C"
64984 #endif
64985 /* We use char because int might match the return type of a gcc2
64986 builtin and then its argument prototype would still apply. */
64987 char $ac_func ();
64988 /* The GNU C library defines this for functions which it implements
64989 to always fail with ENOSYS. Some functions are actually named
64990 something starting with __ and the normal name is an alias. */
64991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64992 choke me
64993 #else
64994 char (*f) () = $ac_func;
64995 #endif
64996 #ifdef __cplusplus
64998 #endif
65001 main ()
65003 return f != $ac_func;
65005 return 0;
65007 _ACEOF
65008 rm -f conftest.$ac_objext conftest$ac_exeext
65009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65010 (eval $ac_link) 2>conftest.er1
65011 ac_status=$?
65012 grep -v '^ *+' conftest.er1 >conftest.err
65013 rm -f conftest.er1
65014 cat conftest.err >&5
65015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65016 (exit $ac_status); } &&
65017 { ac_try='test -z "$ac_c_werror_flag"
65018 || test ! -s conftest.err'
65019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65020 (eval $ac_try) 2>&5
65021 ac_status=$?
65022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65023 (exit $ac_status); }; } &&
65024 { ac_try='test -s conftest$ac_exeext'
65025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65026 (eval $ac_try) 2>&5
65027 ac_status=$?
65028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65029 (exit $ac_status); }; }; then
65030 eval "$as_ac_var=yes"
65031 else
65032 echo "$as_me: failed program was:" >&5
65033 sed 's/^/| /' conftest.$ac_ext >&5
65035 eval "$as_ac_var=no"
65037 rm -f conftest.err conftest.$ac_objext \
65038 conftest$ac_exeext conftest.$ac_ext
65040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65042 if test `eval echo '${'$as_ac_var'}'` = yes; then
65043 cat >>confdefs.h <<_ACEOF
65044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65045 _ACEOF
65048 done
65050 else
65052 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
65053 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
65054 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
65055 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
65056 echo $ECHO_N "(cached) $ECHO_C" >&6
65057 else
65061 ac_ext=cc
65062 ac_cpp='$CXXCPP $CPPFLAGS'
65063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65067 cat >conftest.$ac_ext <<_ACEOF
65068 /* confdefs.h. */
65069 _ACEOF
65070 cat confdefs.h >>conftest.$ac_ext
65071 cat >>conftest.$ac_ext <<_ACEOF
65072 /* end confdefs.h. */
65073 #include <math.h>
65075 main ()
65077 _copysignl(0, 0);
65079 return 0;
65081 _ACEOF
65082 rm -f conftest.$ac_objext
65083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65084 (eval $ac_compile) 2>conftest.er1
65085 ac_status=$?
65086 grep -v '^ *+' conftest.er1 >conftest.err
65087 rm -f conftest.er1
65088 cat conftest.err >&5
65089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65090 (exit $ac_status); } &&
65091 { ac_try='test -z "$ac_cxx_werror_flag"
65092 || test ! -s conftest.err'
65093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65094 (eval $ac_try) 2>&5
65095 ac_status=$?
65096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65097 (exit $ac_status); }; } &&
65098 { ac_try='test -s conftest.$ac_objext'
65099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65100 (eval $ac_try) 2>&5
65101 ac_status=$?
65102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65103 (exit $ac_status); }; }; then
65104 glibcxx_cv_func__copysignl_use=yes
65105 else
65106 echo "$as_me: failed program was:" >&5
65107 sed 's/^/| /' conftest.$ac_ext >&5
65109 glibcxx_cv_func__copysignl_use=no
65111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65112 ac_ext=c
65113 ac_cpp='$CPP $CPPFLAGS'
65114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65122 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
65123 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
65125 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
65127 for ac_func in _copysignl
65129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65130 echo "$as_me:$LINENO: checking for $ac_func" >&5
65131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65132 if eval "test \"\${$as_ac_var+set}\" = set"; then
65133 echo $ECHO_N "(cached) $ECHO_C" >&6
65134 else
65135 if test x$gcc_no_link = xyes; then
65136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65138 { (exit 1); exit 1; }; }
65140 cat >conftest.$ac_ext <<_ACEOF
65141 /* confdefs.h. */
65142 _ACEOF
65143 cat confdefs.h >>conftest.$ac_ext
65144 cat >>conftest.$ac_ext <<_ACEOF
65145 /* end confdefs.h. */
65146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65148 #define $ac_func innocuous_$ac_func
65150 /* System header to define __stub macros and hopefully few prototypes,
65151 which can conflict with char $ac_func (); below.
65152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65153 <limits.h> exists even on freestanding compilers. */
65155 #ifdef __STDC__
65156 # include <limits.h>
65157 #else
65158 # include <assert.h>
65159 #endif
65161 #undef $ac_func
65163 /* Override any gcc2 internal prototype to avoid an error. */
65164 #ifdef __cplusplus
65165 extern "C"
65167 #endif
65168 /* We use char because int might match the return type of a gcc2
65169 builtin and then its argument prototype would still apply. */
65170 char $ac_func ();
65171 /* The GNU C library defines this for functions which it implements
65172 to always fail with ENOSYS. Some functions are actually named
65173 something starting with __ and the normal name is an alias. */
65174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65175 choke me
65176 #else
65177 char (*f) () = $ac_func;
65178 #endif
65179 #ifdef __cplusplus
65181 #endif
65184 main ()
65186 return f != $ac_func;
65188 return 0;
65190 _ACEOF
65191 rm -f conftest.$ac_objext conftest$ac_exeext
65192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65193 (eval $ac_link) 2>conftest.er1
65194 ac_status=$?
65195 grep -v '^ *+' conftest.er1 >conftest.err
65196 rm -f conftest.er1
65197 cat conftest.err >&5
65198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65199 (exit $ac_status); } &&
65200 { ac_try='test -z "$ac_c_werror_flag"
65201 || test ! -s conftest.err'
65202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65203 (eval $ac_try) 2>&5
65204 ac_status=$?
65205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65206 (exit $ac_status); }; } &&
65207 { ac_try='test -s conftest$ac_exeext'
65208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65209 (eval $ac_try) 2>&5
65210 ac_status=$?
65211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65212 (exit $ac_status); }; }; then
65213 eval "$as_ac_var=yes"
65214 else
65215 echo "$as_me: failed program was:" >&5
65216 sed 's/^/| /' conftest.$ac_ext >&5
65218 eval "$as_ac_var=no"
65220 rm -f conftest.err conftest.$ac_objext \
65221 conftest$ac_exeext conftest.$ac_ext
65223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65225 if test `eval echo '${'$as_ac_var'}'` = yes; then
65226 cat >>confdefs.h <<_ACEOF
65227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65228 _ACEOF
65231 done
65241 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
65242 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
65243 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
65244 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
65245 echo $ECHO_N "(cached) $ECHO_C" >&6
65246 else
65250 ac_ext=cc
65251 ac_cpp='$CXXCPP $CPPFLAGS'
65252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65256 cat >conftest.$ac_ext <<_ACEOF
65257 /* confdefs.h. */
65258 _ACEOF
65259 cat confdefs.h >>conftest.$ac_ext
65260 cat >>conftest.$ac_ext <<_ACEOF
65261 /* end confdefs.h. */
65262 #include <math.h>
65264 main ()
65266 atan2l(0, 0);
65268 return 0;
65270 _ACEOF
65271 rm -f conftest.$ac_objext
65272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65273 (eval $ac_compile) 2>conftest.er1
65274 ac_status=$?
65275 grep -v '^ *+' conftest.er1 >conftest.err
65276 rm -f conftest.er1
65277 cat conftest.err >&5
65278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65279 (exit $ac_status); } &&
65280 { ac_try='test -z "$ac_cxx_werror_flag"
65281 || test ! -s conftest.err'
65282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65283 (eval $ac_try) 2>&5
65284 ac_status=$?
65285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65286 (exit $ac_status); }; } &&
65287 { ac_try='test -s conftest.$ac_objext'
65288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65289 (eval $ac_try) 2>&5
65290 ac_status=$?
65291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65292 (exit $ac_status); }; }; then
65293 glibcxx_cv_func_atan2l_use=yes
65294 else
65295 echo "$as_me: failed program was:" >&5
65296 sed 's/^/| /' conftest.$ac_ext >&5
65298 glibcxx_cv_func_atan2l_use=no
65300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65301 ac_ext=c
65302 ac_cpp='$CPP $CPPFLAGS'
65303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65311 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
65312 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
65314 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
65316 for ac_func in atan2l
65318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65319 echo "$as_me:$LINENO: checking for $ac_func" >&5
65320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65321 if eval "test \"\${$as_ac_var+set}\" = set"; then
65322 echo $ECHO_N "(cached) $ECHO_C" >&6
65323 else
65324 if test x$gcc_no_link = xyes; then
65325 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65327 { (exit 1); exit 1; }; }
65329 cat >conftest.$ac_ext <<_ACEOF
65330 /* confdefs.h. */
65331 _ACEOF
65332 cat confdefs.h >>conftest.$ac_ext
65333 cat >>conftest.$ac_ext <<_ACEOF
65334 /* end confdefs.h. */
65335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65336 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65337 #define $ac_func innocuous_$ac_func
65339 /* System header to define __stub macros and hopefully few prototypes,
65340 which can conflict with char $ac_func (); below.
65341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65342 <limits.h> exists even on freestanding compilers. */
65344 #ifdef __STDC__
65345 # include <limits.h>
65346 #else
65347 # include <assert.h>
65348 #endif
65350 #undef $ac_func
65352 /* Override any gcc2 internal prototype to avoid an error. */
65353 #ifdef __cplusplus
65354 extern "C"
65356 #endif
65357 /* We use char because int might match the return type of a gcc2
65358 builtin and then its argument prototype would still apply. */
65359 char $ac_func ();
65360 /* The GNU C library defines this for functions which it implements
65361 to always fail with ENOSYS. Some functions are actually named
65362 something starting with __ and the normal name is an alias. */
65363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65364 choke me
65365 #else
65366 char (*f) () = $ac_func;
65367 #endif
65368 #ifdef __cplusplus
65370 #endif
65373 main ()
65375 return f != $ac_func;
65377 return 0;
65379 _ACEOF
65380 rm -f conftest.$ac_objext conftest$ac_exeext
65381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65382 (eval $ac_link) 2>conftest.er1
65383 ac_status=$?
65384 grep -v '^ *+' conftest.er1 >conftest.err
65385 rm -f conftest.er1
65386 cat conftest.err >&5
65387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65388 (exit $ac_status); } &&
65389 { ac_try='test -z "$ac_c_werror_flag"
65390 || test ! -s conftest.err'
65391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65392 (eval $ac_try) 2>&5
65393 ac_status=$?
65394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65395 (exit $ac_status); }; } &&
65396 { ac_try='test -s conftest$ac_exeext'
65397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65398 (eval $ac_try) 2>&5
65399 ac_status=$?
65400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65401 (exit $ac_status); }; }; then
65402 eval "$as_ac_var=yes"
65403 else
65404 echo "$as_me: failed program was:" >&5
65405 sed 's/^/| /' conftest.$ac_ext >&5
65407 eval "$as_ac_var=no"
65409 rm -f conftest.err conftest.$ac_objext \
65410 conftest$ac_exeext conftest.$ac_ext
65412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65414 if test `eval echo '${'$as_ac_var'}'` = yes; then
65415 cat >>confdefs.h <<_ACEOF
65416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65417 _ACEOF
65420 done
65422 else
65424 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
65425 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
65426 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
65427 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
65428 echo $ECHO_N "(cached) $ECHO_C" >&6
65429 else
65433 ac_ext=cc
65434 ac_cpp='$CXXCPP $CPPFLAGS'
65435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65439 cat >conftest.$ac_ext <<_ACEOF
65440 /* confdefs.h. */
65441 _ACEOF
65442 cat confdefs.h >>conftest.$ac_ext
65443 cat >>conftest.$ac_ext <<_ACEOF
65444 /* end confdefs.h. */
65445 #include <math.h>
65447 main ()
65449 _atan2l(0, 0);
65451 return 0;
65453 _ACEOF
65454 rm -f conftest.$ac_objext
65455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65456 (eval $ac_compile) 2>conftest.er1
65457 ac_status=$?
65458 grep -v '^ *+' conftest.er1 >conftest.err
65459 rm -f conftest.er1
65460 cat conftest.err >&5
65461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65462 (exit $ac_status); } &&
65463 { ac_try='test -z "$ac_cxx_werror_flag"
65464 || test ! -s conftest.err'
65465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65466 (eval $ac_try) 2>&5
65467 ac_status=$?
65468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65469 (exit $ac_status); }; } &&
65470 { ac_try='test -s conftest.$ac_objext'
65471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65472 (eval $ac_try) 2>&5
65473 ac_status=$?
65474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65475 (exit $ac_status); }; }; then
65476 glibcxx_cv_func__atan2l_use=yes
65477 else
65478 echo "$as_me: failed program was:" >&5
65479 sed 's/^/| /' conftest.$ac_ext >&5
65481 glibcxx_cv_func__atan2l_use=no
65483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65484 ac_ext=c
65485 ac_cpp='$CPP $CPPFLAGS'
65486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65494 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
65495 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
65497 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
65499 for ac_func in _atan2l
65501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65502 echo "$as_me:$LINENO: checking for $ac_func" >&5
65503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65504 if eval "test \"\${$as_ac_var+set}\" = set"; then
65505 echo $ECHO_N "(cached) $ECHO_C" >&6
65506 else
65507 if test x$gcc_no_link = xyes; then
65508 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65510 { (exit 1); exit 1; }; }
65512 cat >conftest.$ac_ext <<_ACEOF
65513 /* confdefs.h. */
65514 _ACEOF
65515 cat confdefs.h >>conftest.$ac_ext
65516 cat >>conftest.$ac_ext <<_ACEOF
65517 /* end confdefs.h. */
65518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65520 #define $ac_func innocuous_$ac_func
65522 /* System header to define __stub macros and hopefully few prototypes,
65523 which can conflict with char $ac_func (); below.
65524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65525 <limits.h> exists even on freestanding compilers. */
65527 #ifdef __STDC__
65528 # include <limits.h>
65529 #else
65530 # include <assert.h>
65531 #endif
65533 #undef $ac_func
65535 /* Override any gcc2 internal prototype to avoid an error. */
65536 #ifdef __cplusplus
65537 extern "C"
65539 #endif
65540 /* We use char because int might match the return type of a gcc2
65541 builtin and then its argument prototype would still apply. */
65542 char $ac_func ();
65543 /* The GNU C library defines this for functions which it implements
65544 to always fail with ENOSYS. Some functions are actually named
65545 something starting with __ and the normal name is an alias. */
65546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65547 choke me
65548 #else
65549 char (*f) () = $ac_func;
65550 #endif
65551 #ifdef __cplusplus
65553 #endif
65556 main ()
65558 return f != $ac_func;
65560 return 0;
65562 _ACEOF
65563 rm -f conftest.$ac_objext conftest$ac_exeext
65564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65565 (eval $ac_link) 2>conftest.er1
65566 ac_status=$?
65567 grep -v '^ *+' conftest.er1 >conftest.err
65568 rm -f conftest.er1
65569 cat conftest.err >&5
65570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65571 (exit $ac_status); } &&
65572 { ac_try='test -z "$ac_c_werror_flag"
65573 || test ! -s conftest.err'
65574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65575 (eval $ac_try) 2>&5
65576 ac_status=$?
65577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65578 (exit $ac_status); }; } &&
65579 { ac_try='test -s conftest$ac_exeext'
65580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65581 (eval $ac_try) 2>&5
65582 ac_status=$?
65583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65584 (exit $ac_status); }; }; then
65585 eval "$as_ac_var=yes"
65586 else
65587 echo "$as_me: failed program was:" >&5
65588 sed 's/^/| /' conftest.$ac_ext >&5
65590 eval "$as_ac_var=no"
65592 rm -f conftest.err conftest.$ac_objext \
65593 conftest$ac_exeext conftest.$ac_ext
65595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65597 if test `eval echo '${'$as_ac_var'}'` = yes; then
65598 cat >>confdefs.h <<_ACEOF
65599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65600 _ACEOF
65603 done
65613 echo "$as_me:$LINENO: checking for expl declaration" >&5
65614 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
65615 if test x${glibcxx_cv_func_expl_use+set} != xset; then
65616 if test "${glibcxx_cv_func_expl_use+set}" = set; then
65617 echo $ECHO_N "(cached) $ECHO_C" >&6
65618 else
65622 ac_ext=cc
65623 ac_cpp='$CXXCPP $CPPFLAGS'
65624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65628 cat >conftest.$ac_ext <<_ACEOF
65629 /* confdefs.h. */
65630 _ACEOF
65631 cat confdefs.h >>conftest.$ac_ext
65632 cat >>conftest.$ac_ext <<_ACEOF
65633 /* end confdefs.h. */
65634 #include <math.h>
65635 #ifdef HAVE_IEEEFP_H
65636 #include <ieeefp.h>
65637 #endif
65640 main ()
65642 expl(0);
65644 return 0;
65646 _ACEOF
65647 rm -f conftest.$ac_objext
65648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65649 (eval $ac_compile) 2>conftest.er1
65650 ac_status=$?
65651 grep -v '^ *+' conftest.er1 >conftest.err
65652 rm -f conftest.er1
65653 cat conftest.err >&5
65654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65655 (exit $ac_status); } &&
65656 { ac_try='test -z "$ac_cxx_werror_flag"
65657 || test ! -s conftest.err'
65658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65659 (eval $ac_try) 2>&5
65660 ac_status=$?
65661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65662 (exit $ac_status); }; } &&
65663 { ac_try='test -s conftest.$ac_objext'
65664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65665 (eval $ac_try) 2>&5
65666 ac_status=$?
65667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65668 (exit $ac_status); }; }; then
65669 glibcxx_cv_func_expl_use=yes
65670 else
65671 echo "$as_me: failed program was:" >&5
65672 sed 's/^/| /' conftest.$ac_ext >&5
65674 glibcxx_cv_func_expl_use=no
65676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65677 ac_ext=c
65678 ac_cpp='$CPP $CPPFLAGS'
65679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65687 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
65688 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
65690 if test x$glibcxx_cv_func_expl_use = x"yes"; then
65692 for ac_func in expl
65694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65695 echo "$as_me:$LINENO: checking for $ac_func" >&5
65696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65697 if eval "test \"\${$as_ac_var+set}\" = set"; then
65698 echo $ECHO_N "(cached) $ECHO_C" >&6
65699 else
65700 if test x$gcc_no_link = xyes; then
65701 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65703 { (exit 1); exit 1; }; }
65705 cat >conftest.$ac_ext <<_ACEOF
65706 /* confdefs.h. */
65707 _ACEOF
65708 cat confdefs.h >>conftest.$ac_ext
65709 cat >>conftest.$ac_ext <<_ACEOF
65710 /* end confdefs.h. */
65711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65713 #define $ac_func innocuous_$ac_func
65715 /* System header to define __stub macros and hopefully few prototypes,
65716 which can conflict with char $ac_func (); below.
65717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65718 <limits.h> exists even on freestanding compilers. */
65720 #ifdef __STDC__
65721 # include <limits.h>
65722 #else
65723 # include <assert.h>
65724 #endif
65726 #undef $ac_func
65728 /* Override any gcc2 internal prototype to avoid an error. */
65729 #ifdef __cplusplus
65730 extern "C"
65732 #endif
65733 /* We use char because int might match the return type of a gcc2
65734 builtin and then its argument prototype would still apply. */
65735 char $ac_func ();
65736 /* The GNU C library defines this for functions which it implements
65737 to always fail with ENOSYS. Some functions are actually named
65738 something starting with __ and the normal name is an alias. */
65739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65740 choke me
65741 #else
65742 char (*f) () = $ac_func;
65743 #endif
65744 #ifdef __cplusplus
65746 #endif
65749 main ()
65751 return f != $ac_func;
65753 return 0;
65755 _ACEOF
65756 rm -f conftest.$ac_objext conftest$ac_exeext
65757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65758 (eval $ac_link) 2>conftest.er1
65759 ac_status=$?
65760 grep -v '^ *+' conftest.er1 >conftest.err
65761 rm -f conftest.er1
65762 cat conftest.err >&5
65763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65764 (exit $ac_status); } &&
65765 { ac_try='test -z "$ac_c_werror_flag"
65766 || test ! -s conftest.err'
65767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65768 (eval $ac_try) 2>&5
65769 ac_status=$?
65770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65771 (exit $ac_status); }; } &&
65772 { ac_try='test -s conftest$ac_exeext'
65773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65774 (eval $ac_try) 2>&5
65775 ac_status=$?
65776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65777 (exit $ac_status); }; }; then
65778 eval "$as_ac_var=yes"
65779 else
65780 echo "$as_me: failed program was:" >&5
65781 sed 's/^/| /' conftest.$ac_ext >&5
65783 eval "$as_ac_var=no"
65785 rm -f conftest.err conftest.$ac_objext \
65786 conftest$ac_exeext conftest.$ac_ext
65788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65789 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65790 if test `eval echo '${'$as_ac_var'}'` = yes; then
65791 cat >>confdefs.h <<_ACEOF
65792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65793 _ACEOF
65796 done
65798 else
65800 echo "$as_me:$LINENO: checking for _expl declaration" >&5
65801 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
65802 if test x${glibcxx_cv_func__expl_use+set} != xset; then
65803 if test "${glibcxx_cv_func__expl_use+set}" = set; then
65804 echo $ECHO_N "(cached) $ECHO_C" >&6
65805 else
65809 ac_ext=cc
65810 ac_cpp='$CXXCPP $CPPFLAGS'
65811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65815 cat >conftest.$ac_ext <<_ACEOF
65816 /* confdefs.h. */
65817 _ACEOF
65818 cat confdefs.h >>conftest.$ac_ext
65819 cat >>conftest.$ac_ext <<_ACEOF
65820 /* end confdefs.h. */
65821 #include <math.h>
65822 #ifdef HAVE_IEEEFP_H
65823 #include <ieeefp.h>
65824 #endif
65827 main ()
65829 _expl(0);
65831 return 0;
65833 _ACEOF
65834 rm -f conftest.$ac_objext
65835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65836 (eval $ac_compile) 2>conftest.er1
65837 ac_status=$?
65838 grep -v '^ *+' conftest.er1 >conftest.err
65839 rm -f conftest.er1
65840 cat conftest.err >&5
65841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65842 (exit $ac_status); } &&
65843 { ac_try='test -z "$ac_cxx_werror_flag"
65844 || test ! -s conftest.err'
65845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65846 (eval $ac_try) 2>&5
65847 ac_status=$?
65848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65849 (exit $ac_status); }; } &&
65850 { ac_try='test -s conftest.$ac_objext'
65851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65852 (eval $ac_try) 2>&5
65853 ac_status=$?
65854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65855 (exit $ac_status); }; }; then
65856 glibcxx_cv_func__expl_use=yes
65857 else
65858 echo "$as_me: failed program was:" >&5
65859 sed 's/^/| /' conftest.$ac_ext >&5
65861 glibcxx_cv_func__expl_use=no
65863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65864 ac_ext=c
65865 ac_cpp='$CPP $CPPFLAGS'
65866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65874 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
65875 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
65877 if test x$glibcxx_cv_func__expl_use = x"yes"; then
65879 for ac_func in _expl
65881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65882 echo "$as_me:$LINENO: checking for $ac_func" >&5
65883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65884 if eval "test \"\${$as_ac_var+set}\" = set"; then
65885 echo $ECHO_N "(cached) $ECHO_C" >&6
65886 else
65887 if test x$gcc_no_link = xyes; then
65888 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65890 { (exit 1); exit 1; }; }
65892 cat >conftest.$ac_ext <<_ACEOF
65893 /* confdefs.h. */
65894 _ACEOF
65895 cat confdefs.h >>conftest.$ac_ext
65896 cat >>conftest.$ac_ext <<_ACEOF
65897 /* end confdefs.h. */
65898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65900 #define $ac_func innocuous_$ac_func
65902 /* System header to define __stub macros and hopefully few prototypes,
65903 which can conflict with char $ac_func (); below.
65904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65905 <limits.h> exists even on freestanding compilers. */
65907 #ifdef __STDC__
65908 # include <limits.h>
65909 #else
65910 # include <assert.h>
65911 #endif
65913 #undef $ac_func
65915 /* Override any gcc2 internal prototype to avoid an error. */
65916 #ifdef __cplusplus
65917 extern "C"
65919 #endif
65920 /* We use char because int might match the return type of a gcc2
65921 builtin and then its argument prototype would still apply. */
65922 char $ac_func ();
65923 /* The GNU C library defines this for functions which it implements
65924 to always fail with ENOSYS. Some functions are actually named
65925 something starting with __ and the normal name is an alias. */
65926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65927 choke me
65928 #else
65929 char (*f) () = $ac_func;
65930 #endif
65931 #ifdef __cplusplus
65933 #endif
65936 main ()
65938 return f != $ac_func;
65940 return 0;
65942 _ACEOF
65943 rm -f conftest.$ac_objext conftest$ac_exeext
65944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65945 (eval $ac_link) 2>conftest.er1
65946 ac_status=$?
65947 grep -v '^ *+' conftest.er1 >conftest.err
65948 rm -f conftest.er1
65949 cat conftest.err >&5
65950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65951 (exit $ac_status); } &&
65952 { ac_try='test -z "$ac_c_werror_flag"
65953 || test ! -s conftest.err'
65954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65955 (eval $ac_try) 2>&5
65956 ac_status=$?
65957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65958 (exit $ac_status); }; } &&
65959 { ac_try='test -s conftest$ac_exeext'
65960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65961 (eval $ac_try) 2>&5
65962 ac_status=$?
65963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65964 (exit $ac_status); }; }; then
65965 eval "$as_ac_var=yes"
65966 else
65967 echo "$as_me: failed program was:" >&5
65968 sed 's/^/| /' conftest.$ac_ext >&5
65970 eval "$as_ac_var=no"
65972 rm -f conftest.err conftest.$ac_objext \
65973 conftest$ac_exeext conftest.$ac_ext
65975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65977 if test `eval echo '${'$as_ac_var'}'` = yes; then
65978 cat >>confdefs.h <<_ACEOF
65979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65980 _ACEOF
65983 done
65993 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
65994 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
65995 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
65996 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
65997 echo $ECHO_N "(cached) $ECHO_C" >&6
65998 else
66002 ac_ext=cc
66003 ac_cpp='$CXXCPP $CPPFLAGS'
66004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66008 cat >conftest.$ac_ext <<_ACEOF
66009 /* confdefs.h. */
66010 _ACEOF
66011 cat confdefs.h >>conftest.$ac_ext
66012 cat >>conftest.$ac_ext <<_ACEOF
66013 /* end confdefs.h. */
66014 #include <math.h>
66015 #ifdef HAVE_IEEEFP_H
66016 #include <ieeefp.h>
66017 #endif
66020 main ()
66022 fabsl(0);
66024 return 0;
66026 _ACEOF
66027 rm -f conftest.$ac_objext
66028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66029 (eval $ac_compile) 2>conftest.er1
66030 ac_status=$?
66031 grep -v '^ *+' conftest.er1 >conftest.err
66032 rm -f conftest.er1
66033 cat conftest.err >&5
66034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66035 (exit $ac_status); } &&
66036 { ac_try='test -z "$ac_cxx_werror_flag"
66037 || test ! -s conftest.err'
66038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66039 (eval $ac_try) 2>&5
66040 ac_status=$?
66041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66042 (exit $ac_status); }; } &&
66043 { ac_try='test -s conftest.$ac_objext'
66044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66045 (eval $ac_try) 2>&5
66046 ac_status=$?
66047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66048 (exit $ac_status); }; }; then
66049 glibcxx_cv_func_fabsl_use=yes
66050 else
66051 echo "$as_me: failed program was:" >&5
66052 sed 's/^/| /' conftest.$ac_ext >&5
66054 glibcxx_cv_func_fabsl_use=no
66056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66057 ac_ext=c
66058 ac_cpp='$CPP $CPPFLAGS'
66059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66067 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
66068 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
66070 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
66072 for ac_func in fabsl
66074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66075 echo "$as_me:$LINENO: checking for $ac_func" >&5
66076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66077 if eval "test \"\${$as_ac_var+set}\" = set"; then
66078 echo $ECHO_N "(cached) $ECHO_C" >&6
66079 else
66080 if test x$gcc_no_link = xyes; then
66081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66083 { (exit 1); exit 1; }; }
66085 cat >conftest.$ac_ext <<_ACEOF
66086 /* confdefs.h. */
66087 _ACEOF
66088 cat confdefs.h >>conftest.$ac_ext
66089 cat >>conftest.$ac_ext <<_ACEOF
66090 /* end confdefs.h. */
66091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66093 #define $ac_func innocuous_$ac_func
66095 /* System header to define __stub macros and hopefully few prototypes,
66096 which can conflict with char $ac_func (); below.
66097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66098 <limits.h> exists even on freestanding compilers. */
66100 #ifdef __STDC__
66101 # include <limits.h>
66102 #else
66103 # include <assert.h>
66104 #endif
66106 #undef $ac_func
66108 /* Override any gcc2 internal prototype to avoid an error. */
66109 #ifdef __cplusplus
66110 extern "C"
66112 #endif
66113 /* We use char because int might match the return type of a gcc2
66114 builtin and then its argument prototype would still apply. */
66115 char $ac_func ();
66116 /* The GNU C library defines this for functions which it implements
66117 to always fail with ENOSYS. Some functions are actually named
66118 something starting with __ and the normal name is an alias. */
66119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66120 choke me
66121 #else
66122 char (*f) () = $ac_func;
66123 #endif
66124 #ifdef __cplusplus
66126 #endif
66129 main ()
66131 return f != $ac_func;
66133 return 0;
66135 _ACEOF
66136 rm -f conftest.$ac_objext conftest$ac_exeext
66137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66138 (eval $ac_link) 2>conftest.er1
66139 ac_status=$?
66140 grep -v '^ *+' conftest.er1 >conftest.err
66141 rm -f conftest.er1
66142 cat conftest.err >&5
66143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66144 (exit $ac_status); } &&
66145 { ac_try='test -z "$ac_c_werror_flag"
66146 || test ! -s conftest.err'
66147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66148 (eval $ac_try) 2>&5
66149 ac_status=$?
66150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66151 (exit $ac_status); }; } &&
66152 { ac_try='test -s conftest$ac_exeext'
66153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66154 (eval $ac_try) 2>&5
66155 ac_status=$?
66156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66157 (exit $ac_status); }; }; then
66158 eval "$as_ac_var=yes"
66159 else
66160 echo "$as_me: failed program was:" >&5
66161 sed 's/^/| /' conftest.$ac_ext >&5
66163 eval "$as_ac_var=no"
66165 rm -f conftest.err conftest.$ac_objext \
66166 conftest$ac_exeext conftest.$ac_ext
66168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66170 if test `eval echo '${'$as_ac_var'}'` = yes; then
66171 cat >>confdefs.h <<_ACEOF
66172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66173 _ACEOF
66176 done
66178 else
66180 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
66181 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
66182 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
66183 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
66184 echo $ECHO_N "(cached) $ECHO_C" >&6
66185 else
66189 ac_ext=cc
66190 ac_cpp='$CXXCPP $CPPFLAGS'
66191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66195 cat >conftest.$ac_ext <<_ACEOF
66196 /* confdefs.h. */
66197 _ACEOF
66198 cat confdefs.h >>conftest.$ac_ext
66199 cat >>conftest.$ac_ext <<_ACEOF
66200 /* end confdefs.h. */
66201 #include <math.h>
66202 #ifdef HAVE_IEEEFP_H
66203 #include <ieeefp.h>
66204 #endif
66207 main ()
66209 _fabsl(0);
66211 return 0;
66213 _ACEOF
66214 rm -f conftest.$ac_objext
66215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66216 (eval $ac_compile) 2>conftest.er1
66217 ac_status=$?
66218 grep -v '^ *+' conftest.er1 >conftest.err
66219 rm -f conftest.er1
66220 cat conftest.err >&5
66221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66222 (exit $ac_status); } &&
66223 { ac_try='test -z "$ac_cxx_werror_flag"
66224 || test ! -s conftest.err'
66225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66226 (eval $ac_try) 2>&5
66227 ac_status=$?
66228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66229 (exit $ac_status); }; } &&
66230 { ac_try='test -s conftest.$ac_objext'
66231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66232 (eval $ac_try) 2>&5
66233 ac_status=$?
66234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66235 (exit $ac_status); }; }; then
66236 glibcxx_cv_func__fabsl_use=yes
66237 else
66238 echo "$as_me: failed program was:" >&5
66239 sed 's/^/| /' conftest.$ac_ext >&5
66241 glibcxx_cv_func__fabsl_use=no
66243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66244 ac_ext=c
66245 ac_cpp='$CPP $CPPFLAGS'
66246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66254 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
66255 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
66257 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
66259 for ac_func in _fabsl
66261 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66262 echo "$as_me:$LINENO: checking for $ac_func" >&5
66263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66264 if eval "test \"\${$as_ac_var+set}\" = set"; then
66265 echo $ECHO_N "(cached) $ECHO_C" >&6
66266 else
66267 if test x$gcc_no_link = xyes; then
66268 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66270 { (exit 1); exit 1; }; }
66272 cat >conftest.$ac_ext <<_ACEOF
66273 /* confdefs.h. */
66274 _ACEOF
66275 cat confdefs.h >>conftest.$ac_ext
66276 cat >>conftest.$ac_ext <<_ACEOF
66277 /* end confdefs.h. */
66278 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66279 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66280 #define $ac_func innocuous_$ac_func
66282 /* System header to define __stub macros and hopefully few prototypes,
66283 which can conflict with char $ac_func (); below.
66284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66285 <limits.h> exists even on freestanding compilers. */
66287 #ifdef __STDC__
66288 # include <limits.h>
66289 #else
66290 # include <assert.h>
66291 #endif
66293 #undef $ac_func
66295 /* Override any gcc2 internal prototype to avoid an error. */
66296 #ifdef __cplusplus
66297 extern "C"
66299 #endif
66300 /* We use char because int might match the return type of a gcc2
66301 builtin and then its argument prototype would still apply. */
66302 char $ac_func ();
66303 /* The GNU C library defines this for functions which it implements
66304 to always fail with ENOSYS. Some functions are actually named
66305 something starting with __ and the normal name is an alias. */
66306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66307 choke me
66308 #else
66309 char (*f) () = $ac_func;
66310 #endif
66311 #ifdef __cplusplus
66313 #endif
66316 main ()
66318 return f != $ac_func;
66320 return 0;
66322 _ACEOF
66323 rm -f conftest.$ac_objext conftest$ac_exeext
66324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66325 (eval $ac_link) 2>conftest.er1
66326 ac_status=$?
66327 grep -v '^ *+' conftest.er1 >conftest.err
66328 rm -f conftest.er1
66329 cat conftest.err >&5
66330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66331 (exit $ac_status); } &&
66332 { ac_try='test -z "$ac_c_werror_flag"
66333 || test ! -s conftest.err'
66334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66335 (eval $ac_try) 2>&5
66336 ac_status=$?
66337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66338 (exit $ac_status); }; } &&
66339 { ac_try='test -s conftest$ac_exeext'
66340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66341 (eval $ac_try) 2>&5
66342 ac_status=$?
66343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66344 (exit $ac_status); }; }; then
66345 eval "$as_ac_var=yes"
66346 else
66347 echo "$as_me: failed program was:" >&5
66348 sed 's/^/| /' conftest.$ac_ext >&5
66350 eval "$as_ac_var=no"
66352 rm -f conftest.err conftest.$ac_objext \
66353 conftest$ac_exeext conftest.$ac_ext
66355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66356 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66357 if test `eval echo '${'$as_ac_var'}'` = yes; then
66358 cat >>confdefs.h <<_ACEOF
66359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66360 _ACEOF
66363 done
66373 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
66374 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
66375 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
66376 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
66377 echo $ECHO_N "(cached) $ECHO_C" >&6
66378 else
66382 ac_ext=cc
66383 ac_cpp='$CXXCPP $CPPFLAGS'
66384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66388 cat >conftest.$ac_ext <<_ACEOF
66389 /* confdefs.h. */
66390 _ACEOF
66391 cat confdefs.h >>conftest.$ac_ext
66392 cat >>conftest.$ac_ext <<_ACEOF
66393 /* end confdefs.h. */
66394 #include <math.h>
66396 main ()
66398 fmodl(0, 0);
66400 return 0;
66402 _ACEOF
66403 rm -f conftest.$ac_objext
66404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66405 (eval $ac_compile) 2>conftest.er1
66406 ac_status=$?
66407 grep -v '^ *+' conftest.er1 >conftest.err
66408 rm -f conftest.er1
66409 cat conftest.err >&5
66410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66411 (exit $ac_status); } &&
66412 { ac_try='test -z "$ac_cxx_werror_flag"
66413 || test ! -s conftest.err'
66414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66415 (eval $ac_try) 2>&5
66416 ac_status=$?
66417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66418 (exit $ac_status); }; } &&
66419 { ac_try='test -s conftest.$ac_objext'
66420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66421 (eval $ac_try) 2>&5
66422 ac_status=$?
66423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66424 (exit $ac_status); }; }; then
66425 glibcxx_cv_func_fmodl_use=yes
66426 else
66427 echo "$as_me: failed program was:" >&5
66428 sed 's/^/| /' conftest.$ac_ext >&5
66430 glibcxx_cv_func_fmodl_use=no
66432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66433 ac_ext=c
66434 ac_cpp='$CPP $CPPFLAGS'
66435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66443 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
66444 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
66446 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
66448 for ac_func in fmodl
66450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66451 echo "$as_me:$LINENO: checking for $ac_func" >&5
66452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66453 if eval "test \"\${$as_ac_var+set}\" = set"; then
66454 echo $ECHO_N "(cached) $ECHO_C" >&6
66455 else
66456 if test x$gcc_no_link = xyes; then
66457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66459 { (exit 1); exit 1; }; }
66461 cat >conftest.$ac_ext <<_ACEOF
66462 /* confdefs.h. */
66463 _ACEOF
66464 cat confdefs.h >>conftest.$ac_ext
66465 cat >>conftest.$ac_ext <<_ACEOF
66466 /* end confdefs.h. */
66467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66469 #define $ac_func innocuous_$ac_func
66471 /* System header to define __stub macros and hopefully few prototypes,
66472 which can conflict with char $ac_func (); below.
66473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66474 <limits.h> exists even on freestanding compilers. */
66476 #ifdef __STDC__
66477 # include <limits.h>
66478 #else
66479 # include <assert.h>
66480 #endif
66482 #undef $ac_func
66484 /* Override any gcc2 internal prototype to avoid an error. */
66485 #ifdef __cplusplus
66486 extern "C"
66488 #endif
66489 /* We use char because int might match the return type of a gcc2
66490 builtin and then its argument prototype would still apply. */
66491 char $ac_func ();
66492 /* The GNU C library defines this for functions which it implements
66493 to always fail with ENOSYS. Some functions are actually named
66494 something starting with __ and the normal name is an alias. */
66495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66496 choke me
66497 #else
66498 char (*f) () = $ac_func;
66499 #endif
66500 #ifdef __cplusplus
66502 #endif
66505 main ()
66507 return f != $ac_func;
66509 return 0;
66511 _ACEOF
66512 rm -f conftest.$ac_objext conftest$ac_exeext
66513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66514 (eval $ac_link) 2>conftest.er1
66515 ac_status=$?
66516 grep -v '^ *+' conftest.er1 >conftest.err
66517 rm -f conftest.er1
66518 cat conftest.err >&5
66519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66520 (exit $ac_status); } &&
66521 { ac_try='test -z "$ac_c_werror_flag"
66522 || test ! -s conftest.err'
66523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66524 (eval $ac_try) 2>&5
66525 ac_status=$?
66526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66527 (exit $ac_status); }; } &&
66528 { ac_try='test -s conftest$ac_exeext'
66529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66530 (eval $ac_try) 2>&5
66531 ac_status=$?
66532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66533 (exit $ac_status); }; }; then
66534 eval "$as_ac_var=yes"
66535 else
66536 echo "$as_me: failed program was:" >&5
66537 sed 's/^/| /' conftest.$ac_ext >&5
66539 eval "$as_ac_var=no"
66541 rm -f conftest.err conftest.$ac_objext \
66542 conftest$ac_exeext conftest.$ac_ext
66544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66546 if test `eval echo '${'$as_ac_var'}'` = yes; then
66547 cat >>confdefs.h <<_ACEOF
66548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66549 _ACEOF
66552 done
66554 else
66556 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
66557 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
66558 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
66559 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
66560 echo $ECHO_N "(cached) $ECHO_C" >&6
66561 else
66565 ac_ext=cc
66566 ac_cpp='$CXXCPP $CPPFLAGS'
66567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66571 cat >conftest.$ac_ext <<_ACEOF
66572 /* confdefs.h. */
66573 _ACEOF
66574 cat confdefs.h >>conftest.$ac_ext
66575 cat >>conftest.$ac_ext <<_ACEOF
66576 /* end confdefs.h. */
66577 #include <math.h>
66579 main ()
66581 _fmodl(0, 0);
66583 return 0;
66585 _ACEOF
66586 rm -f conftest.$ac_objext
66587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66588 (eval $ac_compile) 2>conftest.er1
66589 ac_status=$?
66590 grep -v '^ *+' conftest.er1 >conftest.err
66591 rm -f conftest.er1
66592 cat conftest.err >&5
66593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66594 (exit $ac_status); } &&
66595 { ac_try='test -z "$ac_cxx_werror_flag"
66596 || test ! -s conftest.err'
66597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66598 (eval $ac_try) 2>&5
66599 ac_status=$?
66600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66601 (exit $ac_status); }; } &&
66602 { ac_try='test -s conftest.$ac_objext'
66603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66604 (eval $ac_try) 2>&5
66605 ac_status=$?
66606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66607 (exit $ac_status); }; }; then
66608 glibcxx_cv_func__fmodl_use=yes
66609 else
66610 echo "$as_me: failed program was:" >&5
66611 sed 's/^/| /' conftest.$ac_ext >&5
66613 glibcxx_cv_func__fmodl_use=no
66615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66616 ac_ext=c
66617 ac_cpp='$CPP $CPPFLAGS'
66618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66626 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
66627 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
66629 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
66631 for ac_func in _fmodl
66633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66634 echo "$as_me:$LINENO: checking for $ac_func" >&5
66635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66636 if eval "test \"\${$as_ac_var+set}\" = set"; then
66637 echo $ECHO_N "(cached) $ECHO_C" >&6
66638 else
66639 if test x$gcc_no_link = xyes; then
66640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66642 { (exit 1); exit 1; }; }
66644 cat >conftest.$ac_ext <<_ACEOF
66645 /* confdefs.h. */
66646 _ACEOF
66647 cat confdefs.h >>conftest.$ac_ext
66648 cat >>conftest.$ac_ext <<_ACEOF
66649 /* end confdefs.h. */
66650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66652 #define $ac_func innocuous_$ac_func
66654 /* System header to define __stub macros and hopefully few prototypes,
66655 which can conflict with char $ac_func (); below.
66656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66657 <limits.h> exists even on freestanding compilers. */
66659 #ifdef __STDC__
66660 # include <limits.h>
66661 #else
66662 # include <assert.h>
66663 #endif
66665 #undef $ac_func
66667 /* Override any gcc2 internal prototype to avoid an error. */
66668 #ifdef __cplusplus
66669 extern "C"
66671 #endif
66672 /* We use char because int might match the return type of a gcc2
66673 builtin and then its argument prototype would still apply. */
66674 char $ac_func ();
66675 /* The GNU C library defines this for functions which it implements
66676 to always fail with ENOSYS. Some functions are actually named
66677 something starting with __ and the normal name is an alias. */
66678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66679 choke me
66680 #else
66681 char (*f) () = $ac_func;
66682 #endif
66683 #ifdef __cplusplus
66685 #endif
66688 main ()
66690 return f != $ac_func;
66692 return 0;
66694 _ACEOF
66695 rm -f conftest.$ac_objext conftest$ac_exeext
66696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66697 (eval $ac_link) 2>conftest.er1
66698 ac_status=$?
66699 grep -v '^ *+' conftest.er1 >conftest.err
66700 rm -f conftest.er1
66701 cat conftest.err >&5
66702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66703 (exit $ac_status); } &&
66704 { ac_try='test -z "$ac_c_werror_flag"
66705 || test ! -s conftest.err'
66706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66707 (eval $ac_try) 2>&5
66708 ac_status=$?
66709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66710 (exit $ac_status); }; } &&
66711 { ac_try='test -s conftest$ac_exeext'
66712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66713 (eval $ac_try) 2>&5
66714 ac_status=$?
66715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66716 (exit $ac_status); }; }; then
66717 eval "$as_ac_var=yes"
66718 else
66719 echo "$as_me: failed program was:" >&5
66720 sed 's/^/| /' conftest.$ac_ext >&5
66722 eval "$as_ac_var=no"
66724 rm -f conftest.err conftest.$ac_objext \
66725 conftest$ac_exeext conftest.$ac_ext
66727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66729 if test `eval echo '${'$as_ac_var'}'` = yes; then
66730 cat >>confdefs.h <<_ACEOF
66731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66732 _ACEOF
66735 done
66745 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
66746 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
66747 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
66748 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
66749 echo $ECHO_N "(cached) $ECHO_C" >&6
66750 else
66754 ac_ext=cc
66755 ac_cpp='$CXXCPP $CPPFLAGS'
66756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66760 cat >conftest.$ac_ext <<_ACEOF
66761 /* confdefs.h. */
66762 _ACEOF
66763 cat confdefs.h >>conftest.$ac_ext
66764 cat >>conftest.$ac_ext <<_ACEOF
66765 /* end confdefs.h. */
66766 #include <math.h>
66768 main ()
66770 frexpl(0, 0);
66772 return 0;
66774 _ACEOF
66775 rm -f conftest.$ac_objext
66776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66777 (eval $ac_compile) 2>conftest.er1
66778 ac_status=$?
66779 grep -v '^ *+' conftest.er1 >conftest.err
66780 rm -f conftest.er1
66781 cat conftest.err >&5
66782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66783 (exit $ac_status); } &&
66784 { ac_try='test -z "$ac_cxx_werror_flag"
66785 || test ! -s conftest.err'
66786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66787 (eval $ac_try) 2>&5
66788 ac_status=$?
66789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66790 (exit $ac_status); }; } &&
66791 { ac_try='test -s conftest.$ac_objext'
66792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66793 (eval $ac_try) 2>&5
66794 ac_status=$?
66795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66796 (exit $ac_status); }; }; then
66797 glibcxx_cv_func_frexpl_use=yes
66798 else
66799 echo "$as_me: failed program was:" >&5
66800 sed 's/^/| /' conftest.$ac_ext >&5
66802 glibcxx_cv_func_frexpl_use=no
66804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66805 ac_ext=c
66806 ac_cpp='$CPP $CPPFLAGS'
66807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66815 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
66816 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
66818 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
66820 for ac_func in frexpl
66822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66823 echo "$as_me:$LINENO: checking for $ac_func" >&5
66824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66825 if eval "test \"\${$as_ac_var+set}\" = set"; then
66826 echo $ECHO_N "(cached) $ECHO_C" >&6
66827 else
66828 if test x$gcc_no_link = xyes; then
66829 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66831 { (exit 1); exit 1; }; }
66833 cat >conftest.$ac_ext <<_ACEOF
66834 /* confdefs.h. */
66835 _ACEOF
66836 cat confdefs.h >>conftest.$ac_ext
66837 cat >>conftest.$ac_ext <<_ACEOF
66838 /* end confdefs.h. */
66839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66841 #define $ac_func innocuous_$ac_func
66843 /* System header to define __stub macros and hopefully few prototypes,
66844 which can conflict with char $ac_func (); below.
66845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66846 <limits.h> exists even on freestanding compilers. */
66848 #ifdef __STDC__
66849 # include <limits.h>
66850 #else
66851 # include <assert.h>
66852 #endif
66854 #undef $ac_func
66856 /* Override any gcc2 internal prototype to avoid an error. */
66857 #ifdef __cplusplus
66858 extern "C"
66860 #endif
66861 /* We use char because int might match the return type of a gcc2
66862 builtin and then its argument prototype would still apply. */
66863 char $ac_func ();
66864 /* The GNU C library defines this for functions which it implements
66865 to always fail with ENOSYS. Some functions are actually named
66866 something starting with __ and the normal name is an alias. */
66867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66868 choke me
66869 #else
66870 char (*f) () = $ac_func;
66871 #endif
66872 #ifdef __cplusplus
66874 #endif
66877 main ()
66879 return f != $ac_func;
66881 return 0;
66883 _ACEOF
66884 rm -f conftest.$ac_objext conftest$ac_exeext
66885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66886 (eval $ac_link) 2>conftest.er1
66887 ac_status=$?
66888 grep -v '^ *+' conftest.er1 >conftest.err
66889 rm -f conftest.er1
66890 cat conftest.err >&5
66891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66892 (exit $ac_status); } &&
66893 { ac_try='test -z "$ac_c_werror_flag"
66894 || test ! -s conftest.err'
66895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66896 (eval $ac_try) 2>&5
66897 ac_status=$?
66898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66899 (exit $ac_status); }; } &&
66900 { ac_try='test -s conftest$ac_exeext'
66901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66902 (eval $ac_try) 2>&5
66903 ac_status=$?
66904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66905 (exit $ac_status); }; }; then
66906 eval "$as_ac_var=yes"
66907 else
66908 echo "$as_me: failed program was:" >&5
66909 sed 's/^/| /' conftest.$ac_ext >&5
66911 eval "$as_ac_var=no"
66913 rm -f conftest.err conftest.$ac_objext \
66914 conftest$ac_exeext conftest.$ac_ext
66916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66918 if test `eval echo '${'$as_ac_var'}'` = yes; then
66919 cat >>confdefs.h <<_ACEOF
66920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66921 _ACEOF
66924 done
66926 else
66928 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
66929 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
66930 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
66931 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
66932 echo $ECHO_N "(cached) $ECHO_C" >&6
66933 else
66937 ac_ext=cc
66938 ac_cpp='$CXXCPP $CPPFLAGS'
66939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66943 cat >conftest.$ac_ext <<_ACEOF
66944 /* confdefs.h. */
66945 _ACEOF
66946 cat confdefs.h >>conftest.$ac_ext
66947 cat >>conftest.$ac_ext <<_ACEOF
66948 /* end confdefs.h. */
66949 #include <math.h>
66951 main ()
66953 _frexpl(0, 0);
66955 return 0;
66957 _ACEOF
66958 rm -f conftest.$ac_objext
66959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66960 (eval $ac_compile) 2>conftest.er1
66961 ac_status=$?
66962 grep -v '^ *+' conftest.er1 >conftest.err
66963 rm -f conftest.er1
66964 cat conftest.err >&5
66965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66966 (exit $ac_status); } &&
66967 { ac_try='test -z "$ac_cxx_werror_flag"
66968 || test ! -s conftest.err'
66969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66970 (eval $ac_try) 2>&5
66971 ac_status=$?
66972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66973 (exit $ac_status); }; } &&
66974 { ac_try='test -s conftest.$ac_objext'
66975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66976 (eval $ac_try) 2>&5
66977 ac_status=$?
66978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66979 (exit $ac_status); }; }; then
66980 glibcxx_cv_func__frexpl_use=yes
66981 else
66982 echo "$as_me: failed program was:" >&5
66983 sed 's/^/| /' conftest.$ac_ext >&5
66985 glibcxx_cv_func__frexpl_use=no
66987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66988 ac_ext=c
66989 ac_cpp='$CPP $CPPFLAGS'
66990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66998 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
66999 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
67001 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
67003 for ac_func in _frexpl
67005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67006 echo "$as_me:$LINENO: checking for $ac_func" >&5
67007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67008 if eval "test \"\${$as_ac_var+set}\" = set"; then
67009 echo $ECHO_N "(cached) $ECHO_C" >&6
67010 else
67011 if test x$gcc_no_link = xyes; then
67012 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67014 { (exit 1); exit 1; }; }
67016 cat >conftest.$ac_ext <<_ACEOF
67017 /* confdefs.h. */
67018 _ACEOF
67019 cat confdefs.h >>conftest.$ac_ext
67020 cat >>conftest.$ac_ext <<_ACEOF
67021 /* end confdefs.h. */
67022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67023 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67024 #define $ac_func innocuous_$ac_func
67026 /* System header to define __stub macros and hopefully few prototypes,
67027 which can conflict with char $ac_func (); below.
67028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67029 <limits.h> exists even on freestanding compilers. */
67031 #ifdef __STDC__
67032 # include <limits.h>
67033 #else
67034 # include <assert.h>
67035 #endif
67037 #undef $ac_func
67039 /* Override any gcc2 internal prototype to avoid an error. */
67040 #ifdef __cplusplus
67041 extern "C"
67043 #endif
67044 /* We use char because int might match the return type of a gcc2
67045 builtin and then its argument prototype would still apply. */
67046 char $ac_func ();
67047 /* The GNU C library defines this for functions which it implements
67048 to always fail with ENOSYS. Some functions are actually named
67049 something starting with __ and the normal name is an alias. */
67050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67051 choke me
67052 #else
67053 char (*f) () = $ac_func;
67054 #endif
67055 #ifdef __cplusplus
67057 #endif
67060 main ()
67062 return f != $ac_func;
67064 return 0;
67066 _ACEOF
67067 rm -f conftest.$ac_objext conftest$ac_exeext
67068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67069 (eval $ac_link) 2>conftest.er1
67070 ac_status=$?
67071 grep -v '^ *+' conftest.er1 >conftest.err
67072 rm -f conftest.er1
67073 cat conftest.err >&5
67074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67075 (exit $ac_status); } &&
67076 { ac_try='test -z "$ac_c_werror_flag"
67077 || test ! -s conftest.err'
67078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67079 (eval $ac_try) 2>&5
67080 ac_status=$?
67081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67082 (exit $ac_status); }; } &&
67083 { ac_try='test -s conftest$ac_exeext'
67084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67085 (eval $ac_try) 2>&5
67086 ac_status=$?
67087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67088 (exit $ac_status); }; }; then
67089 eval "$as_ac_var=yes"
67090 else
67091 echo "$as_me: failed program was:" >&5
67092 sed 's/^/| /' conftest.$ac_ext >&5
67094 eval "$as_ac_var=no"
67096 rm -f conftest.err conftest.$ac_objext \
67097 conftest$ac_exeext conftest.$ac_ext
67099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67100 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67101 if test `eval echo '${'$as_ac_var'}'` = yes; then
67102 cat >>confdefs.h <<_ACEOF
67103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67104 _ACEOF
67107 done
67117 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
67118 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
67119 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
67120 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
67121 echo $ECHO_N "(cached) $ECHO_C" >&6
67122 else
67126 ac_ext=cc
67127 ac_cpp='$CXXCPP $CPPFLAGS'
67128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67132 cat >conftest.$ac_ext <<_ACEOF
67133 /* confdefs.h. */
67134 _ACEOF
67135 cat confdefs.h >>conftest.$ac_ext
67136 cat >>conftest.$ac_ext <<_ACEOF
67137 /* end confdefs.h. */
67138 #include <math.h>
67140 main ()
67142 hypotl(0, 0);
67144 return 0;
67146 _ACEOF
67147 rm -f conftest.$ac_objext
67148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67149 (eval $ac_compile) 2>conftest.er1
67150 ac_status=$?
67151 grep -v '^ *+' conftest.er1 >conftest.err
67152 rm -f conftest.er1
67153 cat conftest.err >&5
67154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67155 (exit $ac_status); } &&
67156 { ac_try='test -z "$ac_cxx_werror_flag"
67157 || test ! -s conftest.err'
67158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67159 (eval $ac_try) 2>&5
67160 ac_status=$?
67161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67162 (exit $ac_status); }; } &&
67163 { ac_try='test -s conftest.$ac_objext'
67164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67165 (eval $ac_try) 2>&5
67166 ac_status=$?
67167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67168 (exit $ac_status); }; }; then
67169 glibcxx_cv_func_hypotl_use=yes
67170 else
67171 echo "$as_me: failed program was:" >&5
67172 sed 's/^/| /' conftest.$ac_ext >&5
67174 glibcxx_cv_func_hypotl_use=no
67176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67177 ac_ext=c
67178 ac_cpp='$CPP $CPPFLAGS'
67179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67187 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
67188 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
67190 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
67192 for ac_func in hypotl
67194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67195 echo "$as_me:$LINENO: checking for $ac_func" >&5
67196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67197 if eval "test \"\${$as_ac_var+set}\" = set"; then
67198 echo $ECHO_N "(cached) $ECHO_C" >&6
67199 else
67200 if test x$gcc_no_link = xyes; then
67201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67203 { (exit 1); exit 1; }; }
67205 cat >conftest.$ac_ext <<_ACEOF
67206 /* confdefs.h. */
67207 _ACEOF
67208 cat confdefs.h >>conftest.$ac_ext
67209 cat >>conftest.$ac_ext <<_ACEOF
67210 /* end confdefs.h. */
67211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67213 #define $ac_func innocuous_$ac_func
67215 /* System header to define __stub macros and hopefully few prototypes,
67216 which can conflict with char $ac_func (); below.
67217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67218 <limits.h> exists even on freestanding compilers. */
67220 #ifdef __STDC__
67221 # include <limits.h>
67222 #else
67223 # include <assert.h>
67224 #endif
67226 #undef $ac_func
67228 /* Override any gcc2 internal prototype to avoid an error. */
67229 #ifdef __cplusplus
67230 extern "C"
67232 #endif
67233 /* We use char because int might match the return type of a gcc2
67234 builtin and then its argument prototype would still apply. */
67235 char $ac_func ();
67236 /* The GNU C library defines this for functions which it implements
67237 to always fail with ENOSYS. Some functions are actually named
67238 something starting with __ and the normal name is an alias. */
67239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67240 choke me
67241 #else
67242 char (*f) () = $ac_func;
67243 #endif
67244 #ifdef __cplusplus
67246 #endif
67249 main ()
67251 return f != $ac_func;
67253 return 0;
67255 _ACEOF
67256 rm -f conftest.$ac_objext conftest$ac_exeext
67257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67258 (eval $ac_link) 2>conftest.er1
67259 ac_status=$?
67260 grep -v '^ *+' conftest.er1 >conftest.err
67261 rm -f conftest.er1
67262 cat conftest.err >&5
67263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67264 (exit $ac_status); } &&
67265 { ac_try='test -z "$ac_c_werror_flag"
67266 || test ! -s conftest.err'
67267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67268 (eval $ac_try) 2>&5
67269 ac_status=$?
67270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67271 (exit $ac_status); }; } &&
67272 { ac_try='test -s conftest$ac_exeext'
67273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67274 (eval $ac_try) 2>&5
67275 ac_status=$?
67276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67277 (exit $ac_status); }; }; then
67278 eval "$as_ac_var=yes"
67279 else
67280 echo "$as_me: failed program was:" >&5
67281 sed 's/^/| /' conftest.$ac_ext >&5
67283 eval "$as_ac_var=no"
67285 rm -f conftest.err conftest.$ac_objext \
67286 conftest$ac_exeext conftest.$ac_ext
67288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67290 if test `eval echo '${'$as_ac_var'}'` = yes; then
67291 cat >>confdefs.h <<_ACEOF
67292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67293 _ACEOF
67296 done
67298 else
67300 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
67301 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
67302 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
67303 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
67304 echo $ECHO_N "(cached) $ECHO_C" >&6
67305 else
67309 ac_ext=cc
67310 ac_cpp='$CXXCPP $CPPFLAGS'
67311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67315 cat >conftest.$ac_ext <<_ACEOF
67316 /* confdefs.h. */
67317 _ACEOF
67318 cat confdefs.h >>conftest.$ac_ext
67319 cat >>conftest.$ac_ext <<_ACEOF
67320 /* end confdefs.h. */
67321 #include <math.h>
67323 main ()
67325 _hypotl(0, 0);
67327 return 0;
67329 _ACEOF
67330 rm -f conftest.$ac_objext
67331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67332 (eval $ac_compile) 2>conftest.er1
67333 ac_status=$?
67334 grep -v '^ *+' conftest.er1 >conftest.err
67335 rm -f conftest.er1
67336 cat conftest.err >&5
67337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67338 (exit $ac_status); } &&
67339 { ac_try='test -z "$ac_cxx_werror_flag"
67340 || test ! -s conftest.err'
67341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67342 (eval $ac_try) 2>&5
67343 ac_status=$?
67344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67345 (exit $ac_status); }; } &&
67346 { ac_try='test -s conftest.$ac_objext'
67347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67348 (eval $ac_try) 2>&5
67349 ac_status=$?
67350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67351 (exit $ac_status); }; }; then
67352 glibcxx_cv_func__hypotl_use=yes
67353 else
67354 echo "$as_me: failed program was:" >&5
67355 sed 's/^/| /' conftest.$ac_ext >&5
67357 glibcxx_cv_func__hypotl_use=no
67359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67360 ac_ext=c
67361 ac_cpp='$CPP $CPPFLAGS'
67362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67370 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
67371 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
67373 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
67375 for ac_func in _hypotl
67377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67378 echo "$as_me:$LINENO: checking for $ac_func" >&5
67379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67380 if eval "test \"\${$as_ac_var+set}\" = set"; then
67381 echo $ECHO_N "(cached) $ECHO_C" >&6
67382 else
67383 if test x$gcc_no_link = xyes; then
67384 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67386 { (exit 1); exit 1; }; }
67388 cat >conftest.$ac_ext <<_ACEOF
67389 /* confdefs.h. */
67390 _ACEOF
67391 cat confdefs.h >>conftest.$ac_ext
67392 cat >>conftest.$ac_ext <<_ACEOF
67393 /* end confdefs.h. */
67394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67396 #define $ac_func innocuous_$ac_func
67398 /* System header to define __stub macros and hopefully few prototypes,
67399 which can conflict with char $ac_func (); below.
67400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67401 <limits.h> exists even on freestanding compilers. */
67403 #ifdef __STDC__
67404 # include <limits.h>
67405 #else
67406 # include <assert.h>
67407 #endif
67409 #undef $ac_func
67411 /* Override any gcc2 internal prototype to avoid an error. */
67412 #ifdef __cplusplus
67413 extern "C"
67415 #endif
67416 /* We use char because int might match the return type of a gcc2
67417 builtin and then its argument prototype would still apply. */
67418 char $ac_func ();
67419 /* The GNU C library defines this for functions which it implements
67420 to always fail with ENOSYS. Some functions are actually named
67421 something starting with __ and the normal name is an alias. */
67422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67423 choke me
67424 #else
67425 char (*f) () = $ac_func;
67426 #endif
67427 #ifdef __cplusplus
67429 #endif
67432 main ()
67434 return f != $ac_func;
67436 return 0;
67438 _ACEOF
67439 rm -f conftest.$ac_objext conftest$ac_exeext
67440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67441 (eval $ac_link) 2>conftest.er1
67442 ac_status=$?
67443 grep -v '^ *+' conftest.er1 >conftest.err
67444 rm -f conftest.er1
67445 cat conftest.err >&5
67446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67447 (exit $ac_status); } &&
67448 { ac_try='test -z "$ac_c_werror_flag"
67449 || test ! -s conftest.err'
67450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67451 (eval $ac_try) 2>&5
67452 ac_status=$?
67453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67454 (exit $ac_status); }; } &&
67455 { ac_try='test -s conftest$ac_exeext'
67456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67457 (eval $ac_try) 2>&5
67458 ac_status=$?
67459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67460 (exit $ac_status); }; }; then
67461 eval "$as_ac_var=yes"
67462 else
67463 echo "$as_me: failed program was:" >&5
67464 sed 's/^/| /' conftest.$ac_ext >&5
67466 eval "$as_ac_var=no"
67468 rm -f conftest.err conftest.$ac_objext \
67469 conftest$ac_exeext conftest.$ac_ext
67471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67473 if test `eval echo '${'$as_ac_var'}'` = yes; then
67474 cat >>confdefs.h <<_ACEOF
67475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67476 _ACEOF
67479 done
67489 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
67490 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
67491 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
67492 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
67493 echo $ECHO_N "(cached) $ECHO_C" >&6
67494 else
67498 ac_ext=cc
67499 ac_cpp='$CXXCPP $CPPFLAGS'
67500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67504 cat >conftest.$ac_ext <<_ACEOF
67505 /* confdefs.h. */
67506 _ACEOF
67507 cat confdefs.h >>conftest.$ac_ext
67508 cat >>conftest.$ac_ext <<_ACEOF
67509 /* end confdefs.h. */
67510 #include <math.h>
67512 main ()
67514 ldexpl(0, 0);
67516 return 0;
67518 _ACEOF
67519 rm -f conftest.$ac_objext
67520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67521 (eval $ac_compile) 2>conftest.er1
67522 ac_status=$?
67523 grep -v '^ *+' conftest.er1 >conftest.err
67524 rm -f conftest.er1
67525 cat conftest.err >&5
67526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67527 (exit $ac_status); } &&
67528 { ac_try='test -z "$ac_cxx_werror_flag"
67529 || test ! -s conftest.err'
67530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67531 (eval $ac_try) 2>&5
67532 ac_status=$?
67533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67534 (exit $ac_status); }; } &&
67535 { ac_try='test -s conftest.$ac_objext'
67536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67537 (eval $ac_try) 2>&5
67538 ac_status=$?
67539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67540 (exit $ac_status); }; }; then
67541 glibcxx_cv_func_ldexpl_use=yes
67542 else
67543 echo "$as_me: failed program was:" >&5
67544 sed 's/^/| /' conftest.$ac_ext >&5
67546 glibcxx_cv_func_ldexpl_use=no
67548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67549 ac_ext=c
67550 ac_cpp='$CPP $CPPFLAGS'
67551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67559 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
67560 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
67562 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
67564 for ac_func in ldexpl
67566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67567 echo "$as_me:$LINENO: checking for $ac_func" >&5
67568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67569 if eval "test \"\${$as_ac_var+set}\" = set"; then
67570 echo $ECHO_N "(cached) $ECHO_C" >&6
67571 else
67572 if test x$gcc_no_link = xyes; then
67573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67575 { (exit 1); exit 1; }; }
67577 cat >conftest.$ac_ext <<_ACEOF
67578 /* confdefs.h. */
67579 _ACEOF
67580 cat confdefs.h >>conftest.$ac_ext
67581 cat >>conftest.$ac_ext <<_ACEOF
67582 /* end confdefs.h. */
67583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67585 #define $ac_func innocuous_$ac_func
67587 /* System header to define __stub macros and hopefully few prototypes,
67588 which can conflict with char $ac_func (); below.
67589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67590 <limits.h> exists even on freestanding compilers. */
67592 #ifdef __STDC__
67593 # include <limits.h>
67594 #else
67595 # include <assert.h>
67596 #endif
67598 #undef $ac_func
67600 /* Override any gcc2 internal prototype to avoid an error. */
67601 #ifdef __cplusplus
67602 extern "C"
67604 #endif
67605 /* We use char because int might match the return type of a gcc2
67606 builtin and then its argument prototype would still apply. */
67607 char $ac_func ();
67608 /* The GNU C library defines this for functions which it implements
67609 to always fail with ENOSYS. Some functions are actually named
67610 something starting with __ and the normal name is an alias. */
67611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67612 choke me
67613 #else
67614 char (*f) () = $ac_func;
67615 #endif
67616 #ifdef __cplusplus
67618 #endif
67621 main ()
67623 return f != $ac_func;
67625 return 0;
67627 _ACEOF
67628 rm -f conftest.$ac_objext conftest$ac_exeext
67629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67630 (eval $ac_link) 2>conftest.er1
67631 ac_status=$?
67632 grep -v '^ *+' conftest.er1 >conftest.err
67633 rm -f conftest.er1
67634 cat conftest.err >&5
67635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67636 (exit $ac_status); } &&
67637 { ac_try='test -z "$ac_c_werror_flag"
67638 || test ! -s conftest.err'
67639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67640 (eval $ac_try) 2>&5
67641 ac_status=$?
67642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67643 (exit $ac_status); }; } &&
67644 { ac_try='test -s conftest$ac_exeext'
67645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67646 (eval $ac_try) 2>&5
67647 ac_status=$?
67648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67649 (exit $ac_status); }; }; then
67650 eval "$as_ac_var=yes"
67651 else
67652 echo "$as_me: failed program was:" >&5
67653 sed 's/^/| /' conftest.$ac_ext >&5
67655 eval "$as_ac_var=no"
67657 rm -f conftest.err conftest.$ac_objext \
67658 conftest$ac_exeext conftest.$ac_ext
67660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67662 if test `eval echo '${'$as_ac_var'}'` = yes; then
67663 cat >>confdefs.h <<_ACEOF
67664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67665 _ACEOF
67668 done
67670 else
67672 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
67673 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
67674 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
67675 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
67676 echo $ECHO_N "(cached) $ECHO_C" >&6
67677 else
67681 ac_ext=cc
67682 ac_cpp='$CXXCPP $CPPFLAGS'
67683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67687 cat >conftest.$ac_ext <<_ACEOF
67688 /* confdefs.h. */
67689 _ACEOF
67690 cat confdefs.h >>conftest.$ac_ext
67691 cat >>conftest.$ac_ext <<_ACEOF
67692 /* end confdefs.h. */
67693 #include <math.h>
67695 main ()
67697 _ldexpl(0, 0);
67699 return 0;
67701 _ACEOF
67702 rm -f conftest.$ac_objext
67703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67704 (eval $ac_compile) 2>conftest.er1
67705 ac_status=$?
67706 grep -v '^ *+' conftest.er1 >conftest.err
67707 rm -f conftest.er1
67708 cat conftest.err >&5
67709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67710 (exit $ac_status); } &&
67711 { ac_try='test -z "$ac_cxx_werror_flag"
67712 || test ! -s conftest.err'
67713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67714 (eval $ac_try) 2>&5
67715 ac_status=$?
67716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67717 (exit $ac_status); }; } &&
67718 { ac_try='test -s conftest.$ac_objext'
67719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67720 (eval $ac_try) 2>&5
67721 ac_status=$?
67722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67723 (exit $ac_status); }; }; then
67724 glibcxx_cv_func__ldexpl_use=yes
67725 else
67726 echo "$as_me: failed program was:" >&5
67727 sed 's/^/| /' conftest.$ac_ext >&5
67729 glibcxx_cv_func__ldexpl_use=no
67731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67732 ac_ext=c
67733 ac_cpp='$CPP $CPPFLAGS'
67734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67742 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
67743 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
67745 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
67747 for ac_func in _ldexpl
67749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67750 echo "$as_me:$LINENO: checking for $ac_func" >&5
67751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67752 if eval "test \"\${$as_ac_var+set}\" = set"; then
67753 echo $ECHO_N "(cached) $ECHO_C" >&6
67754 else
67755 if test x$gcc_no_link = xyes; then
67756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67758 { (exit 1); exit 1; }; }
67760 cat >conftest.$ac_ext <<_ACEOF
67761 /* confdefs.h. */
67762 _ACEOF
67763 cat confdefs.h >>conftest.$ac_ext
67764 cat >>conftest.$ac_ext <<_ACEOF
67765 /* end confdefs.h. */
67766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67768 #define $ac_func innocuous_$ac_func
67770 /* System header to define __stub macros and hopefully few prototypes,
67771 which can conflict with char $ac_func (); below.
67772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67773 <limits.h> exists even on freestanding compilers. */
67775 #ifdef __STDC__
67776 # include <limits.h>
67777 #else
67778 # include <assert.h>
67779 #endif
67781 #undef $ac_func
67783 /* Override any gcc2 internal prototype to avoid an error. */
67784 #ifdef __cplusplus
67785 extern "C"
67787 #endif
67788 /* We use char because int might match the return type of a gcc2
67789 builtin and then its argument prototype would still apply. */
67790 char $ac_func ();
67791 /* The GNU C library defines this for functions which it implements
67792 to always fail with ENOSYS. Some functions are actually named
67793 something starting with __ and the normal name is an alias. */
67794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67795 choke me
67796 #else
67797 char (*f) () = $ac_func;
67798 #endif
67799 #ifdef __cplusplus
67801 #endif
67804 main ()
67806 return f != $ac_func;
67808 return 0;
67810 _ACEOF
67811 rm -f conftest.$ac_objext conftest$ac_exeext
67812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67813 (eval $ac_link) 2>conftest.er1
67814 ac_status=$?
67815 grep -v '^ *+' conftest.er1 >conftest.err
67816 rm -f conftest.er1
67817 cat conftest.err >&5
67818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67819 (exit $ac_status); } &&
67820 { ac_try='test -z "$ac_c_werror_flag"
67821 || test ! -s conftest.err'
67822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67823 (eval $ac_try) 2>&5
67824 ac_status=$?
67825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67826 (exit $ac_status); }; } &&
67827 { ac_try='test -s conftest$ac_exeext'
67828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67829 (eval $ac_try) 2>&5
67830 ac_status=$?
67831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67832 (exit $ac_status); }; }; then
67833 eval "$as_ac_var=yes"
67834 else
67835 echo "$as_me: failed program was:" >&5
67836 sed 's/^/| /' conftest.$ac_ext >&5
67838 eval "$as_ac_var=no"
67840 rm -f conftest.err conftest.$ac_objext \
67841 conftest$ac_exeext conftest.$ac_ext
67843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67845 if test `eval echo '${'$as_ac_var'}'` = yes; then
67846 cat >>confdefs.h <<_ACEOF
67847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67848 _ACEOF
67851 done
67861 echo "$as_me:$LINENO: checking for logl declaration" >&5
67862 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
67863 if test x${glibcxx_cv_func_logl_use+set} != xset; then
67864 if test "${glibcxx_cv_func_logl_use+set}" = set; then
67865 echo $ECHO_N "(cached) $ECHO_C" >&6
67866 else
67870 ac_ext=cc
67871 ac_cpp='$CXXCPP $CPPFLAGS'
67872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67876 cat >conftest.$ac_ext <<_ACEOF
67877 /* confdefs.h. */
67878 _ACEOF
67879 cat confdefs.h >>conftest.$ac_ext
67880 cat >>conftest.$ac_ext <<_ACEOF
67881 /* end confdefs.h. */
67882 #include <math.h>
67883 #ifdef HAVE_IEEEFP_H
67884 #include <ieeefp.h>
67885 #endif
67888 main ()
67890 logl(0);
67892 return 0;
67894 _ACEOF
67895 rm -f conftest.$ac_objext
67896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67897 (eval $ac_compile) 2>conftest.er1
67898 ac_status=$?
67899 grep -v '^ *+' conftest.er1 >conftest.err
67900 rm -f conftest.er1
67901 cat conftest.err >&5
67902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67903 (exit $ac_status); } &&
67904 { ac_try='test -z "$ac_cxx_werror_flag"
67905 || test ! -s conftest.err'
67906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67907 (eval $ac_try) 2>&5
67908 ac_status=$?
67909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67910 (exit $ac_status); }; } &&
67911 { ac_try='test -s conftest.$ac_objext'
67912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67913 (eval $ac_try) 2>&5
67914 ac_status=$?
67915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67916 (exit $ac_status); }; }; then
67917 glibcxx_cv_func_logl_use=yes
67918 else
67919 echo "$as_me: failed program was:" >&5
67920 sed 's/^/| /' conftest.$ac_ext >&5
67922 glibcxx_cv_func_logl_use=no
67924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67925 ac_ext=c
67926 ac_cpp='$CPP $CPPFLAGS'
67927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67935 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
67936 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
67938 if test x$glibcxx_cv_func_logl_use = x"yes"; then
67940 for ac_func in logl
67942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67943 echo "$as_me:$LINENO: checking for $ac_func" >&5
67944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67945 if eval "test \"\${$as_ac_var+set}\" = set"; then
67946 echo $ECHO_N "(cached) $ECHO_C" >&6
67947 else
67948 if test x$gcc_no_link = xyes; then
67949 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67951 { (exit 1); exit 1; }; }
67953 cat >conftest.$ac_ext <<_ACEOF
67954 /* confdefs.h. */
67955 _ACEOF
67956 cat confdefs.h >>conftest.$ac_ext
67957 cat >>conftest.$ac_ext <<_ACEOF
67958 /* end confdefs.h. */
67959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67961 #define $ac_func innocuous_$ac_func
67963 /* System header to define __stub macros and hopefully few prototypes,
67964 which can conflict with char $ac_func (); below.
67965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67966 <limits.h> exists even on freestanding compilers. */
67968 #ifdef __STDC__
67969 # include <limits.h>
67970 #else
67971 # include <assert.h>
67972 #endif
67974 #undef $ac_func
67976 /* Override any gcc2 internal prototype to avoid an error. */
67977 #ifdef __cplusplus
67978 extern "C"
67980 #endif
67981 /* We use char because int might match the return type of a gcc2
67982 builtin and then its argument prototype would still apply. */
67983 char $ac_func ();
67984 /* The GNU C library defines this for functions which it implements
67985 to always fail with ENOSYS. Some functions are actually named
67986 something starting with __ and the normal name is an alias. */
67987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67988 choke me
67989 #else
67990 char (*f) () = $ac_func;
67991 #endif
67992 #ifdef __cplusplus
67994 #endif
67997 main ()
67999 return f != $ac_func;
68001 return 0;
68003 _ACEOF
68004 rm -f conftest.$ac_objext conftest$ac_exeext
68005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68006 (eval $ac_link) 2>conftest.er1
68007 ac_status=$?
68008 grep -v '^ *+' conftest.er1 >conftest.err
68009 rm -f conftest.er1
68010 cat conftest.err >&5
68011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68012 (exit $ac_status); } &&
68013 { ac_try='test -z "$ac_c_werror_flag"
68014 || test ! -s conftest.err'
68015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68016 (eval $ac_try) 2>&5
68017 ac_status=$?
68018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68019 (exit $ac_status); }; } &&
68020 { ac_try='test -s conftest$ac_exeext'
68021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68022 (eval $ac_try) 2>&5
68023 ac_status=$?
68024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68025 (exit $ac_status); }; }; then
68026 eval "$as_ac_var=yes"
68027 else
68028 echo "$as_me: failed program was:" >&5
68029 sed 's/^/| /' conftest.$ac_ext >&5
68031 eval "$as_ac_var=no"
68033 rm -f conftest.err conftest.$ac_objext \
68034 conftest$ac_exeext conftest.$ac_ext
68036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68038 if test `eval echo '${'$as_ac_var'}'` = yes; then
68039 cat >>confdefs.h <<_ACEOF
68040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68041 _ACEOF
68044 done
68046 else
68048 echo "$as_me:$LINENO: checking for _logl declaration" >&5
68049 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
68050 if test x${glibcxx_cv_func__logl_use+set} != xset; then
68051 if test "${glibcxx_cv_func__logl_use+set}" = set; then
68052 echo $ECHO_N "(cached) $ECHO_C" >&6
68053 else
68057 ac_ext=cc
68058 ac_cpp='$CXXCPP $CPPFLAGS'
68059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68063 cat >conftest.$ac_ext <<_ACEOF
68064 /* confdefs.h. */
68065 _ACEOF
68066 cat confdefs.h >>conftest.$ac_ext
68067 cat >>conftest.$ac_ext <<_ACEOF
68068 /* end confdefs.h. */
68069 #include <math.h>
68070 #ifdef HAVE_IEEEFP_H
68071 #include <ieeefp.h>
68072 #endif
68075 main ()
68077 _logl(0);
68079 return 0;
68081 _ACEOF
68082 rm -f conftest.$ac_objext
68083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68084 (eval $ac_compile) 2>conftest.er1
68085 ac_status=$?
68086 grep -v '^ *+' conftest.er1 >conftest.err
68087 rm -f conftest.er1
68088 cat conftest.err >&5
68089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68090 (exit $ac_status); } &&
68091 { ac_try='test -z "$ac_cxx_werror_flag"
68092 || test ! -s conftest.err'
68093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68094 (eval $ac_try) 2>&5
68095 ac_status=$?
68096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68097 (exit $ac_status); }; } &&
68098 { ac_try='test -s conftest.$ac_objext'
68099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68100 (eval $ac_try) 2>&5
68101 ac_status=$?
68102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68103 (exit $ac_status); }; }; then
68104 glibcxx_cv_func__logl_use=yes
68105 else
68106 echo "$as_me: failed program was:" >&5
68107 sed 's/^/| /' conftest.$ac_ext >&5
68109 glibcxx_cv_func__logl_use=no
68111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68112 ac_ext=c
68113 ac_cpp='$CPP $CPPFLAGS'
68114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68122 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
68123 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
68125 if test x$glibcxx_cv_func__logl_use = x"yes"; then
68127 for ac_func in _logl
68129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68130 echo "$as_me:$LINENO: checking for $ac_func" >&5
68131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68132 if eval "test \"\${$as_ac_var+set}\" = set"; then
68133 echo $ECHO_N "(cached) $ECHO_C" >&6
68134 else
68135 if test x$gcc_no_link = xyes; then
68136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68138 { (exit 1); exit 1; }; }
68140 cat >conftest.$ac_ext <<_ACEOF
68141 /* confdefs.h. */
68142 _ACEOF
68143 cat confdefs.h >>conftest.$ac_ext
68144 cat >>conftest.$ac_ext <<_ACEOF
68145 /* end confdefs.h. */
68146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68148 #define $ac_func innocuous_$ac_func
68150 /* System header to define __stub macros and hopefully few prototypes,
68151 which can conflict with char $ac_func (); below.
68152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68153 <limits.h> exists even on freestanding compilers. */
68155 #ifdef __STDC__
68156 # include <limits.h>
68157 #else
68158 # include <assert.h>
68159 #endif
68161 #undef $ac_func
68163 /* Override any gcc2 internal prototype to avoid an error. */
68164 #ifdef __cplusplus
68165 extern "C"
68167 #endif
68168 /* We use char because int might match the return type of a gcc2
68169 builtin and then its argument prototype would still apply. */
68170 char $ac_func ();
68171 /* The GNU C library defines this for functions which it implements
68172 to always fail with ENOSYS. Some functions are actually named
68173 something starting with __ and the normal name is an alias. */
68174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68175 choke me
68176 #else
68177 char (*f) () = $ac_func;
68178 #endif
68179 #ifdef __cplusplus
68181 #endif
68184 main ()
68186 return f != $ac_func;
68188 return 0;
68190 _ACEOF
68191 rm -f conftest.$ac_objext conftest$ac_exeext
68192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68193 (eval $ac_link) 2>conftest.er1
68194 ac_status=$?
68195 grep -v '^ *+' conftest.er1 >conftest.err
68196 rm -f conftest.er1
68197 cat conftest.err >&5
68198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68199 (exit $ac_status); } &&
68200 { ac_try='test -z "$ac_c_werror_flag"
68201 || test ! -s conftest.err'
68202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68203 (eval $ac_try) 2>&5
68204 ac_status=$?
68205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68206 (exit $ac_status); }; } &&
68207 { ac_try='test -s conftest$ac_exeext'
68208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68209 (eval $ac_try) 2>&5
68210 ac_status=$?
68211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68212 (exit $ac_status); }; }; then
68213 eval "$as_ac_var=yes"
68214 else
68215 echo "$as_me: failed program was:" >&5
68216 sed 's/^/| /' conftest.$ac_ext >&5
68218 eval "$as_ac_var=no"
68220 rm -f conftest.err conftest.$ac_objext \
68221 conftest$ac_exeext conftest.$ac_ext
68223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68225 if test `eval echo '${'$as_ac_var'}'` = yes; then
68226 cat >>confdefs.h <<_ACEOF
68227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68228 _ACEOF
68231 done
68241 echo "$as_me:$LINENO: checking for log10l declaration" >&5
68242 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
68243 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
68244 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
68245 echo $ECHO_N "(cached) $ECHO_C" >&6
68246 else
68250 ac_ext=cc
68251 ac_cpp='$CXXCPP $CPPFLAGS'
68252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68256 cat >conftest.$ac_ext <<_ACEOF
68257 /* confdefs.h. */
68258 _ACEOF
68259 cat confdefs.h >>conftest.$ac_ext
68260 cat >>conftest.$ac_ext <<_ACEOF
68261 /* end confdefs.h. */
68262 #include <math.h>
68263 #ifdef HAVE_IEEEFP_H
68264 #include <ieeefp.h>
68265 #endif
68268 main ()
68270 log10l(0);
68272 return 0;
68274 _ACEOF
68275 rm -f conftest.$ac_objext
68276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68277 (eval $ac_compile) 2>conftest.er1
68278 ac_status=$?
68279 grep -v '^ *+' conftest.er1 >conftest.err
68280 rm -f conftest.er1
68281 cat conftest.err >&5
68282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68283 (exit $ac_status); } &&
68284 { ac_try='test -z "$ac_cxx_werror_flag"
68285 || test ! -s conftest.err'
68286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68287 (eval $ac_try) 2>&5
68288 ac_status=$?
68289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68290 (exit $ac_status); }; } &&
68291 { ac_try='test -s conftest.$ac_objext'
68292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68293 (eval $ac_try) 2>&5
68294 ac_status=$?
68295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68296 (exit $ac_status); }; }; then
68297 glibcxx_cv_func_log10l_use=yes
68298 else
68299 echo "$as_me: failed program was:" >&5
68300 sed 's/^/| /' conftest.$ac_ext >&5
68302 glibcxx_cv_func_log10l_use=no
68304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68305 ac_ext=c
68306 ac_cpp='$CPP $CPPFLAGS'
68307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68315 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
68316 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
68318 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
68320 for ac_func in log10l
68322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68323 echo "$as_me:$LINENO: checking for $ac_func" >&5
68324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68325 if eval "test \"\${$as_ac_var+set}\" = set"; then
68326 echo $ECHO_N "(cached) $ECHO_C" >&6
68327 else
68328 if test x$gcc_no_link = xyes; then
68329 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68331 { (exit 1); exit 1; }; }
68333 cat >conftest.$ac_ext <<_ACEOF
68334 /* confdefs.h. */
68335 _ACEOF
68336 cat confdefs.h >>conftest.$ac_ext
68337 cat >>conftest.$ac_ext <<_ACEOF
68338 /* end confdefs.h. */
68339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68341 #define $ac_func innocuous_$ac_func
68343 /* System header to define __stub macros and hopefully few prototypes,
68344 which can conflict with char $ac_func (); below.
68345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68346 <limits.h> exists even on freestanding compilers. */
68348 #ifdef __STDC__
68349 # include <limits.h>
68350 #else
68351 # include <assert.h>
68352 #endif
68354 #undef $ac_func
68356 /* Override any gcc2 internal prototype to avoid an error. */
68357 #ifdef __cplusplus
68358 extern "C"
68360 #endif
68361 /* We use char because int might match the return type of a gcc2
68362 builtin and then its argument prototype would still apply. */
68363 char $ac_func ();
68364 /* The GNU C library defines this for functions which it implements
68365 to always fail with ENOSYS. Some functions are actually named
68366 something starting with __ and the normal name is an alias. */
68367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68368 choke me
68369 #else
68370 char (*f) () = $ac_func;
68371 #endif
68372 #ifdef __cplusplus
68374 #endif
68377 main ()
68379 return f != $ac_func;
68381 return 0;
68383 _ACEOF
68384 rm -f conftest.$ac_objext conftest$ac_exeext
68385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68386 (eval $ac_link) 2>conftest.er1
68387 ac_status=$?
68388 grep -v '^ *+' conftest.er1 >conftest.err
68389 rm -f conftest.er1
68390 cat conftest.err >&5
68391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68392 (exit $ac_status); } &&
68393 { ac_try='test -z "$ac_c_werror_flag"
68394 || test ! -s conftest.err'
68395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68396 (eval $ac_try) 2>&5
68397 ac_status=$?
68398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68399 (exit $ac_status); }; } &&
68400 { ac_try='test -s conftest$ac_exeext'
68401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68402 (eval $ac_try) 2>&5
68403 ac_status=$?
68404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68405 (exit $ac_status); }; }; then
68406 eval "$as_ac_var=yes"
68407 else
68408 echo "$as_me: failed program was:" >&5
68409 sed 's/^/| /' conftest.$ac_ext >&5
68411 eval "$as_ac_var=no"
68413 rm -f conftest.err conftest.$ac_objext \
68414 conftest$ac_exeext conftest.$ac_ext
68416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68418 if test `eval echo '${'$as_ac_var'}'` = yes; then
68419 cat >>confdefs.h <<_ACEOF
68420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68421 _ACEOF
68424 done
68426 else
68428 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
68429 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
68430 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
68431 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
68432 echo $ECHO_N "(cached) $ECHO_C" >&6
68433 else
68437 ac_ext=cc
68438 ac_cpp='$CXXCPP $CPPFLAGS'
68439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68443 cat >conftest.$ac_ext <<_ACEOF
68444 /* confdefs.h. */
68445 _ACEOF
68446 cat confdefs.h >>conftest.$ac_ext
68447 cat >>conftest.$ac_ext <<_ACEOF
68448 /* end confdefs.h. */
68449 #include <math.h>
68450 #ifdef HAVE_IEEEFP_H
68451 #include <ieeefp.h>
68452 #endif
68455 main ()
68457 _log10l(0);
68459 return 0;
68461 _ACEOF
68462 rm -f conftest.$ac_objext
68463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68464 (eval $ac_compile) 2>conftest.er1
68465 ac_status=$?
68466 grep -v '^ *+' conftest.er1 >conftest.err
68467 rm -f conftest.er1
68468 cat conftest.err >&5
68469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68470 (exit $ac_status); } &&
68471 { ac_try='test -z "$ac_cxx_werror_flag"
68472 || test ! -s conftest.err'
68473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68474 (eval $ac_try) 2>&5
68475 ac_status=$?
68476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68477 (exit $ac_status); }; } &&
68478 { ac_try='test -s conftest.$ac_objext'
68479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68480 (eval $ac_try) 2>&5
68481 ac_status=$?
68482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68483 (exit $ac_status); }; }; then
68484 glibcxx_cv_func__log10l_use=yes
68485 else
68486 echo "$as_me: failed program was:" >&5
68487 sed 's/^/| /' conftest.$ac_ext >&5
68489 glibcxx_cv_func__log10l_use=no
68491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68492 ac_ext=c
68493 ac_cpp='$CPP $CPPFLAGS'
68494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68502 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
68503 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
68505 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
68507 for ac_func in _log10l
68509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68510 echo "$as_me:$LINENO: checking for $ac_func" >&5
68511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68512 if eval "test \"\${$as_ac_var+set}\" = set"; then
68513 echo $ECHO_N "(cached) $ECHO_C" >&6
68514 else
68515 if test x$gcc_no_link = xyes; then
68516 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68518 { (exit 1); exit 1; }; }
68520 cat >conftest.$ac_ext <<_ACEOF
68521 /* confdefs.h. */
68522 _ACEOF
68523 cat confdefs.h >>conftest.$ac_ext
68524 cat >>conftest.$ac_ext <<_ACEOF
68525 /* end confdefs.h. */
68526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68527 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68528 #define $ac_func innocuous_$ac_func
68530 /* System header to define __stub macros and hopefully few prototypes,
68531 which can conflict with char $ac_func (); below.
68532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68533 <limits.h> exists even on freestanding compilers. */
68535 #ifdef __STDC__
68536 # include <limits.h>
68537 #else
68538 # include <assert.h>
68539 #endif
68541 #undef $ac_func
68543 /* Override any gcc2 internal prototype to avoid an error. */
68544 #ifdef __cplusplus
68545 extern "C"
68547 #endif
68548 /* We use char because int might match the return type of a gcc2
68549 builtin and then its argument prototype would still apply. */
68550 char $ac_func ();
68551 /* The GNU C library defines this for functions which it implements
68552 to always fail with ENOSYS. Some functions are actually named
68553 something starting with __ and the normal name is an alias. */
68554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68555 choke me
68556 #else
68557 char (*f) () = $ac_func;
68558 #endif
68559 #ifdef __cplusplus
68561 #endif
68564 main ()
68566 return f != $ac_func;
68568 return 0;
68570 _ACEOF
68571 rm -f conftest.$ac_objext conftest$ac_exeext
68572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68573 (eval $ac_link) 2>conftest.er1
68574 ac_status=$?
68575 grep -v '^ *+' conftest.er1 >conftest.err
68576 rm -f conftest.er1
68577 cat conftest.err >&5
68578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68579 (exit $ac_status); } &&
68580 { ac_try='test -z "$ac_c_werror_flag"
68581 || test ! -s conftest.err'
68582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68583 (eval $ac_try) 2>&5
68584 ac_status=$?
68585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68586 (exit $ac_status); }; } &&
68587 { ac_try='test -s conftest$ac_exeext'
68588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68589 (eval $ac_try) 2>&5
68590 ac_status=$?
68591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68592 (exit $ac_status); }; }; then
68593 eval "$as_ac_var=yes"
68594 else
68595 echo "$as_me: failed program was:" >&5
68596 sed 's/^/| /' conftest.$ac_ext >&5
68598 eval "$as_ac_var=no"
68600 rm -f conftest.err conftest.$ac_objext \
68601 conftest$ac_exeext conftest.$ac_ext
68603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68605 if test `eval echo '${'$as_ac_var'}'` = yes; then
68606 cat >>confdefs.h <<_ACEOF
68607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68608 _ACEOF
68611 done
68621 echo "$as_me:$LINENO: checking for modfl declaration" >&5
68622 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
68623 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
68624 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
68625 echo $ECHO_N "(cached) $ECHO_C" >&6
68626 else
68630 ac_ext=cc
68631 ac_cpp='$CXXCPP $CPPFLAGS'
68632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68636 cat >conftest.$ac_ext <<_ACEOF
68637 /* confdefs.h. */
68638 _ACEOF
68639 cat confdefs.h >>conftest.$ac_ext
68640 cat >>conftest.$ac_ext <<_ACEOF
68641 /* end confdefs.h. */
68642 #include <math.h>
68644 main ()
68646 modfl(0, 0);
68648 return 0;
68650 _ACEOF
68651 rm -f conftest.$ac_objext
68652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68653 (eval $ac_compile) 2>conftest.er1
68654 ac_status=$?
68655 grep -v '^ *+' conftest.er1 >conftest.err
68656 rm -f conftest.er1
68657 cat conftest.err >&5
68658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68659 (exit $ac_status); } &&
68660 { ac_try='test -z "$ac_cxx_werror_flag"
68661 || test ! -s conftest.err'
68662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68663 (eval $ac_try) 2>&5
68664 ac_status=$?
68665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68666 (exit $ac_status); }; } &&
68667 { ac_try='test -s conftest.$ac_objext'
68668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68669 (eval $ac_try) 2>&5
68670 ac_status=$?
68671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68672 (exit $ac_status); }; }; then
68673 glibcxx_cv_func_modfl_use=yes
68674 else
68675 echo "$as_me: failed program was:" >&5
68676 sed 's/^/| /' conftest.$ac_ext >&5
68678 glibcxx_cv_func_modfl_use=no
68680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68681 ac_ext=c
68682 ac_cpp='$CPP $CPPFLAGS'
68683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68691 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
68692 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
68694 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
68696 for ac_func in modfl
68698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68699 echo "$as_me:$LINENO: checking for $ac_func" >&5
68700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68701 if eval "test \"\${$as_ac_var+set}\" = set"; then
68702 echo $ECHO_N "(cached) $ECHO_C" >&6
68703 else
68704 if test x$gcc_no_link = xyes; then
68705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68707 { (exit 1); exit 1; }; }
68709 cat >conftest.$ac_ext <<_ACEOF
68710 /* confdefs.h. */
68711 _ACEOF
68712 cat confdefs.h >>conftest.$ac_ext
68713 cat >>conftest.$ac_ext <<_ACEOF
68714 /* end confdefs.h. */
68715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68717 #define $ac_func innocuous_$ac_func
68719 /* System header to define __stub macros and hopefully few prototypes,
68720 which can conflict with char $ac_func (); below.
68721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68722 <limits.h> exists even on freestanding compilers. */
68724 #ifdef __STDC__
68725 # include <limits.h>
68726 #else
68727 # include <assert.h>
68728 #endif
68730 #undef $ac_func
68732 /* Override any gcc2 internal prototype to avoid an error. */
68733 #ifdef __cplusplus
68734 extern "C"
68736 #endif
68737 /* We use char because int might match the return type of a gcc2
68738 builtin and then its argument prototype would still apply. */
68739 char $ac_func ();
68740 /* The GNU C library defines this for functions which it implements
68741 to always fail with ENOSYS. Some functions are actually named
68742 something starting with __ and the normal name is an alias. */
68743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68744 choke me
68745 #else
68746 char (*f) () = $ac_func;
68747 #endif
68748 #ifdef __cplusplus
68750 #endif
68753 main ()
68755 return f != $ac_func;
68757 return 0;
68759 _ACEOF
68760 rm -f conftest.$ac_objext conftest$ac_exeext
68761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68762 (eval $ac_link) 2>conftest.er1
68763 ac_status=$?
68764 grep -v '^ *+' conftest.er1 >conftest.err
68765 rm -f conftest.er1
68766 cat conftest.err >&5
68767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68768 (exit $ac_status); } &&
68769 { ac_try='test -z "$ac_c_werror_flag"
68770 || test ! -s conftest.err'
68771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68772 (eval $ac_try) 2>&5
68773 ac_status=$?
68774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68775 (exit $ac_status); }; } &&
68776 { ac_try='test -s conftest$ac_exeext'
68777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68778 (eval $ac_try) 2>&5
68779 ac_status=$?
68780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68781 (exit $ac_status); }; }; then
68782 eval "$as_ac_var=yes"
68783 else
68784 echo "$as_me: failed program was:" >&5
68785 sed 's/^/| /' conftest.$ac_ext >&5
68787 eval "$as_ac_var=no"
68789 rm -f conftest.err conftest.$ac_objext \
68790 conftest$ac_exeext conftest.$ac_ext
68792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68794 if test `eval echo '${'$as_ac_var'}'` = yes; then
68795 cat >>confdefs.h <<_ACEOF
68796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68797 _ACEOF
68800 done
68802 else
68804 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
68805 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
68806 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68807 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
68808 echo $ECHO_N "(cached) $ECHO_C" >&6
68809 else
68813 ac_ext=cc
68814 ac_cpp='$CXXCPP $CPPFLAGS'
68815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68819 cat >conftest.$ac_ext <<_ACEOF
68820 /* confdefs.h. */
68821 _ACEOF
68822 cat confdefs.h >>conftest.$ac_ext
68823 cat >>conftest.$ac_ext <<_ACEOF
68824 /* end confdefs.h. */
68825 #include <math.h>
68827 main ()
68829 _modfl(0, 0);
68831 return 0;
68833 _ACEOF
68834 rm -f conftest.$ac_objext
68835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68836 (eval $ac_compile) 2>conftest.er1
68837 ac_status=$?
68838 grep -v '^ *+' conftest.er1 >conftest.err
68839 rm -f conftest.er1
68840 cat conftest.err >&5
68841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68842 (exit $ac_status); } &&
68843 { ac_try='test -z "$ac_cxx_werror_flag"
68844 || test ! -s conftest.err'
68845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68846 (eval $ac_try) 2>&5
68847 ac_status=$?
68848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68849 (exit $ac_status); }; } &&
68850 { ac_try='test -s conftest.$ac_objext'
68851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68852 (eval $ac_try) 2>&5
68853 ac_status=$?
68854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68855 (exit $ac_status); }; }; then
68856 glibcxx_cv_func__modfl_use=yes
68857 else
68858 echo "$as_me: failed program was:" >&5
68859 sed 's/^/| /' conftest.$ac_ext >&5
68861 glibcxx_cv_func__modfl_use=no
68863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68864 ac_ext=c
68865 ac_cpp='$CPP $CPPFLAGS'
68866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68874 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
68875 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
68877 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68879 for ac_func in _modfl
68881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68882 echo "$as_me:$LINENO: checking for $ac_func" >&5
68883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68884 if eval "test \"\${$as_ac_var+set}\" = set"; then
68885 echo $ECHO_N "(cached) $ECHO_C" >&6
68886 else
68887 if test x$gcc_no_link = xyes; then
68888 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68890 { (exit 1); exit 1; }; }
68892 cat >conftest.$ac_ext <<_ACEOF
68893 /* confdefs.h. */
68894 _ACEOF
68895 cat confdefs.h >>conftest.$ac_ext
68896 cat >>conftest.$ac_ext <<_ACEOF
68897 /* end confdefs.h. */
68898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68900 #define $ac_func innocuous_$ac_func
68902 /* System header to define __stub macros and hopefully few prototypes,
68903 which can conflict with char $ac_func (); below.
68904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68905 <limits.h> exists even on freestanding compilers. */
68907 #ifdef __STDC__
68908 # include <limits.h>
68909 #else
68910 # include <assert.h>
68911 #endif
68913 #undef $ac_func
68915 /* Override any gcc2 internal prototype to avoid an error. */
68916 #ifdef __cplusplus
68917 extern "C"
68919 #endif
68920 /* We use char because int might match the return type of a gcc2
68921 builtin and then its argument prototype would still apply. */
68922 char $ac_func ();
68923 /* The GNU C library defines this for functions which it implements
68924 to always fail with ENOSYS. Some functions are actually named
68925 something starting with __ and the normal name is an alias. */
68926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68927 choke me
68928 #else
68929 char (*f) () = $ac_func;
68930 #endif
68931 #ifdef __cplusplus
68933 #endif
68936 main ()
68938 return f != $ac_func;
68940 return 0;
68942 _ACEOF
68943 rm -f conftest.$ac_objext conftest$ac_exeext
68944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68945 (eval $ac_link) 2>conftest.er1
68946 ac_status=$?
68947 grep -v '^ *+' conftest.er1 >conftest.err
68948 rm -f conftest.er1
68949 cat conftest.err >&5
68950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68951 (exit $ac_status); } &&
68952 { ac_try='test -z "$ac_c_werror_flag"
68953 || test ! -s conftest.err'
68954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68955 (eval $ac_try) 2>&5
68956 ac_status=$?
68957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68958 (exit $ac_status); }; } &&
68959 { ac_try='test -s conftest$ac_exeext'
68960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68961 (eval $ac_try) 2>&5
68962 ac_status=$?
68963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68964 (exit $ac_status); }; }; then
68965 eval "$as_ac_var=yes"
68966 else
68967 echo "$as_me: failed program was:" >&5
68968 sed 's/^/| /' conftest.$ac_ext >&5
68970 eval "$as_ac_var=no"
68972 rm -f conftest.err conftest.$ac_objext \
68973 conftest$ac_exeext conftest.$ac_ext
68975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68977 if test `eval echo '${'$as_ac_var'}'` = yes; then
68978 cat >>confdefs.h <<_ACEOF
68979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68980 _ACEOF
68983 done
68993 echo "$as_me:$LINENO: checking for powl declaration" >&5
68994 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
68995 if test x${glibcxx_cv_func_powl_use+set} != xset; then
68996 if test "${glibcxx_cv_func_powl_use+set}" = set; then
68997 echo $ECHO_N "(cached) $ECHO_C" >&6
68998 else
69002 ac_ext=cc
69003 ac_cpp='$CXXCPP $CPPFLAGS'
69004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69008 cat >conftest.$ac_ext <<_ACEOF
69009 /* confdefs.h. */
69010 _ACEOF
69011 cat confdefs.h >>conftest.$ac_ext
69012 cat >>conftest.$ac_ext <<_ACEOF
69013 /* end confdefs.h. */
69014 #include <math.h>
69016 main ()
69018 powl(0, 0);
69020 return 0;
69022 _ACEOF
69023 rm -f conftest.$ac_objext
69024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69025 (eval $ac_compile) 2>conftest.er1
69026 ac_status=$?
69027 grep -v '^ *+' conftest.er1 >conftest.err
69028 rm -f conftest.er1
69029 cat conftest.err >&5
69030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69031 (exit $ac_status); } &&
69032 { ac_try='test -z "$ac_cxx_werror_flag"
69033 || test ! -s conftest.err'
69034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69035 (eval $ac_try) 2>&5
69036 ac_status=$?
69037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69038 (exit $ac_status); }; } &&
69039 { ac_try='test -s conftest.$ac_objext'
69040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69041 (eval $ac_try) 2>&5
69042 ac_status=$?
69043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69044 (exit $ac_status); }; }; then
69045 glibcxx_cv_func_powl_use=yes
69046 else
69047 echo "$as_me: failed program was:" >&5
69048 sed 's/^/| /' conftest.$ac_ext >&5
69050 glibcxx_cv_func_powl_use=no
69052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69053 ac_ext=c
69054 ac_cpp='$CPP $CPPFLAGS'
69055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69063 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
69064 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
69066 if test x$glibcxx_cv_func_powl_use = x"yes"; then
69068 for ac_func in powl
69070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69071 echo "$as_me:$LINENO: checking for $ac_func" >&5
69072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69073 if eval "test \"\${$as_ac_var+set}\" = set"; then
69074 echo $ECHO_N "(cached) $ECHO_C" >&6
69075 else
69076 if test x$gcc_no_link = xyes; then
69077 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69079 { (exit 1); exit 1; }; }
69081 cat >conftest.$ac_ext <<_ACEOF
69082 /* confdefs.h. */
69083 _ACEOF
69084 cat confdefs.h >>conftest.$ac_ext
69085 cat >>conftest.$ac_ext <<_ACEOF
69086 /* end confdefs.h. */
69087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69089 #define $ac_func innocuous_$ac_func
69091 /* System header to define __stub macros and hopefully few prototypes,
69092 which can conflict with char $ac_func (); below.
69093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69094 <limits.h> exists even on freestanding compilers. */
69096 #ifdef __STDC__
69097 # include <limits.h>
69098 #else
69099 # include <assert.h>
69100 #endif
69102 #undef $ac_func
69104 /* Override any gcc2 internal prototype to avoid an error. */
69105 #ifdef __cplusplus
69106 extern "C"
69108 #endif
69109 /* We use char because int might match the return type of a gcc2
69110 builtin and then its argument prototype would still apply. */
69111 char $ac_func ();
69112 /* The GNU C library defines this for functions which it implements
69113 to always fail with ENOSYS. Some functions are actually named
69114 something starting with __ and the normal name is an alias. */
69115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69116 choke me
69117 #else
69118 char (*f) () = $ac_func;
69119 #endif
69120 #ifdef __cplusplus
69122 #endif
69125 main ()
69127 return f != $ac_func;
69129 return 0;
69131 _ACEOF
69132 rm -f conftest.$ac_objext conftest$ac_exeext
69133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69134 (eval $ac_link) 2>conftest.er1
69135 ac_status=$?
69136 grep -v '^ *+' conftest.er1 >conftest.err
69137 rm -f conftest.er1
69138 cat conftest.err >&5
69139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69140 (exit $ac_status); } &&
69141 { ac_try='test -z "$ac_c_werror_flag"
69142 || test ! -s conftest.err'
69143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69144 (eval $ac_try) 2>&5
69145 ac_status=$?
69146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69147 (exit $ac_status); }; } &&
69148 { ac_try='test -s conftest$ac_exeext'
69149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69150 (eval $ac_try) 2>&5
69151 ac_status=$?
69152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69153 (exit $ac_status); }; }; then
69154 eval "$as_ac_var=yes"
69155 else
69156 echo "$as_me: failed program was:" >&5
69157 sed 's/^/| /' conftest.$ac_ext >&5
69159 eval "$as_ac_var=no"
69161 rm -f conftest.err conftest.$ac_objext \
69162 conftest$ac_exeext conftest.$ac_ext
69164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69166 if test `eval echo '${'$as_ac_var'}'` = yes; then
69167 cat >>confdefs.h <<_ACEOF
69168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69169 _ACEOF
69172 done
69174 else
69176 echo "$as_me:$LINENO: checking for _powl declaration" >&5
69177 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
69178 if test x${glibcxx_cv_func__powl_use+set} != xset; then
69179 if test "${glibcxx_cv_func__powl_use+set}" = set; then
69180 echo $ECHO_N "(cached) $ECHO_C" >&6
69181 else
69185 ac_ext=cc
69186 ac_cpp='$CXXCPP $CPPFLAGS'
69187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69191 cat >conftest.$ac_ext <<_ACEOF
69192 /* confdefs.h. */
69193 _ACEOF
69194 cat confdefs.h >>conftest.$ac_ext
69195 cat >>conftest.$ac_ext <<_ACEOF
69196 /* end confdefs.h. */
69197 #include <math.h>
69199 main ()
69201 _powl(0, 0);
69203 return 0;
69205 _ACEOF
69206 rm -f conftest.$ac_objext
69207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69208 (eval $ac_compile) 2>conftest.er1
69209 ac_status=$?
69210 grep -v '^ *+' conftest.er1 >conftest.err
69211 rm -f conftest.er1
69212 cat conftest.err >&5
69213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69214 (exit $ac_status); } &&
69215 { ac_try='test -z "$ac_cxx_werror_flag"
69216 || test ! -s conftest.err'
69217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69218 (eval $ac_try) 2>&5
69219 ac_status=$?
69220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69221 (exit $ac_status); }; } &&
69222 { ac_try='test -s conftest.$ac_objext'
69223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69224 (eval $ac_try) 2>&5
69225 ac_status=$?
69226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69227 (exit $ac_status); }; }; then
69228 glibcxx_cv_func__powl_use=yes
69229 else
69230 echo "$as_me: failed program was:" >&5
69231 sed 's/^/| /' conftest.$ac_ext >&5
69233 glibcxx_cv_func__powl_use=no
69235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69236 ac_ext=c
69237 ac_cpp='$CPP $CPPFLAGS'
69238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69246 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
69247 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
69249 if test x$glibcxx_cv_func__powl_use = x"yes"; then
69251 for ac_func in _powl
69253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69254 echo "$as_me:$LINENO: checking for $ac_func" >&5
69255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69256 if eval "test \"\${$as_ac_var+set}\" = set"; then
69257 echo $ECHO_N "(cached) $ECHO_C" >&6
69258 else
69259 if test x$gcc_no_link = xyes; then
69260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69262 { (exit 1); exit 1; }; }
69264 cat >conftest.$ac_ext <<_ACEOF
69265 /* confdefs.h. */
69266 _ACEOF
69267 cat confdefs.h >>conftest.$ac_ext
69268 cat >>conftest.$ac_ext <<_ACEOF
69269 /* end confdefs.h. */
69270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69272 #define $ac_func innocuous_$ac_func
69274 /* System header to define __stub macros and hopefully few prototypes,
69275 which can conflict with char $ac_func (); below.
69276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69277 <limits.h> exists even on freestanding compilers. */
69279 #ifdef __STDC__
69280 # include <limits.h>
69281 #else
69282 # include <assert.h>
69283 #endif
69285 #undef $ac_func
69287 /* Override any gcc2 internal prototype to avoid an error. */
69288 #ifdef __cplusplus
69289 extern "C"
69291 #endif
69292 /* We use char because int might match the return type of a gcc2
69293 builtin and then its argument prototype would still apply. */
69294 char $ac_func ();
69295 /* The GNU C library defines this for functions which it implements
69296 to always fail with ENOSYS. Some functions are actually named
69297 something starting with __ and the normal name is an alias. */
69298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69299 choke me
69300 #else
69301 char (*f) () = $ac_func;
69302 #endif
69303 #ifdef __cplusplus
69305 #endif
69308 main ()
69310 return f != $ac_func;
69312 return 0;
69314 _ACEOF
69315 rm -f conftest.$ac_objext conftest$ac_exeext
69316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69317 (eval $ac_link) 2>conftest.er1
69318 ac_status=$?
69319 grep -v '^ *+' conftest.er1 >conftest.err
69320 rm -f conftest.er1
69321 cat conftest.err >&5
69322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69323 (exit $ac_status); } &&
69324 { ac_try='test -z "$ac_c_werror_flag"
69325 || test ! -s conftest.err'
69326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69327 (eval $ac_try) 2>&5
69328 ac_status=$?
69329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69330 (exit $ac_status); }; } &&
69331 { ac_try='test -s conftest$ac_exeext'
69332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69333 (eval $ac_try) 2>&5
69334 ac_status=$?
69335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69336 (exit $ac_status); }; }; then
69337 eval "$as_ac_var=yes"
69338 else
69339 echo "$as_me: failed program was:" >&5
69340 sed 's/^/| /' conftest.$ac_ext >&5
69342 eval "$as_ac_var=no"
69344 rm -f conftest.err conftest.$ac_objext \
69345 conftest$ac_exeext conftest.$ac_ext
69347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69349 if test `eval echo '${'$as_ac_var'}'` = yes; then
69350 cat >>confdefs.h <<_ACEOF
69351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69352 _ACEOF
69355 done
69365 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
69366 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
69367 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
69368 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
69369 echo $ECHO_N "(cached) $ECHO_C" >&6
69370 else
69374 ac_ext=cc
69375 ac_cpp='$CXXCPP $CPPFLAGS'
69376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69380 cat >conftest.$ac_ext <<_ACEOF
69381 /* confdefs.h. */
69382 _ACEOF
69383 cat confdefs.h >>conftest.$ac_ext
69384 cat >>conftest.$ac_ext <<_ACEOF
69385 /* end confdefs.h. */
69386 #include <math.h>
69387 #ifdef HAVE_IEEEFP_H
69388 #include <ieeefp.h>
69389 #endif
69392 main ()
69394 sqrtl(0);
69396 return 0;
69398 _ACEOF
69399 rm -f conftest.$ac_objext
69400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69401 (eval $ac_compile) 2>conftest.er1
69402 ac_status=$?
69403 grep -v '^ *+' conftest.er1 >conftest.err
69404 rm -f conftest.er1
69405 cat conftest.err >&5
69406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69407 (exit $ac_status); } &&
69408 { ac_try='test -z "$ac_cxx_werror_flag"
69409 || test ! -s conftest.err'
69410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69411 (eval $ac_try) 2>&5
69412 ac_status=$?
69413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69414 (exit $ac_status); }; } &&
69415 { ac_try='test -s conftest.$ac_objext'
69416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69417 (eval $ac_try) 2>&5
69418 ac_status=$?
69419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69420 (exit $ac_status); }; }; then
69421 glibcxx_cv_func_sqrtl_use=yes
69422 else
69423 echo "$as_me: failed program was:" >&5
69424 sed 's/^/| /' conftest.$ac_ext >&5
69426 glibcxx_cv_func_sqrtl_use=no
69428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69429 ac_ext=c
69430 ac_cpp='$CPP $CPPFLAGS'
69431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69439 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
69440 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
69442 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
69444 for ac_func in sqrtl
69446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69447 echo "$as_me:$LINENO: checking for $ac_func" >&5
69448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69449 if eval "test \"\${$as_ac_var+set}\" = set"; then
69450 echo $ECHO_N "(cached) $ECHO_C" >&6
69451 else
69452 if test x$gcc_no_link = xyes; then
69453 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69455 { (exit 1); exit 1; }; }
69457 cat >conftest.$ac_ext <<_ACEOF
69458 /* confdefs.h. */
69459 _ACEOF
69460 cat confdefs.h >>conftest.$ac_ext
69461 cat >>conftest.$ac_ext <<_ACEOF
69462 /* end confdefs.h. */
69463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69465 #define $ac_func innocuous_$ac_func
69467 /* System header to define __stub macros and hopefully few prototypes,
69468 which can conflict with char $ac_func (); below.
69469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69470 <limits.h> exists even on freestanding compilers. */
69472 #ifdef __STDC__
69473 # include <limits.h>
69474 #else
69475 # include <assert.h>
69476 #endif
69478 #undef $ac_func
69480 /* Override any gcc2 internal prototype to avoid an error. */
69481 #ifdef __cplusplus
69482 extern "C"
69484 #endif
69485 /* We use char because int might match the return type of a gcc2
69486 builtin and then its argument prototype would still apply. */
69487 char $ac_func ();
69488 /* The GNU C library defines this for functions which it implements
69489 to always fail with ENOSYS. Some functions are actually named
69490 something starting with __ and the normal name is an alias. */
69491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69492 choke me
69493 #else
69494 char (*f) () = $ac_func;
69495 #endif
69496 #ifdef __cplusplus
69498 #endif
69501 main ()
69503 return f != $ac_func;
69505 return 0;
69507 _ACEOF
69508 rm -f conftest.$ac_objext conftest$ac_exeext
69509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69510 (eval $ac_link) 2>conftest.er1
69511 ac_status=$?
69512 grep -v '^ *+' conftest.er1 >conftest.err
69513 rm -f conftest.er1
69514 cat conftest.err >&5
69515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69516 (exit $ac_status); } &&
69517 { ac_try='test -z "$ac_c_werror_flag"
69518 || test ! -s conftest.err'
69519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69520 (eval $ac_try) 2>&5
69521 ac_status=$?
69522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69523 (exit $ac_status); }; } &&
69524 { ac_try='test -s conftest$ac_exeext'
69525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69526 (eval $ac_try) 2>&5
69527 ac_status=$?
69528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69529 (exit $ac_status); }; }; then
69530 eval "$as_ac_var=yes"
69531 else
69532 echo "$as_me: failed program was:" >&5
69533 sed 's/^/| /' conftest.$ac_ext >&5
69535 eval "$as_ac_var=no"
69537 rm -f conftest.err conftest.$ac_objext \
69538 conftest$ac_exeext conftest.$ac_ext
69540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69542 if test `eval echo '${'$as_ac_var'}'` = yes; then
69543 cat >>confdefs.h <<_ACEOF
69544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69545 _ACEOF
69548 done
69550 else
69552 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
69553 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
69554 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
69555 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
69556 echo $ECHO_N "(cached) $ECHO_C" >&6
69557 else
69561 ac_ext=cc
69562 ac_cpp='$CXXCPP $CPPFLAGS'
69563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69567 cat >conftest.$ac_ext <<_ACEOF
69568 /* confdefs.h. */
69569 _ACEOF
69570 cat confdefs.h >>conftest.$ac_ext
69571 cat >>conftest.$ac_ext <<_ACEOF
69572 /* end confdefs.h. */
69573 #include <math.h>
69574 #ifdef HAVE_IEEEFP_H
69575 #include <ieeefp.h>
69576 #endif
69579 main ()
69581 _sqrtl(0);
69583 return 0;
69585 _ACEOF
69586 rm -f conftest.$ac_objext
69587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69588 (eval $ac_compile) 2>conftest.er1
69589 ac_status=$?
69590 grep -v '^ *+' conftest.er1 >conftest.err
69591 rm -f conftest.er1
69592 cat conftest.err >&5
69593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69594 (exit $ac_status); } &&
69595 { ac_try='test -z "$ac_cxx_werror_flag"
69596 || test ! -s conftest.err'
69597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69598 (eval $ac_try) 2>&5
69599 ac_status=$?
69600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69601 (exit $ac_status); }; } &&
69602 { ac_try='test -s conftest.$ac_objext'
69603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69604 (eval $ac_try) 2>&5
69605 ac_status=$?
69606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69607 (exit $ac_status); }; }; then
69608 glibcxx_cv_func__sqrtl_use=yes
69609 else
69610 echo "$as_me: failed program was:" >&5
69611 sed 's/^/| /' conftest.$ac_ext >&5
69613 glibcxx_cv_func__sqrtl_use=no
69615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69616 ac_ext=c
69617 ac_cpp='$CPP $CPPFLAGS'
69618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69626 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
69627 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
69629 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
69631 for ac_func in _sqrtl
69633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69634 echo "$as_me:$LINENO: checking for $ac_func" >&5
69635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69636 if eval "test \"\${$as_ac_var+set}\" = set"; then
69637 echo $ECHO_N "(cached) $ECHO_C" >&6
69638 else
69639 if test x$gcc_no_link = xyes; then
69640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69642 { (exit 1); exit 1; }; }
69644 cat >conftest.$ac_ext <<_ACEOF
69645 /* confdefs.h. */
69646 _ACEOF
69647 cat confdefs.h >>conftest.$ac_ext
69648 cat >>conftest.$ac_ext <<_ACEOF
69649 /* end confdefs.h. */
69650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69652 #define $ac_func innocuous_$ac_func
69654 /* System header to define __stub macros and hopefully few prototypes,
69655 which can conflict with char $ac_func (); below.
69656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69657 <limits.h> exists even on freestanding compilers. */
69659 #ifdef __STDC__
69660 # include <limits.h>
69661 #else
69662 # include <assert.h>
69663 #endif
69665 #undef $ac_func
69667 /* Override any gcc2 internal prototype to avoid an error. */
69668 #ifdef __cplusplus
69669 extern "C"
69671 #endif
69672 /* We use char because int might match the return type of a gcc2
69673 builtin and then its argument prototype would still apply. */
69674 char $ac_func ();
69675 /* The GNU C library defines this for functions which it implements
69676 to always fail with ENOSYS. Some functions are actually named
69677 something starting with __ and the normal name is an alias. */
69678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69679 choke me
69680 #else
69681 char (*f) () = $ac_func;
69682 #endif
69683 #ifdef __cplusplus
69685 #endif
69688 main ()
69690 return f != $ac_func;
69692 return 0;
69694 _ACEOF
69695 rm -f conftest.$ac_objext conftest$ac_exeext
69696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69697 (eval $ac_link) 2>conftest.er1
69698 ac_status=$?
69699 grep -v '^ *+' conftest.er1 >conftest.err
69700 rm -f conftest.er1
69701 cat conftest.err >&5
69702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69703 (exit $ac_status); } &&
69704 { ac_try='test -z "$ac_c_werror_flag"
69705 || test ! -s conftest.err'
69706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69707 (eval $ac_try) 2>&5
69708 ac_status=$?
69709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69710 (exit $ac_status); }; } &&
69711 { ac_try='test -s conftest$ac_exeext'
69712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69713 (eval $ac_try) 2>&5
69714 ac_status=$?
69715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69716 (exit $ac_status); }; }; then
69717 eval "$as_ac_var=yes"
69718 else
69719 echo "$as_me: failed program was:" >&5
69720 sed 's/^/| /' conftest.$ac_ext >&5
69722 eval "$as_ac_var=no"
69724 rm -f conftest.err conftest.$ac_objext \
69725 conftest$ac_exeext conftest.$ac_ext
69727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69729 if test `eval echo '${'$as_ac_var'}'` = yes; then
69730 cat >>confdefs.h <<_ACEOF
69731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69732 _ACEOF
69735 done
69745 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
69746 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
69747 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
69748 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
69749 echo $ECHO_N "(cached) $ECHO_C" >&6
69750 else
69754 ac_ext=cc
69755 ac_cpp='$CXXCPP $CPPFLAGS'
69756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69760 cat >conftest.$ac_ext <<_ACEOF
69761 /* confdefs.h. */
69762 _ACEOF
69763 cat confdefs.h >>conftest.$ac_ext
69764 cat >>conftest.$ac_ext <<_ACEOF
69765 /* end confdefs.h. */
69766 #include <math.h>
69768 main ()
69770 sincosl(0, 0, 0);
69772 return 0;
69774 _ACEOF
69775 rm -f conftest.$ac_objext
69776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69777 (eval $ac_compile) 2>conftest.er1
69778 ac_status=$?
69779 grep -v '^ *+' conftest.er1 >conftest.err
69780 rm -f conftest.er1
69781 cat conftest.err >&5
69782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69783 (exit $ac_status); } &&
69784 { ac_try='test -z "$ac_cxx_werror_flag"
69785 || test ! -s conftest.err'
69786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69787 (eval $ac_try) 2>&5
69788 ac_status=$?
69789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69790 (exit $ac_status); }; } &&
69791 { ac_try='test -s conftest.$ac_objext'
69792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69793 (eval $ac_try) 2>&5
69794 ac_status=$?
69795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69796 (exit $ac_status); }; }; then
69797 glibcxx_cv_func_sincosl_use=yes
69798 else
69799 echo "$as_me: failed program was:" >&5
69800 sed 's/^/| /' conftest.$ac_ext >&5
69802 glibcxx_cv_func_sincosl_use=no
69804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69805 ac_ext=c
69806 ac_cpp='$CPP $CPPFLAGS'
69807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69815 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
69816 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
69818 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69820 for ac_func in sincosl
69822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69823 echo "$as_me:$LINENO: checking for $ac_func" >&5
69824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69825 if eval "test \"\${$as_ac_var+set}\" = set"; then
69826 echo $ECHO_N "(cached) $ECHO_C" >&6
69827 else
69828 if test x$gcc_no_link = xyes; then
69829 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69831 { (exit 1); exit 1; }; }
69833 cat >conftest.$ac_ext <<_ACEOF
69834 /* confdefs.h. */
69835 _ACEOF
69836 cat confdefs.h >>conftest.$ac_ext
69837 cat >>conftest.$ac_ext <<_ACEOF
69838 /* end confdefs.h. */
69839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69841 #define $ac_func innocuous_$ac_func
69843 /* System header to define __stub macros and hopefully few prototypes,
69844 which can conflict with char $ac_func (); below.
69845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69846 <limits.h> exists even on freestanding compilers. */
69848 #ifdef __STDC__
69849 # include <limits.h>
69850 #else
69851 # include <assert.h>
69852 #endif
69854 #undef $ac_func
69856 /* Override any gcc2 internal prototype to avoid an error. */
69857 #ifdef __cplusplus
69858 extern "C"
69860 #endif
69861 /* We use char because int might match the return type of a gcc2
69862 builtin and then its argument prototype would still apply. */
69863 char $ac_func ();
69864 /* The GNU C library defines this for functions which it implements
69865 to always fail with ENOSYS. Some functions are actually named
69866 something starting with __ and the normal name is an alias. */
69867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69868 choke me
69869 #else
69870 char (*f) () = $ac_func;
69871 #endif
69872 #ifdef __cplusplus
69874 #endif
69877 main ()
69879 return f != $ac_func;
69881 return 0;
69883 _ACEOF
69884 rm -f conftest.$ac_objext conftest$ac_exeext
69885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69886 (eval $ac_link) 2>conftest.er1
69887 ac_status=$?
69888 grep -v '^ *+' conftest.er1 >conftest.err
69889 rm -f conftest.er1
69890 cat conftest.err >&5
69891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69892 (exit $ac_status); } &&
69893 { ac_try='test -z "$ac_c_werror_flag"
69894 || test ! -s conftest.err'
69895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69896 (eval $ac_try) 2>&5
69897 ac_status=$?
69898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69899 (exit $ac_status); }; } &&
69900 { ac_try='test -s conftest$ac_exeext'
69901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69902 (eval $ac_try) 2>&5
69903 ac_status=$?
69904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69905 (exit $ac_status); }; }; then
69906 eval "$as_ac_var=yes"
69907 else
69908 echo "$as_me: failed program was:" >&5
69909 sed 's/^/| /' conftest.$ac_ext >&5
69911 eval "$as_ac_var=no"
69913 rm -f conftest.err conftest.$ac_objext \
69914 conftest$ac_exeext conftest.$ac_ext
69916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69918 if test `eval echo '${'$as_ac_var'}'` = yes; then
69919 cat >>confdefs.h <<_ACEOF
69920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69921 _ACEOF
69924 done
69926 else
69928 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
69929 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
69930 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69931 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
69932 echo $ECHO_N "(cached) $ECHO_C" >&6
69933 else
69937 ac_ext=cc
69938 ac_cpp='$CXXCPP $CPPFLAGS'
69939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69943 cat >conftest.$ac_ext <<_ACEOF
69944 /* confdefs.h. */
69945 _ACEOF
69946 cat confdefs.h >>conftest.$ac_ext
69947 cat >>conftest.$ac_ext <<_ACEOF
69948 /* end confdefs.h. */
69949 #include <math.h>
69951 main ()
69953 _sincosl(0, 0, 0);
69955 return 0;
69957 _ACEOF
69958 rm -f conftest.$ac_objext
69959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69960 (eval $ac_compile) 2>conftest.er1
69961 ac_status=$?
69962 grep -v '^ *+' conftest.er1 >conftest.err
69963 rm -f conftest.er1
69964 cat conftest.err >&5
69965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69966 (exit $ac_status); } &&
69967 { ac_try='test -z "$ac_cxx_werror_flag"
69968 || test ! -s conftest.err'
69969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69970 (eval $ac_try) 2>&5
69971 ac_status=$?
69972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69973 (exit $ac_status); }; } &&
69974 { ac_try='test -s conftest.$ac_objext'
69975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69976 (eval $ac_try) 2>&5
69977 ac_status=$?
69978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69979 (exit $ac_status); }; }; then
69980 glibcxx_cv_func__sincosl_use=yes
69981 else
69982 echo "$as_me: failed program was:" >&5
69983 sed 's/^/| /' conftest.$ac_ext >&5
69985 glibcxx_cv_func__sincosl_use=no
69987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69988 ac_ext=c
69989 ac_cpp='$CPP $CPPFLAGS'
69990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69998 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
69999 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
70001 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70003 for ac_func in _sincosl
70005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70006 echo "$as_me:$LINENO: checking for $ac_func" >&5
70007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70008 if eval "test \"\${$as_ac_var+set}\" = set"; then
70009 echo $ECHO_N "(cached) $ECHO_C" >&6
70010 else
70011 if test x$gcc_no_link = xyes; then
70012 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70014 { (exit 1); exit 1; }; }
70016 cat >conftest.$ac_ext <<_ACEOF
70017 /* confdefs.h. */
70018 _ACEOF
70019 cat confdefs.h >>conftest.$ac_ext
70020 cat >>conftest.$ac_ext <<_ACEOF
70021 /* end confdefs.h. */
70022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70023 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70024 #define $ac_func innocuous_$ac_func
70026 /* System header to define __stub macros and hopefully few prototypes,
70027 which can conflict with char $ac_func (); below.
70028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70029 <limits.h> exists even on freestanding compilers. */
70031 #ifdef __STDC__
70032 # include <limits.h>
70033 #else
70034 # include <assert.h>
70035 #endif
70037 #undef $ac_func
70039 /* Override any gcc2 internal prototype to avoid an error. */
70040 #ifdef __cplusplus
70041 extern "C"
70043 #endif
70044 /* We use char because int might match the return type of a gcc2
70045 builtin and then its argument prototype would still apply. */
70046 char $ac_func ();
70047 /* The GNU C library defines this for functions which it implements
70048 to always fail with ENOSYS. Some functions are actually named
70049 something starting with __ and the normal name is an alias. */
70050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70051 choke me
70052 #else
70053 char (*f) () = $ac_func;
70054 #endif
70055 #ifdef __cplusplus
70057 #endif
70060 main ()
70062 return f != $ac_func;
70064 return 0;
70066 _ACEOF
70067 rm -f conftest.$ac_objext conftest$ac_exeext
70068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70069 (eval $ac_link) 2>conftest.er1
70070 ac_status=$?
70071 grep -v '^ *+' conftest.er1 >conftest.err
70072 rm -f conftest.er1
70073 cat conftest.err >&5
70074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70075 (exit $ac_status); } &&
70076 { ac_try='test -z "$ac_c_werror_flag"
70077 || test ! -s conftest.err'
70078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70079 (eval $ac_try) 2>&5
70080 ac_status=$?
70081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70082 (exit $ac_status); }; } &&
70083 { ac_try='test -s conftest$ac_exeext'
70084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70085 (eval $ac_try) 2>&5
70086 ac_status=$?
70087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70088 (exit $ac_status); }; }; then
70089 eval "$as_ac_var=yes"
70090 else
70091 echo "$as_me: failed program was:" >&5
70092 sed 's/^/| /' conftest.$ac_ext >&5
70094 eval "$as_ac_var=no"
70096 rm -f conftest.err conftest.$ac_objext \
70097 conftest$ac_exeext conftest.$ac_ext
70099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70100 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70101 if test `eval echo '${'$as_ac_var'}'` = yes; then
70102 cat >>confdefs.h <<_ACEOF
70103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70104 _ACEOF
70107 done
70117 echo "$as_me:$LINENO: checking for finitel declaration" >&5
70118 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
70119 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70120 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
70121 echo $ECHO_N "(cached) $ECHO_C" >&6
70122 else
70126 ac_ext=cc
70127 ac_cpp='$CXXCPP $CPPFLAGS'
70128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70132 cat >conftest.$ac_ext <<_ACEOF
70133 /* confdefs.h. */
70134 _ACEOF
70135 cat confdefs.h >>conftest.$ac_ext
70136 cat >>conftest.$ac_ext <<_ACEOF
70137 /* end confdefs.h. */
70138 #include <math.h>
70139 #ifdef HAVE_IEEEFP_H
70140 #include <ieeefp.h>
70141 #endif
70144 main ()
70146 finitel(0);
70148 return 0;
70150 _ACEOF
70151 rm -f conftest.$ac_objext
70152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70153 (eval $ac_compile) 2>conftest.er1
70154 ac_status=$?
70155 grep -v '^ *+' conftest.er1 >conftest.err
70156 rm -f conftest.er1
70157 cat conftest.err >&5
70158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70159 (exit $ac_status); } &&
70160 { ac_try='test -z "$ac_cxx_werror_flag"
70161 || test ! -s conftest.err'
70162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70163 (eval $ac_try) 2>&5
70164 ac_status=$?
70165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70166 (exit $ac_status); }; } &&
70167 { ac_try='test -s conftest.$ac_objext'
70168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70169 (eval $ac_try) 2>&5
70170 ac_status=$?
70171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70172 (exit $ac_status); }; }; then
70173 glibcxx_cv_func_finitel_use=yes
70174 else
70175 echo "$as_me: failed program was:" >&5
70176 sed 's/^/| /' conftest.$ac_ext >&5
70178 glibcxx_cv_func_finitel_use=no
70180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70181 ac_ext=c
70182 ac_cpp='$CPP $CPPFLAGS'
70183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70191 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
70192 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
70194 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70196 for ac_func in finitel
70198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70199 echo "$as_me:$LINENO: checking for $ac_func" >&5
70200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70201 if eval "test \"\${$as_ac_var+set}\" = set"; then
70202 echo $ECHO_N "(cached) $ECHO_C" >&6
70203 else
70204 if test x$gcc_no_link = xyes; then
70205 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70207 { (exit 1); exit 1; }; }
70209 cat >conftest.$ac_ext <<_ACEOF
70210 /* confdefs.h. */
70211 _ACEOF
70212 cat confdefs.h >>conftest.$ac_ext
70213 cat >>conftest.$ac_ext <<_ACEOF
70214 /* end confdefs.h. */
70215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70217 #define $ac_func innocuous_$ac_func
70219 /* System header to define __stub macros and hopefully few prototypes,
70220 which can conflict with char $ac_func (); below.
70221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70222 <limits.h> exists even on freestanding compilers. */
70224 #ifdef __STDC__
70225 # include <limits.h>
70226 #else
70227 # include <assert.h>
70228 #endif
70230 #undef $ac_func
70232 /* Override any gcc2 internal prototype to avoid an error. */
70233 #ifdef __cplusplus
70234 extern "C"
70236 #endif
70237 /* We use char because int might match the return type of a gcc2
70238 builtin and then its argument prototype would still apply. */
70239 char $ac_func ();
70240 /* The GNU C library defines this for functions which it implements
70241 to always fail with ENOSYS. Some functions are actually named
70242 something starting with __ and the normal name is an alias. */
70243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70244 choke me
70245 #else
70246 char (*f) () = $ac_func;
70247 #endif
70248 #ifdef __cplusplus
70250 #endif
70253 main ()
70255 return f != $ac_func;
70257 return 0;
70259 _ACEOF
70260 rm -f conftest.$ac_objext conftest$ac_exeext
70261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70262 (eval $ac_link) 2>conftest.er1
70263 ac_status=$?
70264 grep -v '^ *+' conftest.er1 >conftest.err
70265 rm -f conftest.er1
70266 cat conftest.err >&5
70267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70268 (exit $ac_status); } &&
70269 { ac_try='test -z "$ac_c_werror_flag"
70270 || test ! -s conftest.err'
70271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70272 (eval $ac_try) 2>&5
70273 ac_status=$?
70274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70275 (exit $ac_status); }; } &&
70276 { ac_try='test -s conftest$ac_exeext'
70277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70278 (eval $ac_try) 2>&5
70279 ac_status=$?
70280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70281 (exit $ac_status); }; }; then
70282 eval "$as_ac_var=yes"
70283 else
70284 echo "$as_me: failed program was:" >&5
70285 sed 's/^/| /' conftest.$ac_ext >&5
70287 eval "$as_ac_var=no"
70289 rm -f conftest.err conftest.$ac_objext \
70290 conftest$ac_exeext conftest.$ac_ext
70292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70294 if test `eval echo '${'$as_ac_var'}'` = yes; then
70295 cat >>confdefs.h <<_ACEOF
70296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70297 _ACEOF
70300 done
70302 else
70304 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
70305 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
70306 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70307 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
70308 echo $ECHO_N "(cached) $ECHO_C" >&6
70309 else
70313 ac_ext=cc
70314 ac_cpp='$CXXCPP $CPPFLAGS'
70315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70319 cat >conftest.$ac_ext <<_ACEOF
70320 /* confdefs.h. */
70321 _ACEOF
70322 cat confdefs.h >>conftest.$ac_ext
70323 cat >>conftest.$ac_ext <<_ACEOF
70324 /* end confdefs.h. */
70325 #include <math.h>
70326 #ifdef HAVE_IEEEFP_H
70327 #include <ieeefp.h>
70328 #endif
70331 main ()
70333 _finitel(0);
70335 return 0;
70337 _ACEOF
70338 rm -f conftest.$ac_objext
70339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70340 (eval $ac_compile) 2>conftest.er1
70341 ac_status=$?
70342 grep -v '^ *+' conftest.er1 >conftest.err
70343 rm -f conftest.er1
70344 cat conftest.err >&5
70345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70346 (exit $ac_status); } &&
70347 { ac_try='test -z "$ac_cxx_werror_flag"
70348 || test ! -s conftest.err'
70349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70350 (eval $ac_try) 2>&5
70351 ac_status=$?
70352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70353 (exit $ac_status); }; } &&
70354 { ac_try='test -s conftest.$ac_objext'
70355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70356 (eval $ac_try) 2>&5
70357 ac_status=$?
70358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70359 (exit $ac_status); }; }; then
70360 glibcxx_cv_func__finitel_use=yes
70361 else
70362 echo "$as_me: failed program was:" >&5
70363 sed 's/^/| /' conftest.$ac_ext >&5
70365 glibcxx_cv_func__finitel_use=no
70367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70368 ac_ext=c
70369 ac_cpp='$CPP $CPPFLAGS'
70370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70378 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
70379 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
70381 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70383 for ac_func in _finitel
70385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70386 echo "$as_me:$LINENO: checking for $ac_func" >&5
70387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70388 if eval "test \"\${$as_ac_var+set}\" = set"; then
70389 echo $ECHO_N "(cached) $ECHO_C" >&6
70390 else
70391 if test x$gcc_no_link = xyes; then
70392 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70394 { (exit 1); exit 1; }; }
70396 cat >conftest.$ac_ext <<_ACEOF
70397 /* confdefs.h. */
70398 _ACEOF
70399 cat confdefs.h >>conftest.$ac_ext
70400 cat >>conftest.$ac_ext <<_ACEOF
70401 /* end confdefs.h. */
70402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70404 #define $ac_func innocuous_$ac_func
70406 /* System header to define __stub macros and hopefully few prototypes,
70407 which can conflict with char $ac_func (); below.
70408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70409 <limits.h> exists even on freestanding compilers. */
70411 #ifdef __STDC__
70412 # include <limits.h>
70413 #else
70414 # include <assert.h>
70415 #endif
70417 #undef $ac_func
70419 /* Override any gcc2 internal prototype to avoid an error. */
70420 #ifdef __cplusplus
70421 extern "C"
70423 #endif
70424 /* We use char because int might match the return type of a gcc2
70425 builtin and then its argument prototype would still apply. */
70426 char $ac_func ();
70427 /* The GNU C library defines this for functions which it implements
70428 to always fail with ENOSYS. Some functions are actually named
70429 something starting with __ and the normal name is an alias. */
70430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70431 choke me
70432 #else
70433 char (*f) () = $ac_func;
70434 #endif
70435 #ifdef __cplusplus
70437 #endif
70440 main ()
70442 return f != $ac_func;
70444 return 0;
70446 _ACEOF
70447 rm -f conftest.$ac_objext conftest$ac_exeext
70448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70449 (eval $ac_link) 2>conftest.er1
70450 ac_status=$?
70451 grep -v '^ *+' conftest.er1 >conftest.err
70452 rm -f conftest.er1
70453 cat conftest.err >&5
70454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70455 (exit $ac_status); } &&
70456 { ac_try='test -z "$ac_c_werror_flag"
70457 || test ! -s conftest.err'
70458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70459 (eval $ac_try) 2>&5
70460 ac_status=$?
70461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70462 (exit $ac_status); }; } &&
70463 { ac_try='test -s conftest$ac_exeext'
70464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70465 (eval $ac_try) 2>&5
70466 ac_status=$?
70467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70468 (exit $ac_status); }; }; then
70469 eval "$as_ac_var=yes"
70470 else
70471 echo "$as_me: failed program was:" >&5
70472 sed 's/^/| /' conftest.$ac_ext >&5
70474 eval "$as_ac_var=no"
70476 rm -f conftest.err conftest.$ac_objext \
70477 conftest$ac_exeext conftest.$ac_ext
70479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70480 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70481 if test `eval echo '${'$as_ac_var'}'` = yes; then
70482 cat >>confdefs.h <<_ACEOF
70483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70484 _ACEOF
70487 done
70496 LIBS="$ac_save_LIBS"
70497 CXXFLAGS="$ac_save_CXXFLAGS"
70501 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
70502 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
70503 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
70504 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
70505 echo $ECHO_N "(cached) $ECHO_C" >&6
70506 else
70510 ac_ext=cc
70511 ac_cpp='$CXXCPP $CPPFLAGS'
70512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70516 cat >conftest.$ac_ext <<_ACEOF
70517 /* confdefs.h. */
70518 _ACEOF
70519 cat confdefs.h >>conftest.$ac_ext
70520 cat >>conftest.$ac_ext <<_ACEOF
70521 /* end confdefs.h. */
70522 #include <math.h>
70524 main ()
70526 __builtin_abs(0);
70528 return 0;
70530 _ACEOF
70531 rm -f conftest.$ac_objext
70532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70533 (eval $ac_compile) 2>conftest.er1
70534 ac_status=$?
70535 grep -v '^ *+' conftest.er1 >conftest.err
70536 rm -f conftest.er1
70537 cat conftest.err >&5
70538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70539 (exit $ac_status); } &&
70540 { ac_try='test -z "$ac_cxx_werror_flag"
70541 || test ! -s conftest.err'
70542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70543 (eval $ac_try) 2>&5
70544 ac_status=$?
70545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70546 (exit $ac_status); }; } &&
70547 { ac_try='test -s conftest.$ac_objext'
70548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70549 (eval $ac_try) 2>&5
70550 ac_status=$?
70551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70552 (exit $ac_status); }; }; then
70553 glibcxx_cv_func___builtin_abs_use=yes
70554 else
70555 echo "$as_me: failed program was:" >&5
70556 sed 's/^/| /' conftest.$ac_ext >&5
70558 glibcxx_cv_func___builtin_abs_use=no
70560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70561 ac_ext=c
70562 ac_cpp='$CPP $CPPFLAGS'
70563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70571 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
70572 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
70573 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
70574 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
70575 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
70576 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
70577 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
70578 echo $ECHO_N "(cached) $ECHO_C" >&6
70579 else
70581 if test x$gcc_no_link = xyes; then
70582 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70584 { (exit 1); exit 1; }; }
70586 cat >conftest.$ac_ext <<_ACEOF
70587 /* confdefs.h. */
70588 _ACEOF
70589 cat confdefs.h >>conftest.$ac_ext
70590 cat >>conftest.$ac_ext <<_ACEOF
70591 /* end confdefs.h. */
70592 #include <math.h>
70594 main ()
70596 __builtin_abs(0);
70598 return 0;
70600 _ACEOF
70601 rm -f conftest.$ac_objext conftest$ac_exeext
70602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70603 (eval $ac_link) 2>conftest.er1
70604 ac_status=$?
70605 grep -v '^ *+' conftest.er1 >conftest.err
70606 rm -f conftest.er1
70607 cat conftest.err >&5
70608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70609 (exit $ac_status); } &&
70610 { ac_try='test -z "$ac_c_werror_flag"
70611 || test ! -s conftest.err'
70612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70613 (eval $ac_try) 2>&5
70614 ac_status=$?
70615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70616 (exit $ac_status); }; } &&
70617 { ac_try='test -s conftest$ac_exeext'
70618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70619 (eval $ac_try) 2>&5
70620 ac_status=$?
70621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70622 (exit $ac_status); }; }; then
70623 glibcxx_cv_func___builtin_abs_link=yes
70624 else
70625 echo "$as_me: failed program was:" >&5
70626 sed 's/^/| /' conftest.$ac_ext >&5
70628 glibcxx_cv_func___builtin_abs_link=no
70630 rm -f conftest.err conftest.$ac_objext \
70631 conftest$ac_exeext conftest.$ac_ext
70636 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
70637 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
70639 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
70641 cat >>confdefs.h <<\_ACEOF
70642 #define HAVE___BUILTIN_ABS 1
70643 _ACEOF
70650 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
70651 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
70652 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
70653 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
70654 echo $ECHO_N "(cached) $ECHO_C" >&6
70655 else
70659 ac_ext=cc
70660 ac_cpp='$CXXCPP $CPPFLAGS'
70661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70665 cat >conftest.$ac_ext <<_ACEOF
70666 /* confdefs.h. */
70667 _ACEOF
70668 cat confdefs.h >>conftest.$ac_ext
70669 cat >>conftest.$ac_ext <<_ACEOF
70670 /* end confdefs.h. */
70671 #include <math.h>
70673 main ()
70675 __builtin_fabsf(0);
70677 return 0;
70679 _ACEOF
70680 rm -f conftest.$ac_objext
70681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70682 (eval $ac_compile) 2>conftest.er1
70683 ac_status=$?
70684 grep -v '^ *+' conftest.er1 >conftest.err
70685 rm -f conftest.er1
70686 cat conftest.err >&5
70687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70688 (exit $ac_status); } &&
70689 { ac_try='test -z "$ac_cxx_werror_flag"
70690 || test ! -s conftest.err'
70691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70692 (eval $ac_try) 2>&5
70693 ac_status=$?
70694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70695 (exit $ac_status); }; } &&
70696 { ac_try='test -s conftest.$ac_objext'
70697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70698 (eval $ac_try) 2>&5
70699 ac_status=$?
70700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70701 (exit $ac_status); }; }; then
70702 glibcxx_cv_func___builtin_fabsf_use=yes
70703 else
70704 echo "$as_me: failed program was:" >&5
70705 sed 's/^/| /' conftest.$ac_ext >&5
70707 glibcxx_cv_func___builtin_fabsf_use=no
70709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70710 ac_ext=c
70711 ac_cpp='$CPP $CPPFLAGS'
70712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70720 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
70721 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
70722 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
70723 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
70724 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
70725 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
70726 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
70727 echo $ECHO_N "(cached) $ECHO_C" >&6
70728 else
70730 if test x$gcc_no_link = xyes; then
70731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70733 { (exit 1); exit 1; }; }
70735 cat >conftest.$ac_ext <<_ACEOF
70736 /* confdefs.h. */
70737 _ACEOF
70738 cat confdefs.h >>conftest.$ac_ext
70739 cat >>conftest.$ac_ext <<_ACEOF
70740 /* end confdefs.h. */
70741 #include <math.h>
70743 main ()
70745 __builtin_fabsf(0);
70747 return 0;
70749 _ACEOF
70750 rm -f conftest.$ac_objext conftest$ac_exeext
70751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70752 (eval $ac_link) 2>conftest.er1
70753 ac_status=$?
70754 grep -v '^ *+' conftest.er1 >conftest.err
70755 rm -f conftest.er1
70756 cat conftest.err >&5
70757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70758 (exit $ac_status); } &&
70759 { ac_try='test -z "$ac_c_werror_flag"
70760 || test ! -s conftest.err'
70761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70762 (eval $ac_try) 2>&5
70763 ac_status=$?
70764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70765 (exit $ac_status); }; } &&
70766 { ac_try='test -s conftest$ac_exeext'
70767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70768 (eval $ac_try) 2>&5
70769 ac_status=$?
70770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70771 (exit $ac_status); }; }; then
70772 glibcxx_cv_func___builtin_fabsf_link=yes
70773 else
70774 echo "$as_me: failed program was:" >&5
70775 sed 's/^/| /' conftest.$ac_ext >&5
70777 glibcxx_cv_func___builtin_fabsf_link=no
70779 rm -f conftest.err conftest.$ac_objext \
70780 conftest$ac_exeext conftest.$ac_ext
70785 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
70786 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
70788 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
70790 cat >>confdefs.h <<\_ACEOF
70791 #define HAVE___BUILTIN_FABSF 1
70792 _ACEOF
70799 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
70800 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
70801 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
70802 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
70803 echo $ECHO_N "(cached) $ECHO_C" >&6
70804 else
70808 ac_ext=cc
70809 ac_cpp='$CXXCPP $CPPFLAGS'
70810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70814 cat >conftest.$ac_ext <<_ACEOF
70815 /* confdefs.h. */
70816 _ACEOF
70817 cat confdefs.h >>conftest.$ac_ext
70818 cat >>conftest.$ac_ext <<_ACEOF
70819 /* end confdefs.h. */
70820 #include <math.h>
70822 main ()
70824 __builtin_fabs(0);
70826 return 0;
70828 _ACEOF
70829 rm -f conftest.$ac_objext
70830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70831 (eval $ac_compile) 2>conftest.er1
70832 ac_status=$?
70833 grep -v '^ *+' conftest.er1 >conftest.err
70834 rm -f conftest.er1
70835 cat conftest.err >&5
70836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70837 (exit $ac_status); } &&
70838 { ac_try='test -z "$ac_cxx_werror_flag"
70839 || test ! -s conftest.err'
70840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70841 (eval $ac_try) 2>&5
70842 ac_status=$?
70843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70844 (exit $ac_status); }; } &&
70845 { ac_try='test -s conftest.$ac_objext'
70846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70847 (eval $ac_try) 2>&5
70848 ac_status=$?
70849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70850 (exit $ac_status); }; }; then
70851 glibcxx_cv_func___builtin_fabs_use=yes
70852 else
70853 echo "$as_me: failed program was:" >&5
70854 sed 's/^/| /' conftest.$ac_ext >&5
70856 glibcxx_cv_func___builtin_fabs_use=no
70858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70859 ac_ext=c
70860 ac_cpp='$CPP $CPPFLAGS'
70861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70869 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
70870 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
70871 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
70872 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
70873 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
70874 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
70875 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
70876 echo $ECHO_N "(cached) $ECHO_C" >&6
70877 else
70879 if test x$gcc_no_link = xyes; then
70880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70882 { (exit 1); exit 1; }; }
70884 cat >conftest.$ac_ext <<_ACEOF
70885 /* confdefs.h. */
70886 _ACEOF
70887 cat confdefs.h >>conftest.$ac_ext
70888 cat >>conftest.$ac_ext <<_ACEOF
70889 /* end confdefs.h. */
70890 #include <math.h>
70892 main ()
70894 __builtin_fabs(0);
70896 return 0;
70898 _ACEOF
70899 rm -f conftest.$ac_objext conftest$ac_exeext
70900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70901 (eval $ac_link) 2>conftest.er1
70902 ac_status=$?
70903 grep -v '^ *+' conftest.er1 >conftest.err
70904 rm -f conftest.er1
70905 cat conftest.err >&5
70906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70907 (exit $ac_status); } &&
70908 { ac_try='test -z "$ac_c_werror_flag"
70909 || test ! -s conftest.err'
70910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70911 (eval $ac_try) 2>&5
70912 ac_status=$?
70913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70914 (exit $ac_status); }; } &&
70915 { ac_try='test -s conftest$ac_exeext'
70916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70917 (eval $ac_try) 2>&5
70918 ac_status=$?
70919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70920 (exit $ac_status); }; }; then
70921 glibcxx_cv_func___builtin_fabs_link=yes
70922 else
70923 echo "$as_me: failed program was:" >&5
70924 sed 's/^/| /' conftest.$ac_ext >&5
70926 glibcxx_cv_func___builtin_fabs_link=no
70928 rm -f conftest.err conftest.$ac_objext \
70929 conftest$ac_exeext conftest.$ac_ext
70934 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
70935 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
70937 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
70939 cat >>confdefs.h <<\_ACEOF
70940 #define HAVE___BUILTIN_FABS 1
70941 _ACEOF
70948 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
70949 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
70950 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
70951 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
70952 echo $ECHO_N "(cached) $ECHO_C" >&6
70953 else
70957 ac_ext=cc
70958 ac_cpp='$CXXCPP $CPPFLAGS'
70959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70963 cat >conftest.$ac_ext <<_ACEOF
70964 /* confdefs.h. */
70965 _ACEOF
70966 cat confdefs.h >>conftest.$ac_ext
70967 cat >>conftest.$ac_ext <<_ACEOF
70968 /* end confdefs.h. */
70969 #include <math.h>
70971 main ()
70973 __builtin_fabsl(0);
70975 return 0;
70977 _ACEOF
70978 rm -f conftest.$ac_objext
70979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70980 (eval $ac_compile) 2>conftest.er1
70981 ac_status=$?
70982 grep -v '^ *+' conftest.er1 >conftest.err
70983 rm -f conftest.er1
70984 cat conftest.err >&5
70985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70986 (exit $ac_status); } &&
70987 { ac_try='test -z "$ac_cxx_werror_flag"
70988 || test ! -s conftest.err'
70989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70990 (eval $ac_try) 2>&5
70991 ac_status=$?
70992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70993 (exit $ac_status); }; } &&
70994 { ac_try='test -s conftest.$ac_objext'
70995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70996 (eval $ac_try) 2>&5
70997 ac_status=$?
70998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70999 (exit $ac_status); }; }; then
71000 glibcxx_cv_func___builtin_fabsl_use=yes
71001 else
71002 echo "$as_me: failed program was:" >&5
71003 sed 's/^/| /' conftest.$ac_ext >&5
71005 glibcxx_cv_func___builtin_fabsl_use=no
71007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71008 ac_ext=c
71009 ac_cpp='$CPP $CPPFLAGS'
71010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71018 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
71019 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
71020 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
71021 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
71022 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
71023 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
71024 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
71025 echo $ECHO_N "(cached) $ECHO_C" >&6
71026 else
71028 if test x$gcc_no_link = xyes; then
71029 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71031 { (exit 1); exit 1; }; }
71033 cat >conftest.$ac_ext <<_ACEOF
71034 /* confdefs.h. */
71035 _ACEOF
71036 cat confdefs.h >>conftest.$ac_ext
71037 cat >>conftest.$ac_ext <<_ACEOF
71038 /* end confdefs.h. */
71039 #include <math.h>
71041 main ()
71043 __builtin_fabsl(0);
71045 return 0;
71047 _ACEOF
71048 rm -f conftest.$ac_objext conftest$ac_exeext
71049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71050 (eval $ac_link) 2>conftest.er1
71051 ac_status=$?
71052 grep -v '^ *+' conftest.er1 >conftest.err
71053 rm -f conftest.er1
71054 cat conftest.err >&5
71055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71056 (exit $ac_status); } &&
71057 { ac_try='test -z "$ac_c_werror_flag"
71058 || test ! -s conftest.err'
71059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71060 (eval $ac_try) 2>&5
71061 ac_status=$?
71062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71063 (exit $ac_status); }; } &&
71064 { ac_try='test -s conftest$ac_exeext'
71065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71066 (eval $ac_try) 2>&5
71067 ac_status=$?
71068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71069 (exit $ac_status); }; }; then
71070 glibcxx_cv_func___builtin_fabsl_link=yes
71071 else
71072 echo "$as_me: failed program was:" >&5
71073 sed 's/^/| /' conftest.$ac_ext >&5
71075 glibcxx_cv_func___builtin_fabsl_link=no
71077 rm -f conftest.err conftest.$ac_objext \
71078 conftest$ac_exeext conftest.$ac_ext
71083 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
71084 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
71086 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
71088 cat >>confdefs.h <<\_ACEOF
71089 #define HAVE___BUILTIN_FABSL 1
71090 _ACEOF
71097 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
71098 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
71099 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
71100 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
71101 echo $ECHO_N "(cached) $ECHO_C" >&6
71102 else
71106 ac_ext=cc
71107 ac_cpp='$CXXCPP $CPPFLAGS'
71108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71112 cat >conftest.$ac_ext <<_ACEOF
71113 /* confdefs.h. */
71114 _ACEOF
71115 cat confdefs.h >>conftest.$ac_ext
71116 cat >>conftest.$ac_ext <<_ACEOF
71117 /* end confdefs.h. */
71118 #include <math.h>
71120 main ()
71122 __builtin_labs(0);
71124 return 0;
71126 _ACEOF
71127 rm -f conftest.$ac_objext
71128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71129 (eval $ac_compile) 2>conftest.er1
71130 ac_status=$?
71131 grep -v '^ *+' conftest.er1 >conftest.err
71132 rm -f conftest.er1
71133 cat conftest.err >&5
71134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71135 (exit $ac_status); } &&
71136 { ac_try='test -z "$ac_cxx_werror_flag"
71137 || test ! -s conftest.err'
71138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71139 (eval $ac_try) 2>&5
71140 ac_status=$?
71141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71142 (exit $ac_status); }; } &&
71143 { ac_try='test -s conftest.$ac_objext'
71144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71145 (eval $ac_try) 2>&5
71146 ac_status=$?
71147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71148 (exit $ac_status); }; }; then
71149 glibcxx_cv_func___builtin_labs_use=yes
71150 else
71151 echo "$as_me: failed program was:" >&5
71152 sed 's/^/| /' conftest.$ac_ext >&5
71154 glibcxx_cv_func___builtin_labs_use=no
71156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71157 ac_ext=c
71158 ac_cpp='$CPP $CPPFLAGS'
71159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71167 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
71168 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
71169 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
71170 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
71171 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
71172 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
71173 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
71174 echo $ECHO_N "(cached) $ECHO_C" >&6
71175 else
71177 if test x$gcc_no_link = xyes; then
71178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71180 { (exit 1); exit 1; }; }
71182 cat >conftest.$ac_ext <<_ACEOF
71183 /* confdefs.h. */
71184 _ACEOF
71185 cat confdefs.h >>conftest.$ac_ext
71186 cat >>conftest.$ac_ext <<_ACEOF
71187 /* end confdefs.h. */
71188 #include <math.h>
71190 main ()
71192 __builtin_labs(0);
71194 return 0;
71196 _ACEOF
71197 rm -f conftest.$ac_objext conftest$ac_exeext
71198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71199 (eval $ac_link) 2>conftest.er1
71200 ac_status=$?
71201 grep -v '^ *+' conftest.er1 >conftest.err
71202 rm -f conftest.er1
71203 cat conftest.err >&5
71204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71205 (exit $ac_status); } &&
71206 { ac_try='test -z "$ac_c_werror_flag"
71207 || test ! -s conftest.err'
71208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71209 (eval $ac_try) 2>&5
71210 ac_status=$?
71211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71212 (exit $ac_status); }; } &&
71213 { ac_try='test -s conftest$ac_exeext'
71214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71215 (eval $ac_try) 2>&5
71216 ac_status=$?
71217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71218 (exit $ac_status); }; }; then
71219 glibcxx_cv_func___builtin_labs_link=yes
71220 else
71221 echo "$as_me: failed program was:" >&5
71222 sed 's/^/| /' conftest.$ac_ext >&5
71224 glibcxx_cv_func___builtin_labs_link=no
71226 rm -f conftest.err conftest.$ac_objext \
71227 conftest$ac_exeext conftest.$ac_ext
71232 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
71233 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
71235 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
71237 cat >>confdefs.h <<\_ACEOF
71238 #define HAVE___BUILTIN_LABS 1
71239 _ACEOF
71247 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
71248 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
71249 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
71250 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
71251 echo $ECHO_N "(cached) $ECHO_C" >&6
71252 else
71256 ac_ext=cc
71257 ac_cpp='$CXXCPP $CPPFLAGS'
71258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71262 cat >conftest.$ac_ext <<_ACEOF
71263 /* confdefs.h. */
71264 _ACEOF
71265 cat confdefs.h >>conftest.$ac_ext
71266 cat >>conftest.$ac_ext <<_ACEOF
71267 /* end confdefs.h. */
71268 #include <math.h>
71270 main ()
71272 __builtin_sqrtf(0);
71274 return 0;
71276 _ACEOF
71277 rm -f conftest.$ac_objext
71278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71279 (eval $ac_compile) 2>conftest.er1
71280 ac_status=$?
71281 grep -v '^ *+' conftest.er1 >conftest.err
71282 rm -f conftest.er1
71283 cat conftest.err >&5
71284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71285 (exit $ac_status); } &&
71286 { ac_try='test -z "$ac_cxx_werror_flag"
71287 || test ! -s conftest.err'
71288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71289 (eval $ac_try) 2>&5
71290 ac_status=$?
71291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71292 (exit $ac_status); }; } &&
71293 { ac_try='test -s conftest.$ac_objext'
71294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71295 (eval $ac_try) 2>&5
71296 ac_status=$?
71297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71298 (exit $ac_status); }; }; then
71299 glibcxx_cv_func___builtin_sqrtf_use=yes
71300 else
71301 echo "$as_me: failed program was:" >&5
71302 sed 's/^/| /' conftest.$ac_ext >&5
71304 glibcxx_cv_func___builtin_sqrtf_use=no
71306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71307 ac_ext=c
71308 ac_cpp='$CPP $CPPFLAGS'
71309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71317 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
71318 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
71319 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
71320 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
71321 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
71322 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
71323 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
71324 echo $ECHO_N "(cached) $ECHO_C" >&6
71325 else
71327 if test x$gcc_no_link = xyes; then
71328 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71330 { (exit 1); exit 1; }; }
71332 cat >conftest.$ac_ext <<_ACEOF
71333 /* confdefs.h. */
71334 _ACEOF
71335 cat confdefs.h >>conftest.$ac_ext
71336 cat >>conftest.$ac_ext <<_ACEOF
71337 /* end confdefs.h. */
71338 #include <math.h>
71340 main ()
71342 __builtin_sqrtf(0);
71344 return 0;
71346 _ACEOF
71347 rm -f conftest.$ac_objext conftest$ac_exeext
71348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71349 (eval $ac_link) 2>conftest.er1
71350 ac_status=$?
71351 grep -v '^ *+' conftest.er1 >conftest.err
71352 rm -f conftest.er1
71353 cat conftest.err >&5
71354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71355 (exit $ac_status); } &&
71356 { ac_try='test -z "$ac_c_werror_flag"
71357 || test ! -s conftest.err'
71358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71359 (eval $ac_try) 2>&5
71360 ac_status=$?
71361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71362 (exit $ac_status); }; } &&
71363 { ac_try='test -s conftest$ac_exeext'
71364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71365 (eval $ac_try) 2>&5
71366 ac_status=$?
71367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71368 (exit $ac_status); }; }; then
71369 glibcxx_cv_func___builtin_sqrtf_link=yes
71370 else
71371 echo "$as_me: failed program was:" >&5
71372 sed 's/^/| /' conftest.$ac_ext >&5
71374 glibcxx_cv_func___builtin_sqrtf_link=no
71376 rm -f conftest.err conftest.$ac_objext \
71377 conftest$ac_exeext conftest.$ac_ext
71382 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
71383 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
71385 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
71387 cat >>confdefs.h <<\_ACEOF
71388 #define HAVE___BUILTIN_SQRTF 1
71389 _ACEOF
71396 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
71397 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
71398 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
71399 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
71400 echo $ECHO_N "(cached) $ECHO_C" >&6
71401 else
71405 ac_ext=cc
71406 ac_cpp='$CXXCPP $CPPFLAGS'
71407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71411 cat >conftest.$ac_ext <<_ACEOF
71412 /* confdefs.h. */
71413 _ACEOF
71414 cat confdefs.h >>conftest.$ac_ext
71415 cat >>conftest.$ac_ext <<_ACEOF
71416 /* end confdefs.h. */
71417 #include <math.h>
71419 main ()
71421 __builtin_sqrt(0);
71423 return 0;
71425 _ACEOF
71426 rm -f conftest.$ac_objext
71427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71428 (eval $ac_compile) 2>conftest.er1
71429 ac_status=$?
71430 grep -v '^ *+' conftest.er1 >conftest.err
71431 rm -f conftest.er1
71432 cat conftest.err >&5
71433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71434 (exit $ac_status); } &&
71435 { ac_try='test -z "$ac_cxx_werror_flag"
71436 || test ! -s conftest.err'
71437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71438 (eval $ac_try) 2>&5
71439 ac_status=$?
71440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71441 (exit $ac_status); }; } &&
71442 { ac_try='test -s conftest.$ac_objext'
71443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71444 (eval $ac_try) 2>&5
71445 ac_status=$?
71446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71447 (exit $ac_status); }; }; then
71448 glibcxx_cv_func___builtin_sqrt_use=yes
71449 else
71450 echo "$as_me: failed program was:" >&5
71451 sed 's/^/| /' conftest.$ac_ext >&5
71453 glibcxx_cv_func___builtin_sqrt_use=no
71455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71456 ac_ext=c
71457 ac_cpp='$CPP $CPPFLAGS'
71458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71466 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
71467 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
71468 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
71469 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
71470 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
71471 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
71472 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
71473 echo $ECHO_N "(cached) $ECHO_C" >&6
71474 else
71476 if test x$gcc_no_link = xyes; then
71477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71479 { (exit 1); exit 1; }; }
71481 cat >conftest.$ac_ext <<_ACEOF
71482 /* confdefs.h. */
71483 _ACEOF
71484 cat confdefs.h >>conftest.$ac_ext
71485 cat >>conftest.$ac_ext <<_ACEOF
71486 /* end confdefs.h. */
71487 #include <math.h>
71489 main ()
71491 __builtin_sqrt(0);
71493 return 0;
71495 _ACEOF
71496 rm -f conftest.$ac_objext conftest$ac_exeext
71497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71498 (eval $ac_link) 2>conftest.er1
71499 ac_status=$?
71500 grep -v '^ *+' conftest.er1 >conftest.err
71501 rm -f conftest.er1
71502 cat conftest.err >&5
71503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71504 (exit $ac_status); } &&
71505 { ac_try='test -z "$ac_c_werror_flag"
71506 || test ! -s conftest.err'
71507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71508 (eval $ac_try) 2>&5
71509 ac_status=$?
71510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71511 (exit $ac_status); }; } &&
71512 { ac_try='test -s conftest$ac_exeext'
71513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71514 (eval $ac_try) 2>&5
71515 ac_status=$?
71516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71517 (exit $ac_status); }; }; then
71518 glibcxx_cv_func___builtin_sqrt_link=yes
71519 else
71520 echo "$as_me: failed program was:" >&5
71521 sed 's/^/| /' conftest.$ac_ext >&5
71523 glibcxx_cv_func___builtin_sqrt_link=no
71525 rm -f conftest.err conftest.$ac_objext \
71526 conftest$ac_exeext conftest.$ac_ext
71531 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
71532 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
71534 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
71536 cat >>confdefs.h <<\_ACEOF
71537 #define HAVE___BUILTIN_SQRT 1
71538 _ACEOF
71545 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
71546 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
71547 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
71548 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
71549 echo $ECHO_N "(cached) $ECHO_C" >&6
71550 else
71554 ac_ext=cc
71555 ac_cpp='$CXXCPP $CPPFLAGS'
71556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71560 cat >conftest.$ac_ext <<_ACEOF
71561 /* confdefs.h. */
71562 _ACEOF
71563 cat confdefs.h >>conftest.$ac_ext
71564 cat >>conftest.$ac_ext <<_ACEOF
71565 /* end confdefs.h. */
71566 #include <math.h>
71568 main ()
71570 __builtin_sqrtl(0);
71572 return 0;
71574 _ACEOF
71575 rm -f conftest.$ac_objext
71576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71577 (eval $ac_compile) 2>conftest.er1
71578 ac_status=$?
71579 grep -v '^ *+' conftest.er1 >conftest.err
71580 rm -f conftest.er1
71581 cat conftest.err >&5
71582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71583 (exit $ac_status); } &&
71584 { ac_try='test -z "$ac_cxx_werror_flag"
71585 || test ! -s conftest.err'
71586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71587 (eval $ac_try) 2>&5
71588 ac_status=$?
71589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71590 (exit $ac_status); }; } &&
71591 { ac_try='test -s conftest.$ac_objext'
71592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71593 (eval $ac_try) 2>&5
71594 ac_status=$?
71595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71596 (exit $ac_status); }; }; then
71597 glibcxx_cv_func___builtin_sqrtl_use=yes
71598 else
71599 echo "$as_me: failed program was:" >&5
71600 sed 's/^/| /' conftest.$ac_ext >&5
71602 glibcxx_cv_func___builtin_sqrtl_use=no
71604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71605 ac_ext=c
71606 ac_cpp='$CPP $CPPFLAGS'
71607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71615 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
71616 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
71617 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
71618 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
71619 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
71620 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
71621 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
71622 echo $ECHO_N "(cached) $ECHO_C" >&6
71623 else
71625 if test x$gcc_no_link = xyes; then
71626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71628 { (exit 1); exit 1; }; }
71630 cat >conftest.$ac_ext <<_ACEOF
71631 /* confdefs.h. */
71632 _ACEOF
71633 cat confdefs.h >>conftest.$ac_ext
71634 cat >>conftest.$ac_ext <<_ACEOF
71635 /* end confdefs.h. */
71636 #include <math.h>
71638 main ()
71640 __builtin_sqrtl(0);
71642 return 0;
71644 _ACEOF
71645 rm -f conftest.$ac_objext conftest$ac_exeext
71646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71647 (eval $ac_link) 2>conftest.er1
71648 ac_status=$?
71649 grep -v '^ *+' conftest.er1 >conftest.err
71650 rm -f conftest.er1
71651 cat conftest.err >&5
71652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71653 (exit $ac_status); } &&
71654 { ac_try='test -z "$ac_c_werror_flag"
71655 || test ! -s conftest.err'
71656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71657 (eval $ac_try) 2>&5
71658 ac_status=$?
71659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71660 (exit $ac_status); }; } &&
71661 { ac_try='test -s conftest$ac_exeext'
71662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71663 (eval $ac_try) 2>&5
71664 ac_status=$?
71665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71666 (exit $ac_status); }; }; then
71667 glibcxx_cv_func___builtin_sqrtl_link=yes
71668 else
71669 echo "$as_me: failed program was:" >&5
71670 sed 's/^/| /' conftest.$ac_ext >&5
71672 glibcxx_cv_func___builtin_sqrtl_link=no
71674 rm -f conftest.err conftest.$ac_objext \
71675 conftest$ac_exeext conftest.$ac_ext
71680 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
71681 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
71683 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
71685 cat >>confdefs.h <<\_ACEOF
71686 #define HAVE___BUILTIN_SQRTL 1
71687 _ACEOF
71695 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
71696 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
71697 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
71698 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
71699 echo $ECHO_N "(cached) $ECHO_C" >&6
71700 else
71704 ac_ext=cc
71705 ac_cpp='$CXXCPP $CPPFLAGS'
71706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71710 cat >conftest.$ac_ext <<_ACEOF
71711 /* confdefs.h. */
71712 _ACEOF
71713 cat confdefs.h >>conftest.$ac_ext
71714 cat >>conftest.$ac_ext <<_ACEOF
71715 /* end confdefs.h. */
71716 #include <math.h>
71718 main ()
71720 __builtin_sinf(0);
71722 return 0;
71724 _ACEOF
71725 rm -f conftest.$ac_objext
71726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71727 (eval $ac_compile) 2>conftest.er1
71728 ac_status=$?
71729 grep -v '^ *+' conftest.er1 >conftest.err
71730 rm -f conftest.er1
71731 cat conftest.err >&5
71732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71733 (exit $ac_status); } &&
71734 { ac_try='test -z "$ac_cxx_werror_flag"
71735 || test ! -s conftest.err'
71736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71737 (eval $ac_try) 2>&5
71738 ac_status=$?
71739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71740 (exit $ac_status); }; } &&
71741 { ac_try='test -s conftest.$ac_objext'
71742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71743 (eval $ac_try) 2>&5
71744 ac_status=$?
71745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71746 (exit $ac_status); }; }; then
71747 glibcxx_cv_func___builtin_sinf_use=yes
71748 else
71749 echo "$as_me: failed program was:" >&5
71750 sed 's/^/| /' conftest.$ac_ext >&5
71752 glibcxx_cv_func___builtin_sinf_use=no
71754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71755 ac_ext=c
71756 ac_cpp='$CPP $CPPFLAGS'
71757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71765 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
71766 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
71767 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
71768 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
71769 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
71770 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
71771 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
71772 echo $ECHO_N "(cached) $ECHO_C" >&6
71773 else
71775 if test x$gcc_no_link = xyes; then
71776 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71778 { (exit 1); exit 1; }; }
71780 cat >conftest.$ac_ext <<_ACEOF
71781 /* confdefs.h. */
71782 _ACEOF
71783 cat confdefs.h >>conftest.$ac_ext
71784 cat >>conftest.$ac_ext <<_ACEOF
71785 /* end confdefs.h. */
71786 #include <math.h>
71788 main ()
71790 __builtin_sinf(0);
71792 return 0;
71794 _ACEOF
71795 rm -f conftest.$ac_objext conftest$ac_exeext
71796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71797 (eval $ac_link) 2>conftest.er1
71798 ac_status=$?
71799 grep -v '^ *+' conftest.er1 >conftest.err
71800 rm -f conftest.er1
71801 cat conftest.err >&5
71802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71803 (exit $ac_status); } &&
71804 { ac_try='test -z "$ac_c_werror_flag"
71805 || test ! -s conftest.err'
71806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71807 (eval $ac_try) 2>&5
71808 ac_status=$?
71809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71810 (exit $ac_status); }; } &&
71811 { ac_try='test -s conftest$ac_exeext'
71812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71813 (eval $ac_try) 2>&5
71814 ac_status=$?
71815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71816 (exit $ac_status); }; }; then
71817 glibcxx_cv_func___builtin_sinf_link=yes
71818 else
71819 echo "$as_me: failed program was:" >&5
71820 sed 's/^/| /' conftest.$ac_ext >&5
71822 glibcxx_cv_func___builtin_sinf_link=no
71824 rm -f conftest.err conftest.$ac_objext \
71825 conftest$ac_exeext conftest.$ac_ext
71830 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
71831 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
71833 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
71835 cat >>confdefs.h <<\_ACEOF
71836 #define HAVE___BUILTIN_SINF 1
71837 _ACEOF
71844 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
71845 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
71846 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
71847 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
71848 echo $ECHO_N "(cached) $ECHO_C" >&6
71849 else
71853 ac_ext=cc
71854 ac_cpp='$CXXCPP $CPPFLAGS'
71855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71859 cat >conftest.$ac_ext <<_ACEOF
71860 /* confdefs.h. */
71861 _ACEOF
71862 cat confdefs.h >>conftest.$ac_ext
71863 cat >>conftest.$ac_ext <<_ACEOF
71864 /* end confdefs.h. */
71865 #include <math.h>
71867 main ()
71869 __builtin_sin(0);
71871 return 0;
71873 _ACEOF
71874 rm -f conftest.$ac_objext
71875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71876 (eval $ac_compile) 2>conftest.er1
71877 ac_status=$?
71878 grep -v '^ *+' conftest.er1 >conftest.err
71879 rm -f conftest.er1
71880 cat conftest.err >&5
71881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71882 (exit $ac_status); } &&
71883 { ac_try='test -z "$ac_cxx_werror_flag"
71884 || test ! -s conftest.err'
71885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71886 (eval $ac_try) 2>&5
71887 ac_status=$?
71888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71889 (exit $ac_status); }; } &&
71890 { ac_try='test -s conftest.$ac_objext'
71891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71892 (eval $ac_try) 2>&5
71893 ac_status=$?
71894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71895 (exit $ac_status); }; }; then
71896 glibcxx_cv_func___builtin_sin_use=yes
71897 else
71898 echo "$as_me: failed program was:" >&5
71899 sed 's/^/| /' conftest.$ac_ext >&5
71901 glibcxx_cv_func___builtin_sin_use=no
71903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71904 ac_ext=c
71905 ac_cpp='$CPP $CPPFLAGS'
71906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71914 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
71915 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
71916 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
71917 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
71918 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
71919 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
71920 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
71921 echo $ECHO_N "(cached) $ECHO_C" >&6
71922 else
71924 if test x$gcc_no_link = xyes; then
71925 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71927 { (exit 1); exit 1; }; }
71929 cat >conftest.$ac_ext <<_ACEOF
71930 /* confdefs.h. */
71931 _ACEOF
71932 cat confdefs.h >>conftest.$ac_ext
71933 cat >>conftest.$ac_ext <<_ACEOF
71934 /* end confdefs.h. */
71935 #include <math.h>
71937 main ()
71939 __builtin_sin(0);
71941 return 0;
71943 _ACEOF
71944 rm -f conftest.$ac_objext conftest$ac_exeext
71945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71946 (eval $ac_link) 2>conftest.er1
71947 ac_status=$?
71948 grep -v '^ *+' conftest.er1 >conftest.err
71949 rm -f conftest.er1
71950 cat conftest.err >&5
71951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71952 (exit $ac_status); } &&
71953 { ac_try='test -z "$ac_c_werror_flag"
71954 || test ! -s conftest.err'
71955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71956 (eval $ac_try) 2>&5
71957 ac_status=$?
71958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71959 (exit $ac_status); }; } &&
71960 { ac_try='test -s conftest$ac_exeext'
71961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71962 (eval $ac_try) 2>&5
71963 ac_status=$?
71964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71965 (exit $ac_status); }; }; then
71966 glibcxx_cv_func___builtin_sin_link=yes
71967 else
71968 echo "$as_me: failed program was:" >&5
71969 sed 's/^/| /' conftest.$ac_ext >&5
71971 glibcxx_cv_func___builtin_sin_link=no
71973 rm -f conftest.err conftest.$ac_objext \
71974 conftest$ac_exeext conftest.$ac_ext
71979 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
71980 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
71982 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
71984 cat >>confdefs.h <<\_ACEOF
71985 #define HAVE___BUILTIN_SIN 1
71986 _ACEOF
71993 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
71994 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
71995 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
71996 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
71997 echo $ECHO_N "(cached) $ECHO_C" >&6
71998 else
72002 ac_ext=cc
72003 ac_cpp='$CXXCPP $CPPFLAGS'
72004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72008 cat >conftest.$ac_ext <<_ACEOF
72009 /* confdefs.h. */
72010 _ACEOF
72011 cat confdefs.h >>conftest.$ac_ext
72012 cat >>conftest.$ac_ext <<_ACEOF
72013 /* end confdefs.h. */
72014 #include <math.h>
72016 main ()
72018 __builtin_sinl(0);
72020 return 0;
72022 _ACEOF
72023 rm -f conftest.$ac_objext
72024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72025 (eval $ac_compile) 2>conftest.er1
72026 ac_status=$?
72027 grep -v '^ *+' conftest.er1 >conftest.err
72028 rm -f conftest.er1
72029 cat conftest.err >&5
72030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72031 (exit $ac_status); } &&
72032 { ac_try='test -z "$ac_cxx_werror_flag"
72033 || test ! -s conftest.err'
72034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72035 (eval $ac_try) 2>&5
72036 ac_status=$?
72037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72038 (exit $ac_status); }; } &&
72039 { ac_try='test -s conftest.$ac_objext'
72040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72041 (eval $ac_try) 2>&5
72042 ac_status=$?
72043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72044 (exit $ac_status); }; }; then
72045 glibcxx_cv_func___builtin_sinl_use=yes
72046 else
72047 echo "$as_me: failed program was:" >&5
72048 sed 's/^/| /' conftest.$ac_ext >&5
72050 glibcxx_cv_func___builtin_sinl_use=no
72052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72053 ac_ext=c
72054 ac_cpp='$CPP $CPPFLAGS'
72055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72063 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
72064 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
72065 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
72066 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
72067 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
72068 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
72069 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
72070 echo $ECHO_N "(cached) $ECHO_C" >&6
72071 else
72073 if test x$gcc_no_link = xyes; then
72074 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72076 { (exit 1); exit 1; }; }
72078 cat >conftest.$ac_ext <<_ACEOF
72079 /* confdefs.h. */
72080 _ACEOF
72081 cat confdefs.h >>conftest.$ac_ext
72082 cat >>conftest.$ac_ext <<_ACEOF
72083 /* end confdefs.h. */
72084 #include <math.h>
72086 main ()
72088 __builtin_sinl(0);
72090 return 0;
72092 _ACEOF
72093 rm -f conftest.$ac_objext conftest$ac_exeext
72094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72095 (eval $ac_link) 2>conftest.er1
72096 ac_status=$?
72097 grep -v '^ *+' conftest.er1 >conftest.err
72098 rm -f conftest.er1
72099 cat conftest.err >&5
72100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72101 (exit $ac_status); } &&
72102 { ac_try='test -z "$ac_c_werror_flag"
72103 || test ! -s conftest.err'
72104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72105 (eval $ac_try) 2>&5
72106 ac_status=$?
72107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72108 (exit $ac_status); }; } &&
72109 { ac_try='test -s conftest$ac_exeext'
72110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72111 (eval $ac_try) 2>&5
72112 ac_status=$?
72113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72114 (exit $ac_status); }; }; then
72115 glibcxx_cv_func___builtin_sinl_link=yes
72116 else
72117 echo "$as_me: failed program was:" >&5
72118 sed 's/^/| /' conftest.$ac_ext >&5
72120 glibcxx_cv_func___builtin_sinl_link=no
72122 rm -f conftest.err conftest.$ac_objext \
72123 conftest$ac_exeext conftest.$ac_ext
72128 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
72129 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
72131 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
72133 cat >>confdefs.h <<\_ACEOF
72134 #define HAVE___BUILTIN_SINL 1
72135 _ACEOF
72143 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
72144 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
72145 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
72146 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
72147 echo $ECHO_N "(cached) $ECHO_C" >&6
72148 else
72152 ac_ext=cc
72153 ac_cpp='$CXXCPP $CPPFLAGS'
72154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72158 cat >conftest.$ac_ext <<_ACEOF
72159 /* confdefs.h. */
72160 _ACEOF
72161 cat confdefs.h >>conftest.$ac_ext
72162 cat >>conftest.$ac_ext <<_ACEOF
72163 /* end confdefs.h. */
72164 #include <math.h>
72166 main ()
72168 __builtin_cosf(0);
72170 return 0;
72172 _ACEOF
72173 rm -f conftest.$ac_objext
72174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72175 (eval $ac_compile) 2>conftest.er1
72176 ac_status=$?
72177 grep -v '^ *+' conftest.er1 >conftest.err
72178 rm -f conftest.er1
72179 cat conftest.err >&5
72180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72181 (exit $ac_status); } &&
72182 { ac_try='test -z "$ac_cxx_werror_flag"
72183 || test ! -s conftest.err'
72184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72185 (eval $ac_try) 2>&5
72186 ac_status=$?
72187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72188 (exit $ac_status); }; } &&
72189 { ac_try='test -s conftest.$ac_objext'
72190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72191 (eval $ac_try) 2>&5
72192 ac_status=$?
72193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72194 (exit $ac_status); }; }; then
72195 glibcxx_cv_func___builtin_cosf_use=yes
72196 else
72197 echo "$as_me: failed program was:" >&5
72198 sed 's/^/| /' conftest.$ac_ext >&5
72200 glibcxx_cv_func___builtin_cosf_use=no
72202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72203 ac_ext=c
72204 ac_cpp='$CPP $CPPFLAGS'
72205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72213 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
72214 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
72215 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
72216 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
72217 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
72218 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
72219 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
72220 echo $ECHO_N "(cached) $ECHO_C" >&6
72221 else
72223 if test x$gcc_no_link = xyes; then
72224 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72226 { (exit 1); exit 1; }; }
72228 cat >conftest.$ac_ext <<_ACEOF
72229 /* confdefs.h. */
72230 _ACEOF
72231 cat confdefs.h >>conftest.$ac_ext
72232 cat >>conftest.$ac_ext <<_ACEOF
72233 /* end confdefs.h. */
72234 #include <math.h>
72236 main ()
72238 __builtin_cosf(0);
72240 return 0;
72242 _ACEOF
72243 rm -f conftest.$ac_objext conftest$ac_exeext
72244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72245 (eval $ac_link) 2>conftest.er1
72246 ac_status=$?
72247 grep -v '^ *+' conftest.er1 >conftest.err
72248 rm -f conftest.er1
72249 cat conftest.err >&5
72250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72251 (exit $ac_status); } &&
72252 { ac_try='test -z "$ac_c_werror_flag"
72253 || test ! -s conftest.err'
72254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72255 (eval $ac_try) 2>&5
72256 ac_status=$?
72257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72258 (exit $ac_status); }; } &&
72259 { ac_try='test -s conftest$ac_exeext'
72260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72261 (eval $ac_try) 2>&5
72262 ac_status=$?
72263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72264 (exit $ac_status); }; }; then
72265 glibcxx_cv_func___builtin_cosf_link=yes
72266 else
72267 echo "$as_me: failed program was:" >&5
72268 sed 's/^/| /' conftest.$ac_ext >&5
72270 glibcxx_cv_func___builtin_cosf_link=no
72272 rm -f conftest.err conftest.$ac_objext \
72273 conftest$ac_exeext conftest.$ac_ext
72278 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
72279 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
72281 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
72283 cat >>confdefs.h <<\_ACEOF
72284 #define HAVE___BUILTIN_COSF 1
72285 _ACEOF
72292 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
72293 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
72294 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
72295 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
72296 echo $ECHO_N "(cached) $ECHO_C" >&6
72297 else
72301 ac_ext=cc
72302 ac_cpp='$CXXCPP $CPPFLAGS'
72303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72307 cat >conftest.$ac_ext <<_ACEOF
72308 /* confdefs.h. */
72309 _ACEOF
72310 cat confdefs.h >>conftest.$ac_ext
72311 cat >>conftest.$ac_ext <<_ACEOF
72312 /* end confdefs.h. */
72313 #include <math.h>
72315 main ()
72317 __builtin_cos(0);
72319 return 0;
72321 _ACEOF
72322 rm -f conftest.$ac_objext
72323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72324 (eval $ac_compile) 2>conftest.er1
72325 ac_status=$?
72326 grep -v '^ *+' conftest.er1 >conftest.err
72327 rm -f conftest.er1
72328 cat conftest.err >&5
72329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72330 (exit $ac_status); } &&
72331 { ac_try='test -z "$ac_cxx_werror_flag"
72332 || test ! -s conftest.err'
72333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72334 (eval $ac_try) 2>&5
72335 ac_status=$?
72336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72337 (exit $ac_status); }; } &&
72338 { ac_try='test -s conftest.$ac_objext'
72339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72340 (eval $ac_try) 2>&5
72341 ac_status=$?
72342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72343 (exit $ac_status); }; }; then
72344 glibcxx_cv_func___builtin_cos_use=yes
72345 else
72346 echo "$as_me: failed program was:" >&5
72347 sed 's/^/| /' conftest.$ac_ext >&5
72349 glibcxx_cv_func___builtin_cos_use=no
72351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72352 ac_ext=c
72353 ac_cpp='$CPP $CPPFLAGS'
72354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72362 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
72363 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
72364 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
72365 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
72366 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
72367 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
72368 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
72369 echo $ECHO_N "(cached) $ECHO_C" >&6
72370 else
72372 if test x$gcc_no_link = xyes; then
72373 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72375 { (exit 1); exit 1; }; }
72377 cat >conftest.$ac_ext <<_ACEOF
72378 /* confdefs.h. */
72379 _ACEOF
72380 cat confdefs.h >>conftest.$ac_ext
72381 cat >>conftest.$ac_ext <<_ACEOF
72382 /* end confdefs.h. */
72383 #include <math.h>
72385 main ()
72387 __builtin_cos(0);
72389 return 0;
72391 _ACEOF
72392 rm -f conftest.$ac_objext conftest$ac_exeext
72393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72394 (eval $ac_link) 2>conftest.er1
72395 ac_status=$?
72396 grep -v '^ *+' conftest.er1 >conftest.err
72397 rm -f conftest.er1
72398 cat conftest.err >&5
72399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72400 (exit $ac_status); } &&
72401 { ac_try='test -z "$ac_c_werror_flag"
72402 || test ! -s conftest.err'
72403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72404 (eval $ac_try) 2>&5
72405 ac_status=$?
72406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72407 (exit $ac_status); }; } &&
72408 { ac_try='test -s conftest$ac_exeext'
72409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72410 (eval $ac_try) 2>&5
72411 ac_status=$?
72412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72413 (exit $ac_status); }; }; then
72414 glibcxx_cv_func___builtin_cos_link=yes
72415 else
72416 echo "$as_me: failed program was:" >&5
72417 sed 's/^/| /' conftest.$ac_ext >&5
72419 glibcxx_cv_func___builtin_cos_link=no
72421 rm -f conftest.err conftest.$ac_objext \
72422 conftest$ac_exeext conftest.$ac_ext
72427 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
72428 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
72430 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
72432 cat >>confdefs.h <<\_ACEOF
72433 #define HAVE___BUILTIN_COS 1
72434 _ACEOF
72441 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
72442 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
72443 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
72444 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
72445 echo $ECHO_N "(cached) $ECHO_C" >&6
72446 else
72450 ac_ext=cc
72451 ac_cpp='$CXXCPP $CPPFLAGS'
72452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72456 cat >conftest.$ac_ext <<_ACEOF
72457 /* confdefs.h. */
72458 _ACEOF
72459 cat confdefs.h >>conftest.$ac_ext
72460 cat >>conftest.$ac_ext <<_ACEOF
72461 /* end confdefs.h. */
72462 #include <math.h>
72464 main ()
72466 __builtin_cosl(0);
72468 return 0;
72470 _ACEOF
72471 rm -f conftest.$ac_objext
72472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72473 (eval $ac_compile) 2>conftest.er1
72474 ac_status=$?
72475 grep -v '^ *+' conftest.er1 >conftest.err
72476 rm -f conftest.er1
72477 cat conftest.err >&5
72478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72479 (exit $ac_status); } &&
72480 { ac_try='test -z "$ac_cxx_werror_flag"
72481 || test ! -s conftest.err'
72482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72483 (eval $ac_try) 2>&5
72484 ac_status=$?
72485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72486 (exit $ac_status); }; } &&
72487 { ac_try='test -s conftest.$ac_objext'
72488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72489 (eval $ac_try) 2>&5
72490 ac_status=$?
72491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72492 (exit $ac_status); }; }; then
72493 glibcxx_cv_func___builtin_cosl_use=yes
72494 else
72495 echo "$as_me: failed program was:" >&5
72496 sed 's/^/| /' conftest.$ac_ext >&5
72498 glibcxx_cv_func___builtin_cosl_use=no
72500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72501 ac_ext=c
72502 ac_cpp='$CPP $CPPFLAGS'
72503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72511 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
72512 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
72513 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
72514 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
72515 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
72516 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
72517 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
72518 echo $ECHO_N "(cached) $ECHO_C" >&6
72519 else
72521 if test x$gcc_no_link = xyes; then
72522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72524 { (exit 1); exit 1; }; }
72526 cat >conftest.$ac_ext <<_ACEOF
72527 /* confdefs.h. */
72528 _ACEOF
72529 cat confdefs.h >>conftest.$ac_ext
72530 cat >>conftest.$ac_ext <<_ACEOF
72531 /* end confdefs.h. */
72532 #include <math.h>
72534 main ()
72536 __builtin_cosl(0);
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 glibcxx_cv_func___builtin_cosl_link=yes
72564 else
72565 echo "$as_me: failed program was:" >&5
72566 sed 's/^/| /' conftest.$ac_ext >&5
72568 glibcxx_cv_func___builtin_cosl_link=no
72570 rm -f conftest.err conftest.$ac_objext \
72571 conftest$ac_exeext conftest.$ac_ext
72576 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
72577 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
72579 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
72581 cat >>confdefs.h <<\_ACEOF
72582 #define HAVE___BUILTIN_COSL 1
72583 _ACEOF
72592 echo "$as_me:$LINENO: checking for main in -lm" >&5
72593 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
72594 if test "${ac_cv_lib_m_main+set}" = set; then
72595 echo $ECHO_N "(cached) $ECHO_C" >&6
72596 else
72597 ac_check_lib_save_LIBS=$LIBS
72598 LIBS="-lm $LIBS"
72599 if test x$gcc_no_link = xyes; then
72600 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72602 { (exit 1); exit 1; }; }
72604 cat >conftest.$ac_ext <<_ACEOF
72605 /* confdefs.h. */
72606 _ACEOF
72607 cat confdefs.h >>conftest.$ac_ext
72608 cat >>conftest.$ac_ext <<_ACEOF
72609 /* end confdefs.h. */
72613 main ()
72615 main ();
72617 return 0;
72619 _ACEOF
72620 rm -f conftest.$ac_objext conftest$ac_exeext
72621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72622 (eval $ac_link) 2>conftest.er1
72623 ac_status=$?
72624 grep -v '^ *+' conftest.er1 >conftest.err
72625 rm -f conftest.er1
72626 cat conftest.err >&5
72627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72628 (exit $ac_status); } &&
72629 { ac_try='test -z "$ac_c_werror_flag"
72630 || test ! -s conftest.err'
72631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72632 (eval $ac_try) 2>&5
72633 ac_status=$?
72634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72635 (exit $ac_status); }; } &&
72636 { ac_try='test -s conftest$ac_exeext'
72637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72638 (eval $ac_try) 2>&5
72639 ac_status=$?
72640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72641 (exit $ac_status); }; }; then
72642 ac_cv_lib_m_main=yes
72643 else
72644 echo "$as_me: failed program was:" >&5
72645 sed 's/^/| /' conftest.$ac_ext >&5
72647 ac_cv_lib_m_main=no
72649 rm -f conftest.err conftest.$ac_objext \
72650 conftest$ac_exeext conftest.$ac_ext
72651 LIBS=$ac_check_lib_save_LIBS
72653 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
72654 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
72655 if test $ac_cv_lib_m_main = yes; then
72656 cat >>confdefs.h <<_ACEOF
72657 #define HAVE_LIBM 1
72658 _ACEOF
72660 LIBS="-lm $LIBS"
72665 for ac_func in copysignf
72667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72668 echo "$as_me:$LINENO: checking for $ac_func" >&5
72669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72670 if eval "test \"\${$as_ac_var+set}\" = set"; then
72671 echo $ECHO_N "(cached) $ECHO_C" >&6
72672 else
72673 if test x$gcc_no_link = xyes; then
72674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72676 { (exit 1); exit 1; }; }
72678 cat >conftest.$ac_ext <<_ACEOF
72679 /* confdefs.h. */
72680 _ACEOF
72681 cat confdefs.h >>conftest.$ac_ext
72682 cat >>conftest.$ac_ext <<_ACEOF
72683 /* end confdefs.h. */
72684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72686 #define $ac_func innocuous_$ac_func
72688 /* System header to define __stub macros and hopefully few prototypes,
72689 which can conflict with char $ac_func (); below.
72690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72691 <limits.h> exists even on freestanding compilers. */
72693 #ifdef __STDC__
72694 # include <limits.h>
72695 #else
72696 # include <assert.h>
72697 #endif
72699 #undef $ac_func
72701 /* Override any gcc2 internal prototype to avoid an error. */
72702 #ifdef __cplusplus
72703 extern "C"
72705 #endif
72706 /* We use char because int might match the return type of a gcc2
72707 builtin and then its argument prototype would still apply. */
72708 char $ac_func ();
72709 /* The GNU C library defines this for functions which it implements
72710 to always fail with ENOSYS. Some functions are actually named
72711 something starting with __ and the normal name is an alias. */
72712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72713 choke me
72714 #else
72715 char (*f) () = $ac_func;
72716 #endif
72717 #ifdef __cplusplus
72719 #endif
72722 main ()
72724 return f != $ac_func;
72726 return 0;
72728 _ACEOF
72729 rm -f conftest.$ac_objext conftest$ac_exeext
72730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72731 (eval $ac_link) 2>conftest.er1
72732 ac_status=$?
72733 grep -v '^ *+' conftest.er1 >conftest.err
72734 rm -f conftest.er1
72735 cat conftest.err >&5
72736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72737 (exit $ac_status); } &&
72738 { ac_try='test -z "$ac_c_werror_flag"
72739 || test ! -s conftest.err'
72740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72741 (eval $ac_try) 2>&5
72742 ac_status=$?
72743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72744 (exit $ac_status); }; } &&
72745 { ac_try='test -s conftest$ac_exeext'
72746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72747 (eval $ac_try) 2>&5
72748 ac_status=$?
72749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72750 (exit $ac_status); }; }; then
72751 eval "$as_ac_var=yes"
72752 else
72753 echo "$as_me: failed program was:" >&5
72754 sed 's/^/| /' conftest.$ac_ext >&5
72756 eval "$as_ac_var=no"
72758 rm -f conftest.err conftest.$ac_objext \
72759 conftest$ac_exeext conftest.$ac_ext
72761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72763 if test `eval echo '${'$as_ac_var'}'` = yes; then
72764 cat >>confdefs.h <<_ACEOF
72765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72766 _ACEOF
72768 else
72769 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
72771 done
72775 for ac_func in __signbit
72777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72778 echo "$as_me:$LINENO: checking for $ac_func" >&5
72779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72780 if eval "test \"\${$as_ac_var+set}\" = set"; then
72781 echo $ECHO_N "(cached) $ECHO_C" >&6
72782 else
72783 if test x$gcc_no_link = xyes; then
72784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72786 { (exit 1); exit 1; }; }
72788 cat >conftest.$ac_ext <<_ACEOF
72789 /* confdefs.h. */
72790 _ACEOF
72791 cat confdefs.h >>conftest.$ac_ext
72792 cat >>conftest.$ac_ext <<_ACEOF
72793 /* end confdefs.h. */
72794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72796 #define $ac_func innocuous_$ac_func
72798 /* System header to define __stub macros and hopefully few prototypes,
72799 which can conflict with char $ac_func (); below.
72800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72801 <limits.h> exists even on freestanding compilers. */
72803 #ifdef __STDC__
72804 # include <limits.h>
72805 #else
72806 # include <assert.h>
72807 #endif
72809 #undef $ac_func
72811 /* Override any gcc2 internal prototype to avoid an error. */
72812 #ifdef __cplusplus
72813 extern "C"
72815 #endif
72816 /* We use char because int might match the return type of a gcc2
72817 builtin and then its argument prototype would still apply. */
72818 char $ac_func ();
72819 /* The GNU C library defines this for functions which it implements
72820 to always fail with ENOSYS. Some functions are actually named
72821 something starting with __ and the normal name is an alias. */
72822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72823 choke me
72824 #else
72825 char (*f) () = $ac_func;
72826 #endif
72827 #ifdef __cplusplus
72829 #endif
72832 main ()
72834 return f != $ac_func;
72836 return 0;
72838 _ACEOF
72839 rm -f conftest.$ac_objext conftest$ac_exeext
72840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72841 (eval $ac_link) 2>conftest.er1
72842 ac_status=$?
72843 grep -v '^ *+' conftest.er1 >conftest.err
72844 rm -f conftest.er1
72845 cat conftest.err >&5
72846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72847 (exit $ac_status); } &&
72848 { ac_try='test -z "$ac_c_werror_flag"
72849 || test ! -s conftest.err'
72850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72851 (eval $ac_try) 2>&5
72852 ac_status=$?
72853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72854 (exit $ac_status); }; } &&
72855 { ac_try='test -s conftest$ac_exeext'
72856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72857 (eval $ac_try) 2>&5
72858 ac_status=$?
72859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72860 (exit $ac_status); }; }; then
72861 eval "$as_ac_var=yes"
72862 else
72863 echo "$as_me: failed program was:" >&5
72864 sed 's/^/| /' conftest.$ac_ext >&5
72866 eval "$as_ac_var=no"
72868 rm -f conftest.err conftest.$ac_objext \
72869 conftest$ac_exeext conftest.$ac_ext
72871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72873 if test `eval echo '${'$as_ac_var'}'` = yes; then
72874 cat >>confdefs.h <<_ACEOF
72875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72876 _ACEOF
72878 else
72879 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
72881 done
72885 for ac_func in __signbitf
72887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72888 echo "$as_me:$LINENO: checking for $ac_func" >&5
72889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72890 if eval "test \"\${$as_ac_var+set}\" = set"; then
72891 echo $ECHO_N "(cached) $ECHO_C" >&6
72892 else
72893 if test x$gcc_no_link = xyes; then
72894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72896 { (exit 1); exit 1; }; }
72898 cat >conftest.$ac_ext <<_ACEOF
72899 /* confdefs.h. */
72900 _ACEOF
72901 cat confdefs.h >>conftest.$ac_ext
72902 cat >>conftest.$ac_ext <<_ACEOF
72903 /* end confdefs.h. */
72904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72906 #define $ac_func innocuous_$ac_func
72908 /* System header to define __stub macros and hopefully few prototypes,
72909 which can conflict with char $ac_func (); below.
72910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72911 <limits.h> exists even on freestanding compilers. */
72913 #ifdef __STDC__
72914 # include <limits.h>
72915 #else
72916 # include <assert.h>
72917 #endif
72919 #undef $ac_func
72921 /* Override any gcc2 internal prototype to avoid an error. */
72922 #ifdef __cplusplus
72923 extern "C"
72925 #endif
72926 /* We use char because int might match the return type of a gcc2
72927 builtin and then its argument prototype would still apply. */
72928 char $ac_func ();
72929 /* The GNU C library defines this for functions which it implements
72930 to always fail with ENOSYS. Some functions are actually named
72931 something starting with __ and the normal name is an alias. */
72932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72933 choke me
72934 #else
72935 char (*f) () = $ac_func;
72936 #endif
72937 #ifdef __cplusplus
72939 #endif
72942 main ()
72944 return f != $ac_func;
72946 return 0;
72948 _ACEOF
72949 rm -f conftest.$ac_objext conftest$ac_exeext
72950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72951 (eval $ac_link) 2>conftest.er1
72952 ac_status=$?
72953 grep -v '^ *+' conftest.er1 >conftest.err
72954 rm -f conftest.er1
72955 cat conftest.err >&5
72956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72957 (exit $ac_status); } &&
72958 { ac_try='test -z "$ac_c_werror_flag"
72959 || test ! -s conftest.err'
72960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72961 (eval $ac_try) 2>&5
72962 ac_status=$?
72963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72964 (exit $ac_status); }; } &&
72965 { ac_try='test -s conftest$ac_exeext'
72966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72967 (eval $ac_try) 2>&5
72968 ac_status=$?
72969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72970 (exit $ac_status); }; }; then
72971 eval "$as_ac_var=yes"
72972 else
72973 echo "$as_me: failed program was:" >&5
72974 sed 's/^/| /' conftest.$ac_ext >&5
72976 eval "$as_ac_var=no"
72978 rm -f conftest.err conftest.$ac_objext \
72979 conftest$ac_exeext conftest.$ac_ext
72981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72983 if test `eval echo '${'$as_ac_var'}'` = yes; then
72984 cat >>confdefs.h <<_ACEOF
72985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72986 _ACEOF
72988 else
72989 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
72991 done
72994 if test x$ac_cv_func_copysignl = x"yes"; then
72996 for ac_func in __signbitl
72998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72999 echo "$as_me:$LINENO: checking for $ac_func" >&5
73000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73001 if eval "test \"\${$as_ac_var+set}\" = set"; then
73002 echo $ECHO_N "(cached) $ECHO_C" >&6
73003 else
73004 if test x$gcc_no_link = xyes; then
73005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73007 { (exit 1); exit 1; }; }
73009 cat >conftest.$ac_ext <<_ACEOF
73010 /* confdefs.h. */
73011 _ACEOF
73012 cat confdefs.h >>conftest.$ac_ext
73013 cat >>conftest.$ac_ext <<_ACEOF
73014 /* end confdefs.h. */
73015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73017 #define $ac_func innocuous_$ac_func
73019 /* System header to define __stub macros and hopefully few prototypes,
73020 which can conflict with char $ac_func (); below.
73021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73022 <limits.h> exists even on freestanding compilers. */
73024 #ifdef __STDC__
73025 # include <limits.h>
73026 #else
73027 # include <assert.h>
73028 #endif
73030 #undef $ac_func
73032 /* Override any gcc2 internal prototype to avoid an error. */
73033 #ifdef __cplusplus
73034 extern "C"
73036 #endif
73037 /* We use char because int might match the return type of a gcc2
73038 builtin and then its argument prototype would still apply. */
73039 char $ac_func ();
73040 /* The GNU C library defines this for functions which it implements
73041 to always fail with ENOSYS. Some functions are actually named
73042 something starting with __ and the normal name is an alias. */
73043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73044 choke me
73045 #else
73046 char (*f) () = $ac_func;
73047 #endif
73048 #ifdef __cplusplus
73050 #endif
73053 main ()
73055 return f != $ac_func;
73057 return 0;
73059 _ACEOF
73060 rm -f conftest.$ac_objext conftest$ac_exeext
73061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73062 (eval $ac_link) 2>conftest.er1
73063 ac_status=$?
73064 grep -v '^ *+' conftest.er1 >conftest.err
73065 rm -f conftest.er1
73066 cat conftest.err >&5
73067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73068 (exit $ac_status); } &&
73069 { ac_try='test -z "$ac_c_werror_flag"
73070 || test ! -s conftest.err'
73071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73072 (eval $ac_try) 2>&5
73073 ac_status=$?
73074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73075 (exit $ac_status); }; } &&
73076 { ac_try='test -s conftest$ac_exeext'
73077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73078 (eval $ac_try) 2>&5
73079 ac_status=$?
73080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73081 (exit $ac_status); }; }; then
73082 eval "$as_ac_var=yes"
73083 else
73084 echo "$as_me: failed program was:" >&5
73085 sed 's/^/| /' conftest.$ac_ext >&5
73087 eval "$as_ac_var=no"
73089 rm -f conftest.err conftest.$ac_objext \
73090 conftest$ac_exeext conftest.$ac_ext
73092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73094 if test `eval echo '${'$as_ac_var'}'` = yes; then
73095 cat >>confdefs.h <<_ACEOF
73096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73097 _ACEOF
73099 else
73100 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
73102 done
73106 # Used in libmath/Makefile.am.
73107 if test -n "$LIBMATHOBJS"; then
73108 need_libmath=yes
73114 enable_iconv=no
73115 # Only continue checking if the ISO C99 headers exist and support is on.
73116 if test x"$enable_wchar_t" = xyes; then
73118 # Use iconv for wchar_t to char conversions. As such, check for
73119 # X/Open Portability Guide, version 2 features (XPG2).
73120 if test "${ac_cv_header_iconv_h+set}" = set; then
73121 echo "$as_me:$LINENO: checking for iconv.h" >&5
73122 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
73123 if test "${ac_cv_header_iconv_h+set}" = set; then
73124 echo $ECHO_N "(cached) $ECHO_C" >&6
73126 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
73127 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
73128 else
73129 # Is the header compilable?
73130 echo "$as_me:$LINENO: checking iconv.h usability" >&5
73131 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
73132 cat >conftest.$ac_ext <<_ACEOF
73133 /* confdefs.h. */
73134 _ACEOF
73135 cat confdefs.h >>conftest.$ac_ext
73136 cat >>conftest.$ac_ext <<_ACEOF
73137 /* end confdefs.h. */
73138 $ac_includes_default
73139 #include <iconv.h>
73140 _ACEOF
73141 rm -f conftest.$ac_objext
73142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73143 (eval $ac_compile) 2>conftest.er1
73144 ac_status=$?
73145 grep -v '^ *+' conftest.er1 >conftest.err
73146 rm -f conftest.er1
73147 cat conftest.err >&5
73148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73149 (exit $ac_status); } &&
73150 { ac_try='test -z "$ac_c_werror_flag"
73151 || test ! -s conftest.err'
73152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73153 (eval $ac_try) 2>&5
73154 ac_status=$?
73155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73156 (exit $ac_status); }; } &&
73157 { ac_try='test -s conftest.$ac_objext'
73158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73159 (eval $ac_try) 2>&5
73160 ac_status=$?
73161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73162 (exit $ac_status); }; }; then
73163 ac_header_compiler=yes
73164 else
73165 echo "$as_me: failed program was:" >&5
73166 sed 's/^/| /' conftest.$ac_ext >&5
73168 ac_header_compiler=no
73170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73171 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73172 echo "${ECHO_T}$ac_header_compiler" >&6
73174 # Is the header present?
73175 echo "$as_me:$LINENO: checking iconv.h presence" >&5
73176 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
73177 cat >conftest.$ac_ext <<_ACEOF
73178 /* confdefs.h. */
73179 _ACEOF
73180 cat confdefs.h >>conftest.$ac_ext
73181 cat >>conftest.$ac_ext <<_ACEOF
73182 /* end confdefs.h. */
73183 #include <iconv.h>
73184 _ACEOF
73185 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73186 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73187 ac_status=$?
73188 grep -v '^ *+' conftest.er1 >conftest.err
73189 rm -f conftest.er1
73190 cat conftest.err >&5
73191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73192 (exit $ac_status); } >/dev/null; then
73193 if test -s conftest.err; then
73194 ac_cpp_err=$ac_c_preproc_warn_flag
73195 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73196 else
73197 ac_cpp_err=
73199 else
73200 ac_cpp_err=yes
73202 if test -z "$ac_cpp_err"; then
73203 ac_header_preproc=yes
73204 else
73205 echo "$as_me: failed program was:" >&5
73206 sed 's/^/| /' conftest.$ac_ext >&5
73208 ac_header_preproc=no
73210 rm -f conftest.err conftest.$ac_ext
73211 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73212 echo "${ECHO_T}$ac_header_preproc" >&6
73214 # So? What about this header?
73215 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73216 yes:no: )
73217 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
73218 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
73219 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
73220 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
73221 ac_header_preproc=yes
73223 no:yes:* )
73224 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
73225 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
73226 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
73227 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
73228 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
73229 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
73230 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
73231 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
73232 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
73233 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
73234 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
73235 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
73237 cat <<\_ASBOX
73238 ## ----------------------------------------- ##
73239 ## Report this to the package-unused lists. ##
73240 ## ----------------------------------------- ##
73241 _ASBOX
73243 sed "s/^/$as_me: WARNING: /" >&2
73245 esac
73246 echo "$as_me:$LINENO: checking for iconv.h" >&5
73247 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
73248 if test "${ac_cv_header_iconv_h+set}" = set; then
73249 echo $ECHO_N "(cached) $ECHO_C" >&6
73250 else
73251 ac_cv_header_iconv_h=$ac_header_preproc
73253 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
73254 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
73257 if test $ac_cv_header_iconv_h = yes; then
73258 ac_has_iconv_h=yes
73259 else
73260 ac_has_iconv_h=no
73264 if test "${ac_cv_header_langinfo_h+set}" = set; then
73265 echo "$as_me:$LINENO: checking for langinfo.h" >&5
73266 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
73267 if test "${ac_cv_header_langinfo_h+set}" = set; then
73268 echo $ECHO_N "(cached) $ECHO_C" >&6
73270 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
73271 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
73272 else
73273 # Is the header compilable?
73274 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
73275 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
73276 cat >conftest.$ac_ext <<_ACEOF
73277 /* confdefs.h. */
73278 _ACEOF
73279 cat confdefs.h >>conftest.$ac_ext
73280 cat >>conftest.$ac_ext <<_ACEOF
73281 /* end confdefs.h. */
73282 $ac_includes_default
73283 #include <langinfo.h>
73284 _ACEOF
73285 rm -f conftest.$ac_objext
73286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73287 (eval $ac_compile) 2>conftest.er1
73288 ac_status=$?
73289 grep -v '^ *+' conftest.er1 >conftest.err
73290 rm -f conftest.er1
73291 cat conftest.err >&5
73292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73293 (exit $ac_status); } &&
73294 { ac_try='test -z "$ac_c_werror_flag"
73295 || test ! -s conftest.err'
73296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73297 (eval $ac_try) 2>&5
73298 ac_status=$?
73299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73300 (exit $ac_status); }; } &&
73301 { ac_try='test -s conftest.$ac_objext'
73302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73303 (eval $ac_try) 2>&5
73304 ac_status=$?
73305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73306 (exit $ac_status); }; }; then
73307 ac_header_compiler=yes
73308 else
73309 echo "$as_me: failed program was:" >&5
73310 sed 's/^/| /' conftest.$ac_ext >&5
73312 ac_header_compiler=no
73314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73315 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73316 echo "${ECHO_T}$ac_header_compiler" >&6
73318 # Is the header present?
73319 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
73320 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
73321 cat >conftest.$ac_ext <<_ACEOF
73322 /* confdefs.h. */
73323 _ACEOF
73324 cat confdefs.h >>conftest.$ac_ext
73325 cat >>conftest.$ac_ext <<_ACEOF
73326 /* end confdefs.h. */
73327 #include <langinfo.h>
73328 _ACEOF
73329 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73330 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73331 ac_status=$?
73332 grep -v '^ *+' conftest.er1 >conftest.err
73333 rm -f conftest.er1
73334 cat conftest.err >&5
73335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73336 (exit $ac_status); } >/dev/null; then
73337 if test -s conftest.err; then
73338 ac_cpp_err=$ac_c_preproc_warn_flag
73339 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73340 else
73341 ac_cpp_err=
73343 else
73344 ac_cpp_err=yes
73346 if test -z "$ac_cpp_err"; then
73347 ac_header_preproc=yes
73348 else
73349 echo "$as_me: failed program was:" >&5
73350 sed 's/^/| /' conftest.$ac_ext >&5
73352 ac_header_preproc=no
73354 rm -f conftest.err conftest.$ac_ext
73355 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73356 echo "${ECHO_T}$ac_header_preproc" >&6
73358 # So? What about this header?
73359 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73360 yes:no: )
73361 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
73362 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
73363 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
73364 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
73365 ac_header_preproc=yes
73367 no:yes:* )
73368 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
73369 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
73370 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
73371 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
73372 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
73373 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
73374 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
73375 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
73376 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
73377 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
73378 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
73379 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
73381 cat <<\_ASBOX
73382 ## ----------------------------------------- ##
73383 ## Report this to the package-unused lists. ##
73384 ## ----------------------------------------- ##
73385 _ASBOX
73387 sed "s/^/$as_me: WARNING: /" >&2
73389 esac
73390 echo "$as_me:$LINENO: checking for langinfo.h" >&5
73391 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
73392 if test "${ac_cv_header_langinfo_h+set}" = set; then
73393 echo $ECHO_N "(cached) $ECHO_C" >&6
73394 else
73395 ac_cv_header_langinfo_h=$ac_header_preproc
73397 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
73398 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
73401 if test $ac_cv_header_langinfo_h = yes; then
73402 ac_has_langinfo_h=yes
73403 else
73404 ac_has_langinfo_h=no
73409 # Check for existence of libiconv.a providing XPG2 wchar_t support.
73410 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
73411 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
73412 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
73413 echo $ECHO_N "(cached) $ECHO_C" >&6
73414 else
73415 ac_check_lib_save_LIBS=$LIBS
73416 LIBS="-liconv $LIBS"
73417 if test x$gcc_no_link = xyes; then
73418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73420 { (exit 1); exit 1; }; }
73422 cat >conftest.$ac_ext <<_ACEOF
73423 /* confdefs.h. */
73424 _ACEOF
73425 cat confdefs.h >>conftest.$ac_ext
73426 cat >>conftest.$ac_ext <<_ACEOF
73427 /* end confdefs.h. */
73429 /* Override any gcc2 internal prototype to avoid an error. */
73430 #ifdef __cplusplus
73431 extern "C"
73432 #endif
73433 /* We use char because int might match the return type of a gcc2
73434 builtin and then its argument prototype would still apply. */
73435 char iconv ();
73437 main ()
73439 iconv ();
73441 return 0;
73443 _ACEOF
73444 rm -f conftest.$ac_objext conftest$ac_exeext
73445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73446 (eval $ac_link) 2>conftest.er1
73447 ac_status=$?
73448 grep -v '^ *+' conftest.er1 >conftest.err
73449 rm -f conftest.er1
73450 cat conftest.err >&5
73451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73452 (exit $ac_status); } &&
73453 { ac_try='test -z "$ac_c_werror_flag"
73454 || test ! -s conftest.err'
73455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73456 (eval $ac_try) 2>&5
73457 ac_status=$?
73458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73459 (exit $ac_status); }; } &&
73460 { ac_try='test -s conftest$ac_exeext'
73461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73462 (eval $ac_try) 2>&5
73463 ac_status=$?
73464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73465 (exit $ac_status); }; }; then
73466 ac_cv_lib_iconv_iconv=yes
73467 else
73468 echo "$as_me: failed program was:" >&5
73469 sed 's/^/| /' conftest.$ac_ext >&5
73471 ac_cv_lib_iconv_iconv=no
73473 rm -f conftest.err conftest.$ac_objext \
73474 conftest$ac_exeext conftest.$ac_ext
73475 LIBS=$ac_check_lib_save_LIBS
73477 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
73478 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
73479 if test $ac_cv_lib_iconv_iconv = yes; then
73480 LIBICONV="-liconv"
73483 ac_save_LIBS="$LIBS"
73484 LIBS="$LIBS $LIBICONV"
73491 for ac_func in iconv_open iconv_close iconv nl_langinfo
73493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73494 echo "$as_me:$LINENO: checking for $ac_func" >&5
73495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73496 if eval "test \"\${$as_ac_var+set}\" = set"; then
73497 echo $ECHO_N "(cached) $ECHO_C" >&6
73498 else
73499 if test x$gcc_no_link = xyes; then
73500 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73502 { (exit 1); exit 1; }; }
73504 cat >conftest.$ac_ext <<_ACEOF
73505 /* confdefs.h. */
73506 _ACEOF
73507 cat confdefs.h >>conftest.$ac_ext
73508 cat >>conftest.$ac_ext <<_ACEOF
73509 /* end confdefs.h. */
73510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73512 #define $ac_func innocuous_$ac_func
73514 /* System header to define __stub macros and hopefully few prototypes,
73515 which can conflict with char $ac_func (); below.
73516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73517 <limits.h> exists even on freestanding compilers. */
73519 #ifdef __STDC__
73520 # include <limits.h>
73521 #else
73522 # include <assert.h>
73523 #endif
73525 #undef $ac_func
73527 /* Override any gcc2 internal prototype to avoid an error. */
73528 #ifdef __cplusplus
73529 extern "C"
73531 #endif
73532 /* We use char because int might match the return type of a gcc2
73533 builtin and then its argument prototype would still apply. */
73534 char $ac_func ();
73535 /* The GNU C library defines this for functions which it implements
73536 to always fail with ENOSYS. Some functions are actually named
73537 something starting with __ and the normal name is an alias. */
73538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73539 choke me
73540 #else
73541 char (*f) () = $ac_func;
73542 #endif
73543 #ifdef __cplusplus
73545 #endif
73548 main ()
73550 return f != $ac_func;
73552 return 0;
73554 _ACEOF
73555 rm -f conftest.$ac_objext conftest$ac_exeext
73556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73557 (eval $ac_link) 2>conftest.er1
73558 ac_status=$?
73559 grep -v '^ *+' conftest.er1 >conftest.err
73560 rm -f conftest.er1
73561 cat conftest.err >&5
73562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73563 (exit $ac_status); } &&
73564 { ac_try='test -z "$ac_c_werror_flag"
73565 || test ! -s conftest.err'
73566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73567 (eval $ac_try) 2>&5
73568 ac_status=$?
73569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73570 (exit $ac_status); }; } &&
73571 { ac_try='test -s conftest$ac_exeext'
73572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73573 (eval $ac_try) 2>&5
73574 ac_status=$?
73575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73576 (exit $ac_status); }; }; then
73577 eval "$as_ac_var=yes"
73578 else
73579 echo "$as_me: failed program was:" >&5
73580 sed 's/^/| /' conftest.$ac_ext >&5
73582 eval "$as_ac_var=no"
73584 rm -f conftest.err conftest.$ac_objext \
73585 conftest$ac_exeext conftest.$ac_ext
73587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73589 if test `eval echo '${'$as_ac_var'}'` = yes; then
73590 cat >>confdefs.h <<_ACEOF
73591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73592 _ACEOF
73593 ac_XPG2funcs=yes
73594 else
73595 ac_XPG2funcs=no
73597 done
73600 LIBS="$ac_save_LIBS"
73602 if test x"$ac_has_iconv_h" = xyes &&
73603 test x"$ac_has_langinfo_h" = xyes &&
73604 test x"$ac_XPG2funcs" = xyes;
73605 then
73607 cat >>confdefs.h <<\_ACEOF
73608 #define _GLIBCXX_USE_ICONV 1
73609 _ACEOF
73611 enable_iconv=yes
73614 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
73615 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
73616 echo "$as_me:$LINENO: result: $enable_iconv" >&5
73617 echo "${ECHO_T}$enable_iconv" >&6
73620 ac_test_CXXFLAGS="${CXXFLAGS+set}"
73621 ac_save_CXXFLAGS="$CXXFLAGS"
73622 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
73625 echo "$as_me:$LINENO: checking for strtold declaration" >&5
73626 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
73627 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
73628 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
73629 echo $ECHO_N "(cached) $ECHO_C" >&6
73630 else
73634 ac_ext=cc
73635 ac_cpp='$CXXCPP $CPPFLAGS'
73636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73640 cat >conftest.$ac_ext <<_ACEOF
73641 /* confdefs.h. */
73642 _ACEOF
73643 cat confdefs.h >>conftest.$ac_ext
73644 cat >>conftest.$ac_ext <<_ACEOF
73645 /* end confdefs.h. */
73646 #include <stdlib.h>
73648 main ()
73650 strtold(0, 0);
73652 return 0;
73654 _ACEOF
73655 rm -f conftest.$ac_objext
73656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73657 (eval $ac_compile) 2>conftest.er1
73658 ac_status=$?
73659 grep -v '^ *+' conftest.er1 >conftest.err
73660 rm -f conftest.er1
73661 cat conftest.err >&5
73662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73663 (exit $ac_status); } &&
73664 { ac_try='test -z "$ac_cxx_werror_flag"
73665 || test ! -s conftest.err'
73666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73667 (eval $ac_try) 2>&5
73668 ac_status=$?
73669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73670 (exit $ac_status); }; } &&
73671 { ac_try='test -s conftest.$ac_objext'
73672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73673 (eval $ac_try) 2>&5
73674 ac_status=$?
73675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73676 (exit $ac_status); }; }; then
73677 glibcxx_cv_func_strtold_use=yes
73678 else
73679 echo "$as_me: failed program was:" >&5
73680 sed 's/^/| /' conftest.$ac_ext >&5
73682 glibcxx_cv_func_strtold_use=no
73684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73685 ac_ext=c
73686 ac_cpp='$CPP $CPPFLAGS'
73687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73695 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
73696 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
73697 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
73699 for ac_func in strtold
73701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73702 echo "$as_me:$LINENO: checking for $ac_func" >&5
73703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73704 if eval "test \"\${$as_ac_var+set}\" = set"; then
73705 echo $ECHO_N "(cached) $ECHO_C" >&6
73706 else
73707 if test x$gcc_no_link = xyes; then
73708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73710 { (exit 1); exit 1; }; }
73712 cat >conftest.$ac_ext <<_ACEOF
73713 /* confdefs.h. */
73714 _ACEOF
73715 cat confdefs.h >>conftest.$ac_ext
73716 cat >>conftest.$ac_ext <<_ACEOF
73717 /* end confdefs.h. */
73718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73720 #define $ac_func innocuous_$ac_func
73722 /* System header to define __stub macros and hopefully few prototypes,
73723 which can conflict with char $ac_func (); below.
73724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73725 <limits.h> exists even on freestanding compilers. */
73727 #ifdef __STDC__
73728 # include <limits.h>
73729 #else
73730 # include <assert.h>
73731 #endif
73733 #undef $ac_func
73735 /* Override any gcc2 internal prototype to avoid an error. */
73736 #ifdef __cplusplus
73737 extern "C"
73739 #endif
73740 /* We use char because int might match the return type of a gcc2
73741 builtin and then its argument prototype would still apply. */
73742 char $ac_func ();
73743 /* The GNU C library defines this for functions which it implements
73744 to always fail with ENOSYS. Some functions are actually named
73745 something starting with __ and the normal name is an alias. */
73746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73747 choke me
73748 #else
73749 char (*f) () = $ac_func;
73750 #endif
73751 #ifdef __cplusplus
73753 #endif
73756 main ()
73758 return f != $ac_func;
73760 return 0;
73762 _ACEOF
73763 rm -f conftest.$ac_objext conftest$ac_exeext
73764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73765 (eval $ac_link) 2>conftest.er1
73766 ac_status=$?
73767 grep -v '^ *+' conftest.er1 >conftest.err
73768 rm -f conftest.er1
73769 cat conftest.err >&5
73770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73771 (exit $ac_status); } &&
73772 { ac_try='test -z "$ac_c_werror_flag"
73773 || test ! -s conftest.err'
73774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73775 (eval $ac_try) 2>&5
73776 ac_status=$?
73777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73778 (exit $ac_status); }; } &&
73779 { ac_try='test -s conftest$ac_exeext'
73780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73781 (eval $ac_try) 2>&5
73782 ac_status=$?
73783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73784 (exit $ac_status); }; }; then
73785 eval "$as_ac_var=yes"
73786 else
73787 echo "$as_me: failed program was:" >&5
73788 sed 's/^/| /' conftest.$ac_ext >&5
73790 eval "$as_ac_var=no"
73792 rm -f conftest.err conftest.$ac_objext \
73793 conftest$ac_exeext conftest.$ac_ext
73795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73797 if test `eval echo '${'$as_ac_var'}'` = yes; then
73798 cat >>confdefs.h <<_ACEOF
73799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73800 _ACEOF
73803 done
73811 echo "$as_me:$LINENO: checking for strtof declaration" >&5
73812 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
73813 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
73814 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
73815 echo $ECHO_N "(cached) $ECHO_C" >&6
73816 else
73820 ac_ext=cc
73821 ac_cpp='$CXXCPP $CPPFLAGS'
73822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73826 cat >conftest.$ac_ext <<_ACEOF
73827 /* confdefs.h. */
73828 _ACEOF
73829 cat confdefs.h >>conftest.$ac_ext
73830 cat >>conftest.$ac_ext <<_ACEOF
73831 /* end confdefs.h. */
73832 #include <stdlib.h>
73834 main ()
73836 strtof(0, 0);
73838 return 0;
73840 _ACEOF
73841 rm -f conftest.$ac_objext
73842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73843 (eval $ac_compile) 2>conftest.er1
73844 ac_status=$?
73845 grep -v '^ *+' conftest.er1 >conftest.err
73846 rm -f conftest.er1
73847 cat conftest.err >&5
73848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73849 (exit $ac_status); } &&
73850 { ac_try='test -z "$ac_cxx_werror_flag"
73851 || test ! -s conftest.err'
73852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73853 (eval $ac_try) 2>&5
73854 ac_status=$?
73855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73856 (exit $ac_status); }; } &&
73857 { ac_try='test -s conftest.$ac_objext'
73858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73859 (eval $ac_try) 2>&5
73860 ac_status=$?
73861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73862 (exit $ac_status); }; }; then
73863 glibcxx_cv_func_strtof_use=yes
73864 else
73865 echo "$as_me: failed program was:" >&5
73866 sed 's/^/| /' conftest.$ac_ext >&5
73868 glibcxx_cv_func_strtof_use=no
73870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73871 ac_ext=c
73872 ac_cpp='$CPP $CPPFLAGS'
73873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73881 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
73882 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
73883 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
73885 for ac_func in strtof
73887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73888 echo "$as_me:$LINENO: checking for $ac_func" >&5
73889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73890 if eval "test \"\${$as_ac_var+set}\" = set"; then
73891 echo $ECHO_N "(cached) $ECHO_C" >&6
73892 else
73893 if test x$gcc_no_link = xyes; then
73894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73896 { (exit 1); exit 1; }; }
73898 cat >conftest.$ac_ext <<_ACEOF
73899 /* confdefs.h. */
73900 _ACEOF
73901 cat confdefs.h >>conftest.$ac_ext
73902 cat >>conftest.$ac_ext <<_ACEOF
73903 /* end confdefs.h. */
73904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73906 #define $ac_func innocuous_$ac_func
73908 /* System header to define __stub macros and hopefully few prototypes,
73909 which can conflict with char $ac_func (); below.
73910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73911 <limits.h> exists even on freestanding compilers. */
73913 #ifdef __STDC__
73914 # include <limits.h>
73915 #else
73916 # include <assert.h>
73917 #endif
73919 #undef $ac_func
73921 /* Override any gcc2 internal prototype to avoid an error. */
73922 #ifdef __cplusplus
73923 extern "C"
73925 #endif
73926 /* We use char because int might match the return type of a gcc2
73927 builtin and then its argument prototype would still apply. */
73928 char $ac_func ();
73929 /* The GNU C library defines this for functions which it implements
73930 to always fail with ENOSYS. Some functions are actually named
73931 something starting with __ and the normal name is an alias. */
73932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73933 choke me
73934 #else
73935 char (*f) () = $ac_func;
73936 #endif
73937 #ifdef __cplusplus
73939 #endif
73942 main ()
73944 return f != $ac_func;
73946 return 0;
73948 _ACEOF
73949 rm -f conftest.$ac_objext conftest$ac_exeext
73950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73951 (eval $ac_link) 2>conftest.er1
73952 ac_status=$?
73953 grep -v '^ *+' conftest.er1 >conftest.err
73954 rm -f conftest.er1
73955 cat conftest.err >&5
73956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73957 (exit $ac_status); } &&
73958 { ac_try='test -z "$ac_c_werror_flag"
73959 || test ! -s conftest.err'
73960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73961 (eval $ac_try) 2>&5
73962 ac_status=$?
73963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73964 (exit $ac_status); }; } &&
73965 { ac_try='test -s conftest$ac_exeext'
73966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73967 (eval $ac_try) 2>&5
73968 ac_status=$?
73969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73970 (exit $ac_status); }; }; then
73971 eval "$as_ac_var=yes"
73972 else
73973 echo "$as_me: failed program was:" >&5
73974 sed 's/^/| /' conftest.$ac_ext >&5
73976 eval "$as_ac_var=no"
73978 rm -f conftest.err conftest.$ac_objext \
73979 conftest$ac_exeext conftest.$ac_ext
73981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73983 if test `eval echo '${'$as_ac_var'}'` = yes; then
73984 cat >>confdefs.h <<_ACEOF
73985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73986 _ACEOF
73989 done
73997 CXXFLAGS="$ac_save_CXXFLAGS"
74000 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
74001 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
74002 if test "${glibcxx_cv_S_ISREG+set}" = set; then
74003 echo $ECHO_N "(cached) $ECHO_C" >&6
74004 else
74006 if test x$gcc_no_link = xyes; then
74007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74009 { (exit 1); exit 1; }; }
74011 cat >conftest.$ac_ext <<_ACEOF
74012 /* confdefs.h. */
74013 _ACEOF
74014 cat confdefs.h >>conftest.$ac_ext
74015 cat >>conftest.$ac_ext <<_ACEOF
74016 /* end confdefs.h. */
74017 #include <sys/stat.h>
74019 main ()
74021 struct stat buffer;
74022 fstat(0, &buffer);
74023 S_ISREG(buffer.st_mode);
74025 return 0;
74027 _ACEOF
74028 rm -f conftest.$ac_objext conftest$ac_exeext
74029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74030 (eval $ac_link) 2>conftest.er1
74031 ac_status=$?
74032 grep -v '^ *+' conftest.er1 >conftest.err
74033 rm -f conftest.er1
74034 cat conftest.err >&5
74035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74036 (exit $ac_status); } &&
74037 { ac_try='test -z "$ac_c_werror_flag"
74038 || test ! -s conftest.err'
74039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74040 (eval $ac_try) 2>&5
74041 ac_status=$?
74042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74043 (exit $ac_status); }; } &&
74044 { ac_try='test -s conftest$ac_exeext'
74045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74046 (eval $ac_try) 2>&5
74047 ac_status=$?
74048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74049 (exit $ac_status); }; }; then
74050 glibcxx_cv_S_ISREG=yes
74051 else
74052 echo "$as_me: failed program was:" >&5
74053 sed 's/^/| /' conftest.$ac_ext >&5
74055 glibcxx_cv_S_ISREG=no
74057 rm -f conftest.err conftest.$ac_objext \
74058 conftest$ac_exeext conftest.$ac_ext
74062 if test "${glibcxx_cv_S_IFREG+set}" = set; then
74063 echo $ECHO_N "(cached) $ECHO_C" >&6
74064 else
74066 if test x$gcc_no_link = xyes; then
74067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74069 { (exit 1); exit 1; }; }
74071 cat >conftest.$ac_ext <<_ACEOF
74072 /* confdefs.h. */
74073 _ACEOF
74074 cat confdefs.h >>conftest.$ac_ext
74075 cat >>conftest.$ac_ext <<_ACEOF
74076 /* end confdefs.h. */
74077 #include <sys/stat.h>
74079 main ()
74081 struct stat buffer;
74082 fstat(0, &buffer);
74083 S_IFREG & buffer.st_mode;
74085 return 0;
74087 _ACEOF
74088 rm -f conftest.$ac_objext conftest$ac_exeext
74089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74090 (eval $ac_link) 2>conftest.er1
74091 ac_status=$?
74092 grep -v '^ *+' conftest.er1 >conftest.err
74093 rm -f conftest.er1
74094 cat conftest.err >&5
74095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74096 (exit $ac_status); } &&
74097 { ac_try='test -z "$ac_c_werror_flag"
74098 || test ! -s conftest.err'
74099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74100 (eval $ac_try) 2>&5
74101 ac_status=$?
74102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74103 (exit $ac_status); }; } &&
74104 { ac_try='test -s conftest$ac_exeext'
74105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74106 (eval $ac_try) 2>&5
74107 ac_status=$?
74108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74109 (exit $ac_status); }; }; then
74110 glibcxx_cv_S_IFREG=yes
74111 else
74112 echo "$as_me: failed program was:" >&5
74113 sed 's/^/| /' conftest.$ac_ext >&5
74115 glibcxx_cv_S_IFREG=no
74117 rm -f conftest.err conftest.$ac_objext \
74118 conftest$ac_exeext conftest.$ac_ext
74122 res=no
74123 if test $glibcxx_cv_S_ISREG = yes; then
74125 cat >>confdefs.h <<\_ACEOF
74126 #define HAVE_S_ISREG 1
74127 _ACEOF
74129 res=S_ISREG
74130 elif test $glibcxx_cv_S_IFREG = yes; then
74132 cat >>confdefs.h <<\_ACEOF
74133 #define HAVE_S_IFREG 1
74134 _ACEOF
74136 res=S_IFREG
74138 echo "$as_me:$LINENO: result: $res" >&5
74139 echo "${ECHO_T}$res" >&6
74141 cat >>confdefs.h <<\_ACEOF
74142 #define HAVE_WRITEV 1
74143 _ACEOF
74147 *-freebsd*)
74164 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
74165 machine/endian.h machine/param.h sys/machine.h sys/types.h \
74166 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
74167 sys/time.h unistd.h
74169 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
74170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74171 echo "$as_me:$LINENO: checking for $ac_header" >&5
74172 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
74173 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74174 echo $ECHO_N "(cached) $ECHO_C" >&6
74176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
74177 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
74178 else
74179 # Is the header compilable?
74180 echo "$as_me:$LINENO: checking $ac_header usability" >&5
74181 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
74182 cat >conftest.$ac_ext <<_ACEOF
74183 /* confdefs.h. */
74184 _ACEOF
74185 cat confdefs.h >>conftest.$ac_ext
74186 cat >>conftest.$ac_ext <<_ACEOF
74187 /* end confdefs.h. */
74188 $ac_includes_default
74189 #include <$ac_header>
74190 _ACEOF
74191 rm -f conftest.$ac_objext
74192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74193 (eval $ac_compile) 2>conftest.er1
74194 ac_status=$?
74195 grep -v '^ *+' conftest.er1 >conftest.err
74196 rm -f conftest.er1
74197 cat conftest.err >&5
74198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74199 (exit $ac_status); } &&
74200 { ac_try='test -z "$ac_c_werror_flag"
74201 || test ! -s conftest.err'
74202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74203 (eval $ac_try) 2>&5
74204 ac_status=$?
74205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74206 (exit $ac_status); }; } &&
74207 { ac_try='test -s conftest.$ac_objext'
74208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74209 (eval $ac_try) 2>&5
74210 ac_status=$?
74211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74212 (exit $ac_status); }; }; then
74213 ac_header_compiler=yes
74214 else
74215 echo "$as_me: failed program was:" >&5
74216 sed 's/^/| /' conftest.$ac_ext >&5
74218 ac_header_compiler=no
74220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74221 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74222 echo "${ECHO_T}$ac_header_compiler" >&6
74224 # Is the header present?
74225 echo "$as_me:$LINENO: checking $ac_header presence" >&5
74226 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
74227 cat >conftest.$ac_ext <<_ACEOF
74228 /* confdefs.h. */
74229 _ACEOF
74230 cat confdefs.h >>conftest.$ac_ext
74231 cat >>conftest.$ac_ext <<_ACEOF
74232 /* end confdefs.h. */
74233 #include <$ac_header>
74234 _ACEOF
74235 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74236 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74237 ac_status=$?
74238 grep -v '^ *+' conftest.er1 >conftest.err
74239 rm -f conftest.er1
74240 cat conftest.err >&5
74241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74242 (exit $ac_status); } >/dev/null; then
74243 if test -s conftest.err; then
74244 ac_cpp_err=$ac_c_preproc_warn_flag
74245 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74246 else
74247 ac_cpp_err=
74249 else
74250 ac_cpp_err=yes
74252 if test -z "$ac_cpp_err"; then
74253 ac_header_preproc=yes
74254 else
74255 echo "$as_me: failed program was:" >&5
74256 sed 's/^/| /' conftest.$ac_ext >&5
74258 ac_header_preproc=no
74260 rm -f conftest.err conftest.$ac_ext
74261 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74262 echo "${ECHO_T}$ac_header_preproc" >&6
74264 # So? What about this header?
74265 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74266 yes:no: )
74267 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
74268 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
74269 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
74270 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
74271 ac_header_preproc=yes
74273 no:yes:* )
74274 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
74275 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
74276 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
74277 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
74278 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
74279 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
74280 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
74281 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
74282 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
74283 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
74284 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
74285 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
74287 cat <<\_ASBOX
74288 ## ----------------------------------------- ##
74289 ## Report this to the package-unused lists. ##
74290 ## ----------------------------------------- ##
74291 _ASBOX
74293 sed "s/^/$as_me: WARNING: /" >&2
74295 esac
74296 echo "$as_me:$LINENO: checking for $ac_header" >&5
74297 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
74298 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74299 echo $ECHO_N "(cached) $ECHO_C" >&6
74300 else
74301 eval "$as_ac_Header=\$ac_header_preproc"
74303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
74304 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
74307 if test `eval echo '${'$as_ac_Header'}'` = yes; then
74308 cat >>confdefs.h <<_ACEOF
74309 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
74310 _ACEOF
74314 done
74316 SECTION_FLAGS='-ffunction-sections -fdata-sections'
74319 # If we're not using GNU ld, then there's no point in even trying these
74320 # tests. Check for that first. We should have already tested for gld
74321 # by now (in libtool), but require it now just to be safe...
74322 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
74323 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
74327 # The name set by libtool depends on the version of libtool. Shame on us
74328 # for depending on an impl detail, but c'est la vie. Older versions used
74329 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
74330 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
74331 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
74332 # set (hence we're using an older libtool), then set it.
74333 if test x${with_gnu_ld+set} != xset; then
74334 if test x${ac_cv_prog_gnu_ld+set} != xset; then
74335 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
74336 with_gnu_ld=no
74337 else
74338 with_gnu_ld=$ac_cv_prog_gnu_ld
74342 # Start by getting the version number. I think the libtool test already
74343 # does some of this, but throws away the result.
74345 ldver=`$LD --version 2>/dev/null | head -1 | \
74346 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
74348 glibcxx_gnu_ld_version=`echo $ldver | \
74349 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
74351 # Set --gc-sections.
74352 if test "$with_gnu_ld" = "notbroken"; then
74353 # GNU ld it is! Joy and bunny rabbits!
74355 # All these tests are for C++; save the language and the compiler flags.
74356 # Need to do this so that g++ won't try to link in libstdc++
74357 ac_test_CFLAGS="${CFLAGS+set}"
74358 ac_save_CFLAGS="$CFLAGS"
74359 CFLAGS='-x c++ -Wl,--gc-sections'
74361 # Check for -Wl,--gc-sections
74362 # XXX This test is broken at the moment, as symbols required for linking
74363 # are now in libsupc++ (not built yet). In addition, this test has
74364 # cored on solaris in the past. In addition, --gc-sections doesn't
74365 # really work at the moment (keeps on discarding used sections, first
74366 # .eh_frame and now some of the glibc sections for iconv).
74367 # Bzzzzt. Thanks for playing, maybe next time.
74368 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
74369 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
74370 if test "$cross_compiling" = yes; then
74371 ac_sectionLDflags=yes
74372 else
74373 cat >conftest.$ac_ext <<_ACEOF
74374 /* confdefs.h. */
74375 _ACEOF
74376 cat confdefs.h >>conftest.$ac_ext
74377 cat >>conftest.$ac_ext <<_ACEOF
74378 /* end confdefs.h. */
74380 int main(void)
74382 try { throw 1; }
74383 catch (...) { };
74384 return 0;
74387 _ACEOF
74388 rm -f conftest$ac_exeext
74389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74390 (eval $ac_link) 2>&5
74391 ac_status=$?
74392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74393 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
74394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74395 (eval $ac_try) 2>&5
74396 ac_status=$?
74397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74398 (exit $ac_status); }; }; then
74399 ac_sectionLDflags=yes
74400 else
74401 echo "$as_me: program exited with status $ac_status" >&5
74402 echo "$as_me: failed program was:" >&5
74403 sed 's/^/| /' conftest.$ac_ext >&5
74405 ( exit $ac_status )
74406 ac_sectionLDflags=no
74408 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
74410 if test "$ac_test_CFLAGS" = set; then
74411 CFLAGS="$ac_save_CFLAGS"
74412 else
74413 # this is the suspicious part
74414 CFLAGS=''
74416 if test "$ac_sectionLDflags" = "yes"; then
74417 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
74419 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
74420 echo "${ECHO_T}$ac_sectionLDflags" >&6
74423 # Set linker optimization flags.
74424 if test x"$with_gnu_ld" = x"yes"; then
74425 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
74433 echo "$as_me:$LINENO: checking for main in -lm" >&5
74434 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
74435 if test "${ac_cv_lib_m_main+set}" = set; then
74436 echo $ECHO_N "(cached) $ECHO_C" >&6
74437 else
74438 ac_check_lib_save_LIBS=$LIBS
74439 LIBS="-lm $LIBS"
74440 if test x$gcc_no_link = xyes; then
74441 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74443 { (exit 1); exit 1; }; }
74445 cat >conftest.$ac_ext <<_ACEOF
74446 /* confdefs.h. */
74447 _ACEOF
74448 cat confdefs.h >>conftest.$ac_ext
74449 cat >>conftest.$ac_ext <<_ACEOF
74450 /* end confdefs.h. */
74454 main ()
74456 main ();
74458 return 0;
74460 _ACEOF
74461 rm -f conftest.$ac_objext conftest$ac_exeext
74462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74463 (eval $ac_link) 2>conftest.er1
74464 ac_status=$?
74465 grep -v '^ *+' conftest.er1 >conftest.err
74466 rm -f conftest.er1
74467 cat conftest.err >&5
74468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74469 (exit $ac_status); } &&
74470 { ac_try='test -z "$ac_c_werror_flag"
74471 || test ! -s conftest.err'
74472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74473 (eval $ac_try) 2>&5
74474 ac_status=$?
74475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74476 (exit $ac_status); }; } &&
74477 { ac_try='test -s conftest$ac_exeext'
74478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74479 (eval $ac_try) 2>&5
74480 ac_status=$?
74481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74482 (exit $ac_status); }; }; then
74483 ac_cv_lib_m_main=yes
74484 else
74485 echo "$as_me: failed program was:" >&5
74486 sed 's/^/| /' conftest.$ac_ext >&5
74488 ac_cv_lib_m_main=no
74490 rm -f conftest.err conftest.$ac_objext \
74491 conftest$ac_exeext conftest.$ac_ext
74492 LIBS=$ac_check_lib_save_LIBS
74494 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
74495 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
74496 if test $ac_cv_lib_m_main = yes; then
74497 cat >>confdefs.h <<_ACEOF
74498 #define HAVE_LIBM 1
74499 _ACEOF
74501 LIBS="-lm $LIBS"
74506 for ac_func in copysignf
74508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74509 echo "$as_me:$LINENO: checking for $ac_func" >&5
74510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74511 if eval "test \"\${$as_ac_var+set}\" = set"; then
74512 echo $ECHO_N "(cached) $ECHO_C" >&6
74513 else
74514 if test x$gcc_no_link = xyes; then
74515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74517 { (exit 1); exit 1; }; }
74519 cat >conftest.$ac_ext <<_ACEOF
74520 /* confdefs.h. */
74521 _ACEOF
74522 cat confdefs.h >>conftest.$ac_ext
74523 cat >>conftest.$ac_ext <<_ACEOF
74524 /* end confdefs.h. */
74525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74527 #define $ac_func innocuous_$ac_func
74529 /* System header to define __stub macros and hopefully few prototypes,
74530 which can conflict with char $ac_func (); below.
74531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74532 <limits.h> exists even on freestanding compilers. */
74534 #ifdef __STDC__
74535 # include <limits.h>
74536 #else
74537 # include <assert.h>
74538 #endif
74540 #undef $ac_func
74542 /* Override any gcc2 internal prototype to avoid an error. */
74543 #ifdef __cplusplus
74544 extern "C"
74546 #endif
74547 /* We use char because int might match the return type of a gcc2
74548 builtin and then its argument prototype would still apply. */
74549 char $ac_func ();
74550 /* The GNU C library defines this for functions which it implements
74551 to always fail with ENOSYS. Some functions are actually named
74552 something starting with __ and the normal name is an alias. */
74553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74554 choke me
74555 #else
74556 char (*f) () = $ac_func;
74557 #endif
74558 #ifdef __cplusplus
74560 #endif
74563 main ()
74565 return f != $ac_func;
74567 return 0;
74569 _ACEOF
74570 rm -f conftest.$ac_objext conftest$ac_exeext
74571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74572 (eval $ac_link) 2>conftest.er1
74573 ac_status=$?
74574 grep -v '^ *+' conftest.er1 >conftest.err
74575 rm -f conftest.er1
74576 cat conftest.err >&5
74577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74578 (exit $ac_status); } &&
74579 { ac_try='test -z "$ac_c_werror_flag"
74580 || test ! -s conftest.err'
74581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74582 (eval $ac_try) 2>&5
74583 ac_status=$?
74584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74585 (exit $ac_status); }; } &&
74586 { ac_try='test -s conftest$ac_exeext'
74587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74588 (eval $ac_try) 2>&5
74589 ac_status=$?
74590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74591 (exit $ac_status); }; }; then
74592 eval "$as_ac_var=yes"
74593 else
74594 echo "$as_me: failed program was:" >&5
74595 sed 's/^/| /' conftest.$ac_ext >&5
74597 eval "$as_ac_var=no"
74599 rm -f conftest.err conftest.$ac_objext \
74600 conftest$ac_exeext conftest.$ac_ext
74602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74604 if test `eval echo '${'$as_ac_var'}'` = yes; then
74605 cat >>confdefs.h <<_ACEOF
74606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74607 _ACEOF
74609 else
74610 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
74612 done
74616 for ac_func in __signbit
74618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74619 echo "$as_me:$LINENO: checking for $ac_func" >&5
74620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74621 if eval "test \"\${$as_ac_var+set}\" = set"; then
74622 echo $ECHO_N "(cached) $ECHO_C" >&6
74623 else
74624 if test x$gcc_no_link = xyes; then
74625 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74627 { (exit 1); exit 1; }; }
74629 cat >conftest.$ac_ext <<_ACEOF
74630 /* confdefs.h. */
74631 _ACEOF
74632 cat confdefs.h >>conftest.$ac_ext
74633 cat >>conftest.$ac_ext <<_ACEOF
74634 /* end confdefs.h. */
74635 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74636 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74637 #define $ac_func innocuous_$ac_func
74639 /* System header to define __stub macros and hopefully few prototypes,
74640 which can conflict with char $ac_func (); below.
74641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74642 <limits.h> exists even on freestanding compilers. */
74644 #ifdef __STDC__
74645 # include <limits.h>
74646 #else
74647 # include <assert.h>
74648 #endif
74650 #undef $ac_func
74652 /* Override any gcc2 internal prototype to avoid an error. */
74653 #ifdef __cplusplus
74654 extern "C"
74656 #endif
74657 /* We use char because int might match the return type of a gcc2
74658 builtin and then its argument prototype would still apply. */
74659 char $ac_func ();
74660 /* The GNU C library defines this for functions which it implements
74661 to always fail with ENOSYS. Some functions are actually named
74662 something starting with __ and the normal name is an alias. */
74663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74664 choke me
74665 #else
74666 char (*f) () = $ac_func;
74667 #endif
74668 #ifdef __cplusplus
74670 #endif
74673 main ()
74675 return f != $ac_func;
74677 return 0;
74679 _ACEOF
74680 rm -f conftest.$ac_objext conftest$ac_exeext
74681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74682 (eval $ac_link) 2>conftest.er1
74683 ac_status=$?
74684 grep -v '^ *+' conftest.er1 >conftest.err
74685 rm -f conftest.er1
74686 cat conftest.err >&5
74687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74688 (exit $ac_status); } &&
74689 { ac_try='test -z "$ac_c_werror_flag"
74690 || test ! -s conftest.err'
74691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74692 (eval $ac_try) 2>&5
74693 ac_status=$?
74694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74695 (exit $ac_status); }; } &&
74696 { ac_try='test -s conftest$ac_exeext'
74697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74698 (eval $ac_try) 2>&5
74699 ac_status=$?
74700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74701 (exit $ac_status); }; }; then
74702 eval "$as_ac_var=yes"
74703 else
74704 echo "$as_me: failed program was:" >&5
74705 sed 's/^/| /' conftest.$ac_ext >&5
74707 eval "$as_ac_var=no"
74709 rm -f conftest.err conftest.$ac_objext \
74710 conftest$ac_exeext conftest.$ac_ext
74712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74713 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74714 if test `eval echo '${'$as_ac_var'}'` = yes; then
74715 cat >>confdefs.h <<_ACEOF
74716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74717 _ACEOF
74719 else
74720 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
74722 done
74726 for ac_func in __signbitf
74728 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74729 echo "$as_me:$LINENO: checking for $ac_func" >&5
74730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74731 if eval "test \"\${$as_ac_var+set}\" = set"; then
74732 echo $ECHO_N "(cached) $ECHO_C" >&6
74733 else
74734 if test x$gcc_no_link = xyes; then
74735 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74737 { (exit 1); exit 1; }; }
74739 cat >conftest.$ac_ext <<_ACEOF
74740 /* confdefs.h. */
74741 _ACEOF
74742 cat confdefs.h >>conftest.$ac_ext
74743 cat >>conftest.$ac_ext <<_ACEOF
74744 /* end confdefs.h. */
74745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74747 #define $ac_func innocuous_$ac_func
74749 /* System header to define __stub macros and hopefully few prototypes,
74750 which can conflict with char $ac_func (); below.
74751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74752 <limits.h> exists even on freestanding compilers. */
74754 #ifdef __STDC__
74755 # include <limits.h>
74756 #else
74757 # include <assert.h>
74758 #endif
74760 #undef $ac_func
74762 /* Override any gcc2 internal prototype to avoid an error. */
74763 #ifdef __cplusplus
74764 extern "C"
74766 #endif
74767 /* We use char because int might match the return type of a gcc2
74768 builtin and then its argument prototype would still apply. */
74769 char $ac_func ();
74770 /* The GNU C library defines this for functions which it implements
74771 to always fail with ENOSYS. Some functions are actually named
74772 something starting with __ and the normal name is an alias. */
74773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74774 choke me
74775 #else
74776 char (*f) () = $ac_func;
74777 #endif
74778 #ifdef __cplusplus
74780 #endif
74783 main ()
74785 return f != $ac_func;
74787 return 0;
74789 _ACEOF
74790 rm -f conftest.$ac_objext conftest$ac_exeext
74791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74792 (eval $ac_link) 2>conftest.er1
74793 ac_status=$?
74794 grep -v '^ *+' conftest.er1 >conftest.err
74795 rm -f conftest.er1
74796 cat conftest.err >&5
74797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74798 (exit $ac_status); } &&
74799 { ac_try='test -z "$ac_c_werror_flag"
74800 || test ! -s conftest.err'
74801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74802 (eval $ac_try) 2>&5
74803 ac_status=$?
74804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74805 (exit $ac_status); }; } &&
74806 { ac_try='test -s conftest$ac_exeext'
74807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74808 (eval $ac_try) 2>&5
74809 ac_status=$?
74810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74811 (exit $ac_status); }; }; then
74812 eval "$as_ac_var=yes"
74813 else
74814 echo "$as_me: failed program was:" >&5
74815 sed 's/^/| /' conftest.$ac_ext >&5
74817 eval "$as_ac_var=no"
74819 rm -f conftest.err conftest.$ac_objext \
74820 conftest$ac_exeext conftest.$ac_ext
74822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74824 if test `eval echo '${'$as_ac_var'}'` = yes; then
74825 cat >>confdefs.h <<_ACEOF
74826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74827 _ACEOF
74829 else
74830 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
74832 done
74835 if test x$ac_cv_func_copysignl = x"yes"; then
74837 for ac_func in __signbitl
74839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74840 echo "$as_me:$LINENO: checking for $ac_func" >&5
74841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74842 if eval "test \"\${$as_ac_var+set}\" = set"; then
74843 echo $ECHO_N "(cached) $ECHO_C" >&6
74844 else
74845 if test x$gcc_no_link = xyes; then
74846 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74848 { (exit 1); exit 1; }; }
74850 cat >conftest.$ac_ext <<_ACEOF
74851 /* confdefs.h. */
74852 _ACEOF
74853 cat confdefs.h >>conftest.$ac_ext
74854 cat >>conftest.$ac_ext <<_ACEOF
74855 /* end confdefs.h. */
74856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74858 #define $ac_func innocuous_$ac_func
74860 /* System header to define __stub macros and hopefully few prototypes,
74861 which can conflict with char $ac_func (); below.
74862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74863 <limits.h> exists even on freestanding compilers. */
74865 #ifdef __STDC__
74866 # include <limits.h>
74867 #else
74868 # include <assert.h>
74869 #endif
74871 #undef $ac_func
74873 /* Override any gcc2 internal prototype to avoid an error. */
74874 #ifdef __cplusplus
74875 extern "C"
74877 #endif
74878 /* We use char because int might match the return type of a gcc2
74879 builtin and then its argument prototype would still apply. */
74880 char $ac_func ();
74881 /* The GNU C library defines this for functions which it implements
74882 to always fail with ENOSYS. Some functions are actually named
74883 something starting with __ and the normal name is an alias. */
74884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74885 choke me
74886 #else
74887 char (*f) () = $ac_func;
74888 #endif
74889 #ifdef __cplusplus
74891 #endif
74894 main ()
74896 return f != $ac_func;
74898 return 0;
74900 _ACEOF
74901 rm -f conftest.$ac_objext conftest$ac_exeext
74902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74903 (eval $ac_link) 2>conftest.er1
74904 ac_status=$?
74905 grep -v '^ *+' conftest.er1 >conftest.err
74906 rm -f conftest.er1
74907 cat conftest.err >&5
74908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74909 (exit $ac_status); } &&
74910 { ac_try='test -z "$ac_c_werror_flag"
74911 || test ! -s conftest.err'
74912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74913 (eval $ac_try) 2>&5
74914 ac_status=$?
74915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74916 (exit $ac_status); }; } &&
74917 { ac_try='test -s conftest$ac_exeext'
74918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74919 (eval $ac_try) 2>&5
74920 ac_status=$?
74921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74922 (exit $ac_status); }; }; then
74923 eval "$as_ac_var=yes"
74924 else
74925 echo "$as_me: failed program was:" >&5
74926 sed 's/^/| /' conftest.$ac_ext >&5
74928 eval "$as_ac_var=no"
74930 rm -f conftest.err conftest.$ac_objext \
74931 conftest$ac_exeext conftest.$ac_ext
74933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74935 if test `eval echo '${'$as_ac_var'}'` = yes; then
74936 cat >>confdefs.h <<_ACEOF
74937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74938 _ACEOF
74940 else
74941 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
74943 done
74947 # Used in libmath/Makefile.am.
74948 if test -n "$LIBMATHOBJS"; then
74949 need_libmath=yes
74955 enable_iconv=no
74956 # Only continue checking if the ISO C99 headers exist and support is on.
74957 if test x"$enable_wchar_t" = xyes; then
74959 # Use iconv for wchar_t to char conversions. As such, check for
74960 # X/Open Portability Guide, version 2 features (XPG2).
74961 if test "${ac_cv_header_iconv_h+set}" = set; then
74962 echo "$as_me:$LINENO: checking for iconv.h" >&5
74963 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74964 if test "${ac_cv_header_iconv_h+set}" = set; then
74965 echo $ECHO_N "(cached) $ECHO_C" >&6
74967 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74968 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74969 else
74970 # Is the header compilable?
74971 echo "$as_me:$LINENO: checking iconv.h usability" >&5
74972 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
74973 cat >conftest.$ac_ext <<_ACEOF
74974 /* confdefs.h. */
74975 _ACEOF
74976 cat confdefs.h >>conftest.$ac_ext
74977 cat >>conftest.$ac_ext <<_ACEOF
74978 /* end confdefs.h. */
74979 $ac_includes_default
74980 #include <iconv.h>
74981 _ACEOF
74982 rm -f conftest.$ac_objext
74983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74984 (eval $ac_compile) 2>conftest.er1
74985 ac_status=$?
74986 grep -v '^ *+' conftest.er1 >conftest.err
74987 rm -f conftest.er1
74988 cat conftest.err >&5
74989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74990 (exit $ac_status); } &&
74991 { ac_try='test -z "$ac_c_werror_flag"
74992 || test ! -s conftest.err'
74993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74994 (eval $ac_try) 2>&5
74995 ac_status=$?
74996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74997 (exit $ac_status); }; } &&
74998 { ac_try='test -s conftest.$ac_objext'
74999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75000 (eval $ac_try) 2>&5
75001 ac_status=$?
75002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75003 (exit $ac_status); }; }; then
75004 ac_header_compiler=yes
75005 else
75006 echo "$as_me: failed program was:" >&5
75007 sed 's/^/| /' conftest.$ac_ext >&5
75009 ac_header_compiler=no
75011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75012 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75013 echo "${ECHO_T}$ac_header_compiler" >&6
75015 # Is the header present?
75016 echo "$as_me:$LINENO: checking iconv.h presence" >&5
75017 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
75018 cat >conftest.$ac_ext <<_ACEOF
75019 /* confdefs.h. */
75020 _ACEOF
75021 cat confdefs.h >>conftest.$ac_ext
75022 cat >>conftest.$ac_ext <<_ACEOF
75023 /* end confdefs.h. */
75024 #include <iconv.h>
75025 _ACEOF
75026 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75027 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75028 ac_status=$?
75029 grep -v '^ *+' conftest.er1 >conftest.err
75030 rm -f conftest.er1
75031 cat conftest.err >&5
75032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75033 (exit $ac_status); } >/dev/null; then
75034 if test -s conftest.err; then
75035 ac_cpp_err=$ac_c_preproc_warn_flag
75036 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75037 else
75038 ac_cpp_err=
75040 else
75041 ac_cpp_err=yes
75043 if test -z "$ac_cpp_err"; then
75044 ac_header_preproc=yes
75045 else
75046 echo "$as_me: failed program was:" >&5
75047 sed 's/^/| /' conftest.$ac_ext >&5
75049 ac_header_preproc=no
75051 rm -f conftest.err conftest.$ac_ext
75052 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75053 echo "${ECHO_T}$ac_header_preproc" >&6
75055 # So? What about this header?
75056 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75057 yes:no: )
75058 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
75059 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
75060 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
75061 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
75062 ac_header_preproc=yes
75064 no:yes:* )
75065 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
75066 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
75067 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
75068 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
75069 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
75070 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
75071 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
75072 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
75073 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
75074 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
75075 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
75076 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
75078 cat <<\_ASBOX
75079 ## ----------------------------------------- ##
75080 ## Report this to the package-unused lists. ##
75081 ## ----------------------------------------- ##
75082 _ASBOX
75084 sed "s/^/$as_me: WARNING: /" >&2
75086 esac
75087 echo "$as_me:$LINENO: checking for iconv.h" >&5
75088 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
75089 if test "${ac_cv_header_iconv_h+set}" = set; then
75090 echo $ECHO_N "(cached) $ECHO_C" >&6
75091 else
75092 ac_cv_header_iconv_h=$ac_header_preproc
75094 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
75095 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
75098 if test $ac_cv_header_iconv_h = yes; then
75099 ac_has_iconv_h=yes
75100 else
75101 ac_has_iconv_h=no
75105 if test "${ac_cv_header_langinfo_h+set}" = set; then
75106 echo "$as_me:$LINENO: checking for langinfo.h" >&5
75107 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
75108 if test "${ac_cv_header_langinfo_h+set}" = set; then
75109 echo $ECHO_N "(cached) $ECHO_C" >&6
75111 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
75112 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
75113 else
75114 # Is the header compilable?
75115 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
75116 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
75117 cat >conftest.$ac_ext <<_ACEOF
75118 /* confdefs.h. */
75119 _ACEOF
75120 cat confdefs.h >>conftest.$ac_ext
75121 cat >>conftest.$ac_ext <<_ACEOF
75122 /* end confdefs.h. */
75123 $ac_includes_default
75124 #include <langinfo.h>
75125 _ACEOF
75126 rm -f conftest.$ac_objext
75127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75128 (eval $ac_compile) 2>conftest.er1
75129 ac_status=$?
75130 grep -v '^ *+' conftest.er1 >conftest.err
75131 rm -f conftest.er1
75132 cat conftest.err >&5
75133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75134 (exit $ac_status); } &&
75135 { ac_try='test -z "$ac_c_werror_flag"
75136 || test ! -s conftest.err'
75137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75138 (eval $ac_try) 2>&5
75139 ac_status=$?
75140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75141 (exit $ac_status); }; } &&
75142 { ac_try='test -s conftest.$ac_objext'
75143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75144 (eval $ac_try) 2>&5
75145 ac_status=$?
75146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75147 (exit $ac_status); }; }; then
75148 ac_header_compiler=yes
75149 else
75150 echo "$as_me: failed program was:" >&5
75151 sed 's/^/| /' conftest.$ac_ext >&5
75153 ac_header_compiler=no
75155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75156 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75157 echo "${ECHO_T}$ac_header_compiler" >&6
75159 # Is the header present?
75160 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
75161 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
75162 cat >conftest.$ac_ext <<_ACEOF
75163 /* confdefs.h. */
75164 _ACEOF
75165 cat confdefs.h >>conftest.$ac_ext
75166 cat >>conftest.$ac_ext <<_ACEOF
75167 /* end confdefs.h. */
75168 #include <langinfo.h>
75169 _ACEOF
75170 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75171 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75172 ac_status=$?
75173 grep -v '^ *+' conftest.er1 >conftest.err
75174 rm -f conftest.er1
75175 cat conftest.err >&5
75176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75177 (exit $ac_status); } >/dev/null; then
75178 if test -s conftest.err; then
75179 ac_cpp_err=$ac_c_preproc_warn_flag
75180 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75181 else
75182 ac_cpp_err=
75184 else
75185 ac_cpp_err=yes
75187 if test -z "$ac_cpp_err"; then
75188 ac_header_preproc=yes
75189 else
75190 echo "$as_me: failed program was:" >&5
75191 sed 's/^/| /' conftest.$ac_ext >&5
75193 ac_header_preproc=no
75195 rm -f conftest.err conftest.$ac_ext
75196 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75197 echo "${ECHO_T}$ac_header_preproc" >&6
75199 # So? What about this header?
75200 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75201 yes:no: )
75202 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
75203 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
75204 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
75205 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
75206 ac_header_preproc=yes
75208 no:yes:* )
75209 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
75210 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
75211 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
75212 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
75213 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
75214 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
75215 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
75216 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
75217 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
75218 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
75219 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
75220 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
75222 cat <<\_ASBOX
75223 ## ----------------------------------------- ##
75224 ## Report this to the package-unused lists. ##
75225 ## ----------------------------------------- ##
75226 _ASBOX
75228 sed "s/^/$as_me: WARNING: /" >&2
75230 esac
75231 echo "$as_me:$LINENO: checking for langinfo.h" >&5
75232 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
75233 if test "${ac_cv_header_langinfo_h+set}" = set; then
75234 echo $ECHO_N "(cached) $ECHO_C" >&6
75235 else
75236 ac_cv_header_langinfo_h=$ac_header_preproc
75238 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
75239 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
75242 if test $ac_cv_header_langinfo_h = yes; then
75243 ac_has_langinfo_h=yes
75244 else
75245 ac_has_langinfo_h=no
75250 # Check for existence of libiconv.a providing XPG2 wchar_t support.
75251 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
75252 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
75253 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
75254 echo $ECHO_N "(cached) $ECHO_C" >&6
75255 else
75256 ac_check_lib_save_LIBS=$LIBS
75257 LIBS="-liconv $LIBS"
75258 if test x$gcc_no_link = xyes; then
75259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75261 { (exit 1); exit 1; }; }
75263 cat >conftest.$ac_ext <<_ACEOF
75264 /* confdefs.h. */
75265 _ACEOF
75266 cat confdefs.h >>conftest.$ac_ext
75267 cat >>conftest.$ac_ext <<_ACEOF
75268 /* end confdefs.h. */
75270 /* Override any gcc2 internal prototype to avoid an error. */
75271 #ifdef __cplusplus
75272 extern "C"
75273 #endif
75274 /* We use char because int might match the return type of a gcc2
75275 builtin and then its argument prototype would still apply. */
75276 char iconv ();
75278 main ()
75280 iconv ();
75282 return 0;
75284 _ACEOF
75285 rm -f conftest.$ac_objext conftest$ac_exeext
75286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75287 (eval $ac_link) 2>conftest.er1
75288 ac_status=$?
75289 grep -v '^ *+' conftest.er1 >conftest.err
75290 rm -f conftest.er1
75291 cat conftest.err >&5
75292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75293 (exit $ac_status); } &&
75294 { ac_try='test -z "$ac_c_werror_flag"
75295 || test ! -s conftest.err'
75296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75297 (eval $ac_try) 2>&5
75298 ac_status=$?
75299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75300 (exit $ac_status); }; } &&
75301 { ac_try='test -s conftest$ac_exeext'
75302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75303 (eval $ac_try) 2>&5
75304 ac_status=$?
75305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75306 (exit $ac_status); }; }; then
75307 ac_cv_lib_iconv_iconv=yes
75308 else
75309 echo "$as_me: failed program was:" >&5
75310 sed 's/^/| /' conftest.$ac_ext >&5
75312 ac_cv_lib_iconv_iconv=no
75314 rm -f conftest.err conftest.$ac_objext \
75315 conftest$ac_exeext conftest.$ac_ext
75316 LIBS=$ac_check_lib_save_LIBS
75318 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
75319 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
75320 if test $ac_cv_lib_iconv_iconv = yes; then
75321 LIBICONV="-liconv"
75324 ac_save_LIBS="$LIBS"
75325 LIBS="$LIBS $LIBICONV"
75332 for ac_func in iconv_open iconv_close iconv nl_langinfo
75334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75335 echo "$as_me:$LINENO: checking for $ac_func" >&5
75336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75337 if eval "test \"\${$as_ac_var+set}\" = set"; then
75338 echo $ECHO_N "(cached) $ECHO_C" >&6
75339 else
75340 if test x$gcc_no_link = xyes; then
75341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75343 { (exit 1); exit 1; }; }
75345 cat >conftest.$ac_ext <<_ACEOF
75346 /* confdefs.h. */
75347 _ACEOF
75348 cat confdefs.h >>conftest.$ac_ext
75349 cat >>conftest.$ac_ext <<_ACEOF
75350 /* end confdefs.h. */
75351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75353 #define $ac_func innocuous_$ac_func
75355 /* System header to define __stub macros and hopefully few prototypes,
75356 which can conflict with char $ac_func (); below.
75357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75358 <limits.h> exists even on freestanding compilers. */
75360 #ifdef __STDC__
75361 # include <limits.h>
75362 #else
75363 # include <assert.h>
75364 #endif
75366 #undef $ac_func
75368 /* Override any gcc2 internal prototype to avoid an error. */
75369 #ifdef __cplusplus
75370 extern "C"
75372 #endif
75373 /* We use char because int might match the return type of a gcc2
75374 builtin and then its argument prototype would still apply. */
75375 char $ac_func ();
75376 /* The GNU C library defines this for functions which it implements
75377 to always fail with ENOSYS. Some functions are actually named
75378 something starting with __ and the normal name is an alias. */
75379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75380 choke me
75381 #else
75382 char (*f) () = $ac_func;
75383 #endif
75384 #ifdef __cplusplus
75386 #endif
75389 main ()
75391 return f != $ac_func;
75393 return 0;
75395 _ACEOF
75396 rm -f conftest.$ac_objext conftest$ac_exeext
75397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75398 (eval $ac_link) 2>conftest.er1
75399 ac_status=$?
75400 grep -v '^ *+' conftest.er1 >conftest.err
75401 rm -f conftest.er1
75402 cat conftest.err >&5
75403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75404 (exit $ac_status); } &&
75405 { ac_try='test -z "$ac_c_werror_flag"
75406 || test ! -s conftest.err'
75407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75408 (eval $ac_try) 2>&5
75409 ac_status=$?
75410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75411 (exit $ac_status); }; } &&
75412 { ac_try='test -s conftest$ac_exeext'
75413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75414 (eval $ac_try) 2>&5
75415 ac_status=$?
75416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75417 (exit $ac_status); }; }; then
75418 eval "$as_ac_var=yes"
75419 else
75420 echo "$as_me: failed program was:" >&5
75421 sed 's/^/| /' conftest.$ac_ext >&5
75423 eval "$as_ac_var=no"
75425 rm -f conftest.err conftest.$ac_objext \
75426 conftest$ac_exeext conftest.$ac_ext
75428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75430 if test `eval echo '${'$as_ac_var'}'` = yes; then
75431 cat >>confdefs.h <<_ACEOF
75432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75433 _ACEOF
75434 ac_XPG2funcs=yes
75435 else
75436 ac_XPG2funcs=no
75438 done
75441 LIBS="$ac_save_LIBS"
75443 if test x"$ac_has_iconv_h" = xyes &&
75444 test x"$ac_has_langinfo_h" = xyes &&
75445 test x"$ac_XPG2funcs" = xyes;
75446 then
75448 cat >>confdefs.h <<\_ACEOF
75449 #define _GLIBCXX_USE_ICONV 1
75450 _ACEOF
75452 enable_iconv=yes
75455 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
75456 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
75457 echo "$as_me:$LINENO: result: $enable_iconv" >&5
75458 echo "${ECHO_T}$enable_iconv" >&6
75460 cat >>confdefs.h <<\_ACEOF
75461 #define HAVE_LC_MESSAGES 1
75462 _ACEOF
75464 cat >>confdefs.h <<\_ACEOF
75465 #define HAVE_GETPAGESIZE 1
75466 _ACEOF
75468 cat >>confdefs.h <<\_ACEOF
75469 #define HAVE_SETENV 1
75470 _ACEOF
75472 cat >>confdefs.h <<\_ACEOF
75473 #define HAVE_SIGSETJMP 1
75474 _ACEOF
75476 cat >>confdefs.h <<\_ACEOF
75477 #define HAVE_COPYSIGN 1
75478 _ACEOF
75480 cat >>confdefs.h <<\_ACEOF
75481 #define HAVE_COPYSIGNF 1
75482 _ACEOF
75484 cat >>confdefs.h <<\_ACEOF
75485 #define HAVE_FINITEF 1
75486 _ACEOF
75488 cat >>confdefs.h <<\_ACEOF
75489 #define HAVE_FINITE 1
75490 _ACEOF
75492 cat >>confdefs.h <<\_ACEOF
75493 #define HAVE_FREXPF 1
75494 _ACEOF
75496 cat >>confdefs.h <<\_ACEOF
75497 #define HAVE_HYPOT 1
75498 _ACEOF
75500 cat >>confdefs.h <<\_ACEOF
75501 #define HAVE_HYPOTF 1
75502 _ACEOF
75504 cat >>confdefs.h <<\_ACEOF
75505 #define HAVE_ISINF 1
75506 _ACEOF
75508 cat >>confdefs.h <<\_ACEOF
75509 #define HAVE_ISNAN 1
75510 _ACEOF
75512 cat >>confdefs.h <<\_ACEOF
75513 #define HAVE_ISNANF 1
75514 _ACEOF
75517 cat >>confdefs.h <<\_ACEOF
75518 #define HAVE_MMAP 1
75519 _ACEOF
75521 cat >>confdefs.h <<\_ACEOF
75522 #define HAVE_ACOSF 1
75523 _ACEOF
75525 cat >>confdefs.h <<\_ACEOF
75526 #define HAVE_ASINF 1
75527 _ACEOF
75529 cat >>confdefs.h <<\_ACEOF
75530 #define HAVE_ATAN2F 1
75531 _ACEOF
75533 cat >>confdefs.h <<\_ACEOF
75534 #define HAVE_ATANF 1
75535 _ACEOF
75537 cat >>confdefs.h <<\_ACEOF
75538 #define HAVE_CEILF 1
75539 _ACEOF
75541 cat >>confdefs.h <<\_ACEOF
75542 #define HAVE_COPYSIGN 1
75543 _ACEOF
75545 cat >>confdefs.h <<\_ACEOF
75546 #define HAVE_COPYSIGNF 1
75547 _ACEOF
75549 cat >>confdefs.h <<\_ACEOF
75550 #define HAVE_COSF 1
75551 _ACEOF
75553 cat >>confdefs.h <<\_ACEOF
75554 #define HAVE_COSHF 1
75555 _ACEOF
75557 cat >>confdefs.h <<\_ACEOF
75558 #define HAVE_EXPF 1
75559 _ACEOF
75561 cat >>confdefs.h <<\_ACEOF
75562 #define HAVE_FABSF 1
75563 _ACEOF
75565 cat >>confdefs.h <<\_ACEOF
75566 #define HAVE_FLOORF 1
75567 _ACEOF
75569 cat >>confdefs.h <<\_ACEOF
75570 #define HAVE_FMODF 1
75571 _ACEOF
75573 cat >>confdefs.h <<\_ACEOF
75574 #define HAVE_FREXPF 1
75575 _ACEOF
75577 cat >>confdefs.h <<\_ACEOF
75578 #define HAVE_LDEXPF 1
75579 _ACEOF
75581 cat >>confdefs.h <<\_ACEOF
75582 #define HAVE_LOG10F 1
75583 _ACEOF
75585 cat >>confdefs.h <<\_ACEOF
75586 #define HAVE_LOGF 1
75587 _ACEOF
75589 cat >>confdefs.h <<\_ACEOF
75590 #define HAVE_MODFF 1
75591 _ACEOF
75593 cat >>confdefs.h <<\_ACEOF
75594 #define HAVE_POWF 1
75595 _ACEOF
75597 cat >>confdefs.h <<\_ACEOF
75598 #define HAVE_SINF 1
75599 _ACEOF
75601 cat >>confdefs.h <<\_ACEOF
75602 #define HAVE_SINHF 1
75603 _ACEOF
75605 cat >>confdefs.h <<\_ACEOF
75606 #define HAVE_SQRTF 1
75607 _ACEOF
75609 cat >>confdefs.h <<\_ACEOF
75610 #define HAVE_TANF 1
75611 _ACEOF
75613 cat >>confdefs.h <<\_ACEOF
75614 #define HAVE_TANHF 1
75615 _ACEOF
75617 if test x"long_double_math_on_this_cpu" = x"yes"; then
75618 cat >>confdefs.h <<\_ACEOF
75619 #define HAVE_FINITEL 1
75620 _ACEOF
75622 cat >>confdefs.h <<\_ACEOF
75623 #define HAVE_ISINFL 1
75624 _ACEOF
75626 cat >>confdefs.h <<\_ACEOF
75627 #define HAVE_ISNANL 1
75628 _ACEOF
75632 *-hpux*)
75645 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
75646 machine/endian.h machine/param.h sys/machine.h sys/types.h \
75647 fp.h locale.h float.h inttypes.h
75649 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75650 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75651 echo "$as_me:$LINENO: checking for $ac_header" >&5
75652 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75653 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75654 echo $ECHO_N "(cached) $ECHO_C" >&6
75656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75658 else
75659 # Is the header compilable?
75660 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75661 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75662 cat >conftest.$ac_ext <<_ACEOF
75663 /* confdefs.h. */
75664 _ACEOF
75665 cat confdefs.h >>conftest.$ac_ext
75666 cat >>conftest.$ac_ext <<_ACEOF
75667 /* end confdefs.h. */
75668 $ac_includes_default
75669 #include <$ac_header>
75670 _ACEOF
75671 rm -f conftest.$ac_objext
75672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75673 (eval $ac_compile) 2>conftest.er1
75674 ac_status=$?
75675 grep -v '^ *+' conftest.er1 >conftest.err
75676 rm -f conftest.er1
75677 cat conftest.err >&5
75678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75679 (exit $ac_status); } &&
75680 { ac_try='test -z "$ac_c_werror_flag"
75681 || test ! -s conftest.err'
75682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75683 (eval $ac_try) 2>&5
75684 ac_status=$?
75685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75686 (exit $ac_status); }; } &&
75687 { ac_try='test -s conftest.$ac_objext'
75688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75689 (eval $ac_try) 2>&5
75690 ac_status=$?
75691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75692 (exit $ac_status); }; }; then
75693 ac_header_compiler=yes
75694 else
75695 echo "$as_me: failed program was:" >&5
75696 sed 's/^/| /' conftest.$ac_ext >&5
75698 ac_header_compiler=no
75700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75701 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75702 echo "${ECHO_T}$ac_header_compiler" >&6
75704 # Is the header present?
75705 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75706 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75707 cat >conftest.$ac_ext <<_ACEOF
75708 /* confdefs.h. */
75709 _ACEOF
75710 cat confdefs.h >>conftest.$ac_ext
75711 cat >>conftest.$ac_ext <<_ACEOF
75712 /* end confdefs.h. */
75713 #include <$ac_header>
75714 _ACEOF
75715 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75716 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75717 ac_status=$?
75718 grep -v '^ *+' conftest.er1 >conftest.err
75719 rm -f conftest.er1
75720 cat conftest.err >&5
75721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75722 (exit $ac_status); } >/dev/null; then
75723 if test -s conftest.err; then
75724 ac_cpp_err=$ac_c_preproc_warn_flag
75725 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75726 else
75727 ac_cpp_err=
75729 else
75730 ac_cpp_err=yes
75732 if test -z "$ac_cpp_err"; then
75733 ac_header_preproc=yes
75734 else
75735 echo "$as_me: failed program was:" >&5
75736 sed 's/^/| /' conftest.$ac_ext >&5
75738 ac_header_preproc=no
75740 rm -f conftest.err conftest.$ac_ext
75741 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75742 echo "${ECHO_T}$ac_header_preproc" >&6
75744 # So? What about this header?
75745 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75746 yes:no: )
75747 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75748 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75749 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75750 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75751 ac_header_preproc=yes
75753 no:yes:* )
75754 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75755 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75756 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
75757 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
75758 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75759 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75760 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
75761 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
75762 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75763 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75764 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75765 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75767 cat <<\_ASBOX
75768 ## ----------------------------------------- ##
75769 ## Report this to the package-unused lists. ##
75770 ## ----------------------------------------- ##
75771 _ASBOX
75773 sed "s/^/$as_me: WARNING: /" >&2
75775 esac
75776 echo "$as_me:$LINENO: checking for $ac_header" >&5
75777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75779 echo $ECHO_N "(cached) $ECHO_C" >&6
75780 else
75781 eval "$as_ac_Header=\$ac_header_preproc"
75783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75784 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75787 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75788 cat >>confdefs.h <<_ACEOF
75789 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75790 _ACEOF
75794 done
75796 SECTION_FLAGS='-ffunction-sections -fdata-sections'
75799 # If we're not using GNU ld, then there's no point in even trying these
75800 # tests. Check for that first. We should have already tested for gld
75801 # by now (in libtool), but require it now just to be safe...
75802 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75803 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75807 # The name set by libtool depends on the version of libtool. Shame on us
75808 # for depending on an impl detail, but c'est la vie. Older versions used
75809 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75810 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75811 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
75812 # set (hence we're using an older libtool), then set it.
75813 if test x${with_gnu_ld+set} != xset; then
75814 if test x${ac_cv_prog_gnu_ld+set} != xset; then
75815 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
75816 with_gnu_ld=no
75817 else
75818 with_gnu_ld=$ac_cv_prog_gnu_ld
75822 # Start by getting the version number. I think the libtool test already
75823 # does some of this, but throws away the result.
75825 ldver=`$LD --version 2>/dev/null | head -1 | \
75826 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
75828 glibcxx_gnu_ld_version=`echo $ldver | \
75829 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75831 # Set --gc-sections.
75832 if test "$with_gnu_ld" = "notbroken"; then
75833 # GNU ld it is! Joy and bunny rabbits!
75835 # All these tests are for C++; save the language and the compiler flags.
75836 # Need to do this so that g++ won't try to link in libstdc++
75837 ac_test_CFLAGS="${CFLAGS+set}"
75838 ac_save_CFLAGS="$CFLAGS"
75839 CFLAGS='-x c++ -Wl,--gc-sections'
75841 # Check for -Wl,--gc-sections
75842 # XXX This test is broken at the moment, as symbols required for linking
75843 # are now in libsupc++ (not built yet). In addition, this test has
75844 # cored on solaris in the past. In addition, --gc-sections doesn't
75845 # really work at the moment (keeps on discarding used sections, first
75846 # .eh_frame and now some of the glibc sections for iconv).
75847 # Bzzzzt. Thanks for playing, maybe next time.
75848 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75849 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75850 if test "$cross_compiling" = yes; then
75851 ac_sectionLDflags=yes
75852 else
75853 cat >conftest.$ac_ext <<_ACEOF
75854 /* confdefs.h. */
75855 _ACEOF
75856 cat confdefs.h >>conftest.$ac_ext
75857 cat >>conftest.$ac_ext <<_ACEOF
75858 /* end confdefs.h. */
75860 int main(void)
75862 try { throw 1; }
75863 catch (...) { };
75864 return 0;
75867 _ACEOF
75868 rm -f conftest$ac_exeext
75869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75870 (eval $ac_link) 2>&5
75871 ac_status=$?
75872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75873 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
75874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75875 (eval $ac_try) 2>&5
75876 ac_status=$?
75877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75878 (exit $ac_status); }; }; then
75879 ac_sectionLDflags=yes
75880 else
75881 echo "$as_me: program exited with status $ac_status" >&5
75882 echo "$as_me: failed program was:" >&5
75883 sed 's/^/| /' conftest.$ac_ext >&5
75885 ( exit $ac_status )
75886 ac_sectionLDflags=no
75888 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
75890 if test "$ac_test_CFLAGS" = set; then
75891 CFLAGS="$ac_save_CFLAGS"
75892 else
75893 # this is the suspicious part
75894 CFLAGS=''
75896 if test "$ac_sectionLDflags" = "yes"; then
75897 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75899 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
75900 echo "${ECHO_T}$ac_sectionLDflags" >&6
75903 # Set linker optimization flags.
75904 if test x"$with_gnu_ld" = x"yes"; then
75905 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
75913 echo "$as_me:$LINENO: checking for main in -lm" >&5
75914 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
75915 if test "${ac_cv_lib_m_main+set}" = set; then
75916 echo $ECHO_N "(cached) $ECHO_C" >&6
75917 else
75918 ac_check_lib_save_LIBS=$LIBS
75919 LIBS="-lm $LIBS"
75920 if test x$gcc_no_link = xyes; then
75921 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75923 { (exit 1); exit 1; }; }
75925 cat >conftest.$ac_ext <<_ACEOF
75926 /* confdefs.h. */
75927 _ACEOF
75928 cat confdefs.h >>conftest.$ac_ext
75929 cat >>conftest.$ac_ext <<_ACEOF
75930 /* end confdefs.h. */
75934 main ()
75936 main ();
75938 return 0;
75940 _ACEOF
75941 rm -f conftest.$ac_objext conftest$ac_exeext
75942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75943 (eval $ac_link) 2>conftest.er1
75944 ac_status=$?
75945 grep -v '^ *+' conftest.er1 >conftest.err
75946 rm -f conftest.er1
75947 cat conftest.err >&5
75948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75949 (exit $ac_status); } &&
75950 { ac_try='test -z "$ac_c_werror_flag"
75951 || test ! -s conftest.err'
75952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75953 (eval $ac_try) 2>&5
75954 ac_status=$?
75955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75956 (exit $ac_status); }; } &&
75957 { ac_try='test -s conftest$ac_exeext'
75958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75959 (eval $ac_try) 2>&5
75960 ac_status=$?
75961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75962 (exit $ac_status); }; }; then
75963 ac_cv_lib_m_main=yes
75964 else
75965 echo "$as_me: failed program was:" >&5
75966 sed 's/^/| /' conftest.$ac_ext >&5
75968 ac_cv_lib_m_main=no
75970 rm -f conftest.err conftest.$ac_objext \
75971 conftest$ac_exeext conftest.$ac_ext
75972 LIBS=$ac_check_lib_save_LIBS
75974 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
75975 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
75976 if test $ac_cv_lib_m_main = yes; then
75977 cat >>confdefs.h <<_ACEOF
75978 #define HAVE_LIBM 1
75979 _ACEOF
75981 LIBS="-lm $LIBS"
75986 for ac_func in copysignf
75988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75989 echo "$as_me:$LINENO: checking for $ac_func" >&5
75990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75991 if eval "test \"\${$as_ac_var+set}\" = set"; then
75992 echo $ECHO_N "(cached) $ECHO_C" >&6
75993 else
75994 if test x$gcc_no_link = xyes; then
75995 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75997 { (exit 1); exit 1; }; }
75999 cat >conftest.$ac_ext <<_ACEOF
76000 /* confdefs.h. */
76001 _ACEOF
76002 cat confdefs.h >>conftest.$ac_ext
76003 cat >>conftest.$ac_ext <<_ACEOF
76004 /* end confdefs.h. */
76005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76007 #define $ac_func innocuous_$ac_func
76009 /* System header to define __stub macros and hopefully few prototypes,
76010 which can conflict with char $ac_func (); below.
76011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76012 <limits.h> exists even on freestanding compilers. */
76014 #ifdef __STDC__
76015 # include <limits.h>
76016 #else
76017 # include <assert.h>
76018 #endif
76020 #undef $ac_func
76022 /* Override any gcc2 internal prototype to avoid an error. */
76023 #ifdef __cplusplus
76024 extern "C"
76026 #endif
76027 /* We use char because int might match the return type of a gcc2
76028 builtin and then its argument prototype would still apply. */
76029 char $ac_func ();
76030 /* The GNU C library defines this for functions which it implements
76031 to always fail with ENOSYS. Some functions are actually named
76032 something starting with __ and the normal name is an alias. */
76033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76034 choke me
76035 #else
76036 char (*f) () = $ac_func;
76037 #endif
76038 #ifdef __cplusplus
76040 #endif
76043 main ()
76045 return f != $ac_func;
76047 return 0;
76049 _ACEOF
76050 rm -f conftest.$ac_objext conftest$ac_exeext
76051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76052 (eval $ac_link) 2>conftest.er1
76053 ac_status=$?
76054 grep -v '^ *+' conftest.er1 >conftest.err
76055 rm -f conftest.er1
76056 cat conftest.err >&5
76057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76058 (exit $ac_status); } &&
76059 { ac_try='test -z "$ac_c_werror_flag"
76060 || test ! -s conftest.err'
76061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76062 (eval $ac_try) 2>&5
76063 ac_status=$?
76064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76065 (exit $ac_status); }; } &&
76066 { ac_try='test -s conftest$ac_exeext'
76067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76068 (eval $ac_try) 2>&5
76069 ac_status=$?
76070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76071 (exit $ac_status); }; }; then
76072 eval "$as_ac_var=yes"
76073 else
76074 echo "$as_me: failed program was:" >&5
76075 sed 's/^/| /' conftest.$ac_ext >&5
76077 eval "$as_ac_var=no"
76079 rm -f conftest.err conftest.$ac_objext \
76080 conftest$ac_exeext conftest.$ac_ext
76082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76083 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76084 if test `eval echo '${'$as_ac_var'}'` = yes; then
76085 cat >>confdefs.h <<_ACEOF
76086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76087 _ACEOF
76089 else
76090 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
76092 done
76096 for ac_func in __signbit
76098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76099 echo "$as_me:$LINENO: checking for $ac_func" >&5
76100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76101 if eval "test \"\${$as_ac_var+set}\" = set"; then
76102 echo $ECHO_N "(cached) $ECHO_C" >&6
76103 else
76104 if test x$gcc_no_link = xyes; then
76105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76107 { (exit 1); exit 1; }; }
76109 cat >conftest.$ac_ext <<_ACEOF
76110 /* confdefs.h. */
76111 _ACEOF
76112 cat confdefs.h >>conftest.$ac_ext
76113 cat >>conftest.$ac_ext <<_ACEOF
76114 /* end confdefs.h. */
76115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76117 #define $ac_func innocuous_$ac_func
76119 /* System header to define __stub macros and hopefully few prototypes,
76120 which can conflict with char $ac_func (); below.
76121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76122 <limits.h> exists even on freestanding compilers. */
76124 #ifdef __STDC__
76125 # include <limits.h>
76126 #else
76127 # include <assert.h>
76128 #endif
76130 #undef $ac_func
76132 /* Override any gcc2 internal prototype to avoid an error. */
76133 #ifdef __cplusplus
76134 extern "C"
76136 #endif
76137 /* We use char because int might match the return type of a gcc2
76138 builtin and then its argument prototype would still apply. */
76139 char $ac_func ();
76140 /* The GNU C library defines this for functions which it implements
76141 to always fail with ENOSYS. Some functions are actually named
76142 something starting with __ and the normal name is an alias. */
76143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76144 choke me
76145 #else
76146 char (*f) () = $ac_func;
76147 #endif
76148 #ifdef __cplusplus
76150 #endif
76153 main ()
76155 return f != $ac_func;
76157 return 0;
76159 _ACEOF
76160 rm -f conftest.$ac_objext conftest$ac_exeext
76161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76162 (eval $ac_link) 2>conftest.er1
76163 ac_status=$?
76164 grep -v '^ *+' conftest.er1 >conftest.err
76165 rm -f conftest.er1
76166 cat conftest.err >&5
76167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76168 (exit $ac_status); } &&
76169 { ac_try='test -z "$ac_c_werror_flag"
76170 || test ! -s conftest.err'
76171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76172 (eval $ac_try) 2>&5
76173 ac_status=$?
76174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76175 (exit $ac_status); }; } &&
76176 { ac_try='test -s conftest$ac_exeext'
76177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76178 (eval $ac_try) 2>&5
76179 ac_status=$?
76180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76181 (exit $ac_status); }; }; then
76182 eval "$as_ac_var=yes"
76183 else
76184 echo "$as_me: failed program was:" >&5
76185 sed 's/^/| /' conftest.$ac_ext >&5
76187 eval "$as_ac_var=no"
76189 rm -f conftest.err conftest.$ac_objext \
76190 conftest$ac_exeext conftest.$ac_ext
76192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76194 if test `eval echo '${'$as_ac_var'}'` = yes; then
76195 cat >>confdefs.h <<_ACEOF
76196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76197 _ACEOF
76199 else
76200 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
76202 done
76206 for ac_func in __signbitf
76208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76209 echo "$as_me:$LINENO: checking for $ac_func" >&5
76210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76211 if eval "test \"\${$as_ac_var+set}\" = set"; then
76212 echo $ECHO_N "(cached) $ECHO_C" >&6
76213 else
76214 if test x$gcc_no_link = xyes; then
76215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76217 { (exit 1); exit 1; }; }
76219 cat >conftest.$ac_ext <<_ACEOF
76220 /* confdefs.h. */
76221 _ACEOF
76222 cat confdefs.h >>conftest.$ac_ext
76223 cat >>conftest.$ac_ext <<_ACEOF
76224 /* end confdefs.h. */
76225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76227 #define $ac_func innocuous_$ac_func
76229 /* System header to define __stub macros and hopefully few prototypes,
76230 which can conflict with char $ac_func (); below.
76231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76232 <limits.h> exists even on freestanding compilers. */
76234 #ifdef __STDC__
76235 # include <limits.h>
76236 #else
76237 # include <assert.h>
76238 #endif
76240 #undef $ac_func
76242 /* Override any gcc2 internal prototype to avoid an error. */
76243 #ifdef __cplusplus
76244 extern "C"
76246 #endif
76247 /* We use char because int might match the return type of a gcc2
76248 builtin and then its argument prototype would still apply. */
76249 char $ac_func ();
76250 /* The GNU C library defines this for functions which it implements
76251 to always fail with ENOSYS. Some functions are actually named
76252 something starting with __ and the normal name is an alias. */
76253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76254 choke me
76255 #else
76256 char (*f) () = $ac_func;
76257 #endif
76258 #ifdef __cplusplus
76260 #endif
76263 main ()
76265 return f != $ac_func;
76267 return 0;
76269 _ACEOF
76270 rm -f conftest.$ac_objext conftest$ac_exeext
76271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76272 (eval $ac_link) 2>conftest.er1
76273 ac_status=$?
76274 grep -v '^ *+' conftest.er1 >conftest.err
76275 rm -f conftest.er1
76276 cat conftest.err >&5
76277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76278 (exit $ac_status); } &&
76279 { ac_try='test -z "$ac_c_werror_flag"
76280 || test ! -s conftest.err'
76281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76282 (eval $ac_try) 2>&5
76283 ac_status=$?
76284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76285 (exit $ac_status); }; } &&
76286 { ac_try='test -s conftest$ac_exeext'
76287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76288 (eval $ac_try) 2>&5
76289 ac_status=$?
76290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76291 (exit $ac_status); }; }; then
76292 eval "$as_ac_var=yes"
76293 else
76294 echo "$as_me: failed program was:" >&5
76295 sed 's/^/| /' conftest.$ac_ext >&5
76297 eval "$as_ac_var=no"
76299 rm -f conftest.err conftest.$ac_objext \
76300 conftest$ac_exeext conftest.$ac_ext
76302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76304 if test `eval echo '${'$as_ac_var'}'` = yes; then
76305 cat >>confdefs.h <<_ACEOF
76306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76307 _ACEOF
76309 else
76310 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
76312 done
76315 if test x$ac_cv_func_copysignl = x"yes"; then
76317 for ac_func in __signbitl
76319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76320 echo "$as_me:$LINENO: checking for $ac_func" >&5
76321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76322 if eval "test \"\${$as_ac_var+set}\" = set"; then
76323 echo $ECHO_N "(cached) $ECHO_C" >&6
76324 else
76325 if test x$gcc_no_link = xyes; then
76326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76328 { (exit 1); exit 1; }; }
76330 cat >conftest.$ac_ext <<_ACEOF
76331 /* confdefs.h. */
76332 _ACEOF
76333 cat confdefs.h >>conftest.$ac_ext
76334 cat >>conftest.$ac_ext <<_ACEOF
76335 /* end confdefs.h. */
76336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76338 #define $ac_func innocuous_$ac_func
76340 /* System header to define __stub macros and hopefully few prototypes,
76341 which can conflict with char $ac_func (); below.
76342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76343 <limits.h> exists even on freestanding compilers. */
76345 #ifdef __STDC__
76346 # include <limits.h>
76347 #else
76348 # include <assert.h>
76349 #endif
76351 #undef $ac_func
76353 /* Override any gcc2 internal prototype to avoid an error. */
76354 #ifdef __cplusplus
76355 extern "C"
76357 #endif
76358 /* We use char because int might match the return type of a gcc2
76359 builtin and then its argument prototype would still apply. */
76360 char $ac_func ();
76361 /* The GNU C library defines this for functions which it implements
76362 to always fail with ENOSYS. Some functions are actually named
76363 something starting with __ and the normal name is an alias. */
76364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76365 choke me
76366 #else
76367 char (*f) () = $ac_func;
76368 #endif
76369 #ifdef __cplusplus
76371 #endif
76374 main ()
76376 return f != $ac_func;
76378 return 0;
76380 _ACEOF
76381 rm -f conftest.$ac_objext conftest$ac_exeext
76382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76383 (eval $ac_link) 2>conftest.er1
76384 ac_status=$?
76385 grep -v '^ *+' conftest.er1 >conftest.err
76386 rm -f conftest.er1
76387 cat conftest.err >&5
76388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76389 (exit $ac_status); } &&
76390 { ac_try='test -z "$ac_c_werror_flag"
76391 || test ! -s conftest.err'
76392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76393 (eval $ac_try) 2>&5
76394 ac_status=$?
76395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76396 (exit $ac_status); }; } &&
76397 { ac_try='test -s conftest$ac_exeext'
76398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76399 (eval $ac_try) 2>&5
76400 ac_status=$?
76401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76402 (exit $ac_status); }; }; then
76403 eval "$as_ac_var=yes"
76404 else
76405 echo "$as_me: failed program was:" >&5
76406 sed 's/^/| /' conftest.$ac_ext >&5
76408 eval "$as_ac_var=no"
76410 rm -f conftest.err conftest.$ac_objext \
76411 conftest$ac_exeext conftest.$ac_ext
76413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76415 if test `eval echo '${'$as_ac_var'}'` = yes; then
76416 cat >>confdefs.h <<_ACEOF
76417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76418 _ACEOF
76420 else
76421 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
76423 done
76427 # Used in libmath/Makefile.am.
76428 if test -n "$LIBMATHOBJS"; then
76429 need_libmath=yes
76435 enable_iconv=no
76436 # Only continue checking if the ISO C99 headers exist and support is on.
76437 if test x"$enable_wchar_t" = xyes; then
76439 # Use iconv for wchar_t to char conversions. As such, check for
76440 # X/Open Portability Guide, version 2 features (XPG2).
76441 if test "${ac_cv_header_iconv_h+set}" = set; then
76442 echo "$as_me:$LINENO: checking for iconv.h" >&5
76443 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76444 if test "${ac_cv_header_iconv_h+set}" = set; then
76445 echo $ECHO_N "(cached) $ECHO_C" >&6
76447 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76448 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76449 else
76450 # Is the header compilable?
76451 echo "$as_me:$LINENO: checking iconv.h usability" >&5
76452 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
76453 cat >conftest.$ac_ext <<_ACEOF
76454 /* confdefs.h. */
76455 _ACEOF
76456 cat confdefs.h >>conftest.$ac_ext
76457 cat >>conftest.$ac_ext <<_ACEOF
76458 /* end confdefs.h. */
76459 $ac_includes_default
76460 #include <iconv.h>
76461 _ACEOF
76462 rm -f conftest.$ac_objext
76463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76464 (eval $ac_compile) 2>conftest.er1
76465 ac_status=$?
76466 grep -v '^ *+' conftest.er1 >conftest.err
76467 rm -f conftest.er1
76468 cat conftest.err >&5
76469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76470 (exit $ac_status); } &&
76471 { ac_try='test -z "$ac_c_werror_flag"
76472 || test ! -s conftest.err'
76473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76474 (eval $ac_try) 2>&5
76475 ac_status=$?
76476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76477 (exit $ac_status); }; } &&
76478 { ac_try='test -s conftest.$ac_objext'
76479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76480 (eval $ac_try) 2>&5
76481 ac_status=$?
76482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76483 (exit $ac_status); }; }; then
76484 ac_header_compiler=yes
76485 else
76486 echo "$as_me: failed program was:" >&5
76487 sed 's/^/| /' conftest.$ac_ext >&5
76489 ac_header_compiler=no
76491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76492 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76493 echo "${ECHO_T}$ac_header_compiler" >&6
76495 # Is the header present?
76496 echo "$as_me:$LINENO: checking iconv.h presence" >&5
76497 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
76498 cat >conftest.$ac_ext <<_ACEOF
76499 /* confdefs.h. */
76500 _ACEOF
76501 cat confdefs.h >>conftest.$ac_ext
76502 cat >>conftest.$ac_ext <<_ACEOF
76503 /* end confdefs.h. */
76504 #include <iconv.h>
76505 _ACEOF
76506 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76507 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76508 ac_status=$?
76509 grep -v '^ *+' conftest.er1 >conftest.err
76510 rm -f conftest.er1
76511 cat conftest.err >&5
76512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76513 (exit $ac_status); } >/dev/null; then
76514 if test -s conftest.err; then
76515 ac_cpp_err=$ac_c_preproc_warn_flag
76516 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76517 else
76518 ac_cpp_err=
76520 else
76521 ac_cpp_err=yes
76523 if test -z "$ac_cpp_err"; then
76524 ac_header_preproc=yes
76525 else
76526 echo "$as_me: failed program was:" >&5
76527 sed 's/^/| /' conftest.$ac_ext >&5
76529 ac_header_preproc=no
76531 rm -f conftest.err conftest.$ac_ext
76532 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76533 echo "${ECHO_T}$ac_header_preproc" >&6
76535 # So? What about this header?
76536 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76537 yes:no: )
76538 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
76539 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76540 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
76541 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
76542 ac_header_preproc=yes
76544 no:yes:* )
76545 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
76546 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
76547 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
76548 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
76549 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
76550 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
76551 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
76552 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
76553 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
76554 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
76555 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
76556 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
76558 cat <<\_ASBOX
76559 ## ----------------------------------------- ##
76560 ## Report this to the package-unused lists. ##
76561 ## ----------------------------------------- ##
76562 _ASBOX
76564 sed "s/^/$as_me: WARNING: /" >&2
76566 esac
76567 echo "$as_me:$LINENO: checking for iconv.h" >&5
76568 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76569 if test "${ac_cv_header_iconv_h+set}" = set; then
76570 echo $ECHO_N "(cached) $ECHO_C" >&6
76571 else
76572 ac_cv_header_iconv_h=$ac_header_preproc
76574 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76575 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76578 if test $ac_cv_header_iconv_h = yes; then
76579 ac_has_iconv_h=yes
76580 else
76581 ac_has_iconv_h=no
76585 if test "${ac_cv_header_langinfo_h+set}" = set; then
76586 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76587 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76588 if test "${ac_cv_header_langinfo_h+set}" = set; then
76589 echo $ECHO_N "(cached) $ECHO_C" >&6
76591 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76592 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76593 else
76594 # Is the header compilable?
76595 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
76596 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
76597 cat >conftest.$ac_ext <<_ACEOF
76598 /* confdefs.h. */
76599 _ACEOF
76600 cat confdefs.h >>conftest.$ac_ext
76601 cat >>conftest.$ac_ext <<_ACEOF
76602 /* end confdefs.h. */
76603 $ac_includes_default
76604 #include <langinfo.h>
76605 _ACEOF
76606 rm -f conftest.$ac_objext
76607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76608 (eval $ac_compile) 2>conftest.er1
76609 ac_status=$?
76610 grep -v '^ *+' conftest.er1 >conftest.err
76611 rm -f conftest.er1
76612 cat conftest.err >&5
76613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76614 (exit $ac_status); } &&
76615 { ac_try='test -z "$ac_c_werror_flag"
76616 || test ! -s conftest.err'
76617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76618 (eval $ac_try) 2>&5
76619 ac_status=$?
76620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76621 (exit $ac_status); }; } &&
76622 { ac_try='test -s conftest.$ac_objext'
76623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76624 (eval $ac_try) 2>&5
76625 ac_status=$?
76626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76627 (exit $ac_status); }; }; then
76628 ac_header_compiler=yes
76629 else
76630 echo "$as_me: failed program was:" >&5
76631 sed 's/^/| /' conftest.$ac_ext >&5
76633 ac_header_compiler=no
76635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76636 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76637 echo "${ECHO_T}$ac_header_compiler" >&6
76639 # Is the header present?
76640 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
76641 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
76642 cat >conftest.$ac_ext <<_ACEOF
76643 /* confdefs.h. */
76644 _ACEOF
76645 cat confdefs.h >>conftest.$ac_ext
76646 cat >>conftest.$ac_ext <<_ACEOF
76647 /* end confdefs.h. */
76648 #include <langinfo.h>
76649 _ACEOF
76650 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76651 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76652 ac_status=$?
76653 grep -v '^ *+' conftest.er1 >conftest.err
76654 rm -f conftest.er1
76655 cat conftest.err >&5
76656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76657 (exit $ac_status); } >/dev/null; then
76658 if test -s conftest.err; then
76659 ac_cpp_err=$ac_c_preproc_warn_flag
76660 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76661 else
76662 ac_cpp_err=
76664 else
76665 ac_cpp_err=yes
76667 if test -z "$ac_cpp_err"; then
76668 ac_header_preproc=yes
76669 else
76670 echo "$as_me: failed program was:" >&5
76671 sed 's/^/| /' conftest.$ac_ext >&5
76673 ac_header_preproc=no
76675 rm -f conftest.err conftest.$ac_ext
76676 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76677 echo "${ECHO_T}$ac_header_preproc" >&6
76679 # So? What about this header?
76680 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76681 yes:no: )
76682 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
76683 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76684 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
76685 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
76686 ac_header_preproc=yes
76688 no:yes:* )
76689 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
76690 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
76691 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
76692 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
76693 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
76694 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
76695 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
76696 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
76697 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
76698 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
76699 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
76700 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
76702 cat <<\_ASBOX
76703 ## ----------------------------------------- ##
76704 ## Report this to the package-unused lists. ##
76705 ## ----------------------------------------- ##
76706 _ASBOX
76708 sed "s/^/$as_me: WARNING: /" >&2
76710 esac
76711 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76712 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76713 if test "${ac_cv_header_langinfo_h+set}" = set; then
76714 echo $ECHO_N "(cached) $ECHO_C" >&6
76715 else
76716 ac_cv_header_langinfo_h=$ac_header_preproc
76718 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76719 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76722 if test $ac_cv_header_langinfo_h = yes; then
76723 ac_has_langinfo_h=yes
76724 else
76725 ac_has_langinfo_h=no
76730 # Check for existence of libiconv.a providing XPG2 wchar_t support.
76731 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
76732 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
76733 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
76734 echo $ECHO_N "(cached) $ECHO_C" >&6
76735 else
76736 ac_check_lib_save_LIBS=$LIBS
76737 LIBS="-liconv $LIBS"
76738 if test x$gcc_no_link = xyes; then
76739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76741 { (exit 1); exit 1; }; }
76743 cat >conftest.$ac_ext <<_ACEOF
76744 /* confdefs.h. */
76745 _ACEOF
76746 cat confdefs.h >>conftest.$ac_ext
76747 cat >>conftest.$ac_ext <<_ACEOF
76748 /* end confdefs.h. */
76750 /* Override any gcc2 internal prototype to avoid an error. */
76751 #ifdef __cplusplus
76752 extern "C"
76753 #endif
76754 /* We use char because int might match the return type of a gcc2
76755 builtin and then its argument prototype would still apply. */
76756 char iconv ();
76758 main ()
76760 iconv ();
76762 return 0;
76764 _ACEOF
76765 rm -f conftest.$ac_objext conftest$ac_exeext
76766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76767 (eval $ac_link) 2>conftest.er1
76768 ac_status=$?
76769 grep -v '^ *+' conftest.er1 >conftest.err
76770 rm -f conftest.er1
76771 cat conftest.err >&5
76772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76773 (exit $ac_status); } &&
76774 { ac_try='test -z "$ac_c_werror_flag"
76775 || test ! -s conftest.err'
76776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76777 (eval $ac_try) 2>&5
76778 ac_status=$?
76779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76780 (exit $ac_status); }; } &&
76781 { ac_try='test -s conftest$ac_exeext'
76782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76783 (eval $ac_try) 2>&5
76784 ac_status=$?
76785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76786 (exit $ac_status); }; }; then
76787 ac_cv_lib_iconv_iconv=yes
76788 else
76789 echo "$as_me: failed program was:" >&5
76790 sed 's/^/| /' conftest.$ac_ext >&5
76792 ac_cv_lib_iconv_iconv=no
76794 rm -f conftest.err conftest.$ac_objext \
76795 conftest$ac_exeext conftest.$ac_ext
76796 LIBS=$ac_check_lib_save_LIBS
76798 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
76799 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
76800 if test $ac_cv_lib_iconv_iconv = yes; then
76801 LIBICONV="-liconv"
76804 ac_save_LIBS="$LIBS"
76805 LIBS="$LIBS $LIBICONV"
76812 for ac_func in iconv_open iconv_close iconv nl_langinfo
76814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76815 echo "$as_me:$LINENO: checking for $ac_func" >&5
76816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76817 if eval "test \"\${$as_ac_var+set}\" = set"; then
76818 echo $ECHO_N "(cached) $ECHO_C" >&6
76819 else
76820 if test x$gcc_no_link = xyes; then
76821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76823 { (exit 1); exit 1; }; }
76825 cat >conftest.$ac_ext <<_ACEOF
76826 /* confdefs.h. */
76827 _ACEOF
76828 cat confdefs.h >>conftest.$ac_ext
76829 cat >>conftest.$ac_ext <<_ACEOF
76830 /* end confdefs.h. */
76831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76833 #define $ac_func innocuous_$ac_func
76835 /* System header to define __stub macros and hopefully few prototypes,
76836 which can conflict with char $ac_func (); below.
76837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76838 <limits.h> exists even on freestanding compilers. */
76840 #ifdef __STDC__
76841 # include <limits.h>
76842 #else
76843 # include <assert.h>
76844 #endif
76846 #undef $ac_func
76848 /* Override any gcc2 internal prototype to avoid an error. */
76849 #ifdef __cplusplus
76850 extern "C"
76852 #endif
76853 /* We use char because int might match the return type of a gcc2
76854 builtin and then its argument prototype would still apply. */
76855 char $ac_func ();
76856 /* The GNU C library defines this for functions which it implements
76857 to always fail with ENOSYS. Some functions are actually named
76858 something starting with __ and the normal name is an alias. */
76859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76860 choke me
76861 #else
76862 char (*f) () = $ac_func;
76863 #endif
76864 #ifdef __cplusplus
76866 #endif
76869 main ()
76871 return f != $ac_func;
76873 return 0;
76875 _ACEOF
76876 rm -f conftest.$ac_objext conftest$ac_exeext
76877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76878 (eval $ac_link) 2>conftest.er1
76879 ac_status=$?
76880 grep -v '^ *+' conftest.er1 >conftest.err
76881 rm -f conftest.er1
76882 cat conftest.err >&5
76883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76884 (exit $ac_status); } &&
76885 { ac_try='test -z "$ac_c_werror_flag"
76886 || test ! -s conftest.err'
76887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76888 (eval $ac_try) 2>&5
76889 ac_status=$?
76890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76891 (exit $ac_status); }; } &&
76892 { ac_try='test -s conftest$ac_exeext'
76893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76894 (eval $ac_try) 2>&5
76895 ac_status=$?
76896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76897 (exit $ac_status); }; }; then
76898 eval "$as_ac_var=yes"
76899 else
76900 echo "$as_me: failed program was:" >&5
76901 sed 's/^/| /' conftest.$ac_ext >&5
76903 eval "$as_ac_var=no"
76905 rm -f conftest.err conftest.$ac_objext \
76906 conftest$ac_exeext conftest.$ac_ext
76908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76910 if test `eval echo '${'$as_ac_var'}'` = yes; then
76911 cat >>confdefs.h <<_ACEOF
76912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76913 _ACEOF
76914 ac_XPG2funcs=yes
76915 else
76916 ac_XPG2funcs=no
76918 done
76921 LIBS="$ac_save_LIBS"
76923 if test x"$ac_has_iconv_h" = xyes &&
76924 test x"$ac_has_langinfo_h" = xyes &&
76925 test x"$ac_XPG2funcs" = xyes;
76926 then
76928 cat >>confdefs.h <<\_ACEOF
76929 #define _GLIBCXX_USE_ICONV 1
76930 _ACEOF
76932 enable_iconv=yes
76935 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
76936 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
76937 echo "$as_me:$LINENO: result: $enable_iconv" >&5
76938 echo "${ECHO_T}$enable_iconv" >&6
76940 cat >>confdefs.h <<\_ACEOF
76941 #define HAVE_COPYSIGN 1
76942 _ACEOF
76944 cat >>confdefs.h <<\_ACEOF
76945 #define HAVE_COPYSIGNF 1
76946 _ACEOF
76948 cat >>confdefs.h <<\_ACEOF
76949 #define HAVE_FREXPF 1
76950 _ACEOF
76952 cat >>confdefs.h <<\_ACEOF
76953 #define HAVE_HYPOT 1
76954 _ACEOF
76956 case "$target" in
76957 *-hpux10*)
76958 cat >>confdefs.h <<\_ACEOF
76959 #define HAVE_FINITE 1
76960 _ACEOF
76962 cat >>confdefs.h <<\_ACEOF
76963 #define HAVE_FINITEF 1
76964 _ACEOF
76966 cat >>confdefs.h <<\_ACEOF
76967 #define HAVE_ISINF 1
76968 _ACEOF
76970 cat >>confdefs.h <<\_ACEOF
76971 #define HAVE_ISINFF 1
76972 _ACEOF
76974 cat >>confdefs.h <<\_ACEOF
76975 #define HAVE_ISNAN 1
76976 _ACEOF
76978 cat >>confdefs.h <<\_ACEOF
76979 #define HAVE_ISNANF 1
76980 _ACEOF
76983 esac
76985 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
77001 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
77002 machine/endian.h machine/param.h sys/machine.h sys/types.h \
77003 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
77005 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77006 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77007 echo "$as_me:$LINENO: checking for $ac_header" >&5
77008 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77009 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77010 echo $ECHO_N "(cached) $ECHO_C" >&6
77012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77013 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77014 else
77015 # Is the header compilable?
77016 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77017 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77018 cat >conftest.$ac_ext <<_ACEOF
77019 /* confdefs.h. */
77020 _ACEOF
77021 cat confdefs.h >>conftest.$ac_ext
77022 cat >>conftest.$ac_ext <<_ACEOF
77023 /* end confdefs.h. */
77024 $ac_includes_default
77025 #include <$ac_header>
77026 _ACEOF
77027 rm -f conftest.$ac_objext
77028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77029 (eval $ac_compile) 2>conftest.er1
77030 ac_status=$?
77031 grep -v '^ *+' conftest.er1 >conftest.err
77032 rm -f conftest.er1
77033 cat conftest.err >&5
77034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77035 (exit $ac_status); } &&
77036 { ac_try='test -z "$ac_c_werror_flag"
77037 || test ! -s conftest.err'
77038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77039 (eval $ac_try) 2>&5
77040 ac_status=$?
77041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77042 (exit $ac_status); }; } &&
77043 { ac_try='test -s conftest.$ac_objext'
77044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77045 (eval $ac_try) 2>&5
77046 ac_status=$?
77047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77048 (exit $ac_status); }; }; then
77049 ac_header_compiler=yes
77050 else
77051 echo "$as_me: failed program was:" >&5
77052 sed 's/^/| /' conftest.$ac_ext >&5
77054 ac_header_compiler=no
77056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77057 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77058 echo "${ECHO_T}$ac_header_compiler" >&6
77060 # Is the header present?
77061 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77062 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77063 cat >conftest.$ac_ext <<_ACEOF
77064 /* confdefs.h. */
77065 _ACEOF
77066 cat confdefs.h >>conftest.$ac_ext
77067 cat >>conftest.$ac_ext <<_ACEOF
77068 /* end confdefs.h. */
77069 #include <$ac_header>
77070 _ACEOF
77071 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77072 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77073 ac_status=$?
77074 grep -v '^ *+' conftest.er1 >conftest.err
77075 rm -f conftest.er1
77076 cat conftest.err >&5
77077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77078 (exit $ac_status); } >/dev/null; then
77079 if test -s conftest.err; then
77080 ac_cpp_err=$ac_c_preproc_warn_flag
77081 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77082 else
77083 ac_cpp_err=
77085 else
77086 ac_cpp_err=yes
77088 if test -z "$ac_cpp_err"; then
77089 ac_header_preproc=yes
77090 else
77091 echo "$as_me: failed program was:" >&5
77092 sed 's/^/| /' conftest.$ac_ext >&5
77094 ac_header_preproc=no
77096 rm -f conftest.err conftest.$ac_ext
77097 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77098 echo "${ECHO_T}$ac_header_preproc" >&6
77100 # So? What about this header?
77101 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77102 yes:no: )
77103 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77104 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77105 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77106 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77107 ac_header_preproc=yes
77109 no:yes:* )
77110 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77111 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77112 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
77113 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
77114 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77115 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77116 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
77117 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
77118 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77119 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77120 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77121 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77123 cat <<\_ASBOX
77124 ## ----------------------------------------- ##
77125 ## Report this to the package-unused lists. ##
77126 ## ----------------------------------------- ##
77127 _ASBOX
77129 sed "s/^/$as_me: WARNING: /" >&2
77131 esac
77132 echo "$as_me:$LINENO: checking for $ac_header" >&5
77133 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77134 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77135 echo $ECHO_N "(cached) $ECHO_C" >&6
77136 else
77137 eval "$as_ac_Header=\$ac_header_preproc"
77139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77140 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77143 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77144 cat >>confdefs.h <<_ACEOF
77145 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77146 _ACEOF
77150 done
77152 SECTION_FLAGS='-ffunction-sections -fdata-sections'
77155 # If we're not using GNU ld, then there's no point in even trying these
77156 # tests. Check for that first. We should have already tested for gld
77157 # by now (in libtool), but require it now just to be safe...
77158 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
77159 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
77163 # The name set by libtool depends on the version of libtool. Shame on us
77164 # for depending on an impl detail, but c'est la vie. Older versions used
77165 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
77166 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
77167 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
77168 # set (hence we're using an older libtool), then set it.
77169 if test x${with_gnu_ld+set} != xset; then
77170 if test x${ac_cv_prog_gnu_ld+set} != xset; then
77171 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
77172 with_gnu_ld=no
77173 else
77174 with_gnu_ld=$ac_cv_prog_gnu_ld
77178 # Start by getting the version number. I think the libtool test already
77179 # does some of this, but throws away the result.
77181 ldver=`$LD --version 2>/dev/null | head -1 | \
77182 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
77184 glibcxx_gnu_ld_version=`echo $ldver | \
77185 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
77187 # Set --gc-sections.
77188 if test "$with_gnu_ld" = "notbroken"; then
77189 # GNU ld it is! Joy and bunny rabbits!
77191 # All these tests are for C++; save the language and the compiler flags.
77192 # Need to do this so that g++ won't try to link in libstdc++
77193 ac_test_CFLAGS="${CFLAGS+set}"
77194 ac_save_CFLAGS="$CFLAGS"
77195 CFLAGS='-x c++ -Wl,--gc-sections'
77197 # Check for -Wl,--gc-sections
77198 # XXX This test is broken at the moment, as symbols required for linking
77199 # are now in libsupc++ (not built yet). In addition, this test has
77200 # cored on solaris in the past. In addition, --gc-sections doesn't
77201 # really work at the moment (keeps on discarding used sections, first
77202 # .eh_frame and now some of the glibc sections for iconv).
77203 # Bzzzzt. Thanks for playing, maybe next time.
77204 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77205 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77206 if test "$cross_compiling" = yes; then
77207 ac_sectionLDflags=yes
77208 else
77209 cat >conftest.$ac_ext <<_ACEOF
77210 /* confdefs.h. */
77211 _ACEOF
77212 cat confdefs.h >>conftest.$ac_ext
77213 cat >>conftest.$ac_ext <<_ACEOF
77214 /* end confdefs.h. */
77216 int main(void)
77218 try { throw 1; }
77219 catch (...) { };
77220 return 0;
77223 _ACEOF
77224 rm -f conftest$ac_exeext
77225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77226 (eval $ac_link) 2>&5
77227 ac_status=$?
77228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77229 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
77230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77231 (eval $ac_try) 2>&5
77232 ac_status=$?
77233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77234 (exit $ac_status); }; }; then
77235 ac_sectionLDflags=yes
77236 else
77237 echo "$as_me: program exited with status $ac_status" >&5
77238 echo "$as_me: failed program was:" >&5
77239 sed 's/^/| /' conftest.$ac_ext >&5
77241 ( exit $ac_status )
77242 ac_sectionLDflags=no
77244 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
77246 if test "$ac_test_CFLAGS" = set; then
77247 CFLAGS="$ac_save_CFLAGS"
77248 else
77249 # this is the suspicious part
77250 CFLAGS=''
77252 if test "$ac_sectionLDflags" = "yes"; then
77253 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77255 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
77256 echo "${ECHO_T}$ac_sectionLDflags" >&6
77259 # Set linker optimization flags.
77260 if test x"$with_gnu_ld" = x"yes"; then
77261 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77269 echo "$as_me:$LINENO: checking for main in -lm" >&5
77270 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
77271 if test "${ac_cv_lib_m_main+set}" = set; then
77272 echo $ECHO_N "(cached) $ECHO_C" >&6
77273 else
77274 ac_check_lib_save_LIBS=$LIBS
77275 LIBS="-lm $LIBS"
77276 if test x$gcc_no_link = xyes; then
77277 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77279 { (exit 1); exit 1; }; }
77281 cat >conftest.$ac_ext <<_ACEOF
77282 /* confdefs.h. */
77283 _ACEOF
77284 cat confdefs.h >>conftest.$ac_ext
77285 cat >>conftest.$ac_ext <<_ACEOF
77286 /* end confdefs.h. */
77290 main ()
77292 main ();
77294 return 0;
77296 _ACEOF
77297 rm -f conftest.$ac_objext conftest$ac_exeext
77298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77299 (eval $ac_link) 2>conftest.er1
77300 ac_status=$?
77301 grep -v '^ *+' conftest.er1 >conftest.err
77302 rm -f conftest.er1
77303 cat conftest.err >&5
77304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77305 (exit $ac_status); } &&
77306 { ac_try='test -z "$ac_c_werror_flag"
77307 || test ! -s conftest.err'
77308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77309 (eval $ac_try) 2>&5
77310 ac_status=$?
77311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77312 (exit $ac_status); }; } &&
77313 { ac_try='test -s conftest$ac_exeext'
77314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77315 (eval $ac_try) 2>&5
77316 ac_status=$?
77317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77318 (exit $ac_status); }; }; then
77319 ac_cv_lib_m_main=yes
77320 else
77321 echo "$as_me: failed program was:" >&5
77322 sed 's/^/| /' conftest.$ac_ext >&5
77324 ac_cv_lib_m_main=no
77326 rm -f conftest.err conftest.$ac_objext \
77327 conftest$ac_exeext conftest.$ac_ext
77328 LIBS=$ac_check_lib_save_LIBS
77330 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77331 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77332 if test $ac_cv_lib_m_main = yes; then
77333 cat >>confdefs.h <<_ACEOF
77334 #define HAVE_LIBM 1
77335 _ACEOF
77337 LIBS="-lm $LIBS"
77342 for ac_func in copysignf
77344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77345 echo "$as_me:$LINENO: checking for $ac_func" >&5
77346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77347 if eval "test \"\${$as_ac_var+set}\" = set"; then
77348 echo $ECHO_N "(cached) $ECHO_C" >&6
77349 else
77350 if test x$gcc_no_link = xyes; then
77351 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77353 { (exit 1); exit 1; }; }
77355 cat >conftest.$ac_ext <<_ACEOF
77356 /* confdefs.h. */
77357 _ACEOF
77358 cat confdefs.h >>conftest.$ac_ext
77359 cat >>conftest.$ac_ext <<_ACEOF
77360 /* end confdefs.h. */
77361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77363 #define $ac_func innocuous_$ac_func
77365 /* System header to define __stub macros and hopefully few prototypes,
77366 which can conflict with char $ac_func (); below.
77367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77368 <limits.h> exists even on freestanding compilers. */
77370 #ifdef __STDC__
77371 # include <limits.h>
77372 #else
77373 # include <assert.h>
77374 #endif
77376 #undef $ac_func
77378 /* Override any gcc2 internal prototype to avoid an error. */
77379 #ifdef __cplusplus
77380 extern "C"
77382 #endif
77383 /* We use char because int might match the return type of a gcc2
77384 builtin and then its argument prototype would still apply. */
77385 char $ac_func ();
77386 /* The GNU C library defines this for functions which it implements
77387 to always fail with ENOSYS. Some functions are actually named
77388 something starting with __ and the normal name is an alias. */
77389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77390 choke me
77391 #else
77392 char (*f) () = $ac_func;
77393 #endif
77394 #ifdef __cplusplus
77396 #endif
77399 main ()
77401 return f != $ac_func;
77403 return 0;
77405 _ACEOF
77406 rm -f conftest.$ac_objext conftest$ac_exeext
77407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77408 (eval $ac_link) 2>conftest.er1
77409 ac_status=$?
77410 grep -v '^ *+' conftest.er1 >conftest.err
77411 rm -f conftest.er1
77412 cat conftest.err >&5
77413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77414 (exit $ac_status); } &&
77415 { ac_try='test -z "$ac_c_werror_flag"
77416 || test ! -s conftest.err'
77417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77418 (eval $ac_try) 2>&5
77419 ac_status=$?
77420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77421 (exit $ac_status); }; } &&
77422 { ac_try='test -s conftest$ac_exeext'
77423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77424 (eval $ac_try) 2>&5
77425 ac_status=$?
77426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77427 (exit $ac_status); }; }; then
77428 eval "$as_ac_var=yes"
77429 else
77430 echo "$as_me: failed program was:" >&5
77431 sed 's/^/| /' conftest.$ac_ext >&5
77433 eval "$as_ac_var=no"
77435 rm -f conftest.err conftest.$ac_objext \
77436 conftest$ac_exeext conftest.$ac_ext
77438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77440 if test `eval echo '${'$as_ac_var'}'` = yes; then
77441 cat >>confdefs.h <<_ACEOF
77442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77443 _ACEOF
77445 else
77446 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77448 done
77452 for ac_func in __signbit
77454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77455 echo "$as_me:$LINENO: checking for $ac_func" >&5
77456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77457 if eval "test \"\${$as_ac_var+set}\" = set"; then
77458 echo $ECHO_N "(cached) $ECHO_C" >&6
77459 else
77460 if test x$gcc_no_link = xyes; then
77461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77463 { (exit 1); exit 1; }; }
77465 cat >conftest.$ac_ext <<_ACEOF
77466 /* confdefs.h. */
77467 _ACEOF
77468 cat confdefs.h >>conftest.$ac_ext
77469 cat >>conftest.$ac_ext <<_ACEOF
77470 /* end confdefs.h. */
77471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77473 #define $ac_func innocuous_$ac_func
77475 /* System header to define __stub macros and hopefully few prototypes,
77476 which can conflict with char $ac_func (); below.
77477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77478 <limits.h> exists even on freestanding compilers. */
77480 #ifdef __STDC__
77481 # include <limits.h>
77482 #else
77483 # include <assert.h>
77484 #endif
77486 #undef $ac_func
77488 /* Override any gcc2 internal prototype to avoid an error. */
77489 #ifdef __cplusplus
77490 extern "C"
77492 #endif
77493 /* We use char because int might match the return type of a gcc2
77494 builtin and then its argument prototype would still apply. */
77495 char $ac_func ();
77496 /* The GNU C library defines this for functions which it implements
77497 to always fail with ENOSYS. Some functions are actually named
77498 something starting with __ and the normal name is an alias. */
77499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77500 choke me
77501 #else
77502 char (*f) () = $ac_func;
77503 #endif
77504 #ifdef __cplusplus
77506 #endif
77509 main ()
77511 return f != $ac_func;
77513 return 0;
77515 _ACEOF
77516 rm -f conftest.$ac_objext conftest$ac_exeext
77517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77518 (eval $ac_link) 2>conftest.er1
77519 ac_status=$?
77520 grep -v '^ *+' conftest.er1 >conftest.err
77521 rm -f conftest.er1
77522 cat conftest.err >&5
77523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77524 (exit $ac_status); } &&
77525 { ac_try='test -z "$ac_c_werror_flag"
77526 || test ! -s conftest.err'
77527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77528 (eval $ac_try) 2>&5
77529 ac_status=$?
77530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77531 (exit $ac_status); }; } &&
77532 { ac_try='test -s conftest$ac_exeext'
77533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77534 (eval $ac_try) 2>&5
77535 ac_status=$?
77536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77537 (exit $ac_status); }; }; then
77538 eval "$as_ac_var=yes"
77539 else
77540 echo "$as_me: failed program was:" >&5
77541 sed 's/^/| /' conftest.$ac_ext >&5
77543 eval "$as_ac_var=no"
77545 rm -f conftest.err conftest.$ac_objext \
77546 conftest$ac_exeext conftest.$ac_ext
77548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77550 if test `eval echo '${'$as_ac_var'}'` = yes; then
77551 cat >>confdefs.h <<_ACEOF
77552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77553 _ACEOF
77555 else
77556 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77558 done
77562 for ac_func in __signbitf
77564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77565 echo "$as_me:$LINENO: checking for $ac_func" >&5
77566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77567 if eval "test \"\${$as_ac_var+set}\" = set"; then
77568 echo $ECHO_N "(cached) $ECHO_C" >&6
77569 else
77570 if test x$gcc_no_link = xyes; then
77571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77573 { (exit 1); exit 1; }; }
77575 cat >conftest.$ac_ext <<_ACEOF
77576 /* confdefs.h. */
77577 _ACEOF
77578 cat confdefs.h >>conftest.$ac_ext
77579 cat >>conftest.$ac_ext <<_ACEOF
77580 /* end confdefs.h. */
77581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77583 #define $ac_func innocuous_$ac_func
77585 /* System header to define __stub macros and hopefully few prototypes,
77586 which can conflict with char $ac_func (); below.
77587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77588 <limits.h> exists even on freestanding compilers. */
77590 #ifdef __STDC__
77591 # include <limits.h>
77592 #else
77593 # include <assert.h>
77594 #endif
77596 #undef $ac_func
77598 /* Override any gcc2 internal prototype to avoid an error. */
77599 #ifdef __cplusplus
77600 extern "C"
77602 #endif
77603 /* We use char because int might match the return type of a gcc2
77604 builtin and then its argument prototype would still apply. */
77605 char $ac_func ();
77606 /* The GNU C library defines this for functions which it implements
77607 to always fail with ENOSYS. Some functions are actually named
77608 something starting with __ and the normal name is an alias. */
77609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77610 choke me
77611 #else
77612 char (*f) () = $ac_func;
77613 #endif
77614 #ifdef __cplusplus
77616 #endif
77619 main ()
77621 return f != $ac_func;
77623 return 0;
77625 _ACEOF
77626 rm -f conftest.$ac_objext conftest$ac_exeext
77627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77628 (eval $ac_link) 2>conftest.er1
77629 ac_status=$?
77630 grep -v '^ *+' conftest.er1 >conftest.err
77631 rm -f conftest.er1
77632 cat conftest.err >&5
77633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77634 (exit $ac_status); } &&
77635 { ac_try='test -z "$ac_c_werror_flag"
77636 || test ! -s conftest.err'
77637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77638 (eval $ac_try) 2>&5
77639 ac_status=$?
77640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77641 (exit $ac_status); }; } &&
77642 { ac_try='test -s conftest$ac_exeext'
77643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77644 (eval $ac_try) 2>&5
77645 ac_status=$?
77646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77647 (exit $ac_status); }; }; then
77648 eval "$as_ac_var=yes"
77649 else
77650 echo "$as_me: failed program was:" >&5
77651 sed 's/^/| /' conftest.$ac_ext >&5
77653 eval "$as_ac_var=no"
77655 rm -f conftest.err conftest.$ac_objext \
77656 conftest$ac_exeext conftest.$ac_ext
77658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77660 if test `eval echo '${'$as_ac_var'}'` = yes; then
77661 cat >>confdefs.h <<_ACEOF
77662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77663 _ACEOF
77665 else
77666 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
77668 done
77671 if test x$ac_cv_func_copysignl = x"yes"; then
77673 for ac_func in __signbitl
77675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77676 echo "$as_me:$LINENO: checking for $ac_func" >&5
77677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77678 if eval "test \"\${$as_ac_var+set}\" = set"; then
77679 echo $ECHO_N "(cached) $ECHO_C" >&6
77680 else
77681 if test x$gcc_no_link = xyes; then
77682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77684 { (exit 1); exit 1; }; }
77686 cat >conftest.$ac_ext <<_ACEOF
77687 /* confdefs.h. */
77688 _ACEOF
77689 cat confdefs.h >>conftest.$ac_ext
77690 cat >>conftest.$ac_ext <<_ACEOF
77691 /* end confdefs.h. */
77692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77694 #define $ac_func innocuous_$ac_func
77696 /* System header to define __stub macros and hopefully few prototypes,
77697 which can conflict with char $ac_func (); below.
77698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77699 <limits.h> exists even on freestanding compilers. */
77701 #ifdef __STDC__
77702 # include <limits.h>
77703 #else
77704 # include <assert.h>
77705 #endif
77707 #undef $ac_func
77709 /* Override any gcc2 internal prototype to avoid an error. */
77710 #ifdef __cplusplus
77711 extern "C"
77713 #endif
77714 /* We use char because int might match the return type of a gcc2
77715 builtin and then its argument prototype would still apply. */
77716 char $ac_func ();
77717 /* The GNU C library defines this for functions which it implements
77718 to always fail with ENOSYS. Some functions are actually named
77719 something starting with __ and the normal name is an alias. */
77720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77721 choke me
77722 #else
77723 char (*f) () = $ac_func;
77724 #endif
77725 #ifdef __cplusplus
77727 #endif
77730 main ()
77732 return f != $ac_func;
77734 return 0;
77736 _ACEOF
77737 rm -f conftest.$ac_objext conftest$ac_exeext
77738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77739 (eval $ac_link) 2>conftest.er1
77740 ac_status=$?
77741 grep -v '^ *+' conftest.er1 >conftest.err
77742 rm -f conftest.er1
77743 cat conftest.err >&5
77744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77745 (exit $ac_status); } &&
77746 { ac_try='test -z "$ac_c_werror_flag"
77747 || test ! -s conftest.err'
77748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77749 (eval $ac_try) 2>&5
77750 ac_status=$?
77751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77752 (exit $ac_status); }; } &&
77753 { ac_try='test -s conftest$ac_exeext'
77754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77755 (eval $ac_try) 2>&5
77756 ac_status=$?
77757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77758 (exit $ac_status); }; }; then
77759 eval "$as_ac_var=yes"
77760 else
77761 echo "$as_me: failed program was:" >&5
77762 sed 's/^/| /' conftest.$ac_ext >&5
77764 eval "$as_ac_var=no"
77766 rm -f conftest.err conftest.$ac_objext \
77767 conftest$ac_exeext conftest.$ac_ext
77769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77771 if test `eval echo '${'$as_ac_var'}'` = yes; then
77772 cat >>confdefs.h <<_ACEOF
77773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77774 _ACEOF
77776 else
77777 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
77779 done
77783 # Used in libmath/Makefile.am.
77784 if test -n "$LIBMATHOBJS"; then
77785 need_libmath=yes
77791 enable_iconv=no
77792 # Only continue checking if the ISO C99 headers exist and support is on.
77793 if test x"$enable_wchar_t" = xyes; then
77795 # Use iconv for wchar_t to char conversions. As such, check for
77796 # X/Open Portability Guide, version 2 features (XPG2).
77797 if test "${ac_cv_header_iconv_h+set}" = set; then
77798 echo "$as_me:$LINENO: checking for iconv.h" >&5
77799 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77800 if test "${ac_cv_header_iconv_h+set}" = set; then
77801 echo $ECHO_N "(cached) $ECHO_C" >&6
77803 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77804 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77805 else
77806 # Is the header compilable?
77807 echo "$as_me:$LINENO: checking iconv.h usability" >&5
77808 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
77809 cat >conftest.$ac_ext <<_ACEOF
77810 /* confdefs.h. */
77811 _ACEOF
77812 cat confdefs.h >>conftest.$ac_ext
77813 cat >>conftest.$ac_ext <<_ACEOF
77814 /* end confdefs.h. */
77815 $ac_includes_default
77816 #include <iconv.h>
77817 _ACEOF
77818 rm -f conftest.$ac_objext
77819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77820 (eval $ac_compile) 2>conftest.er1
77821 ac_status=$?
77822 grep -v '^ *+' conftest.er1 >conftest.err
77823 rm -f conftest.er1
77824 cat conftest.err >&5
77825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77826 (exit $ac_status); } &&
77827 { ac_try='test -z "$ac_c_werror_flag"
77828 || test ! -s conftest.err'
77829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77830 (eval $ac_try) 2>&5
77831 ac_status=$?
77832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77833 (exit $ac_status); }; } &&
77834 { ac_try='test -s conftest.$ac_objext'
77835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77836 (eval $ac_try) 2>&5
77837 ac_status=$?
77838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77839 (exit $ac_status); }; }; then
77840 ac_header_compiler=yes
77841 else
77842 echo "$as_me: failed program was:" >&5
77843 sed 's/^/| /' conftest.$ac_ext >&5
77845 ac_header_compiler=no
77847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77848 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77849 echo "${ECHO_T}$ac_header_compiler" >&6
77851 # Is the header present?
77852 echo "$as_me:$LINENO: checking iconv.h presence" >&5
77853 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
77854 cat >conftest.$ac_ext <<_ACEOF
77855 /* confdefs.h. */
77856 _ACEOF
77857 cat confdefs.h >>conftest.$ac_ext
77858 cat >>conftest.$ac_ext <<_ACEOF
77859 /* end confdefs.h. */
77860 #include <iconv.h>
77861 _ACEOF
77862 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77863 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77864 ac_status=$?
77865 grep -v '^ *+' conftest.er1 >conftest.err
77866 rm -f conftest.er1
77867 cat conftest.err >&5
77868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77869 (exit $ac_status); } >/dev/null; then
77870 if test -s conftest.err; then
77871 ac_cpp_err=$ac_c_preproc_warn_flag
77872 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77873 else
77874 ac_cpp_err=
77876 else
77877 ac_cpp_err=yes
77879 if test -z "$ac_cpp_err"; then
77880 ac_header_preproc=yes
77881 else
77882 echo "$as_me: failed program was:" >&5
77883 sed 's/^/| /' conftest.$ac_ext >&5
77885 ac_header_preproc=no
77887 rm -f conftest.err conftest.$ac_ext
77888 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77889 echo "${ECHO_T}$ac_header_preproc" >&6
77891 # So? What about this header?
77892 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77893 yes:no: )
77894 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
77895 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
77896 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
77897 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
77898 ac_header_preproc=yes
77900 no:yes:* )
77901 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
77902 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
77903 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
77904 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
77905 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
77906 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
77907 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
77908 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
77909 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
77910 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
77911 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
77912 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
77914 cat <<\_ASBOX
77915 ## ----------------------------------------- ##
77916 ## Report this to the package-unused lists. ##
77917 ## ----------------------------------------- ##
77918 _ASBOX
77920 sed "s/^/$as_me: WARNING: /" >&2
77922 esac
77923 echo "$as_me:$LINENO: checking for iconv.h" >&5
77924 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77925 if test "${ac_cv_header_iconv_h+set}" = set; then
77926 echo $ECHO_N "(cached) $ECHO_C" >&6
77927 else
77928 ac_cv_header_iconv_h=$ac_header_preproc
77930 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77931 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77934 if test $ac_cv_header_iconv_h = yes; then
77935 ac_has_iconv_h=yes
77936 else
77937 ac_has_iconv_h=no
77941 if test "${ac_cv_header_langinfo_h+set}" = set; then
77942 echo "$as_me:$LINENO: checking for langinfo.h" >&5
77943 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
77944 if test "${ac_cv_header_langinfo_h+set}" = set; then
77945 echo $ECHO_N "(cached) $ECHO_C" >&6
77947 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
77948 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77949 else
77950 # Is the header compilable?
77951 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
77952 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
77953 cat >conftest.$ac_ext <<_ACEOF
77954 /* confdefs.h. */
77955 _ACEOF
77956 cat confdefs.h >>conftest.$ac_ext
77957 cat >>conftest.$ac_ext <<_ACEOF
77958 /* end confdefs.h. */
77959 $ac_includes_default
77960 #include <langinfo.h>
77961 _ACEOF
77962 rm -f conftest.$ac_objext
77963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77964 (eval $ac_compile) 2>conftest.er1
77965 ac_status=$?
77966 grep -v '^ *+' conftest.er1 >conftest.err
77967 rm -f conftest.er1
77968 cat conftest.err >&5
77969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77970 (exit $ac_status); } &&
77971 { ac_try='test -z "$ac_c_werror_flag"
77972 || test ! -s conftest.err'
77973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77974 (eval $ac_try) 2>&5
77975 ac_status=$?
77976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77977 (exit $ac_status); }; } &&
77978 { ac_try='test -s conftest.$ac_objext'
77979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77980 (eval $ac_try) 2>&5
77981 ac_status=$?
77982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77983 (exit $ac_status); }; }; then
77984 ac_header_compiler=yes
77985 else
77986 echo "$as_me: failed program was:" >&5
77987 sed 's/^/| /' conftest.$ac_ext >&5
77989 ac_header_compiler=no
77991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77992 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77993 echo "${ECHO_T}$ac_header_compiler" >&6
77995 # Is the header present?
77996 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
77997 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
77998 cat >conftest.$ac_ext <<_ACEOF
77999 /* confdefs.h. */
78000 _ACEOF
78001 cat confdefs.h >>conftest.$ac_ext
78002 cat >>conftest.$ac_ext <<_ACEOF
78003 /* end confdefs.h. */
78004 #include <langinfo.h>
78005 _ACEOF
78006 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78007 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78008 ac_status=$?
78009 grep -v '^ *+' conftest.er1 >conftest.err
78010 rm -f conftest.er1
78011 cat conftest.err >&5
78012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78013 (exit $ac_status); } >/dev/null; then
78014 if test -s conftest.err; then
78015 ac_cpp_err=$ac_c_preproc_warn_flag
78016 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78017 else
78018 ac_cpp_err=
78020 else
78021 ac_cpp_err=yes
78023 if test -z "$ac_cpp_err"; then
78024 ac_header_preproc=yes
78025 else
78026 echo "$as_me: failed program was:" >&5
78027 sed 's/^/| /' conftest.$ac_ext >&5
78029 ac_header_preproc=no
78031 rm -f conftest.err conftest.$ac_ext
78032 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78033 echo "${ECHO_T}$ac_header_preproc" >&6
78035 # So? What about this header?
78036 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78037 yes:no: )
78038 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
78039 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
78040 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
78041 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
78042 ac_header_preproc=yes
78044 no:yes:* )
78045 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
78046 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
78047 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
78048 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
78049 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
78050 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
78051 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
78052 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
78053 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
78054 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
78055 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
78056 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
78058 cat <<\_ASBOX
78059 ## ----------------------------------------- ##
78060 ## Report this to the package-unused lists. ##
78061 ## ----------------------------------------- ##
78062 _ASBOX
78064 sed "s/^/$as_me: WARNING: /" >&2
78066 esac
78067 echo "$as_me:$LINENO: checking for langinfo.h" >&5
78068 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
78069 if test "${ac_cv_header_langinfo_h+set}" = set; then
78070 echo $ECHO_N "(cached) $ECHO_C" >&6
78071 else
78072 ac_cv_header_langinfo_h=$ac_header_preproc
78074 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
78075 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
78078 if test $ac_cv_header_langinfo_h = yes; then
78079 ac_has_langinfo_h=yes
78080 else
78081 ac_has_langinfo_h=no
78086 # Check for existence of libiconv.a providing XPG2 wchar_t support.
78087 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
78088 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
78089 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
78090 echo $ECHO_N "(cached) $ECHO_C" >&6
78091 else
78092 ac_check_lib_save_LIBS=$LIBS
78093 LIBS="-liconv $LIBS"
78094 if test x$gcc_no_link = xyes; then
78095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78097 { (exit 1); exit 1; }; }
78099 cat >conftest.$ac_ext <<_ACEOF
78100 /* confdefs.h. */
78101 _ACEOF
78102 cat confdefs.h >>conftest.$ac_ext
78103 cat >>conftest.$ac_ext <<_ACEOF
78104 /* end confdefs.h. */
78106 /* Override any gcc2 internal prototype to avoid an error. */
78107 #ifdef __cplusplus
78108 extern "C"
78109 #endif
78110 /* We use char because int might match the return type of a gcc2
78111 builtin and then its argument prototype would still apply. */
78112 char iconv ();
78114 main ()
78116 iconv ();
78118 return 0;
78120 _ACEOF
78121 rm -f conftest.$ac_objext conftest$ac_exeext
78122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78123 (eval $ac_link) 2>conftest.er1
78124 ac_status=$?
78125 grep -v '^ *+' conftest.er1 >conftest.err
78126 rm -f conftest.er1
78127 cat conftest.err >&5
78128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78129 (exit $ac_status); } &&
78130 { ac_try='test -z "$ac_c_werror_flag"
78131 || test ! -s conftest.err'
78132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78133 (eval $ac_try) 2>&5
78134 ac_status=$?
78135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78136 (exit $ac_status); }; } &&
78137 { ac_try='test -s conftest$ac_exeext'
78138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78139 (eval $ac_try) 2>&5
78140 ac_status=$?
78141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78142 (exit $ac_status); }; }; then
78143 ac_cv_lib_iconv_iconv=yes
78144 else
78145 echo "$as_me: failed program was:" >&5
78146 sed 's/^/| /' conftest.$ac_ext >&5
78148 ac_cv_lib_iconv_iconv=no
78150 rm -f conftest.err conftest.$ac_objext \
78151 conftest$ac_exeext conftest.$ac_ext
78152 LIBS=$ac_check_lib_save_LIBS
78154 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
78155 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
78156 if test $ac_cv_lib_iconv_iconv = yes; then
78157 LIBICONV="-liconv"
78160 ac_save_LIBS="$LIBS"
78161 LIBS="$LIBS $LIBICONV"
78168 for ac_func in iconv_open iconv_close iconv nl_langinfo
78170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78171 echo "$as_me:$LINENO: checking for $ac_func" >&5
78172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78173 if eval "test \"\${$as_ac_var+set}\" = set"; then
78174 echo $ECHO_N "(cached) $ECHO_C" >&6
78175 else
78176 if test x$gcc_no_link = xyes; then
78177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78179 { (exit 1); exit 1; }; }
78181 cat >conftest.$ac_ext <<_ACEOF
78182 /* confdefs.h. */
78183 _ACEOF
78184 cat confdefs.h >>conftest.$ac_ext
78185 cat >>conftest.$ac_ext <<_ACEOF
78186 /* end confdefs.h. */
78187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78189 #define $ac_func innocuous_$ac_func
78191 /* System header to define __stub macros and hopefully few prototypes,
78192 which can conflict with char $ac_func (); below.
78193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78194 <limits.h> exists even on freestanding compilers. */
78196 #ifdef __STDC__
78197 # include <limits.h>
78198 #else
78199 # include <assert.h>
78200 #endif
78202 #undef $ac_func
78204 /* Override any gcc2 internal prototype to avoid an error. */
78205 #ifdef __cplusplus
78206 extern "C"
78208 #endif
78209 /* We use char because int might match the return type of a gcc2
78210 builtin and then its argument prototype would still apply. */
78211 char $ac_func ();
78212 /* The GNU C library defines this for functions which it implements
78213 to always fail with ENOSYS. Some functions are actually named
78214 something starting with __ and the normal name is an alias. */
78215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78216 choke me
78217 #else
78218 char (*f) () = $ac_func;
78219 #endif
78220 #ifdef __cplusplus
78222 #endif
78225 main ()
78227 return f != $ac_func;
78229 return 0;
78231 _ACEOF
78232 rm -f conftest.$ac_objext conftest$ac_exeext
78233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78234 (eval $ac_link) 2>conftest.er1
78235 ac_status=$?
78236 grep -v '^ *+' conftest.er1 >conftest.err
78237 rm -f conftest.er1
78238 cat conftest.err >&5
78239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78240 (exit $ac_status); } &&
78241 { ac_try='test -z "$ac_c_werror_flag"
78242 || test ! -s conftest.err'
78243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78244 (eval $ac_try) 2>&5
78245 ac_status=$?
78246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78247 (exit $ac_status); }; } &&
78248 { ac_try='test -s conftest$ac_exeext'
78249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78250 (eval $ac_try) 2>&5
78251 ac_status=$?
78252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78253 (exit $ac_status); }; }; then
78254 eval "$as_ac_var=yes"
78255 else
78256 echo "$as_me: failed program was:" >&5
78257 sed 's/^/| /' conftest.$ac_ext >&5
78259 eval "$as_ac_var=no"
78261 rm -f conftest.err conftest.$ac_objext \
78262 conftest$ac_exeext conftest.$ac_ext
78264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78266 if test `eval echo '${'$as_ac_var'}'` = yes; then
78267 cat >>confdefs.h <<_ACEOF
78268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78269 _ACEOF
78270 ac_XPG2funcs=yes
78271 else
78272 ac_XPG2funcs=no
78274 done
78277 LIBS="$ac_save_LIBS"
78279 if test x"$ac_has_iconv_h" = xyes &&
78280 test x"$ac_has_langinfo_h" = xyes &&
78281 test x"$ac_XPG2funcs" = xyes;
78282 then
78284 cat >>confdefs.h <<\_ACEOF
78285 #define _GLIBCXX_USE_ICONV 1
78286 _ACEOF
78288 enable_iconv=yes
78291 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
78292 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
78293 echo "$as_me:$LINENO: result: $enable_iconv" >&5
78294 echo "${ECHO_T}$enable_iconv" >&6
78297 # For LFS.
78298 cat >>confdefs.h <<\_ACEOF
78299 #define HAVE_INT64_T 1
78300 _ACEOF
78302 case "$target" in
78303 *-uclinux*)
78304 # Don't enable LFS with uClibc
78307 cat >>confdefs.h <<\_ACEOF
78308 #define _GLIBCXX_USE_LFS 1
78309 _ACEOF
78311 esac
78313 # For showmanyc_helper().
78316 for ac_header in sys/ioctl.h sys/filio.h
78318 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78319 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78320 echo "$as_me:$LINENO: checking for $ac_header" >&5
78321 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78322 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78323 echo $ECHO_N "(cached) $ECHO_C" >&6
78325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78326 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78327 else
78328 # Is the header compilable?
78329 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78330 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78331 cat >conftest.$ac_ext <<_ACEOF
78332 /* confdefs.h. */
78333 _ACEOF
78334 cat confdefs.h >>conftest.$ac_ext
78335 cat >>conftest.$ac_ext <<_ACEOF
78336 /* end confdefs.h. */
78337 $ac_includes_default
78338 #include <$ac_header>
78339 _ACEOF
78340 rm -f conftest.$ac_objext
78341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78342 (eval $ac_compile) 2>conftest.er1
78343 ac_status=$?
78344 grep -v '^ *+' conftest.er1 >conftest.err
78345 rm -f conftest.er1
78346 cat conftest.err >&5
78347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78348 (exit $ac_status); } &&
78349 { ac_try='test -z "$ac_c_werror_flag"
78350 || test ! -s conftest.err'
78351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78352 (eval $ac_try) 2>&5
78353 ac_status=$?
78354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78355 (exit $ac_status); }; } &&
78356 { ac_try='test -s conftest.$ac_objext'
78357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78358 (eval $ac_try) 2>&5
78359 ac_status=$?
78360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78361 (exit $ac_status); }; }; then
78362 ac_header_compiler=yes
78363 else
78364 echo "$as_me: failed program was:" >&5
78365 sed 's/^/| /' conftest.$ac_ext >&5
78367 ac_header_compiler=no
78369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78370 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78371 echo "${ECHO_T}$ac_header_compiler" >&6
78373 # Is the header present?
78374 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78375 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78376 cat >conftest.$ac_ext <<_ACEOF
78377 /* confdefs.h. */
78378 _ACEOF
78379 cat confdefs.h >>conftest.$ac_ext
78380 cat >>conftest.$ac_ext <<_ACEOF
78381 /* end confdefs.h. */
78382 #include <$ac_header>
78383 _ACEOF
78384 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78385 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78386 ac_status=$?
78387 grep -v '^ *+' conftest.er1 >conftest.err
78388 rm -f conftest.er1
78389 cat conftest.err >&5
78390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78391 (exit $ac_status); } >/dev/null; then
78392 if test -s conftest.err; then
78393 ac_cpp_err=$ac_c_preproc_warn_flag
78394 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78395 else
78396 ac_cpp_err=
78398 else
78399 ac_cpp_err=yes
78401 if test -z "$ac_cpp_err"; then
78402 ac_header_preproc=yes
78403 else
78404 echo "$as_me: failed program was:" >&5
78405 sed 's/^/| /' conftest.$ac_ext >&5
78407 ac_header_preproc=no
78409 rm -f conftest.err conftest.$ac_ext
78410 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78411 echo "${ECHO_T}$ac_header_preproc" >&6
78413 # So? What about this header?
78414 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78415 yes:no: )
78416 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78417 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78418 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78419 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78420 ac_header_preproc=yes
78422 no:yes:* )
78423 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78424 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78425 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78426 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78427 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78428 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78429 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78430 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78431 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78432 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78433 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78434 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78436 cat <<\_ASBOX
78437 ## ----------------------------------------- ##
78438 ## Report this to the package-unused lists. ##
78439 ## ----------------------------------------- ##
78440 _ASBOX
78442 sed "s/^/$as_me: WARNING: /" >&2
78444 esac
78445 echo "$as_me:$LINENO: checking for $ac_header" >&5
78446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78448 echo $ECHO_N "(cached) $ECHO_C" >&6
78449 else
78450 eval "$as_ac_Header=\$ac_header_preproc"
78452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78453 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78456 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78457 cat >>confdefs.h <<_ACEOF
78458 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78459 _ACEOF
78463 done
78466 echo "$as_me:$LINENO: checking for poll" >&5
78467 echo $ECHO_N "checking for poll... $ECHO_C" >&6
78468 if test "${glibcxx_cv_POLL+set}" = set; then
78469 echo $ECHO_N "(cached) $ECHO_C" >&6
78470 else
78472 if test x$gcc_no_link = xyes; then
78473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78475 { (exit 1); exit 1; }; }
78477 cat >conftest.$ac_ext <<_ACEOF
78478 /* confdefs.h. */
78479 _ACEOF
78480 cat confdefs.h >>conftest.$ac_ext
78481 cat >>conftest.$ac_ext <<_ACEOF
78482 /* end confdefs.h. */
78483 #include <poll.h>
78485 main ()
78487 struct pollfd pfd[1];
78488 pfd[0].events = POLLIN;
78489 poll(pfd, 1, 0);
78491 return 0;
78493 _ACEOF
78494 rm -f conftest.$ac_objext conftest$ac_exeext
78495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78496 (eval $ac_link) 2>conftest.er1
78497 ac_status=$?
78498 grep -v '^ *+' conftest.er1 >conftest.err
78499 rm -f conftest.er1
78500 cat conftest.err >&5
78501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78502 (exit $ac_status); } &&
78503 { ac_try='test -z "$ac_c_werror_flag"
78504 || test ! -s conftest.err'
78505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78506 (eval $ac_try) 2>&5
78507 ac_status=$?
78508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78509 (exit $ac_status); }; } &&
78510 { ac_try='test -s conftest$ac_exeext'
78511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78512 (eval $ac_try) 2>&5
78513 ac_status=$?
78514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78515 (exit $ac_status); }; }; then
78516 glibcxx_cv_POLL=yes
78517 else
78518 echo "$as_me: failed program was:" >&5
78519 sed 's/^/| /' conftest.$ac_ext >&5
78521 glibcxx_cv_POLL=no
78523 rm -f conftest.err conftest.$ac_objext \
78524 conftest$ac_exeext conftest.$ac_ext
78528 if test $glibcxx_cv_POLL = yes; then
78530 cat >>confdefs.h <<\_ACEOF
78531 #define HAVE_POLL 1
78532 _ACEOF
78535 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
78536 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
78539 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
78540 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
78541 if test "${glibcxx_cv_S_ISREG+set}" = set; then
78542 echo $ECHO_N "(cached) $ECHO_C" >&6
78543 else
78545 if test x$gcc_no_link = xyes; then
78546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78548 { (exit 1); exit 1; }; }
78550 cat >conftest.$ac_ext <<_ACEOF
78551 /* confdefs.h. */
78552 _ACEOF
78553 cat confdefs.h >>conftest.$ac_ext
78554 cat >>conftest.$ac_ext <<_ACEOF
78555 /* end confdefs.h. */
78556 #include <sys/stat.h>
78558 main ()
78560 struct stat buffer;
78561 fstat(0, &buffer);
78562 S_ISREG(buffer.st_mode);
78564 return 0;
78566 _ACEOF
78567 rm -f conftest.$ac_objext conftest$ac_exeext
78568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78569 (eval $ac_link) 2>conftest.er1
78570 ac_status=$?
78571 grep -v '^ *+' conftest.er1 >conftest.err
78572 rm -f conftest.er1
78573 cat conftest.err >&5
78574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78575 (exit $ac_status); } &&
78576 { ac_try='test -z "$ac_c_werror_flag"
78577 || test ! -s conftest.err'
78578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78579 (eval $ac_try) 2>&5
78580 ac_status=$?
78581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78582 (exit $ac_status); }; } &&
78583 { ac_try='test -s conftest$ac_exeext'
78584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78585 (eval $ac_try) 2>&5
78586 ac_status=$?
78587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78588 (exit $ac_status); }; }; then
78589 glibcxx_cv_S_ISREG=yes
78590 else
78591 echo "$as_me: failed program was:" >&5
78592 sed 's/^/| /' conftest.$ac_ext >&5
78594 glibcxx_cv_S_ISREG=no
78596 rm -f conftest.err conftest.$ac_objext \
78597 conftest$ac_exeext conftest.$ac_ext
78601 if test "${glibcxx_cv_S_IFREG+set}" = set; then
78602 echo $ECHO_N "(cached) $ECHO_C" >&6
78603 else
78605 if test x$gcc_no_link = xyes; then
78606 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78608 { (exit 1); exit 1; }; }
78610 cat >conftest.$ac_ext <<_ACEOF
78611 /* confdefs.h. */
78612 _ACEOF
78613 cat confdefs.h >>conftest.$ac_ext
78614 cat >>conftest.$ac_ext <<_ACEOF
78615 /* end confdefs.h. */
78616 #include <sys/stat.h>
78618 main ()
78620 struct stat buffer;
78621 fstat(0, &buffer);
78622 S_IFREG & buffer.st_mode;
78624 return 0;
78626 _ACEOF
78627 rm -f conftest.$ac_objext conftest$ac_exeext
78628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78629 (eval $ac_link) 2>conftest.er1
78630 ac_status=$?
78631 grep -v '^ *+' conftest.er1 >conftest.err
78632 rm -f conftest.er1
78633 cat conftest.err >&5
78634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78635 (exit $ac_status); } &&
78636 { ac_try='test -z "$ac_c_werror_flag"
78637 || test ! -s conftest.err'
78638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78639 (eval $ac_try) 2>&5
78640 ac_status=$?
78641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78642 (exit $ac_status); }; } &&
78643 { ac_try='test -s conftest$ac_exeext'
78644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78645 (eval $ac_try) 2>&5
78646 ac_status=$?
78647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78648 (exit $ac_status); }; }; then
78649 glibcxx_cv_S_IFREG=yes
78650 else
78651 echo "$as_me: failed program was:" >&5
78652 sed 's/^/| /' conftest.$ac_ext >&5
78654 glibcxx_cv_S_IFREG=no
78656 rm -f conftest.err conftest.$ac_objext \
78657 conftest$ac_exeext conftest.$ac_ext
78661 res=no
78662 if test $glibcxx_cv_S_ISREG = yes; then
78664 cat >>confdefs.h <<\_ACEOF
78665 #define HAVE_S_ISREG 1
78666 _ACEOF
78668 res=S_ISREG
78669 elif test $glibcxx_cv_S_IFREG = yes; then
78671 cat >>confdefs.h <<\_ACEOF
78672 #define HAVE_S_IFREG 1
78673 _ACEOF
78675 res=S_IFREG
78677 echo "$as_me:$LINENO: result: $res" >&5
78678 echo "${ECHO_T}$res" >&6
78681 # For xsputn_2().
78683 for ac_header in sys/uio.h
78685 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78686 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78687 echo "$as_me:$LINENO: checking for $ac_header" >&5
78688 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78689 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78690 echo $ECHO_N "(cached) $ECHO_C" >&6
78692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78693 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78694 else
78695 # Is the header compilable?
78696 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78697 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78698 cat >conftest.$ac_ext <<_ACEOF
78699 /* confdefs.h. */
78700 _ACEOF
78701 cat confdefs.h >>conftest.$ac_ext
78702 cat >>conftest.$ac_ext <<_ACEOF
78703 /* end confdefs.h. */
78704 $ac_includes_default
78705 #include <$ac_header>
78706 _ACEOF
78707 rm -f conftest.$ac_objext
78708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78709 (eval $ac_compile) 2>conftest.er1
78710 ac_status=$?
78711 grep -v '^ *+' conftest.er1 >conftest.err
78712 rm -f conftest.er1
78713 cat conftest.err >&5
78714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78715 (exit $ac_status); } &&
78716 { ac_try='test -z "$ac_c_werror_flag"
78717 || test ! -s conftest.err'
78718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78719 (eval $ac_try) 2>&5
78720 ac_status=$?
78721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78722 (exit $ac_status); }; } &&
78723 { ac_try='test -s conftest.$ac_objext'
78724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78725 (eval $ac_try) 2>&5
78726 ac_status=$?
78727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78728 (exit $ac_status); }; }; then
78729 ac_header_compiler=yes
78730 else
78731 echo "$as_me: failed program was:" >&5
78732 sed 's/^/| /' conftest.$ac_ext >&5
78734 ac_header_compiler=no
78736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78737 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78738 echo "${ECHO_T}$ac_header_compiler" >&6
78740 # Is the header present?
78741 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78742 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78743 cat >conftest.$ac_ext <<_ACEOF
78744 /* confdefs.h. */
78745 _ACEOF
78746 cat confdefs.h >>conftest.$ac_ext
78747 cat >>conftest.$ac_ext <<_ACEOF
78748 /* end confdefs.h. */
78749 #include <$ac_header>
78750 _ACEOF
78751 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78752 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78753 ac_status=$?
78754 grep -v '^ *+' conftest.er1 >conftest.err
78755 rm -f conftest.er1
78756 cat conftest.err >&5
78757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78758 (exit $ac_status); } >/dev/null; then
78759 if test -s conftest.err; then
78760 ac_cpp_err=$ac_c_preproc_warn_flag
78761 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78762 else
78763 ac_cpp_err=
78765 else
78766 ac_cpp_err=yes
78768 if test -z "$ac_cpp_err"; then
78769 ac_header_preproc=yes
78770 else
78771 echo "$as_me: failed program was:" >&5
78772 sed 's/^/| /' conftest.$ac_ext >&5
78774 ac_header_preproc=no
78776 rm -f conftest.err conftest.$ac_ext
78777 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78778 echo "${ECHO_T}$ac_header_preproc" >&6
78780 # So? What about this header?
78781 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78782 yes:no: )
78783 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78784 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78785 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78786 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78787 ac_header_preproc=yes
78789 no:yes:* )
78790 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78791 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78792 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78793 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78794 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78795 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78796 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78797 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78798 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78799 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78800 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78801 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78803 cat <<\_ASBOX
78804 ## ----------------------------------------- ##
78805 ## Report this to the package-unused lists. ##
78806 ## ----------------------------------------- ##
78807 _ASBOX
78809 sed "s/^/$as_me: WARNING: /" >&2
78811 esac
78812 echo "$as_me:$LINENO: checking for $ac_header" >&5
78813 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78814 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78815 echo $ECHO_N "(cached) $ECHO_C" >&6
78816 else
78817 eval "$as_ac_Header=\$ac_header_preproc"
78819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78820 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78823 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78824 cat >>confdefs.h <<_ACEOF
78825 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78826 _ACEOF
78830 done
78833 echo "$as_me:$LINENO: checking for writev" >&5
78834 echo $ECHO_N "checking for writev... $ECHO_C" >&6
78835 if test "${glibcxx_cv_WRITEV+set}" = set; then
78836 echo $ECHO_N "(cached) $ECHO_C" >&6
78837 else
78839 if test x$gcc_no_link = xyes; then
78840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78842 { (exit 1); exit 1; }; }
78844 cat >conftest.$ac_ext <<_ACEOF
78845 /* confdefs.h. */
78846 _ACEOF
78847 cat confdefs.h >>conftest.$ac_ext
78848 cat >>conftest.$ac_ext <<_ACEOF
78849 /* end confdefs.h. */
78850 #include <sys/uio.h>
78852 main ()
78854 struct iovec iov[2];
78855 writev(0, iov, 0);
78857 return 0;
78859 _ACEOF
78860 rm -f conftest.$ac_objext conftest$ac_exeext
78861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78862 (eval $ac_link) 2>conftest.er1
78863 ac_status=$?
78864 grep -v '^ *+' conftest.er1 >conftest.err
78865 rm -f conftest.er1
78866 cat conftest.err >&5
78867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78868 (exit $ac_status); } &&
78869 { ac_try='test -z "$ac_c_werror_flag"
78870 || test ! -s conftest.err'
78871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78872 (eval $ac_try) 2>&5
78873 ac_status=$?
78874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78875 (exit $ac_status); }; } &&
78876 { ac_try='test -s conftest$ac_exeext'
78877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78878 (eval $ac_try) 2>&5
78879 ac_status=$?
78880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78881 (exit $ac_status); }; }; then
78882 glibcxx_cv_WRITEV=yes
78883 else
78884 echo "$as_me: failed program was:" >&5
78885 sed 's/^/| /' conftest.$ac_ext >&5
78887 glibcxx_cv_WRITEV=no
78889 rm -f conftest.err conftest.$ac_objext \
78890 conftest$ac_exeext conftest.$ac_ext
78894 if test $glibcxx_cv_WRITEV = yes; then
78896 cat >>confdefs.h <<\_ACEOF
78897 #define HAVE_WRITEV 1
78898 _ACEOF
78901 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
78902 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
78905 cat >>confdefs.h <<\_ACEOF
78906 #define HAVE_ACOSF 1
78907 _ACEOF
78909 cat >>confdefs.h <<\_ACEOF
78910 #define HAVE_ASINF 1
78911 _ACEOF
78913 cat >>confdefs.h <<\_ACEOF
78914 #define HAVE_ATANF 1
78915 _ACEOF
78917 cat >>confdefs.h <<\_ACEOF
78918 #define HAVE_ATAN2F 1
78919 _ACEOF
78921 cat >>confdefs.h <<\_ACEOF
78922 #define HAVE_CEILF 1
78923 _ACEOF
78925 cat >>confdefs.h <<\_ACEOF
78926 #define HAVE_COPYSIGN 1
78927 _ACEOF
78929 cat >>confdefs.h <<\_ACEOF
78930 #define HAVE_COPYSIGNF 1
78931 _ACEOF
78933 cat >>confdefs.h <<\_ACEOF
78934 #define HAVE_COSF 1
78935 _ACEOF
78937 cat >>confdefs.h <<\_ACEOF
78938 #define HAVE_COSHF 1
78939 _ACEOF
78941 cat >>confdefs.h <<\_ACEOF
78942 #define HAVE_EXPF 1
78943 _ACEOF
78945 cat >>confdefs.h <<\_ACEOF
78946 #define HAVE_FABSF 1
78947 _ACEOF
78949 cat >>confdefs.h <<\_ACEOF
78950 #define HAVE_FINITE 1
78951 _ACEOF
78953 cat >>confdefs.h <<\_ACEOF
78954 #define HAVE_FINITEF 1
78955 _ACEOF
78957 cat >>confdefs.h <<\_ACEOF
78958 #define HAVE_FLOORF 1
78959 _ACEOF
78961 cat >>confdefs.h <<\_ACEOF
78962 #define HAVE_FMODF 1
78963 _ACEOF
78965 cat >>confdefs.h <<\_ACEOF
78966 #define HAVE_FREXPF 1
78967 _ACEOF
78969 cat >>confdefs.h <<\_ACEOF
78970 #define HAVE_HYPOT 1
78971 _ACEOF
78973 cat >>confdefs.h <<\_ACEOF
78974 #define HAVE_HYPOTF 1
78975 _ACEOF
78977 cat >>confdefs.h <<\_ACEOF
78978 #define HAVE_ISINF 1
78979 _ACEOF
78981 cat >>confdefs.h <<\_ACEOF
78982 #define HAVE_ISINFF 1
78983 _ACEOF
78985 cat >>confdefs.h <<\_ACEOF
78986 #define HAVE_ISNAN 1
78987 _ACEOF
78989 cat >>confdefs.h <<\_ACEOF
78990 #define HAVE_ISNANF 1
78991 _ACEOF
78993 cat >>confdefs.h <<\_ACEOF
78994 #define HAVE_LOGF 1
78995 _ACEOF
78997 cat >>confdefs.h <<\_ACEOF
78998 #define HAVE_LOG10F 1
78999 _ACEOF
79001 cat >>confdefs.h <<\_ACEOF
79002 #define HAVE_MODFF 1
79003 _ACEOF
79005 cat >>confdefs.h <<\_ACEOF
79006 #define HAVE_SINF 1
79007 _ACEOF
79009 cat >>confdefs.h <<\_ACEOF
79010 #define HAVE_SINHF 1
79011 _ACEOF
79013 cat >>confdefs.h <<\_ACEOF
79014 #define HAVE_SINCOS 1
79015 _ACEOF
79017 cat >>confdefs.h <<\_ACEOF
79018 #define HAVE_SINCOSF 1
79019 _ACEOF
79021 cat >>confdefs.h <<\_ACEOF
79022 #define HAVE_SQRTF 1
79023 _ACEOF
79025 cat >>confdefs.h <<\_ACEOF
79026 #define HAVE_TANF 1
79027 _ACEOF
79029 cat >>confdefs.h <<\_ACEOF
79030 #define HAVE_TANHF 1
79031 _ACEOF
79033 if test x"long_double_math_on_this_cpu" = x"yes"; then
79034 cat >>confdefs.h <<\_ACEOF
79035 #define HAVE_ACOSL 1
79036 _ACEOF
79038 cat >>confdefs.h <<\_ACEOF
79039 #define HAVE_ASINL 1
79040 _ACEOF
79042 cat >>confdefs.h <<\_ACEOF
79043 #define HAVE_ATANL 1
79044 _ACEOF
79046 cat >>confdefs.h <<\_ACEOF
79047 #define HAVE_ATAN2L 1
79048 _ACEOF
79050 cat >>confdefs.h <<\_ACEOF
79051 #define HAVE_CEILL 1
79052 _ACEOF
79054 cat >>confdefs.h <<\_ACEOF
79055 #define HAVE_COPYSIGNL 1
79056 _ACEOF
79058 cat >>confdefs.h <<\_ACEOF
79059 #define HAVE_COSL 1
79060 _ACEOF
79062 cat >>confdefs.h <<\_ACEOF
79063 #define HAVE_COSHL 1
79064 _ACEOF
79066 cat >>confdefs.h <<\_ACEOF
79067 #define HAVE_EXPL 1
79068 _ACEOF
79070 cat >>confdefs.h <<\_ACEOF
79071 #define HAVE_FABSL 1
79072 _ACEOF
79074 cat >>confdefs.h <<\_ACEOF
79075 #define HAVE_FINITEL 1
79076 _ACEOF
79078 cat >>confdefs.h <<\_ACEOF
79079 #define HAVE_FLOORL 1
79080 _ACEOF
79082 cat >>confdefs.h <<\_ACEOF
79083 #define HAVE_FMODL 1
79084 _ACEOF
79086 cat >>confdefs.h <<\_ACEOF
79087 #define HAVE_FREXPL 1
79088 _ACEOF
79090 cat >>confdefs.h <<\_ACEOF
79091 #define HAVE_HYPOTL 1
79092 _ACEOF
79094 cat >>confdefs.h <<\_ACEOF
79095 #define HAVE_ISINFL 1
79096 _ACEOF
79098 cat >>confdefs.h <<\_ACEOF
79099 #define HAVE_ISNANL 1
79100 _ACEOF
79102 cat >>confdefs.h <<\_ACEOF
79103 #define HAVE_LOGL 1
79104 _ACEOF
79106 cat >>confdefs.h <<\_ACEOF
79107 #define HAVE_LOG10L 1
79108 _ACEOF
79110 cat >>confdefs.h <<\_ACEOF
79111 #define HAVE_MODFL 1
79112 _ACEOF
79114 cat >>confdefs.h <<\_ACEOF
79115 #define HAVE_POWL 1
79116 _ACEOF
79118 cat >>confdefs.h <<\_ACEOF
79119 #define HAVE_SINL 1
79120 _ACEOF
79122 cat >>confdefs.h <<\_ACEOF
79123 #define HAVE_SINHL 1
79124 _ACEOF
79126 cat >>confdefs.h <<\_ACEOF
79127 #define HAVE_SINCOSL 1
79128 _ACEOF
79130 cat >>confdefs.h <<\_ACEOF
79131 #define HAVE_SQRTL 1
79132 _ACEOF
79134 cat >>confdefs.h <<\_ACEOF
79135 #define HAVE_TANL 1
79136 _ACEOF
79138 cat >>confdefs.h <<\_ACEOF
79139 #define HAVE_TANHL 1
79140 _ACEOF
79144 *-mingw32*)
79148 for ac_header in sys/types.h locale.h float.h
79150 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
79151 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79152 echo "$as_me:$LINENO: checking for $ac_header" >&5
79153 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79154 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79155 echo $ECHO_N "(cached) $ECHO_C" >&6
79157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79158 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79159 else
79160 # Is the header compilable?
79161 echo "$as_me:$LINENO: checking $ac_header usability" >&5
79162 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
79163 cat >conftest.$ac_ext <<_ACEOF
79164 /* confdefs.h. */
79165 _ACEOF
79166 cat confdefs.h >>conftest.$ac_ext
79167 cat >>conftest.$ac_ext <<_ACEOF
79168 /* end confdefs.h. */
79169 $ac_includes_default
79170 #include <$ac_header>
79171 _ACEOF
79172 rm -f conftest.$ac_objext
79173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79174 (eval $ac_compile) 2>conftest.er1
79175 ac_status=$?
79176 grep -v '^ *+' conftest.er1 >conftest.err
79177 rm -f conftest.er1
79178 cat conftest.err >&5
79179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79180 (exit $ac_status); } &&
79181 { ac_try='test -z "$ac_c_werror_flag"
79182 || test ! -s conftest.err'
79183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79184 (eval $ac_try) 2>&5
79185 ac_status=$?
79186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79187 (exit $ac_status); }; } &&
79188 { ac_try='test -s conftest.$ac_objext'
79189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79190 (eval $ac_try) 2>&5
79191 ac_status=$?
79192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79193 (exit $ac_status); }; }; then
79194 ac_header_compiler=yes
79195 else
79196 echo "$as_me: failed program was:" >&5
79197 sed 's/^/| /' conftest.$ac_ext >&5
79199 ac_header_compiler=no
79201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79202 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79203 echo "${ECHO_T}$ac_header_compiler" >&6
79205 # Is the header present?
79206 echo "$as_me:$LINENO: checking $ac_header presence" >&5
79207 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
79208 cat >conftest.$ac_ext <<_ACEOF
79209 /* confdefs.h. */
79210 _ACEOF
79211 cat confdefs.h >>conftest.$ac_ext
79212 cat >>conftest.$ac_ext <<_ACEOF
79213 /* end confdefs.h. */
79214 #include <$ac_header>
79215 _ACEOF
79216 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79217 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79218 ac_status=$?
79219 grep -v '^ *+' conftest.er1 >conftest.err
79220 rm -f conftest.er1
79221 cat conftest.err >&5
79222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79223 (exit $ac_status); } >/dev/null; then
79224 if test -s conftest.err; then
79225 ac_cpp_err=$ac_c_preproc_warn_flag
79226 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79227 else
79228 ac_cpp_err=
79230 else
79231 ac_cpp_err=yes
79233 if test -z "$ac_cpp_err"; then
79234 ac_header_preproc=yes
79235 else
79236 echo "$as_me: failed program was:" >&5
79237 sed 's/^/| /' conftest.$ac_ext >&5
79239 ac_header_preproc=no
79241 rm -f conftest.err conftest.$ac_ext
79242 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79243 echo "${ECHO_T}$ac_header_preproc" >&6
79245 # So? What about this header?
79246 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79247 yes:no: )
79248 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
79249 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
79250 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
79251 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
79252 ac_header_preproc=yes
79254 no:yes:* )
79255 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
79256 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
79257 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
79258 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
79259 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
79260 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
79261 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
79262 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
79263 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79264 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79265 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
79266 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
79268 cat <<\_ASBOX
79269 ## ----------------------------------------- ##
79270 ## Report this to the package-unused lists. ##
79271 ## ----------------------------------------- ##
79272 _ASBOX
79274 sed "s/^/$as_me: WARNING: /" >&2
79276 esac
79277 echo "$as_me:$LINENO: checking for $ac_header" >&5
79278 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79279 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79280 echo $ECHO_N "(cached) $ECHO_C" >&6
79281 else
79282 eval "$as_ac_Header=\$ac_header_preproc"
79284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79285 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79288 if test `eval echo '${'$as_ac_Header'}'` = yes; then
79289 cat >>confdefs.h <<_ACEOF
79290 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
79291 _ACEOF
79295 done
79298 # If we're not using GNU ld, then there's no point in even trying these
79299 # tests. Check for that first. We should have already tested for gld
79300 # by now (in libtool), but require it now just to be safe...
79301 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
79302 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
79306 # The name set by libtool depends on the version of libtool. Shame on us
79307 # for depending on an impl detail, but c'est la vie. Older versions used
79308 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
79309 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
79310 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
79311 # set (hence we're using an older libtool), then set it.
79312 if test x${with_gnu_ld+set} != xset; then
79313 if test x${ac_cv_prog_gnu_ld+set} != xset; then
79314 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
79315 with_gnu_ld=no
79316 else
79317 with_gnu_ld=$ac_cv_prog_gnu_ld
79321 # Start by getting the version number. I think the libtool test already
79322 # does some of this, but throws away the result.
79324 ldver=`$LD --version 2>/dev/null | head -1 | \
79325 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
79327 glibcxx_gnu_ld_version=`echo $ldver | \
79328 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
79330 # Set --gc-sections.
79331 if test "$with_gnu_ld" = "notbroken"; then
79332 # GNU ld it is! Joy and bunny rabbits!
79334 # All these tests are for C++; save the language and the compiler flags.
79335 # Need to do this so that g++ won't try to link in libstdc++
79336 ac_test_CFLAGS="${CFLAGS+set}"
79337 ac_save_CFLAGS="$CFLAGS"
79338 CFLAGS='-x c++ -Wl,--gc-sections'
79340 # Check for -Wl,--gc-sections
79341 # XXX This test is broken at the moment, as symbols required for linking
79342 # are now in libsupc++ (not built yet). In addition, this test has
79343 # cored on solaris in the past. In addition, --gc-sections doesn't
79344 # really work at the moment (keeps on discarding used sections, first
79345 # .eh_frame and now some of the glibc sections for iconv).
79346 # Bzzzzt. Thanks for playing, maybe next time.
79347 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
79348 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
79349 if test "$cross_compiling" = yes; then
79350 ac_sectionLDflags=yes
79351 else
79352 cat >conftest.$ac_ext <<_ACEOF
79353 /* confdefs.h. */
79354 _ACEOF
79355 cat confdefs.h >>conftest.$ac_ext
79356 cat >>conftest.$ac_ext <<_ACEOF
79357 /* end confdefs.h. */
79359 int main(void)
79361 try { throw 1; }
79362 catch (...) { };
79363 return 0;
79366 _ACEOF
79367 rm -f conftest$ac_exeext
79368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79369 (eval $ac_link) 2>&5
79370 ac_status=$?
79371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79372 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
79373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79374 (eval $ac_try) 2>&5
79375 ac_status=$?
79376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79377 (exit $ac_status); }; }; then
79378 ac_sectionLDflags=yes
79379 else
79380 echo "$as_me: program exited with status $ac_status" >&5
79381 echo "$as_me: failed program was:" >&5
79382 sed 's/^/| /' conftest.$ac_ext >&5
79384 ( exit $ac_status )
79385 ac_sectionLDflags=no
79387 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
79389 if test "$ac_test_CFLAGS" = set; then
79390 CFLAGS="$ac_save_CFLAGS"
79391 else
79392 # this is the suspicious part
79393 CFLAGS=''
79395 if test "$ac_sectionLDflags" = "yes"; then
79396 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
79398 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
79399 echo "${ECHO_T}$ac_sectionLDflags" >&6
79402 # Set linker optimization flags.
79403 if test x"$with_gnu_ld" = x"yes"; then
79404 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
79412 echo "$as_me:$LINENO: checking for main in -lm" >&5
79413 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
79414 if test "${ac_cv_lib_m_main+set}" = set; then
79415 echo $ECHO_N "(cached) $ECHO_C" >&6
79416 else
79417 ac_check_lib_save_LIBS=$LIBS
79418 LIBS="-lm $LIBS"
79419 if test x$gcc_no_link = xyes; then
79420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79422 { (exit 1); exit 1; }; }
79424 cat >conftest.$ac_ext <<_ACEOF
79425 /* confdefs.h. */
79426 _ACEOF
79427 cat confdefs.h >>conftest.$ac_ext
79428 cat >>conftest.$ac_ext <<_ACEOF
79429 /* end confdefs.h. */
79433 main ()
79435 main ();
79437 return 0;
79439 _ACEOF
79440 rm -f conftest.$ac_objext conftest$ac_exeext
79441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79442 (eval $ac_link) 2>conftest.er1
79443 ac_status=$?
79444 grep -v '^ *+' conftest.er1 >conftest.err
79445 rm -f conftest.er1
79446 cat conftest.err >&5
79447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79448 (exit $ac_status); } &&
79449 { ac_try='test -z "$ac_c_werror_flag"
79450 || test ! -s conftest.err'
79451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79452 (eval $ac_try) 2>&5
79453 ac_status=$?
79454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79455 (exit $ac_status); }; } &&
79456 { ac_try='test -s conftest$ac_exeext'
79457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79458 (eval $ac_try) 2>&5
79459 ac_status=$?
79460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79461 (exit $ac_status); }; }; then
79462 ac_cv_lib_m_main=yes
79463 else
79464 echo "$as_me: failed program was:" >&5
79465 sed 's/^/| /' conftest.$ac_ext >&5
79467 ac_cv_lib_m_main=no
79469 rm -f conftest.err conftest.$ac_objext \
79470 conftest$ac_exeext conftest.$ac_ext
79471 LIBS=$ac_check_lib_save_LIBS
79473 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
79474 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
79475 if test $ac_cv_lib_m_main = yes; then
79476 cat >>confdefs.h <<_ACEOF
79477 #define HAVE_LIBM 1
79478 _ACEOF
79480 LIBS="-lm $LIBS"
79485 for ac_func in copysignf
79487 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79488 echo "$as_me:$LINENO: checking for $ac_func" >&5
79489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79490 if eval "test \"\${$as_ac_var+set}\" = set"; then
79491 echo $ECHO_N "(cached) $ECHO_C" >&6
79492 else
79493 if test x$gcc_no_link = xyes; then
79494 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79496 { (exit 1); exit 1; }; }
79498 cat >conftest.$ac_ext <<_ACEOF
79499 /* confdefs.h. */
79500 _ACEOF
79501 cat confdefs.h >>conftest.$ac_ext
79502 cat >>conftest.$ac_ext <<_ACEOF
79503 /* end confdefs.h. */
79504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79506 #define $ac_func innocuous_$ac_func
79508 /* System header to define __stub macros and hopefully few prototypes,
79509 which can conflict with char $ac_func (); below.
79510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79511 <limits.h> exists even on freestanding compilers. */
79513 #ifdef __STDC__
79514 # include <limits.h>
79515 #else
79516 # include <assert.h>
79517 #endif
79519 #undef $ac_func
79521 /* Override any gcc2 internal prototype to avoid an error. */
79522 #ifdef __cplusplus
79523 extern "C"
79525 #endif
79526 /* We use char because int might match the return type of a gcc2
79527 builtin and then its argument prototype would still apply. */
79528 char $ac_func ();
79529 /* The GNU C library defines this for functions which it implements
79530 to always fail with ENOSYS. Some functions are actually named
79531 something starting with __ and the normal name is an alias. */
79532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79533 choke me
79534 #else
79535 char (*f) () = $ac_func;
79536 #endif
79537 #ifdef __cplusplus
79539 #endif
79542 main ()
79544 return f != $ac_func;
79546 return 0;
79548 _ACEOF
79549 rm -f conftest.$ac_objext conftest$ac_exeext
79550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79551 (eval $ac_link) 2>conftest.er1
79552 ac_status=$?
79553 grep -v '^ *+' conftest.er1 >conftest.err
79554 rm -f conftest.er1
79555 cat conftest.err >&5
79556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79557 (exit $ac_status); } &&
79558 { ac_try='test -z "$ac_c_werror_flag"
79559 || test ! -s conftest.err'
79560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79561 (eval $ac_try) 2>&5
79562 ac_status=$?
79563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79564 (exit $ac_status); }; } &&
79565 { ac_try='test -s conftest$ac_exeext'
79566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79567 (eval $ac_try) 2>&5
79568 ac_status=$?
79569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79570 (exit $ac_status); }; }; then
79571 eval "$as_ac_var=yes"
79572 else
79573 echo "$as_me: failed program was:" >&5
79574 sed 's/^/| /' conftest.$ac_ext >&5
79576 eval "$as_ac_var=no"
79578 rm -f conftest.err conftest.$ac_objext \
79579 conftest$ac_exeext conftest.$ac_ext
79581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79582 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79583 if test `eval echo '${'$as_ac_var'}'` = yes; then
79584 cat >>confdefs.h <<_ACEOF
79585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79586 _ACEOF
79588 else
79589 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
79591 done
79595 for ac_func in __signbit
79597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79598 echo "$as_me:$LINENO: checking for $ac_func" >&5
79599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79600 if eval "test \"\${$as_ac_var+set}\" = set"; then
79601 echo $ECHO_N "(cached) $ECHO_C" >&6
79602 else
79603 if test x$gcc_no_link = xyes; then
79604 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79606 { (exit 1); exit 1; }; }
79608 cat >conftest.$ac_ext <<_ACEOF
79609 /* confdefs.h. */
79610 _ACEOF
79611 cat confdefs.h >>conftest.$ac_ext
79612 cat >>conftest.$ac_ext <<_ACEOF
79613 /* end confdefs.h. */
79614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79616 #define $ac_func innocuous_$ac_func
79618 /* System header to define __stub macros and hopefully few prototypes,
79619 which can conflict with char $ac_func (); below.
79620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79621 <limits.h> exists even on freestanding compilers. */
79623 #ifdef __STDC__
79624 # include <limits.h>
79625 #else
79626 # include <assert.h>
79627 #endif
79629 #undef $ac_func
79631 /* Override any gcc2 internal prototype to avoid an error. */
79632 #ifdef __cplusplus
79633 extern "C"
79635 #endif
79636 /* We use char because int might match the return type of a gcc2
79637 builtin and then its argument prototype would still apply. */
79638 char $ac_func ();
79639 /* The GNU C library defines this for functions which it implements
79640 to always fail with ENOSYS. Some functions are actually named
79641 something starting with __ and the normal name is an alias. */
79642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79643 choke me
79644 #else
79645 char (*f) () = $ac_func;
79646 #endif
79647 #ifdef __cplusplus
79649 #endif
79652 main ()
79654 return f != $ac_func;
79656 return 0;
79658 _ACEOF
79659 rm -f conftest.$ac_objext conftest$ac_exeext
79660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79661 (eval $ac_link) 2>conftest.er1
79662 ac_status=$?
79663 grep -v '^ *+' conftest.er1 >conftest.err
79664 rm -f conftest.er1
79665 cat conftest.err >&5
79666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79667 (exit $ac_status); } &&
79668 { ac_try='test -z "$ac_c_werror_flag"
79669 || test ! -s conftest.err'
79670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79671 (eval $ac_try) 2>&5
79672 ac_status=$?
79673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79674 (exit $ac_status); }; } &&
79675 { ac_try='test -s conftest$ac_exeext'
79676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79677 (eval $ac_try) 2>&5
79678 ac_status=$?
79679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79680 (exit $ac_status); }; }; then
79681 eval "$as_ac_var=yes"
79682 else
79683 echo "$as_me: failed program was:" >&5
79684 sed 's/^/| /' conftest.$ac_ext >&5
79686 eval "$as_ac_var=no"
79688 rm -f conftest.err conftest.$ac_objext \
79689 conftest$ac_exeext conftest.$ac_ext
79691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79693 if test `eval echo '${'$as_ac_var'}'` = yes; then
79694 cat >>confdefs.h <<_ACEOF
79695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79696 _ACEOF
79698 else
79699 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
79701 done
79705 for ac_func in __signbitf
79707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79708 echo "$as_me:$LINENO: checking for $ac_func" >&5
79709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79710 if eval "test \"\${$as_ac_var+set}\" = set"; then
79711 echo $ECHO_N "(cached) $ECHO_C" >&6
79712 else
79713 if test x$gcc_no_link = xyes; then
79714 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79716 { (exit 1); exit 1; }; }
79718 cat >conftest.$ac_ext <<_ACEOF
79719 /* confdefs.h. */
79720 _ACEOF
79721 cat confdefs.h >>conftest.$ac_ext
79722 cat >>conftest.$ac_ext <<_ACEOF
79723 /* end confdefs.h. */
79724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79725 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79726 #define $ac_func innocuous_$ac_func
79728 /* System header to define __stub macros and hopefully few prototypes,
79729 which can conflict with char $ac_func (); below.
79730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79731 <limits.h> exists even on freestanding compilers. */
79733 #ifdef __STDC__
79734 # include <limits.h>
79735 #else
79736 # include <assert.h>
79737 #endif
79739 #undef $ac_func
79741 /* Override any gcc2 internal prototype to avoid an error. */
79742 #ifdef __cplusplus
79743 extern "C"
79745 #endif
79746 /* We use char because int might match the return type of a gcc2
79747 builtin and then its argument prototype would still apply. */
79748 char $ac_func ();
79749 /* The GNU C library defines this for functions which it implements
79750 to always fail with ENOSYS. Some functions are actually named
79751 something starting with __ and the normal name is an alias. */
79752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79753 choke me
79754 #else
79755 char (*f) () = $ac_func;
79756 #endif
79757 #ifdef __cplusplus
79759 #endif
79762 main ()
79764 return f != $ac_func;
79766 return 0;
79768 _ACEOF
79769 rm -f conftest.$ac_objext conftest$ac_exeext
79770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79771 (eval $ac_link) 2>conftest.er1
79772 ac_status=$?
79773 grep -v '^ *+' conftest.er1 >conftest.err
79774 rm -f conftest.er1
79775 cat conftest.err >&5
79776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79777 (exit $ac_status); } &&
79778 { ac_try='test -z "$ac_c_werror_flag"
79779 || test ! -s conftest.err'
79780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79781 (eval $ac_try) 2>&5
79782 ac_status=$?
79783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79784 (exit $ac_status); }; } &&
79785 { ac_try='test -s conftest$ac_exeext'
79786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79787 (eval $ac_try) 2>&5
79788 ac_status=$?
79789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79790 (exit $ac_status); }; }; then
79791 eval "$as_ac_var=yes"
79792 else
79793 echo "$as_me: failed program was:" >&5
79794 sed 's/^/| /' conftest.$ac_ext >&5
79796 eval "$as_ac_var=no"
79798 rm -f conftest.err conftest.$ac_objext \
79799 conftest$ac_exeext conftest.$ac_ext
79801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79803 if test `eval echo '${'$as_ac_var'}'` = yes; then
79804 cat >>confdefs.h <<_ACEOF
79805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79806 _ACEOF
79808 else
79809 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
79811 done
79814 if test x$ac_cv_func_copysignl = x"yes"; then
79816 for ac_func in __signbitl
79818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79819 echo "$as_me:$LINENO: checking for $ac_func" >&5
79820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79821 if eval "test \"\${$as_ac_var+set}\" = set"; then
79822 echo $ECHO_N "(cached) $ECHO_C" >&6
79823 else
79824 if test x$gcc_no_link = xyes; then
79825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79827 { (exit 1); exit 1; }; }
79829 cat >conftest.$ac_ext <<_ACEOF
79830 /* confdefs.h. */
79831 _ACEOF
79832 cat confdefs.h >>conftest.$ac_ext
79833 cat >>conftest.$ac_ext <<_ACEOF
79834 /* end confdefs.h. */
79835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79837 #define $ac_func innocuous_$ac_func
79839 /* System header to define __stub macros and hopefully few prototypes,
79840 which can conflict with char $ac_func (); below.
79841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79842 <limits.h> exists even on freestanding compilers. */
79844 #ifdef __STDC__
79845 # include <limits.h>
79846 #else
79847 # include <assert.h>
79848 #endif
79850 #undef $ac_func
79852 /* Override any gcc2 internal prototype to avoid an error. */
79853 #ifdef __cplusplus
79854 extern "C"
79856 #endif
79857 /* We use char because int might match the return type of a gcc2
79858 builtin and then its argument prototype would still apply. */
79859 char $ac_func ();
79860 /* The GNU C library defines this for functions which it implements
79861 to always fail with ENOSYS. Some functions are actually named
79862 something starting with __ and the normal name is an alias. */
79863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79864 choke me
79865 #else
79866 char (*f) () = $ac_func;
79867 #endif
79868 #ifdef __cplusplus
79870 #endif
79873 main ()
79875 return f != $ac_func;
79877 return 0;
79879 _ACEOF
79880 rm -f conftest.$ac_objext conftest$ac_exeext
79881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79882 (eval $ac_link) 2>conftest.er1
79883 ac_status=$?
79884 grep -v '^ *+' conftest.er1 >conftest.err
79885 rm -f conftest.er1
79886 cat conftest.err >&5
79887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79888 (exit $ac_status); } &&
79889 { ac_try='test -z "$ac_c_werror_flag"
79890 || test ! -s conftest.err'
79891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79892 (eval $ac_try) 2>&5
79893 ac_status=$?
79894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79895 (exit $ac_status); }; } &&
79896 { ac_try='test -s conftest$ac_exeext'
79897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79898 (eval $ac_try) 2>&5
79899 ac_status=$?
79900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79901 (exit $ac_status); }; }; then
79902 eval "$as_ac_var=yes"
79903 else
79904 echo "$as_me: failed program was:" >&5
79905 sed 's/^/| /' conftest.$ac_ext >&5
79907 eval "$as_ac_var=no"
79909 rm -f conftest.err conftest.$ac_objext \
79910 conftest$ac_exeext conftest.$ac_ext
79912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79914 if test `eval echo '${'$as_ac_var'}'` = yes; then
79915 cat >>confdefs.h <<_ACEOF
79916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79917 _ACEOF
79919 else
79920 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
79922 done
79926 # Used in libmath/Makefile.am.
79927 if test -n "$LIBMATHOBJS"; then
79928 need_libmath=yes
79934 enable_iconv=no
79935 # Only continue checking if the ISO C99 headers exist and support is on.
79936 if test x"$enable_wchar_t" = xyes; then
79938 # Use iconv for wchar_t to char conversions. As such, check for
79939 # X/Open Portability Guide, version 2 features (XPG2).
79940 if test "${ac_cv_header_iconv_h+set}" = set; then
79941 echo "$as_me:$LINENO: checking for iconv.h" >&5
79942 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79943 if test "${ac_cv_header_iconv_h+set}" = set; then
79944 echo $ECHO_N "(cached) $ECHO_C" >&6
79946 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79947 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79948 else
79949 # Is the header compilable?
79950 echo "$as_me:$LINENO: checking iconv.h usability" >&5
79951 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
79952 cat >conftest.$ac_ext <<_ACEOF
79953 /* confdefs.h. */
79954 _ACEOF
79955 cat confdefs.h >>conftest.$ac_ext
79956 cat >>conftest.$ac_ext <<_ACEOF
79957 /* end confdefs.h. */
79958 $ac_includes_default
79959 #include <iconv.h>
79960 _ACEOF
79961 rm -f conftest.$ac_objext
79962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79963 (eval $ac_compile) 2>conftest.er1
79964 ac_status=$?
79965 grep -v '^ *+' conftest.er1 >conftest.err
79966 rm -f conftest.er1
79967 cat conftest.err >&5
79968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79969 (exit $ac_status); } &&
79970 { ac_try='test -z "$ac_c_werror_flag"
79971 || test ! -s conftest.err'
79972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79973 (eval $ac_try) 2>&5
79974 ac_status=$?
79975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79976 (exit $ac_status); }; } &&
79977 { ac_try='test -s conftest.$ac_objext'
79978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79979 (eval $ac_try) 2>&5
79980 ac_status=$?
79981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79982 (exit $ac_status); }; }; then
79983 ac_header_compiler=yes
79984 else
79985 echo "$as_me: failed program was:" >&5
79986 sed 's/^/| /' conftest.$ac_ext >&5
79988 ac_header_compiler=no
79990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79991 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79992 echo "${ECHO_T}$ac_header_compiler" >&6
79994 # Is the header present?
79995 echo "$as_me:$LINENO: checking iconv.h presence" >&5
79996 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
79997 cat >conftest.$ac_ext <<_ACEOF
79998 /* confdefs.h. */
79999 _ACEOF
80000 cat confdefs.h >>conftest.$ac_ext
80001 cat >>conftest.$ac_ext <<_ACEOF
80002 /* end confdefs.h. */
80003 #include <iconv.h>
80004 _ACEOF
80005 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80006 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80007 ac_status=$?
80008 grep -v '^ *+' conftest.er1 >conftest.err
80009 rm -f conftest.er1
80010 cat conftest.err >&5
80011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80012 (exit $ac_status); } >/dev/null; then
80013 if test -s conftest.err; then
80014 ac_cpp_err=$ac_c_preproc_warn_flag
80015 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80016 else
80017 ac_cpp_err=
80019 else
80020 ac_cpp_err=yes
80022 if test -z "$ac_cpp_err"; then
80023 ac_header_preproc=yes
80024 else
80025 echo "$as_me: failed program was:" >&5
80026 sed 's/^/| /' conftest.$ac_ext >&5
80028 ac_header_preproc=no
80030 rm -f conftest.err conftest.$ac_ext
80031 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80032 echo "${ECHO_T}$ac_header_preproc" >&6
80034 # So? What about this header?
80035 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80036 yes:no: )
80037 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
80038 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
80039 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
80040 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
80041 ac_header_preproc=yes
80043 no:yes:* )
80044 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
80045 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
80046 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
80047 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
80048 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
80049 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
80050 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
80051 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
80052 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
80053 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
80054 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
80055 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
80057 cat <<\_ASBOX
80058 ## ----------------------------------------- ##
80059 ## Report this to the package-unused lists. ##
80060 ## ----------------------------------------- ##
80061 _ASBOX
80063 sed "s/^/$as_me: WARNING: /" >&2
80065 esac
80066 echo "$as_me:$LINENO: checking for iconv.h" >&5
80067 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
80068 if test "${ac_cv_header_iconv_h+set}" = set; then
80069 echo $ECHO_N "(cached) $ECHO_C" >&6
80070 else
80071 ac_cv_header_iconv_h=$ac_header_preproc
80073 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
80074 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
80077 if test $ac_cv_header_iconv_h = yes; then
80078 ac_has_iconv_h=yes
80079 else
80080 ac_has_iconv_h=no
80084 if test "${ac_cv_header_langinfo_h+set}" = set; then
80085 echo "$as_me:$LINENO: checking for langinfo.h" >&5
80086 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
80087 if test "${ac_cv_header_langinfo_h+set}" = set; then
80088 echo $ECHO_N "(cached) $ECHO_C" >&6
80090 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
80091 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
80092 else
80093 # Is the header compilable?
80094 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
80095 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
80096 cat >conftest.$ac_ext <<_ACEOF
80097 /* confdefs.h. */
80098 _ACEOF
80099 cat confdefs.h >>conftest.$ac_ext
80100 cat >>conftest.$ac_ext <<_ACEOF
80101 /* end confdefs.h. */
80102 $ac_includes_default
80103 #include <langinfo.h>
80104 _ACEOF
80105 rm -f conftest.$ac_objext
80106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80107 (eval $ac_compile) 2>conftest.er1
80108 ac_status=$?
80109 grep -v '^ *+' conftest.er1 >conftest.err
80110 rm -f conftest.er1
80111 cat conftest.err >&5
80112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80113 (exit $ac_status); } &&
80114 { ac_try='test -z "$ac_c_werror_flag"
80115 || test ! -s conftest.err'
80116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80117 (eval $ac_try) 2>&5
80118 ac_status=$?
80119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80120 (exit $ac_status); }; } &&
80121 { ac_try='test -s conftest.$ac_objext'
80122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80123 (eval $ac_try) 2>&5
80124 ac_status=$?
80125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80126 (exit $ac_status); }; }; then
80127 ac_header_compiler=yes
80128 else
80129 echo "$as_me: failed program was:" >&5
80130 sed 's/^/| /' conftest.$ac_ext >&5
80132 ac_header_compiler=no
80134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80135 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80136 echo "${ECHO_T}$ac_header_compiler" >&6
80138 # Is the header present?
80139 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
80140 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
80141 cat >conftest.$ac_ext <<_ACEOF
80142 /* confdefs.h. */
80143 _ACEOF
80144 cat confdefs.h >>conftest.$ac_ext
80145 cat >>conftest.$ac_ext <<_ACEOF
80146 /* end confdefs.h. */
80147 #include <langinfo.h>
80148 _ACEOF
80149 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80150 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80151 ac_status=$?
80152 grep -v '^ *+' conftest.er1 >conftest.err
80153 rm -f conftest.er1
80154 cat conftest.err >&5
80155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80156 (exit $ac_status); } >/dev/null; then
80157 if test -s conftest.err; then
80158 ac_cpp_err=$ac_c_preproc_warn_flag
80159 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80160 else
80161 ac_cpp_err=
80163 else
80164 ac_cpp_err=yes
80166 if test -z "$ac_cpp_err"; then
80167 ac_header_preproc=yes
80168 else
80169 echo "$as_me: failed program was:" >&5
80170 sed 's/^/| /' conftest.$ac_ext >&5
80172 ac_header_preproc=no
80174 rm -f conftest.err conftest.$ac_ext
80175 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80176 echo "${ECHO_T}$ac_header_preproc" >&6
80178 # So? What about this header?
80179 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80180 yes:no: )
80181 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
80182 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
80183 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
80184 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
80185 ac_header_preproc=yes
80187 no:yes:* )
80188 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
80189 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
80190 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
80191 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
80192 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
80193 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
80194 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
80195 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
80196 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
80197 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
80198 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
80199 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
80201 cat <<\_ASBOX
80202 ## ----------------------------------------- ##
80203 ## Report this to the package-unused lists. ##
80204 ## ----------------------------------------- ##
80205 _ASBOX
80207 sed "s/^/$as_me: WARNING: /" >&2
80209 esac
80210 echo "$as_me:$LINENO: checking for langinfo.h" >&5
80211 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
80212 if test "${ac_cv_header_langinfo_h+set}" = set; then
80213 echo $ECHO_N "(cached) $ECHO_C" >&6
80214 else
80215 ac_cv_header_langinfo_h=$ac_header_preproc
80217 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
80218 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
80221 if test $ac_cv_header_langinfo_h = yes; then
80222 ac_has_langinfo_h=yes
80223 else
80224 ac_has_langinfo_h=no
80229 # Check for existence of libiconv.a providing XPG2 wchar_t support.
80230 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
80231 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
80232 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
80233 echo $ECHO_N "(cached) $ECHO_C" >&6
80234 else
80235 ac_check_lib_save_LIBS=$LIBS
80236 LIBS="-liconv $LIBS"
80237 if test x$gcc_no_link = xyes; then
80238 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80240 { (exit 1); exit 1; }; }
80242 cat >conftest.$ac_ext <<_ACEOF
80243 /* confdefs.h. */
80244 _ACEOF
80245 cat confdefs.h >>conftest.$ac_ext
80246 cat >>conftest.$ac_ext <<_ACEOF
80247 /* end confdefs.h. */
80249 /* Override any gcc2 internal prototype to avoid an error. */
80250 #ifdef __cplusplus
80251 extern "C"
80252 #endif
80253 /* We use char because int might match the return type of a gcc2
80254 builtin and then its argument prototype would still apply. */
80255 char iconv ();
80257 main ()
80259 iconv ();
80261 return 0;
80263 _ACEOF
80264 rm -f conftest.$ac_objext conftest$ac_exeext
80265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80266 (eval $ac_link) 2>conftest.er1
80267 ac_status=$?
80268 grep -v '^ *+' conftest.er1 >conftest.err
80269 rm -f conftest.er1
80270 cat conftest.err >&5
80271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80272 (exit $ac_status); } &&
80273 { ac_try='test -z "$ac_c_werror_flag"
80274 || test ! -s conftest.err'
80275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80276 (eval $ac_try) 2>&5
80277 ac_status=$?
80278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80279 (exit $ac_status); }; } &&
80280 { ac_try='test -s conftest$ac_exeext'
80281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80282 (eval $ac_try) 2>&5
80283 ac_status=$?
80284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80285 (exit $ac_status); }; }; then
80286 ac_cv_lib_iconv_iconv=yes
80287 else
80288 echo "$as_me: failed program was:" >&5
80289 sed 's/^/| /' conftest.$ac_ext >&5
80291 ac_cv_lib_iconv_iconv=no
80293 rm -f conftest.err conftest.$ac_objext \
80294 conftest$ac_exeext conftest.$ac_ext
80295 LIBS=$ac_check_lib_save_LIBS
80297 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
80298 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
80299 if test $ac_cv_lib_iconv_iconv = yes; then
80300 LIBICONV="-liconv"
80303 ac_save_LIBS="$LIBS"
80304 LIBS="$LIBS $LIBICONV"
80311 for ac_func in iconv_open iconv_close iconv nl_langinfo
80313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80314 echo "$as_me:$LINENO: checking for $ac_func" >&5
80315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80316 if eval "test \"\${$as_ac_var+set}\" = set"; then
80317 echo $ECHO_N "(cached) $ECHO_C" >&6
80318 else
80319 if test x$gcc_no_link = xyes; then
80320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80322 { (exit 1); exit 1; }; }
80324 cat >conftest.$ac_ext <<_ACEOF
80325 /* confdefs.h. */
80326 _ACEOF
80327 cat confdefs.h >>conftest.$ac_ext
80328 cat >>conftest.$ac_ext <<_ACEOF
80329 /* end confdefs.h. */
80330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80332 #define $ac_func innocuous_$ac_func
80334 /* System header to define __stub macros and hopefully few prototypes,
80335 which can conflict with char $ac_func (); below.
80336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80337 <limits.h> exists even on freestanding compilers. */
80339 #ifdef __STDC__
80340 # include <limits.h>
80341 #else
80342 # include <assert.h>
80343 #endif
80345 #undef $ac_func
80347 /* Override any gcc2 internal prototype to avoid an error. */
80348 #ifdef __cplusplus
80349 extern "C"
80351 #endif
80352 /* We use char because int might match the return type of a gcc2
80353 builtin and then its argument prototype would still apply. */
80354 char $ac_func ();
80355 /* The GNU C library defines this for functions which it implements
80356 to always fail with ENOSYS. Some functions are actually named
80357 something starting with __ and the normal name is an alias. */
80358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80359 choke me
80360 #else
80361 char (*f) () = $ac_func;
80362 #endif
80363 #ifdef __cplusplus
80365 #endif
80368 main ()
80370 return f != $ac_func;
80372 return 0;
80374 _ACEOF
80375 rm -f conftest.$ac_objext conftest$ac_exeext
80376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80377 (eval $ac_link) 2>conftest.er1
80378 ac_status=$?
80379 grep -v '^ *+' conftest.er1 >conftest.err
80380 rm -f conftest.er1
80381 cat conftest.err >&5
80382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80383 (exit $ac_status); } &&
80384 { ac_try='test -z "$ac_c_werror_flag"
80385 || test ! -s conftest.err'
80386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80387 (eval $ac_try) 2>&5
80388 ac_status=$?
80389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80390 (exit $ac_status); }; } &&
80391 { ac_try='test -s conftest$ac_exeext'
80392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80393 (eval $ac_try) 2>&5
80394 ac_status=$?
80395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80396 (exit $ac_status); }; }; then
80397 eval "$as_ac_var=yes"
80398 else
80399 echo "$as_me: failed program was:" >&5
80400 sed 's/^/| /' conftest.$ac_ext >&5
80402 eval "$as_ac_var=no"
80404 rm -f conftest.err conftest.$ac_objext \
80405 conftest$ac_exeext conftest.$ac_ext
80407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80409 if test `eval echo '${'$as_ac_var'}'` = yes; then
80410 cat >>confdefs.h <<_ACEOF
80411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80412 _ACEOF
80413 ac_XPG2funcs=yes
80414 else
80415 ac_XPG2funcs=no
80417 done
80420 LIBS="$ac_save_LIBS"
80422 if test x"$ac_has_iconv_h" = xyes &&
80423 test x"$ac_has_langinfo_h" = xyes &&
80424 test x"$ac_XPG2funcs" = xyes;
80425 then
80427 cat >>confdefs.h <<\_ACEOF
80428 #define _GLIBCXX_USE_ICONV 1
80429 _ACEOF
80431 enable_iconv=yes
80434 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
80435 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
80436 echo "$as_me:$LINENO: result: $enable_iconv" >&5
80437 echo "${ECHO_T}$enable_iconv" >&6
80440 *-netbsd*)
80453 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
80454 machine/endian.h machine/param.h sys/machine.h sys/types.h \
80455 fp.h locale.h float.h inttypes.h
80457 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80458 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80459 echo "$as_me:$LINENO: checking for $ac_header" >&5
80460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80462 echo $ECHO_N "(cached) $ECHO_C" >&6
80464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80465 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80466 else
80467 # Is the header compilable?
80468 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80469 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80470 cat >conftest.$ac_ext <<_ACEOF
80471 /* confdefs.h. */
80472 _ACEOF
80473 cat confdefs.h >>conftest.$ac_ext
80474 cat >>conftest.$ac_ext <<_ACEOF
80475 /* end confdefs.h. */
80476 $ac_includes_default
80477 #include <$ac_header>
80478 _ACEOF
80479 rm -f conftest.$ac_objext
80480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80481 (eval $ac_compile) 2>conftest.er1
80482 ac_status=$?
80483 grep -v '^ *+' conftest.er1 >conftest.err
80484 rm -f conftest.er1
80485 cat conftest.err >&5
80486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80487 (exit $ac_status); } &&
80488 { ac_try='test -z "$ac_c_werror_flag"
80489 || test ! -s conftest.err'
80490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80491 (eval $ac_try) 2>&5
80492 ac_status=$?
80493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80494 (exit $ac_status); }; } &&
80495 { ac_try='test -s conftest.$ac_objext'
80496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80497 (eval $ac_try) 2>&5
80498 ac_status=$?
80499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80500 (exit $ac_status); }; }; then
80501 ac_header_compiler=yes
80502 else
80503 echo "$as_me: failed program was:" >&5
80504 sed 's/^/| /' conftest.$ac_ext >&5
80506 ac_header_compiler=no
80508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80509 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80510 echo "${ECHO_T}$ac_header_compiler" >&6
80512 # Is the header present?
80513 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80514 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80515 cat >conftest.$ac_ext <<_ACEOF
80516 /* confdefs.h. */
80517 _ACEOF
80518 cat confdefs.h >>conftest.$ac_ext
80519 cat >>conftest.$ac_ext <<_ACEOF
80520 /* end confdefs.h. */
80521 #include <$ac_header>
80522 _ACEOF
80523 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80524 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80525 ac_status=$?
80526 grep -v '^ *+' conftest.er1 >conftest.err
80527 rm -f conftest.er1
80528 cat conftest.err >&5
80529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80530 (exit $ac_status); } >/dev/null; then
80531 if test -s conftest.err; then
80532 ac_cpp_err=$ac_c_preproc_warn_flag
80533 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80534 else
80535 ac_cpp_err=
80537 else
80538 ac_cpp_err=yes
80540 if test -z "$ac_cpp_err"; then
80541 ac_header_preproc=yes
80542 else
80543 echo "$as_me: failed program was:" >&5
80544 sed 's/^/| /' conftest.$ac_ext >&5
80546 ac_header_preproc=no
80548 rm -f conftest.err conftest.$ac_ext
80549 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80550 echo "${ECHO_T}$ac_header_preproc" >&6
80552 # So? What about this header?
80553 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80554 yes:no: )
80555 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80556 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80557 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80558 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80559 ac_header_preproc=yes
80561 no:yes:* )
80562 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80563 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80564 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80565 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80566 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80567 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80568 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
80569 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
80570 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80571 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80572 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80573 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80575 cat <<\_ASBOX
80576 ## ----------------------------------------- ##
80577 ## Report this to the package-unused lists. ##
80578 ## ----------------------------------------- ##
80579 _ASBOX
80581 sed "s/^/$as_me: WARNING: /" >&2
80583 esac
80584 echo "$as_me:$LINENO: checking for $ac_header" >&5
80585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80586 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80587 echo $ECHO_N "(cached) $ECHO_C" >&6
80588 else
80589 eval "$as_ac_Header=\$ac_header_preproc"
80591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80592 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80595 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80596 cat >>confdefs.h <<_ACEOF
80597 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80598 _ACEOF
80602 done
80604 SECTION_FLAGS='-ffunction-sections -fdata-sections'
80607 # If we're not using GNU ld, then there's no point in even trying these
80608 # tests. Check for that first. We should have already tested for gld
80609 # by now (in libtool), but require it now just to be safe...
80610 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
80611 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
80615 # The name set by libtool depends on the version of libtool. Shame on us
80616 # for depending on an impl detail, but c'est la vie. Older versions used
80617 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
80618 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
80619 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
80620 # set (hence we're using an older libtool), then set it.
80621 if test x${with_gnu_ld+set} != xset; then
80622 if test x${ac_cv_prog_gnu_ld+set} != xset; then
80623 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
80624 with_gnu_ld=no
80625 else
80626 with_gnu_ld=$ac_cv_prog_gnu_ld
80630 # Start by getting the version number. I think the libtool test already
80631 # does some of this, but throws away the result.
80633 ldver=`$LD --version 2>/dev/null | head -1 | \
80634 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
80636 glibcxx_gnu_ld_version=`echo $ldver | \
80637 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
80639 # Set --gc-sections.
80640 if test "$with_gnu_ld" = "notbroken"; then
80641 # GNU ld it is! Joy and bunny rabbits!
80643 # All these tests are for C++; save the language and the compiler flags.
80644 # Need to do this so that g++ won't try to link in libstdc++
80645 ac_test_CFLAGS="${CFLAGS+set}"
80646 ac_save_CFLAGS="$CFLAGS"
80647 CFLAGS='-x c++ -Wl,--gc-sections'
80649 # Check for -Wl,--gc-sections
80650 # XXX This test is broken at the moment, as symbols required for linking
80651 # are now in libsupc++ (not built yet). In addition, this test has
80652 # cored on solaris in the past. In addition, --gc-sections doesn't
80653 # really work at the moment (keeps on discarding used sections, first
80654 # .eh_frame and now some of the glibc sections for iconv).
80655 # Bzzzzt. Thanks for playing, maybe next time.
80656 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
80657 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
80658 if test "$cross_compiling" = yes; then
80659 ac_sectionLDflags=yes
80660 else
80661 cat >conftest.$ac_ext <<_ACEOF
80662 /* confdefs.h. */
80663 _ACEOF
80664 cat confdefs.h >>conftest.$ac_ext
80665 cat >>conftest.$ac_ext <<_ACEOF
80666 /* end confdefs.h. */
80668 int main(void)
80670 try { throw 1; }
80671 catch (...) { };
80672 return 0;
80675 _ACEOF
80676 rm -f conftest$ac_exeext
80677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80678 (eval $ac_link) 2>&5
80679 ac_status=$?
80680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80681 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
80682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80683 (eval $ac_try) 2>&5
80684 ac_status=$?
80685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80686 (exit $ac_status); }; }; then
80687 ac_sectionLDflags=yes
80688 else
80689 echo "$as_me: program exited with status $ac_status" >&5
80690 echo "$as_me: failed program was:" >&5
80691 sed 's/^/| /' conftest.$ac_ext >&5
80693 ( exit $ac_status )
80694 ac_sectionLDflags=no
80696 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
80698 if test "$ac_test_CFLAGS" = set; then
80699 CFLAGS="$ac_save_CFLAGS"
80700 else
80701 # this is the suspicious part
80702 CFLAGS=''
80704 if test "$ac_sectionLDflags" = "yes"; then
80705 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
80707 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
80708 echo "${ECHO_T}$ac_sectionLDflags" >&6
80711 # Set linker optimization flags.
80712 if test x"$with_gnu_ld" = x"yes"; then
80713 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
80721 echo "$as_me:$LINENO: checking for main in -lm" >&5
80722 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
80723 if test "${ac_cv_lib_m_main+set}" = set; then
80724 echo $ECHO_N "(cached) $ECHO_C" >&6
80725 else
80726 ac_check_lib_save_LIBS=$LIBS
80727 LIBS="-lm $LIBS"
80728 if test x$gcc_no_link = xyes; then
80729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80731 { (exit 1); exit 1; }; }
80733 cat >conftest.$ac_ext <<_ACEOF
80734 /* confdefs.h. */
80735 _ACEOF
80736 cat confdefs.h >>conftest.$ac_ext
80737 cat >>conftest.$ac_ext <<_ACEOF
80738 /* end confdefs.h. */
80742 main ()
80744 main ();
80746 return 0;
80748 _ACEOF
80749 rm -f conftest.$ac_objext conftest$ac_exeext
80750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80751 (eval $ac_link) 2>conftest.er1
80752 ac_status=$?
80753 grep -v '^ *+' conftest.er1 >conftest.err
80754 rm -f conftest.er1
80755 cat conftest.err >&5
80756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80757 (exit $ac_status); } &&
80758 { ac_try='test -z "$ac_c_werror_flag"
80759 || test ! -s conftest.err'
80760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80761 (eval $ac_try) 2>&5
80762 ac_status=$?
80763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80764 (exit $ac_status); }; } &&
80765 { ac_try='test -s conftest$ac_exeext'
80766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80767 (eval $ac_try) 2>&5
80768 ac_status=$?
80769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80770 (exit $ac_status); }; }; then
80771 ac_cv_lib_m_main=yes
80772 else
80773 echo "$as_me: failed program was:" >&5
80774 sed 's/^/| /' conftest.$ac_ext >&5
80776 ac_cv_lib_m_main=no
80778 rm -f conftest.err conftest.$ac_objext \
80779 conftest$ac_exeext conftest.$ac_ext
80780 LIBS=$ac_check_lib_save_LIBS
80782 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
80783 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
80784 if test $ac_cv_lib_m_main = yes; then
80785 cat >>confdefs.h <<_ACEOF
80786 #define HAVE_LIBM 1
80787 _ACEOF
80789 LIBS="-lm $LIBS"
80794 for ac_func in copysignf
80796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80797 echo "$as_me:$LINENO: checking for $ac_func" >&5
80798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80799 if eval "test \"\${$as_ac_var+set}\" = set"; then
80800 echo $ECHO_N "(cached) $ECHO_C" >&6
80801 else
80802 if test x$gcc_no_link = xyes; then
80803 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80805 { (exit 1); exit 1; }; }
80807 cat >conftest.$ac_ext <<_ACEOF
80808 /* confdefs.h. */
80809 _ACEOF
80810 cat confdefs.h >>conftest.$ac_ext
80811 cat >>conftest.$ac_ext <<_ACEOF
80812 /* end confdefs.h. */
80813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80815 #define $ac_func innocuous_$ac_func
80817 /* System header to define __stub macros and hopefully few prototypes,
80818 which can conflict with char $ac_func (); below.
80819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80820 <limits.h> exists even on freestanding compilers. */
80822 #ifdef __STDC__
80823 # include <limits.h>
80824 #else
80825 # include <assert.h>
80826 #endif
80828 #undef $ac_func
80830 /* Override any gcc2 internal prototype to avoid an error. */
80831 #ifdef __cplusplus
80832 extern "C"
80834 #endif
80835 /* We use char because int might match the return type of a gcc2
80836 builtin and then its argument prototype would still apply. */
80837 char $ac_func ();
80838 /* The GNU C library defines this for functions which it implements
80839 to always fail with ENOSYS. Some functions are actually named
80840 something starting with __ and the normal name is an alias. */
80841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80842 choke me
80843 #else
80844 char (*f) () = $ac_func;
80845 #endif
80846 #ifdef __cplusplus
80848 #endif
80851 main ()
80853 return f != $ac_func;
80855 return 0;
80857 _ACEOF
80858 rm -f conftest.$ac_objext conftest$ac_exeext
80859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80860 (eval $ac_link) 2>conftest.er1
80861 ac_status=$?
80862 grep -v '^ *+' conftest.er1 >conftest.err
80863 rm -f conftest.er1
80864 cat conftest.err >&5
80865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80866 (exit $ac_status); } &&
80867 { ac_try='test -z "$ac_c_werror_flag"
80868 || test ! -s conftest.err'
80869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80870 (eval $ac_try) 2>&5
80871 ac_status=$?
80872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80873 (exit $ac_status); }; } &&
80874 { ac_try='test -s conftest$ac_exeext'
80875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80876 (eval $ac_try) 2>&5
80877 ac_status=$?
80878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80879 (exit $ac_status); }; }; then
80880 eval "$as_ac_var=yes"
80881 else
80882 echo "$as_me: failed program was:" >&5
80883 sed 's/^/| /' conftest.$ac_ext >&5
80885 eval "$as_ac_var=no"
80887 rm -f conftest.err conftest.$ac_objext \
80888 conftest$ac_exeext conftest.$ac_ext
80890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80892 if test `eval echo '${'$as_ac_var'}'` = yes; then
80893 cat >>confdefs.h <<_ACEOF
80894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80895 _ACEOF
80897 else
80898 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
80900 done
80904 for ac_func in __signbit
80906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80907 echo "$as_me:$LINENO: checking for $ac_func" >&5
80908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80909 if eval "test \"\${$as_ac_var+set}\" = set"; then
80910 echo $ECHO_N "(cached) $ECHO_C" >&6
80911 else
80912 if test x$gcc_no_link = xyes; then
80913 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80915 { (exit 1); exit 1; }; }
80917 cat >conftest.$ac_ext <<_ACEOF
80918 /* confdefs.h. */
80919 _ACEOF
80920 cat confdefs.h >>conftest.$ac_ext
80921 cat >>conftest.$ac_ext <<_ACEOF
80922 /* end confdefs.h. */
80923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80925 #define $ac_func innocuous_$ac_func
80927 /* System header to define __stub macros and hopefully few prototypes,
80928 which can conflict with char $ac_func (); below.
80929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80930 <limits.h> exists even on freestanding compilers. */
80932 #ifdef __STDC__
80933 # include <limits.h>
80934 #else
80935 # include <assert.h>
80936 #endif
80938 #undef $ac_func
80940 /* Override any gcc2 internal prototype to avoid an error. */
80941 #ifdef __cplusplus
80942 extern "C"
80944 #endif
80945 /* We use char because int might match the return type of a gcc2
80946 builtin and then its argument prototype would still apply. */
80947 char $ac_func ();
80948 /* The GNU C library defines this for functions which it implements
80949 to always fail with ENOSYS. Some functions are actually named
80950 something starting with __ and the normal name is an alias. */
80951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80952 choke me
80953 #else
80954 char (*f) () = $ac_func;
80955 #endif
80956 #ifdef __cplusplus
80958 #endif
80961 main ()
80963 return f != $ac_func;
80965 return 0;
80967 _ACEOF
80968 rm -f conftest.$ac_objext conftest$ac_exeext
80969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80970 (eval $ac_link) 2>conftest.er1
80971 ac_status=$?
80972 grep -v '^ *+' conftest.er1 >conftest.err
80973 rm -f conftest.er1
80974 cat conftest.err >&5
80975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80976 (exit $ac_status); } &&
80977 { ac_try='test -z "$ac_c_werror_flag"
80978 || test ! -s conftest.err'
80979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80980 (eval $ac_try) 2>&5
80981 ac_status=$?
80982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80983 (exit $ac_status); }; } &&
80984 { ac_try='test -s conftest$ac_exeext'
80985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80986 (eval $ac_try) 2>&5
80987 ac_status=$?
80988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80989 (exit $ac_status); }; }; then
80990 eval "$as_ac_var=yes"
80991 else
80992 echo "$as_me: failed program was:" >&5
80993 sed 's/^/| /' conftest.$ac_ext >&5
80995 eval "$as_ac_var=no"
80997 rm -f conftest.err conftest.$ac_objext \
80998 conftest$ac_exeext conftest.$ac_ext
81000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81002 if test `eval echo '${'$as_ac_var'}'` = yes; then
81003 cat >>confdefs.h <<_ACEOF
81004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81005 _ACEOF
81007 else
81008 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
81010 done
81014 for ac_func in __signbitf
81016 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81017 echo "$as_me:$LINENO: checking for $ac_func" >&5
81018 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81019 if eval "test \"\${$as_ac_var+set}\" = set"; then
81020 echo $ECHO_N "(cached) $ECHO_C" >&6
81021 else
81022 if test x$gcc_no_link = xyes; then
81023 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81025 { (exit 1); exit 1; }; }
81027 cat >conftest.$ac_ext <<_ACEOF
81028 /* confdefs.h. */
81029 _ACEOF
81030 cat confdefs.h >>conftest.$ac_ext
81031 cat >>conftest.$ac_ext <<_ACEOF
81032 /* end confdefs.h. */
81033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81035 #define $ac_func innocuous_$ac_func
81037 /* System header to define __stub macros and hopefully few prototypes,
81038 which can conflict with char $ac_func (); below.
81039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81040 <limits.h> exists even on freestanding compilers. */
81042 #ifdef __STDC__
81043 # include <limits.h>
81044 #else
81045 # include <assert.h>
81046 #endif
81048 #undef $ac_func
81050 /* Override any gcc2 internal prototype to avoid an error. */
81051 #ifdef __cplusplus
81052 extern "C"
81054 #endif
81055 /* We use char because int might match the return type of a gcc2
81056 builtin and then its argument prototype would still apply. */
81057 char $ac_func ();
81058 /* The GNU C library defines this for functions which it implements
81059 to always fail with ENOSYS. Some functions are actually named
81060 something starting with __ and the normal name is an alias. */
81061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81062 choke me
81063 #else
81064 char (*f) () = $ac_func;
81065 #endif
81066 #ifdef __cplusplus
81068 #endif
81071 main ()
81073 return f != $ac_func;
81075 return 0;
81077 _ACEOF
81078 rm -f conftest.$ac_objext conftest$ac_exeext
81079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81080 (eval $ac_link) 2>conftest.er1
81081 ac_status=$?
81082 grep -v '^ *+' conftest.er1 >conftest.err
81083 rm -f conftest.er1
81084 cat conftest.err >&5
81085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81086 (exit $ac_status); } &&
81087 { ac_try='test -z "$ac_c_werror_flag"
81088 || test ! -s conftest.err'
81089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81090 (eval $ac_try) 2>&5
81091 ac_status=$?
81092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81093 (exit $ac_status); }; } &&
81094 { ac_try='test -s conftest$ac_exeext'
81095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81096 (eval $ac_try) 2>&5
81097 ac_status=$?
81098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81099 (exit $ac_status); }; }; then
81100 eval "$as_ac_var=yes"
81101 else
81102 echo "$as_me: failed program was:" >&5
81103 sed 's/^/| /' conftest.$ac_ext >&5
81105 eval "$as_ac_var=no"
81107 rm -f conftest.err conftest.$ac_objext \
81108 conftest$ac_exeext conftest.$ac_ext
81110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81111 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81112 if test `eval echo '${'$as_ac_var'}'` = yes; then
81113 cat >>confdefs.h <<_ACEOF
81114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81115 _ACEOF
81117 else
81118 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
81120 done
81123 if test x$ac_cv_func_copysignl = x"yes"; then
81125 for ac_func in __signbitl
81127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81128 echo "$as_me:$LINENO: checking for $ac_func" >&5
81129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81130 if eval "test \"\${$as_ac_var+set}\" = set"; then
81131 echo $ECHO_N "(cached) $ECHO_C" >&6
81132 else
81133 if test x$gcc_no_link = xyes; then
81134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81136 { (exit 1); exit 1; }; }
81138 cat >conftest.$ac_ext <<_ACEOF
81139 /* confdefs.h. */
81140 _ACEOF
81141 cat confdefs.h >>conftest.$ac_ext
81142 cat >>conftest.$ac_ext <<_ACEOF
81143 /* end confdefs.h. */
81144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81146 #define $ac_func innocuous_$ac_func
81148 /* System header to define __stub macros and hopefully few prototypes,
81149 which can conflict with char $ac_func (); below.
81150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81151 <limits.h> exists even on freestanding compilers. */
81153 #ifdef __STDC__
81154 # include <limits.h>
81155 #else
81156 # include <assert.h>
81157 #endif
81159 #undef $ac_func
81161 /* Override any gcc2 internal prototype to avoid an error. */
81162 #ifdef __cplusplus
81163 extern "C"
81165 #endif
81166 /* We use char because int might match the return type of a gcc2
81167 builtin and then its argument prototype would still apply. */
81168 char $ac_func ();
81169 /* The GNU C library defines this for functions which it implements
81170 to always fail with ENOSYS. Some functions are actually named
81171 something starting with __ and the normal name is an alias. */
81172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81173 choke me
81174 #else
81175 char (*f) () = $ac_func;
81176 #endif
81177 #ifdef __cplusplus
81179 #endif
81182 main ()
81184 return f != $ac_func;
81186 return 0;
81188 _ACEOF
81189 rm -f conftest.$ac_objext conftest$ac_exeext
81190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81191 (eval $ac_link) 2>conftest.er1
81192 ac_status=$?
81193 grep -v '^ *+' conftest.er1 >conftest.err
81194 rm -f conftest.er1
81195 cat conftest.err >&5
81196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81197 (exit $ac_status); } &&
81198 { ac_try='test -z "$ac_c_werror_flag"
81199 || test ! -s conftest.err'
81200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81201 (eval $ac_try) 2>&5
81202 ac_status=$?
81203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81204 (exit $ac_status); }; } &&
81205 { ac_try='test -s conftest$ac_exeext'
81206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81207 (eval $ac_try) 2>&5
81208 ac_status=$?
81209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81210 (exit $ac_status); }; }; then
81211 eval "$as_ac_var=yes"
81212 else
81213 echo "$as_me: failed program was:" >&5
81214 sed 's/^/| /' conftest.$ac_ext >&5
81216 eval "$as_ac_var=no"
81218 rm -f conftest.err conftest.$ac_objext \
81219 conftest$ac_exeext conftest.$ac_ext
81221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81223 if test `eval echo '${'$as_ac_var'}'` = yes; then
81224 cat >>confdefs.h <<_ACEOF
81225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81226 _ACEOF
81228 else
81229 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
81231 done
81235 # Used in libmath/Makefile.am.
81236 if test -n "$LIBMATHOBJS"; then
81237 need_libmath=yes
81243 enable_iconv=no
81244 # Only continue checking if the ISO C99 headers exist and support is on.
81245 if test x"$enable_wchar_t" = xyes; then
81247 # Use iconv for wchar_t to char conversions. As such, check for
81248 # X/Open Portability Guide, version 2 features (XPG2).
81249 if test "${ac_cv_header_iconv_h+set}" = set; then
81250 echo "$as_me:$LINENO: checking for iconv.h" >&5
81251 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81252 if test "${ac_cv_header_iconv_h+set}" = set; then
81253 echo $ECHO_N "(cached) $ECHO_C" >&6
81255 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81256 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81257 else
81258 # Is the header compilable?
81259 echo "$as_me:$LINENO: checking iconv.h usability" >&5
81260 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
81261 cat >conftest.$ac_ext <<_ACEOF
81262 /* confdefs.h. */
81263 _ACEOF
81264 cat confdefs.h >>conftest.$ac_ext
81265 cat >>conftest.$ac_ext <<_ACEOF
81266 /* end confdefs.h. */
81267 $ac_includes_default
81268 #include <iconv.h>
81269 _ACEOF
81270 rm -f conftest.$ac_objext
81271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81272 (eval $ac_compile) 2>conftest.er1
81273 ac_status=$?
81274 grep -v '^ *+' conftest.er1 >conftest.err
81275 rm -f conftest.er1
81276 cat conftest.err >&5
81277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81278 (exit $ac_status); } &&
81279 { ac_try='test -z "$ac_c_werror_flag"
81280 || test ! -s conftest.err'
81281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81282 (eval $ac_try) 2>&5
81283 ac_status=$?
81284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81285 (exit $ac_status); }; } &&
81286 { ac_try='test -s conftest.$ac_objext'
81287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81288 (eval $ac_try) 2>&5
81289 ac_status=$?
81290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81291 (exit $ac_status); }; }; then
81292 ac_header_compiler=yes
81293 else
81294 echo "$as_me: failed program was:" >&5
81295 sed 's/^/| /' conftest.$ac_ext >&5
81297 ac_header_compiler=no
81299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81300 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81301 echo "${ECHO_T}$ac_header_compiler" >&6
81303 # Is the header present?
81304 echo "$as_me:$LINENO: checking iconv.h presence" >&5
81305 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
81306 cat >conftest.$ac_ext <<_ACEOF
81307 /* confdefs.h. */
81308 _ACEOF
81309 cat confdefs.h >>conftest.$ac_ext
81310 cat >>conftest.$ac_ext <<_ACEOF
81311 /* end confdefs.h. */
81312 #include <iconv.h>
81313 _ACEOF
81314 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81315 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81316 ac_status=$?
81317 grep -v '^ *+' conftest.er1 >conftest.err
81318 rm -f conftest.er1
81319 cat conftest.err >&5
81320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81321 (exit $ac_status); } >/dev/null; then
81322 if test -s conftest.err; then
81323 ac_cpp_err=$ac_c_preproc_warn_flag
81324 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81325 else
81326 ac_cpp_err=
81328 else
81329 ac_cpp_err=yes
81331 if test -z "$ac_cpp_err"; then
81332 ac_header_preproc=yes
81333 else
81334 echo "$as_me: failed program was:" >&5
81335 sed 's/^/| /' conftest.$ac_ext >&5
81337 ac_header_preproc=no
81339 rm -f conftest.err conftest.$ac_ext
81340 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81341 echo "${ECHO_T}$ac_header_preproc" >&6
81343 # So? What about this header?
81344 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81345 yes:no: )
81346 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
81347 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81348 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
81349 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
81350 ac_header_preproc=yes
81352 no:yes:* )
81353 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
81354 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
81355 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
81356 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
81357 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
81358 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
81359 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
81360 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
81361 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
81362 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
81363 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
81364 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
81366 cat <<\_ASBOX
81367 ## ----------------------------------------- ##
81368 ## Report this to the package-unused lists. ##
81369 ## ----------------------------------------- ##
81370 _ASBOX
81372 sed "s/^/$as_me: WARNING: /" >&2
81374 esac
81375 echo "$as_me:$LINENO: checking for iconv.h" >&5
81376 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81377 if test "${ac_cv_header_iconv_h+set}" = set; then
81378 echo $ECHO_N "(cached) $ECHO_C" >&6
81379 else
81380 ac_cv_header_iconv_h=$ac_header_preproc
81382 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81383 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81386 if test $ac_cv_header_iconv_h = yes; then
81387 ac_has_iconv_h=yes
81388 else
81389 ac_has_iconv_h=no
81393 if test "${ac_cv_header_langinfo_h+set}" = set; then
81394 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81395 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81396 if test "${ac_cv_header_langinfo_h+set}" = set; then
81397 echo $ECHO_N "(cached) $ECHO_C" >&6
81399 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81400 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81401 else
81402 # Is the header compilable?
81403 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
81404 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
81405 cat >conftest.$ac_ext <<_ACEOF
81406 /* confdefs.h. */
81407 _ACEOF
81408 cat confdefs.h >>conftest.$ac_ext
81409 cat >>conftest.$ac_ext <<_ACEOF
81410 /* end confdefs.h. */
81411 $ac_includes_default
81412 #include <langinfo.h>
81413 _ACEOF
81414 rm -f conftest.$ac_objext
81415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81416 (eval $ac_compile) 2>conftest.er1
81417 ac_status=$?
81418 grep -v '^ *+' conftest.er1 >conftest.err
81419 rm -f conftest.er1
81420 cat conftest.err >&5
81421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81422 (exit $ac_status); } &&
81423 { ac_try='test -z "$ac_c_werror_flag"
81424 || test ! -s conftest.err'
81425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81426 (eval $ac_try) 2>&5
81427 ac_status=$?
81428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81429 (exit $ac_status); }; } &&
81430 { ac_try='test -s conftest.$ac_objext'
81431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81432 (eval $ac_try) 2>&5
81433 ac_status=$?
81434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81435 (exit $ac_status); }; }; then
81436 ac_header_compiler=yes
81437 else
81438 echo "$as_me: failed program was:" >&5
81439 sed 's/^/| /' conftest.$ac_ext >&5
81441 ac_header_compiler=no
81443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81444 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81445 echo "${ECHO_T}$ac_header_compiler" >&6
81447 # Is the header present?
81448 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
81449 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
81450 cat >conftest.$ac_ext <<_ACEOF
81451 /* confdefs.h. */
81452 _ACEOF
81453 cat confdefs.h >>conftest.$ac_ext
81454 cat >>conftest.$ac_ext <<_ACEOF
81455 /* end confdefs.h. */
81456 #include <langinfo.h>
81457 _ACEOF
81458 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81459 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81460 ac_status=$?
81461 grep -v '^ *+' conftest.er1 >conftest.err
81462 rm -f conftest.er1
81463 cat conftest.err >&5
81464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81465 (exit $ac_status); } >/dev/null; then
81466 if test -s conftest.err; then
81467 ac_cpp_err=$ac_c_preproc_warn_flag
81468 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81469 else
81470 ac_cpp_err=
81472 else
81473 ac_cpp_err=yes
81475 if test -z "$ac_cpp_err"; then
81476 ac_header_preproc=yes
81477 else
81478 echo "$as_me: failed program was:" >&5
81479 sed 's/^/| /' conftest.$ac_ext >&5
81481 ac_header_preproc=no
81483 rm -f conftest.err conftest.$ac_ext
81484 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81485 echo "${ECHO_T}$ac_header_preproc" >&6
81487 # So? What about this header?
81488 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81489 yes:no: )
81490 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
81491 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81492 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
81493 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
81494 ac_header_preproc=yes
81496 no:yes:* )
81497 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
81498 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
81499 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
81500 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
81501 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
81502 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
81503 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
81504 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
81505 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
81506 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
81507 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
81508 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
81510 cat <<\_ASBOX
81511 ## ----------------------------------------- ##
81512 ## Report this to the package-unused lists. ##
81513 ## ----------------------------------------- ##
81514 _ASBOX
81516 sed "s/^/$as_me: WARNING: /" >&2
81518 esac
81519 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81520 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81521 if test "${ac_cv_header_langinfo_h+set}" = set; then
81522 echo $ECHO_N "(cached) $ECHO_C" >&6
81523 else
81524 ac_cv_header_langinfo_h=$ac_header_preproc
81526 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81527 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81530 if test $ac_cv_header_langinfo_h = yes; then
81531 ac_has_langinfo_h=yes
81532 else
81533 ac_has_langinfo_h=no
81538 # Check for existence of libiconv.a providing XPG2 wchar_t support.
81539 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
81540 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
81541 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
81542 echo $ECHO_N "(cached) $ECHO_C" >&6
81543 else
81544 ac_check_lib_save_LIBS=$LIBS
81545 LIBS="-liconv $LIBS"
81546 if test x$gcc_no_link = xyes; then
81547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81549 { (exit 1); exit 1; }; }
81551 cat >conftest.$ac_ext <<_ACEOF
81552 /* confdefs.h. */
81553 _ACEOF
81554 cat confdefs.h >>conftest.$ac_ext
81555 cat >>conftest.$ac_ext <<_ACEOF
81556 /* end confdefs.h. */
81558 /* Override any gcc2 internal prototype to avoid an error. */
81559 #ifdef __cplusplus
81560 extern "C"
81561 #endif
81562 /* We use char because int might match the return type of a gcc2
81563 builtin and then its argument prototype would still apply. */
81564 char iconv ();
81566 main ()
81568 iconv ();
81570 return 0;
81572 _ACEOF
81573 rm -f conftest.$ac_objext conftest$ac_exeext
81574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81575 (eval $ac_link) 2>conftest.er1
81576 ac_status=$?
81577 grep -v '^ *+' conftest.er1 >conftest.err
81578 rm -f conftest.er1
81579 cat conftest.err >&5
81580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81581 (exit $ac_status); } &&
81582 { ac_try='test -z "$ac_c_werror_flag"
81583 || test ! -s conftest.err'
81584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81585 (eval $ac_try) 2>&5
81586 ac_status=$?
81587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81588 (exit $ac_status); }; } &&
81589 { ac_try='test -s conftest$ac_exeext'
81590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81591 (eval $ac_try) 2>&5
81592 ac_status=$?
81593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81594 (exit $ac_status); }; }; then
81595 ac_cv_lib_iconv_iconv=yes
81596 else
81597 echo "$as_me: failed program was:" >&5
81598 sed 's/^/| /' conftest.$ac_ext >&5
81600 ac_cv_lib_iconv_iconv=no
81602 rm -f conftest.err conftest.$ac_objext \
81603 conftest$ac_exeext conftest.$ac_ext
81604 LIBS=$ac_check_lib_save_LIBS
81606 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
81607 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
81608 if test $ac_cv_lib_iconv_iconv = yes; then
81609 LIBICONV="-liconv"
81612 ac_save_LIBS="$LIBS"
81613 LIBS="$LIBS $LIBICONV"
81620 for ac_func in iconv_open iconv_close iconv nl_langinfo
81622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81623 echo "$as_me:$LINENO: checking for $ac_func" >&5
81624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81625 if eval "test \"\${$as_ac_var+set}\" = set"; then
81626 echo $ECHO_N "(cached) $ECHO_C" >&6
81627 else
81628 if test x$gcc_no_link = xyes; then
81629 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81631 { (exit 1); exit 1; }; }
81633 cat >conftest.$ac_ext <<_ACEOF
81634 /* confdefs.h. */
81635 _ACEOF
81636 cat confdefs.h >>conftest.$ac_ext
81637 cat >>conftest.$ac_ext <<_ACEOF
81638 /* end confdefs.h. */
81639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81641 #define $ac_func innocuous_$ac_func
81643 /* System header to define __stub macros and hopefully few prototypes,
81644 which can conflict with char $ac_func (); below.
81645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81646 <limits.h> exists even on freestanding compilers. */
81648 #ifdef __STDC__
81649 # include <limits.h>
81650 #else
81651 # include <assert.h>
81652 #endif
81654 #undef $ac_func
81656 /* Override any gcc2 internal prototype to avoid an error. */
81657 #ifdef __cplusplus
81658 extern "C"
81660 #endif
81661 /* We use char because int might match the return type of a gcc2
81662 builtin and then its argument prototype would still apply. */
81663 char $ac_func ();
81664 /* The GNU C library defines this for functions which it implements
81665 to always fail with ENOSYS. Some functions are actually named
81666 something starting with __ and the normal name is an alias. */
81667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81668 choke me
81669 #else
81670 char (*f) () = $ac_func;
81671 #endif
81672 #ifdef __cplusplus
81674 #endif
81677 main ()
81679 return f != $ac_func;
81681 return 0;
81683 _ACEOF
81684 rm -f conftest.$ac_objext conftest$ac_exeext
81685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81686 (eval $ac_link) 2>conftest.er1
81687 ac_status=$?
81688 grep -v '^ *+' conftest.er1 >conftest.err
81689 rm -f conftest.er1
81690 cat conftest.err >&5
81691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81692 (exit $ac_status); } &&
81693 { ac_try='test -z "$ac_c_werror_flag"
81694 || test ! -s conftest.err'
81695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81696 (eval $ac_try) 2>&5
81697 ac_status=$?
81698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81699 (exit $ac_status); }; } &&
81700 { ac_try='test -s conftest$ac_exeext'
81701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81702 (eval $ac_try) 2>&5
81703 ac_status=$?
81704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81705 (exit $ac_status); }; }; then
81706 eval "$as_ac_var=yes"
81707 else
81708 echo "$as_me: failed program was:" >&5
81709 sed 's/^/| /' conftest.$ac_ext >&5
81711 eval "$as_ac_var=no"
81713 rm -f conftest.err conftest.$ac_objext \
81714 conftest$ac_exeext conftest.$ac_ext
81716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81718 if test `eval echo '${'$as_ac_var'}'` = yes; then
81719 cat >>confdefs.h <<_ACEOF
81720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81721 _ACEOF
81722 ac_XPG2funcs=yes
81723 else
81724 ac_XPG2funcs=no
81726 done
81729 LIBS="$ac_save_LIBS"
81731 if test x"$ac_has_iconv_h" = xyes &&
81732 test x"$ac_has_langinfo_h" = xyes &&
81733 test x"$ac_XPG2funcs" = xyes;
81734 then
81736 cat >>confdefs.h <<\_ACEOF
81737 #define _GLIBCXX_USE_ICONV 1
81738 _ACEOF
81740 enable_iconv=yes
81743 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
81744 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
81745 echo "$as_me:$LINENO: result: $enable_iconv" >&5
81746 echo "${ECHO_T}$enable_iconv" >&6
81748 cat >>confdefs.h <<\_ACEOF
81749 #define HAVE_COPYSIGN 1
81750 _ACEOF
81752 cat >>confdefs.h <<\_ACEOF
81753 #define HAVE_COPYSIGNF 1
81754 _ACEOF
81756 cat >>confdefs.h <<\_ACEOF
81757 #define HAVE_FINITEF 1
81758 _ACEOF
81760 cat >>confdefs.h <<\_ACEOF
81761 #define HAVE_FINITE 1
81762 _ACEOF
81764 cat >>confdefs.h <<\_ACEOF
81765 #define HAVE_FREXPF 1
81766 _ACEOF
81768 cat >>confdefs.h <<\_ACEOF
81769 #define HAVE_HYPOTF 1
81770 _ACEOF
81772 cat >>confdefs.h <<\_ACEOF
81773 #define HAVE_ISINF 1
81774 _ACEOF
81776 cat >>confdefs.h <<\_ACEOF
81777 #define HAVE_ISINFF 1
81778 _ACEOF
81780 cat >>confdefs.h <<\_ACEOF
81781 #define HAVE_ISNAN 1
81782 _ACEOF
81784 cat >>confdefs.h <<\_ACEOF
81785 #define HAVE_ISNANF 1
81786 _ACEOF
81788 if test x"long_double_math_on_this_cpu" = x"yes"; then
81789 cat >>confdefs.h <<\_ACEOF
81790 #define HAVE_FINITEL 1
81791 _ACEOF
81793 cat >>confdefs.h <<\_ACEOF
81794 #define HAVE_ISINFL 1
81795 _ACEOF
81797 cat >>confdefs.h <<\_ACEOF
81798 #define HAVE_ISNANL 1
81799 _ACEOF
81803 *-netware)
81812 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
81813 sys/types.h locale.h float.h inttypes.h
81815 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81816 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81817 echo "$as_me:$LINENO: checking for $ac_header" >&5
81818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81819 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81820 echo $ECHO_N "(cached) $ECHO_C" >&6
81822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81823 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81824 else
81825 # Is the header compilable?
81826 echo "$as_me:$LINENO: checking $ac_header usability" >&5
81827 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
81828 cat >conftest.$ac_ext <<_ACEOF
81829 /* confdefs.h. */
81830 _ACEOF
81831 cat confdefs.h >>conftest.$ac_ext
81832 cat >>conftest.$ac_ext <<_ACEOF
81833 /* end confdefs.h. */
81834 $ac_includes_default
81835 #include <$ac_header>
81836 _ACEOF
81837 rm -f conftest.$ac_objext
81838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81839 (eval $ac_compile) 2>conftest.er1
81840 ac_status=$?
81841 grep -v '^ *+' conftest.er1 >conftest.err
81842 rm -f conftest.er1
81843 cat conftest.err >&5
81844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81845 (exit $ac_status); } &&
81846 { ac_try='test -z "$ac_c_werror_flag"
81847 || test ! -s conftest.err'
81848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81849 (eval $ac_try) 2>&5
81850 ac_status=$?
81851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81852 (exit $ac_status); }; } &&
81853 { ac_try='test -s conftest.$ac_objext'
81854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81855 (eval $ac_try) 2>&5
81856 ac_status=$?
81857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81858 (exit $ac_status); }; }; then
81859 ac_header_compiler=yes
81860 else
81861 echo "$as_me: failed program was:" >&5
81862 sed 's/^/| /' conftest.$ac_ext >&5
81864 ac_header_compiler=no
81866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81867 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81868 echo "${ECHO_T}$ac_header_compiler" >&6
81870 # Is the header present?
81871 echo "$as_me:$LINENO: checking $ac_header presence" >&5
81872 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
81873 cat >conftest.$ac_ext <<_ACEOF
81874 /* confdefs.h. */
81875 _ACEOF
81876 cat confdefs.h >>conftest.$ac_ext
81877 cat >>conftest.$ac_ext <<_ACEOF
81878 /* end confdefs.h. */
81879 #include <$ac_header>
81880 _ACEOF
81881 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81882 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81883 ac_status=$?
81884 grep -v '^ *+' conftest.er1 >conftest.err
81885 rm -f conftest.er1
81886 cat conftest.err >&5
81887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81888 (exit $ac_status); } >/dev/null; then
81889 if test -s conftest.err; then
81890 ac_cpp_err=$ac_c_preproc_warn_flag
81891 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81892 else
81893 ac_cpp_err=
81895 else
81896 ac_cpp_err=yes
81898 if test -z "$ac_cpp_err"; then
81899 ac_header_preproc=yes
81900 else
81901 echo "$as_me: failed program was:" >&5
81902 sed 's/^/| /' conftest.$ac_ext >&5
81904 ac_header_preproc=no
81906 rm -f conftest.err conftest.$ac_ext
81907 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81908 echo "${ECHO_T}$ac_header_preproc" >&6
81910 # So? What about this header?
81911 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81912 yes:no: )
81913 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
81914 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
81915 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
81916 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
81917 ac_header_preproc=yes
81919 no:yes:* )
81920 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
81921 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
81922 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
81923 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
81924 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
81925 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
81926 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
81927 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
81928 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
81929 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
81930 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
81931 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
81933 cat <<\_ASBOX
81934 ## ----------------------------------------- ##
81935 ## Report this to the package-unused lists. ##
81936 ## ----------------------------------------- ##
81937 _ASBOX
81939 sed "s/^/$as_me: WARNING: /" >&2
81941 esac
81942 echo "$as_me:$LINENO: checking for $ac_header" >&5
81943 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81944 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81945 echo $ECHO_N "(cached) $ECHO_C" >&6
81946 else
81947 eval "$as_ac_Header=\$ac_header_preproc"
81949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81950 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81953 if test `eval echo '${'$as_ac_Header'}'` = yes; then
81954 cat >>confdefs.h <<_ACEOF
81955 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
81956 _ACEOF
81960 done
81962 SECTION_FLAGS='-ffunction-sections -fdata-sections'
81965 # If we're not using GNU ld, then there's no point in even trying these
81966 # tests. Check for that first. We should have already tested for gld
81967 # by now (in libtool), but require it now just to be safe...
81968 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
81969 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
81973 # The name set by libtool depends on the version of libtool. Shame on us
81974 # for depending on an impl detail, but c'est la vie. Older versions used
81975 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
81976 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
81977 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
81978 # set (hence we're using an older libtool), then set it.
81979 if test x${with_gnu_ld+set} != xset; then
81980 if test x${ac_cv_prog_gnu_ld+set} != xset; then
81981 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
81982 with_gnu_ld=no
81983 else
81984 with_gnu_ld=$ac_cv_prog_gnu_ld
81988 # Start by getting the version number. I think the libtool test already
81989 # does some of this, but throws away the result.
81991 ldver=`$LD --version 2>/dev/null | head -1 | \
81992 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
81994 glibcxx_gnu_ld_version=`echo $ldver | \
81995 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
81997 # Set --gc-sections.
81998 if test "$with_gnu_ld" = "notbroken"; then
81999 # GNU ld it is! Joy and bunny rabbits!
82001 # All these tests are for C++; save the language and the compiler flags.
82002 # Need to do this so that g++ won't try to link in libstdc++
82003 ac_test_CFLAGS="${CFLAGS+set}"
82004 ac_save_CFLAGS="$CFLAGS"
82005 CFLAGS='-x c++ -Wl,--gc-sections'
82007 # Check for -Wl,--gc-sections
82008 # XXX This test is broken at the moment, as symbols required for linking
82009 # are now in libsupc++ (not built yet). In addition, this test has
82010 # cored on solaris in the past. In addition, --gc-sections doesn't
82011 # really work at the moment (keeps on discarding used sections, first
82012 # .eh_frame and now some of the glibc sections for iconv).
82013 # Bzzzzt. Thanks for playing, maybe next time.
82014 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
82015 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
82016 if test "$cross_compiling" = yes; then
82017 ac_sectionLDflags=yes
82018 else
82019 cat >conftest.$ac_ext <<_ACEOF
82020 /* confdefs.h. */
82021 _ACEOF
82022 cat confdefs.h >>conftest.$ac_ext
82023 cat >>conftest.$ac_ext <<_ACEOF
82024 /* end confdefs.h. */
82026 int main(void)
82028 try { throw 1; }
82029 catch (...) { };
82030 return 0;
82033 _ACEOF
82034 rm -f conftest$ac_exeext
82035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82036 (eval $ac_link) 2>&5
82037 ac_status=$?
82038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82039 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
82040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82041 (eval $ac_try) 2>&5
82042 ac_status=$?
82043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82044 (exit $ac_status); }; }; then
82045 ac_sectionLDflags=yes
82046 else
82047 echo "$as_me: program exited with status $ac_status" >&5
82048 echo "$as_me: failed program was:" >&5
82049 sed 's/^/| /' conftest.$ac_ext >&5
82051 ( exit $ac_status )
82052 ac_sectionLDflags=no
82054 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
82056 if test "$ac_test_CFLAGS" = set; then
82057 CFLAGS="$ac_save_CFLAGS"
82058 else
82059 # this is the suspicious part
82060 CFLAGS=''
82062 if test "$ac_sectionLDflags" = "yes"; then
82063 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
82065 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
82066 echo "${ECHO_T}$ac_sectionLDflags" >&6
82069 # Set linker optimization flags.
82070 if test x"$with_gnu_ld" = x"yes"; then
82071 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
82079 echo "$as_me:$LINENO: checking for main in -lm" >&5
82080 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
82081 if test "${ac_cv_lib_m_main+set}" = set; then
82082 echo $ECHO_N "(cached) $ECHO_C" >&6
82083 else
82084 ac_check_lib_save_LIBS=$LIBS
82085 LIBS="-lm $LIBS"
82086 if test x$gcc_no_link = xyes; then
82087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82089 { (exit 1); exit 1; }; }
82091 cat >conftest.$ac_ext <<_ACEOF
82092 /* confdefs.h. */
82093 _ACEOF
82094 cat confdefs.h >>conftest.$ac_ext
82095 cat >>conftest.$ac_ext <<_ACEOF
82096 /* end confdefs.h. */
82100 main ()
82102 main ();
82104 return 0;
82106 _ACEOF
82107 rm -f conftest.$ac_objext conftest$ac_exeext
82108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82109 (eval $ac_link) 2>conftest.er1
82110 ac_status=$?
82111 grep -v '^ *+' conftest.er1 >conftest.err
82112 rm -f conftest.er1
82113 cat conftest.err >&5
82114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82115 (exit $ac_status); } &&
82116 { ac_try='test -z "$ac_c_werror_flag"
82117 || test ! -s conftest.err'
82118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82119 (eval $ac_try) 2>&5
82120 ac_status=$?
82121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82122 (exit $ac_status); }; } &&
82123 { ac_try='test -s conftest$ac_exeext'
82124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82125 (eval $ac_try) 2>&5
82126 ac_status=$?
82127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82128 (exit $ac_status); }; }; then
82129 ac_cv_lib_m_main=yes
82130 else
82131 echo "$as_me: failed program was:" >&5
82132 sed 's/^/| /' conftest.$ac_ext >&5
82134 ac_cv_lib_m_main=no
82136 rm -f conftest.err conftest.$ac_objext \
82137 conftest$ac_exeext conftest.$ac_ext
82138 LIBS=$ac_check_lib_save_LIBS
82140 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
82141 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
82142 if test $ac_cv_lib_m_main = yes; then
82143 cat >>confdefs.h <<_ACEOF
82144 #define HAVE_LIBM 1
82145 _ACEOF
82147 LIBS="-lm $LIBS"
82152 for ac_func in copysignf
82154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82155 echo "$as_me:$LINENO: checking for $ac_func" >&5
82156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82157 if eval "test \"\${$as_ac_var+set}\" = set"; then
82158 echo $ECHO_N "(cached) $ECHO_C" >&6
82159 else
82160 if test x$gcc_no_link = xyes; then
82161 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82163 { (exit 1); exit 1; }; }
82165 cat >conftest.$ac_ext <<_ACEOF
82166 /* confdefs.h. */
82167 _ACEOF
82168 cat confdefs.h >>conftest.$ac_ext
82169 cat >>conftest.$ac_ext <<_ACEOF
82170 /* end confdefs.h. */
82171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82173 #define $ac_func innocuous_$ac_func
82175 /* System header to define __stub macros and hopefully few prototypes,
82176 which can conflict with char $ac_func (); below.
82177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82178 <limits.h> exists even on freestanding compilers. */
82180 #ifdef __STDC__
82181 # include <limits.h>
82182 #else
82183 # include <assert.h>
82184 #endif
82186 #undef $ac_func
82188 /* Override any gcc2 internal prototype to avoid an error. */
82189 #ifdef __cplusplus
82190 extern "C"
82192 #endif
82193 /* We use char because int might match the return type of a gcc2
82194 builtin and then its argument prototype would still apply. */
82195 char $ac_func ();
82196 /* The GNU C library defines this for functions which it implements
82197 to always fail with ENOSYS. Some functions are actually named
82198 something starting with __ and the normal name is an alias. */
82199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82200 choke me
82201 #else
82202 char (*f) () = $ac_func;
82203 #endif
82204 #ifdef __cplusplus
82206 #endif
82209 main ()
82211 return f != $ac_func;
82213 return 0;
82215 _ACEOF
82216 rm -f conftest.$ac_objext conftest$ac_exeext
82217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82218 (eval $ac_link) 2>conftest.er1
82219 ac_status=$?
82220 grep -v '^ *+' conftest.er1 >conftest.err
82221 rm -f conftest.er1
82222 cat conftest.err >&5
82223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82224 (exit $ac_status); } &&
82225 { ac_try='test -z "$ac_c_werror_flag"
82226 || test ! -s conftest.err'
82227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82228 (eval $ac_try) 2>&5
82229 ac_status=$?
82230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82231 (exit $ac_status); }; } &&
82232 { ac_try='test -s conftest$ac_exeext'
82233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82234 (eval $ac_try) 2>&5
82235 ac_status=$?
82236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82237 (exit $ac_status); }; }; then
82238 eval "$as_ac_var=yes"
82239 else
82240 echo "$as_me: failed program was:" >&5
82241 sed 's/^/| /' conftest.$ac_ext >&5
82243 eval "$as_ac_var=no"
82245 rm -f conftest.err conftest.$ac_objext \
82246 conftest$ac_exeext conftest.$ac_ext
82248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82250 if test `eval echo '${'$as_ac_var'}'` = yes; then
82251 cat >>confdefs.h <<_ACEOF
82252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82253 _ACEOF
82255 else
82256 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
82258 done
82262 for ac_func in __signbit
82264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82265 echo "$as_me:$LINENO: checking for $ac_func" >&5
82266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82267 if eval "test \"\${$as_ac_var+set}\" = set"; then
82268 echo $ECHO_N "(cached) $ECHO_C" >&6
82269 else
82270 if test x$gcc_no_link = xyes; then
82271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82273 { (exit 1); exit 1; }; }
82275 cat >conftest.$ac_ext <<_ACEOF
82276 /* confdefs.h. */
82277 _ACEOF
82278 cat confdefs.h >>conftest.$ac_ext
82279 cat >>conftest.$ac_ext <<_ACEOF
82280 /* end confdefs.h. */
82281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82283 #define $ac_func innocuous_$ac_func
82285 /* System header to define __stub macros and hopefully few prototypes,
82286 which can conflict with char $ac_func (); below.
82287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82288 <limits.h> exists even on freestanding compilers. */
82290 #ifdef __STDC__
82291 # include <limits.h>
82292 #else
82293 # include <assert.h>
82294 #endif
82296 #undef $ac_func
82298 /* Override any gcc2 internal prototype to avoid an error. */
82299 #ifdef __cplusplus
82300 extern "C"
82302 #endif
82303 /* We use char because int might match the return type of a gcc2
82304 builtin and then its argument prototype would still apply. */
82305 char $ac_func ();
82306 /* The GNU C library defines this for functions which it implements
82307 to always fail with ENOSYS. Some functions are actually named
82308 something starting with __ and the normal name is an alias. */
82309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82310 choke me
82311 #else
82312 char (*f) () = $ac_func;
82313 #endif
82314 #ifdef __cplusplus
82316 #endif
82319 main ()
82321 return f != $ac_func;
82323 return 0;
82325 _ACEOF
82326 rm -f conftest.$ac_objext conftest$ac_exeext
82327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82328 (eval $ac_link) 2>conftest.er1
82329 ac_status=$?
82330 grep -v '^ *+' conftest.er1 >conftest.err
82331 rm -f conftest.er1
82332 cat conftest.err >&5
82333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82334 (exit $ac_status); } &&
82335 { ac_try='test -z "$ac_c_werror_flag"
82336 || test ! -s conftest.err'
82337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82338 (eval $ac_try) 2>&5
82339 ac_status=$?
82340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82341 (exit $ac_status); }; } &&
82342 { ac_try='test -s conftest$ac_exeext'
82343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82344 (eval $ac_try) 2>&5
82345 ac_status=$?
82346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82347 (exit $ac_status); }; }; then
82348 eval "$as_ac_var=yes"
82349 else
82350 echo "$as_me: failed program was:" >&5
82351 sed 's/^/| /' conftest.$ac_ext >&5
82353 eval "$as_ac_var=no"
82355 rm -f conftest.err conftest.$ac_objext \
82356 conftest$ac_exeext conftest.$ac_ext
82358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82360 if test `eval echo '${'$as_ac_var'}'` = yes; then
82361 cat >>confdefs.h <<_ACEOF
82362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82363 _ACEOF
82365 else
82366 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
82368 done
82372 for ac_func in __signbitf
82374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82375 echo "$as_me:$LINENO: checking for $ac_func" >&5
82376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82377 if eval "test \"\${$as_ac_var+set}\" = set"; then
82378 echo $ECHO_N "(cached) $ECHO_C" >&6
82379 else
82380 if test x$gcc_no_link = xyes; then
82381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82383 { (exit 1); exit 1; }; }
82385 cat >conftest.$ac_ext <<_ACEOF
82386 /* confdefs.h. */
82387 _ACEOF
82388 cat confdefs.h >>conftest.$ac_ext
82389 cat >>conftest.$ac_ext <<_ACEOF
82390 /* end confdefs.h. */
82391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82393 #define $ac_func innocuous_$ac_func
82395 /* System header to define __stub macros and hopefully few prototypes,
82396 which can conflict with char $ac_func (); below.
82397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82398 <limits.h> exists even on freestanding compilers. */
82400 #ifdef __STDC__
82401 # include <limits.h>
82402 #else
82403 # include <assert.h>
82404 #endif
82406 #undef $ac_func
82408 /* Override any gcc2 internal prototype to avoid an error. */
82409 #ifdef __cplusplus
82410 extern "C"
82412 #endif
82413 /* We use char because int might match the return type of a gcc2
82414 builtin and then its argument prototype would still apply. */
82415 char $ac_func ();
82416 /* The GNU C library defines this for functions which it implements
82417 to always fail with ENOSYS. Some functions are actually named
82418 something starting with __ and the normal name is an alias. */
82419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82420 choke me
82421 #else
82422 char (*f) () = $ac_func;
82423 #endif
82424 #ifdef __cplusplus
82426 #endif
82429 main ()
82431 return f != $ac_func;
82433 return 0;
82435 _ACEOF
82436 rm -f conftest.$ac_objext conftest$ac_exeext
82437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82438 (eval $ac_link) 2>conftest.er1
82439 ac_status=$?
82440 grep -v '^ *+' conftest.er1 >conftest.err
82441 rm -f conftest.er1
82442 cat conftest.err >&5
82443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82444 (exit $ac_status); } &&
82445 { ac_try='test -z "$ac_c_werror_flag"
82446 || test ! -s conftest.err'
82447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82448 (eval $ac_try) 2>&5
82449 ac_status=$?
82450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82451 (exit $ac_status); }; } &&
82452 { ac_try='test -s conftest$ac_exeext'
82453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82454 (eval $ac_try) 2>&5
82455 ac_status=$?
82456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82457 (exit $ac_status); }; }; then
82458 eval "$as_ac_var=yes"
82459 else
82460 echo "$as_me: failed program was:" >&5
82461 sed 's/^/| /' conftest.$ac_ext >&5
82463 eval "$as_ac_var=no"
82465 rm -f conftest.err conftest.$ac_objext \
82466 conftest$ac_exeext conftest.$ac_ext
82468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82470 if test `eval echo '${'$as_ac_var'}'` = yes; then
82471 cat >>confdefs.h <<_ACEOF
82472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82473 _ACEOF
82475 else
82476 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
82478 done
82481 if test x$ac_cv_func_copysignl = x"yes"; then
82483 for ac_func in __signbitl
82485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82486 echo "$as_me:$LINENO: checking for $ac_func" >&5
82487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82488 if eval "test \"\${$as_ac_var+set}\" = set"; then
82489 echo $ECHO_N "(cached) $ECHO_C" >&6
82490 else
82491 if test x$gcc_no_link = xyes; then
82492 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82494 { (exit 1); exit 1; }; }
82496 cat >conftest.$ac_ext <<_ACEOF
82497 /* confdefs.h. */
82498 _ACEOF
82499 cat confdefs.h >>conftest.$ac_ext
82500 cat >>conftest.$ac_ext <<_ACEOF
82501 /* end confdefs.h. */
82502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82504 #define $ac_func innocuous_$ac_func
82506 /* System header to define __stub macros and hopefully few prototypes,
82507 which can conflict with char $ac_func (); below.
82508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82509 <limits.h> exists even on freestanding compilers. */
82511 #ifdef __STDC__
82512 # include <limits.h>
82513 #else
82514 # include <assert.h>
82515 #endif
82517 #undef $ac_func
82519 /* Override any gcc2 internal prototype to avoid an error. */
82520 #ifdef __cplusplus
82521 extern "C"
82523 #endif
82524 /* We use char because int might match the return type of a gcc2
82525 builtin and then its argument prototype would still apply. */
82526 char $ac_func ();
82527 /* The GNU C library defines this for functions which it implements
82528 to always fail with ENOSYS. Some functions are actually named
82529 something starting with __ and the normal name is an alias. */
82530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82531 choke me
82532 #else
82533 char (*f) () = $ac_func;
82534 #endif
82535 #ifdef __cplusplus
82537 #endif
82540 main ()
82542 return f != $ac_func;
82544 return 0;
82546 _ACEOF
82547 rm -f conftest.$ac_objext conftest$ac_exeext
82548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82549 (eval $ac_link) 2>conftest.er1
82550 ac_status=$?
82551 grep -v '^ *+' conftest.er1 >conftest.err
82552 rm -f conftest.er1
82553 cat conftest.err >&5
82554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82555 (exit $ac_status); } &&
82556 { ac_try='test -z "$ac_c_werror_flag"
82557 || test ! -s conftest.err'
82558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82559 (eval $ac_try) 2>&5
82560 ac_status=$?
82561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82562 (exit $ac_status); }; } &&
82563 { ac_try='test -s conftest$ac_exeext'
82564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82565 (eval $ac_try) 2>&5
82566 ac_status=$?
82567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82568 (exit $ac_status); }; }; then
82569 eval "$as_ac_var=yes"
82570 else
82571 echo "$as_me: failed program was:" >&5
82572 sed 's/^/| /' conftest.$ac_ext >&5
82574 eval "$as_ac_var=no"
82576 rm -f conftest.err conftest.$ac_objext \
82577 conftest$ac_exeext conftest.$ac_ext
82579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82581 if test `eval echo '${'$as_ac_var'}'` = yes; then
82582 cat >>confdefs.h <<_ACEOF
82583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82584 _ACEOF
82586 else
82587 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
82589 done
82593 # Used in libmath/Makefile.am.
82594 if test -n "$LIBMATHOBJS"; then
82595 need_libmath=yes
82601 enable_iconv=no
82602 # Only continue checking if the ISO C99 headers exist and support is on.
82603 if test x"$enable_wchar_t" = xyes; then
82605 # Use iconv for wchar_t to char conversions. As such, check for
82606 # X/Open Portability Guide, version 2 features (XPG2).
82607 if test "${ac_cv_header_iconv_h+set}" = set; then
82608 echo "$as_me:$LINENO: checking for iconv.h" >&5
82609 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
82610 if test "${ac_cv_header_iconv_h+set}" = set; then
82611 echo $ECHO_N "(cached) $ECHO_C" >&6
82613 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
82614 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
82615 else
82616 # Is the header compilable?
82617 echo "$as_me:$LINENO: checking iconv.h usability" >&5
82618 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
82619 cat >conftest.$ac_ext <<_ACEOF
82620 /* confdefs.h. */
82621 _ACEOF
82622 cat confdefs.h >>conftest.$ac_ext
82623 cat >>conftest.$ac_ext <<_ACEOF
82624 /* end confdefs.h. */
82625 $ac_includes_default
82626 #include <iconv.h>
82627 _ACEOF
82628 rm -f conftest.$ac_objext
82629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82630 (eval $ac_compile) 2>conftest.er1
82631 ac_status=$?
82632 grep -v '^ *+' conftest.er1 >conftest.err
82633 rm -f conftest.er1
82634 cat conftest.err >&5
82635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82636 (exit $ac_status); } &&
82637 { ac_try='test -z "$ac_c_werror_flag"
82638 || test ! -s conftest.err'
82639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82640 (eval $ac_try) 2>&5
82641 ac_status=$?
82642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82643 (exit $ac_status); }; } &&
82644 { ac_try='test -s conftest.$ac_objext'
82645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82646 (eval $ac_try) 2>&5
82647 ac_status=$?
82648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82649 (exit $ac_status); }; }; then
82650 ac_header_compiler=yes
82651 else
82652 echo "$as_me: failed program was:" >&5
82653 sed 's/^/| /' conftest.$ac_ext >&5
82655 ac_header_compiler=no
82657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82658 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82659 echo "${ECHO_T}$ac_header_compiler" >&6
82661 # Is the header present?
82662 echo "$as_me:$LINENO: checking iconv.h presence" >&5
82663 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
82664 cat >conftest.$ac_ext <<_ACEOF
82665 /* confdefs.h. */
82666 _ACEOF
82667 cat confdefs.h >>conftest.$ac_ext
82668 cat >>conftest.$ac_ext <<_ACEOF
82669 /* end confdefs.h. */
82670 #include <iconv.h>
82671 _ACEOF
82672 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82673 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82674 ac_status=$?
82675 grep -v '^ *+' conftest.er1 >conftest.err
82676 rm -f conftest.er1
82677 cat conftest.err >&5
82678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82679 (exit $ac_status); } >/dev/null; then
82680 if test -s conftest.err; then
82681 ac_cpp_err=$ac_c_preproc_warn_flag
82682 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82683 else
82684 ac_cpp_err=
82686 else
82687 ac_cpp_err=yes
82689 if test -z "$ac_cpp_err"; then
82690 ac_header_preproc=yes
82691 else
82692 echo "$as_me: failed program was:" >&5
82693 sed 's/^/| /' conftest.$ac_ext >&5
82695 ac_header_preproc=no
82697 rm -f conftest.err conftest.$ac_ext
82698 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82699 echo "${ECHO_T}$ac_header_preproc" >&6
82701 # So? What about this header?
82702 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82703 yes:no: )
82704 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
82705 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
82706 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
82707 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
82708 ac_header_preproc=yes
82710 no:yes:* )
82711 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
82712 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
82713 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
82714 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
82715 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
82716 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
82717 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
82718 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
82719 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
82720 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
82721 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
82722 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
82724 cat <<\_ASBOX
82725 ## ----------------------------------------- ##
82726 ## Report this to the package-unused lists. ##
82727 ## ----------------------------------------- ##
82728 _ASBOX
82730 sed "s/^/$as_me: WARNING: /" >&2
82732 esac
82733 echo "$as_me:$LINENO: checking for iconv.h" >&5
82734 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
82735 if test "${ac_cv_header_iconv_h+set}" = set; then
82736 echo $ECHO_N "(cached) $ECHO_C" >&6
82737 else
82738 ac_cv_header_iconv_h=$ac_header_preproc
82740 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
82741 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
82744 if test $ac_cv_header_iconv_h = yes; then
82745 ac_has_iconv_h=yes
82746 else
82747 ac_has_iconv_h=no
82751 if test "${ac_cv_header_langinfo_h+set}" = set; then
82752 echo "$as_me:$LINENO: checking for langinfo.h" >&5
82753 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
82754 if test "${ac_cv_header_langinfo_h+set}" = set; then
82755 echo $ECHO_N "(cached) $ECHO_C" >&6
82757 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
82758 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
82759 else
82760 # Is the header compilable?
82761 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
82762 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
82763 cat >conftest.$ac_ext <<_ACEOF
82764 /* confdefs.h. */
82765 _ACEOF
82766 cat confdefs.h >>conftest.$ac_ext
82767 cat >>conftest.$ac_ext <<_ACEOF
82768 /* end confdefs.h. */
82769 $ac_includes_default
82770 #include <langinfo.h>
82771 _ACEOF
82772 rm -f conftest.$ac_objext
82773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82774 (eval $ac_compile) 2>conftest.er1
82775 ac_status=$?
82776 grep -v '^ *+' conftest.er1 >conftest.err
82777 rm -f conftest.er1
82778 cat conftest.err >&5
82779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82780 (exit $ac_status); } &&
82781 { ac_try='test -z "$ac_c_werror_flag"
82782 || test ! -s conftest.err'
82783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82784 (eval $ac_try) 2>&5
82785 ac_status=$?
82786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82787 (exit $ac_status); }; } &&
82788 { ac_try='test -s conftest.$ac_objext'
82789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82790 (eval $ac_try) 2>&5
82791 ac_status=$?
82792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82793 (exit $ac_status); }; }; then
82794 ac_header_compiler=yes
82795 else
82796 echo "$as_me: failed program was:" >&5
82797 sed 's/^/| /' conftest.$ac_ext >&5
82799 ac_header_compiler=no
82801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82802 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82803 echo "${ECHO_T}$ac_header_compiler" >&6
82805 # Is the header present?
82806 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
82807 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
82808 cat >conftest.$ac_ext <<_ACEOF
82809 /* confdefs.h. */
82810 _ACEOF
82811 cat confdefs.h >>conftest.$ac_ext
82812 cat >>conftest.$ac_ext <<_ACEOF
82813 /* end confdefs.h. */
82814 #include <langinfo.h>
82815 _ACEOF
82816 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82817 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82818 ac_status=$?
82819 grep -v '^ *+' conftest.er1 >conftest.err
82820 rm -f conftest.er1
82821 cat conftest.err >&5
82822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82823 (exit $ac_status); } >/dev/null; then
82824 if test -s conftest.err; then
82825 ac_cpp_err=$ac_c_preproc_warn_flag
82826 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82827 else
82828 ac_cpp_err=
82830 else
82831 ac_cpp_err=yes
82833 if test -z "$ac_cpp_err"; then
82834 ac_header_preproc=yes
82835 else
82836 echo "$as_me: failed program was:" >&5
82837 sed 's/^/| /' conftest.$ac_ext >&5
82839 ac_header_preproc=no
82841 rm -f conftest.err conftest.$ac_ext
82842 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82843 echo "${ECHO_T}$ac_header_preproc" >&6
82845 # So? What about this header?
82846 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82847 yes:no: )
82848 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
82849 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
82850 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
82851 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
82852 ac_header_preproc=yes
82854 no:yes:* )
82855 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
82856 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
82857 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
82858 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
82859 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
82860 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
82861 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
82862 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
82863 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
82864 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
82865 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
82866 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
82868 cat <<\_ASBOX
82869 ## ----------------------------------------- ##
82870 ## Report this to the package-unused lists. ##
82871 ## ----------------------------------------- ##
82872 _ASBOX
82874 sed "s/^/$as_me: WARNING: /" >&2
82876 esac
82877 echo "$as_me:$LINENO: checking for langinfo.h" >&5
82878 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
82879 if test "${ac_cv_header_langinfo_h+set}" = set; then
82880 echo $ECHO_N "(cached) $ECHO_C" >&6
82881 else
82882 ac_cv_header_langinfo_h=$ac_header_preproc
82884 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
82885 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
82888 if test $ac_cv_header_langinfo_h = yes; then
82889 ac_has_langinfo_h=yes
82890 else
82891 ac_has_langinfo_h=no
82896 # Check for existence of libiconv.a providing XPG2 wchar_t support.
82897 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
82898 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
82899 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
82900 echo $ECHO_N "(cached) $ECHO_C" >&6
82901 else
82902 ac_check_lib_save_LIBS=$LIBS
82903 LIBS="-liconv $LIBS"
82904 if test x$gcc_no_link = xyes; then
82905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82907 { (exit 1); exit 1; }; }
82909 cat >conftest.$ac_ext <<_ACEOF
82910 /* confdefs.h. */
82911 _ACEOF
82912 cat confdefs.h >>conftest.$ac_ext
82913 cat >>conftest.$ac_ext <<_ACEOF
82914 /* end confdefs.h. */
82916 /* Override any gcc2 internal prototype to avoid an error. */
82917 #ifdef __cplusplus
82918 extern "C"
82919 #endif
82920 /* We use char because int might match the return type of a gcc2
82921 builtin and then its argument prototype would still apply. */
82922 char iconv ();
82924 main ()
82926 iconv ();
82928 return 0;
82930 _ACEOF
82931 rm -f conftest.$ac_objext conftest$ac_exeext
82932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82933 (eval $ac_link) 2>conftest.er1
82934 ac_status=$?
82935 grep -v '^ *+' conftest.er1 >conftest.err
82936 rm -f conftest.er1
82937 cat conftest.err >&5
82938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82939 (exit $ac_status); } &&
82940 { ac_try='test -z "$ac_c_werror_flag"
82941 || test ! -s conftest.err'
82942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82943 (eval $ac_try) 2>&5
82944 ac_status=$?
82945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82946 (exit $ac_status); }; } &&
82947 { ac_try='test -s conftest$ac_exeext'
82948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82949 (eval $ac_try) 2>&5
82950 ac_status=$?
82951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82952 (exit $ac_status); }; }; then
82953 ac_cv_lib_iconv_iconv=yes
82954 else
82955 echo "$as_me: failed program was:" >&5
82956 sed 's/^/| /' conftest.$ac_ext >&5
82958 ac_cv_lib_iconv_iconv=no
82960 rm -f conftest.err conftest.$ac_objext \
82961 conftest$ac_exeext conftest.$ac_ext
82962 LIBS=$ac_check_lib_save_LIBS
82964 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
82965 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
82966 if test $ac_cv_lib_iconv_iconv = yes; then
82967 LIBICONV="-liconv"
82970 ac_save_LIBS="$LIBS"
82971 LIBS="$LIBS $LIBICONV"
82978 for ac_func in iconv_open iconv_close iconv nl_langinfo
82980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82981 echo "$as_me:$LINENO: checking for $ac_func" >&5
82982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82983 if eval "test \"\${$as_ac_var+set}\" = set"; then
82984 echo $ECHO_N "(cached) $ECHO_C" >&6
82985 else
82986 if test x$gcc_no_link = xyes; then
82987 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82989 { (exit 1); exit 1; }; }
82991 cat >conftest.$ac_ext <<_ACEOF
82992 /* confdefs.h. */
82993 _ACEOF
82994 cat confdefs.h >>conftest.$ac_ext
82995 cat >>conftest.$ac_ext <<_ACEOF
82996 /* end confdefs.h. */
82997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82998 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82999 #define $ac_func innocuous_$ac_func
83001 /* System header to define __stub macros and hopefully few prototypes,
83002 which can conflict with char $ac_func (); below.
83003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83004 <limits.h> exists even on freestanding compilers. */
83006 #ifdef __STDC__
83007 # include <limits.h>
83008 #else
83009 # include <assert.h>
83010 #endif
83012 #undef $ac_func
83014 /* Override any gcc2 internal prototype to avoid an error. */
83015 #ifdef __cplusplus
83016 extern "C"
83018 #endif
83019 /* We use char because int might match the return type of a gcc2
83020 builtin and then its argument prototype would still apply. */
83021 char $ac_func ();
83022 /* The GNU C library defines this for functions which it implements
83023 to always fail with ENOSYS. Some functions are actually named
83024 something starting with __ and the normal name is an alias. */
83025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83026 choke me
83027 #else
83028 char (*f) () = $ac_func;
83029 #endif
83030 #ifdef __cplusplus
83032 #endif
83035 main ()
83037 return f != $ac_func;
83039 return 0;
83041 _ACEOF
83042 rm -f conftest.$ac_objext conftest$ac_exeext
83043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83044 (eval $ac_link) 2>conftest.er1
83045 ac_status=$?
83046 grep -v '^ *+' conftest.er1 >conftest.err
83047 rm -f conftest.er1
83048 cat conftest.err >&5
83049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83050 (exit $ac_status); } &&
83051 { ac_try='test -z "$ac_c_werror_flag"
83052 || test ! -s conftest.err'
83053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83054 (eval $ac_try) 2>&5
83055 ac_status=$?
83056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83057 (exit $ac_status); }; } &&
83058 { ac_try='test -s conftest$ac_exeext'
83059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83060 (eval $ac_try) 2>&5
83061 ac_status=$?
83062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83063 (exit $ac_status); }; }; then
83064 eval "$as_ac_var=yes"
83065 else
83066 echo "$as_me: failed program was:" >&5
83067 sed 's/^/| /' conftest.$ac_ext >&5
83069 eval "$as_ac_var=no"
83071 rm -f conftest.err conftest.$ac_objext \
83072 conftest$ac_exeext conftest.$ac_ext
83074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83076 if test `eval echo '${'$as_ac_var'}'` = yes; then
83077 cat >>confdefs.h <<_ACEOF
83078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83079 _ACEOF
83080 ac_XPG2funcs=yes
83081 else
83082 ac_XPG2funcs=no
83084 done
83087 LIBS="$ac_save_LIBS"
83089 if test x"$ac_has_iconv_h" = xyes &&
83090 test x"$ac_has_langinfo_h" = xyes &&
83091 test x"$ac_XPG2funcs" = xyes;
83092 then
83094 cat >>confdefs.h <<\_ACEOF
83095 #define _GLIBCXX_USE_ICONV 1
83096 _ACEOF
83098 enable_iconv=yes
83101 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
83102 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
83103 echo "$as_me:$LINENO: result: $enable_iconv" >&5
83104 echo "${ECHO_T}$enable_iconv" >&6
83107 # For showmanyc_helper().
83110 for ac_header in sys/ioctl.h sys/filio.h
83112 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83114 echo "$as_me:$LINENO: checking for $ac_header" >&5
83115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83117 echo $ECHO_N "(cached) $ECHO_C" >&6
83119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83120 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83121 else
83122 # Is the header compilable?
83123 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83124 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83125 cat >conftest.$ac_ext <<_ACEOF
83126 /* confdefs.h. */
83127 _ACEOF
83128 cat confdefs.h >>conftest.$ac_ext
83129 cat >>conftest.$ac_ext <<_ACEOF
83130 /* end confdefs.h. */
83131 $ac_includes_default
83132 #include <$ac_header>
83133 _ACEOF
83134 rm -f conftest.$ac_objext
83135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83136 (eval $ac_compile) 2>conftest.er1
83137 ac_status=$?
83138 grep -v '^ *+' conftest.er1 >conftest.err
83139 rm -f conftest.er1
83140 cat conftest.err >&5
83141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83142 (exit $ac_status); } &&
83143 { ac_try='test -z "$ac_c_werror_flag"
83144 || test ! -s conftest.err'
83145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83146 (eval $ac_try) 2>&5
83147 ac_status=$?
83148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83149 (exit $ac_status); }; } &&
83150 { ac_try='test -s conftest.$ac_objext'
83151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83152 (eval $ac_try) 2>&5
83153 ac_status=$?
83154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83155 (exit $ac_status); }; }; then
83156 ac_header_compiler=yes
83157 else
83158 echo "$as_me: failed program was:" >&5
83159 sed 's/^/| /' conftest.$ac_ext >&5
83161 ac_header_compiler=no
83163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83164 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83165 echo "${ECHO_T}$ac_header_compiler" >&6
83167 # Is the header present?
83168 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83169 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83170 cat >conftest.$ac_ext <<_ACEOF
83171 /* confdefs.h. */
83172 _ACEOF
83173 cat confdefs.h >>conftest.$ac_ext
83174 cat >>conftest.$ac_ext <<_ACEOF
83175 /* end confdefs.h. */
83176 #include <$ac_header>
83177 _ACEOF
83178 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83179 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83180 ac_status=$?
83181 grep -v '^ *+' conftest.er1 >conftest.err
83182 rm -f conftest.er1
83183 cat conftest.err >&5
83184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83185 (exit $ac_status); } >/dev/null; then
83186 if test -s conftest.err; then
83187 ac_cpp_err=$ac_c_preproc_warn_flag
83188 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83189 else
83190 ac_cpp_err=
83192 else
83193 ac_cpp_err=yes
83195 if test -z "$ac_cpp_err"; then
83196 ac_header_preproc=yes
83197 else
83198 echo "$as_me: failed program was:" >&5
83199 sed 's/^/| /' conftest.$ac_ext >&5
83201 ac_header_preproc=no
83203 rm -f conftest.err conftest.$ac_ext
83204 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83205 echo "${ECHO_T}$ac_header_preproc" >&6
83207 # So? What about this header?
83208 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83209 yes:no: )
83210 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83211 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83212 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83213 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83214 ac_header_preproc=yes
83216 no:yes:* )
83217 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83218 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83219 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83220 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83221 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83222 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83223 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83224 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83225 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83226 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83227 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83228 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83230 cat <<\_ASBOX
83231 ## ----------------------------------------- ##
83232 ## Report this to the package-unused lists. ##
83233 ## ----------------------------------------- ##
83234 _ASBOX
83236 sed "s/^/$as_me: WARNING: /" >&2
83238 esac
83239 echo "$as_me:$LINENO: checking for $ac_header" >&5
83240 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83241 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83242 echo $ECHO_N "(cached) $ECHO_C" >&6
83243 else
83244 eval "$as_ac_Header=\$ac_header_preproc"
83246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83247 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83250 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83251 cat >>confdefs.h <<_ACEOF
83252 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83253 _ACEOF
83257 done
83260 echo "$as_me:$LINENO: checking for poll" >&5
83261 echo $ECHO_N "checking for poll... $ECHO_C" >&6
83262 if test "${glibcxx_cv_POLL+set}" = set; then
83263 echo $ECHO_N "(cached) $ECHO_C" >&6
83264 else
83266 if test x$gcc_no_link = xyes; then
83267 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83269 { (exit 1); exit 1; }; }
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 #include <poll.h>
83279 main ()
83281 struct pollfd pfd[1];
83282 pfd[0].events = POLLIN;
83283 poll(pfd, 1, 0);
83285 return 0;
83287 _ACEOF
83288 rm -f conftest.$ac_objext conftest$ac_exeext
83289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83290 (eval $ac_link) 2>conftest.er1
83291 ac_status=$?
83292 grep -v '^ *+' conftest.er1 >conftest.err
83293 rm -f conftest.er1
83294 cat conftest.err >&5
83295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83296 (exit $ac_status); } &&
83297 { ac_try='test -z "$ac_c_werror_flag"
83298 || test ! -s conftest.err'
83299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83300 (eval $ac_try) 2>&5
83301 ac_status=$?
83302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83303 (exit $ac_status); }; } &&
83304 { ac_try='test -s conftest$ac_exeext'
83305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83306 (eval $ac_try) 2>&5
83307 ac_status=$?
83308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83309 (exit $ac_status); }; }; then
83310 glibcxx_cv_POLL=yes
83311 else
83312 echo "$as_me: failed program was:" >&5
83313 sed 's/^/| /' conftest.$ac_ext >&5
83315 glibcxx_cv_POLL=no
83317 rm -f conftest.err conftest.$ac_objext \
83318 conftest$ac_exeext conftest.$ac_ext
83322 if test $glibcxx_cv_POLL = yes; then
83324 cat >>confdefs.h <<\_ACEOF
83325 #define HAVE_POLL 1
83326 _ACEOF
83329 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
83330 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
83333 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
83334 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
83335 if test "${glibcxx_cv_S_ISREG+set}" = set; then
83336 echo $ECHO_N "(cached) $ECHO_C" >&6
83337 else
83339 if test x$gcc_no_link = xyes; then
83340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83342 { (exit 1); exit 1; }; }
83344 cat >conftest.$ac_ext <<_ACEOF
83345 /* confdefs.h. */
83346 _ACEOF
83347 cat confdefs.h >>conftest.$ac_ext
83348 cat >>conftest.$ac_ext <<_ACEOF
83349 /* end confdefs.h. */
83350 #include <sys/stat.h>
83352 main ()
83354 struct stat buffer;
83355 fstat(0, &buffer);
83356 S_ISREG(buffer.st_mode);
83358 return 0;
83360 _ACEOF
83361 rm -f conftest.$ac_objext conftest$ac_exeext
83362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83363 (eval $ac_link) 2>conftest.er1
83364 ac_status=$?
83365 grep -v '^ *+' conftest.er1 >conftest.err
83366 rm -f conftest.er1
83367 cat conftest.err >&5
83368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83369 (exit $ac_status); } &&
83370 { ac_try='test -z "$ac_c_werror_flag"
83371 || test ! -s conftest.err'
83372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83373 (eval $ac_try) 2>&5
83374 ac_status=$?
83375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83376 (exit $ac_status); }; } &&
83377 { ac_try='test -s conftest$ac_exeext'
83378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83379 (eval $ac_try) 2>&5
83380 ac_status=$?
83381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83382 (exit $ac_status); }; }; then
83383 glibcxx_cv_S_ISREG=yes
83384 else
83385 echo "$as_me: failed program was:" >&5
83386 sed 's/^/| /' conftest.$ac_ext >&5
83388 glibcxx_cv_S_ISREG=no
83390 rm -f conftest.err conftest.$ac_objext \
83391 conftest$ac_exeext conftest.$ac_ext
83395 if test "${glibcxx_cv_S_IFREG+set}" = set; then
83396 echo $ECHO_N "(cached) $ECHO_C" >&6
83397 else
83399 if test x$gcc_no_link = xyes; then
83400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83402 { (exit 1); exit 1; }; }
83404 cat >conftest.$ac_ext <<_ACEOF
83405 /* confdefs.h. */
83406 _ACEOF
83407 cat confdefs.h >>conftest.$ac_ext
83408 cat >>conftest.$ac_ext <<_ACEOF
83409 /* end confdefs.h. */
83410 #include <sys/stat.h>
83412 main ()
83414 struct stat buffer;
83415 fstat(0, &buffer);
83416 S_IFREG & buffer.st_mode;
83418 return 0;
83420 _ACEOF
83421 rm -f conftest.$ac_objext conftest$ac_exeext
83422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83423 (eval $ac_link) 2>conftest.er1
83424 ac_status=$?
83425 grep -v '^ *+' conftest.er1 >conftest.err
83426 rm -f conftest.er1
83427 cat conftest.err >&5
83428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83429 (exit $ac_status); } &&
83430 { ac_try='test -z "$ac_c_werror_flag"
83431 || test ! -s conftest.err'
83432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83433 (eval $ac_try) 2>&5
83434 ac_status=$?
83435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83436 (exit $ac_status); }; } &&
83437 { ac_try='test -s conftest$ac_exeext'
83438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83439 (eval $ac_try) 2>&5
83440 ac_status=$?
83441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83442 (exit $ac_status); }; }; then
83443 glibcxx_cv_S_IFREG=yes
83444 else
83445 echo "$as_me: failed program was:" >&5
83446 sed 's/^/| /' conftest.$ac_ext >&5
83448 glibcxx_cv_S_IFREG=no
83450 rm -f conftest.err conftest.$ac_objext \
83451 conftest$ac_exeext conftest.$ac_ext
83455 res=no
83456 if test $glibcxx_cv_S_ISREG = yes; then
83458 cat >>confdefs.h <<\_ACEOF
83459 #define HAVE_S_ISREG 1
83460 _ACEOF
83462 res=S_ISREG
83463 elif test $glibcxx_cv_S_IFREG = yes; then
83465 cat >>confdefs.h <<\_ACEOF
83466 #define HAVE_S_IFREG 1
83467 _ACEOF
83469 res=S_IFREG
83471 echo "$as_me:$LINENO: result: $res" >&5
83472 echo "${ECHO_T}$res" >&6
83475 # For xsputn_2().
83477 for ac_header in sys/uio.h
83479 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83480 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83481 echo "$as_me:$LINENO: checking for $ac_header" >&5
83482 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83483 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83484 echo $ECHO_N "(cached) $ECHO_C" >&6
83486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83487 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83488 else
83489 # Is the header compilable?
83490 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83491 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83492 cat >conftest.$ac_ext <<_ACEOF
83493 /* confdefs.h. */
83494 _ACEOF
83495 cat confdefs.h >>conftest.$ac_ext
83496 cat >>conftest.$ac_ext <<_ACEOF
83497 /* end confdefs.h. */
83498 $ac_includes_default
83499 #include <$ac_header>
83500 _ACEOF
83501 rm -f conftest.$ac_objext
83502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83503 (eval $ac_compile) 2>conftest.er1
83504 ac_status=$?
83505 grep -v '^ *+' conftest.er1 >conftest.err
83506 rm -f conftest.er1
83507 cat conftest.err >&5
83508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83509 (exit $ac_status); } &&
83510 { ac_try='test -z "$ac_c_werror_flag"
83511 || test ! -s conftest.err'
83512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83513 (eval $ac_try) 2>&5
83514 ac_status=$?
83515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83516 (exit $ac_status); }; } &&
83517 { ac_try='test -s conftest.$ac_objext'
83518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83519 (eval $ac_try) 2>&5
83520 ac_status=$?
83521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83522 (exit $ac_status); }; }; then
83523 ac_header_compiler=yes
83524 else
83525 echo "$as_me: failed program was:" >&5
83526 sed 's/^/| /' conftest.$ac_ext >&5
83528 ac_header_compiler=no
83530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83531 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83532 echo "${ECHO_T}$ac_header_compiler" >&6
83534 # Is the header present?
83535 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83536 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83537 cat >conftest.$ac_ext <<_ACEOF
83538 /* confdefs.h. */
83539 _ACEOF
83540 cat confdefs.h >>conftest.$ac_ext
83541 cat >>conftest.$ac_ext <<_ACEOF
83542 /* end confdefs.h. */
83543 #include <$ac_header>
83544 _ACEOF
83545 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83546 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83547 ac_status=$?
83548 grep -v '^ *+' conftest.er1 >conftest.err
83549 rm -f conftest.er1
83550 cat conftest.err >&5
83551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83552 (exit $ac_status); } >/dev/null; then
83553 if test -s conftest.err; then
83554 ac_cpp_err=$ac_c_preproc_warn_flag
83555 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83556 else
83557 ac_cpp_err=
83559 else
83560 ac_cpp_err=yes
83562 if test -z "$ac_cpp_err"; then
83563 ac_header_preproc=yes
83564 else
83565 echo "$as_me: failed program was:" >&5
83566 sed 's/^/| /' conftest.$ac_ext >&5
83568 ac_header_preproc=no
83570 rm -f conftest.err conftest.$ac_ext
83571 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83572 echo "${ECHO_T}$ac_header_preproc" >&6
83574 # So? What about this header?
83575 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83576 yes:no: )
83577 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83578 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83579 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83580 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83581 ac_header_preproc=yes
83583 no:yes:* )
83584 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83585 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83586 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83587 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83588 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83589 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83590 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83591 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83592 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83593 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83594 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83595 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83597 cat <<\_ASBOX
83598 ## ----------------------------------------- ##
83599 ## Report this to the package-unused lists. ##
83600 ## ----------------------------------------- ##
83601 _ASBOX
83603 sed "s/^/$as_me: WARNING: /" >&2
83605 esac
83606 echo "$as_me:$LINENO: checking for $ac_header" >&5
83607 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83608 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83609 echo $ECHO_N "(cached) $ECHO_C" >&6
83610 else
83611 eval "$as_ac_Header=\$ac_header_preproc"
83613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83614 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83617 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83618 cat >>confdefs.h <<_ACEOF
83619 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83620 _ACEOF
83624 done
83627 echo "$as_me:$LINENO: checking for writev" >&5
83628 echo $ECHO_N "checking for writev... $ECHO_C" >&6
83629 if test "${glibcxx_cv_WRITEV+set}" = set; then
83630 echo $ECHO_N "(cached) $ECHO_C" >&6
83631 else
83633 if test x$gcc_no_link = xyes; then
83634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83636 { (exit 1); exit 1; }; }
83638 cat >conftest.$ac_ext <<_ACEOF
83639 /* confdefs.h. */
83640 _ACEOF
83641 cat confdefs.h >>conftest.$ac_ext
83642 cat >>conftest.$ac_ext <<_ACEOF
83643 /* end confdefs.h. */
83644 #include <sys/uio.h>
83646 main ()
83648 struct iovec iov[2];
83649 writev(0, iov, 0);
83651 return 0;
83653 _ACEOF
83654 rm -f conftest.$ac_objext conftest$ac_exeext
83655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83656 (eval $ac_link) 2>conftest.er1
83657 ac_status=$?
83658 grep -v '^ *+' conftest.er1 >conftest.err
83659 rm -f conftest.er1
83660 cat conftest.err >&5
83661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83662 (exit $ac_status); } &&
83663 { ac_try='test -z "$ac_c_werror_flag"
83664 || test ! -s conftest.err'
83665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83666 (eval $ac_try) 2>&5
83667 ac_status=$?
83668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83669 (exit $ac_status); }; } &&
83670 { ac_try='test -s conftest$ac_exeext'
83671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83672 (eval $ac_try) 2>&5
83673 ac_status=$?
83674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83675 (exit $ac_status); }; }; then
83676 glibcxx_cv_WRITEV=yes
83677 else
83678 echo "$as_me: failed program was:" >&5
83679 sed 's/^/| /' conftest.$ac_ext >&5
83681 glibcxx_cv_WRITEV=no
83683 rm -f conftest.err conftest.$ac_objext \
83684 conftest$ac_exeext conftest.$ac_ext
83688 if test $glibcxx_cv_WRITEV = yes; then
83690 cat >>confdefs.h <<\_ACEOF
83691 #define HAVE_WRITEV 1
83692 _ACEOF
83695 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
83696 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
83699 *-qnx6.1* | *-qnx6.2*)
83700 SECTION_FLAGS='-ffunction-sections -fdata-sections'
83703 # If we're not using GNU ld, then there's no point in even trying these
83704 # tests. Check for that first. We should have already tested for gld
83705 # by now (in libtool), but require it now just to be safe...
83706 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
83707 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
83711 # The name set by libtool depends on the version of libtool. Shame on us
83712 # for depending on an impl detail, but c'est la vie. Older versions used
83713 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
83714 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
83715 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
83716 # set (hence we're using an older libtool), then set it.
83717 if test x${with_gnu_ld+set} != xset; then
83718 if test x${ac_cv_prog_gnu_ld+set} != xset; then
83719 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
83720 with_gnu_ld=no
83721 else
83722 with_gnu_ld=$ac_cv_prog_gnu_ld
83726 # Start by getting the version number. I think the libtool test already
83727 # does some of this, but throws away the result.
83729 ldver=`$LD --version 2>/dev/null | head -1 | \
83730 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
83732 glibcxx_gnu_ld_version=`echo $ldver | \
83733 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
83735 # Set --gc-sections.
83736 if test "$with_gnu_ld" = "notbroken"; then
83737 # GNU ld it is! Joy and bunny rabbits!
83739 # All these tests are for C++; save the language and the compiler flags.
83740 # Need to do this so that g++ won't try to link in libstdc++
83741 ac_test_CFLAGS="${CFLAGS+set}"
83742 ac_save_CFLAGS="$CFLAGS"
83743 CFLAGS='-x c++ -Wl,--gc-sections'
83745 # Check for -Wl,--gc-sections
83746 # XXX This test is broken at the moment, as symbols required for linking
83747 # are now in libsupc++ (not built yet). In addition, this test has
83748 # cored on solaris in the past. In addition, --gc-sections doesn't
83749 # really work at the moment (keeps on discarding used sections, first
83750 # .eh_frame and now some of the glibc sections for iconv).
83751 # Bzzzzt. Thanks for playing, maybe next time.
83752 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
83753 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
83754 if test "$cross_compiling" = yes; then
83755 ac_sectionLDflags=yes
83756 else
83757 cat >conftest.$ac_ext <<_ACEOF
83758 /* confdefs.h. */
83759 _ACEOF
83760 cat confdefs.h >>conftest.$ac_ext
83761 cat >>conftest.$ac_ext <<_ACEOF
83762 /* end confdefs.h. */
83764 int main(void)
83766 try { throw 1; }
83767 catch (...) { };
83768 return 0;
83771 _ACEOF
83772 rm -f conftest$ac_exeext
83773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83774 (eval $ac_link) 2>&5
83775 ac_status=$?
83776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83777 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
83778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83779 (eval $ac_try) 2>&5
83780 ac_status=$?
83781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83782 (exit $ac_status); }; }; then
83783 ac_sectionLDflags=yes
83784 else
83785 echo "$as_me: program exited with status $ac_status" >&5
83786 echo "$as_me: failed program was:" >&5
83787 sed 's/^/| /' conftest.$ac_ext >&5
83789 ( exit $ac_status )
83790 ac_sectionLDflags=no
83792 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
83794 if test "$ac_test_CFLAGS" = set; then
83795 CFLAGS="$ac_save_CFLAGS"
83796 else
83797 # this is the suspicious part
83798 CFLAGS=''
83800 if test "$ac_sectionLDflags" = "yes"; then
83801 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
83803 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
83804 echo "${ECHO_T}$ac_sectionLDflags" >&6
83807 # Set linker optimization flags.
83808 if test x"$with_gnu_ld" = x"yes"; then
83809 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
83817 echo "$as_me:$LINENO: checking for main in -lm" >&5
83818 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
83819 if test "${ac_cv_lib_m_main+set}" = set; then
83820 echo $ECHO_N "(cached) $ECHO_C" >&6
83821 else
83822 ac_check_lib_save_LIBS=$LIBS
83823 LIBS="-lm $LIBS"
83824 if test x$gcc_no_link = xyes; then
83825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83827 { (exit 1); exit 1; }; }
83829 cat >conftest.$ac_ext <<_ACEOF
83830 /* confdefs.h. */
83831 _ACEOF
83832 cat confdefs.h >>conftest.$ac_ext
83833 cat >>conftest.$ac_ext <<_ACEOF
83834 /* end confdefs.h. */
83838 main ()
83840 main ();
83842 return 0;
83844 _ACEOF
83845 rm -f conftest.$ac_objext conftest$ac_exeext
83846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83847 (eval $ac_link) 2>conftest.er1
83848 ac_status=$?
83849 grep -v '^ *+' conftest.er1 >conftest.err
83850 rm -f conftest.er1
83851 cat conftest.err >&5
83852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83853 (exit $ac_status); } &&
83854 { ac_try='test -z "$ac_c_werror_flag"
83855 || test ! -s conftest.err'
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); }; } &&
83861 { ac_try='test -s conftest$ac_exeext'
83862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83863 (eval $ac_try) 2>&5
83864 ac_status=$?
83865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83866 (exit $ac_status); }; }; then
83867 ac_cv_lib_m_main=yes
83868 else
83869 echo "$as_me: failed program was:" >&5
83870 sed 's/^/| /' conftest.$ac_ext >&5
83872 ac_cv_lib_m_main=no
83874 rm -f conftest.err conftest.$ac_objext \
83875 conftest$ac_exeext conftest.$ac_ext
83876 LIBS=$ac_check_lib_save_LIBS
83878 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
83879 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
83880 if test $ac_cv_lib_m_main = yes; then
83881 cat >>confdefs.h <<_ACEOF
83882 #define HAVE_LIBM 1
83883 _ACEOF
83885 LIBS="-lm $LIBS"
83890 for ac_func in copysignf
83892 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83893 echo "$as_me:$LINENO: checking for $ac_func" >&5
83894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83895 if eval "test \"\${$as_ac_var+set}\" = set"; then
83896 echo $ECHO_N "(cached) $ECHO_C" >&6
83897 else
83898 if test x$gcc_no_link = xyes; then
83899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83901 { (exit 1); exit 1; }; }
83903 cat >conftest.$ac_ext <<_ACEOF
83904 /* confdefs.h. */
83905 _ACEOF
83906 cat confdefs.h >>conftest.$ac_ext
83907 cat >>conftest.$ac_ext <<_ACEOF
83908 /* end confdefs.h. */
83909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83911 #define $ac_func innocuous_$ac_func
83913 /* System header to define __stub macros and hopefully few prototypes,
83914 which can conflict with char $ac_func (); below.
83915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83916 <limits.h> exists even on freestanding compilers. */
83918 #ifdef __STDC__
83919 # include <limits.h>
83920 #else
83921 # include <assert.h>
83922 #endif
83924 #undef $ac_func
83926 /* Override any gcc2 internal prototype to avoid an error. */
83927 #ifdef __cplusplus
83928 extern "C"
83930 #endif
83931 /* We use char because int might match the return type of a gcc2
83932 builtin and then its argument prototype would still apply. */
83933 char $ac_func ();
83934 /* The GNU C library defines this for functions which it implements
83935 to always fail with ENOSYS. Some functions are actually named
83936 something starting with __ and the normal name is an alias. */
83937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83938 choke me
83939 #else
83940 char (*f) () = $ac_func;
83941 #endif
83942 #ifdef __cplusplus
83944 #endif
83947 main ()
83949 return f != $ac_func;
83951 return 0;
83953 _ACEOF
83954 rm -f conftest.$ac_objext conftest$ac_exeext
83955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83956 (eval $ac_link) 2>conftest.er1
83957 ac_status=$?
83958 grep -v '^ *+' conftest.er1 >conftest.err
83959 rm -f conftest.er1
83960 cat conftest.err >&5
83961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83962 (exit $ac_status); } &&
83963 { ac_try='test -z "$ac_c_werror_flag"
83964 || test ! -s conftest.err'
83965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83966 (eval $ac_try) 2>&5
83967 ac_status=$?
83968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83969 (exit $ac_status); }; } &&
83970 { ac_try='test -s conftest$ac_exeext'
83971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83972 (eval $ac_try) 2>&5
83973 ac_status=$?
83974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83975 (exit $ac_status); }; }; then
83976 eval "$as_ac_var=yes"
83977 else
83978 echo "$as_me: failed program was:" >&5
83979 sed 's/^/| /' conftest.$ac_ext >&5
83981 eval "$as_ac_var=no"
83983 rm -f conftest.err conftest.$ac_objext \
83984 conftest$ac_exeext conftest.$ac_ext
83986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83988 if test `eval echo '${'$as_ac_var'}'` = yes; then
83989 cat >>confdefs.h <<_ACEOF
83990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83991 _ACEOF
83993 else
83994 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83996 done
84000 for ac_func in __signbit
84002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84003 echo "$as_me:$LINENO: checking for $ac_func" >&5
84004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84005 if eval "test \"\${$as_ac_var+set}\" = set"; then
84006 echo $ECHO_N "(cached) $ECHO_C" >&6
84007 else
84008 if test x$gcc_no_link = xyes; then
84009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84011 { (exit 1); exit 1; }; }
84013 cat >conftest.$ac_ext <<_ACEOF
84014 /* confdefs.h. */
84015 _ACEOF
84016 cat confdefs.h >>conftest.$ac_ext
84017 cat >>conftest.$ac_ext <<_ACEOF
84018 /* end confdefs.h. */
84019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84021 #define $ac_func innocuous_$ac_func
84023 /* System header to define __stub macros and hopefully few prototypes,
84024 which can conflict with char $ac_func (); below.
84025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84026 <limits.h> exists even on freestanding compilers. */
84028 #ifdef __STDC__
84029 # include <limits.h>
84030 #else
84031 # include <assert.h>
84032 #endif
84034 #undef $ac_func
84036 /* Override any gcc2 internal prototype to avoid an error. */
84037 #ifdef __cplusplus
84038 extern "C"
84040 #endif
84041 /* We use char because int might match the return type of a gcc2
84042 builtin and then its argument prototype would still apply. */
84043 char $ac_func ();
84044 /* The GNU C library defines this for functions which it implements
84045 to always fail with ENOSYS. Some functions are actually named
84046 something starting with __ and the normal name is an alias. */
84047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84048 choke me
84049 #else
84050 char (*f) () = $ac_func;
84051 #endif
84052 #ifdef __cplusplus
84054 #endif
84057 main ()
84059 return f != $ac_func;
84061 return 0;
84063 _ACEOF
84064 rm -f conftest.$ac_objext conftest$ac_exeext
84065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84066 (eval $ac_link) 2>conftest.er1
84067 ac_status=$?
84068 grep -v '^ *+' conftest.er1 >conftest.err
84069 rm -f conftest.er1
84070 cat conftest.err >&5
84071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84072 (exit $ac_status); } &&
84073 { ac_try='test -z "$ac_c_werror_flag"
84074 || test ! -s conftest.err'
84075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84076 (eval $ac_try) 2>&5
84077 ac_status=$?
84078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84079 (exit $ac_status); }; } &&
84080 { ac_try='test -s conftest$ac_exeext'
84081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84082 (eval $ac_try) 2>&5
84083 ac_status=$?
84084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84085 (exit $ac_status); }; }; then
84086 eval "$as_ac_var=yes"
84087 else
84088 echo "$as_me: failed program was:" >&5
84089 sed 's/^/| /' conftest.$ac_ext >&5
84091 eval "$as_ac_var=no"
84093 rm -f conftest.err conftest.$ac_objext \
84094 conftest$ac_exeext conftest.$ac_ext
84096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84098 if test `eval echo '${'$as_ac_var'}'` = yes; then
84099 cat >>confdefs.h <<_ACEOF
84100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84101 _ACEOF
84103 else
84104 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
84106 done
84110 for ac_func in __signbitf
84112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84113 echo "$as_me:$LINENO: checking for $ac_func" >&5
84114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84115 if eval "test \"\${$as_ac_var+set}\" = set"; then
84116 echo $ECHO_N "(cached) $ECHO_C" >&6
84117 else
84118 if test x$gcc_no_link = xyes; then
84119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84121 { (exit 1); exit 1; }; }
84123 cat >conftest.$ac_ext <<_ACEOF
84124 /* confdefs.h. */
84125 _ACEOF
84126 cat confdefs.h >>conftest.$ac_ext
84127 cat >>conftest.$ac_ext <<_ACEOF
84128 /* end confdefs.h. */
84129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84131 #define $ac_func innocuous_$ac_func
84133 /* System header to define __stub macros and hopefully few prototypes,
84134 which can conflict with char $ac_func (); below.
84135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84136 <limits.h> exists even on freestanding compilers. */
84138 #ifdef __STDC__
84139 # include <limits.h>
84140 #else
84141 # include <assert.h>
84142 #endif
84144 #undef $ac_func
84146 /* Override any gcc2 internal prototype to avoid an error. */
84147 #ifdef __cplusplus
84148 extern "C"
84150 #endif
84151 /* We use char because int might match the return type of a gcc2
84152 builtin and then its argument prototype would still apply. */
84153 char $ac_func ();
84154 /* The GNU C library defines this for functions which it implements
84155 to always fail with ENOSYS. Some functions are actually named
84156 something starting with __ and the normal name is an alias. */
84157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84158 choke me
84159 #else
84160 char (*f) () = $ac_func;
84161 #endif
84162 #ifdef __cplusplus
84164 #endif
84167 main ()
84169 return f != $ac_func;
84171 return 0;
84173 _ACEOF
84174 rm -f conftest.$ac_objext conftest$ac_exeext
84175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84176 (eval $ac_link) 2>conftest.er1
84177 ac_status=$?
84178 grep -v '^ *+' conftest.er1 >conftest.err
84179 rm -f conftest.er1
84180 cat conftest.err >&5
84181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84182 (exit $ac_status); } &&
84183 { ac_try='test -z "$ac_c_werror_flag"
84184 || test ! -s conftest.err'
84185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84186 (eval $ac_try) 2>&5
84187 ac_status=$?
84188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84189 (exit $ac_status); }; } &&
84190 { ac_try='test -s conftest$ac_exeext'
84191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84192 (eval $ac_try) 2>&5
84193 ac_status=$?
84194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84195 (exit $ac_status); }; }; then
84196 eval "$as_ac_var=yes"
84197 else
84198 echo "$as_me: failed program was:" >&5
84199 sed 's/^/| /' conftest.$ac_ext >&5
84201 eval "$as_ac_var=no"
84203 rm -f conftest.err conftest.$ac_objext \
84204 conftest$ac_exeext conftest.$ac_ext
84206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84208 if test `eval echo '${'$as_ac_var'}'` = yes; then
84209 cat >>confdefs.h <<_ACEOF
84210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84211 _ACEOF
84213 else
84214 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
84216 done
84219 if test x$ac_cv_func_copysignl = x"yes"; then
84221 for ac_func in __signbitl
84223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84224 echo "$as_me:$LINENO: checking for $ac_func" >&5
84225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84226 if eval "test \"\${$as_ac_var+set}\" = set"; then
84227 echo $ECHO_N "(cached) $ECHO_C" >&6
84228 else
84229 if test x$gcc_no_link = xyes; then
84230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84232 { (exit 1); exit 1; }; }
84234 cat >conftest.$ac_ext <<_ACEOF
84235 /* confdefs.h. */
84236 _ACEOF
84237 cat confdefs.h >>conftest.$ac_ext
84238 cat >>conftest.$ac_ext <<_ACEOF
84239 /* end confdefs.h. */
84240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84242 #define $ac_func innocuous_$ac_func
84244 /* System header to define __stub macros and hopefully few prototypes,
84245 which can conflict with char $ac_func (); below.
84246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84247 <limits.h> exists even on freestanding compilers. */
84249 #ifdef __STDC__
84250 # include <limits.h>
84251 #else
84252 # include <assert.h>
84253 #endif
84255 #undef $ac_func
84257 /* Override any gcc2 internal prototype to avoid an error. */
84258 #ifdef __cplusplus
84259 extern "C"
84261 #endif
84262 /* We use char because int might match the return type of a gcc2
84263 builtin and then its argument prototype would still apply. */
84264 char $ac_func ();
84265 /* The GNU C library defines this for functions which it implements
84266 to always fail with ENOSYS. Some functions are actually named
84267 something starting with __ and the normal name is an alias. */
84268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84269 choke me
84270 #else
84271 char (*f) () = $ac_func;
84272 #endif
84273 #ifdef __cplusplus
84275 #endif
84278 main ()
84280 return f != $ac_func;
84282 return 0;
84284 _ACEOF
84285 rm -f conftest.$ac_objext conftest$ac_exeext
84286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84287 (eval $ac_link) 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_exeext'
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 eval "$as_ac_var=yes"
84308 else
84309 echo "$as_me: failed program was:" >&5
84310 sed 's/^/| /' conftest.$ac_ext >&5
84312 eval "$as_ac_var=no"
84314 rm -f conftest.err conftest.$ac_objext \
84315 conftest$ac_exeext conftest.$ac_ext
84317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84319 if test `eval echo '${'$as_ac_var'}'` = yes; then
84320 cat >>confdefs.h <<_ACEOF
84321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84322 _ACEOF
84324 else
84325 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
84327 done
84331 # Used in libmath/Makefile.am.
84332 if test -n "$LIBMATHOBJS"; then
84333 need_libmath=yes
84339 enable_iconv=no
84340 # Only continue checking if the ISO C99 headers exist and support is on.
84341 if test x"$enable_wchar_t" = xyes; then
84343 # Use iconv for wchar_t to char conversions. As such, check for
84344 # X/Open Portability Guide, version 2 features (XPG2).
84345 if test "${ac_cv_header_iconv_h+set}" = set; then
84346 echo "$as_me:$LINENO: checking for iconv.h" >&5
84347 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84348 if test "${ac_cv_header_iconv_h+set}" = set; then
84349 echo $ECHO_N "(cached) $ECHO_C" >&6
84351 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84352 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84353 else
84354 # Is the header compilable?
84355 echo "$as_me:$LINENO: checking iconv.h usability" >&5
84356 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
84357 cat >conftest.$ac_ext <<_ACEOF
84358 /* confdefs.h. */
84359 _ACEOF
84360 cat confdefs.h >>conftest.$ac_ext
84361 cat >>conftest.$ac_ext <<_ACEOF
84362 /* end confdefs.h. */
84363 $ac_includes_default
84364 #include <iconv.h>
84365 _ACEOF
84366 rm -f conftest.$ac_objext
84367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84368 (eval $ac_compile) 2>conftest.er1
84369 ac_status=$?
84370 grep -v '^ *+' conftest.er1 >conftest.err
84371 rm -f conftest.er1
84372 cat conftest.err >&5
84373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84374 (exit $ac_status); } &&
84375 { ac_try='test -z "$ac_c_werror_flag"
84376 || test ! -s conftest.err'
84377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84378 (eval $ac_try) 2>&5
84379 ac_status=$?
84380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84381 (exit $ac_status); }; } &&
84382 { ac_try='test -s conftest.$ac_objext'
84383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84384 (eval $ac_try) 2>&5
84385 ac_status=$?
84386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84387 (exit $ac_status); }; }; then
84388 ac_header_compiler=yes
84389 else
84390 echo "$as_me: failed program was:" >&5
84391 sed 's/^/| /' conftest.$ac_ext >&5
84393 ac_header_compiler=no
84395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84396 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84397 echo "${ECHO_T}$ac_header_compiler" >&6
84399 # Is the header present?
84400 echo "$as_me:$LINENO: checking iconv.h presence" >&5
84401 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
84402 cat >conftest.$ac_ext <<_ACEOF
84403 /* confdefs.h. */
84404 _ACEOF
84405 cat confdefs.h >>conftest.$ac_ext
84406 cat >>conftest.$ac_ext <<_ACEOF
84407 /* end confdefs.h. */
84408 #include <iconv.h>
84409 _ACEOF
84410 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84411 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84412 ac_status=$?
84413 grep -v '^ *+' conftest.er1 >conftest.err
84414 rm -f conftest.er1
84415 cat conftest.err >&5
84416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84417 (exit $ac_status); } >/dev/null; then
84418 if test -s conftest.err; then
84419 ac_cpp_err=$ac_c_preproc_warn_flag
84420 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84421 else
84422 ac_cpp_err=
84424 else
84425 ac_cpp_err=yes
84427 if test -z "$ac_cpp_err"; then
84428 ac_header_preproc=yes
84429 else
84430 echo "$as_me: failed program was:" >&5
84431 sed 's/^/| /' conftest.$ac_ext >&5
84433 ac_header_preproc=no
84435 rm -f conftest.err conftest.$ac_ext
84436 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84437 echo "${ECHO_T}$ac_header_preproc" >&6
84439 # So? What about this header?
84440 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84441 yes:no: )
84442 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
84443 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84444 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
84445 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
84446 ac_header_preproc=yes
84448 no:yes:* )
84449 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
84450 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
84451 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
84452 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
84453 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
84454 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
84455 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
84456 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
84457 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
84458 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
84459 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
84460 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
84462 cat <<\_ASBOX
84463 ## ----------------------------------------- ##
84464 ## Report this to the package-unused lists. ##
84465 ## ----------------------------------------- ##
84466 _ASBOX
84468 sed "s/^/$as_me: WARNING: /" >&2
84470 esac
84471 echo "$as_me:$LINENO: checking for iconv.h" >&5
84472 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84473 if test "${ac_cv_header_iconv_h+set}" = set; then
84474 echo $ECHO_N "(cached) $ECHO_C" >&6
84475 else
84476 ac_cv_header_iconv_h=$ac_header_preproc
84478 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84479 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84482 if test $ac_cv_header_iconv_h = yes; then
84483 ac_has_iconv_h=yes
84484 else
84485 ac_has_iconv_h=no
84489 if test "${ac_cv_header_langinfo_h+set}" = set; then
84490 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84491 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84492 if test "${ac_cv_header_langinfo_h+set}" = set; then
84493 echo $ECHO_N "(cached) $ECHO_C" >&6
84495 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84496 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84497 else
84498 # Is the header compilable?
84499 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
84500 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
84501 cat >conftest.$ac_ext <<_ACEOF
84502 /* confdefs.h. */
84503 _ACEOF
84504 cat confdefs.h >>conftest.$ac_ext
84505 cat >>conftest.$ac_ext <<_ACEOF
84506 /* end confdefs.h. */
84507 $ac_includes_default
84508 #include <langinfo.h>
84509 _ACEOF
84510 rm -f conftest.$ac_objext
84511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84512 (eval $ac_compile) 2>conftest.er1
84513 ac_status=$?
84514 grep -v '^ *+' conftest.er1 >conftest.err
84515 rm -f conftest.er1
84516 cat conftest.err >&5
84517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84518 (exit $ac_status); } &&
84519 { ac_try='test -z "$ac_c_werror_flag"
84520 || test ! -s conftest.err'
84521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84522 (eval $ac_try) 2>&5
84523 ac_status=$?
84524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84525 (exit $ac_status); }; } &&
84526 { ac_try='test -s conftest.$ac_objext'
84527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84528 (eval $ac_try) 2>&5
84529 ac_status=$?
84530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84531 (exit $ac_status); }; }; then
84532 ac_header_compiler=yes
84533 else
84534 echo "$as_me: failed program was:" >&5
84535 sed 's/^/| /' conftest.$ac_ext >&5
84537 ac_header_compiler=no
84539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84540 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84541 echo "${ECHO_T}$ac_header_compiler" >&6
84543 # Is the header present?
84544 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
84545 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
84546 cat >conftest.$ac_ext <<_ACEOF
84547 /* confdefs.h. */
84548 _ACEOF
84549 cat confdefs.h >>conftest.$ac_ext
84550 cat >>conftest.$ac_ext <<_ACEOF
84551 /* end confdefs.h. */
84552 #include <langinfo.h>
84553 _ACEOF
84554 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84555 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84556 ac_status=$?
84557 grep -v '^ *+' conftest.er1 >conftest.err
84558 rm -f conftest.er1
84559 cat conftest.err >&5
84560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84561 (exit $ac_status); } >/dev/null; then
84562 if test -s conftest.err; then
84563 ac_cpp_err=$ac_c_preproc_warn_flag
84564 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84565 else
84566 ac_cpp_err=
84568 else
84569 ac_cpp_err=yes
84571 if test -z "$ac_cpp_err"; then
84572 ac_header_preproc=yes
84573 else
84574 echo "$as_me: failed program was:" >&5
84575 sed 's/^/| /' conftest.$ac_ext >&5
84577 ac_header_preproc=no
84579 rm -f conftest.err conftest.$ac_ext
84580 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84581 echo "${ECHO_T}$ac_header_preproc" >&6
84583 # So? What about this header?
84584 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84585 yes:no: )
84586 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
84587 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84588 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
84589 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
84590 ac_header_preproc=yes
84592 no:yes:* )
84593 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
84594 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
84595 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
84596 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
84597 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
84598 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
84599 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
84600 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
84601 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
84602 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
84603 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
84604 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
84606 cat <<\_ASBOX
84607 ## ----------------------------------------- ##
84608 ## Report this to the package-unused lists. ##
84609 ## ----------------------------------------- ##
84610 _ASBOX
84612 sed "s/^/$as_me: WARNING: /" >&2
84614 esac
84615 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84616 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84617 if test "${ac_cv_header_langinfo_h+set}" = set; then
84618 echo $ECHO_N "(cached) $ECHO_C" >&6
84619 else
84620 ac_cv_header_langinfo_h=$ac_header_preproc
84622 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84623 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84626 if test $ac_cv_header_langinfo_h = yes; then
84627 ac_has_langinfo_h=yes
84628 else
84629 ac_has_langinfo_h=no
84634 # Check for existence of libiconv.a providing XPG2 wchar_t support.
84635 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
84636 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
84637 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
84638 echo $ECHO_N "(cached) $ECHO_C" >&6
84639 else
84640 ac_check_lib_save_LIBS=$LIBS
84641 LIBS="-liconv $LIBS"
84642 if test x$gcc_no_link = xyes; then
84643 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84645 { (exit 1); exit 1; }; }
84647 cat >conftest.$ac_ext <<_ACEOF
84648 /* confdefs.h. */
84649 _ACEOF
84650 cat confdefs.h >>conftest.$ac_ext
84651 cat >>conftest.$ac_ext <<_ACEOF
84652 /* end confdefs.h. */
84654 /* Override any gcc2 internal prototype to avoid an error. */
84655 #ifdef __cplusplus
84656 extern "C"
84657 #endif
84658 /* We use char because int might match the return type of a gcc2
84659 builtin and then its argument prototype would still apply. */
84660 char iconv ();
84662 main ()
84664 iconv ();
84666 return 0;
84668 _ACEOF
84669 rm -f conftest.$ac_objext conftest$ac_exeext
84670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84671 (eval $ac_link) 2>conftest.er1
84672 ac_status=$?
84673 grep -v '^ *+' conftest.er1 >conftest.err
84674 rm -f conftest.er1
84675 cat conftest.err >&5
84676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84677 (exit $ac_status); } &&
84678 { ac_try='test -z "$ac_c_werror_flag"
84679 || test ! -s conftest.err'
84680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84681 (eval $ac_try) 2>&5
84682 ac_status=$?
84683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84684 (exit $ac_status); }; } &&
84685 { ac_try='test -s conftest$ac_exeext'
84686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84687 (eval $ac_try) 2>&5
84688 ac_status=$?
84689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84690 (exit $ac_status); }; }; then
84691 ac_cv_lib_iconv_iconv=yes
84692 else
84693 echo "$as_me: failed program was:" >&5
84694 sed 's/^/| /' conftest.$ac_ext >&5
84696 ac_cv_lib_iconv_iconv=no
84698 rm -f conftest.err conftest.$ac_objext \
84699 conftest$ac_exeext conftest.$ac_ext
84700 LIBS=$ac_check_lib_save_LIBS
84702 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
84703 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
84704 if test $ac_cv_lib_iconv_iconv = yes; then
84705 LIBICONV="-liconv"
84708 ac_save_LIBS="$LIBS"
84709 LIBS="$LIBS $LIBICONV"
84716 for ac_func in iconv_open iconv_close iconv nl_langinfo
84718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84719 echo "$as_me:$LINENO: checking for $ac_func" >&5
84720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84721 if eval "test \"\${$as_ac_var+set}\" = set"; then
84722 echo $ECHO_N "(cached) $ECHO_C" >&6
84723 else
84724 if test x$gcc_no_link = xyes; then
84725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84727 { (exit 1); exit 1; }; }
84729 cat >conftest.$ac_ext <<_ACEOF
84730 /* confdefs.h. */
84731 _ACEOF
84732 cat confdefs.h >>conftest.$ac_ext
84733 cat >>conftest.$ac_ext <<_ACEOF
84734 /* end confdefs.h. */
84735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84737 #define $ac_func innocuous_$ac_func
84739 /* System header to define __stub macros and hopefully few prototypes,
84740 which can conflict with char $ac_func (); below.
84741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84742 <limits.h> exists even on freestanding compilers. */
84744 #ifdef __STDC__
84745 # include <limits.h>
84746 #else
84747 # include <assert.h>
84748 #endif
84750 #undef $ac_func
84752 /* Override any gcc2 internal prototype to avoid an error. */
84753 #ifdef __cplusplus
84754 extern "C"
84756 #endif
84757 /* We use char because int might match the return type of a gcc2
84758 builtin and then its argument prototype would still apply. */
84759 char $ac_func ();
84760 /* The GNU C library defines this for functions which it implements
84761 to always fail with ENOSYS. Some functions are actually named
84762 something starting with __ and the normal name is an alias. */
84763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84764 choke me
84765 #else
84766 char (*f) () = $ac_func;
84767 #endif
84768 #ifdef __cplusplus
84770 #endif
84773 main ()
84775 return f != $ac_func;
84777 return 0;
84779 _ACEOF
84780 rm -f conftest.$ac_objext conftest$ac_exeext
84781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84782 (eval $ac_link) 2>conftest.er1
84783 ac_status=$?
84784 grep -v '^ *+' conftest.er1 >conftest.err
84785 rm -f conftest.er1
84786 cat conftest.err >&5
84787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84788 (exit $ac_status); } &&
84789 { ac_try='test -z "$ac_c_werror_flag"
84790 || test ! -s conftest.err'
84791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84792 (eval $ac_try) 2>&5
84793 ac_status=$?
84794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84795 (exit $ac_status); }; } &&
84796 { ac_try='test -s conftest$ac_exeext'
84797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84798 (eval $ac_try) 2>&5
84799 ac_status=$?
84800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84801 (exit $ac_status); }; }; then
84802 eval "$as_ac_var=yes"
84803 else
84804 echo "$as_me: failed program was:" >&5
84805 sed 's/^/| /' conftest.$ac_ext >&5
84807 eval "$as_ac_var=no"
84809 rm -f conftest.err conftest.$ac_objext \
84810 conftest$ac_exeext conftest.$ac_ext
84812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84814 if test `eval echo '${'$as_ac_var'}'` = yes; then
84815 cat >>confdefs.h <<_ACEOF
84816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84817 _ACEOF
84818 ac_XPG2funcs=yes
84819 else
84820 ac_XPG2funcs=no
84822 done
84825 LIBS="$ac_save_LIBS"
84827 if test x"$ac_has_iconv_h" = xyes &&
84828 test x"$ac_has_langinfo_h" = xyes &&
84829 test x"$ac_XPG2funcs" = xyes;
84830 then
84832 cat >>confdefs.h <<\_ACEOF
84833 #define _GLIBCXX_USE_ICONV 1
84834 _ACEOF
84836 enable_iconv=yes
84839 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
84840 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
84841 echo "$as_me:$LINENO: result: $enable_iconv" >&5
84842 echo "${ECHO_T}$enable_iconv" >&6
84844 cat >>confdefs.h <<\_ACEOF
84845 #define HAVE_COSF 1
84846 _ACEOF
84848 cat >>confdefs.h <<\_ACEOF
84849 #define HAVE_COSL 1
84850 _ACEOF
84852 cat >>confdefs.h <<\_ACEOF
84853 #define HAVE_COSHF 1
84854 _ACEOF
84856 cat >>confdefs.h <<\_ACEOF
84857 #define HAVE_COSHL 1
84858 _ACEOF
84860 cat >>confdefs.h <<\_ACEOF
84861 #define HAVE_LOGF 1
84862 _ACEOF
84864 cat >>confdefs.h <<\_ACEOF
84865 #define HAVE_LOGL 1
84866 _ACEOF
84868 cat >>confdefs.h <<\_ACEOF
84869 #define HAVE_LOG10F 1
84870 _ACEOF
84872 cat >>confdefs.h <<\_ACEOF
84873 #define HAVE_LOG10L 1
84874 _ACEOF
84876 cat >>confdefs.h <<\_ACEOF
84877 #define HAVE_SINF 1
84878 _ACEOF
84880 cat >>confdefs.h <<\_ACEOF
84881 #define HAVE_SINL 1
84882 _ACEOF
84884 cat >>confdefs.h <<\_ACEOF
84885 #define HAVE_SINHF 1
84886 _ACEOF
84888 cat >>confdefs.h <<\_ACEOF
84889 #define HAVE_SINHL 1
84890 _ACEOF
84893 *-solaris*)
84894 case "$target" in
84895 # *-solaris2.5)
84896 # os_include_dir="os/solaris/solaris2.5"
84897 # ;;
84898 # *-solaris2.6)
84899 # os_include_dir="os/solaris/solaris2.6"
84900 # ;;
84901 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
84902 cat >>confdefs.h <<\_ACEOF
84903 #define HAVE_GETPAGESIZE 1
84904 _ACEOF
84906 cat >>confdefs.h <<\_ACEOF
84907 #define HAVE_SIGSETJMP 1
84908 _ACEOF
84910 cat >>confdefs.h <<\_ACEOF
84911 #define HAVE_MBSTATE_T 1
84912 _ACEOF
84914 cat >>confdefs.h <<\_ACEOF
84915 #define HAVE_POLL 1
84916 _ACEOF
84918 cat >>confdefs.h <<\_ACEOF
84919 #define HAVE_S_ISREG 1
84920 _ACEOF
84922 cat >>confdefs.h <<\_ACEOF
84923 #define HAVE_LC_MESSAGES 1
84924 _ACEOF
84926 cat >>confdefs.h <<\_ACEOF
84927 #define HAVE_FINITE 1
84928 _ACEOF
84930 cat >>confdefs.h <<\_ACEOF
84931 #define HAVE_FPCLASS 1
84932 _ACEOF
84934 cat >>confdefs.h <<\_ACEOF
84935 #define HAVE_GETPAGESIZE 1
84936 _ACEOF
84938 cat >>confdefs.h <<\_ACEOF
84939 #define HAVE_NL_LANGINFO 1
84940 _ACEOF
84942 cat >>confdefs.h <<\_ACEOF
84943 #define HAVE_ICONV 1
84944 _ACEOF
84946 cat >>confdefs.h <<\_ACEOF
84947 #define HAVE_ICONV_CLOSE 1
84948 _ACEOF
84950 cat >>confdefs.h <<\_ACEOF
84951 #define HAVE_ICONV_OPEN 1
84952 _ACEOF
84954 # Look for the pieces required for wchar_t support in order to
84955 # get all the right HAVE_* macros defined.
84958 enable_iconv=no
84959 # Only continue checking if the ISO C99 headers exist and support is on.
84960 if test x"$enable_wchar_t" = xyes; then
84962 # Use iconv for wchar_t to char conversions. As such, check for
84963 # X/Open Portability Guide, version 2 features (XPG2).
84964 if test "${ac_cv_header_iconv_h+set}" = set; then
84965 echo "$as_me:$LINENO: checking for iconv.h" >&5
84966 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84967 if test "${ac_cv_header_iconv_h+set}" = set; then
84968 echo $ECHO_N "(cached) $ECHO_C" >&6
84970 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84971 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84972 else
84973 # Is the header compilable?
84974 echo "$as_me:$LINENO: checking iconv.h usability" >&5
84975 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
84976 cat >conftest.$ac_ext <<_ACEOF
84977 /* confdefs.h. */
84978 _ACEOF
84979 cat confdefs.h >>conftest.$ac_ext
84980 cat >>conftest.$ac_ext <<_ACEOF
84981 /* end confdefs.h. */
84982 $ac_includes_default
84983 #include <iconv.h>
84984 _ACEOF
84985 rm -f conftest.$ac_objext
84986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84987 (eval $ac_compile) 2>conftest.er1
84988 ac_status=$?
84989 grep -v '^ *+' conftest.er1 >conftest.err
84990 rm -f conftest.er1
84991 cat conftest.err >&5
84992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84993 (exit $ac_status); } &&
84994 { ac_try='test -z "$ac_c_werror_flag"
84995 || test ! -s conftest.err'
84996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84997 (eval $ac_try) 2>&5
84998 ac_status=$?
84999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85000 (exit $ac_status); }; } &&
85001 { ac_try='test -s conftest.$ac_objext'
85002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85003 (eval $ac_try) 2>&5
85004 ac_status=$?
85005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85006 (exit $ac_status); }; }; then
85007 ac_header_compiler=yes
85008 else
85009 echo "$as_me: failed program was:" >&5
85010 sed 's/^/| /' conftest.$ac_ext >&5
85012 ac_header_compiler=no
85014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85015 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85016 echo "${ECHO_T}$ac_header_compiler" >&6
85018 # Is the header present?
85019 echo "$as_me:$LINENO: checking iconv.h presence" >&5
85020 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
85021 cat >conftest.$ac_ext <<_ACEOF
85022 /* confdefs.h. */
85023 _ACEOF
85024 cat confdefs.h >>conftest.$ac_ext
85025 cat >>conftest.$ac_ext <<_ACEOF
85026 /* end confdefs.h. */
85027 #include <iconv.h>
85028 _ACEOF
85029 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85030 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85031 ac_status=$?
85032 grep -v '^ *+' conftest.er1 >conftest.err
85033 rm -f conftest.er1
85034 cat conftest.err >&5
85035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85036 (exit $ac_status); } >/dev/null; then
85037 if test -s conftest.err; then
85038 ac_cpp_err=$ac_c_preproc_warn_flag
85039 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85040 else
85041 ac_cpp_err=
85043 else
85044 ac_cpp_err=yes
85046 if test -z "$ac_cpp_err"; then
85047 ac_header_preproc=yes
85048 else
85049 echo "$as_me: failed program was:" >&5
85050 sed 's/^/| /' conftest.$ac_ext >&5
85052 ac_header_preproc=no
85054 rm -f conftest.err conftest.$ac_ext
85055 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85056 echo "${ECHO_T}$ac_header_preproc" >&6
85058 # So? What about this header?
85059 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85060 yes:no: )
85061 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
85062 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
85063 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
85064 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
85065 ac_header_preproc=yes
85067 no:yes:* )
85068 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
85069 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
85070 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
85071 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
85072 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
85073 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
85074 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
85075 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
85076 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
85077 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
85078 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
85079 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
85081 cat <<\_ASBOX
85082 ## ----------------------------------------- ##
85083 ## Report this to the package-unused lists. ##
85084 ## ----------------------------------------- ##
85085 _ASBOX
85087 sed "s/^/$as_me: WARNING: /" >&2
85089 esac
85090 echo "$as_me:$LINENO: checking for iconv.h" >&5
85091 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
85092 if test "${ac_cv_header_iconv_h+set}" = set; then
85093 echo $ECHO_N "(cached) $ECHO_C" >&6
85094 else
85095 ac_cv_header_iconv_h=$ac_header_preproc
85097 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
85098 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
85101 if test $ac_cv_header_iconv_h = yes; then
85102 ac_has_iconv_h=yes
85103 else
85104 ac_has_iconv_h=no
85108 if test "${ac_cv_header_langinfo_h+set}" = set; then
85109 echo "$as_me:$LINENO: checking for langinfo.h" >&5
85110 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
85111 if test "${ac_cv_header_langinfo_h+set}" = set; then
85112 echo $ECHO_N "(cached) $ECHO_C" >&6
85114 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
85115 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
85116 else
85117 # Is the header compilable?
85118 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
85119 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
85120 cat >conftest.$ac_ext <<_ACEOF
85121 /* confdefs.h. */
85122 _ACEOF
85123 cat confdefs.h >>conftest.$ac_ext
85124 cat >>conftest.$ac_ext <<_ACEOF
85125 /* end confdefs.h. */
85126 $ac_includes_default
85127 #include <langinfo.h>
85128 _ACEOF
85129 rm -f conftest.$ac_objext
85130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85131 (eval $ac_compile) 2>conftest.er1
85132 ac_status=$?
85133 grep -v '^ *+' conftest.er1 >conftest.err
85134 rm -f conftest.er1
85135 cat conftest.err >&5
85136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85137 (exit $ac_status); } &&
85138 { ac_try='test -z "$ac_c_werror_flag"
85139 || test ! -s conftest.err'
85140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85141 (eval $ac_try) 2>&5
85142 ac_status=$?
85143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85144 (exit $ac_status); }; } &&
85145 { ac_try='test -s conftest.$ac_objext'
85146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85147 (eval $ac_try) 2>&5
85148 ac_status=$?
85149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85150 (exit $ac_status); }; }; then
85151 ac_header_compiler=yes
85152 else
85153 echo "$as_me: failed program was:" >&5
85154 sed 's/^/| /' conftest.$ac_ext >&5
85156 ac_header_compiler=no
85158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85159 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85160 echo "${ECHO_T}$ac_header_compiler" >&6
85162 # Is the header present?
85163 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
85164 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
85165 cat >conftest.$ac_ext <<_ACEOF
85166 /* confdefs.h. */
85167 _ACEOF
85168 cat confdefs.h >>conftest.$ac_ext
85169 cat >>conftest.$ac_ext <<_ACEOF
85170 /* end confdefs.h. */
85171 #include <langinfo.h>
85172 _ACEOF
85173 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85174 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85175 ac_status=$?
85176 grep -v '^ *+' conftest.er1 >conftest.err
85177 rm -f conftest.er1
85178 cat conftest.err >&5
85179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85180 (exit $ac_status); } >/dev/null; then
85181 if test -s conftest.err; then
85182 ac_cpp_err=$ac_c_preproc_warn_flag
85183 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85184 else
85185 ac_cpp_err=
85187 else
85188 ac_cpp_err=yes
85190 if test -z "$ac_cpp_err"; then
85191 ac_header_preproc=yes
85192 else
85193 echo "$as_me: failed program was:" >&5
85194 sed 's/^/| /' conftest.$ac_ext >&5
85196 ac_header_preproc=no
85198 rm -f conftest.err conftest.$ac_ext
85199 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85200 echo "${ECHO_T}$ac_header_preproc" >&6
85202 # So? What about this header?
85203 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85204 yes:no: )
85205 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
85206 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
85207 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
85208 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
85209 ac_header_preproc=yes
85211 no:yes:* )
85212 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
85213 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
85214 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
85215 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
85216 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
85217 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
85218 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
85219 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
85220 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
85221 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
85222 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
85223 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
85225 cat <<\_ASBOX
85226 ## ----------------------------------------- ##
85227 ## Report this to the package-unused lists. ##
85228 ## ----------------------------------------- ##
85229 _ASBOX
85231 sed "s/^/$as_me: WARNING: /" >&2
85233 esac
85234 echo "$as_me:$LINENO: checking for langinfo.h" >&5
85235 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
85236 if test "${ac_cv_header_langinfo_h+set}" = set; then
85237 echo $ECHO_N "(cached) $ECHO_C" >&6
85238 else
85239 ac_cv_header_langinfo_h=$ac_header_preproc
85241 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
85242 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
85245 if test $ac_cv_header_langinfo_h = yes; then
85246 ac_has_langinfo_h=yes
85247 else
85248 ac_has_langinfo_h=no
85253 # Check for existence of libiconv.a providing XPG2 wchar_t support.
85254 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
85255 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
85256 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
85257 echo $ECHO_N "(cached) $ECHO_C" >&6
85258 else
85259 ac_check_lib_save_LIBS=$LIBS
85260 LIBS="-liconv $LIBS"
85261 if test x$gcc_no_link = xyes; then
85262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85264 { (exit 1); exit 1; }; }
85266 cat >conftest.$ac_ext <<_ACEOF
85267 /* confdefs.h. */
85268 _ACEOF
85269 cat confdefs.h >>conftest.$ac_ext
85270 cat >>conftest.$ac_ext <<_ACEOF
85271 /* end confdefs.h. */
85273 /* Override any gcc2 internal prototype to avoid an error. */
85274 #ifdef __cplusplus
85275 extern "C"
85276 #endif
85277 /* We use char because int might match the return type of a gcc2
85278 builtin and then its argument prototype would still apply. */
85279 char iconv ();
85281 main ()
85283 iconv ();
85285 return 0;
85287 _ACEOF
85288 rm -f conftest.$ac_objext conftest$ac_exeext
85289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85290 (eval $ac_link) 2>conftest.er1
85291 ac_status=$?
85292 grep -v '^ *+' conftest.er1 >conftest.err
85293 rm -f conftest.er1
85294 cat conftest.err >&5
85295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85296 (exit $ac_status); } &&
85297 { ac_try='test -z "$ac_c_werror_flag"
85298 || test ! -s conftest.err'
85299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85300 (eval $ac_try) 2>&5
85301 ac_status=$?
85302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85303 (exit $ac_status); }; } &&
85304 { ac_try='test -s conftest$ac_exeext'
85305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85306 (eval $ac_try) 2>&5
85307 ac_status=$?
85308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85309 (exit $ac_status); }; }; then
85310 ac_cv_lib_iconv_iconv=yes
85311 else
85312 echo "$as_me: failed program was:" >&5
85313 sed 's/^/| /' conftest.$ac_ext >&5
85315 ac_cv_lib_iconv_iconv=no
85317 rm -f conftest.err conftest.$ac_objext \
85318 conftest$ac_exeext conftest.$ac_ext
85319 LIBS=$ac_check_lib_save_LIBS
85321 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
85322 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
85323 if test $ac_cv_lib_iconv_iconv = yes; then
85324 LIBICONV="-liconv"
85327 ac_save_LIBS="$LIBS"
85328 LIBS="$LIBS $LIBICONV"
85335 for ac_func in iconv_open iconv_close iconv nl_langinfo
85337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85338 echo "$as_me:$LINENO: checking for $ac_func" >&5
85339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85340 if eval "test \"\${$as_ac_var+set}\" = set"; then
85341 echo $ECHO_N "(cached) $ECHO_C" >&6
85342 else
85343 if test x$gcc_no_link = xyes; then
85344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85346 { (exit 1); exit 1; }; }
85348 cat >conftest.$ac_ext <<_ACEOF
85349 /* confdefs.h. */
85350 _ACEOF
85351 cat confdefs.h >>conftest.$ac_ext
85352 cat >>conftest.$ac_ext <<_ACEOF
85353 /* end confdefs.h. */
85354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85356 #define $ac_func innocuous_$ac_func
85358 /* System header to define __stub macros and hopefully few prototypes,
85359 which can conflict with char $ac_func (); below.
85360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85361 <limits.h> exists even on freestanding compilers. */
85363 #ifdef __STDC__
85364 # include <limits.h>
85365 #else
85366 # include <assert.h>
85367 #endif
85369 #undef $ac_func
85371 /* Override any gcc2 internal prototype to avoid an error. */
85372 #ifdef __cplusplus
85373 extern "C"
85375 #endif
85376 /* We use char because int might match the return type of a gcc2
85377 builtin and then its argument prototype would still apply. */
85378 char $ac_func ();
85379 /* The GNU C library defines this for functions which it implements
85380 to always fail with ENOSYS. Some functions are actually named
85381 something starting with __ and the normal name is an alias. */
85382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85383 choke me
85384 #else
85385 char (*f) () = $ac_func;
85386 #endif
85387 #ifdef __cplusplus
85389 #endif
85392 main ()
85394 return f != $ac_func;
85396 return 0;
85398 _ACEOF
85399 rm -f conftest.$ac_objext conftest$ac_exeext
85400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85401 (eval $ac_link) 2>conftest.er1
85402 ac_status=$?
85403 grep -v '^ *+' conftest.er1 >conftest.err
85404 rm -f conftest.er1
85405 cat conftest.err >&5
85406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85407 (exit $ac_status); } &&
85408 { ac_try='test -z "$ac_c_werror_flag"
85409 || test ! -s conftest.err'
85410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85411 (eval $ac_try) 2>&5
85412 ac_status=$?
85413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85414 (exit $ac_status); }; } &&
85415 { ac_try='test -s conftest$ac_exeext'
85416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85417 (eval $ac_try) 2>&5
85418 ac_status=$?
85419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85420 (exit $ac_status); }; }; then
85421 eval "$as_ac_var=yes"
85422 else
85423 echo "$as_me: failed program was:" >&5
85424 sed 's/^/| /' conftest.$ac_ext >&5
85426 eval "$as_ac_var=no"
85428 rm -f conftest.err conftest.$ac_objext \
85429 conftest$ac_exeext conftest.$ac_ext
85431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85433 if test `eval echo '${'$as_ac_var'}'` = yes; then
85434 cat >>confdefs.h <<_ACEOF
85435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85436 _ACEOF
85437 ac_XPG2funcs=yes
85438 else
85439 ac_XPG2funcs=no
85441 done
85444 LIBS="$ac_save_LIBS"
85446 if test x"$ac_has_iconv_h" = xyes &&
85447 test x"$ac_has_langinfo_h" = xyes &&
85448 test x"$ac_XPG2funcs" = xyes;
85449 then
85451 cat >>confdefs.h <<\_ACEOF
85452 #define _GLIBCXX_USE_ICONV 1
85453 _ACEOF
85455 enable_iconv=yes
85458 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
85459 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
85460 echo "$as_me:$LINENO: result: $enable_iconv" >&5
85461 echo "${ECHO_T}$enable_iconv" >&6
85463 # All of the dependencies for wide character support are here, so
85464 # turn it on. This requires some syncronization with the
85465 # GLIBCXX_CHECK_ICONV_SUPPORT in acinclude.m4
85466 cat >>confdefs.h <<\_ACEOF
85467 #define _GLIBCXX_USE_WCHAR_T 1
85468 _ACEOF
85470 # Are these tested for even when cross?
85471 cat >>confdefs.h <<\_ACEOF
85472 #define HAVE_FLOAT_H 1
85473 _ACEOF
85475 cat >>confdefs.h <<\_ACEOF
85476 #define HAVE_IEEEFP_H 1
85477 _ACEOF
85479 cat >>confdefs.h <<\_ACEOF
85480 #define HAVE_INTTYPES_H 1
85481 _ACEOF
85483 cat >>confdefs.h <<\_ACEOF
85484 #define HAVE_LOCALE_H 1
85485 _ACEOF
85487 cat >>confdefs.h <<\_ACEOF
85488 #define HAVE_NAN_H 1
85489 _ACEOF
85491 cat >>confdefs.h <<\_ACEOF
85492 #define HAVE_SYS_FILIO_H 1
85493 _ACEOF
85495 cat >>confdefs.h <<\_ACEOF
85496 #define HAVE_SYS_IOCTL_H 1
85497 _ACEOF
85499 cat >>confdefs.h <<\_ACEOF
85500 #define HAVE_SYS_ISA_DEFS_H 1
85501 _ACEOF
85503 cat >>confdefs.h <<\_ACEOF
85504 #define HAVE_SYS_RESOURCE_H 1
85505 _ACEOF
85507 cat >>confdefs.h <<\_ACEOF
85508 #define HAVE_SYS_TIME_H 1
85509 _ACEOF
85511 cat >>confdefs.h <<\_ACEOF
85512 #define HAVE_SYS_TYPES_H 1
85513 _ACEOF
85515 cat >>confdefs.h <<\_ACEOF
85516 #define HAVE_UNISTD_H 1
85517 _ACEOF
85519 cat >>confdefs.h <<\_ACEOF
85520 #define HAVE_WCHAR_H 1
85521 _ACEOF
85523 cat >>confdefs.h <<\_ACEOF
85524 #define HAVE_WCTYPE_H 1
85525 _ACEOF
85527 cat >>confdefs.h <<\_ACEOF
85528 #define HAVE_LIBM 1
85529 _ACEOF
85532 esac
85533 case "$target" in
85534 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
85535 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
85536 cat >>confdefs.h <<\_ACEOF
85537 #define HAVE___BUILTIN_ABS 1
85538 _ACEOF
85540 cat >>confdefs.h <<\_ACEOF
85541 #define HAVE___BUILTIN_LABS 1
85542 _ACEOF
85544 cat >>confdefs.h <<\_ACEOF
85545 #define HAVE___BUILTIN_FABS 1
85546 _ACEOF
85548 cat >>confdefs.h <<\_ACEOF
85549 #define HAVE___BUILTIN_FABSF 1
85550 _ACEOF
85552 cat >>confdefs.h <<\_ACEOF
85553 #define HAVE___BUILTIN_FABSL 1
85554 _ACEOF
85556 cat >>confdefs.h <<\_ACEOF
85557 #define HAVE___BUILTIN_COS 1
85558 _ACEOF
85560 cat >>confdefs.h <<\_ACEOF
85561 #define HAVE___BUILTIN_COSF 1
85562 _ACEOF
85564 cat >>confdefs.h <<\_ACEOF
85565 #define HAVE___BUILTIN_SIN 1
85566 _ACEOF
85568 cat >>confdefs.h <<\_ACEOF
85569 #define HAVE___BUILTIN_SINF 1
85570 _ACEOF
85573 esac
85574 case "$target" in
85575 *-*-solaris2.10)
85576 # These two C99 functions are present only in Solaris >= 10
85577 cat >>confdefs.h <<\_ACEOF
85578 #define HAVE_STRTOF 1
85579 _ACEOF
85581 cat >>confdefs.h <<\_ACEOF
85582 #define HAVE_STRTOLD 1
85583 _ACEOF
85586 esac
85587 cat >>confdefs.h <<\_ACEOF
85588 #define HAVE_MMAP 1
85589 _ACEOF
85591 cat >>confdefs.h <<\_ACEOF
85592 #define HAVE_COPYSIGN 1
85593 _ACEOF
85595 cat >>confdefs.h <<\_ACEOF
85596 #define HAVE_ISNAN 1
85597 _ACEOF
85599 cat >>confdefs.h <<\_ACEOF
85600 #define HAVE_ISNANF 1
85601 _ACEOF
85603 cat >>confdefs.h <<\_ACEOF
85604 #define HAVE_MODFF 1
85605 _ACEOF
85607 cat >>confdefs.h <<\_ACEOF
85608 #define HAVE_HYPOT 1
85609 _ACEOF
85612 *-tpf)
85621 for ac_header in nan.h endian.h machine/endian.h \
85622 sys/param.h sys/types.h locale.h float.h inttypes.h
85624 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85625 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85626 echo "$as_me:$LINENO: checking for $ac_header" >&5
85627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85628 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85629 echo $ECHO_N "(cached) $ECHO_C" >&6
85631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85632 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85633 else
85634 # Is the header compilable?
85635 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85636 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85637 cat >conftest.$ac_ext <<_ACEOF
85638 /* confdefs.h. */
85639 _ACEOF
85640 cat confdefs.h >>conftest.$ac_ext
85641 cat >>conftest.$ac_ext <<_ACEOF
85642 /* end confdefs.h. */
85643 $ac_includes_default
85644 #include <$ac_header>
85645 _ACEOF
85646 rm -f conftest.$ac_objext
85647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85648 (eval $ac_compile) 2>conftest.er1
85649 ac_status=$?
85650 grep -v '^ *+' conftest.er1 >conftest.err
85651 rm -f conftest.er1
85652 cat conftest.err >&5
85653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85654 (exit $ac_status); } &&
85655 { ac_try='test -z "$ac_c_werror_flag"
85656 || test ! -s conftest.err'
85657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85658 (eval $ac_try) 2>&5
85659 ac_status=$?
85660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85661 (exit $ac_status); }; } &&
85662 { ac_try='test -s conftest.$ac_objext'
85663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85664 (eval $ac_try) 2>&5
85665 ac_status=$?
85666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85667 (exit $ac_status); }; }; then
85668 ac_header_compiler=yes
85669 else
85670 echo "$as_me: failed program was:" >&5
85671 sed 's/^/| /' conftest.$ac_ext >&5
85673 ac_header_compiler=no
85675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85676 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85677 echo "${ECHO_T}$ac_header_compiler" >&6
85679 # Is the header present?
85680 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85681 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85682 cat >conftest.$ac_ext <<_ACEOF
85683 /* confdefs.h. */
85684 _ACEOF
85685 cat confdefs.h >>conftest.$ac_ext
85686 cat >>conftest.$ac_ext <<_ACEOF
85687 /* end confdefs.h. */
85688 #include <$ac_header>
85689 _ACEOF
85690 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85691 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85692 ac_status=$?
85693 grep -v '^ *+' conftest.er1 >conftest.err
85694 rm -f conftest.er1
85695 cat conftest.err >&5
85696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85697 (exit $ac_status); } >/dev/null; then
85698 if test -s conftest.err; then
85699 ac_cpp_err=$ac_c_preproc_warn_flag
85700 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85701 else
85702 ac_cpp_err=
85704 else
85705 ac_cpp_err=yes
85707 if test -z "$ac_cpp_err"; then
85708 ac_header_preproc=yes
85709 else
85710 echo "$as_me: failed program was:" >&5
85711 sed 's/^/| /' conftest.$ac_ext >&5
85713 ac_header_preproc=no
85715 rm -f conftest.err conftest.$ac_ext
85716 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85717 echo "${ECHO_T}$ac_header_preproc" >&6
85719 # So? What about this header?
85720 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85721 yes:no: )
85722 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85723 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85724 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85725 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85726 ac_header_preproc=yes
85728 no:yes:* )
85729 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85730 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85731 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85732 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85733 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85734 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85735 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85736 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85737 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85738 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85739 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85740 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85742 cat <<\_ASBOX
85743 ## ----------------------------------------- ##
85744 ## Report this to the package-unused lists. ##
85745 ## ----------------------------------------- ##
85746 _ASBOX
85748 sed "s/^/$as_me: WARNING: /" >&2
85750 esac
85751 echo "$as_me:$LINENO: checking for $ac_header" >&5
85752 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85753 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85754 echo $ECHO_N "(cached) $ECHO_C" >&6
85755 else
85756 eval "$as_ac_Header=\$ac_header_preproc"
85758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85759 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85762 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85763 cat >>confdefs.h <<_ACEOF
85764 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85765 _ACEOF
85769 done
85771 SECTION_FLAGS='-ffunction-sections -fdata-sections'
85774 # If we're not using GNU ld, then there's no point in even trying these
85775 # tests. Check for that first. We should have already tested for gld
85776 # by now (in libtool), but require it now just to be safe...
85777 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
85778 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
85782 # The name set by libtool depends on the version of libtool. Shame on us
85783 # for depending on an impl detail, but c'est la vie. Older versions used
85784 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
85785 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
85786 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
85787 # set (hence we're using an older libtool), then set it.
85788 if test x${with_gnu_ld+set} != xset; then
85789 if test x${ac_cv_prog_gnu_ld+set} != xset; then
85790 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
85791 with_gnu_ld=no
85792 else
85793 with_gnu_ld=$ac_cv_prog_gnu_ld
85797 # Start by getting the version number. I think the libtool test already
85798 # does some of this, but throws away the result.
85800 ldver=`$LD --version 2>/dev/null | head -1 | \
85801 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
85803 glibcxx_gnu_ld_version=`echo $ldver | \
85804 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
85806 # Set --gc-sections.
85807 if test "$with_gnu_ld" = "notbroken"; then
85808 # GNU ld it is! Joy and bunny rabbits!
85810 # All these tests are for C++; save the language and the compiler flags.
85811 # Need to do this so that g++ won't try to link in libstdc++
85812 ac_test_CFLAGS="${CFLAGS+set}"
85813 ac_save_CFLAGS="$CFLAGS"
85814 CFLAGS='-x c++ -Wl,--gc-sections'
85816 # Check for -Wl,--gc-sections
85817 # XXX This test is broken at the moment, as symbols required for linking
85818 # are now in libsupc++ (not built yet). In addition, this test has
85819 # cored on solaris in the past. In addition, --gc-sections doesn't
85820 # really work at the moment (keeps on discarding used sections, first
85821 # .eh_frame and now some of the glibc sections for iconv).
85822 # Bzzzzt. Thanks for playing, maybe next time.
85823 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85824 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85825 if test "$cross_compiling" = yes; then
85826 ac_sectionLDflags=yes
85827 else
85828 cat >conftest.$ac_ext <<_ACEOF
85829 /* confdefs.h. */
85830 _ACEOF
85831 cat confdefs.h >>conftest.$ac_ext
85832 cat >>conftest.$ac_ext <<_ACEOF
85833 /* end confdefs.h. */
85835 int main(void)
85837 try { throw 1; }
85838 catch (...) { };
85839 return 0;
85842 _ACEOF
85843 rm -f conftest$ac_exeext
85844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85845 (eval $ac_link) 2>&5
85846 ac_status=$?
85847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85848 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
85849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85850 (eval $ac_try) 2>&5
85851 ac_status=$?
85852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85853 (exit $ac_status); }; }; then
85854 ac_sectionLDflags=yes
85855 else
85856 echo "$as_me: program exited with status $ac_status" >&5
85857 echo "$as_me: failed program was:" >&5
85858 sed 's/^/| /' conftest.$ac_ext >&5
85860 ( exit $ac_status )
85861 ac_sectionLDflags=no
85863 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
85865 if test "$ac_test_CFLAGS" = set; then
85866 CFLAGS="$ac_save_CFLAGS"
85867 else
85868 # this is the suspicious part
85869 CFLAGS=''
85871 if test "$ac_sectionLDflags" = "yes"; then
85872 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
85874 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
85875 echo "${ECHO_T}$ac_sectionLDflags" >&6
85878 # Set linker optimization flags.
85879 if test x"$with_gnu_ld" = x"yes"; then
85880 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85888 echo "$as_me:$LINENO: checking for main in -lm" >&5
85889 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85890 if test "${ac_cv_lib_m_main+set}" = set; then
85891 echo $ECHO_N "(cached) $ECHO_C" >&6
85892 else
85893 ac_check_lib_save_LIBS=$LIBS
85894 LIBS="-lm $LIBS"
85895 if test x$gcc_no_link = xyes; then
85896 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85898 { (exit 1); exit 1; }; }
85900 cat >conftest.$ac_ext <<_ACEOF
85901 /* confdefs.h. */
85902 _ACEOF
85903 cat confdefs.h >>conftest.$ac_ext
85904 cat >>conftest.$ac_ext <<_ACEOF
85905 /* end confdefs.h. */
85909 main ()
85911 main ();
85913 return 0;
85915 _ACEOF
85916 rm -f conftest.$ac_objext conftest$ac_exeext
85917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85918 (eval $ac_link) 2>conftest.er1
85919 ac_status=$?
85920 grep -v '^ *+' conftest.er1 >conftest.err
85921 rm -f conftest.er1
85922 cat conftest.err >&5
85923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85924 (exit $ac_status); } &&
85925 { ac_try='test -z "$ac_c_werror_flag"
85926 || test ! -s conftest.err'
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); }; } &&
85932 { ac_try='test -s conftest$ac_exeext'
85933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85934 (eval $ac_try) 2>&5
85935 ac_status=$?
85936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85937 (exit $ac_status); }; }; then
85938 ac_cv_lib_m_main=yes
85939 else
85940 echo "$as_me: failed program was:" >&5
85941 sed 's/^/| /' conftest.$ac_ext >&5
85943 ac_cv_lib_m_main=no
85945 rm -f conftest.err conftest.$ac_objext \
85946 conftest$ac_exeext conftest.$ac_ext
85947 LIBS=$ac_check_lib_save_LIBS
85949 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85950 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85951 if test $ac_cv_lib_m_main = yes; then
85952 cat >>confdefs.h <<_ACEOF
85953 #define HAVE_LIBM 1
85954 _ACEOF
85956 LIBS="-lm $LIBS"
85961 for ac_func in copysignf
85963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85964 echo "$as_me:$LINENO: checking for $ac_func" >&5
85965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85966 if eval "test \"\${$as_ac_var+set}\" = set"; then
85967 echo $ECHO_N "(cached) $ECHO_C" >&6
85968 else
85969 if test x$gcc_no_link = xyes; then
85970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85972 { (exit 1); exit 1; }; }
85974 cat >conftest.$ac_ext <<_ACEOF
85975 /* confdefs.h. */
85976 _ACEOF
85977 cat confdefs.h >>conftest.$ac_ext
85978 cat >>conftest.$ac_ext <<_ACEOF
85979 /* end confdefs.h. */
85980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85982 #define $ac_func innocuous_$ac_func
85984 /* System header to define __stub macros and hopefully few prototypes,
85985 which can conflict with char $ac_func (); below.
85986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85987 <limits.h> exists even on freestanding compilers. */
85989 #ifdef __STDC__
85990 # include <limits.h>
85991 #else
85992 # include <assert.h>
85993 #endif
85995 #undef $ac_func
85997 /* Override any gcc2 internal prototype to avoid an error. */
85998 #ifdef __cplusplus
85999 extern "C"
86001 #endif
86002 /* We use char because int might match the return type of a gcc2
86003 builtin and then its argument prototype would still apply. */
86004 char $ac_func ();
86005 /* The GNU C library defines this for functions which it implements
86006 to always fail with ENOSYS. Some functions are actually named
86007 something starting with __ and the normal name is an alias. */
86008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86009 choke me
86010 #else
86011 char (*f) () = $ac_func;
86012 #endif
86013 #ifdef __cplusplus
86015 #endif
86018 main ()
86020 return f != $ac_func;
86022 return 0;
86024 _ACEOF
86025 rm -f conftest.$ac_objext conftest$ac_exeext
86026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86027 (eval $ac_link) 2>conftest.er1
86028 ac_status=$?
86029 grep -v '^ *+' conftest.er1 >conftest.err
86030 rm -f conftest.er1
86031 cat conftest.err >&5
86032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86033 (exit $ac_status); } &&
86034 { ac_try='test -z "$ac_c_werror_flag"
86035 || test ! -s conftest.err'
86036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86037 (eval $ac_try) 2>&5
86038 ac_status=$?
86039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86040 (exit $ac_status); }; } &&
86041 { ac_try='test -s conftest$ac_exeext'
86042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86043 (eval $ac_try) 2>&5
86044 ac_status=$?
86045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86046 (exit $ac_status); }; }; then
86047 eval "$as_ac_var=yes"
86048 else
86049 echo "$as_me: failed program was:" >&5
86050 sed 's/^/| /' conftest.$ac_ext >&5
86052 eval "$as_ac_var=no"
86054 rm -f conftest.err conftest.$ac_objext \
86055 conftest$ac_exeext conftest.$ac_ext
86057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86059 if test `eval echo '${'$as_ac_var'}'` = yes; then
86060 cat >>confdefs.h <<_ACEOF
86061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86062 _ACEOF
86064 else
86065 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
86067 done
86071 for ac_func in __signbit
86073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86074 echo "$as_me:$LINENO: checking for $ac_func" >&5
86075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86076 if eval "test \"\${$as_ac_var+set}\" = set"; then
86077 echo $ECHO_N "(cached) $ECHO_C" >&6
86078 else
86079 if test x$gcc_no_link = xyes; then
86080 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86082 { (exit 1); exit 1; }; }
86084 cat >conftest.$ac_ext <<_ACEOF
86085 /* confdefs.h. */
86086 _ACEOF
86087 cat confdefs.h >>conftest.$ac_ext
86088 cat >>conftest.$ac_ext <<_ACEOF
86089 /* end confdefs.h. */
86090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86092 #define $ac_func innocuous_$ac_func
86094 /* System header to define __stub macros and hopefully few prototypes,
86095 which can conflict with char $ac_func (); below.
86096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86097 <limits.h> exists even on freestanding compilers. */
86099 #ifdef __STDC__
86100 # include <limits.h>
86101 #else
86102 # include <assert.h>
86103 #endif
86105 #undef $ac_func
86107 /* Override any gcc2 internal prototype to avoid an error. */
86108 #ifdef __cplusplus
86109 extern "C"
86111 #endif
86112 /* We use char because int might match the return type of a gcc2
86113 builtin and then its argument prototype would still apply. */
86114 char $ac_func ();
86115 /* The GNU C library defines this for functions which it implements
86116 to always fail with ENOSYS. Some functions are actually named
86117 something starting with __ and the normal name is an alias. */
86118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86119 choke me
86120 #else
86121 char (*f) () = $ac_func;
86122 #endif
86123 #ifdef __cplusplus
86125 #endif
86128 main ()
86130 return f != $ac_func;
86132 return 0;
86134 _ACEOF
86135 rm -f conftest.$ac_objext conftest$ac_exeext
86136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86137 (eval $ac_link) 2>conftest.er1
86138 ac_status=$?
86139 grep -v '^ *+' conftest.er1 >conftest.err
86140 rm -f conftest.er1
86141 cat conftest.err >&5
86142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86143 (exit $ac_status); } &&
86144 { ac_try='test -z "$ac_c_werror_flag"
86145 || test ! -s conftest.err'
86146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86147 (eval $ac_try) 2>&5
86148 ac_status=$?
86149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86150 (exit $ac_status); }; } &&
86151 { ac_try='test -s conftest$ac_exeext'
86152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86153 (eval $ac_try) 2>&5
86154 ac_status=$?
86155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86156 (exit $ac_status); }; }; then
86157 eval "$as_ac_var=yes"
86158 else
86159 echo "$as_me: failed program was:" >&5
86160 sed 's/^/| /' conftest.$ac_ext >&5
86162 eval "$as_ac_var=no"
86164 rm -f conftest.err conftest.$ac_objext \
86165 conftest$ac_exeext conftest.$ac_ext
86167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86169 if test `eval echo '${'$as_ac_var'}'` = yes; then
86170 cat >>confdefs.h <<_ACEOF
86171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86172 _ACEOF
86174 else
86175 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
86177 done
86181 for ac_func in __signbitf
86183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86184 echo "$as_me:$LINENO: checking for $ac_func" >&5
86185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86186 if eval "test \"\${$as_ac_var+set}\" = set"; then
86187 echo $ECHO_N "(cached) $ECHO_C" >&6
86188 else
86189 if test x$gcc_no_link = xyes; then
86190 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86192 { (exit 1); exit 1; }; }
86194 cat >conftest.$ac_ext <<_ACEOF
86195 /* confdefs.h. */
86196 _ACEOF
86197 cat confdefs.h >>conftest.$ac_ext
86198 cat >>conftest.$ac_ext <<_ACEOF
86199 /* end confdefs.h. */
86200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86202 #define $ac_func innocuous_$ac_func
86204 /* System header to define __stub macros and hopefully few prototypes,
86205 which can conflict with char $ac_func (); below.
86206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86207 <limits.h> exists even on freestanding compilers. */
86209 #ifdef __STDC__
86210 # include <limits.h>
86211 #else
86212 # include <assert.h>
86213 #endif
86215 #undef $ac_func
86217 /* Override any gcc2 internal prototype to avoid an error. */
86218 #ifdef __cplusplus
86219 extern "C"
86221 #endif
86222 /* We use char because int might match the return type of a gcc2
86223 builtin and then its argument prototype would still apply. */
86224 char $ac_func ();
86225 /* The GNU C library defines this for functions which it implements
86226 to always fail with ENOSYS. Some functions are actually named
86227 something starting with __ and the normal name is an alias. */
86228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86229 choke me
86230 #else
86231 char (*f) () = $ac_func;
86232 #endif
86233 #ifdef __cplusplus
86235 #endif
86238 main ()
86240 return f != $ac_func;
86242 return 0;
86244 _ACEOF
86245 rm -f conftest.$ac_objext conftest$ac_exeext
86246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86247 (eval $ac_link) 2>conftest.er1
86248 ac_status=$?
86249 grep -v '^ *+' conftest.er1 >conftest.err
86250 rm -f conftest.er1
86251 cat conftest.err >&5
86252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86253 (exit $ac_status); } &&
86254 { ac_try='test -z "$ac_c_werror_flag"
86255 || test ! -s conftest.err'
86256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86257 (eval $ac_try) 2>&5
86258 ac_status=$?
86259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86260 (exit $ac_status); }; } &&
86261 { ac_try='test -s conftest$ac_exeext'
86262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86263 (eval $ac_try) 2>&5
86264 ac_status=$?
86265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86266 (exit $ac_status); }; }; then
86267 eval "$as_ac_var=yes"
86268 else
86269 echo "$as_me: failed program was:" >&5
86270 sed 's/^/| /' conftest.$ac_ext >&5
86272 eval "$as_ac_var=no"
86274 rm -f conftest.err conftest.$ac_objext \
86275 conftest$ac_exeext conftest.$ac_ext
86277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86279 if test `eval echo '${'$as_ac_var'}'` = yes; then
86280 cat >>confdefs.h <<_ACEOF
86281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86282 _ACEOF
86284 else
86285 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
86287 done
86290 if test x$ac_cv_func_copysignl = x"yes"; then
86292 for ac_func in __signbitl
86294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86295 echo "$as_me:$LINENO: checking for $ac_func" >&5
86296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86297 if eval "test \"\${$as_ac_var+set}\" = set"; then
86298 echo $ECHO_N "(cached) $ECHO_C" >&6
86299 else
86300 if test x$gcc_no_link = xyes; then
86301 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86303 { (exit 1); exit 1; }; }
86305 cat >conftest.$ac_ext <<_ACEOF
86306 /* confdefs.h. */
86307 _ACEOF
86308 cat confdefs.h >>conftest.$ac_ext
86309 cat >>conftest.$ac_ext <<_ACEOF
86310 /* end confdefs.h. */
86311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86313 #define $ac_func innocuous_$ac_func
86315 /* System header to define __stub macros and hopefully few prototypes,
86316 which can conflict with char $ac_func (); below.
86317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86318 <limits.h> exists even on freestanding compilers. */
86320 #ifdef __STDC__
86321 # include <limits.h>
86322 #else
86323 # include <assert.h>
86324 #endif
86326 #undef $ac_func
86328 /* Override any gcc2 internal prototype to avoid an error. */
86329 #ifdef __cplusplus
86330 extern "C"
86332 #endif
86333 /* We use char because int might match the return type of a gcc2
86334 builtin and then its argument prototype would still apply. */
86335 char $ac_func ();
86336 /* The GNU C library defines this for functions which it implements
86337 to always fail with ENOSYS. Some functions are actually named
86338 something starting with __ and the normal name is an alias. */
86339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86340 choke me
86341 #else
86342 char (*f) () = $ac_func;
86343 #endif
86344 #ifdef __cplusplus
86346 #endif
86349 main ()
86351 return f != $ac_func;
86353 return 0;
86355 _ACEOF
86356 rm -f conftest.$ac_objext conftest$ac_exeext
86357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86358 (eval $ac_link) 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_exeext'
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 eval "$as_ac_var=yes"
86379 else
86380 echo "$as_me: failed program was:" >&5
86381 sed 's/^/| /' conftest.$ac_ext >&5
86383 eval "$as_ac_var=no"
86385 rm -f conftest.err conftest.$ac_objext \
86386 conftest$ac_exeext conftest.$ac_ext
86388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86389 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86390 if test `eval echo '${'$as_ac_var'}'` = yes; then
86391 cat >>confdefs.h <<_ACEOF
86392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86393 _ACEOF
86395 else
86396 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
86398 done
86402 # Used in libmath/Makefile.am.
86403 if test -n "$LIBMATHOBJS"; then
86404 need_libmath=yes
86410 enable_iconv=no
86411 # Only continue checking if the ISO C99 headers exist and support is on.
86412 if test x"$enable_wchar_t" = xyes; then
86414 # Use iconv for wchar_t to char conversions. As such, check for
86415 # X/Open Portability Guide, version 2 features (XPG2).
86416 if test "${ac_cv_header_iconv_h+set}" = set; then
86417 echo "$as_me:$LINENO: checking for iconv.h" >&5
86418 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86419 if test "${ac_cv_header_iconv_h+set}" = set; then
86420 echo $ECHO_N "(cached) $ECHO_C" >&6
86422 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86423 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86424 else
86425 # Is the header compilable?
86426 echo "$as_me:$LINENO: checking iconv.h usability" >&5
86427 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
86428 cat >conftest.$ac_ext <<_ACEOF
86429 /* confdefs.h. */
86430 _ACEOF
86431 cat confdefs.h >>conftest.$ac_ext
86432 cat >>conftest.$ac_ext <<_ACEOF
86433 /* end confdefs.h. */
86434 $ac_includes_default
86435 #include <iconv.h>
86436 _ACEOF
86437 rm -f conftest.$ac_objext
86438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86439 (eval $ac_compile) 2>conftest.er1
86440 ac_status=$?
86441 grep -v '^ *+' conftest.er1 >conftest.err
86442 rm -f conftest.er1
86443 cat conftest.err >&5
86444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86445 (exit $ac_status); } &&
86446 { ac_try='test -z "$ac_c_werror_flag"
86447 || test ! -s conftest.err'
86448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86449 (eval $ac_try) 2>&5
86450 ac_status=$?
86451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86452 (exit $ac_status); }; } &&
86453 { ac_try='test -s conftest.$ac_objext'
86454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86455 (eval $ac_try) 2>&5
86456 ac_status=$?
86457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86458 (exit $ac_status); }; }; then
86459 ac_header_compiler=yes
86460 else
86461 echo "$as_me: failed program was:" >&5
86462 sed 's/^/| /' conftest.$ac_ext >&5
86464 ac_header_compiler=no
86466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86467 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86468 echo "${ECHO_T}$ac_header_compiler" >&6
86470 # Is the header present?
86471 echo "$as_me:$LINENO: checking iconv.h presence" >&5
86472 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
86473 cat >conftest.$ac_ext <<_ACEOF
86474 /* confdefs.h. */
86475 _ACEOF
86476 cat confdefs.h >>conftest.$ac_ext
86477 cat >>conftest.$ac_ext <<_ACEOF
86478 /* end confdefs.h. */
86479 #include <iconv.h>
86480 _ACEOF
86481 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86482 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86483 ac_status=$?
86484 grep -v '^ *+' conftest.er1 >conftest.err
86485 rm -f conftest.er1
86486 cat conftest.err >&5
86487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86488 (exit $ac_status); } >/dev/null; then
86489 if test -s conftest.err; then
86490 ac_cpp_err=$ac_c_preproc_warn_flag
86491 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86492 else
86493 ac_cpp_err=
86495 else
86496 ac_cpp_err=yes
86498 if test -z "$ac_cpp_err"; then
86499 ac_header_preproc=yes
86500 else
86501 echo "$as_me: failed program was:" >&5
86502 sed 's/^/| /' conftest.$ac_ext >&5
86504 ac_header_preproc=no
86506 rm -f conftest.err conftest.$ac_ext
86507 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86508 echo "${ECHO_T}$ac_header_preproc" >&6
86510 # So? What about this header?
86511 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86512 yes:no: )
86513 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
86514 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86515 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
86516 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
86517 ac_header_preproc=yes
86519 no:yes:* )
86520 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
86521 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
86522 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
86523 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
86524 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
86525 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
86526 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
86527 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
86528 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
86529 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
86530 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
86531 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
86533 cat <<\_ASBOX
86534 ## ----------------------------------------- ##
86535 ## Report this to the package-unused lists. ##
86536 ## ----------------------------------------- ##
86537 _ASBOX
86539 sed "s/^/$as_me: WARNING: /" >&2
86541 esac
86542 echo "$as_me:$LINENO: checking for iconv.h" >&5
86543 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86544 if test "${ac_cv_header_iconv_h+set}" = set; then
86545 echo $ECHO_N "(cached) $ECHO_C" >&6
86546 else
86547 ac_cv_header_iconv_h=$ac_header_preproc
86549 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86550 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86553 if test $ac_cv_header_iconv_h = yes; then
86554 ac_has_iconv_h=yes
86555 else
86556 ac_has_iconv_h=no
86560 if test "${ac_cv_header_langinfo_h+set}" = set; then
86561 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86562 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86563 if test "${ac_cv_header_langinfo_h+set}" = set; then
86564 echo $ECHO_N "(cached) $ECHO_C" >&6
86566 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86567 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86568 else
86569 # Is the header compilable?
86570 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
86571 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
86572 cat >conftest.$ac_ext <<_ACEOF
86573 /* confdefs.h. */
86574 _ACEOF
86575 cat confdefs.h >>conftest.$ac_ext
86576 cat >>conftest.$ac_ext <<_ACEOF
86577 /* end confdefs.h. */
86578 $ac_includes_default
86579 #include <langinfo.h>
86580 _ACEOF
86581 rm -f conftest.$ac_objext
86582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86583 (eval $ac_compile) 2>conftest.er1
86584 ac_status=$?
86585 grep -v '^ *+' conftest.er1 >conftest.err
86586 rm -f conftest.er1
86587 cat conftest.err >&5
86588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86589 (exit $ac_status); } &&
86590 { ac_try='test -z "$ac_c_werror_flag"
86591 || test ! -s conftest.err'
86592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86593 (eval $ac_try) 2>&5
86594 ac_status=$?
86595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86596 (exit $ac_status); }; } &&
86597 { ac_try='test -s conftest.$ac_objext'
86598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86599 (eval $ac_try) 2>&5
86600 ac_status=$?
86601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86602 (exit $ac_status); }; }; then
86603 ac_header_compiler=yes
86604 else
86605 echo "$as_me: failed program was:" >&5
86606 sed 's/^/| /' conftest.$ac_ext >&5
86608 ac_header_compiler=no
86610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86611 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86612 echo "${ECHO_T}$ac_header_compiler" >&6
86614 # Is the header present?
86615 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
86616 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
86617 cat >conftest.$ac_ext <<_ACEOF
86618 /* confdefs.h. */
86619 _ACEOF
86620 cat confdefs.h >>conftest.$ac_ext
86621 cat >>conftest.$ac_ext <<_ACEOF
86622 /* end confdefs.h. */
86623 #include <langinfo.h>
86624 _ACEOF
86625 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86626 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86627 ac_status=$?
86628 grep -v '^ *+' conftest.er1 >conftest.err
86629 rm -f conftest.er1
86630 cat conftest.err >&5
86631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86632 (exit $ac_status); } >/dev/null; then
86633 if test -s conftest.err; then
86634 ac_cpp_err=$ac_c_preproc_warn_flag
86635 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86636 else
86637 ac_cpp_err=
86639 else
86640 ac_cpp_err=yes
86642 if test -z "$ac_cpp_err"; then
86643 ac_header_preproc=yes
86644 else
86645 echo "$as_me: failed program was:" >&5
86646 sed 's/^/| /' conftest.$ac_ext >&5
86648 ac_header_preproc=no
86650 rm -f conftest.err conftest.$ac_ext
86651 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86652 echo "${ECHO_T}$ac_header_preproc" >&6
86654 # So? What about this header?
86655 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86656 yes:no: )
86657 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
86658 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86659 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
86660 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
86661 ac_header_preproc=yes
86663 no:yes:* )
86664 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
86665 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
86666 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
86667 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
86668 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
86669 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
86670 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
86671 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
86672 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
86673 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
86674 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
86675 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
86677 cat <<\_ASBOX
86678 ## ----------------------------------------- ##
86679 ## Report this to the package-unused lists. ##
86680 ## ----------------------------------------- ##
86681 _ASBOX
86683 sed "s/^/$as_me: WARNING: /" >&2
86685 esac
86686 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86687 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86688 if test "${ac_cv_header_langinfo_h+set}" = set; then
86689 echo $ECHO_N "(cached) $ECHO_C" >&6
86690 else
86691 ac_cv_header_langinfo_h=$ac_header_preproc
86693 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86694 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86697 if test $ac_cv_header_langinfo_h = yes; then
86698 ac_has_langinfo_h=yes
86699 else
86700 ac_has_langinfo_h=no
86705 # Check for existence of libiconv.a providing XPG2 wchar_t support.
86706 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
86707 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
86708 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
86709 echo $ECHO_N "(cached) $ECHO_C" >&6
86710 else
86711 ac_check_lib_save_LIBS=$LIBS
86712 LIBS="-liconv $LIBS"
86713 if test x$gcc_no_link = xyes; then
86714 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86716 { (exit 1); exit 1; }; }
86718 cat >conftest.$ac_ext <<_ACEOF
86719 /* confdefs.h. */
86720 _ACEOF
86721 cat confdefs.h >>conftest.$ac_ext
86722 cat >>conftest.$ac_ext <<_ACEOF
86723 /* end confdefs.h. */
86725 /* Override any gcc2 internal prototype to avoid an error. */
86726 #ifdef __cplusplus
86727 extern "C"
86728 #endif
86729 /* We use char because int might match the return type of a gcc2
86730 builtin and then its argument prototype would still apply. */
86731 char iconv ();
86733 main ()
86735 iconv ();
86737 return 0;
86739 _ACEOF
86740 rm -f conftest.$ac_objext conftest$ac_exeext
86741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86742 (eval $ac_link) 2>conftest.er1
86743 ac_status=$?
86744 grep -v '^ *+' conftest.er1 >conftest.err
86745 rm -f conftest.er1
86746 cat conftest.err >&5
86747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86748 (exit $ac_status); } &&
86749 { ac_try='test -z "$ac_c_werror_flag"
86750 || test ! -s conftest.err'
86751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86752 (eval $ac_try) 2>&5
86753 ac_status=$?
86754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86755 (exit $ac_status); }; } &&
86756 { ac_try='test -s conftest$ac_exeext'
86757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86758 (eval $ac_try) 2>&5
86759 ac_status=$?
86760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86761 (exit $ac_status); }; }; then
86762 ac_cv_lib_iconv_iconv=yes
86763 else
86764 echo "$as_me: failed program was:" >&5
86765 sed 's/^/| /' conftest.$ac_ext >&5
86767 ac_cv_lib_iconv_iconv=no
86769 rm -f conftest.err conftest.$ac_objext \
86770 conftest$ac_exeext conftest.$ac_ext
86771 LIBS=$ac_check_lib_save_LIBS
86773 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
86774 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
86775 if test $ac_cv_lib_iconv_iconv = yes; then
86776 LIBICONV="-liconv"
86779 ac_save_LIBS="$LIBS"
86780 LIBS="$LIBS $LIBICONV"
86787 for ac_func in iconv_open iconv_close iconv nl_langinfo
86789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86790 echo "$as_me:$LINENO: checking for $ac_func" >&5
86791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86792 if eval "test \"\${$as_ac_var+set}\" = set"; then
86793 echo $ECHO_N "(cached) $ECHO_C" >&6
86794 else
86795 if test x$gcc_no_link = xyes; then
86796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86798 { (exit 1); exit 1; }; }
86800 cat >conftest.$ac_ext <<_ACEOF
86801 /* confdefs.h. */
86802 _ACEOF
86803 cat confdefs.h >>conftest.$ac_ext
86804 cat >>conftest.$ac_ext <<_ACEOF
86805 /* end confdefs.h. */
86806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86808 #define $ac_func innocuous_$ac_func
86810 /* System header to define __stub macros and hopefully few prototypes,
86811 which can conflict with char $ac_func (); below.
86812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86813 <limits.h> exists even on freestanding compilers. */
86815 #ifdef __STDC__
86816 # include <limits.h>
86817 #else
86818 # include <assert.h>
86819 #endif
86821 #undef $ac_func
86823 /* Override any gcc2 internal prototype to avoid an error. */
86824 #ifdef __cplusplus
86825 extern "C"
86827 #endif
86828 /* We use char because int might match the return type of a gcc2
86829 builtin and then its argument prototype would still apply. */
86830 char $ac_func ();
86831 /* The GNU C library defines this for functions which it implements
86832 to always fail with ENOSYS. Some functions are actually named
86833 something starting with __ and the normal name is an alias. */
86834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86835 choke me
86836 #else
86837 char (*f) () = $ac_func;
86838 #endif
86839 #ifdef __cplusplus
86841 #endif
86844 main ()
86846 return f != $ac_func;
86848 return 0;
86850 _ACEOF
86851 rm -f conftest.$ac_objext conftest$ac_exeext
86852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86853 (eval $ac_link) 2>conftest.er1
86854 ac_status=$?
86855 grep -v '^ *+' conftest.er1 >conftest.err
86856 rm -f conftest.er1
86857 cat conftest.err >&5
86858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86859 (exit $ac_status); } &&
86860 { ac_try='test -z "$ac_c_werror_flag"
86861 || test ! -s conftest.err'
86862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86863 (eval $ac_try) 2>&5
86864 ac_status=$?
86865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86866 (exit $ac_status); }; } &&
86867 { ac_try='test -s conftest$ac_exeext'
86868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86869 (eval $ac_try) 2>&5
86870 ac_status=$?
86871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86872 (exit $ac_status); }; }; then
86873 eval "$as_ac_var=yes"
86874 else
86875 echo "$as_me: failed program was:" >&5
86876 sed 's/^/| /' conftest.$ac_ext >&5
86878 eval "$as_ac_var=no"
86880 rm -f conftest.err conftest.$ac_objext \
86881 conftest$ac_exeext conftest.$ac_ext
86883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86885 if test `eval echo '${'$as_ac_var'}'` = yes; then
86886 cat >>confdefs.h <<_ACEOF
86887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86888 _ACEOF
86889 ac_XPG2funcs=yes
86890 else
86891 ac_XPG2funcs=no
86893 done
86896 LIBS="$ac_save_LIBS"
86898 if test x"$ac_has_iconv_h" = xyes &&
86899 test x"$ac_has_langinfo_h" = xyes &&
86900 test x"$ac_XPG2funcs" = xyes;
86901 then
86903 cat >>confdefs.h <<\_ACEOF
86904 #define _GLIBCXX_USE_ICONV 1
86905 _ACEOF
86907 enable_iconv=yes
86910 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
86911 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
86912 echo "$as_me:$LINENO: result: $enable_iconv" >&5
86913 echo "${ECHO_T}$enable_iconv" >&6
86915 cat >>confdefs.h <<\_ACEOF
86916 #define HAVE_COPYSIGN 1
86917 _ACEOF
86919 cat >>confdefs.h <<\_ACEOF
86920 #define HAVE_COPYSIGNF 1
86921 _ACEOF
86923 cat >>confdefs.h <<\_ACEOF
86924 #define HAVE_FINITE 1
86925 _ACEOF
86927 cat >>confdefs.h <<\_ACEOF
86928 #define HAVE_FINITEF 1
86929 _ACEOF
86931 cat >>confdefs.h <<\_ACEOF
86932 #define HAVE_FREXPF 1
86933 _ACEOF
86935 cat >>confdefs.h <<\_ACEOF
86936 #define HAVE_HYPOTF 1
86937 _ACEOF
86939 cat >>confdefs.h <<\_ACEOF
86940 #define HAVE_ISINF 1
86941 _ACEOF
86943 cat >>confdefs.h <<\_ACEOF
86944 #define HAVE_ISINFF 1
86945 _ACEOF
86947 cat >>confdefs.h <<\_ACEOF
86948 #define HAVE_ISNAN 1
86949 _ACEOF
86951 cat >>confdefs.h <<\_ACEOF
86952 #define HAVE_ISNANF 1
86953 _ACEOF
86955 cat >>confdefs.h <<\_ACEOF
86956 #define HAVE_SINCOS 1
86957 _ACEOF
86959 cat >>confdefs.h <<\_ACEOF
86960 #define HAVE_SINCOSF 1
86961 _ACEOF
86963 if test x"long_double_math_on_this_cpu" = x"yes"; then
86964 cat >>confdefs.h <<\_ACEOF
86965 #define HAVE_FINITEL 1
86966 _ACEOF
86968 cat >>confdefs.h <<\_ACEOF
86969 #define HAVE_HYPOTL 1
86970 _ACEOF
86972 cat >>confdefs.h <<\_ACEOF
86973 #define HAVE_ISINFL 1
86974 _ACEOF
86976 cat >>confdefs.h <<\_ACEOF
86977 #define HAVE_ISNANL 1
86978 _ACEOF
86982 *-vxworks)
86983 cat >>confdefs.h <<\_ACEOF
86984 #define HAVE_MMAP 1
86985 _ACEOF
86987 cat >>confdefs.h <<\_ACEOF
86988 #define HAVE_ACOSF 1
86989 _ACEOF
86991 cat >>confdefs.h <<\_ACEOF
86992 #define HAVE_ASINF 1
86993 _ACEOF
86995 cat >>confdefs.h <<\_ACEOF
86996 #define HAVE_ATAN2F 1
86997 _ACEOF
86999 cat >>confdefs.h <<\_ACEOF
87000 #define HAVE_ATANF 1
87001 _ACEOF
87003 cat >>confdefs.h <<\_ACEOF
87004 #define HAVE_CEILF 1
87005 _ACEOF
87007 cat >>confdefs.h <<\_ACEOF
87008 #define HAVE_COSF 1
87009 _ACEOF
87011 cat >>confdefs.h <<\_ACEOF
87012 #define HAVE_COSHF 1
87013 _ACEOF
87015 cat >>confdefs.h <<\_ACEOF
87016 #define HAVE_EXPF 1
87017 _ACEOF
87019 cat >>confdefs.h <<\_ACEOF
87020 #define HAVE_FABSF 1
87021 _ACEOF
87023 cat >>confdefs.h <<\_ACEOF
87024 #define HAVE_FLOORF 1
87025 _ACEOF
87027 cat >>confdefs.h <<\_ACEOF
87028 #define HAVE_FMODF 1
87029 _ACEOF
87031 cat >>confdefs.h <<\_ACEOF
87032 #define HAVE_HYPOT 1
87033 _ACEOF
87035 cat >>confdefs.h <<\_ACEOF
87036 #define HAVE_LOG10F 1
87037 _ACEOF
87039 cat >>confdefs.h <<\_ACEOF
87040 #define HAVE_LOGF 1
87041 _ACEOF
87043 cat >>confdefs.h <<\_ACEOF
87044 #define HAVE_POWF 1
87045 _ACEOF
87047 cat >>confdefs.h <<\_ACEOF
87048 #define HAVE_SINF 1
87049 _ACEOF
87051 cat >>confdefs.h <<\_ACEOF
87052 #define HAVE_SINHF 1
87053 _ACEOF
87055 cat >>confdefs.h <<\_ACEOF
87056 #define HAVE_SQRTF 1
87057 _ACEOF
87059 cat >>confdefs.h <<\_ACEOF
87060 #define HAVE_TANF 1
87061 _ACEOF
87063 cat >>confdefs.h <<\_ACEOF
87064 #define HAVE_TANHF 1
87065 _ACEOF
87068 *-windiss*)
87069 cat >>confdefs.h <<\_ACEOF
87070 #define HAVE_ACOSF 1
87071 _ACEOF
87073 cat >>confdefs.h <<\_ACEOF
87074 #define HAVE_ACOSL 1
87075 _ACEOF
87077 cat >>confdefs.h <<\_ACEOF
87078 #define HAVE_ASINF 1
87079 _ACEOF
87081 cat >>confdefs.h <<\_ACEOF
87082 #define HAVE_ASINL 1
87083 _ACEOF
87085 cat >>confdefs.h <<\_ACEOF
87086 #define HAVE_ATAN2F 1
87087 _ACEOF
87089 cat >>confdefs.h <<\_ACEOF
87090 #define HAVE_ATAN2L 1
87091 _ACEOF
87093 cat >>confdefs.h <<\_ACEOF
87094 #define HAVE_ATANF 1
87095 _ACEOF
87097 cat >>confdefs.h <<\_ACEOF
87098 #define HAVE_ATANL 1
87099 _ACEOF
87101 cat >>confdefs.h <<\_ACEOF
87102 #define HAVE_CEILF 1
87103 _ACEOF
87105 cat >>confdefs.h <<\_ACEOF
87106 #define HAVE_CEILL 1
87107 _ACEOF
87109 cat >>confdefs.h <<\_ACEOF
87110 #define HAVE_COPYSIGN 1
87111 _ACEOF
87113 cat >>confdefs.h <<\_ACEOF
87114 #define HAVE_COPYSIGNF 1
87115 _ACEOF
87117 cat >>confdefs.h <<\_ACEOF
87118 #define HAVE_COSF 1
87119 _ACEOF
87121 cat >>confdefs.h <<\_ACEOF
87122 #define HAVE_COSL 1
87123 _ACEOF
87125 cat >>confdefs.h <<\_ACEOF
87126 #define HAVE_COSHF 1
87127 _ACEOF
87129 cat >>confdefs.h <<\_ACEOF
87130 #define HAVE_COSHL 1
87131 _ACEOF
87133 cat >>confdefs.h <<\_ACEOF
87134 #define HAVE_EXPF 1
87135 _ACEOF
87137 cat >>confdefs.h <<\_ACEOF
87138 #define HAVE_EXPL 1
87139 _ACEOF
87141 cat >>confdefs.h <<\_ACEOF
87142 #define HAVE_FABSF 1
87143 _ACEOF
87145 cat >>confdefs.h <<\_ACEOF
87146 #define HAVE_FABSL 1
87147 _ACEOF
87149 cat >>confdefs.h <<\_ACEOF
87150 #define HAVE_FLOORF 1
87151 _ACEOF
87153 cat >>confdefs.h <<\_ACEOF
87154 #define HAVE_FLOORL 1
87155 _ACEOF
87157 cat >>confdefs.h <<\_ACEOF
87158 #define HAVE_FMODF 1
87159 _ACEOF
87161 cat >>confdefs.h <<\_ACEOF
87162 #define HAVE_FMODL 1
87163 _ACEOF
87165 cat >>confdefs.h <<\_ACEOF
87166 #define HAVE_FREXPF 1
87167 _ACEOF
87169 cat >>confdefs.h <<\_ACEOF
87170 #define HAVE_FREXPL 1
87171 _ACEOF
87173 cat >>confdefs.h <<\_ACEOF
87174 #define HAVE_LDEXPF 1
87175 _ACEOF
87177 cat >>confdefs.h <<\_ACEOF
87178 #define HAVE_LDEXPL 1
87179 _ACEOF
87181 cat >>confdefs.h <<\_ACEOF
87182 #define HAVE_LOG10F 1
87183 _ACEOF
87185 cat >>confdefs.h <<\_ACEOF
87186 #define HAVE_LOG10L 1
87187 _ACEOF
87189 cat >>confdefs.h <<\_ACEOF
87190 #define HAVE_LOGF 1
87191 _ACEOF
87193 cat >>confdefs.h <<\_ACEOF
87194 #define HAVE_MODFF 1
87195 _ACEOF
87197 cat >>confdefs.h <<\_ACEOF
87198 #define HAVE_MODFL 1
87199 _ACEOF
87201 cat >>confdefs.h <<\_ACEOF
87202 #define HAVE_POWF 1
87203 _ACEOF
87205 cat >>confdefs.h <<\_ACEOF
87206 #define HAVE_POWL 1
87207 _ACEOF
87209 cat >>confdefs.h <<\_ACEOF
87210 #define HAVE_SINF 1
87211 _ACEOF
87213 cat >>confdefs.h <<\_ACEOF
87214 #define HAVE_SINL 1
87215 _ACEOF
87217 cat >>confdefs.h <<\_ACEOF
87218 #define HAVE_SINHF 1
87219 _ACEOF
87221 cat >>confdefs.h <<\_ACEOF
87222 #define HAVE_SINHL 1
87223 _ACEOF
87225 cat >>confdefs.h <<\_ACEOF
87226 #define HAVE_SQRTF 1
87227 _ACEOF
87229 cat >>confdefs.h <<\_ACEOF
87230 #define HAVE_SQRTL 1
87231 _ACEOF
87233 cat >>confdefs.h <<\_ACEOF
87234 #define HAVE_TANF 1
87235 _ACEOF
87237 cat >>confdefs.h <<\_ACEOF
87238 #define HAVE_TANL 1
87239 _ACEOF
87241 cat >>confdefs.h <<\_ACEOF
87242 #define HAVE_TANHF 1
87243 _ACEOF
87245 cat >>confdefs.h <<\_ACEOF
87246 #define HAVE_TANHL 1
87247 _ACEOF
87251 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
87252 echo "$as_me: error: No support for this host/target combination." >&2;}
87253 { (exit 1); exit 1; }; }
87255 esac
87259 # At some point, we should differentiate between architectures
87260 # like x86, which have long double versions, and alpha/powerpc/etc.,
87261 # which don't. For the time being, punt.
87262 if test x"long_double_math_on_this_cpu" = x"yes"; then
87263 cat >>confdefs.h <<\_ACEOF
87264 #define HAVE_ACOSL 1
87265 _ACEOF
87267 cat >>confdefs.h <<\_ACEOF
87268 #define HAVE_ASINL 1
87269 _ACEOF
87271 cat >>confdefs.h <<\_ACEOF
87272 #define HAVE_ATAN2L 1
87273 _ACEOF
87275 cat >>confdefs.h <<\_ACEOF
87276 #define HAVE_ATANL 1
87277 _ACEOF
87279 cat >>confdefs.h <<\_ACEOF
87280 #define HAVE_CEILL 1
87281 _ACEOF
87283 cat >>confdefs.h <<\_ACEOF
87284 #define HAVE_COPYSIGNL 1
87285 _ACEOF
87287 cat >>confdefs.h <<\_ACEOF
87288 #define HAVE_COSL 1
87289 _ACEOF
87291 cat >>confdefs.h <<\_ACEOF
87292 #define HAVE_COSHL 1
87293 _ACEOF
87295 cat >>confdefs.h <<\_ACEOF
87296 #define HAVE_EXPL 1
87297 _ACEOF
87299 cat >>confdefs.h <<\_ACEOF
87300 #define HAVE_FABSL 1
87301 _ACEOF
87303 cat >>confdefs.h <<\_ACEOF
87304 #define HAVE_FLOORL 1
87305 _ACEOF
87307 cat >>confdefs.h <<\_ACEOF
87308 #define HAVE_FMODL 1
87309 _ACEOF
87311 cat >>confdefs.h <<\_ACEOF
87312 #define HAVE_FREXPL 1
87313 _ACEOF
87315 cat >>confdefs.h <<\_ACEOF
87316 #define HAVE_LDEXPL 1
87317 _ACEOF
87319 cat >>confdefs.h <<\_ACEOF
87320 #define HAVE_LOG10L 1
87321 _ACEOF
87323 cat >>confdefs.h <<\_ACEOF
87324 #define HAVE_LOGL 1
87325 _ACEOF
87327 cat >>confdefs.h <<\_ACEOF
87328 #define HAVE_MODFL 1
87329 _ACEOF
87331 cat >>confdefs.h <<\_ACEOF
87332 #define HAVE_POWL 1
87333 _ACEOF
87335 cat >>confdefs.h <<\_ACEOF
87336 #define HAVE_SINCOSL 1
87337 _ACEOF
87339 cat >>confdefs.h <<\_ACEOF
87340 #define HAVE_SINL 1
87341 _ACEOF
87343 cat >>confdefs.h <<\_ACEOF
87344 #define HAVE_SINHL 1
87345 _ACEOF
87347 cat >>confdefs.h <<\_ACEOF
87348 #define HAVE_SQRTL 1
87349 _ACEOF
87351 cat >>confdefs.h <<\_ACEOF
87352 #define HAVE_TANL 1
87353 _ACEOF
87355 cat >>confdefs.h <<\_ACEOF
87356 #define HAVE_TANHL 1
87357 _ACEOF
87363 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
87366 # Check whether --enable-symvers or --disable-symvers was given.
87367 if test "${enable_symvers+set}" = set; then
87368 enableval="$enable_symvers"
87370 case "$enableval" in
87371 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
87372 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
87373 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
87374 { (exit 1); exit 1; }; } ;;
87375 esac
87377 else
87378 enable_symvers=yes
87382 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
87383 # don't know enough about $LD to do tricks...
87386 # Turn a 'yes' into a suitable default.
87387 if test x$enable_symvers = xyes ; then
87388 if test $enable_shared = no || test "x$LD" = x ; then
87389 enable_symvers=no
87390 else
87391 if test $with_gnu_ld = yes ; then
87392 enable_symvers=gnu
87393 else
87394 case ${target_os} in
87395 darwin*)
87396 enable_symvers=darwin ;;
87398 enable_symvers=no ;;
87399 esac
87404 # Check to see if 'darwin' or 'darwin-export' can win.
87405 if test x$enable_symvers = xdarwin-export ; then
87406 enable_symvers=darwin
87409 # Check to see if 'gnu' can win.
87410 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
87411 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
87412 echo "$as_me:$LINENO: checking for shared libgcc" >&5
87413 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
87414 ac_save_CFLAGS="$CFLAGS"
87415 CFLAGS=' -lgcc_s'
87416 if test x$gcc_no_link = xyes; then
87417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87419 { (exit 1); exit 1; }; }
87421 cat >conftest.$ac_ext <<_ACEOF
87422 /* confdefs.h. */
87423 _ACEOF
87424 cat confdefs.h >>conftest.$ac_ext
87425 cat >>conftest.$ac_ext <<_ACEOF
87426 /* end confdefs.h. */
87429 main ()
87431 return 0;
87433 return 0;
87435 _ACEOF
87436 rm -f conftest.$ac_objext conftest$ac_exeext
87437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87438 (eval $ac_link) 2>conftest.er1
87439 ac_status=$?
87440 grep -v '^ *+' conftest.er1 >conftest.err
87441 rm -f conftest.er1
87442 cat conftest.err >&5
87443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87444 (exit $ac_status); } &&
87445 { ac_try='test -z "$ac_c_werror_flag"
87446 || test ! -s conftest.err'
87447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87448 (eval $ac_try) 2>&5
87449 ac_status=$?
87450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87451 (exit $ac_status); }; } &&
87452 { ac_try='test -s conftest$ac_exeext'
87453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87454 (eval $ac_try) 2>&5
87455 ac_status=$?
87456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87457 (exit $ac_status); }; }; then
87458 glibcxx_shared_libgcc=yes
87459 else
87460 echo "$as_me: failed program was:" >&5
87461 sed 's/^/| /' conftest.$ac_ext >&5
87463 glibcxx_shared_libgcc=no
87465 rm -f conftest.err conftest.$ac_objext \
87466 conftest$ac_exeext conftest.$ac_ext
87467 CFLAGS="$ac_save_CFLAGS"
87468 if test $glibcxx_shared_libgcc = no; then
87469 cat > conftest.c <<EOF
87470 int main (void) { return 0; }
87472 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
87473 -shared -shared-libgcc -o conftest.so \
87474 conftest.c -v 2>&1 >/dev/null \
87475 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
87476 rm -f conftest.c conftest.so
87477 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
87478 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
87479 if test x$gcc_no_link = xyes; then
87480 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87482 { (exit 1); exit 1; }; }
87484 cat >conftest.$ac_ext <<_ACEOF
87485 /* confdefs.h. */
87486 _ACEOF
87487 cat confdefs.h >>conftest.$ac_ext
87488 cat >>conftest.$ac_ext <<_ACEOF
87489 /* end confdefs.h. */
87492 main ()
87494 return 0;
87496 return 0;
87498 _ACEOF
87499 rm -f conftest.$ac_objext conftest$ac_exeext
87500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87501 (eval $ac_link) 2>conftest.er1
87502 ac_status=$?
87503 grep -v '^ *+' conftest.er1 >conftest.err
87504 rm -f conftest.er1
87505 cat conftest.err >&5
87506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87507 (exit $ac_status); } &&
87508 { ac_try='test -z "$ac_c_werror_flag"
87509 || test ! -s conftest.err'
87510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87511 (eval $ac_try) 2>&5
87512 ac_status=$?
87513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87514 (exit $ac_status); }; } &&
87515 { ac_try='test -s conftest$ac_exeext'
87516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87517 (eval $ac_try) 2>&5
87518 ac_status=$?
87519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87520 (exit $ac_status); }; }; then
87521 glibcxx_shared_libgcc=yes
87522 else
87523 echo "$as_me: failed program was:" >&5
87524 sed 's/^/| /' conftest.$ac_ext >&5
87527 rm -f conftest.err conftest.$ac_objext \
87528 conftest$ac_exeext conftest.$ac_ext
87529 CFLAGS="$ac_save_CFLAGS"
87532 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
87533 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
87535 # For GNU ld, we need at least this version. The format is described in
87536 # GLIBCXX_CHECK_LINKER_FEATURES above.
87537 glibcxx_min_gnu_ld_version=21400
87539 # If no shared libgcc, can't win.
87540 if test $glibcxx_shared_libgcc != yes; then
87541 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
87542 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
87543 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
87544 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
87545 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
87546 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
87547 enable_symvers=no
87548 elif test $with_gnu_ld != yes ; then
87549 # just fail for now
87550 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
87551 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
87552 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
87553 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
87554 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
87555 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
87556 enable_symvers=no
87557 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
87558 # The right tools, the right setup, but too old. Fallbacks?
87559 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
87560 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
87561 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
87562 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
87563 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
87564 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
87565 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
87566 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
87567 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
87568 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
87569 enable_symvers=no
87573 # Everything parsed; figure out what file to use.
87574 case $enable_symvers in
87576 SYMVER_FILE=config/abi/pre/none.ver
87578 gnu)
87579 SYMVER_FILE=config/abi/pre/gnu.ver
87581 cat >>confdefs.h <<\_ACEOF
87582 #define _GLIBCXX_SYMVER_GNU 1
87583 _ACEOF
87586 gnu-versioned-namespace)
87587 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
87589 cat >>confdefs.h <<\_ACEOF
87590 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
87591 _ACEOF
87594 darwin)
87595 SYMVER_FILE=config/abi/pre/gnu.ver
87597 cat >>confdefs.h <<\_ACEOF
87598 #define _GLIBCXX_SYMVER_DARWIN 1
87599 _ACEOF
87602 esac
87604 if test x$enable_symvers != xno ; then
87606 cat >>confdefs.h <<\_ACEOF
87607 #define _GLIBCXX_SYMVER 1
87608 _ACEOF
87618 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
87619 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
87621 # Now, set up compatibility support, if any.
87622 # In addition, need this to deal with std::size_t mangling in
87623 # src/compatibility.cc. In a perfect world, could use
87624 # typeid(std::size_t).name()[0] to do direct substitution.
87625 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
87626 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
87627 ac_save_CFLAGS="$CFLAGS"
87628 CFLAGS="-Werror"
87629 cat >conftest.$ac_ext <<_ACEOF
87630 /* confdefs.h. */
87631 _ACEOF
87632 cat confdefs.h >>conftest.$ac_ext
87633 cat >>conftest.$ac_ext <<_ACEOF
87634 /* end confdefs.h. */
87637 main ()
87639 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
87641 return 0;
87643 _ACEOF
87644 rm -f conftest.$ac_objext
87645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87646 (eval $ac_compile) 2>conftest.er1
87647 ac_status=$?
87648 grep -v '^ *+' conftest.er1 >conftest.err
87649 rm -f conftest.er1
87650 cat conftest.err >&5
87651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87652 (exit $ac_status); } &&
87653 { ac_try='test -z "$ac_c_werror_flag"
87654 || test ! -s conftest.err'
87655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87656 (eval $ac_try) 2>&5
87657 ac_status=$?
87658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87659 (exit $ac_status); }; } &&
87660 { ac_try='test -s conftest.$ac_objext'
87661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87662 (eval $ac_try) 2>&5
87663 ac_status=$?
87664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87665 (exit $ac_status); }; }; then
87666 glibcxx_size_t_is_i=yes
87667 else
87668 echo "$as_me: failed program was:" >&5
87669 sed 's/^/| /' conftest.$ac_ext >&5
87671 glibcxx_size_t_is_i=no
87673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87674 CFLAGS=$ac_save_CFLAGS
87675 if test "$glibcxx_size_t_is_i" = yes; then
87677 cat >>confdefs.h <<\_ACEOF
87678 #define _GLIBCXX_SIZE_T_IS_UINT 1
87679 _ACEOF
87682 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
87683 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
87685 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
87686 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
87687 ac_save_CFLAGS="$CFLAGS"
87688 CFLAGS="-Werror"
87689 cat >conftest.$ac_ext <<_ACEOF
87690 /* confdefs.h. */
87691 _ACEOF
87692 cat confdefs.h >>conftest.$ac_ext
87693 cat >>conftest.$ac_ext <<_ACEOF
87694 /* end confdefs.h. */
87697 main ()
87699 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
87701 return 0;
87703 _ACEOF
87704 rm -f conftest.$ac_objext
87705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87706 (eval $ac_compile) 2>conftest.er1
87707 ac_status=$?
87708 grep -v '^ *+' conftest.er1 >conftest.err
87709 rm -f conftest.er1
87710 cat conftest.err >&5
87711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87712 (exit $ac_status); } &&
87713 { ac_try='test -z "$ac_c_werror_flag"
87714 || test ! -s conftest.err'
87715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87716 (eval $ac_try) 2>&5
87717 ac_status=$?
87718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87719 (exit $ac_status); }; } &&
87720 { ac_try='test -s conftest.$ac_objext'
87721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87722 (eval $ac_try) 2>&5
87723 ac_status=$?
87724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87725 (exit $ac_status); }; }; then
87726 glibcxx_ptrdiff_t_is_i=yes
87727 else
87728 echo "$as_me: failed program was:" >&5
87729 sed 's/^/| /' conftest.$ac_ext >&5
87731 glibcxx_ptrdiff_t_is_i=no
87733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87734 CFLAGS=$ac_save_CFLAGS
87735 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
87737 cat >>confdefs.h <<\_ACEOF
87738 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
87739 _ACEOF
87742 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
87743 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
87746 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
87748 if $GLIBCXX_IS_NATIVE ; then
87749 # Do checks for resource limit functions.
87751 setrlimit_have_headers=yes
87755 for ac_header in unistd.h sys/time.h sys/resource.h
87757 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87758 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87759 echo "$as_me:$LINENO: checking for $ac_header" >&5
87760 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87761 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87762 echo $ECHO_N "(cached) $ECHO_C" >&6
87764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87765 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87766 else
87767 # Is the header compilable?
87768 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87769 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87770 cat >conftest.$ac_ext <<_ACEOF
87771 /* confdefs.h. */
87772 _ACEOF
87773 cat confdefs.h >>conftest.$ac_ext
87774 cat >>conftest.$ac_ext <<_ACEOF
87775 /* end confdefs.h. */
87776 $ac_includes_default
87777 #include <$ac_header>
87778 _ACEOF
87779 rm -f conftest.$ac_objext
87780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87781 (eval $ac_compile) 2>conftest.er1
87782 ac_status=$?
87783 grep -v '^ *+' conftest.er1 >conftest.err
87784 rm -f conftest.er1
87785 cat conftest.err >&5
87786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87787 (exit $ac_status); } &&
87788 { ac_try='test -z "$ac_c_werror_flag"
87789 || test ! -s conftest.err'
87790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87791 (eval $ac_try) 2>&5
87792 ac_status=$?
87793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87794 (exit $ac_status); }; } &&
87795 { ac_try='test -s conftest.$ac_objext'
87796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87797 (eval $ac_try) 2>&5
87798 ac_status=$?
87799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87800 (exit $ac_status); }; }; then
87801 ac_header_compiler=yes
87802 else
87803 echo "$as_me: failed program was:" >&5
87804 sed 's/^/| /' conftest.$ac_ext >&5
87806 ac_header_compiler=no
87808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87809 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87810 echo "${ECHO_T}$ac_header_compiler" >&6
87812 # Is the header present?
87813 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87814 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87815 cat >conftest.$ac_ext <<_ACEOF
87816 /* confdefs.h. */
87817 _ACEOF
87818 cat confdefs.h >>conftest.$ac_ext
87819 cat >>conftest.$ac_ext <<_ACEOF
87820 /* end confdefs.h. */
87821 #include <$ac_header>
87822 _ACEOF
87823 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87824 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87825 ac_status=$?
87826 grep -v '^ *+' conftest.er1 >conftest.err
87827 rm -f conftest.er1
87828 cat conftest.err >&5
87829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87830 (exit $ac_status); } >/dev/null; then
87831 if test -s conftest.err; then
87832 ac_cpp_err=$ac_c_preproc_warn_flag
87833 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87834 else
87835 ac_cpp_err=
87837 else
87838 ac_cpp_err=yes
87840 if test -z "$ac_cpp_err"; then
87841 ac_header_preproc=yes
87842 else
87843 echo "$as_me: failed program was:" >&5
87844 sed 's/^/| /' conftest.$ac_ext >&5
87846 ac_header_preproc=no
87848 rm -f conftest.err conftest.$ac_ext
87849 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87850 echo "${ECHO_T}$ac_header_preproc" >&6
87852 # So? What about this header?
87853 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87854 yes:no: )
87855 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87856 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87857 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87858 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87859 ac_header_preproc=yes
87861 no:yes:* )
87862 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87863 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87864 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
87865 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
87866 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87867 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87868 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
87869 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
87870 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87871 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87872 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87873 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87875 cat <<\_ASBOX
87876 ## ----------------------------------------- ##
87877 ## Report this to the package-unused lists. ##
87878 ## ----------------------------------------- ##
87879 _ASBOX
87881 sed "s/^/$as_me: WARNING: /" >&2
87883 esac
87884 echo "$as_me:$LINENO: checking for $ac_header" >&5
87885 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87886 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87887 echo $ECHO_N "(cached) $ECHO_C" >&6
87888 else
87889 eval "$as_ac_Header=\$ac_header_preproc"
87891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87892 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87895 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87896 cat >>confdefs.h <<_ACEOF
87897 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87898 _ACEOF
87900 else
87901 setrlimit_have_headers=no
87904 done
87906 # If don't have the headers, then we can't run the tests now, and we
87907 # won't be seeing any of these during testsuite compilation.
87908 if test $setrlimit_have_headers = yes; then
87909 # Can't do these in a loop, else the resulting syntax is wrong.
87911 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
87912 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
87913 cat >conftest.$ac_ext <<_ACEOF
87914 /* confdefs.h. */
87915 _ACEOF
87916 cat confdefs.h >>conftest.$ac_ext
87917 cat >>conftest.$ac_ext <<_ACEOF
87918 /* end confdefs.h. */
87919 #include <unistd.h>
87920 #include <sys/time.h>
87921 #include <sys/resource.h>
87924 main ()
87926 int f = RLIMIT_DATA ;
87928 return 0;
87930 _ACEOF
87931 rm -f conftest.$ac_objext
87932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87933 (eval $ac_compile) 2>conftest.er1
87934 ac_status=$?
87935 grep -v '^ *+' conftest.er1 >conftest.err
87936 rm -f conftest.er1
87937 cat conftest.err >&5
87938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87939 (exit $ac_status); } &&
87940 { ac_try='test -z "$ac_c_werror_flag"
87941 || test ! -s conftest.err'
87942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87943 (eval $ac_try) 2>&5
87944 ac_status=$?
87945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87946 (exit $ac_status); }; } &&
87947 { ac_try='test -s conftest.$ac_objext'
87948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87949 (eval $ac_try) 2>&5
87950 ac_status=$?
87951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87952 (exit $ac_status); }; }; then
87953 glibcxx_mresult=1
87954 else
87955 echo "$as_me: failed program was:" >&5
87956 sed 's/^/| /' conftest.$ac_ext >&5
87958 glibcxx_mresult=0
87960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87962 cat >>confdefs.h <<_ACEOF
87963 #define HAVE_LIMIT_DATA $glibcxx_mresult
87964 _ACEOF
87966 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
87967 echo "$as_me:$LINENO: result: $res" >&5
87968 echo "${ECHO_T}$res" >&6
87971 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
87972 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
87973 cat >conftest.$ac_ext <<_ACEOF
87974 /* confdefs.h. */
87975 _ACEOF
87976 cat confdefs.h >>conftest.$ac_ext
87977 cat >>conftest.$ac_ext <<_ACEOF
87978 /* end confdefs.h. */
87979 #include <unistd.h>
87980 #include <sys/time.h>
87981 #include <sys/resource.h>
87984 main ()
87986 int f = RLIMIT_RSS ;
87988 return 0;
87990 _ACEOF
87991 rm -f conftest.$ac_objext
87992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87993 (eval $ac_compile) 2>conftest.er1
87994 ac_status=$?
87995 grep -v '^ *+' conftest.er1 >conftest.err
87996 rm -f conftest.er1
87997 cat conftest.err >&5
87998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87999 (exit $ac_status); } &&
88000 { ac_try='test -z "$ac_c_werror_flag"
88001 || test ! -s conftest.err'
88002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88003 (eval $ac_try) 2>&5
88004 ac_status=$?
88005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88006 (exit $ac_status); }; } &&
88007 { ac_try='test -s conftest.$ac_objext'
88008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88009 (eval $ac_try) 2>&5
88010 ac_status=$?
88011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88012 (exit $ac_status); }; }; then
88013 glibcxx_mresult=1
88014 else
88015 echo "$as_me: failed program was:" >&5
88016 sed 's/^/| /' conftest.$ac_ext >&5
88018 glibcxx_mresult=0
88020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88022 cat >>confdefs.h <<_ACEOF
88023 #define HAVE_LIMIT_RSS $glibcxx_mresult
88024 _ACEOF
88026 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
88027 echo "$as_me:$LINENO: result: $res" >&5
88028 echo "${ECHO_T}$res" >&6
88031 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
88032 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
88033 cat >conftest.$ac_ext <<_ACEOF
88034 /* confdefs.h. */
88035 _ACEOF
88036 cat confdefs.h >>conftest.$ac_ext
88037 cat >>conftest.$ac_ext <<_ACEOF
88038 /* end confdefs.h. */
88039 #include <unistd.h>
88040 #include <sys/time.h>
88041 #include <sys/resource.h>
88044 main ()
88046 int f = RLIMIT_VMEM ;
88048 return 0;
88050 _ACEOF
88051 rm -f conftest.$ac_objext
88052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88053 (eval $ac_compile) 2>conftest.er1
88054 ac_status=$?
88055 grep -v '^ *+' conftest.er1 >conftest.err
88056 rm -f conftest.er1
88057 cat conftest.err >&5
88058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88059 (exit $ac_status); } &&
88060 { ac_try='test -z "$ac_c_werror_flag"
88061 || test ! -s conftest.err'
88062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88063 (eval $ac_try) 2>&5
88064 ac_status=$?
88065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88066 (exit $ac_status); }; } &&
88067 { ac_try='test -s conftest.$ac_objext'
88068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88069 (eval $ac_try) 2>&5
88070 ac_status=$?
88071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88072 (exit $ac_status); }; }; then
88073 glibcxx_mresult=1
88074 else
88075 echo "$as_me: failed program was:" >&5
88076 sed 's/^/| /' conftest.$ac_ext >&5
88078 glibcxx_mresult=0
88080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88082 cat >>confdefs.h <<_ACEOF
88083 #define HAVE_LIMIT_VMEM $glibcxx_mresult
88084 _ACEOF
88086 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
88087 echo "$as_me:$LINENO: result: $res" >&5
88088 echo "${ECHO_T}$res" >&6
88091 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
88092 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
88093 cat >conftest.$ac_ext <<_ACEOF
88094 /* confdefs.h. */
88095 _ACEOF
88096 cat confdefs.h >>conftest.$ac_ext
88097 cat >>conftest.$ac_ext <<_ACEOF
88098 /* end confdefs.h. */
88099 #include <unistd.h>
88100 #include <sys/time.h>
88101 #include <sys/resource.h>
88104 main ()
88106 int f = RLIMIT_AS ;
88108 return 0;
88110 _ACEOF
88111 rm -f conftest.$ac_objext
88112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88113 (eval $ac_compile) 2>conftest.er1
88114 ac_status=$?
88115 grep -v '^ *+' conftest.er1 >conftest.err
88116 rm -f conftest.er1
88117 cat conftest.err >&5
88118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88119 (exit $ac_status); } &&
88120 { ac_try='test -z "$ac_c_werror_flag"
88121 || test ! -s conftest.err'
88122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88123 (eval $ac_try) 2>&5
88124 ac_status=$?
88125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88126 (exit $ac_status); }; } &&
88127 { ac_try='test -s conftest.$ac_objext'
88128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88129 (eval $ac_try) 2>&5
88130 ac_status=$?
88131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88132 (exit $ac_status); }; }; then
88133 glibcxx_mresult=1
88134 else
88135 echo "$as_me: failed program was:" >&5
88136 sed 's/^/| /' conftest.$ac_ext >&5
88138 glibcxx_mresult=0
88140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88142 cat >>confdefs.h <<_ACEOF
88143 #define HAVE_LIMIT_AS $glibcxx_mresult
88144 _ACEOF
88146 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
88147 echo "$as_me:$LINENO: result: $res" >&5
88148 echo "${ECHO_T}$res" >&6
88151 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
88152 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
88153 cat >conftest.$ac_ext <<_ACEOF
88154 /* confdefs.h. */
88155 _ACEOF
88156 cat confdefs.h >>conftest.$ac_ext
88157 cat >>conftest.$ac_ext <<_ACEOF
88158 /* end confdefs.h. */
88159 #include <unistd.h>
88160 #include <sys/time.h>
88161 #include <sys/resource.h>
88164 main ()
88166 int f = RLIMIT_FSIZE ;
88168 return 0;
88170 _ACEOF
88171 rm -f conftest.$ac_objext
88172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88173 (eval $ac_compile) 2>conftest.er1
88174 ac_status=$?
88175 grep -v '^ *+' conftest.er1 >conftest.err
88176 rm -f conftest.er1
88177 cat conftest.err >&5
88178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88179 (exit $ac_status); } &&
88180 { ac_try='test -z "$ac_c_werror_flag"
88181 || test ! -s conftest.err'
88182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88183 (eval $ac_try) 2>&5
88184 ac_status=$?
88185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88186 (exit $ac_status); }; } &&
88187 { ac_try='test -s conftest.$ac_objext'
88188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88189 (eval $ac_try) 2>&5
88190 ac_status=$?
88191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88192 (exit $ac_status); }; }; then
88193 glibcxx_mresult=1
88194 else
88195 echo "$as_me: failed program was:" >&5
88196 sed 's/^/| /' conftest.$ac_ext >&5
88198 glibcxx_mresult=0
88200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88202 cat >>confdefs.h <<_ACEOF
88203 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
88204 _ACEOF
88206 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
88207 echo "$as_me:$LINENO: result: $res" >&5
88208 echo "${ECHO_T}$res" >&6
88211 # Check for rlimit, setrlimit.
88212 if test "${ac_setrlimit+set}" = set; then
88213 echo $ECHO_N "(cached) $ECHO_C" >&6
88214 else
88216 cat >conftest.$ac_ext <<_ACEOF
88217 /* confdefs.h. */
88218 _ACEOF
88219 cat confdefs.h >>conftest.$ac_ext
88220 cat >>conftest.$ac_ext <<_ACEOF
88221 /* end confdefs.h. */
88222 #include <unistd.h>
88223 #include <sys/time.h>
88224 #include <sys/resource.h>
88227 main ()
88229 struct rlimit r;
88230 setrlimit(0, &r);
88232 return 0;
88234 _ACEOF
88235 rm -f conftest.$ac_objext
88236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88237 (eval $ac_compile) 2>conftest.er1
88238 ac_status=$?
88239 grep -v '^ *+' conftest.er1 >conftest.err
88240 rm -f conftest.er1
88241 cat conftest.err >&5
88242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88243 (exit $ac_status); } &&
88244 { ac_try='test -z "$ac_c_werror_flag"
88245 || test ! -s conftest.err'
88246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88247 (eval $ac_try) 2>&5
88248 ac_status=$?
88249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88250 (exit $ac_status); }; } &&
88251 { ac_try='test -s conftest.$ac_objext'
88252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88253 (eval $ac_try) 2>&5
88254 ac_status=$?
88255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88256 (exit $ac_status); }; }; then
88257 ac_setrlimit=yes
88258 else
88259 echo "$as_me: failed program was:" >&5
88260 sed 's/^/| /' conftest.$ac_ext >&5
88262 ac_setrlimit=no
88264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88270 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
88271 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
88272 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
88273 ac_res_limits=yes
88275 cat >>confdefs.h <<\_ACEOF
88276 #define _GLIBCXX_RES_LIMITS 1
88277 _ACEOF
88279 else
88280 ac_res_limits=no
88282 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
88283 echo "${ECHO_T}$ac_res_limits" >&6
88286 # Look for setenv, so that extended locale tests can be performed.
88288 echo "$as_me:$LINENO: checking for setenv declaration" >&5
88289 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
88290 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
88291 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
88292 echo $ECHO_N "(cached) $ECHO_C" >&6
88293 else
88297 ac_ext=cc
88298 ac_cpp='$CXXCPP $CPPFLAGS'
88299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88303 cat >conftest.$ac_ext <<_ACEOF
88304 /* confdefs.h. */
88305 _ACEOF
88306 cat confdefs.h >>conftest.$ac_ext
88307 cat >>conftest.$ac_ext <<_ACEOF
88308 /* end confdefs.h. */
88309 #include <stdlib.h>
88311 main ()
88313 setenv(0, 0, 0);
88315 return 0;
88317 _ACEOF
88318 rm -f conftest.$ac_objext
88319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88320 (eval $ac_compile) 2>conftest.er1
88321 ac_status=$?
88322 grep -v '^ *+' conftest.er1 >conftest.err
88323 rm -f conftest.er1
88324 cat conftest.err >&5
88325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88326 (exit $ac_status); } &&
88327 { ac_try='test -z "$ac_cxx_werror_flag"
88328 || test ! -s conftest.err'
88329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88330 (eval $ac_try) 2>&5
88331 ac_status=$?
88332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88333 (exit $ac_status); }; } &&
88334 { ac_try='test -s conftest.$ac_objext'
88335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88336 (eval $ac_try) 2>&5
88337 ac_status=$?
88338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88339 (exit $ac_status); }; }; then
88340 glibcxx_cv_func_setenv_use=yes
88341 else
88342 echo "$as_me: failed program was:" >&5
88343 sed 's/^/| /' conftest.$ac_ext >&5
88345 glibcxx_cv_func_setenv_use=no
88347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88348 ac_ext=c
88349 ac_cpp='$CPP $CPPFLAGS'
88350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88358 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
88359 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
88360 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
88362 for ac_func in setenv
88364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88365 echo "$as_me:$LINENO: checking for $ac_func" >&5
88366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88367 if eval "test \"\${$as_ac_var+set}\" = set"; then
88368 echo $ECHO_N "(cached) $ECHO_C" >&6
88369 else
88370 if test x$gcc_no_link = xyes; then
88371 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88373 { (exit 1); exit 1; }; }
88375 cat >conftest.$ac_ext <<_ACEOF
88376 /* confdefs.h. */
88377 _ACEOF
88378 cat confdefs.h >>conftest.$ac_ext
88379 cat >>conftest.$ac_ext <<_ACEOF
88380 /* end confdefs.h. */
88381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88383 #define $ac_func innocuous_$ac_func
88385 /* System header to define __stub macros and hopefully few prototypes,
88386 which can conflict with char $ac_func (); below.
88387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88388 <limits.h> exists even on freestanding compilers. */
88390 #ifdef __STDC__
88391 # include <limits.h>
88392 #else
88393 # include <assert.h>
88394 #endif
88396 #undef $ac_func
88398 /* Override any gcc2 internal prototype to avoid an error. */
88399 #ifdef __cplusplus
88400 extern "C"
88402 #endif
88403 /* We use char because int might match the return type of a gcc2
88404 builtin and then its argument prototype would still apply. */
88405 char $ac_func ();
88406 /* The GNU C library defines this for functions which it implements
88407 to always fail with ENOSYS. Some functions are actually named
88408 something starting with __ and the normal name is an alias. */
88409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88410 choke me
88411 #else
88412 char (*f) () = $ac_func;
88413 #endif
88414 #ifdef __cplusplus
88416 #endif
88419 main ()
88421 return f != $ac_func;
88423 return 0;
88425 _ACEOF
88426 rm -f conftest.$ac_objext conftest$ac_exeext
88427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88428 (eval $ac_link) 2>conftest.er1
88429 ac_status=$?
88430 grep -v '^ *+' conftest.er1 >conftest.err
88431 rm -f conftest.er1
88432 cat conftest.err >&5
88433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88434 (exit $ac_status); } &&
88435 { ac_try='test -z "$ac_c_werror_flag"
88436 || test ! -s conftest.err'
88437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88438 (eval $ac_try) 2>&5
88439 ac_status=$?
88440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88441 (exit $ac_status); }; } &&
88442 { ac_try='test -s conftest$ac_exeext'
88443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88444 (eval $ac_try) 2>&5
88445 ac_status=$?
88446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88447 (exit $ac_status); }; }; then
88448 eval "$as_ac_var=yes"
88449 else
88450 echo "$as_me: failed program was:" >&5
88451 sed 's/^/| /' conftest.$ac_ext >&5
88453 eval "$as_ac_var=no"
88455 rm -f conftest.err conftest.$ac_objext \
88456 conftest$ac_exeext conftest.$ac_ext
88458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88460 if test `eval echo '${'$as_ac_var'}'` = yes; then
88461 cat >>confdefs.h <<_ACEOF
88462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88463 _ACEOF
88466 done
88472 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
88473 test $enable_symvers != no; then
88474 case "$host" in
88475 *-*-cygwin*)
88476 enable_abi_check=no ;;
88478 enable_abi_check=yes ;;
88479 esac
88480 else
88481 # Only build this as native, since automake does not understand
88482 # CXX_FOR_BUILD.
88483 enable_abi_check=no
88486 # Export file names for ABI checking.
88487 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
88491 # Propagate the target-specific source directories through the build chain.
88492 ATOMICITY_SRCDIR=config/${atomicity_dir}
88493 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
88494 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
88495 OS_INC_SRCDIR=config/${os_include_dir}
88496 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
88503 # Determine cross-compile flags and AM_CONDITIONALs.
88504 #AC_SUBST(GLIBCXX_IS_NATIVE)
88505 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
88506 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
88507 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
88510 if test $is_hosted = yes; then
88511 GLIBCXX_HOSTED_TRUE=
88512 GLIBCXX_HOSTED_FALSE='#'
88513 else
88514 GLIBCXX_HOSTED_TRUE='#'
88515 GLIBCXX_HOSTED_FALSE=
88521 if test $enable_libstdcxx_pch = yes; then
88522 GLIBCXX_BUILD_PCH_TRUE=
88523 GLIBCXX_BUILD_PCH_FALSE='#'
88524 else
88525 GLIBCXX_BUILD_PCH_TRUE='#'
88526 GLIBCXX_BUILD_PCH_FALSE=
88532 if test $enable_cheaders = c; then
88533 GLIBCXX_C_HEADERS_C_TRUE=
88534 GLIBCXX_C_HEADERS_C_FALSE='#'
88535 else
88536 GLIBCXX_C_HEADERS_C_TRUE='#'
88537 GLIBCXX_C_HEADERS_C_FALSE=
88543 if test $enable_cheaders = c_std; then
88544 GLIBCXX_C_HEADERS_C_STD_TRUE=
88545 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
88546 else
88547 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
88548 GLIBCXX_C_HEADERS_C_STD_FALSE=
88554 if test $c_compatibility = yes; then
88555 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
88556 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
88557 else
88558 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
88559 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
88565 if test $enable_libstdcxx_debug = yes; then
88566 GLIBCXX_BUILD_DEBUG_TRUE=
88567 GLIBCXX_BUILD_DEBUG_FALSE='#'
88568 else
88569 GLIBCXX_BUILD_DEBUG_TRUE='#'
88570 GLIBCXX_BUILD_DEBUG_FALSE=
88576 if test $enable_symvers != no; then
88577 ENABLE_SYMVERS_TRUE=
88578 ENABLE_SYMVERS_FALSE='#'
88579 else
88580 ENABLE_SYMVERS_TRUE='#'
88581 ENABLE_SYMVERS_FALSE=
88587 if test $enable_symvers = gnu; then
88588 ENABLE_SYMVERS_GNU_TRUE=
88589 ENABLE_SYMVERS_GNU_FALSE='#'
88590 else
88591 ENABLE_SYMVERS_GNU_TRUE='#'
88592 ENABLE_SYMVERS_GNU_FALSE=
88598 if test $enable_symvers = gnu-versioned-namespace; then
88599 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
88600 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
88601 else
88602 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
88603 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
88609 if test $enable_symvers = darwin; then
88610 ENABLE_SYMVERS_DARWIN_TRUE=
88611 ENABLE_SYMVERS_DARWIN_FALSE='#'
88612 else
88613 ENABLE_SYMVERS_DARWIN_TRUE='#'
88614 ENABLE_SYMVERS_DARWIN_FALSE=
88620 cat >confcache <<\_ACEOF
88621 # This file is a shell script that caches the results of configure
88622 # tests run on this system so they can be shared between configure
88623 # scripts and configure runs, see configure's option --config-cache.
88624 # It is not useful on other systems. If it contains results you don't
88625 # want to keep, you may remove or edit it.
88627 # config.status only pays attention to the cache file if you give it
88628 # the --recheck option to rerun configure.
88630 # `ac_cv_env_foo' variables (set or unset) will be overridden when
88631 # loading this file, other *unset* `ac_cv_foo' will be assigned the
88632 # following values.
88634 _ACEOF
88636 # The following way of writing the cache mishandles newlines in values,
88637 # but we know of no workaround that is simple, portable, and efficient.
88638 # So, don't put newlines in cache variables' values.
88639 # Ultrix sh set writes to stderr and can't be redirected directly,
88640 # and sets the high bit in the cache file unless we assign to the vars.
88642 (set) 2>&1 |
88643 case `(ac_space=' '; set | grep ac_space) 2>&1` in
88644 *ac_space=\ *)
88645 # `set' does not quote correctly, so add quotes (double-quote
88646 # substitution turns \\\\ into \\, and sed turns \\ into \).
88647 sed -n \
88648 "s/'/'\\\\''/g;
88649 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
88652 # `set' quotes correctly as required by POSIX, so do not add quotes.
88653 sed -n \
88654 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
88656 esac;
88658 sed '
88659 t clear
88660 : clear
88661 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
88662 t end
88663 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
88664 : end' >>confcache
88665 if diff $cache_file confcache >/dev/null 2>&1; then :; else
88666 if test -w $cache_file; then
88667 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
88668 cat confcache >$cache_file
88669 else
88670 echo "not updating unwritable cache $cache_file"
88673 rm -f confcache
88675 if test ${multilib} = yes; then
88676 multilib_arg="--enable-multilib"
88677 else
88678 multilib_arg=
88681 # Export all the install information.
88683 glibcxx_toolexecdir=no
88684 glibcxx_toolexeclibdir=no
88685 glibcxx_prefixdir=$prefix
88687 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
88688 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
88690 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
88691 if test "${with_gxx_include_dir+set}" = set; then
88692 withval="$with_gxx_include_dir"
88693 case "$withval" in
88694 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
88695 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
88696 { (exit 1); exit 1; }; } ;;
88697 no) gxx_include_dir=no ;;
88698 *) gxx_include_dir=$withval ;;
88699 esac
88700 else
88701 gxx_include_dir=no
88703 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
88704 echo "${ECHO_T}$gxx_include_dir" >&6
88706 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
88707 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
88708 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
88709 if test "${enable_version_specific_runtime_libs+set}" = set; then
88710 enableval="$enable_version_specific_runtime_libs"
88711 case "$enableval" in
88712 yes) version_specific_libs=yes ;;
88713 no) version_specific_libs=no ;;
88714 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
88715 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
88716 { (exit 1); exit 1; }; };;
88717 esac
88718 else
88719 version_specific_libs=no
88721 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
88722 echo "${ECHO_T}$version_specific_libs" >&6
88724 # Default case for install directory for include files.
88725 if test $version_specific_libs = no && test $gxx_include_dir = no; then
88726 gxx_include_dir='${prefix}/include/c++/${gcc_version}'
88729 # Version-specific runtime libs processing.
88730 if test $version_specific_libs = yes; then
88731 # Need the gcc compiler version to know where to install libraries
88732 # and header files if --enable-version-specific-runtime-libs option
88733 # is selected. FIXME: these variables are misnamed, there are
88734 # no executables installed in _toolexecdir or _toolexeclibdir.
88735 if test x"$gxx_include_dir" = x"no"; then
88736 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
88738 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
88739 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
88742 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
88743 # Install a library built with a cross compiler in tooldir, not libdir.
88744 if test x"$glibcxx_toolexecdir" = x"no"; then
88745 if test -n "$with_cross_host" &&
88746 test x"$with_cross_host" != x"no"; then
88747 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
88748 glibcxx_toolexeclibdir='${toolexecdir}/lib'
88749 else
88750 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
88751 glibcxx_toolexeclibdir='${libdir}'
88753 multi_os_directory=`$CXX -print-multi-os-directory`
88754 case $multi_os_directory in
88755 .) ;; # Avoid trailing /.
88756 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
88757 esac
88760 echo "$as_me:$LINENO: checking for install location" >&5
88761 echo $ECHO_N "checking for install location... $ECHO_C" >&6
88762 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
88763 echo "${ECHO_T}$gxx_include_dir" >&6
88771 # Export all the include and flag information to Makefiles.
88773 # Used for every C++ compile we perform.
88774 GLIBCXX_INCLUDES="\
88775 -I$glibcxx_builddir/include/$host_alias \
88776 -I$glibcxx_builddir/include \
88777 -I$glibcxx_srcdir/libsupc++"
88779 # For Canadian crosses, pick this up too.
88780 if test $CANADIAN = yes; then
88781 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
88784 # Stuff in the actual top level. Currently only used by libsupc++ to
88785 # get unwind* headers from the gcc dir.
88786 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
88787 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
88789 # Now, export this to all the little Makefiles....
88794 # Optimization flags that are probably a good idea for thrill-seekers. Just
88795 # uncomment the lines below and make, everything else is ready to go...
88796 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
88797 OPTIMIZE_CXXFLAGS=
88800 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
88804 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
88805 grep "enable shared" > /dev/null;
88806 then
88807 LIBSUPCXX_PICFLAGS=-prefer-pic
88808 else
88809 LIBSUPCXX_PICFLAGS=
88813 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
88815 ac_config_files="$ac_config_files scripts/testsuite_flags"
88818 ac_config_commands="$ac_config_commands default"
88821 cat >confcache <<\_ACEOF
88822 # This file is a shell script that caches the results of configure
88823 # tests run on this system so they can be shared between configure
88824 # scripts and configure runs, see configure's option --config-cache.
88825 # It is not useful on other systems. If it contains results you don't
88826 # want to keep, you may remove or edit it.
88828 # config.status only pays attention to the cache file if you give it
88829 # the --recheck option to rerun configure.
88831 # `ac_cv_env_foo' variables (set or unset) will be overridden when
88832 # loading this file, other *unset* `ac_cv_foo' will be assigned the
88833 # following values.
88835 _ACEOF
88837 # The following way of writing the cache mishandles newlines in values,
88838 # but we know of no workaround that is simple, portable, and efficient.
88839 # So, don't put newlines in cache variables' values.
88840 # Ultrix sh set writes to stderr and can't be redirected directly,
88841 # and sets the high bit in the cache file unless we assign to the vars.
88843 (set) 2>&1 |
88844 case `(ac_space=' '; set | grep ac_space) 2>&1` in
88845 *ac_space=\ *)
88846 # `set' does not quote correctly, so add quotes (double-quote
88847 # substitution turns \\\\ into \\, and sed turns \\ into \).
88848 sed -n \
88849 "s/'/'\\\\''/g;
88850 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
88853 # `set' quotes correctly as required by POSIX, so do not add quotes.
88854 sed -n \
88855 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
88857 esac;
88859 sed '
88860 t clear
88861 : clear
88862 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
88863 t end
88864 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
88865 : end' >>confcache
88866 if diff $cache_file confcache >/dev/null 2>&1; then :; else
88867 if test -w $cache_file; then
88868 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
88869 cat confcache >$cache_file
88870 else
88871 echo "not updating unwritable cache $cache_file"
88874 rm -f confcache
88876 test "x$prefix" = xNONE && prefix=$ac_default_prefix
88877 # Let make expand exec_prefix.
88878 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
88880 # VPATH may cause trouble with some makes, so we remove $(srcdir),
88881 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
88882 # trailing colons and then remove the whole line if VPATH becomes empty
88883 # (actually we leave an empty line to preserve line numbers).
88884 if test "x$srcdir" = x.; then
88885 ac_vpsub='/^[ ]*VPATH[ ]*=/{
88886 s/:*\$(srcdir):*/:/;
88887 s/:*\${srcdir}:*/:/;
88888 s/:*@srcdir@:*/:/;
88889 s/^\([^=]*=[ ]*\):*/\1/;
88890 s/:*$//;
88891 s/^[^=]*=[ ]*$//;
88895 DEFS=-DHAVE_CONFIG_H
88897 ac_libobjs=
88898 ac_ltlibobjs=
88899 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
88900 # 1. Remove the extension, and $U if already installed.
88901 ac_i=`echo "$ac_i" |
88902 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
88903 # 2. Add them.
88904 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
88905 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
88906 done
88907 LIBOBJS=$ac_libobjs
88909 LTLIBOBJS=$ac_ltlibobjs
88912 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
88913 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
88914 Usually this means the macro was only invoked conditionally." >&5
88915 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
88916 Usually this means the macro was only invoked conditionally." >&2;}
88917 { (exit 1); exit 1; }; }
88919 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
88920 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
88921 Usually this means the macro was only invoked conditionally." >&5
88922 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
88923 Usually this means the macro was only invoked conditionally." >&2;}
88924 { (exit 1); exit 1; }; }
88926 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
88927 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
88928 Usually this means the macro was only invoked conditionally." >&5
88929 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
88930 Usually this means the macro was only invoked conditionally." >&2;}
88931 { (exit 1); exit 1; }; }
88933 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
88934 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
88935 Usually this means the macro was only invoked conditionally." >&5
88936 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
88937 Usually this means the macro was only invoked conditionally." >&2;}
88938 { (exit 1); exit 1; }; }
88940 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
88941 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
88942 Usually this means the macro was only invoked conditionally." >&5
88943 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
88944 Usually this means the macro was only invoked conditionally." >&2;}
88945 { (exit 1); exit 1; }; }
88947 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
88948 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
88949 Usually this means the macro was only invoked conditionally." >&5
88950 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
88951 Usually this means the macro was only invoked conditionally." >&2;}
88952 { (exit 1); exit 1; }; }
88954 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
88955 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
88956 Usually this means the macro was only invoked conditionally." >&5
88957 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
88958 Usually this means the macro was only invoked conditionally." >&2;}
88959 { (exit 1); exit 1; }; }
88961 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
88962 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
88963 Usually this means the macro was only invoked conditionally." >&5
88964 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
88965 Usually this means the macro was only invoked conditionally." >&2;}
88966 { (exit 1); exit 1; }; }
88968 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
88969 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
88970 Usually this means the macro was only invoked conditionally." >&5
88971 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
88972 Usually this means the macro was only invoked conditionally." >&2;}
88973 { (exit 1); exit 1; }; }
88975 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
88976 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
88977 Usually this means the macro was only invoked conditionally." >&5
88978 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
88979 Usually this means the macro was only invoked conditionally." >&2;}
88980 { (exit 1); exit 1; }; }
88982 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
88983 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
88984 Usually this means the macro was only invoked conditionally." >&5
88985 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
88986 Usually this means the macro was only invoked conditionally." >&2;}
88987 { (exit 1); exit 1; }; }
88990 : ${CONFIG_STATUS=./config.status}
88991 ac_clean_files_save=$ac_clean_files
88992 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
88993 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
88994 echo "$as_me: creating $CONFIG_STATUS" >&6;}
88995 cat >$CONFIG_STATUS <<_ACEOF
88996 #! $SHELL
88997 # Generated by $as_me.
88998 # Run this file to recreate the current configuration.
88999 # Compiler output produced by configure, useful for debugging
89000 # configure, is in config.log if it exists.
89002 debug=false
89003 ac_cs_recheck=false
89004 ac_cs_silent=false
89005 SHELL=\${CONFIG_SHELL-$SHELL}
89006 _ACEOF
89008 cat >>$CONFIG_STATUS <<\_ACEOF
89009 ## --------------------- ##
89010 ## M4sh Initialization. ##
89011 ## --------------------- ##
89013 # Be Bourne compatible
89014 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
89015 emulate sh
89016 NULLCMD=:
89017 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
89018 # is contrary to our usage. Disable this feature.
89019 alias -g '${1+"$@"}'='"$@"'
89020 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
89021 set -o posix
89023 DUALCASE=1; export DUALCASE # for MKS sh
89025 # Support unset when possible.
89026 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
89027 as_unset=unset
89028 else
89029 as_unset=false
89033 # Work around bugs in pre-3.0 UWIN ksh.
89034 $as_unset ENV MAIL MAILPATH
89035 PS1='$ '
89036 PS2='> '
89037 PS4='+ '
89039 # NLS nuisances.
89040 for as_var in \
89041 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
89042 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
89043 LC_TELEPHONE LC_TIME
89045 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
89046 eval $as_var=C; export $as_var
89047 else
89048 $as_unset $as_var
89050 done
89052 # Required to use basename.
89053 if expr a : '\(a\)' >/dev/null 2>&1; then
89054 as_expr=expr
89055 else
89056 as_expr=false
89059 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
89060 as_basename=basename
89061 else
89062 as_basename=false
89066 # Name of the executable.
89067 as_me=`$as_basename "$0" ||
89068 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
89069 X"$0" : 'X\(//\)$' \| \
89070 X"$0" : 'X\(/\)$' \| \
89071 . : '\(.\)' 2>/dev/null ||
89072 echo X/"$0" |
89073 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
89074 /^X\/\(\/\/\)$/{ s//\1/; q; }
89075 /^X\/\(\/\).*/{ s//\1/; q; }
89076 s/.*/./; q'`
89079 # PATH needs CR, and LINENO needs CR and PATH.
89080 # Avoid depending upon Character Ranges.
89081 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
89082 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
89083 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
89084 as_cr_digits='0123456789'
89085 as_cr_alnum=$as_cr_Letters$as_cr_digits
89087 # The user is always right.
89088 if test "${PATH_SEPARATOR+set}" != set; then
89089 echo "#! /bin/sh" >conf$$.sh
89090 echo "exit 0" >>conf$$.sh
89091 chmod +x conf$$.sh
89092 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
89093 PATH_SEPARATOR=';'
89094 else
89095 PATH_SEPARATOR=:
89097 rm -f conf$$.sh
89101 as_lineno_1=$LINENO
89102 as_lineno_2=$LINENO
89103 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
89104 test "x$as_lineno_1" != "x$as_lineno_2" &&
89105 test "x$as_lineno_3" = "x$as_lineno_2" || {
89106 # Find who we are. Look in the path if we contain no path at all
89107 # relative or not.
89108 case $0 in
89109 *[\\/]* ) as_myself=$0 ;;
89110 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
89111 for as_dir in $PATH
89113 IFS=$as_save_IFS
89114 test -z "$as_dir" && as_dir=.
89115 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
89116 done
89119 esac
89120 # We did not find ourselves, most probably we were run as `sh COMMAND'
89121 # in which case we are not to be found in the path.
89122 if test "x$as_myself" = x; then
89123 as_myself=$0
89125 if test ! -f "$as_myself"; then
89126 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
89127 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
89128 { (exit 1); exit 1; }; }
89130 case $CONFIG_SHELL in
89132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
89133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
89135 IFS=$as_save_IFS
89136 test -z "$as_dir" && as_dir=.
89137 for as_base in sh bash ksh sh5; do
89138 case $as_dir in
89140 if ("$as_dir/$as_base" -c '
89141 as_lineno_1=$LINENO
89142 as_lineno_2=$LINENO
89143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
89144 test "x$as_lineno_1" != "x$as_lineno_2" &&
89145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
89146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
89147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
89148 CONFIG_SHELL=$as_dir/$as_base
89149 export CONFIG_SHELL
89150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
89151 fi;;
89152 esac
89153 done
89154 done
89156 esac
89158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
89159 # uniformly replaced by the line number. The first 'sed' inserts a
89160 # line-number line before each line; the second 'sed' does the real
89161 # work. The second script uses 'N' to pair each line-number line
89162 # with the numbered line, and appends trailing '-' during
89163 # substitution so that $LINENO is not a special case at line end.
89164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
89165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
89166 sed '=' <$as_myself |
89167 sed '
89169 s,$,-,
89170 : loop
89171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
89172 t loop
89173 s,-$,,
89174 s,^['$as_cr_digits']*\n,,
89175 ' >$as_me.lineno &&
89176 chmod +x $as_me.lineno ||
89177 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
89178 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
89179 { (exit 1); exit 1; }; }
89181 # Don't try to exec as it changes $[0], causing all sort of problems
89182 # (the dirname of $[0] is not the place where we might find the
89183 # original and so on. Autoconf is especially sensible to this).
89184 . ./$as_me.lineno
89185 # Exit status is that of the last command.
89186 exit
89190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
89191 *c*,-n*) ECHO_N= ECHO_C='
89192 ' ECHO_T=' ' ;;
89193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
89194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
89195 esac
89197 if expr a : '\(a\)' >/dev/null 2>&1; then
89198 as_expr=expr
89199 else
89200 as_expr=false
89203 rm -f conf$$ conf$$.exe conf$$.file
89204 echo >conf$$.file
89205 if ln -s conf$$.file conf$$ 2>/dev/null; then
89206 # We could just check for DJGPP; but this test a) works b) is more generic
89207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
89208 if test -f conf$$.exe; then
89209 # Don't use ln at all; we don't have any links
89210 as_ln_s='cp -p'
89211 else
89212 as_ln_s='ln -s'
89214 elif ln conf$$.file conf$$ 2>/dev/null; then
89215 as_ln_s=ln
89216 else
89217 as_ln_s='cp -p'
89219 rm -f conf$$ conf$$.exe conf$$.file
89221 if mkdir -p . 2>/dev/null; then
89222 as_mkdir_p=:
89223 else
89224 test -d ./-p && rmdir ./-p
89225 as_mkdir_p=false
89228 as_executable_p="test -f"
89230 # Sed expression to map a string onto a valid CPP name.
89231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
89233 # Sed expression to map a string onto a valid variable name.
89234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
89237 # IFS
89238 # We need space, tab and new line, in precisely that order.
89239 as_nl='
89241 IFS=" $as_nl"
89243 # CDPATH.
89244 $as_unset CDPATH
89246 exec 6>&1
89248 # Open the log real soon, to keep \$[0] and so on meaningful, and to
89249 # report actual input values of CONFIG_FILES etc. instead of their
89250 # values after options handling. Logging --version etc. is OK.
89251 exec 5>>config.log
89253 echo
89254 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
89255 ## Running $as_me. ##
89256 _ASBOX
89257 } >&5
89258 cat >&5 <<_CSEOF
89260 This file was extended by package-unused $as_me version-unused, which was
89261 generated by GNU Autoconf 2.59. Invocation command line was
89263 CONFIG_FILES = $CONFIG_FILES
89264 CONFIG_HEADERS = $CONFIG_HEADERS
89265 CONFIG_LINKS = $CONFIG_LINKS
89266 CONFIG_COMMANDS = $CONFIG_COMMANDS
89267 $ $0 $@
89269 _CSEOF
89270 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
89271 echo >&5
89272 _ACEOF
89274 # Files that config.status was made for.
89275 if test -n "$ac_config_files"; then
89276 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
89279 if test -n "$ac_config_headers"; then
89280 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
89283 if test -n "$ac_config_links"; then
89284 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
89287 if test -n "$ac_config_commands"; then
89288 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
89291 cat >>$CONFIG_STATUS <<\_ACEOF
89293 ac_cs_usage="\
89294 \`$as_me' instantiates files from templates according to the
89295 current configuration.
89297 Usage: $0 [OPTIONS] [FILE]...
89299 -h, --help print this help, then exit
89300 -V, --version print version number, then exit
89301 -q, --quiet do not print progress messages
89302 -d, --debug don't remove temporary files
89303 --recheck update $as_me by reconfiguring in the same conditions
89304 --file=FILE[:TEMPLATE]
89305 instantiate the configuration file FILE
89306 --header=FILE[:TEMPLATE]
89307 instantiate the configuration header FILE
89309 Configuration files:
89310 $config_files
89312 Configuration headers:
89313 $config_headers
89315 Configuration commands:
89316 $config_commands
89318 Report bugs to <bug-autoconf@gnu.org>."
89319 _ACEOF
89321 cat >>$CONFIG_STATUS <<_ACEOF
89322 ac_cs_version="\\
89323 package-unused config.status version-unused
89324 configured by $0, generated by GNU Autoconf 2.59,
89325 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
89327 Copyright (C) 2003 Free Software Foundation, Inc.
89328 This config.status script is free software; the Free Software Foundation
89329 gives unlimited permission to copy, distribute and modify it."
89330 srcdir=$srcdir
89331 INSTALL="$INSTALL"
89332 _ACEOF
89334 cat >>$CONFIG_STATUS <<\_ACEOF
89335 # If no file are specified by the user, then we need to provide default
89336 # value. By we need to know if files were specified by the user.
89337 ac_need_defaults=:
89338 while test $# != 0
89340 case $1 in
89341 --*=*)
89342 ac_option=`expr "x$1" : 'x\([^=]*\)='`
89343 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
89344 ac_shift=:
89347 ac_option=$1
89348 ac_optarg=$2
89349 ac_shift=shift
89351 *) # This is not an option, so the user has probably given explicit
89352 # arguments.
89353 ac_option=$1
89354 ac_need_defaults=false;;
89355 esac
89357 case $ac_option in
89358 # Handling of the options.
89359 _ACEOF
89360 cat >>$CONFIG_STATUS <<\_ACEOF
89361 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
89362 ac_cs_recheck=: ;;
89363 --version | --vers* | -V )
89364 echo "$ac_cs_version"; exit 0 ;;
89365 --he | --h)
89366 # Conflict between --help and --header
89367 { { echo "$as_me:$LINENO: error: ambiguous option: $1
89368 Try \`$0 --help' for more information." >&5
89369 echo "$as_me: error: ambiguous option: $1
89370 Try \`$0 --help' for more information." >&2;}
89371 { (exit 1); exit 1; }; };;
89372 --help | --hel | -h )
89373 echo "$ac_cs_usage"; exit 0 ;;
89374 --debug | --d* | -d )
89375 debug=: ;;
89376 --file | --fil | --fi | --f )
89377 $ac_shift
89378 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
89379 ac_need_defaults=false;;
89380 --header | --heade | --head | --hea )
89381 $ac_shift
89382 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
89383 ac_need_defaults=false;;
89384 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
89385 | -silent | --silent | --silen | --sile | --sil | --si | --s)
89386 ac_cs_silent=: ;;
89388 # This is an error.
89389 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
89390 Try \`$0 --help' for more information." >&5
89391 echo "$as_me: error: unrecognized option: $1
89392 Try \`$0 --help' for more information." >&2;}
89393 { (exit 1); exit 1; }; } ;;
89395 *) ac_config_targets="$ac_config_targets $1" ;;
89397 esac
89398 shift
89399 done
89401 ac_configure_extra_args=
89403 if $ac_cs_silent; then
89404 exec 6>/dev/null
89405 ac_configure_extra_args="$ac_configure_extra_args --silent"
89408 _ACEOF
89409 cat >>$CONFIG_STATUS <<_ACEOF
89410 if \$ac_cs_recheck; then
89411 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
89412 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
89415 _ACEOF
89417 cat >>$CONFIG_STATUS <<_ACEOF
89419 # INIT-COMMANDS section.
89423 srcdir="$srcdir"
89424 host="$host"
89425 target="$target"
89426 with_multisubdir="$with_multisubdir"
89427 with_multisrctop="$with_multisrctop"
89428 with_target_subdir="$with_target_subdir"
89429 ac_configure_args="${multilib_arg} ${ac_configure_args}"
89430 multi_basedir="$multi_basedir"
89431 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
89432 CC="$CC"
89434 # Variables needed in config.status (file generation) which aren't already
89435 # passed by autoconf.
89436 SUBDIRS="$SUBDIRS"
89439 _ACEOF
89443 cat >>$CONFIG_STATUS <<\_ACEOF
89444 for ac_config_target in $ac_config_targets
89446 case "$ac_config_target" in
89447 # Handling of arguments.
89448 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
89449 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
89450 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
89451 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
89452 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
89453 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
89454 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
89455 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
89456 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
89457 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
89458 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
89459 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
89460 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
89461 { (exit 1); exit 1; }; };;
89462 esac
89463 done
89465 # If the user did not use the arguments to specify the items to instantiate,
89466 # then the envvar interface is used. Set only those that are not.
89467 # We use the long form for the default assignment because of an extremely
89468 # bizarre bug on SunOS 4.1.3.
89469 if $ac_need_defaults; then
89470 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
89471 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
89472 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
89475 # Have a temporary directory for convenience. Make it in the build tree
89476 # simply because there is no reason to put it here, and in addition,
89477 # creating and moving files from /tmp can sometimes cause problems.
89478 # Create a temporary directory, and hook for its removal unless debugging.
89479 $debug ||
89481 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
89482 trap '{ (exit 1); exit 1; }' 1 2 13 15
89485 # Create a (secure) tmp directory for tmp files.
89488 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
89489 test -n "$tmp" && test -d "$tmp"
89490 } ||
89492 tmp=./confstat$$-$RANDOM
89493 (umask 077 && mkdir $tmp)
89494 } ||
89496 echo "$me: cannot create a temporary directory in ." >&2
89497 { (exit 1); exit 1; }
89500 _ACEOF
89502 cat >>$CONFIG_STATUS <<_ACEOF
89505 # CONFIG_FILES section.
89508 # No need to generate the scripts if there are no CONFIG_FILES.
89509 # This happens for instance when ./config.status config.h
89510 if test -n "\$CONFIG_FILES"; then
89511 # Protect against being on the right side of a sed subst in config.status.
89512 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
89513 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
89514 s,@SHELL@,$SHELL,;t t
89515 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
89516 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
89517 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
89518 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
89519 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
89520 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
89521 s,@exec_prefix@,$exec_prefix,;t t
89522 s,@prefix@,$prefix,;t t
89523 s,@program_transform_name@,$program_transform_name,;t t
89524 s,@bindir@,$bindir,;t t
89525 s,@sbindir@,$sbindir,;t t
89526 s,@libexecdir@,$libexecdir,;t t
89527 s,@datadir@,$datadir,;t t
89528 s,@sysconfdir@,$sysconfdir,;t t
89529 s,@sharedstatedir@,$sharedstatedir,;t t
89530 s,@localstatedir@,$localstatedir,;t t
89531 s,@libdir@,$libdir,;t t
89532 s,@includedir@,$includedir,;t t
89533 s,@oldincludedir@,$oldincludedir,;t t
89534 s,@infodir@,$infodir,;t t
89535 s,@mandir@,$mandir,;t t
89536 s,@build_alias@,$build_alias,;t t
89537 s,@host_alias@,$host_alias,;t t
89538 s,@target_alias@,$target_alias,;t t
89539 s,@DEFS@,$DEFS,;t t
89540 s,@ECHO_C@,$ECHO_C,;t t
89541 s,@ECHO_N@,$ECHO_N,;t t
89542 s,@ECHO_T@,$ECHO_T,;t t
89543 s,@LIBS@,$LIBS,;t t
89544 s,@libtool_VERSION@,$libtool_VERSION,;t t
89545 s,@multi_basedir@,$multi_basedir,;t t
89546 s,@build@,$build,;t t
89547 s,@build_cpu@,$build_cpu,;t t
89548 s,@build_vendor@,$build_vendor,;t t
89549 s,@build_os@,$build_os,;t t
89550 s,@host@,$host,;t t
89551 s,@host_cpu@,$host_cpu,;t t
89552 s,@host_vendor@,$host_vendor,;t t
89553 s,@host_os@,$host_os,;t t
89554 s,@target@,$target,;t t
89555 s,@target_cpu@,$target_cpu,;t t
89556 s,@target_vendor@,$target_vendor,;t t
89557 s,@target_os@,$target_os,;t t
89558 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
89559 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
89560 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
89561 s,@CYGPATH_W@,$CYGPATH_W,;t t
89562 s,@PACKAGE@,$PACKAGE,;t t
89563 s,@VERSION@,$VERSION,;t t
89564 s,@ACLOCAL@,$ACLOCAL,;t t
89565 s,@AUTOCONF@,$AUTOCONF,;t t
89566 s,@AUTOMAKE@,$AUTOMAKE,;t t
89567 s,@AUTOHEADER@,$AUTOHEADER,;t t
89568 s,@MAKEINFO@,$MAKEINFO,;t t
89569 s,@install_sh@,$install_sh,;t t
89570 s,@STRIP@,$STRIP,;t t
89571 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
89572 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
89573 s,@mkdir_p@,$mkdir_p,;t t
89574 s,@AWK@,$AWK,;t t
89575 s,@SET_MAKE@,$SET_MAKE,;t t
89576 s,@am__leading_dot@,$am__leading_dot,;t t
89577 s,@AMTAR@,$AMTAR,;t t
89578 s,@am__tar@,$am__tar,;t t
89579 s,@am__untar@,$am__untar,;t t
89580 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
89581 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
89582 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
89583 s,@CC@,$CC,;t t
89584 s,@ac_ct_CC@,$ac_ct_CC,;t t
89585 s,@EXEEXT@,$EXEEXT,;t t
89586 s,@OBJEXT@,$OBJEXT,;t t
89587 s,@CXX@,$CXX,;t t
89588 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
89589 s,@CFLAGS@,$CFLAGS,;t t
89590 s,@CXXFLAGS@,$CXXFLAGS,;t t
89591 s,@LN_S@,$LN_S,;t t
89592 s,@AS@,$AS,;t t
89593 s,@ac_ct_AS@,$ac_ct_AS,;t t
89594 s,@AR@,$AR,;t t
89595 s,@ac_ct_AR@,$ac_ct_AR,;t t
89596 s,@RANLIB@,$RANLIB,;t t
89597 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
89598 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
89599 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
89600 s,@MAINT@,$MAINT,;t t
89601 s,@LIBTOOL@,$LIBTOOL,;t t
89602 s,@CXXCPP@,$CXXCPP,;t t
89603 s,@CPPFLAGS@,$CPPFLAGS,;t t
89604 s,@enable_shared@,$enable_shared,;t t
89605 s,@enable_static@,$enable_static,;t t
89606 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
89607 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
89608 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
89609 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
89610 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
89611 s,@CSTDIO_H@,$CSTDIO_H,;t t
89612 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
89613 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
89614 s,@CPP@,$CPP,;t t
89615 s,@EGREP@,$EGREP,;t t
89616 s,@check_msgfmt@,$check_msgfmt,;t t
89617 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
89618 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
89619 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
89620 s,@USE_NLS@,$USE_NLS,;t t
89621 s,@CLOCALE_H@,$CLOCALE_H,;t t
89622 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
89623 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
89624 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
89625 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
89626 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
89627 s,@CMONEY_CC@,$CMONEY_CC,;t t
89628 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
89629 s,@CTIME_H@,$CTIME_H,;t t
89630 s,@CTIME_CC@,$CTIME_CC,;t t
89631 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
89632 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
89633 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
89634 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
89635 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
89636 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
89637 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
89638 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
89639 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
89640 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
89641 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
89642 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
89643 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
89644 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
89645 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
89646 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
89647 s,@WERROR@,$WERROR,;t t
89648 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
89649 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
89650 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
89651 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
89652 s,@LIBICONV@,$LIBICONV,;t t
89653 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
89654 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
89655 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
89656 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
89657 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
89658 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
89659 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
89660 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
89661 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
89662 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
89663 s,@baseline_dir@,$baseline_dir,;t t
89664 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
89665 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
89666 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
89667 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
89668 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
89669 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
89670 s,@gxx_include_dir@,$gxx_include_dir,;t t
89671 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
89672 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
89673 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
89674 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
89675 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
89676 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
89677 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
89678 s,@LIBOBJS@,$LIBOBJS,;t t
89679 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
89680 CEOF
89682 _ACEOF
89684 cat >>$CONFIG_STATUS <<\_ACEOF
89685 # Split the substitutions into bite-sized pieces for seds with
89686 # small command number limits, like on Digital OSF/1 and HP-UX.
89687 ac_max_sed_lines=48
89688 ac_sed_frag=1 # Number of current file.
89689 ac_beg=1 # First line for current file.
89690 ac_end=$ac_max_sed_lines # Line after last line for current file.
89691 ac_more_lines=:
89692 ac_sed_cmds=
89693 while $ac_more_lines; do
89694 if test $ac_beg -gt 1; then
89695 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
89696 else
89697 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
89699 if test ! -s $tmp/subs.frag; then
89700 ac_more_lines=false
89701 else
89702 # The purpose of the label and of the branching condition is to
89703 # speed up the sed processing (if there are no `@' at all, there
89704 # is no need to browse any of the substitutions).
89705 # These are the two extra sed commands mentioned above.
89706 (echo ':t
89707 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
89708 if test -z "$ac_sed_cmds"; then
89709 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
89710 else
89711 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
89713 ac_sed_frag=`expr $ac_sed_frag + 1`
89714 ac_beg=$ac_end
89715 ac_end=`expr $ac_end + $ac_max_sed_lines`
89717 done
89718 if test -z "$ac_sed_cmds"; then
89719 ac_sed_cmds=cat
89721 fi # test -n "$CONFIG_FILES"
89723 _ACEOF
89724 cat >>$CONFIG_STATUS <<\_ACEOF
89725 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
89726 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
89727 case $ac_file in
89728 - | *:- | *:-:* ) # input from stdin
89729 cat >$tmp/stdin
89730 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89731 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89732 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89733 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89734 * ) ac_file_in=$ac_file.in ;;
89735 esac
89737 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
89738 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
89739 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89740 X"$ac_file" : 'X\(//\)[^/]' \| \
89741 X"$ac_file" : 'X\(//\)$' \| \
89742 X"$ac_file" : 'X\(/\)' \| \
89743 . : '\(.\)' 2>/dev/null ||
89744 echo X"$ac_file" |
89745 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89746 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89747 /^X\(\/\/\)$/{ s//\1/; q; }
89748 /^X\(\/\).*/{ s//\1/; q; }
89749 s/.*/./; q'`
89750 { if $as_mkdir_p; then
89751 mkdir -p "$ac_dir"
89752 else
89753 as_dir="$ac_dir"
89754 as_dirs=
89755 while test ! -d "$as_dir"; do
89756 as_dirs="$as_dir $as_dirs"
89757 as_dir=`(dirname "$as_dir") 2>/dev/null ||
89758 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89759 X"$as_dir" : 'X\(//\)[^/]' \| \
89760 X"$as_dir" : 'X\(//\)$' \| \
89761 X"$as_dir" : 'X\(/\)' \| \
89762 . : '\(.\)' 2>/dev/null ||
89763 echo X"$as_dir" |
89764 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89765 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89766 /^X\(\/\/\)$/{ s//\1/; q; }
89767 /^X\(\/\).*/{ s//\1/; q; }
89768 s/.*/./; q'`
89769 done
89770 test ! -n "$as_dirs" || mkdir $as_dirs
89771 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
89772 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
89773 { (exit 1); exit 1; }; }; }
89775 ac_builddir=.
89777 if test "$ac_dir" != .; then
89778 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
89779 # A "../" for each directory in $ac_dir_suffix.
89780 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
89781 else
89782 ac_dir_suffix= ac_top_builddir=
89785 case $srcdir in
89786 .) # No --srcdir option. We are building in place.
89787 ac_srcdir=.
89788 if test -z "$ac_top_builddir"; then
89789 ac_top_srcdir=.
89790 else
89791 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
89792 fi ;;
89793 [\\/]* | ?:[\\/]* ) # Absolute path.
89794 ac_srcdir=$srcdir$ac_dir_suffix;
89795 ac_top_srcdir=$srcdir ;;
89796 *) # Relative path.
89797 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
89798 ac_top_srcdir=$ac_top_builddir$srcdir ;;
89799 esac
89801 # Do not use `cd foo && pwd` to compute absolute paths, because
89802 # the directories may not exist.
89803 case `pwd` in
89804 .) ac_abs_builddir="$ac_dir";;
89806 case "$ac_dir" in
89807 .) ac_abs_builddir=`pwd`;;
89808 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
89809 *) ac_abs_builddir=`pwd`/"$ac_dir";;
89810 esac;;
89811 esac
89812 case $ac_abs_builddir in
89813 .) ac_abs_top_builddir=${ac_top_builddir}.;;
89815 case ${ac_top_builddir}. in
89816 .) ac_abs_top_builddir=$ac_abs_builddir;;
89817 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
89818 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
89819 esac;;
89820 esac
89821 case $ac_abs_builddir in
89822 .) ac_abs_srcdir=$ac_srcdir;;
89824 case $ac_srcdir in
89825 .) ac_abs_srcdir=$ac_abs_builddir;;
89826 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
89827 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
89828 esac;;
89829 esac
89830 case $ac_abs_builddir in
89831 .) ac_abs_top_srcdir=$ac_top_srcdir;;
89833 case $ac_top_srcdir in
89834 .) ac_abs_top_srcdir=$ac_abs_builddir;;
89835 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
89836 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
89837 esac;;
89838 esac
89841 case $INSTALL in
89842 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
89843 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
89844 esac
89846 if test x"$ac_file" != x-; then
89847 { echo "$as_me:$LINENO: creating $ac_file" >&5
89848 echo "$as_me: creating $ac_file" >&6;}
89849 rm -f "$ac_file"
89851 # Let's still pretend it is `configure' which instantiates (i.e., don't
89852 # use $as_me), people would be surprised to read:
89853 # /* config.h. Generated by config.status. */
89854 if test x"$ac_file" = x-; then
89855 configure_input=
89856 else
89857 configure_input="$ac_file. "
89859 configure_input=$configure_input"Generated from `echo $ac_file_in |
89860 sed 's,.*/,,'` by configure."
89862 # First look for the input files in the build tree, otherwise in the
89863 # src tree.
89864 ac_file_inputs=`IFS=:
89865 for f in $ac_file_in; do
89866 case $f in
89867 -) echo $tmp/stdin ;;
89868 [\\/$]*)
89869 # Absolute (can't be DOS-style, as IFS=:)
89870 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
89871 echo "$as_me: error: cannot find input file: $f" >&2;}
89872 { (exit 1); exit 1; }; }
89873 echo "$f";;
89874 *) # Relative
89875 if test -f "$f"; then
89876 # Build tree
89877 echo "$f"
89878 elif test -f "$srcdir/$f"; then
89879 # Source tree
89880 echo "$srcdir/$f"
89881 else
89882 # /dev/null tree
89883 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
89884 echo "$as_me: error: cannot find input file: $f" >&2;}
89885 { (exit 1); exit 1; }; }
89886 fi;;
89887 esac
89888 done` || { (exit 1); exit 1; }
89889 _ACEOF
89890 cat >>$CONFIG_STATUS <<_ACEOF
89891 sed "$ac_vpsub
89892 $extrasub
89893 _ACEOF
89894 cat >>$CONFIG_STATUS <<\_ACEOF
89896 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
89897 s,@configure_input@,$configure_input,;t t
89898 s,@srcdir@,$ac_srcdir,;t t
89899 s,@abs_srcdir@,$ac_abs_srcdir,;t t
89900 s,@top_srcdir@,$ac_top_srcdir,;t t
89901 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
89902 s,@builddir@,$ac_builddir,;t t
89903 s,@abs_builddir@,$ac_abs_builddir,;t t
89904 s,@top_builddir@,$ac_top_builddir,;t t
89905 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
89906 s,@INSTALL@,$ac_INSTALL,;t t
89907 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
89908 rm -f $tmp/stdin
89909 if test x"$ac_file" != x-; then
89910 mv $tmp/out $ac_file
89911 else
89912 cat $tmp/out
89913 rm -f $tmp/out
89916 # Run the commands associated with the file.
89917 case $ac_file in
89918 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
89919 esac
89920 done
89921 _ACEOF
89922 cat >>$CONFIG_STATUS <<\_ACEOF
89925 # CONFIG_HEADER section.
89928 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
89929 # NAME is the cpp macro being defined and VALUE is the value it is being given.
89931 # ac_d sets the value in "#define NAME VALUE" lines.
89932 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
89933 ac_dB='[ ].*$,\1#\2'
89934 ac_dC=' '
89935 ac_dD=',;t'
89936 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
89937 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
89938 ac_uB='$,\1#\2define\3'
89939 ac_uC=' '
89940 ac_uD=',;t'
89942 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
89943 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
89944 case $ac_file in
89945 - | *:- | *:-:* ) # input from stdin
89946 cat >$tmp/stdin
89947 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89948 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89949 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89950 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89951 * ) ac_file_in=$ac_file.in ;;
89952 esac
89954 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
89955 echo "$as_me: creating $ac_file" >&6;}
89957 # First look for the input files in the build tree, otherwise in the
89958 # src tree.
89959 ac_file_inputs=`IFS=:
89960 for f in $ac_file_in; do
89961 case $f in
89962 -) echo $tmp/stdin ;;
89963 [\\/$]*)
89964 # Absolute (can't be DOS-style, as IFS=:)
89965 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
89966 echo "$as_me: error: cannot find input file: $f" >&2;}
89967 { (exit 1); exit 1; }; }
89968 # Do quote $f, to prevent DOS paths from being IFS'd.
89969 echo "$f";;
89970 *) # Relative
89971 if test -f "$f"; then
89972 # Build tree
89973 echo "$f"
89974 elif test -f "$srcdir/$f"; then
89975 # Source tree
89976 echo "$srcdir/$f"
89977 else
89978 # /dev/null tree
89979 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
89980 echo "$as_me: error: cannot find input file: $f" >&2;}
89981 { (exit 1); exit 1; }; }
89982 fi;;
89983 esac
89984 done` || { (exit 1); exit 1; }
89985 # Remove the trailing spaces.
89986 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
89988 _ACEOF
89990 # Transform confdefs.h into two sed scripts, `conftest.defines' and
89991 # `conftest.undefs', that substitutes the proper values into
89992 # config.h.in to produce config.h. The first handles `#define'
89993 # templates, and the second `#undef' templates.
89994 # And first: Protect against being on the right side of a sed subst in
89995 # config.status. Protect against being in an unquoted here document
89996 # in config.status.
89997 rm -f conftest.defines conftest.undefs
89998 # Using a here document instead of a string reduces the quoting nightmare.
89999 # Putting comments in sed scripts is not portable.
90001 # `end' is used to avoid that the second main sed command (meant for
90002 # 0-ary CPP macros) applies to n-ary macro definitions.
90003 # See the Autoconf documentation for `clear'.
90004 cat >confdef2sed.sed <<\_ACEOF
90005 s/[\\&,]/\\&/g
90006 s,[\\$`],\\&,g
90007 t clear
90008 : clear
90009 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
90010 t end
90011 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
90012 : end
90013 _ACEOF
90014 # If some macros were called several times there might be several times
90015 # the same #defines, which is useless. Nevertheless, we may not want to
90016 # sort them, since we want the *last* AC-DEFINE to be honored.
90017 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
90018 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
90019 rm -f confdef2sed.sed
90021 # This sed command replaces #undef with comments. This is necessary, for
90022 # example, in the case of _POSIX_SOURCE, which is predefined and required
90023 # on some systems where configure will not decide to define it.
90024 cat >>conftest.undefs <<\_ACEOF
90025 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
90026 _ACEOF
90028 # Break up conftest.defines because some shells have a limit on the size
90029 # of here documents, and old seds have small limits too (100 cmds).
90030 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
90031 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
90032 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
90033 echo ' :' >>$CONFIG_STATUS
90034 rm -f conftest.tail
90035 while grep . conftest.defines >/dev/null
90037 # Write a limited-size here document to $tmp/defines.sed.
90038 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
90039 # Speed up: don't consider the non `#define' lines.
90040 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
90041 # Work around the forget-to-reset-the-flag bug.
90042 echo 't clr' >>$CONFIG_STATUS
90043 echo ': clr' >>$CONFIG_STATUS
90044 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
90045 echo 'CEOF
90046 sed -f $tmp/defines.sed $tmp/in >$tmp/out
90047 rm -f $tmp/in
90048 mv $tmp/out $tmp/in
90049 ' >>$CONFIG_STATUS
90050 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
90051 rm -f conftest.defines
90052 mv conftest.tail conftest.defines
90053 done
90054 rm -f conftest.defines
90055 echo ' fi # grep' >>$CONFIG_STATUS
90056 echo >>$CONFIG_STATUS
90058 # Break up conftest.undefs because some shells have a limit on the size
90059 # of here documents, and old seds have small limits too (100 cmds).
90060 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
90061 rm -f conftest.tail
90062 while grep . conftest.undefs >/dev/null
90064 # Write a limited-size here document to $tmp/undefs.sed.
90065 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
90066 # Speed up: don't consider the non `#undef'
90067 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
90068 # Work around the forget-to-reset-the-flag bug.
90069 echo 't clr' >>$CONFIG_STATUS
90070 echo ': clr' >>$CONFIG_STATUS
90071 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
90072 echo 'CEOF
90073 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
90074 rm -f $tmp/in
90075 mv $tmp/out $tmp/in
90076 ' >>$CONFIG_STATUS
90077 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
90078 rm -f conftest.undefs
90079 mv conftest.tail conftest.undefs
90080 done
90081 rm -f conftest.undefs
90083 cat >>$CONFIG_STATUS <<\_ACEOF
90084 # Let's still pretend it is `configure' which instantiates (i.e., don't
90085 # use $as_me), people would be surprised to read:
90086 # /* config.h. Generated by config.status. */
90087 if test x"$ac_file" = x-; then
90088 echo "/* Generated by configure. */" >$tmp/config.h
90089 else
90090 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
90092 cat $tmp/in >>$tmp/config.h
90093 rm -f $tmp/in
90094 if test x"$ac_file" != x-; then
90095 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
90096 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
90097 echo "$as_me: $ac_file is unchanged" >&6;}
90098 else
90099 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
90100 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
90101 X"$ac_file" : 'X\(//\)[^/]' \| \
90102 X"$ac_file" : 'X\(//\)$' \| \
90103 X"$ac_file" : 'X\(/\)' \| \
90104 . : '\(.\)' 2>/dev/null ||
90105 echo X"$ac_file" |
90106 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
90107 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
90108 /^X\(\/\/\)$/{ s//\1/; q; }
90109 /^X\(\/\).*/{ s//\1/; q; }
90110 s/.*/./; q'`
90111 { if $as_mkdir_p; then
90112 mkdir -p "$ac_dir"
90113 else
90114 as_dir="$ac_dir"
90115 as_dirs=
90116 while test ! -d "$as_dir"; do
90117 as_dirs="$as_dir $as_dirs"
90118 as_dir=`(dirname "$as_dir") 2>/dev/null ||
90119 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
90120 X"$as_dir" : 'X\(//\)[^/]' \| \
90121 X"$as_dir" : 'X\(//\)$' \| \
90122 X"$as_dir" : 'X\(/\)' \| \
90123 . : '\(.\)' 2>/dev/null ||
90124 echo X"$as_dir" |
90125 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
90126 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
90127 /^X\(\/\/\)$/{ s//\1/; q; }
90128 /^X\(\/\).*/{ s//\1/; q; }
90129 s/.*/./; q'`
90130 done
90131 test ! -n "$as_dirs" || mkdir $as_dirs
90132 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
90133 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
90134 { (exit 1); exit 1; }; }; }
90136 rm -f $ac_file
90137 mv $tmp/config.h $ac_file
90139 else
90140 cat $tmp/config.h
90141 rm -f $tmp/config.h
90143 # Compute $ac_file's index in $config_headers.
90144 _am_stamp_count=1
90145 for _am_header in $config_headers :; do
90146 case $_am_header in
90147 $ac_file | $ac_file:* )
90148 break ;;
90150 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
90151 esac
90152 done
90153 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
90154 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
90155 X$ac_file : 'X\(//\)[^/]' \| \
90156 X$ac_file : 'X\(//\)$' \| \
90157 X$ac_file : 'X\(/\)' \| \
90158 . : '\(.\)' 2>/dev/null ||
90159 echo X$ac_file |
90160 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
90161 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
90162 /^X\(\/\/\)$/{ s//\1/; q; }
90163 /^X\(\/\).*/{ s//\1/; q; }
90164 s/.*/./; q'`/stamp-h$_am_stamp_count
90165 done
90166 _ACEOF
90167 cat >>$CONFIG_STATUS <<\_ACEOF
90170 # CONFIG_COMMANDS section.
90172 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
90173 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
90174 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
90175 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
90176 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
90177 X"$ac_dest" : 'X\(//\)[^/]' \| \
90178 X"$ac_dest" : 'X\(//\)$' \| \
90179 X"$ac_dest" : 'X\(/\)' \| \
90180 . : '\(.\)' 2>/dev/null ||
90181 echo X"$ac_dest" |
90182 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
90183 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
90184 /^X\(\/\/\)$/{ s//\1/; q; }
90185 /^X\(\/\).*/{ s//\1/; q; }
90186 s/.*/./; q'`
90187 { if $as_mkdir_p; then
90188 mkdir -p "$ac_dir"
90189 else
90190 as_dir="$ac_dir"
90191 as_dirs=
90192 while test ! -d "$as_dir"; do
90193 as_dirs="$as_dir $as_dirs"
90194 as_dir=`(dirname "$as_dir") 2>/dev/null ||
90195 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
90196 X"$as_dir" : 'X\(//\)[^/]' \| \
90197 X"$as_dir" : 'X\(//\)$' \| \
90198 X"$as_dir" : 'X\(/\)' \| \
90199 . : '\(.\)' 2>/dev/null ||
90200 echo X"$as_dir" |
90201 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
90202 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
90203 /^X\(\/\/\)$/{ s//\1/; q; }
90204 /^X\(\/\).*/{ s//\1/; q; }
90205 s/.*/./; q'`
90206 done
90207 test ! -n "$as_dirs" || mkdir $as_dirs
90208 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
90209 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
90210 { (exit 1); exit 1; }; }; }
90212 ac_builddir=.
90214 if test "$ac_dir" != .; then
90215 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
90216 # A "../" for each directory in $ac_dir_suffix.
90217 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
90218 else
90219 ac_dir_suffix= ac_top_builddir=
90222 case $srcdir in
90223 .) # No --srcdir option. We are building in place.
90224 ac_srcdir=.
90225 if test -z "$ac_top_builddir"; then
90226 ac_top_srcdir=.
90227 else
90228 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
90229 fi ;;
90230 [\\/]* | ?:[\\/]* ) # Absolute path.
90231 ac_srcdir=$srcdir$ac_dir_suffix;
90232 ac_top_srcdir=$srcdir ;;
90233 *) # Relative path.
90234 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
90235 ac_top_srcdir=$ac_top_builddir$srcdir ;;
90236 esac
90238 # Do not use `cd foo && pwd` to compute absolute paths, because
90239 # the directories may not exist.
90240 case `pwd` in
90241 .) ac_abs_builddir="$ac_dir";;
90243 case "$ac_dir" in
90244 .) ac_abs_builddir=`pwd`;;
90245 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
90246 *) ac_abs_builddir=`pwd`/"$ac_dir";;
90247 esac;;
90248 esac
90249 case $ac_abs_builddir in
90250 .) ac_abs_top_builddir=${ac_top_builddir}.;;
90252 case ${ac_top_builddir}. in
90253 .) ac_abs_top_builddir=$ac_abs_builddir;;
90254 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
90255 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
90256 esac;;
90257 esac
90258 case $ac_abs_builddir in
90259 .) ac_abs_srcdir=$ac_srcdir;;
90261 case $ac_srcdir in
90262 .) ac_abs_srcdir=$ac_abs_builddir;;
90263 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
90264 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
90265 esac;;
90266 esac
90267 case $ac_abs_builddir in
90268 .) ac_abs_top_srcdir=$ac_top_srcdir;;
90270 case $ac_top_srcdir in
90271 .) ac_abs_top_srcdir=$ac_abs_builddir;;
90272 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
90273 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
90274 esac;;
90275 esac
90278 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
90279 echo "$as_me: executing $ac_dest commands" >&6;}
90280 case $ac_dest in
90281 default-1 )
90282 # Only add multilib support code if we just rebuilt the top-level
90283 # Makefile.
90284 case " $CONFIG_FILES " in
90285 *" Makefile "*)
90286 ac_file=Makefile . ${multi_basedir}/config-ml.in
90288 esac ;;
90289 default ) if test -n "$CONFIG_FILES"; then
90290 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
90291 # that multilib installs will end up installed in the correct place.
90292 # The testsuite needs it for multilib-aware ABI baseline files.
90293 # To work around this not being passed down from config-ml.in ->
90294 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
90295 # append it here. Only modify Makefiles that have just been created.
90297 # Also, get rid of this simulated-VPATH thing that automake does.
90298 cat > vpsed << \_EOF
90299 s!`test -f '$<' || echo '$(srcdir)/'`!!
90300 _EOF
90301 for i in $SUBDIRS; do
90302 case $CONFIG_FILES in
90303 *${i}/Makefile*)
90304 #echo "Adding MULTISUBDIR to $i/Makefile"
90305 sed -f vpsed $i/Makefile > tmp
90306 grep '^MULTISUBDIR =' Makefile >> tmp
90307 mv tmp $i/Makefile
90309 esac
90310 done
90311 rm vpsed
90313 (cd include && ${MAKE-make})
90315 esac
90316 done
90317 _ACEOF
90319 cat >>$CONFIG_STATUS <<\_ACEOF
90321 { (exit 0); exit 0; }
90322 _ACEOF
90323 chmod +x $CONFIG_STATUS
90324 ac_clean_files=$ac_clean_files_save
90327 # configure is writing to config.log, and then calls config.status.
90328 # config.status does its own redirection, appending to config.log.
90329 # Unfortunately, on DOS this fails, as config.log is still kept open
90330 # by configure, so config.status won't be able to write to it; its
90331 # output is simply discarded. So we exec the FD to /dev/null,
90332 # effectively closing config.log, so it can be properly (re)opened and
90333 # appended to by config.status. When coming back to configure, we
90334 # need to make the FD available again.
90335 if test "$no_create" != yes; then
90336 ac_cs_success=:
90337 ac_config_status_args=
90338 test "$silent" = yes &&
90339 ac_config_status_args="$ac_config_status_args --quiet"
90340 exec 5>/dev/null
90341 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
90342 exec 5>>config.log
90343 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
90344 # would make configure fail if this is the last instruction.
90345 $ac_cs_success || { (exit 1); exit 1; }